content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: MIT
__all__ = [
'commands_ip_route',
'commands_iptables_forwarding',
'is_ipv6',
]
CMD_IP = '/sbin/ip'
CMD_IPTABLESv4 = '/sbin/iptables'
CMD_IPTABLESv6 = '/sbin/ip6tables'
def is_ipv6(ip_addr):
return (':' in ip_addr)
def commands_ip_route(device_name, ip, *, start=None, stop=None):
assert bool(start) ^ bool(stop)
cmd_ip = (CMD_IP, '-6') if is_ipv6(ip) else (CMD_IP, '-4')
ip_verb = 'add' if start else 'del'
commands = [
(*cmd_ip, 'route', ip_verb, ip, 'dev', device_name),
]
return commands
def commands_iptables_forwarding(device_name, ip, *, start=None, stop=None):
assert bool(start) ^ bool(stop)
iptables_cmd = '--insert' if start else '--delete'
commands = []
iptables = CMD_IPTABLESv6 if is_ipv6(ip) else CMD_IPTABLESv4
commands.extend((
(iptables, iptables_cmd, 'FORWARD', '--in-interface', device_name, '--source', ip, '-j', 'ACCEPT'),
(iptables, iptables_cmd, 'FORWARD', '--out-interface', device_name, '--destination', ip, '-j', 'ACCEPT'),
))
return commands
| __all__ = ['commands_ip_route', 'commands_iptables_forwarding', 'is_ipv6']
cmd_ip = '/sbin/ip'
cmd_iptable_sv4 = '/sbin/iptables'
cmd_iptable_sv6 = '/sbin/ip6tables'
def is_ipv6(ip_addr):
return ':' in ip_addr
def commands_ip_route(device_name, ip, *, start=None, stop=None):
assert bool(start) ^ bool(stop)
cmd_ip = (CMD_IP, '-6') if is_ipv6(ip) else (CMD_IP, '-4')
ip_verb = 'add' if start else 'del'
commands = [(*cmd_ip, 'route', ip_verb, ip, 'dev', device_name)]
return commands
def commands_iptables_forwarding(device_name, ip, *, start=None, stop=None):
assert bool(start) ^ bool(stop)
iptables_cmd = '--insert' if start else '--delete'
commands = []
iptables = CMD_IPTABLESv6 if is_ipv6(ip) else CMD_IPTABLESv4
commands.extend(((iptables, iptables_cmd, 'FORWARD', '--in-interface', device_name, '--source', ip, '-j', 'ACCEPT'), (iptables, iptables_cmd, 'FORWARD', '--out-interface', device_name, '--destination', ip, '-j', 'ACCEPT')))
return commands |
LMS_LEVELS = {
"programme_preliminaries": 1,
"programming_paradigms": 1,
"html_essentials": 1,
"css_essentials": 1,
"user_centric_frontend_development": 1,
"comparative_programming_languages_essentials": 2,
"javascript_essentials": 2,
"interactive_frontend_development": 2,
"python_essentials": 3,
"practical_python": 3,
"data_centric_development": 3,
"backend_development": 3,
"full_stack_frameworks_with_django": 4,
"alumni": 5,
"staff": 6,
}
| lms_levels = {'programme_preliminaries': 1, 'programming_paradigms': 1, 'html_essentials': 1, 'css_essentials': 1, 'user_centric_frontend_development': 1, 'comparative_programming_languages_essentials': 2, 'javascript_essentials': 2, 'interactive_frontend_development': 2, 'python_essentials': 3, 'practical_python': 3, 'data_centric_development': 3, 'backend_development': 3, 'full_stack_frameworks_with_django': 4, 'alumni': 5, 'staff': 6} |
def main():
n, k, l, c, d, p, nl, np = list(map(int, input().split()))
total_drink = k*l
total_limes = c*d
total_salt = p
print(int(min(int(total_drink/nl), total_limes, int(total_salt/np))/n))
if __name__=='__main__':
main()
| def main():
(n, k, l, c, d, p, nl, np) = list(map(int, input().split()))
total_drink = k * l
total_limes = c * d
total_salt = p
print(int(min(int(total_drink / nl), total_limes, int(total_salt / np)) / n))
if __name__ == '__main__':
main() |
# contains the processing code for the ticketer.
class Processor(object):
def __init__(self):
pass
def say(self, message):
return message + "\n"
| class Processor(object):
def __init__(self):
pass
def say(self, message):
return message + '\n' |
EMAIL_SERVER = None
PORT = None
SENDER_EMAIL = None
PASSWORD = None
RECIEVER_EMAIL = None | email_server = None
port = None
sender_email = None
password = None
reciever_email = None |
# Python - 3.6.0
Test.describe('Basic tests')
Test.assert_equals(volume(7, 3), 153)
Test.assert_equals(volume(56, 30), 98520)
Test.assert_equals(volume(0, 10), 0)
Test.assert_equals(volume(10, 0), 0)
Test.assert_equals(volume(0, 0), 0)
| Test.describe('Basic tests')
Test.assert_equals(volume(7, 3), 153)
Test.assert_equals(volume(56, 30), 98520)
Test.assert_equals(volume(0, 10), 0)
Test.assert_equals(volume(10, 0), 0)
Test.assert_equals(volume(0, 0), 0) |
# OpenWeatherMap API Key
weather_api_key = "Put Key Here"
# Google API Key
g_key = "Put key here"
| weather_api_key = 'Put Key Here'
g_key = 'Put key here' |
BASE_URL = 'http://api.fantasy.nfl.com/v1/players/stats?statType={}&season={}&format=json{}'
STAT_URL = 'http://api.fantasy.nfl.com/v1/game/stats?format=json'
USEFUL_DATA = ('name', 'position', 'stats', 'teamAbbr')
ALL_WEEKS = [x for x in range(1,18)]
ONE_HOUR = 3600
VALID_POSITIONS = (
'QB',
'RB',
'WR',
'TE',
'DEF'
)
OFFENSIVE_SCORING_MULTIPLIERS = {
5: 0.04,
6: 4,
7: -1,
14: 0.1,
15: 6,
20: 1,
21: 0.1,
22: 6,
28: 6,
29: 6,
30: -1,
32: 2,
45: 1,
46: 2,
47: 2,
49: 2,
50: 6,
51: 2,
53: 6
}
DEFENSIVE_SCORING_MULTIPLIERS = {
45: 1,
46: 2,
47: 2,
49: 2,
50: 6,
51: 2,
53: 6,
} | base_url = 'http://api.fantasy.nfl.com/v1/players/stats?statType={}&season={}&format=json{}'
stat_url = 'http://api.fantasy.nfl.com/v1/game/stats?format=json'
useful_data = ('name', 'position', 'stats', 'teamAbbr')
all_weeks = [x for x in range(1, 18)]
one_hour = 3600
valid_positions = ('QB', 'RB', 'WR', 'TE', 'DEF')
offensive_scoring_multipliers = {5: 0.04, 6: 4, 7: -1, 14: 0.1, 15: 6, 20: 1, 21: 0.1, 22: 6, 28: 6, 29: 6, 30: -1, 32: 2, 45: 1, 46: 2, 47: 2, 49: 2, 50: 6, 51: 2, 53: 6}
defensive_scoring_multipliers = {45: 1, 46: 2, 47: 2, 49: 2, 50: 6, 51: 2, 53: 6} |
class InterfaceMeta(type):
def __new__(cls, name, bases, attrs):
if "salad" not in attrs:
attrs["salad"] = "salad"
return super().__new__(cls, name, bases, attrs)
class Interface(metaclass=InterfaceMeta):
def __init__(self, potato):
self.potato = potato
def test_meta():
a = Interface("1")
assert a.salad == "salad"
| class Interfacemeta(type):
def __new__(cls, name, bases, attrs):
if 'salad' not in attrs:
attrs['salad'] = 'salad'
return super().__new__(cls, name, bases, attrs)
class Interface(metaclass=InterfaceMeta):
def __init__(self, potato):
self.potato = potato
def test_meta():
a = interface('1')
assert a.salad == 'salad' |
# The variable number is just reference to the object 1001
number = 1001
print(id(number))
print(id(1001))
a1 = 2
print('a1: ', id(a1))
a2 = a1 + 1
print('a2: ', id(a2))
print('three: ', id(3))
b1 = 2
print('b1: ', id(b1))
print('Two: ', id(2))
# All bellow assignments to the 'something' variable is a valid code
something = 12
something = "Python"
something = ['a', 2, True]
def hello():
print('Hello World')
something = hello
something()
print('\n*-----Functions-----*\n')
def outer():
outer_number = 10
print(id(outer_number))
global_number = 55
print('Global number = ', global_number)
def inner():
inner_number = 200
print('Inner number = ', inner_number)
inner_number = 'Belchior'
print('Inner number = ', inner_number)
outer_number = 500
print(id(outer_number))
print('Outer number = ', outer_number)
inner()
global_number = 100
outer()
| number = 1001
print(id(number))
print(id(1001))
a1 = 2
print('a1: ', id(a1))
a2 = a1 + 1
print('a2: ', id(a2))
print('three: ', id(3))
b1 = 2
print('b1: ', id(b1))
print('Two: ', id(2))
something = 12
something = 'Python'
something = ['a', 2, True]
def hello():
print('Hello World')
something = hello
something()
print('\n*-----Functions-----*\n')
def outer():
outer_number = 10
print(id(outer_number))
global_number = 55
print('Global number = ', global_number)
def inner():
inner_number = 200
print('Inner number = ', inner_number)
inner_number = 'Belchior'
print('Inner number = ', inner_number)
outer_number = 500
print(id(outer_number))
print('Outer number = ', outer_number)
inner()
global_number = 100
outer() |
# description: global
# date: 2020/6/7 19:15
# author: objcat
# version: 1.0
tool = None | tool = None |
def validate_post(post):
try:
anno_l1 = post['Layer1'].split(' ')
anno_l2 = post['Layer2'].split(' ')
text = post['text']
except KeyError:
return False, 4
if len(anno_l1) != len(anno_l2):
return False, 0
elif '[removed]' in text:
return False, 3
elif len(text) != len(anno_l1):
return False, 1
else:
return True, 2 | def validate_post(post):
try:
anno_l1 = post['Layer1'].split(' ')
anno_l2 = post['Layer2'].split(' ')
text = post['text']
except KeyError:
return (False, 4)
if len(anno_l1) != len(anno_l2):
return (False, 0)
elif '[removed]' in text:
return (False, 3)
elif len(text) != len(anno_l1):
return (False, 1)
else:
return (True, 2) |
def get_kwarg(self, name, **kwargs):
return kwargs[name] if name in kwargs else ''
def get_arg(self, name, *args):
return args[0] if len(args) > 0 else '' | def get_kwarg(self, name, **kwargs):
return kwargs[name] if name in kwargs else ''
def get_arg(self, name, *args):
return args[0] if len(args) > 0 else '' |
class Solution:
def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]:
dic = [0]*101
for n in nums:
dic[n] += 1
return [sum(dic[0:n]) for n in nums]
| class Solution:
def smaller_numbers_than_current(self, nums: List[int]) -> List[int]:
dic = [0] * 101
for n in nums:
dic[n] += 1
return [sum(dic[0:n]) for n in nums] |
class Employee:
name = "Tom Cruise"
def function(self):
print("This is a message inside the class.")
employeeTom = Employee()
employeeJerry = Employee()
employeeJerry.name = "Jerry"
print(employeeTom.name)
print(employeeJerry.name)
print(employeeJerry.function())
| class Employee:
name = 'Tom Cruise'
def function(self):
print('This is a message inside the class.')
employee_tom = employee()
employee_jerry = employee()
employeeJerry.name = 'Jerry'
print(employeeTom.name)
print(employeeJerry.name)
print(employeeJerry.function()) |
#declare X Data points
testDataX = [1, 2, 3, 4, 5, 6, 7]
lengthX = len(testDataX)
n = lengthX
############## ############## ##############
#declare Y Data points
testDataY = [1.5, 3.8, 6.7, 9.0, 11.2, 13.6, 16.0]
lengthY = len(testDataY)
############## ############## ##############
#find the Variance, or squared error, of Y values
#first take the mean of Y
meanY = 0.0
for i in range(lengthY):
meanY += testDataY[i]
meanY /= lengthY
#subtract mean from individual Y data points, then take the magnitude
SEy = 0.0
for i in range(lengthY):
SEy += (testDataY[i] - meanY)**2.0
print("Variance of Y", SEy)
############## ############## ##############
sumX = 0.0
sumY = 0.0
sumXY = 0.0
sumXX = 0.0
for i in range(lengthX):
sumX += testDataX[i]
sumY += testDataY[i]
sumXY += testDataX[i] * testDataY[i]
sumXX += testDataX[i] * testDataX[i]
#slope of a regression line through data points
m = (n * sumXY - (sumX * sumY)) / (n * sumXX - (sumX**2))
print("slope")
print(m)
#intercept of a regression line through data points
b = (sumY - (m * sumX)) / n
print("intercept")
print(b)
############## ############## ##############
#plug in X coords into regression line, subtract from actual Y values
sumR = 0.0
residuals = []
for i in range(lengthX):
guess = (m * testDataX[i] - b)
residuals.append( testDataY[i] - guess )
sumR += residuals[i]
print("residuals of individual points", residuals)
SEline = sumR**2.0
print("Squared Error of Regression Line", SEline)
#percentage of variation not described by regression line
percentNot = SEline/SEy
#percentage of variation that IS described by regression line
coefficientOfDetermination = 1.0 - percentNot
print("coeff of Determination", coefficientOfDetermination)
############## ############## ##############
| test_data_x = [1, 2, 3, 4, 5, 6, 7]
length_x = len(testDataX)
n = lengthX
test_data_y = [1.5, 3.8, 6.7, 9.0, 11.2, 13.6, 16.0]
length_y = len(testDataY)
mean_y = 0.0
for i in range(lengthY):
mean_y += testDataY[i]
mean_y /= lengthY
s_ey = 0.0
for i in range(lengthY):
s_ey += (testDataY[i] - meanY) ** 2.0
print('Variance of Y', SEy)
sum_x = 0.0
sum_y = 0.0
sum_xy = 0.0
sum_xx = 0.0
for i in range(lengthX):
sum_x += testDataX[i]
sum_y += testDataY[i]
sum_xy += testDataX[i] * testDataY[i]
sum_xx += testDataX[i] * testDataX[i]
m = (n * sumXY - sumX * sumY) / (n * sumXX - sumX ** 2)
print('slope')
print(m)
b = (sumY - m * sumX) / n
print('intercept')
print(b)
sum_r = 0.0
residuals = []
for i in range(lengthX):
guess = m * testDataX[i] - b
residuals.append(testDataY[i] - guess)
sum_r += residuals[i]
print('residuals of individual points', residuals)
s_eline = sumR ** 2.0
print('Squared Error of Regression Line', SEline)
percent_not = SEline / SEy
coefficient_of_determination = 1.0 - percentNot
print('coeff of Determination', coefficientOfDetermination) |
# time related parameters
no_intervals = 144
no_periods = 48
no_intervals_periods = int(no_intervals / no_periods)
# household related parameters
# new_households = True
new_households = False
no_households = 100
no_tasks_min = 5
max_demand_multiplier = no_tasks_min
care_f_max = 10
care_f_weight = 1
# pricing related parameters
pricing_table_weight = 1
# cost_function_type = "linear"
cost_function_type = "piece-wise"
zero_digit = 2
# solver related parameters
var_selection = "smallest"
val_choice = "indomain_min"
model_type = "pre"
solver_type = "cp"
# external file related parameters
parent_folder = ""
file_cp_pre = parent_folder + 'models/Household-cp-pre.mzn'
file_cp_ini = parent_folder + 'models/Household-cp.mzn'
file_pricing_table = parent_folder + 'data/pricing_table_0.csv'
file_household_area_folder = parent_folder + 'data/'
file_probability = parent_folder + 'data/probability.csv'
file_demand_list = parent_folder + 'data/demands_list.csv'
result_folder = parent_folder + "results/"
attack_result_folder = parent_folder + "attack_results/"
# summary related parameters
k0_area = "area"
k0_penalty_weight = "penalty_weight"
k0_households_no = "no_households"
k0_tasks_no = "no_tasks"
k0_cost_type = "cost_function_type"
k0_iteration_no = "no_iterations"
# demand related parameters
k0_household_key = "key"
k0_starts = "start_times"
k0_demand = "demands"
k0_demand_max = "max_demand"
k0_demand_total = "total_demand"
k0_par = "PAR"
# step size
k0_step = "step_size"
# objective related parameters
k0_cost = "cost"
k0_penalty = "inconvenient"
k0_obj = "objective"
# pricing related parameters
k0_prices = "prices"
k0_price_levels = "price_levels"
k0_demand_table = "demand_levels"
# run time related
k0_time = "run_time"
k1_time_scheduling = "rescheduling_time"
k1_time_pricing = "pricing_time"
k1_time_average = "average_run_time_per_iteration"
# k1_interval = "interval"
# k1_period = "period"
k0_algorithm = "algorithm"
k1_optimal = "optimal"
k1_heuristic = "heuristic"
k2_scheduling = "scheduling"
k2_pricing = "pricing"
| no_intervals = 144
no_periods = 48
no_intervals_periods = int(no_intervals / no_periods)
new_households = False
no_households = 100
no_tasks_min = 5
max_demand_multiplier = no_tasks_min
care_f_max = 10
care_f_weight = 1
pricing_table_weight = 1
cost_function_type = 'piece-wise'
zero_digit = 2
var_selection = 'smallest'
val_choice = 'indomain_min'
model_type = 'pre'
solver_type = 'cp'
parent_folder = ''
file_cp_pre = parent_folder + 'models/Household-cp-pre.mzn'
file_cp_ini = parent_folder + 'models/Household-cp.mzn'
file_pricing_table = parent_folder + 'data/pricing_table_0.csv'
file_household_area_folder = parent_folder + 'data/'
file_probability = parent_folder + 'data/probability.csv'
file_demand_list = parent_folder + 'data/demands_list.csv'
result_folder = parent_folder + 'results/'
attack_result_folder = parent_folder + 'attack_results/'
k0_area = 'area'
k0_penalty_weight = 'penalty_weight'
k0_households_no = 'no_households'
k0_tasks_no = 'no_tasks'
k0_cost_type = 'cost_function_type'
k0_iteration_no = 'no_iterations'
k0_household_key = 'key'
k0_starts = 'start_times'
k0_demand = 'demands'
k0_demand_max = 'max_demand'
k0_demand_total = 'total_demand'
k0_par = 'PAR'
k0_step = 'step_size'
k0_cost = 'cost'
k0_penalty = 'inconvenient'
k0_obj = 'objective'
k0_prices = 'prices'
k0_price_levels = 'price_levels'
k0_demand_table = 'demand_levels'
k0_time = 'run_time'
k1_time_scheduling = 'rescheduling_time'
k1_time_pricing = 'pricing_time'
k1_time_average = 'average_run_time_per_iteration'
k0_algorithm = 'algorithm'
k1_optimal = 'optimal'
k1_heuristic = 'heuristic'
k2_scheduling = 'scheduling'
k2_pricing = 'pricing' |
# -*- coding: utf8 -*-
"Files-related convertors"
| """Files-related convertors""" |
################################################
class BasePlantNonUDP(BasePlant):
def init(self):
pass
def stop(self):
pass
def enable(self):
pass
def last_data_ts_arrival(self):
# there's no delay when receiving feedback using the NonUDP classes,
# since nothing is being sent over UDP and feedback data can be
# requested at any time
return time.time()
def disable(self):
pass
def enable_watchdog(self, timeout_ms):
pass
class ArmAssistPlantNonUDP(BasePlantNonUDP):
'''Similar methods as ArmAssistPlantUDP, but:
1) doesn't send/receive anything over UDP, and
2) uses simulated ArmAssist (can't be used with real ArmAssist).
Use this plant to simulate having (near) instantaneous feedback.
'''
def __init__(self, *args, **kwargs):
# create ArmAssist process
aa_tstep = 0.005 # how often the simulated ArmAssist moves itself
aa_pic_tstep = 0.01 # how often the simulated ArmAssist PI controller acts
KP = np.mat([[-10., 0., 0.],
[ 0., -20., 0.],
[ 0., 0., 20.]]) # P gain matrix
TI = 0.1 * np.identity(3) # I gain matrix
self.aa = armassist.ArmAssist(aa_tstep, aa_pic_tstep, KP, TI)
self.aa.daemon = True
def start(self):
'''Start the ArmAssist simulation processes.'''
self.aa.start()
self.ts_start_data = time.time()
def send_vel(self, vel):
vel = vel.copy()
# units of vel should be: (cm/s, cm/s, rad/s)
assert len(vel) == 3
# don't need to convert from rad/s to deg/s
# (aa_pic expects units of rad/s)
vel = np.mat(vel).T
self.aa.update_reference(vel)
# make note -- no conversion needed
def get_pos(self):
return np.array(self.aa.get_state()['wf']).reshape((3,))
def get_vel(self):
return np.array(self.aa.get_state()['wf_dot']).reshape((3,))
# a magic function that instantaneously moves the simulated ArmAssist to a
# new position+orientation
def set_pos(self, pos):
'''Magically set position+orientation in units of (cm, cm, rad).'''
wf = np.mat(pos).T
self.aa._set_wf(wf)
class ReHandPlantNonUDP(BasePlantNonUDP):
'''Similar methods as ReHandPlantUDP, but:
1) doesn't send/receive anything over UDP, and
2) uses simulated ReHand (can't be used with real ReHand).
Use this plant to simulate having (near) instantaneous feedback.
'''
def __init__(self, *args, **kwargs):
# create ReHand process
self.rh = rehand.ReHand(tstep=0.005)
self.rh.daemon = True
def start(self):
'''Start the ReHand simulation process.'''
self.rh.start()
self.ts_start_data = time.time()
def send_vel(self, vel):
vel = vel.copy()
# units of vel should be: (rad/s, rad/s, rad/s, rad/s)
assert len(vel) == 4
# don't need to convert from rad/s to deg/s
# (rh expects units of rad/s)
vel = np.mat(vel).T
self.rh.set_vel(vel)
# no conversion needed (everything already in units of rad)
def get_pos(self):
return np.array(self.rh.get_state()['pos']).reshape((4,))
def get_vel(self):
return np.array(self.rh.get_state()['vel']).reshape((4,))
# a magic function that instantaneously sets the simulated ReHand's angles
def set_pos(self, pos):
'''Magically set angles in units of (rad, rad, rad, rad).'''
self.rh._set_pos(pos)
NONUDP_PLANT_CLS_DICT = {
'ArmAssist': ArmAssistPlantNonUDP,
'ReHand': ReHandPlantNonUDP,
'IsMore': IsMorePlantNonUDP,
}
class IsMorePlantNonUDP(BasePlantIsMore):
'''Similar methods as IsMorePlant, but:
1) doesn't send/receive anything over UDP, and
2) uses simulated ArmAssist+ReHand (can't be used with real devices).
Use this plant to simulate having (near) instantaneous feedback.
'''
aa_plant_cls = ArmAssistPlantNonUDP
rh_plant_cls = ReHandPlantNonUDP
# a magic function that instantaneously moves the simulated ArmAssist to a
# new position+orientation and sets the simulated ReHand's angles
def set_pos(self, pos):
'''Magically set ArmAssist's position+orientation in units of
(cm, cm, rad) and ReHand's angles in units of (rad, rad, rad, rad).
'''
self.aa_plant.set_pos(pos[0:3])
self.rh_plant.set_pos(pos[3:7])
| class Baseplantnonudp(BasePlant):
def init(self):
pass
def stop(self):
pass
def enable(self):
pass
def last_data_ts_arrival(self):
return time.time()
def disable(self):
pass
def enable_watchdog(self, timeout_ms):
pass
class Armassistplantnonudp(BasePlantNonUDP):
"""Similar methods as ArmAssistPlantUDP, but:
1) doesn't send/receive anything over UDP, and
2) uses simulated ArmAssist (can't be used with real ArmAssist).
Use this plant to simulate having (near) instantaneous feedback.
"""
def __init__(self, *args, **kwargs):
aa_tstep = 0.005
aa_pic_tstep = 0.01
kp = np.mat([[-10.0, 0.0, 0.0], [0.0, -20.0, 0.0], [0.0, 0.0, 20.0]])
ti = 0.1 * np.identity(3)
self.aa = armassist.ArmAssist(aa_tstep, aa_pic_tstep, KP, TI)
self.aa.daemon = True
def start(self):
"""Start the ArmAssist simulation processes."""
self.aa.start()
self.ts_start_data = time.time()
def send_vel(self, vel):
vel = vel.copy()
assert len(vel) == 3
vel = np.mat(vel).T
self.aa.update_reference(vel)
def get_pos(self):
return np.array(self.aa.get_state()['wf']).reshape((3,))
def get_vel(self):
return np.array(self.aa.get_state()['wf_dot']).reshape((3,))
def set_pos(self, pos):
"""Magically set position+orientation in units of (cm, cm, rad)."""
wf = np.mat(pos).T
self.aa._set_wf(wf)
class Rehandplantnonudp(BasePlantNonUDP):
"""Similar methods as ReHandPlantUDP, but:
1) doesn't send/receive anything over UDP, and
2) uses simulated ReHand (can't be used with real ReHand).
Use this plant to simulate having (near) instantaneous feedback.
"""
def __init__(self, *args, **kwargs):
self.rh = rehand.ReHand(tstep=0.005)
self.rh.daemon = True
def start(self):
"""Start the ReHand simulation process."""
self.rh.start()
self.ts_start_data = time.time()
def send_vel(self, vel):
vel = vel.copy()
assert len(vel) == 4
vel = np.mat(vel).T
self.rh.set_vel(vel)
def get_pos(self):
return np.array(self.rh.get_state()['pos']).reshape((4,))
def get_vel(self):
return np.array(self.rh.get_state()['vel']).reshape((4,))
def set_pos(self, pos):
"""Magically set angles in units of (rad, rad, rad, rad)."""
self.rh._set_pos(pos)
nonudp_plant_cls_dict = {'ArmAssist': ArmAssistPlantNonUDP, 'ReHand': ReHandPlantNonUDP, 'IsMore': IsMorePlantNonUDP}
class Ismoreplantnonudp(BasePlantIsMore):
"""Similar methods as IsMorePlant, but:
1) doesn't send/receive anything over UDP, and
2) uses simulated ArmAssist+ReHand (can't be used with real devices).
Use this plant to simulate having (near) instantaneous feedback.
"""
aa_plant_cls = ArmAssistPlantNonUDP
rh_plant_cls = ReHandPlantNonUDP
def set_pos(self, pos):
"""Magically set ArmAssist's position+orientation in units of
(cm, cm, rad) and ReHand's angles in units of (rad, rad, rad, rad).
"""
self.aa_plant.set_pos(pos[0:3])
self.rh_plant.set_pos(pos[3:7]) |
catlog = [
"New",
"Macros",
"Manager",
"-",
"Install",
"Contribute",
"update_plg",
"-",
"temporal_plg",
"StackReg",
"Games",
"screencap_plg",
]
| catlog = ['New', 'Macros', 'Manager', '-', 'Install', 'Contribute', 'update_plg', '-', 'temporal_plg', 'StackReg', 'Games', 'screencap_plg'] |
class A:
def speak(self):
return "hello"
def speak_patch(self):
return "world"
A.speak = speak_patch
some_class = A()
print('some_class.speak():', some_class.speak())
some_class2 = A()
print('some_class2.speak():', some_class2.speak())
| class A:
def speak(self):
return 'hello'
def speak_patch(self):
return 'world'
A.speak = speak_patch
some_class = a()
print('some_class.speak():', some_class.speak())
some_class2 = a()
print('some_class2.speak():', some_class2.speak()) |
# you can write to stdout for debugging purposes, e.g.
# print("this is a debug message")
_end = '_end_'
def make_trie(words):
root = dict()
for word in words:
current_dict = root
for letter in word:
current_dict = current_dict.setdefault(letter, {})
current_dict[_end] = _end
return root
def get_endings(di, prefix=''):
res = []
for c in di:
if c == _end:
res.append(prefix)
else:
res.extend(get_endings(di[c], prefix + c))
return res
def put_spaces(s, A):
a = A
cc = ''
while s:
c = s[0]
cc += c
s = s[1:]
if c not in a:
return None
a = a[c]
if _end in a:
sp = put_spaces(s, A)
if sp:
return cc + ' ' + sp
return cc
def return_result(sentence, A):
s = ''.join(sentence.split(' '))
if s == s[::-1]:
return sentence
return sentence + ' ' + put_spaces(s[::-1], A)
def solution(S):
A = make_trie(S.split(' '))
B = make_trie(S[::-1].split(' '))
stack = []
for a in S.split(' '):
stack.append((a, '', ''))
seen = set()
while stack:
x, y, sentence = stack.pop()
if (x, y) in seen:
continue
seen.add((x,y))
bb = B
cc = ''
while x:
if _end in bb:
stack.append((x, '', sentence + cc))
c, x = x[0], x[1:]
cc += c
if c not in bb:
cc = ''
break
bb = bb[c]
if cc:
for ending in get_endings(bb):
if ending == '':
return return_result(sentence + cc, A)
stack.append(('', ending, sentence + cc + ' '))
cc = ''
aa = A
while y:
if _end in aa:
stack.append(('', y, sentence + cc + ' '))
c, y = y[0], y[1:]
cc += c
if c not in aa:
cc = ''
break
aa = aa[c]
if cc:
for ending in get_endings(aa):
if ending == '':
return return_result(sentence + cc, A)
stack.append((ending, '', sentence + cc))
return "NO"
| _end = '_end_'
def make_trie(words):
root = dict()
for word in words:
current_dict = root
for letter in word:
current_dict = current_dict.setdefault(letter, {})
current_dict[_end] = _end
return root
def get_endings(di, prefix=''):
res = []
for c in di:
if c == _end:
res.append(prefix)
else:
res.extend(get_endings(di[c], prefix + c))
return res
def put_spaces(s, A):
a = A
cc = ''
while s:
c = s[0]
cc += c
s = s[1:]
if c not in a:
return None
a = a[c]
if _end in a:
sp = put_spaces(s, A)
if sp:
return cc + ' ' + sp
return cc
def return_result(sentence, A):
s = ''.join(sentence.split(' '))
if s == s[::-1]:
return sentence
return sentence + ' ' + put_spaces(s[::-1], A)
def solution(S):
a = make_trie(S.split(' '))
b = make_trie(S[::-1].split(' '))
stack = []
for a in S.split(' '):
stack.append((a, '', ''))
seen = set()
while stack:
(x, y, sentence) = stack.pop()
if (x, y) in seen:
continue
seen.add((x, y))
bb = B
cc = ''
while x:
if _end in bb:
stack.append((x, '', sentence + cc))
(c, x) = (x[0], x[1:])
cc += c
if c not in bb:
cc = ''
break
bb = bb[c]
if cc:
for ending in get_endings(bb):
if ending == '':
return return_result(sentence + cc, A)
stack.append(('', ending, sentence + cc + ' '))
cc = ''
aa = A
while y:
if _end in aa:
stack.append(('', y, sentence + cc + ' '))
(c, y) = (y[0], y[1:])
cc += c
if c not in aa:
cc = ''
break
aa = aa[c]
if cc:
for ending in get_endings(aa):
if ending == '':
return return_result(sentence + cc, A)
stack.append((ending, '', sentence + cc))
return 'NO' |
def copy_not_empty_attrs(src, dst):
if src is not None and dst is not None:
for attribute in src.__dict__:
value = getattr(src, attribute)
if value:
setattr(dst, attribute, value)
class NoneDict(dict):
def __init__(self, args, **kwargs):
self.update(args, **kwargs) if args is not None else None
def __getitem__(self, key):
return dict.get(self, key)
def set_if_type_is_valid(value, expected_type):
if not isinstance(value, expected_type):
raise ValueError("Expected a " + str(expected_type) + " found: " + str(type(value)))
return value
def set_if_has_attr(attr_name, expected_attr_owner):
if not hasattr(expected_attr_owner, attr_name):
raise ValueError("Expected one of " + str(expected_attr_owner) + " attributes, found: " + str(attr_name))
return attr_name
| def copy_not_empty_attrs(src, dst):
if src is not None and dst is not None:
for attribute in src.__dict__:
value = getattr(src, attribute)
if value:
setattr(dst, attribute, value)
class Nonedict(dict):
def __init__(self, args, **kwargs):
self.update(args, **kwargs) if args is not None else None
def __getitem__(self, key):
return dict.get(self, key)
def set_if_type_is_valid(value, expected_type):
if not isinstance(value, expected_type):
raise value_error('Expected a ' + str(expected_type) + ' found: ' + str(type(value)))
return value
def set_if_has_attr(attr_name, expected_attr_owner):
if not hasattr(expected_attr_owner, attr_name):
raise value_error('Expected one of ' + str(expected_attr_owner) + ' attributes, found: ' + str(attr_name))
return attr_name |
def make_arr(data):
t = {}
for ov in data:
if t.get(ov['resource']) is None:
t[ov['resource']] = {}
t[ov['resource']][ov['other_input']] = ov['value']
return t
| def make_arr(data):
t = {}
for ov in data:
if t.get(ov['resource']) is None:
t[ov['resource']] = {}
t[ov['resource']][ov['other_input']] = ov['value']
return t |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ============================================================================
# fap4malware - File analyzation program to detect malware
# Malware definition list
# Copyright (C) 2018 by Ralf Kilian
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
#
# GitHub: https://github.com/urbanware-org/fap4malware
# GitHub: https://gitlab.com/urbanware-org/fap4malware
# ============================================================================
DEFLIST = {
# This is the global definition list that contains the fingerprints of the
# malicious files in the form of SHA256 hashes. The list contains some
# pre-defined fingerprints:
"6eb9f90ae2cfe10f0364729298351eb2afba298a6c8b36b47483785b78a87c4e":
"Test file included with 'fap4malware'",
"275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f":
"EICAR test signature",
"2546dcffc5ad854d4ddc64fbf056871cd5a00f2471cb7a5bfd4ac23b6e9eedad":
"EICAR test signature (zipped)",
"e1105070ba828007508566e28a2b8d4c65d192e9eaf3b7868382b7cae747b397":
"EICAR test signature (double zipped)",
# In order to add a new definition, for example from the file 'virus.exe',
# create its fingerprint first.
#
# On Linux you can simply do that using the 'sha256sum' tool as follows:
#
# sha256sum virus.exe | awk '{ print $1 }'
#
# Of course, you can also execute that command without piping its output
# to 'awk' and just copy the SHA256 hash.
#
# Copy the returned SHA256 hash and add it to this list along with the
# name (or description) of the malware:
#
# "6eb9f90ae2cfe10f0364729298351eb2afba298a6c8b36b47483785b78a87c4e":
# "Win32.Trojan.Foo.Bar",
}
# EOF
| deflist = {'6eb9f90ae2cfe10f0364729298351eb2afba298a6c8b36b47483785b78a87c4e': "Test file included with 'fap4malware'", '275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f': 'EICAR test signature', '2546dcffc5ad854d4ddc64fbf056871cd5a00f2471cb7a5bfd4ac23b6e9eedad': 'EICAR test signature (zipped)', 'e1105070ba828007508566e28a2b8d4c65d192e9eaf3b7868382b7cae747b397': 'EICAR test signature (double zipped)'} |
def createMatrix(rowCount, colCount):
mat = []
for i in range(rowCount):
rowList = []
for j in range(colCount):
rowList.append(0)
mat.append(rowList)
return mat
with open('input.txt') as file:
input = (file.readline()).split(" ")
n = int(input[0])
k = int(input[1])
C = createMatrix(n, n)
fib = [0,1]
for i in range(1,k+1):
fib.append(fib[i-1] + fib[i])
F = lambda floor: fib[k+1]**(2*floor - 2)
for i in range(n):
C[i][0] = 1
C[i][i] = 1
for j in range(1, i):
C[i][j] = C[i-1][j] + C[i-1][j-1]
N = (sum(C[n-1][i] * F(n-i) for i in range(n))) % 1000000009
with open('output.txt', 'w') as file:
file.write(str(N))
| def create_matrix(rowCount, colCount):
mat = []
for i in range(rowCount):
row_list = []
for j in range(colCount):
rowList.append(0)
mat.append(rowList)
return mat
with open('input.txt') as file:
input = file.readline().split(' ')
n = int(input[0])
k = int(input[1])
c = create_matrix(n, n)
fib = [0, 1]
for i in range(1, k + 1):
fib.append(fib[i - 1] + fib[i])
f = lambda floor: fib[k + 1] ** (2 * floor - 2)
for i in range(n):
C[i][0] = 1
C[i][i] = 1
for j in range(1, i):
C[i][j] = C[i - 1][j] + C[i - 1][j - 1]
n = sum((C[n - 1][i] * f(n - i) for i in range(n))) % 1000000009
with open('output.txt', 'w') as file:
file.write(str(N)) |
# Source: https://github.com/sventhijssen/pgmtocnf
# Authors: Sven Thijssen and Gillis Hermans
class Literal():
def __init__(self, name, positive=True):
super(Literal, self).__init__()
self.atom = name
self.positive = positive
def __str__(self):
if self.positive:
return str(self.atom)
elif self.atom == 'False':
return str(self.atom)
else:
return "\\+" + str(self.atom)
def __repr__(self):
if self.positive:
return str(self.atom)
elif self.atom == 'False':
return str(self.atom)
else:
return "\\+" + str(self.atom)
def __eq__(self, other):
if isinstance(other, Literal):
return self.atom == other.atom and self.positive == other.positive
return False
def __hash__(self):
return hash(self.atom)
def negate(self):
if self.positive:
return Literal(self.atom, False)
return Literal(self.atom, True)
| class Literal:
def __init__(self, name, positive=True):
super(Literal, self).__init__()
self.atom = name
self.positive = positive
def __str__(self):
if self.positive:
return str(self.atom)
elif self.atom == 'False':
return str(self.atom)
else:
return '\\+' + str(self.atom)
def __repr__(self):
if self.positive:
return str(self.atom)
elif self.atom == 'False':
return str(self.atom)
else:
return '\\+' + str(self.atom)
def __eq__(self, other):
if isinstance(other, Literal):
return self.atom == other.atom and self.positive == other.positive
return False
def __hash__(self):
return hash(self.atom)
def negate(self):
if self.positive:
return literal(self.atom, False)
return literal(self.atom, True) |
# x = 101
#
# # print no of digits in a number
# print(len(str(x)))
#
#
# def end_zeros(num: int) -> int:
# # your code here
# # return str(num).count('0')
# return len(str(num)) - len(str(num).rstrip('0'))
#
#
# if __name__ == '__main__':
# print("Example:")
# print(end_zeros(0))
#
# # These "asserts" are used for self-checking and not for an auto-testing
# assert end_zeros(0) == 1
# assert end_zeros(1) == 0
# assert end_zeros(10) == 1
# assert end_zeros(101) == 0
# assert end_zeros(245) == 0
# assert end_zeros(100100) == 2
# print("Coding complete? Click 'Check' to earn cool rewards!")
# def is_even(num: int) -> bool:
# # your code here
# return not (num % 2)
#
#
# if __name__ == '__main__':
# print("Example:")
# print(is_even(2))
#
# # These "asserts" are used for self-checking and not for an auto-testing
# assert is_even(2) == True
# assert is_even(5) == False
# assert is_even(0) == True
def correct_sentence(text: str) -> str:
text = text[0].upper() + text[1:]
if (text[len(text)-1]) != '.':
return text[0:] + '.'
return text[0:]
# return text.title().join('.')
if __name__ == '__main__':
print("Example:")
print(correct_sentence("greetings, friends"))
# These "asserts" are used for self-checking and not for an auto-testing
assert correct_sentence("greetings, friends") == "Greetings, friends."
assert correct_sentence("Greetings, friends") == "Greetings, friends."
assert correct_sentence("Greetings, friends.") == "Greetings, friends."
assert correct_sentence("hi") == "Hi."
assert correct_sentence("welcome to New York") == "Welcome to New York."
print("Coding complete? Click 'Check' to earn cool rewards!")
| def correct_sentence(text: str) -> str:
text = text[0].upper() + text[1:]
if text[len(text) - 1] != '.':
return text[0:] + '.'
return text[0:]
if __name__ == '__main__':
print('Example:')
print(correct_sentence('greetings, friends'))
assert correct_sentence('greetings, friends') == 'Greetings, friends.'
assert correct_sentence('Greetings, friends') == 'Greetings, friends.'
assert correct_sentence('Greetings, friends.') == 'Greetings, friends.'
assert correct_sentence('hi') == 'Hi.'
assert correct_sentence('welcome to New York') == 'Welcome to New York.'
print("Coding complete? Click 'Check' to earn cool rewards!") |
myStr = "Hello World"
#print(dir(myStr))
print(myStr.upper())
print(myStr.swapcase())
print(myStr.replace("Hello", "Goodbye"))
print(myStr.count("l"))
print(myStr.startswith("he"))
print(myStr.split(" "))
print(len(myStr))
print(myStr.find("e"))
print(myStr.index("e"))
print(myStr.isnumeric())
print(myStr.isalpha())
print(myStr[4])
print(f"Poo choo {myStr}") | my_str = 'Hello World'
print(myStr.upper())
print(myStr.swapcase())
print(myStr.replace('Hello', 'Goodbye'))
print(myStr.count('l'))
print(myStr.startswith('he'))
print(myStr.split(' '))
print(len(myStr))
print(myStr.find('e'))
print(myStr.index('e'))
print(myStr.isnumeric())
print(myStr.isalpha())
print(myStr[4])
print(f'Poo choo {myStr}') |
expected_output = {
"boot_loader_version": "Not applicable",
"build": "4567",
"chassis_serial_number": "None",
"commit_pending": "false",
"configuration_template": "CLItemplate_srp_vedge",
"controller_compatibility": "20.3",
"cpu_allocation": {"control": 1, "data": 3, "total": 4},
"cpu_reported_reboot": "Not Applicable",
"engineering_signed": True,
"cpu_states": {"idle": 93.48, "system": 5.26, "user": 1.25},
"current_time": "Thu Aug 06 02:49:25 PDT 2020",
"disk_usage": {
"avail_mega": 6741,
"filesystem": "/dev/root",
"mounted_on": "/",
"size_mega": 7615,
"use_pc": 6,
"used_mega": 447,
},
"last_reboot": "Initiated by user - activate 99.99.999-4567.",
"load_average": {"minute_1": 3.2, "minute_15": 3.1, "minute_5": 3.13},
"memory_usage": {
"buffers_kilo": 0,
"cache_kilo": 0,
"free_kilo": 444116,
"total_kilo": 1907024,
"used_kilo": 1462908,
},
"model_name": "vedge-cloud",
"personality": "vedge",
"processes": 250,
"services": "None",
"system_fips_state": "Enabled",
"system_logging_disk": "enabled",
"system_logging_host": "disabled",
"system_state": "GREEN. All daemons up",
"system_uptime": "0 days 21 hrs 35 min 28 sec",
"testbed_mode": "Enabled",
"version": "99.99.999-4567",
"vmanaged": "true",
}
| expected_output = {'boot_loader_version': 'Not applicable', 'build': '4567', 'chassis_serial_number': 'None', 'commit_pending': 'false', 'configuration_template': 'CLItemplate_srp_vedge', 'controller_compatibility': '20.3', 'cpu_allocation': {'control': 1, 'data': 3, 'total': 4}, 'cpu_reported_reboot': 'Not Applicable', 'engineering_signed': True, 'cpu_states': {'idle': 93.48, 'system': 5.26, 'user': 1.25}, 'current_time': 'Thu Aug 06 02:49:25 PDT 2020', 'disk_usage': {'avail_mega': 6741, 'filesystem': '/dev/root', 'mounted_on': '/', 'size_mega': 7615, 'use_pc': 6, 'used_mega': 447}, 'last_reboot': 'Initiated by user - activate 99.99.999-4567.', 'load_average': {'minute_1': 3.2, 'minute_15': 3.1, 'minute_5': 3.13}, 'memory_usage': {'buffers_kilo': 0, 'cache_kilo': 0, 'free_kilo': 444116, 'total_kilo': 1907024, 'used_kilo': 1462908}, 'model_name': 'vedge-cloud', 'personality': 'vedge', 'processes': 250, 'services': 'None', 'system_fips_state': 'Enabled', 'system_logging_disk': 'enabled', 'system_logging_host': 'disabled', 'system_state': 'GREEN. All daemons up', 'system_uptime': '0 days 21 hrs 35 min 28 sec', 'testbed_mode': 'Enabled', 'version': '99.99.999-4567', 'vmanaged': 'true'} |
#
# PySNMP MIB module NET-SNMP-EXAMPLES-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NET-SNMP-EXAMPLES-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:18:07 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection")
InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType")
netSnmp, = mibBuilder.importSymbols("NET-SNMP-MIB", "netSnmp")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Counter32, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, MibIdentifier, TimeTicks, ModuleIdentity, Counter64, NotificationType, ObjectIdentity, IpAddress, Gauge32, Unsigned32, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "MibIdentifier", "TimeTicks", "ModuleIdentity", "Counter64", "NotificationType", "ObjectIdentity", "IpAddress", "Gauge32", "Unsigned32", "Bits")
StorageType, DisplayString, TextualConvention, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "DisplayString", "TextualConvention", "RowStatus")
netSnmpExamples = ModuleIdentity((1, 3, 6, 1, 4, 1, 8072, 2))
netSnmpExamples.setRevisions(('2004-06-15 00:00', '2002-02-06 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: netSnmpExamples.setRevisionsDescriptions(('Corrected notification example definitions', 'First draft',))
if mibBuilder.loadTexts: netSnmpExamples.setLastUpdated('200406150000Z')
if mibBuilder.loadTexts: netSnmpExamples.setOrganization('www.net-snmp.org')
if mibBuilder.loadTexts: netSnmpExamples.setContactInfo('postal: Wes Hardaker P.O. Box 382 Davis CA 95617 email: net-snmp-coders@lists.sourceforge.net')
if mibBuilder.loadTexts: netSnmpExamples.setDescription('Example MIB objects for agent module example implementations')
netSnmpExampleScalars = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 2, 1))
netSnmpExampleTables = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 2, 2))
netSnmpExampleNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 2, 3))
netSnmpExampleNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 2, 3, 0))
netSnmpExampleNotificationObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 2, 3, 2))
netSnmpExampleInteger = MibScalar((1, 3, 6, 1, 4, 1, 8072, 2, 1, 1), Integer32().clone(42)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netSnmpExampleInteger.setStatus('current')
if mibBuilder.loadTexts: netSnmpExampleInteger.setDescription("This is a simple object which merely houses a writable integer. It's only purposes is to hold the value of a single integer. Writing to it will simply change the value for subsequent GET/GETNEXT/GETBULK retrievals. This example object is implemented in the agent/mibgroup/examples/scalar_int.c file.")
netSnmpExampleSleeper = MibScalar((1, 3, 6, 1, 4, 1, 8072, 2, 1, 2), Integer32().clone(1)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netSnmpExampleSleeper.setStatus('current')
if mibBuilder.loadTexts: netSnmpExampleSleeper.setDescription("This is a simple object which is a basic integer. It's value indicates the number of seconds that the agent will take in responding to requests of this object. This is implemented in a way which will allow the agent to keep responding to other requests while access to this object is blocked. It is writable, and changing it's value will change the amount of time the agent will effectively wait for before returning a response when this object is manipulated. Note that SET requests through this object will take longer, since the delay is applied to each internal transaction phase, which could result in delays of up to 4 times the value of this object. This example object is implemented in the agent/mibgroup/examples/delayed_instance.c file.")
netSnmpExampleString = MibScalar((1, 3, 6, 1, 4, 1, 8072, 2, 1, 3), SnmpAdminString().clone('So long, and thanks for all the fish!')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netSnmpExampleString.setStatus('current')
if mibBuilder.loadTexts: netSnmpExampleString.setDescription("This is a simple object which merely houses a writable string. It's only purposes is to hold the value of a single string. Writing to it will simply change the value for subsequent GET/GETNEXT/GETBULK retrievals. This example object is implemented in the agent/mibgroup/examples/watched.c file.")
netSnmpIETFWGTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1), )
if mibBuilder.loadTexts: netSnmpIETFWGTable.setStatus('current')
if mibBuilder.loadTexts: netSnmpIETFWGTable.setDescription('This table merely contains a set of data which is otherwise useless for true network management. It is a table which describes properies about a IETF Working Group, such as the names of the two working group chairs. This example table is implemented in the agent/mibgroup/examples/data_set.c file.')
netSnmpIETFWGEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1), ).setIndexNames((0, "NET-SNMP-EXAMPLES-MIB", "nsIETFWGName"))
if mibBuilder.loadTexts: netSnmpIETFWGEntry.setStatus('current')
if mibBuilder.loadTexts: netSnmpIETFWGEntry.setDescription('A row describing a given working group')
nsIETFWGName = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)))
if mibBuilder.loadTexts: nsIETFWGName.setStatus('current')
if mibBuilder.loadTexts: nsIETFWGName.setDescription('The name of the IETF Working Group this table describes.')
nsIETFWGChair1 = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1, 2), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: nsIETFWGChair1.setStatus('current')
if mibBuilder.loadTexts: nsIETFWGChair1.setDescription('One of the names of the chairs for the IETF working group.')
nsIETFWGChair2 = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1, 3), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: nsIETFWGChair2.setStatus('current')
if mibBuilder.loadTexts: nsIETFWGChair2.setDescription('The other name, if one exists, of the chairs for the IETF working group.')
netSnmpHostsTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2), )
if mibBuilder.loadTexts: netSnmpHostsTable.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostsTable.setDescription('An example table that implements a wrapper around the /etc/hosts file on a machine using the iterator helper API.')
netSnmpHostsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1), ).setIndexNames((0, "NET-SNMP-EXAMPLES-MIB", "netSnmpHostName"))
if mibBuilder.loadTexts: netSnmpHostsEntry.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostsEntry.setDescription('A host name mapped to an ip address')
netSnmpHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64)))
if mibBuilder.loadTexts: netSnmpHostName.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostName.setDescription('A host name that exists in the /etc/hosts (unix) file.')
netSnmpHostAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 2), InetAddressType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netSnmpHostAddressType.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostAddressType.setDescription('The address type of then given host.')
netSnmpHostAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 3), InetAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netSnmpHostAddress.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostAddress.setDescription('The address of then given host.')
netSnmpHostStorage = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netSnmpHostStorage.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostStorage.setDescription('The storage type for this conceptual row.')
netSnmpHostRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netSnmpHostRowStatus.setStatus('current')
if mibBuilder.loadTexts: netSnmpHostRowStatus.setDescription('The status of this conceptual row.')
netSnmpExampleHeartbeatRate = MibScalar((1, 3, 6, 1, 4, 1, 8072, 2, 3, 2, 1), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: netSnmpExampleHeartbeatRate.setStatus('current')
if mibBuilder.loadTexts: netSnmpExampleHeartbeatRate.setDescription('A simple integer object, to act as a payload for the netSnmpExampleHeartbeatNotification. The value has no real meaning, but is nominally the interval (in seconds) between successive heartbeat notifications.')
netSnmpExampleHeartbeatName = MibScalar((1, 3, 6, 1, 4, 1, 8072, 2, 3, 2, 2), SnmpAdminString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: netSnmpExampleHeartbeatName.setStatus('current')
if mibBuilder.loadTexts: netSnmpExampleHeartbeatName.setDescription("A simple string object, to act as an optional payload for the netSnmpExampleHeartbeatNotification. This varbind is not part of the notification definition, so is optional and need not be included in the notification payload. The value has no real meaning, but the romantically inclined may take it to be the object of the sender's affection, and hence the cause of the heart beating faster.")
netSnmpExampleHeartbeatNotification = NotificationType((1, 3, 6, 1, 4, 1, 8072, 2, 3, 0, 1)).setObjects(("NET-SNMP-EXAMPLES-MIB", "netSnmpExampleHeartbeatRate"))
if mibBuilder.loadTexts: netSnmpExampleHeartbeatNotification.setStatus('current')
if mibBuilder.loadTexts: netSnmpExampleHeartbeatNotification.setDescription('An example notification, used to illustrate the definition and generation of trap and inform PDUs (including the use of both standard and additional varbinds in the notification payload). This notification will typically be sent every 30 seconds, using the code found in the example module agent/mibgroup/examples/notification.c')
netSnmpExampleNotification = MibScalar((1, 3, 6, 1, 4, 1, 8072, 2, 3, 1), SnmpAdminString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: netSnmpExampleNotification.setStatus('obsolete')
if mibBuilder.loadTexts: netSnmpExampleNotification.setDescription('This object was improperly defined for its original purpose, and should no longer be used.')
mibBuilder.exportSymbols("NET-SNMP-EXAMPLES-MIB", netSnmpExampleString=netSnmpExampleString, netSnmpIETFWGEntry=netSnmpIETFWGEntry, netSnmpExampleSleeper=netSnmpExampleSleeper, netSnmpIETFWGTable=netSnmpIETFWGTable, PYSNMP_MODULE_ID=netSnmpExamples, netSnmpHostStorage=netSnmpHostStorage, nsIETFWGChair2=nsIETFWGChair2, nsIETFWGChair1=nsIETFWGChair1, netSnmpHostRowStatus=netSnmpHostRowStatus, netSnmpExampleInteger=netSnmpExampleInteger, nsIETFWGName=nsIETFWGName, netSnmpHostsTable=netSnmpHostsTable, netSnmpExampleScalars=netSnmpExampleScalars, netSnmpExampleHeartbeatName=netSnmpExampleHeartbeatName, netSnmpHostName=netSnmpHostName, netSnmpExampleNotificationObjects=netSnmpExampleNotificationObjects, netSnmpExampleHeartbeatNotification=netSnmpExampleHeartbeatNotification, netSnmpHostsEntry=netSnmpHostsEntry, netSnmpExampleHeartbeatRate=netSnmpExampleHeartbeatRate, netSnmpExampleNotificationPrefix=netSnmpExampleNotificationPrefix, netSnmpExamples=netSnmpExamples, netSnmpExampleNotifications=netSnmpExampleNotifications, netSnmpHostAddressType=netSnmpHostAddressType, netSnmpExampleTables=netSnmpExampleTables, netSnmpExampleNotification=netSnmpExampleNotification, netSnmpHostAddress=netSnmpHostAddress)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_range_constraint, constraints_union, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection')
(inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType')
(net_snmp,) = mibBuilder.importSymbols('NET-SNMP-MIB', 'netSnmp')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(counter32, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, mib_identifier, time_ticks, module_identity, counter64, notification_type, object_identity, ip_address, gauge32, unsigned32, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'MibIdentifier', 'TimeTicks', 'ModuleIdentity', 'Counter64', 'NotificationType', 'ObjectIdentity', 'IpAddress', 'Gauge32', 'Unsigned32', 'Bits')
(storage_type, display_string, textual_convention, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'StorageType', 'DisplayString', 'TextualConvention', 'RowStatus')
net_snmp_examples = module_identity((1, 3, 6, 1, 4, 1, 8072, 2))
netSnmpExamples.setRevisions(('2004-06-15 00:00', '2002-02-06 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
netSnmpExamples.setRevisionsDescriptions(('Corrected notification example definitions', 'First draft'))
if mibBuilder.loadTexts:
netSnmpExamples.setLastUpdated('200406150000Z')
if mibBuilder.loadTexts:
netSnmpExamples.setOrganization('www.net-snmp.org')
if mibBuilder.loadTexts:
netSnmpExamples.setContactInfo('postal: Wes Hardaker P.O. Box 382 Davis CA 95617 email: net-snmp-coders@lists.sourceforge.net')
if mibBuilder.loadTexts:
netSnmpExamples.setDescription('Example MIB objects for agent module example implementations')
net_snmp_example_scalars = mib_identifier((1, 3, 6, 1, 4, 1, 8072, 2, 1))
net_snmp_example_tables = mib_identifier((1, 3, 6, 1, 4, 1, 8072, 2, 2))
net_snmp_example_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 8072, 2, 3))
net_snmp_example_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 8072, 2, 3, 0))
net_snmp_example_notification_objects = mib_identifier((1, 3, 6, 1, 4, 1, 8072, 2, 3, 2))
net_snmp_example_integer = mib_scalar((1, 3, 6, 1, 4, 1, 8072, 2, 1, 1), integer32().clone(42)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
netSnmpExampleInteger.setStatus('current')
if mibBuilder.loadTexts:
netSnmpExampleInteger.setDescription("This is a simple object which merely houses a writable integer. It's only purposes is to hold the value of a single integer. Writing to it will simply change the value for subsequent GET/GETNEXT/GETBULK retrievals. This example object is implemented in the agent/mibgroup/examples/scalar_int.c file.")
net_snmp_example_sleeper = mib_scalar((1, 3, 6, 1, 4, 1, 8072, 2, 1, 2), integer32().clone(1)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
netSnmpExampleSleeper.setStatus('current')
if mibBuilder.loadTexts:
netSnmpExampleSleeper.setDescription("This is a simple object which is a basic integer. It's value indicates the number of seconds that the agent will take in responding to requests of this object. This is implemented in a way which will allow the agent to keep responding to other requests while access to this object is blocked. It is writable, and changing it's value will change the amount of time the agent will effectively wait for before returning a response when this object is manipulated. Note that SET requests through this object will take longer, since the delay is applied to each internal transaction phase, which could result in delays of up to 4 times the value of this object. This example object is implemented in the agent/mibgroup/examples/delayed_instance.c file.")
net_snmp_example_string = mib_scalar((1, 3, 6, 1, 4, 1, 8072, 2, 1, 3), snmp_admin_string().clone('So long, and thanks for all the fish!')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
netSnmpExampleString.setStatus('current')
if mibBuilder.loadTexts:
netSnmpExampleString.setDescription("This is a simple object which merely houses a writable string. It's only purposes is to hold the value of a single string. Writing to it will simply change the value for subsequent GET/GETNEXT/GETBULK retrievals. This example object is implemented in the agent/mibgroup/examples/watched.c file.")
net_snmp_ietfwg_table = mib_table((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1))
if mibBuilder.loadTexts:
netSnmpIETFWGTable.setStatus('current')
if mibBuilder.loadTexts:
netSnmpIETFWGTable.setDescription('This table merely contains a set of data which is otherwise useless for true network management. It is a table which describes properies about a IETF Working Group, such as the names of the two working group chairs. This example table is implemented in the agent/mibgroup/examples/data_set.c file.')
net_snmp_ietfwg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1)).setIndexNames((0, 'NET-SNMP-EXAMPLES-MIB', 'nsIETFWGName'))
if mibBuilder.loadTexts:
netSnmpIETFWGEntry.setStatus('current')
if mibBuilder.loadTexts:
netSnmpIETFWGEntry.setDescription('A row describing a given working group')
ns_ietfwg_name = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 32)))
if mibBuilder.loadTexts:
nsIETFWGName.setStatus('current')
if mibBuilder.loadTexts:
nsIETFWGName.setDescription('The name of the IETF Working Group this table describes.')
ns_ietfwg_chair1 = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1, 2), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
nsIETFWGChair1.setStatus('current')
if mibBuilder.loadTexts:
nsIETFWGChair1.setDescription('One of the names of the chairs for the IETF working group.')
ns_ietfwg_chair2 = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 1, 1, 3), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
nsIETFWGChair2.setStatus('current')
if mibBuilder.loadTexts:
nsIETFWGChair2.setDescription('The other name, if one exists, of the chairs for the IETF working group.')
net_snmp_hosts_table = mib_table((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2))
if mibBuilder.loadTexts:
netSnmpHostsTable.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostsTable.setDescription('An example table that implements a wrapper around the /etc/hosts file on a machine using the iterator helper API.')
net_snmp_hosts_entry = mib_table_row((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1)).setIndexNames((0, 'NET-SNMP-EXAMPLES-MIB', 'netSnmpHostName'))
if mibBuilder.loadTexts:
netSnmpHostsEntry.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostsEntry.setDescription('A host name mapped to an ip address')
net_snmp_host_name = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64)))
if mibBuilder.loadTexts:
netSnmpHostName.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostName.setDescription('A host name that exists in the /etc/hosts (unix) file.')
net_snmp_host_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 2), inet_address_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netSnmpHostAddressType.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostAddressType.setDescription('The address type of then given host.')
net_snmp_host_address = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 3), inet_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netSnmpHostAddress.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostAddress.setDescription('The address of then given host.')
net_snmp_host_storage = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 4), storage_type().clone('nonVolatile')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netSnmpHostStorage.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostStorage.setDescription('The storage type for this conceptual row.')
net_snmp_host_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 8072, 2, 2, 2, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netSnmpHostRowStatus.setStatus('current')
if mibBuilder.loadTexts:
netSnmpHostRowStatus.setDescription('The status of this conceptual row.')
net_snmp_example_heartbeat_rate = mib_scalar((1, 3, 6, 1, 4, 1, 8072, 2, 3, 2, 1), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
netSnmpExampleHeartbeatRate.setStatus('current')
if mibBuilder.loadTexts:
netSnmpExampleHeartbeatRate.setDescription('A simple integer object, to act as a payload for the netSnmpExampleHeartbeatNotification. The value has no real meaning, but is nominally the interval (in seconds) between successive heartbeat notifications.')
net_snmp_example_heartbeat_name = mib_scalar((1, 3, 6, 1, 4, 1, 8072, 2, 3, 2, 2), snmp_admin_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
netSnmpExampleHeartbeatName.setStatus('current')
if mibBuilder.loadTexts:
netSnmpExampleHeartbeatName.setDescription("A simple string object, to act as an optional payload for the netSnmpExampleHeartbeatNotification. This varbind is not part of the notification definition, so is optional and need not be included in the notification payload. The value has no real meaning, but the romantically inclined may take it to be the object of the sender's affection, and hence the cause of the heart beating faster.")
net_snmp_example_heartbeat_notification = notification_type((1, 3, 6, 1, 4, 1, 8072, 2, 3, 0, 1)).setObjects(('NET-SNMP-EXAMPLES-MIB', 'netSnmpExampleHeartbeatRate'))
if mibBuilder.loadTexts:
netSnmpExampleHeartbeatNotification.setStatus('current')
if mibBuilder.loadTexts:
netSnmpExampleHeartbeatNotification.setDescription('An example notification, used to illustrate the definition and generation of trap and inform PDUs (including the use of both standard and additional varbinds in the notification payload). This notification will typically be sent every 30 seconds, using the code found in the example module agent/mibgroup/examples/notification.c')
net_snmp_example_notification = mib_scalar((1, 3, 6, 1, 4, 1, 8072, 2, 3, 1), snmp_admin_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
netSnmpExampleNotification.setStatus('obsolete')
if mibBuilder.loadTexts:
netSnmpExampleNotification.setDescription('This object was improperly defined for its original purpose, and should no longer be used.')
mibBuilder.exportSymbols('NET-SNMP-EXAMPLES-MIB', netSnmpExampleString=netSnmpExampleString, netSnmpIETFWGEntry=netSnmpIETFWGEntry, netSnmpExampleSleeper=netSnmpExampleSleeper, netSnmpIETFWGTable=netSnmpIETFWGTable, PYSNMP_MODULE_ID=netSnmpExamples, netSnmpHostStorage=netSnmpHostStorage, nsIETFWGChair2=nsIETFWGChair2, nsIETFWGChair1=nsIETFWGChair1, netSnmpHostRowStatus=netSnmpHostRowStatus, netSnmpExampleInteger=netSnmpExampleInteger, nsIETFWGName=nsIETFWGName, netSnmpHostsTable=netSnmpHostsTable, netSnmpExampleScalars=netSnmpExampleScalars, netSnmpExampleHeartbeatName=netSnmpExampleHeartbeatName, netSnmpHostName=netSnmpHostName, netSnmpExampleNotificationObjects=netSnmpExampleNotificationObjects, netSnmpExampleHeartbeatNotification=netSnmpExampleHeartbeatNotification, netSnmpHostsEntry=netSnmpHostsEntry, netSnmpExampleHeartbeatRate=netSnmpExampleHeartbeatRate, netSnmpExampleNotificationPrefix=netSnmpExampleNotificationPrefix, netSnmpExamples=netSnmpExamples, netSnmpExampleNotifications=netSnmpExampleNotifications, netSnmpHostAddressType=netSnmpHostAddressType, netSnmpExampleTables=netSnmpExampleTables, netSnmpExampleNotification=netSnmpExampleNotification, netSnmpHostAddress=netSnmpHostAddress) |
class Led:
def __init__(self, devpath, brightness):
self.devpath = devpath
self.brightness = brightness
def __del__(self):
self.set_brightness(0)
def set_brightness(self, brightness):
f = open(self.devpath, "w")
f.write("%d\n" % brightness)
f.close();
self.brightness = brightness
| class Led:
def __init__(self, devpath, brightness):
self.devpath = devpath
self.brightness = brightness
def __del__(self):
self.set_brightness(0)
def set_brightness(self, brightness):
f = open(self.devpath, 'w')
f.write('%d\n' % brightness)
f.close()
self.brightness = brightness |
#!/usr/bin/env python3
def transform(s1, s2):
first_list = map(int, s1.split())
second_list = map(int, s2.split())
zipped = list(zip(first_list, second_list))
final_list = [a * b for a, b in zipped]
return final_list
def main():
s1 = "1 51 12 4"
s2 = "4 6 99 2"
print(transform(s1, s2))
if __name__ == "__main__":
main()
| def transform(s1, s2):
first_list = map(int, s1.split())
second_list = map(int, s2.split())
zipped = list(zip(first_list, second_list))
final_list = [a * b for (a, b) in zipped]
return final_list
def main():
s1 = '1 51 12 4'
s2 = '4 6 99 2'
print(transform(s1, s2))
if __name__ == '__main__':
main() |
def gradingStudents(calificaciones):
for i in range(len(calificaciones)):
if calificaciones[i] > 40:
redondeo = int(calificaciones[i] / 5 + 1)
if redondeo * 5 - calificaciones[i] < 3:
calificaciones[i] = redondeo * 5
print(calificaciones)
continuar = False
while True:
notas = input("Escriba las calificaciones separadas por espacios: ")
lista_notas = notas.split()
try:
for i in range(len(lista_notas)):
lista_notas[i] = int(lista_notas[i])
except:
pass
else:
for i in range(len(lista_notas)):
if lista_notas[i] < 0 or lista_notas[i] > 100:
continuar = True
break
if continuar == True:
pass
else:
break
gradingStudents(lista_notas) | def grading_students(calificaciones):
for i in range(len(calificaciones)):
if calificaciones[i] > 40:
redondeo = int(calificaciones[i] / 5 + 1)
if redondeo * 5 - calificaciones[i] < 3:
calificaciones[i] = redondeo * 5
print(calificaciones)
continuar = False
while True:
notas = input('Escriba las calificaciones separadas por espacios: ')
lista_notas = notas.split()
try:
for i in range(len(lista_notas)):
lista_notas[i] = int(lista_notas[i])
except:
pass
else:
for i in range(len(lista_notas)):
if lista_notas[i] < 0 or lista_notas[i] > 100:
continuar = True
break
if continuar == True:
pass
else:
break
grading_students(lista_notas) |
'''
Author: your name
Date: 2021-01-27 08:45:44
LastEditTime: 2021-02-08 12:02:54
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /mmdetection/configs/_base_/default_runtime.py
'''
checkpoint_config = dict(interval=1)
# yapf:disable
log_config = dict(
interval=50,
hooks=[
dict(type='TextLoggerHook'),
# dict(type='TensorboardLoggerHook')
])
# yapf:enable
dist_params = dict(backend='nccl')
log_level = 'INFO'
# load_from = None
load_from = '/data_raid5_21T/zgh/ZGh/mmdetection/weights/num9/cascade_rcnn_x101_64x4d_fpn_20e_coco_20200509_coco_pretrained_weights_classes_9.pth'
resume_from = None
workflow = [('train', 1)]
# work_dir = '/data_raid5_21T/zgh/ZGh/work_dirs/cascade_r2_1'
# gpu_ids = range(4)
| """
Author: your name
Date: 2021-01-27 08:45:44
LastEditTime: 2021-02-08 12:02:54
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /mmdetection/configs/_base_/default_runtime.py
"""
checkpoint_config = dict(interval=1)
log_config = dict(interval=50, hooks=[dict(type='TextLoggerHook')])
dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = '/data_raid5_21T/zgh/ZGh/mmdetection/weights/num9/cascade_rcnn_x101_64x4d_fpn_20e_coco_20200509_coco_pretrained_weights_classes_9.pth'
resume_from = None
workflow = [('train', 1)] |
print("hello Dodger fans")
print("I know you haven't won a world series in a while")
print("but the rest of the NL West fans don't care")
print("Go Brewers!")
print("Even though you beat the Rockies")
| print('hello Dodger fans')
print("I know you haven't won a world series in a while")
print("but the rest of the NL West fans don't care")
print('Go Brewers!')
print('Even though you beat the Rockies') |
## Example #1
print("\n\n")
print("*" * 80)
print("Example #1")
print("*" * 80)
up = True
down = True
if up:
print("Going Up!")
elif down:
print("Going Down!")
elif up and down:
print("Going No Where!!!")
else:
print("Error!")
## Example #2
# print("\n\n")
# print("*" * 80)
# print("Example #2")
# print("*" * 80)
# up = True
# down = True
# if up == True:
# print("Going Up!")
# elif down == True:
# print("Going Down!")
# else:
# print("Going No Where!!!")
# ## Example #3
# print("\n\n")
# print("*" * 80)
# print("Example #3")
# print("*" * 80)
# for num in range(5):
# print(num)
# ## Example #4
# print("\n\n")
# print("*" * 80)
# print("Example #4")
# print("*" * 80)
# list = [2, 4, 6, 8, 10]
# print(list[0])
| print('\n\n')
print('*' * 80)
print('Example #1')
print('*' * 80)
up = True
down = True
if up:
print('Going Up!')
elif down:
print('Going Down!')
elif up and down:
print('Going No Where!!!')
else:
print('Error!') |
class Solution:
def fib(self, N: int) -> int:
if N==0:
return 0
if N==1:
return 1
dp=[0]*N
dp[0]=1
dp[1]=1
for i in range(2,N):
dp[i]=dp[i-1]+dp[i-2]
return dp[N-1]
| class Solution:
def fib(self, N: int) -> int:
if N == 0:
return 0
if N == 1:
return 1
dp = [0] * N
dp[0] = 1
dp[1] = 1
for i in range(2, N):
dp[i] = dp[i - 1] + dp[i - 2]
return dp[N - 1] |
w=int(input())
if w>2:
if w%2==0:
print("YES")
else:
print("NO")
else:
print("NO")
| w = int(input())
if w > 2:
if w % 2 == 0:
print('YES')
else:
print('NO')
else:
print('NO') |
#
# PySNMP MIB module ODSLANBlazer7000-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ODSLANBlazer7000-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:32:20 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
ModuleIdentity, TimeTicks, enterprises, iso, Integer32, ObjectIdentity, Bits, Counter64, Gauge32, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, NotificationType, IpAddress, NotificationType, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "TimeTicks", "enterprises", "iso", "Integer32", "ObjectIdentity", "Bits", "Counter64", "Gauge32", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "NotificationType", "IpAddress", "NotificationType", "Unsigned32")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
class EventValueType(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))
namedValues = NamedValues(("none", 1), ("integer", 2), ("longInteger", 3), ("string", 4), ("octets", 5), ("ipAddress", 6), ("macAddress", 7), ("timeTicks", 8))
class ResourceType(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))
namedValues = NamedValues(("system", 1), ("module", 2), ("fan", 3), ("temperatureSensor", 4), ("interface", 5), ("powerSupply", 6), ("display", 7), ("switchPort", 8), ("bridge", 9), ("vlan", 10), ("aft", 11), ("inboundGroupTable", 12), ("outboundGroupTable", 13), ("threeComMappingTable", 14), ("event", 15), ("alarm", 16))
class ResourceId(ObjectIdentifier):
pass
class DisplayString(OctetString):
pass
class RowStatus(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))
namedValues = NamedValues(("active", 1), ("notInService", 2), ("notReady", 3), ("createAndGo", 4), ("createAndWait", 5), ("destroy", 6))
class MacAddress(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(6, 6)
fixedLength = 6
class BridgeId(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8)
fixedLength = 8
class Timeout(Integer32):
pass
class EventCategory(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))
namedValues = NamedValues(("userDefined", 1), ("coldstart", 2), ("warmstart", 3), ("linkUp", 4), ("linkDown", 5), ("newResource", 6), ("deletedResource", 7), ("tempStatus", 8), ("configuration", 9), ("scheduled", 10), ("authentication", 11), ("system", 12), ("risingThreshold", 13), ("fallingThreshold", 14), ("fanStatus", 15), ("powerStatus", 16), ("status", 17), ("bridgeNewRoot", 18), ("bridgeTopChange", 19), ("switchFabricStatus", 20))
ods = MibIdentifier((1, 3, 6, 1, 4, 1, 50))
odsTPS = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8))
odsLANBlazer = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1))
odsLANBlazerMibs = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2))
odsLANBlazer7000Mib = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1))
lanBlazer7000Agent = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1))
lanBlazer7000AgentGen = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 1))
lanBlazer7000AgentMIBVersion = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000AgentMIBVersion.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000AgentMIBVersion.setDescription('The version of the LANBlazer 700 Enterprise Specific MIB that this agent supports.')
lanBlazer7000AgentMgrIndex = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000AgentMgrIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000AgentMgrIndex.setDescription('The value of this object represents the index into the community table that is used to authenticate SNMP requests for this manager.')
lanBlazer7000AgentCommunity = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2))
lanBlazer7000CommunityTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000CommunityTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityTable.setDescription('')
lanBlazer7000CommunityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000CommunityIndex"))
if mibBuilder.loadTexts: lanBlazer7000CommunityEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityEntry.setDescription('')
lanBlazer7000CommunityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000CommunityIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityIndex.setDescription('An index that uniquely identifies this entry.')
lanBlazer7000CommunityString = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunityString.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityString.setDescription('The community string included in the SNMP PDU used for authentication purposes.')
lanBlazer7000CommunityAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("any", 1), ("ipv4", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunityAddressType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityAddressType.setDescription('The type of address associated with this community. If set to any(1), only the community string is authenticated.')
lanBlazer7000CommunityAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunityAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityAddress.setDescription('If the address type is any, then the value of this object is a null string. If the type is ipv4(2), then this value represents a 4 byte IP address.')
lanBlazer7000CommunityAccess = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("readOnly", 2), ("readWrite", 3), ("moreSpecific", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunityAccess.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityAccess.setDescription('The MIB access supported for this community entry. A Get or GetNext SNMP PDU is authenticated if the value of this object is read-only(2) or read-write(3). A Set request will be honored if the value of this object is read-write(3). If more granular access control is desired, then the value of this object is set to more-specific(4), and the view table should be consulted. This enables the capability to set different access rights to different branches of the MIB for a particular community. ')
lanBlazer7000CommunityTrapReceiver = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunityTrapReceiver.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityTrapReceiver.setDescription('If set to enable(1), this community entry is considered a trap receiver. When the agent generates an SNMP trap, a copy will be sent to this host using this community string.')
lanBlazer7000CommunitySecurityLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("administrator", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunitySecurityLevel.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunitySecurityLevel.setDescription('Secure tables are only accessible from users with security clearance. For example, this table (the community table) is only accessible by parties that have the security clearance.')
lanBlazer7000CommunityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 8), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000CommunityStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000CommunityStatus.setDescription('')
lanBlazer7000AgentWeb = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 3))
lanBlazer7000AgentWebServerURL = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 3, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000AgentWebServerURL.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000AgentWebServerURL.setDescription("The URL of where the document server software is installed. The switch uses this location to find online help and bimapped graphics. Enter the host name or IP address of the HTTP server at the HTTP Server Location prompt, followed by ':2010'. For example, for a host named 'phantom,', enter 'http://phantom:2010'. If no server is desired or installed, set this object to the empty string.")
lanBlazer7000AgentWebServerHelpDirectory = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 3, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000AgentWebServerHelpDirectory.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000AgentWebServerHelpDirectory.setDescription("The subdirectory that contains the help files on the document server. Typically, this directory is 'help'.")
lanBlazer7000Chassis = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3))
lanBlazer7000ChassisGen = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 1))
lanBlazer7000ChassisType = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("p550", 1), ("p220", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ChassisType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ChassisType.setDescription('The model of the chassis that this agent is managing.')
lanBlazer7000ChassisSlots = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ChassisSlots.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ChassisSlots.setDescription('The number of slots available in this chassis. If this chassis is a stackable chassis, the total capacity of stacking units.')
lanBlazer7000Inventory = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2))
lanBlazer7000InventoryTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000InventoryTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryTable.setDescription('A table of inventory information.')
lanBlazer7000InventoryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000InventoryResourceType"), (0, "ODSLANBlazer7000-MIB", "lanBlazer7000InventoryResourceIndex"))
if mibBuilder.loadTexts: lanBlazer7000InventoryEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryEntry.setDescription('Inventory information related to this device.')
lanBlazer7000InventoryResourceType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 1), ResourceType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000InventoryResourceType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryResourceType.setDescription('The resource class of this inventory item.')
lanBlazer7000InventoryResourceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 2), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000InventoryResourceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryResourceIndex.setDescription('The resource identifier of this inventory item.')
lanBlazer7000InventoryModelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000InventoryModelNumber.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryModelNumber.setDescription('The model number of this device.')
lanBlazer7000InventorySerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000InventorySerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventorySerialNumber.setDescription('The serial number of this device.')
lanBlazer7000InventoryVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000InventoryVersion.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryVersion.setDescription('The revision number of this device.')
lanBlazer7000InventoryManufactureInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000InventoryManufactureInfo.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryManufactureInfo.setDescription('Information related to the manufacturing of this device.')
lanBlazer7000InventoryScratchPad = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000InventoryScratchPad.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000InventoryScratchPad.setDescription('A scratch pad area available for keeping user-supplied inventory information. ')
lanBlazer7000PowerSystems = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3))
lanBlazer7000PowerSupplies = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1))
lanBlazer7000PowerSupplyTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1), )
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyTable.setDescription('A table of information related to each power supply in the system.')
lanBlazer7000PowerSupplyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PowerSupplyIndex"))
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyEntry.setDescription('An entry providing information about a particular power supply in the system.')
lanBlazer7000PowerSupplyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyIndex.setDescription('An index that uniquely identifies this power supply. This index corresponds to the lanBlazer7000ResourceIndex of the power supply type resource.')
lanBlazer7000PowerSupplyType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("psA", 2), ("psB", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyType.setDescription('An enumerated integer describing the type of power supply. ')
lanBlazer7000PowerSupplyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("okay", 1), ("faulty", 2), ("unknown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyStatus.setDescription('The status of this power supply. Okay(1) indicates the power supply is operating properly. Faulty(2) indicates that the power supply is not functioning properly. In this case, more information can be determined from the other power supply attributes.')
lanBlazer7000PowerSupplyInputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("okay", 1), ("faulty", 2), ("unknown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyInputStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyInputStatus.setDescription('The status of the input power feed (e.g. the AC power cord) to this power supply.')
lanBlazer7000PowerSupplyOutputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("okay", 1), ("faulty", 2), ("unknown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyOutputStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyOutputStatus.setDescription('The status of the output power from this power supply.')
lanBlazer7000PowerSupplyOutputCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyOutputCapacity.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerSupplyOutputCapacity.setDescription('The total capacity of power supplied by this supply in Watts.')
lanBlazer7000PowerMgmtGen = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 2))
lanBlazer7000PowerCapacity = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 2, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerCapacity.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerCapacity.setDescription('The total capacity (in Watts) of power available (currently) in the system.')
lanBlazer7000PowerUsed = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 2, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerUsed.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerUsed.setDescription('The total power (in Watts) currently being consumed in the system.')
lanBlazer7000PowerMgmtCtl = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3))
lanBlazer7000PowerControlTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1), )
if mibBuilder.loadTexts: lanBlazer7000PowerControlTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerControlTable.setDescription('This table manages the power attributes associated with each module.')
lanBlazer7000PowerControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000ModuleIndex"))
if mibBuilder.loadTexts: lanBlazer7000PowerControlEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerControlEntry.setDescription('An entry in the power control table manages the power attributes of the specified module.')
lanBlazer7000PowerControlUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PowerControlUsed.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerControlUsed.setDescription('The total power (in Watts) used by this module.')
lanBlazer7000PowerControlPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("high", 1), ("normal", 2), ("low", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PowerControlPriority.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerControlPriority.setDescription('The priority of this module to be considered in the event of a power supply failure where the amount of power used exceeds the system capacity. Low priority modules will be powered down before higher priority modules.')
lanBlazer7000PowerControlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("poweredDown", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PowerControlMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PowerControlMode.setDescription('Normally, a module power mode is enable(1). In the event of a power supply failure resulting in a power shortage, or in the event of this module being inserted without enough available power, the mode will be poweredDown(3). Setting this object to the value of poweredDown(3) will result in an error. When enough power is available, the module will power back up when in this mode. A module may be powered down through administrative action by setting the value of this object to disable(2). In this mode, the module will remain powered down until the mode is set back to enable.')
lanBlazer7000Temperature = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4))
lanBlazer7000TempTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1), )
if mibBuilder.loadTexts: lanBlazer7000TempTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempTable.setDescription('A table of information related to the temperature within the system.')
lanBlazer7000TempEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000TempIndex"))
if mibBuilder.loadTexts: lanBlazer7000TempEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempEntry.setDescription('An entry providing temperature information related to a specific temperature probe in the system.')
lanBlazer7000TempIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000TempIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempIndex.setDescription('A unique index that identifies this temperature probe. This index corresponds to the lanBlazer7000ResourceIndex for temperature probe type resources.')
lanBlazer7000TempValue = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000TempValue.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempValue.setDescription('The current temperature reading of this temperature probe in degrees Celsius.')
lanBlazer7000TempUpperLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000TempUpperLimit.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempUpperLimit.setDescription('The upper temperature limit of this temperature probe in degrees Celsius.')
lanBlazer7000TempUpperWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000TempUpperWarning.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempUpperWarning.setDescription('The upper temperature warning of this temperature probe in degrees Celsius.')
lanBlazer7000TempLowerWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000TempLowerWarning.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempLowerWarning.setDescription('The lower temperature warning of this temperature probe in degrees Celsius.')
lanBlazer7000TempLowerLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000TempLowerLimit.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000TempLowerLimit.setDescription('The lower temperature limit of this temperature probe in degrees Celsius.')
lanBlazer7000Modules = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5))
lanBlazer7000ModuleTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1), )
if mibBuilder.loadTexts: lanBlazer7000ModuleTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleTable.setDescription('A table of information related to the modules in the system.')
lanBlazer7000ModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000ModuleIndex"))
if mibBuilder.loadTexts: lanBlazer7000ModuleEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleEntry.setDescription('Attributes related to managing this module.')
lanBlazer7000ModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ModuleIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleIndex.setDescription('An index that uniquely identifies this module. This index corresponds to the lanBlazer7000ResourceIndex associated with module type resources.')
lanBlazer7000ModuleName = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000ModuleName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleName.setDescription('A user-assignable name for this module.')
lanBlazer7000ModuleType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("unknown", 1), ("m5502-1000", 2), ("m2206-1000", 3), ("m5520-100TX-QS", 4), ("m5510-100FX", 5), ("m5500-SUP", 6), ("m5504-1000", 7), ("m2201-1000", 8), ("m5520-100TX-I", 9), ("m2202-100FX", 10), ("m5510R-100FX", 11), ("m5512R-100TX", 12), ("m5500R-SUP", 13), ("m5502R-1000", 14), ("m2200-SUP", 15), ("m2204-100TX", 16), ("m2224-100TX", 17)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ModuleType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleType.setDescription('An enumerated integer that is unique for each module model. ')
lanBlazer7000ModuleBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("gigabit", 1), ("fastEthernet", 2), ("supervisor", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ModuleBaseType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleBaseType.setDescription('The base type of this module. This object is used to describe the core functions of the module. Often, base designs are derived into multiple module types which are typically just packaging variations (e.g. changing the connector types). The value of this object corresponds to the value of lanBlazer7000ResourceBaseType.')
lanBlazer7000ModuleSlotWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ModuleSlotWidth.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleSlotWidth.setDescription('The number of slots that this module occupies.')
lanBlazer7000ModuleSlotOffset = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ModuleSlotOffset.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModuleSlotOffset.setDescription('The slot offset (one based) that identifies, along with the slot width and slot location, the actual slots that this module occupies. The offset identifies which slot within the width of the module that this module reports as its slot number.')
lanBlazer7000ModulePorts = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ModulePorts.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ModulePorts.setDescription('The total number of ports associated with this module.')
lanBlazer7000Ports = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6))
lanBlazer7000PortMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1))
lanBlazer7000PortTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortTable.setDescription('A table of information related to every data port in this data networking system.')
lanBlazer7000PortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortEntry.setDescription('A data port associated with this data networking system.')
lanBlazer7000PortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortIndex.setDescription('An index that uniquely identifies this port. Typically, ports are child resources of the module that contains them. In these cases, ports are identified by their module and their relative physical position on that module.')
lanBlazer7000PortName = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortName.setDescription('The user-assigned name for this port. Note that setting this object for an internal(1) port results in an error.')
lanBlazer7000PortType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("internal", 1), ("ether-ten-oneHundred", 2), ("ether-oneHundred", 3), ("ether-gigabit", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortType.setDescription('An internal(1) port does not have an external connection. An ether-ten-oneHundred(2) port is an Ethernet port which can be switched between 10 and 100 megabits per second. An ether-oneHundred(3) port is a 100 megabits per second Fast Ethernet port. An ether-gigabit(4) port is a 1000 megabits per second Gigabit Ethernet port.')
lanBlazer7000PortBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("internal", 1), ("ether-ten-oneHundred", 2), ("ether-oneHundred", 3), ("ether-gigabit", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortBaseType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortBaseType.setDescription('The base type of this port. This object may be useful to help manage new port types that are similar in nature to legacy port types.')
lanBlazer7000PortMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMode.setDescription('The mode of this port. When set to enable(1), this port passes data. When set to disable(2), the port does not receive or transmit data, nor does it generate port-level signaling e.g. link integrity pulses. Note that setting an internal(1) port to disable(2) results in an error.')
lanBlazer7000PortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("disabled", 1), ("okay", 2), ("warning", 3), ("disabledButOkay", 4), ("linkFailure", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortStatus.setDescription('The status of this port. Disabled(1) means that this port has been disabled through management action. Okay(2) indicates that this port is operating properly. Warning(3) indicates that this port is encountering an abnormal condition that, however, allows it to continue to pass data. LinkFailure(5) means that this port is unable to pass data.')
lanBlazer7000PortConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("internal", 1), ("rj45", 2), ("fiber-ST", 3), ("fiber-SC", 4), ("rs-232", 5), ("aui", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortConnector.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortConnector.setDescription('The connector type associated with this port.')
lanBlazer7000PortSpeedState = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ten-megabits-per-second", 1), ("one-hundred-megabits-per-second", 2), ("one-gigabit-per-second", 3), ("under-negotiation", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortSpeedState.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortSpeedState.setDescription("The data rate of this port in bits per second. For example, a standard Ethernet port (e.g. 10BASE-T) would indicate a value of ten-megabits-per-second((1) indicating that the port supports a data rate of 10Mb/s. For ports that can change their data rate (e.g. 10/100 ports), the value of this object indicates the current state of the port's speed capability.")
lanBlazer7000PortDuplexState = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("half-duplex", 1), ("full-duplex", 2), ("under-negotiation", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortDuplexState.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortDuplexState.setDescription('The value of this object indicates whether this port is operating in full- or half-duplex mode. The value under-negotiation(3) indicates that the port has not selected an operational duplex setting yet.')
lanBlazer7000PortGroupBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 10), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortGroupBinding.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortGroupBinding.setDescription('Each port is associated with a port group. Typically, a port will belong to a port group of one and the value of this object will be the same as the port index for this instance. That is, this port will point to itself. The intent of this object is to help manage ports that have hierarchical relationships. For example, an ATM port typically has a physical port and multiple logical ports (e.g. each logical port corresponding to an instance of an emulated LAN). In this case, each LANE instance would refer to the instance of the physical port associated with the ATM front-end. Another example is an FDDI DAS type port. In this case, there is a logical port associated with the FDDI switch port which is connected to the two FDDI physical port connectors. The physical FDDI ports both point to the logical instance of an FDDI port.')
lanBlazer7000PortFlowControlMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2))
lanBlazer7000PortFlowControlTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortFlowControlTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortFlowControlTable.setDescription('A table of ports that support flow control.')
lanBlazer7000PortFlowControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortFlowControlEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortFlowControlEntry.setDescription('Configuration objects related to port based flow control.')
lanBlazer7000PortFlowControlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("enable-with-aggressive-backoff", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortFlowControlMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortFlowControlMode.setDescription('Flow control is used to prevent or reduce the dropping of frames due to the lack of buffer space. Overall, networks are more efficient when a sending station is asked to pause in its sending process, rather than having the transmitted frames dropped. Flow control is not as efficient when used in conjunction with a shared ports, i.e. when used with a repeater. Therefore, flow control is not recommended for a port connected to shared topologies. Flow control is most effective when the port is directly connected to an end-station, especially when connected to a server. Flow control is recommended for ports connected directly to end-stations. When the port is in half-duplex mode, back pressure is used to control the incoming flow. Back pressure essentially forces collisions for short periods of time. When the port is in full-duplex mode, IEEE 802.3 standard pause frames are used to control the incoming flow. Note that setting an ether-gigabit(4) port to enable-with-aggressive-backoff(3) results in an error.')
lanBlazer7000PortDuplexMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3))
lanBlazer7000PortDuplexTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortDuplexTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortDuplexTable.setDescription('A table of ports that support full- and half-duplex data communications.')
lanBlazer7000PortDuplexEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortDuplexEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortDuplexEntry.setDescription('A port device configuration that controls the duplex mode of this port.')
lanBlazer7000PortDuplexMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("half-duplex", 1), ("full-duplex", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortDuplexMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortDuplexMode.setDescription('A point-to-point Ethernet port may be configured to support half or full duplex communications. A full-duplex(2) port transmits and receives data concurrently, effectively doubling the data rate of the port. Half-duplex(1) ports transmit or receive data, but not at the same time. Half-duplex ports use CSMA/CD as the access method to the network. Ports that are connected to shared segments (i.e. connected to a repeater), should always be configured to be in half-duplex mode. This object indicates the desired duplexity of this port. If auto-negotiation is turned on for this port, then this value is ignored.')
lanBlazer7000PortSpeedMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4))
lanBlazer7000PortSpeedTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortSpeedTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortSpeedTable.setDescription('A table of port devices that support multiple speeds.')
lanBlazer7000PortSpeedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortSpeedEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortSpeedEntry.setDescription('A port that supports multiple speeds.')
lanBlazer7000PortSpeedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4, 1, 1, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ten-megabits-per-second", 1), ("one-hundred-megabits-per-second", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortSpeedMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortSpeedMode.setDescription('Some of these values may not be applicable to certain types of ports. This object indicates the desired data rate of this port. If auto-negotiation is turned on for this port, then this value is ignored.')
lanBlazer7000PortAutoNegotiationMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5))
lanBlazer7000PortAutoNegotiationTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationTable.setDescription('A table of ports that support auto-negotiation.')
lanBlazer7000PortAutoNegotiationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationEntry.setDescription('Attributes associated with a port that supports auto-negotiation.')
lanBlazer7000PortAutoNegotiationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("autoNegotiate", 1), ("manualConfiguration", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationMode.setDescription("Setting this object to autoNegotiate(1) causes this port to negotiate the duplex mode and the port speed, subject to the port's capabilities.")
lanBlazer7000PortAutoNegotiationSpeedAdvertisement = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ten-and-one-hundred-megabits-per-second", 1), ("one-hundred-megabits-per-second", 2), ("ten-megabits-per-second", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationSpeedAdvertisement.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationSpeedAdvertisement.setDescription('The speed to advertise while auto-negotiating.')
lanBlazer7000PortAutoNegotiationDuplexAdvertisement = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("full-and-half-duplex", 1), ("half-duplex", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationDuplexAdvertisement.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortAutoNegotiationDuplexAdvertisement.setDescription('The duplexity to advertise while auto-negotiating.')
lanBlazer7000PortRateLimitMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6))
lanBlazer7000PortRateLimitTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitTable.setDescription('A table of ports that support the ability to limit the rate of floods.')
lanBlazer7000PortRateLimitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitEntry.setDescription('The rate limit configuration associated with this port.')
lanBlazer7000PortRateLimitMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("enableIncludeKnownMulticast", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitMode.setDescription('This object configures whether rate limiting is enabled for this port (the factory default is enable(1)). Enabling rate limiting for this port prevents floods from overwhelming the output buffer associated with this port. Normally, rate limiting will only consider frames that are flooded to this port. This typically does not include known multicasts. However, known multicasts can be included in the flood limiting by setting the value of this object to enableIncludeKnownMulticast(3).')
lanBlazer7000PortRateLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("one-percent", 1), ("two-percent", 2), ("five-percent", 3), ("ten-percent", 4), ("twenty-percent", 5), ("forty-percent", 6), ("eighty-percent", 7)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitRate.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitRate.setDescription("The percentage of the port's transmitted data allowed to be floods (or floods and known multicasts). For example, the factory default setting of twenty-percent(4) indicates that 20% of the data rate can be floods. For 10 Mb/s ports, this is equivalent to a maximum rate of approximately 3000 flooded pps; for 100 Mb/s ports, a maximum rate of approximately 30,000 flooded pps.")
lanBlazer7000PortRateLimitBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1, 63), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("rateLimit1", 1), ("rateLimit2", 2), ("rateLimit4", 3), ("rateLimit8", 4), ("rateLimit16", 5), ("rateLimit32", 6), ("rateLimit64", 7), ("rateLimit128", 8), ("rateLimit256", 9), ("rateLimit1024", 10), ("rateLimit2048", 11)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitBurstSize.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortRateLimitBurstSize.setDescription("The maximum number of consecutive transmitted flooded (or flooded and known multicasted) packets. Typically, the burst size is set so as to not overflow the port's buffer.")
lanBlazer7000PortPacePriorityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7))
lanBlazer7000PortPacePriorityTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortPacePriorityTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortPacePriorityTable.setDescription('A table of ports that support the ability to classify frame priority based on 3Com Pace(r) Prioritization.')
lanBlazer7000PortPacePriorityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortPacePriorityEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortPacePriorityEntry.setDescription('A port that supports 3Com Pace(r) priority.')
lanBlazer7000PortPacePriorityMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7, 1, 1, 71), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortPacePriorityMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortPacePriorityMode.setDescription("When Pace priority is enabled, this port will detect frames that use 3Com Corporation's Pace(r) Priority signaling. Frames signaled with priority in this manner are mapped to traffic priority level 4 (on scale of 0-7).")
lanBlazer7000PortCategoryMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8))
lanBlazer7000PortCategoryTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortCategoryTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortCategoryTable.setDescription('A table of ports that support the port category feature. Currently, all ports support this capability.')
lanBlazer7000PortCategoryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortCategoryEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortCategoryEntry.setDescription('A port that supports port categorization.')
lanBlazer7000PortCategoryMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8, 1, 1, 81), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("userPort", 1), ("servicePort", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortCategoryMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortCategoryMode.setDescription('By default, all ports are considered service ports. A service port is a port that provides a networks service such as a connection to a server, other switches, or the like. A service port will trigger the service port event for status changes with the alarm severity and will trigger an alarm in the alarm table on link failure. In contrast, user ports trigger the user link event with warning severity. They do not trigger an alarm upon link failures. User ports are useful to prevent floods of traps or entries in the alarm table. This is especially true for ports connected to user hosts that power up in the morning and power down again at the end of the work day.')
lanBlazer7000BufferMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7))
lanBlazer7000BufferTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1), )
if mibBuilder.loadTexts: lanBlazer7000BufferTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferTable.setDescription('A table of frame buffers in the system.')
lanBlazer7000BufferEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000BufferIndex"))
if mibBuilder.loadTexts: lanBlazer7000BufferEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferEntry.setDescription('Objects related to the management of this frame buffer.')
lanBlazer7000BufferIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferIndex.setDescription('The unique index that identifies this buffer within the system. Buffers are indexed first by their module association and then a unique index within that module.')
lanBlazer7000BufferFabricPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 2), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferFabricPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferFabricPort.setDescription('The switch fabric port associated with this buffer.')
lanBlazer7000BufferFabricPortDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("in", 1), ("out", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferFabricPortDirection.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferFabricPortDirection.setDescription('The value of this object indicates whether the buffer is used for buffering frames going into the switching fabric or coming out of the fabric.')
lanBlazer7000BufferSwitchPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 4), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferSwitchPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferSwitchPort.setDescription('The switch port associated with this frame buffer. Some buffers are not associated with any one switch port. In those cases, the value of the resource ID returned will be the null resource ID.')
lanBlazer7000BufferMemory = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferMemory.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferMemory.setDescription('The amount of memory available for frame buffering in Kilobytes (KB).')
lanBlazer7000BufferAgeTimer = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("quarter-second", 2), ("one-second", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BufferAgeTimer.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferAgeTimer.setDescription('Configures the timer used for aging frames in this buffer. If the timer expires for a frame, the frame is dropped and the event is counted in the stale drop counter. By default, the age timer is set to a 0.25 seconds (quarter of a second). The actual time that a frame may be aged out may vary. When set to a quarter of a second (250ms), the actual time may vary between 160ms and 320ms. When set to a second (1000ms), the time may vary between 640ms and 1.28 seconds (1028ms).')
lanBlazer7000BufferPriorityServicing = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("strictPriority", 1), ("everyTenThousand", 2), ("everyThousand", 3), ("everyHundred", 4), ("everyFour", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BufferPriorityServicing.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferPriorityServicing.setDescription('The value of this object configures how often the normal priority queue is serviced relative to the high priority queue. By default, the normal priority queue is serviced every thousand frames(3). This means that the normal priority queue is guaranteed to be serviced after servicing, at most, one thousand high priority frames. It is important to service the normal priority queue for two reasons. One is to prevent starvation for frames on the normal priority queue. The other reason is that frames cannot be aged if they are not serviced (see the age timer).')
lanBlazer7000BufferPriorityAllocation = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 1), ("tenPercent", 2), ("twentyPercent", 3), ("thirtyPercent", 4), ("fortyPercent", 5), ("fiftyPercent", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BufferPriorityAllocation.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferPriorityAllocation.setDescription('This object controls how much of the total buffer space should be allocated to high priority queue. Please be warned that setting this object to a different value causes the associated buffer to reset, causing a short loss of data. Setting the value of this object to none(1) not only allocates the entire buffer space to normal traffic, but also has the side effect of disabling the priority threshold. In other words, all traffic will be considered as normal priority traffic.')
lanBlazer7000BufferPriorityThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("none", 1), ("one", 2), ("two", 3), ("three", 4), ("four", 5), ("five", 6), ("six", 7), ("seven", 8)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BufferPriorityThreshold.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferPriorityThreshold.setDescription('This object configures the threshold for which frames are considered high priority. Frames may have a priority classification ranging from 0-7, 7 being the highest. By default, every frame that has priority 4 (four(5)) or above is considered a high priority frame and is buffered accordingly. If this buffer does not have any buffer space allocated for high priority frames, then the buffer threshold will be none(1). Setting this object to a different value without allocating buffer space to high priority traffic will result in an error.')
lanBlazer7000BufferCongestion = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("informationNotAvailable", 1), ("notCongested", 2), ("congested", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferCongestion.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferCongestion.setDescription('This object indicates whether this buffer is in a congested state..')
lanBlazer7000BufferHighOverflowDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferHighOverflowDrops.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferHighOverflowDrops.setDescription('The count of the number of high priority frames dropped due to the high priority queue overflowing.')
lanBlazer7000BufferLowOverflowDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferLowOverflowDrops.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferLowOverflowDrops.setDescription('The count of the number of low priority frames dropped due to the low priority queue overflowing.')
lanBlazer7000BufferHighStaleDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferHighStaleDrops.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferHighStaleDrops.setDescription('The count of the number of high priority frames dropped due to being in the high priority queue too long (the frame aged out).')
lanBlazer7000BufferLowStaleDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferLowStaleDrops.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferLowStaleDrops.setDescription('The count of the number of low priority frames dropped due to being in the low priority queue too long (the frame aged out).')
lanBlazer7000BufferCongestionDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BufferCongestionDrops.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BufferCongestionDrops.setDescription('The count of the number of frames dropped due to the destination (output) buffer being congested. ')
lanBlazer7000Switching = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5))
lanBlazer7000SwitchingLayerII = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1))
lanBlazer7000SwitchGen = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1))
lanBlazer7000SwitchSTPConfig = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ieee8021dStp", 1), ("stpPerVlan", 2), ("twoLayerStp", 3), ("disable", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchSTPConfig.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchSTPConfig.setDescription("When set to ieee8021dStp(1), the switch executes spanning tree conformant to the IEEE 802.1D bridging standard. The switch runs one instance of spanning tree. When set to stpPerVlan(2), the switch executes a separate instance of spanning tree for each virtual LAN. This configuration conforms to the model that instances of virtual LANs within the switch are separate virtual bridging functions. This method may not work well with bridge/routers that are also running spanning tree. When set to twoLayerStp(3), the switch executes a two-layer spanning tree to prevent loops. Two layer spanning tree creates a higher 'plane' of spanning tree between VLAN devices. This method of running spanning tree is 'plug and play' with bridge/router type devices and also scales better than the other two methods for large environments. When set to disable(4), spanning tree is disabled in the switch.")
lanBlazer7000SwitchAgingTime = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchAgingTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchAgingTime.setDescription('The timeout period in seconds for aging dynamically learned forwarding information. A default of 300 seconds is recommended. An aged entry is marked invalid, but is not removed from the Address Forwarding Table, because it is assumed that it will be relearned to the same location within the table.')
lanBlazer7000SwitchSuperAgingTime = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchSuperAgingTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchSuperAgingTime.setDescription('The timeout period in days for removing stale invalid entries from the Address Forwarding Table. A superaged entry is removed completely from the Address Forwarding Table, because it is assumed that the entry will never be relearned.')
lanBlazer7000BridgeMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2))
lanBlazer7000BridgeTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000BridgeTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeTable.setDescription('A table of Spanning Tree information for every bridge in the system.')
lanBlazer7000BridgeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000BridgeIndex"))
if mibBuilder.loadTexts: lanBlazer7000BridgeEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeEntry.setDescription('')
lanBlazer7000BridgeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeIndex.setDescription('An index that uniquely identifies this bridge.')
lanBlazer7000BridgeType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dot1d", 1), ("virtual", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeType.setDescription('Indicates whether this is a legacy dot1d bridge consisting of all switch ports or a virtual bridge consisting of all virtual subports for a particular Vlan.')
lanBlazer7000BridgeMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgeMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeMode.setDescription('Used to enable or disable Spanning Tree for this bridge. When set to disable(2), all BPDUs are forwarded like regular multicast packets. The default value is enable(1).')
lanBlazer7000BridgeStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStatus.setDescription('The enable/disable status of this bridge. This object incorporates the setting of the lanBlazer7000SwitchSTPConfig object. When lanBlazer7000SwitchSTPConfig is set such that this bridge will not be active, lanBlazer7000BridgeStatus returns disabled(2). If lanBlazer7000SwitchSTPConfig is set such that this bridge will be active, and lanBlazer7000BridgeMode is enable(1), this object returns enabled(2).')
lanBlazer7000BridgeStpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpPriority.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpPriority.setDescription('The priority value of the Bridge Identifier. See dot1dStpPriority.')
lanBlazer7000BridgeStpTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 6), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpTimeSinceTopologyChange.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpTimeSinceTopologyChange.setDescription('The time since the last topology change was detected. See dot1dStpTimeSinceTopologyChange.')
lanBlazer7000BridgeStpTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpTopChanges.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpTopChanges.setDescription('The total number of topology changes. See dot1dStpTopChanges')
lanBlazer7000BridgeStpDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 8), BridgeId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpDesignatedRoot.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpDesignatedRoot.setDescription('The bridge considered to be root by this node. See dot1dStpDesignatedRoot.')
lanBlazer7000BridgeStpRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpRootCost.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpRootCost.setDescription('The cost of the path to the root from this node. See dot1dStpRootCost.')
lanBlazer7000BridgeStpRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpRootPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpRootPort.setDescription('The port number with the lowest cost path to the root bridge. See dot1dStpRootPort.')
lanBlazer7000BridgeStpMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 11), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpMaxAge.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpMaxAge.setDescription('The maximum age used by this bridge to hold onto STP information before discarding. See dot1dStpMaxAge.')
lanBlazer7000BridgeStpHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 12), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpHelloTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpHelloTime.setDescription('The amount of time between configuration BPDUs. See dot1dStpHelloTime.')
lanBlazer7000BridgeStpHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpHoldTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpHoldTime.setDescription('The time value that indicates the interval during which no more than two configuration BPDUs will be sent by this node. See dot1dStpHoldTime.')
lanBlazer7000BridgeStpForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 14), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpForwardDelay.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpForwardDelay.setDescription('The amount of time that this node stays in each of the Listening and Learning states. See dot1dStpForwardDelay.')
lanBlazer7000BridgeStpBridgeMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 15), Timeout().subtype(subtypeSpec=ValueRangeConstraint(600, 4000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpBridgeMaxAge.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpBridgeMaxAge.setDescription('The value of MaxAge when this bridge is the root. See dot1dStpBridgeMaxAge.')
lanBlazer7000BridgeStpBridgeHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 16), Timeout().subtype(subtypeSpec=ValueRangeConstraint(100, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpBridgeHelloTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpBridgeHelloTime.setDescription('The value of HelloTime to use when this bridge is the root. See dot1dStpBridgeHelloTime.')
lanBlazer7000BridgeStpBridgeForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 17), Timeout().subtype(subtypeSpec=ValueRangeConstraint(400, 3000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgeStpBridgeForwardDelay.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgeStpBridgeForwardDelay.setDescription('The value of FowardDelay to use when this bridge is the root. See dot1dStpBridgeForwardDelay.')
lanBlazer7000BridgePortMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3))
lanBlazer7000BridgePortTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1), )
if mibBuilder.loadTexts: lanBlazer7000BridgePortTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortTable.setDescription(' A table of Spanning Tree information for every port that supports Spanning Tree in every bridge in the system ')
lanBlazer7000BridgePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000BridgePortIndex"))
if mibBuilder.loadTexts: lanBlazer7000BridgePortEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortEntry.setDescription('')
lanBlazer7000BridgePortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortIndex.setDescription('An index that uniquely identifies this bridge port. This index corresponds to the lanBlazer7000ResourceIndex for bridge port type resources.')
lanBlazer7000BridgePortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgePortPriority.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortPriority.setDescription('The value of the priority field in the port ID. See dot1dStpPortPriority. The default value is 128.')
lanBlazer7000BridgePortState = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortState.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortState.setDescription("The port's current state as defined by the Spanning Tree Protocol. See dot1dStpPortState. The virtual port is considered broken if its switch port is blocked.")
lanBlazer7000BridgePortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgePortEnable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortEnable.setDescription('The enabled/disabled status of this port. See dot1dStpPortEnable. The default is enabled(2).')
lanBlazer7000BridgePortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgePortPathCost.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortPathCost.setDescription('The contribution of this port to the path cost of the paths towards the spanning tree root. See dot1dStpPortPathCost. The default value is dependent on the port speed, trunking mode, and duplexity.')
lanBlazer7000BridgePortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 6), BridgeId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedRoot.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedRoot.setDescription("The bridge recorded as root for this port's segment. See dot1dStpPortDesignatedRoot.")
lanBlazer7000BridgePortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedCost.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedCost.setDescription('The path cost of the designated root of the segment connected to this port. See dot1dStpPortDesignatedCost.')
lanBlazer7000BridgePortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 8), BridgeId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedBridge.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedBridge.setDescription("The bridge identifier of the bridge that is considered the designated bridge for this port's segment. See dot1dStpPortDesignatedBridge.")
lanBlazer7000BridgePortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortDesignatedPort.setDescription("The port identifier of the port on the Designated Bridge for this port's segment. See dot1dStpPortDesignatedPort.")
lanBlazer7000BridgePortForwardTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000BridgePortForwardTransitions.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortForwardTransitions.setDescription('The number of times this port has transitioned from the learning state to the forwarding state. See dot1dStpPortForwardTransitions.')
lanBlazer7000BridgePortFastStart = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgePortFastStart.setStatus('deprecated')
if mibBuilder.loadTexts: lanBlazer7000BridgePortFastStart.setDescription('This object is being replaced by the switch port object lanBlazer7000SwitchPortFastStart. When this bridge port object is set to enable(1), the bridge port and all other bridge ports on the same switch port, transition right from blocking to forwarding, skipping the listening and learning states. When this bridge port object is set to disable(2), the bridge port and all other bridge ports on the same switch port have this option disabled. The user should be warned that using the fast start feature greatly increases the likelihood of unintended network loops that would otherwise be prevented by participating in the normal spanning tree algorithm. The factory default value for this object is disable(2).')
lanBlazer7000BridgePortSetDefault = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("useCurrentValues", 1), ("setDefault", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgePortSetDefault.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortSetDefault.setDescription('When set to setDefault(2), the lanBlazer7000BridgePortPriority, lanBlazer7000BridgePortEnable, and lanBlazer7000BridgePortPathCost will be set to the factory default values.')
lanBlazer7000BridgePortEnableChangeDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000BridgePortEnableChangeDetection.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000BridgePortEnableChangeDetection.setDescription('When this object is set to enable(1), a Topology Change Notification will be generated when this port goes to Blocking or Forwarding (if the port is a designated port). When set to disable(2), no Topology Change Notification will be generated for this port. The default is enable(1).')
lanBlazer7000L2AddrMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4))
lanBlazer7000L2AddrDatabaseMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1))
lanBlazer7000L2AddressTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1), )
if mibBuilder.loadTexts: lanBlazer7000L2AddressTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressTable.setDescription('A table of address table entries. The address table is used by the bridging function to perform forwarding and filtering decisions. An address may appear multiple times in different entries corresponding to the different logical address tables.')
lanBlazer7000L2AddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000L2AddressIndex"))
if mibBuilder.loadTexts: lanBlazer7000L2AddressEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressEntry.setDescription('A particular address table entry.')
lanBlazer7000L2AddressIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressIndex.setDescription('An index that uniquely identifies this address entry.')
lanBlazer7000L2AddressTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressTableIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressTableIndex.setDescription('The address table that this entry is associated with.')
lanBlazer7000L2AddressMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressMacAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressMacAddress.setDescription('The IEEE 802 MAC Address associated with this database entry.')
lanBlazer7000L2AddressPortBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 4), ResourceId()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressPortBinding.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressPortBinding.setDescription('The switch port that this address is associated with. ')
lanBlazer7000L2AddressBindingValid = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressBindingValid.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressBindingValid.setDescription('The port binding of an address entry is aged out in conformance with the specifications laid out in the IEEE 802.1D standard. When the address is aged out, the port binding becomes invalid.')
lanBlazer7000L2AddressVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressVlanID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressVlanID.setDescription('The VLAN ID of the VLAN that this address entry corresponds to.')
lanBlazer7000L2AddressPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("priorityZero", 1), ("priorityFour", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressPriority.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressPriority.setDescription('If set to high(2), frames destined to this address are classified with priority value 4.')
lanBlazer7000L2AddressForward = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normalForward", 1), ("specialDelivery", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressForward.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressForward.setDescription('When set to specialDelivery(2), frames sent to this address are treated to special delivery where the spanning tree state of the inbound port is ignored. Typically, special delivery is only used for Bridge PDUs such as spanning tree frames.')
lanBlazer7000L2AddressCopy = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normalForward", 1), ("copyCPU", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressCopy.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressCopy.setDescription('It is sometimes useful for the switch processor to eavesdrop on traffic to certain destinations. This is especially useful in supporting the intelligent multicasting function.')
lanBlazer7000L2AddressPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("permanent", 3), ("deleteOnReset", 4), ("deleteOnTimeout", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressPersistence.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressPersistence.setDescription('This object indicates the persistence of this entry: other(1) - This entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - Writing this value to the object removes the corresponding entry. permanent(3) - Address is not aged out. Additionally, if the address is seen as a source on a different port for this VLAN, the frame is filtered and the filter event is counted. Static address entries are stored in non-volatile memory and are restored to the address table following each system reset. deleteOnReset(4) - Indicates that the entry is not aged out, however the entry is not stored in non-volatile memory. Therefore, when the device is reset, the entry will not be restored. deleteOnTimeout(5) - Typically, address entries are learned dynamically by the switch. These entries are aged out of the table if they are not active on the network. This value correlates to this state.')
lanBlazer7000L2AddressStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("learned", 2), ("self", 3), ("mgmt", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressStatus.setDescription("This object indicates the status of the entry: other(1) - None of the following. learned(2) - This entry was learned dynamically. self(3) - The value of the corresponding instance of lanBlazer7000AddressMacAddress represents one of the bridge's addresses. mgmt(4) - This entry was added or modified by management. Entries that have been added by management and made permanent")
lanBlazer7000L2AddrSummaryMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2))
lanBlazer7000L2AddrSummaryTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000L2AddrSummaryTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddrSummaryTable.setDescription('This summary table packs the address entries in the address database into summary objects. The goal is to optimize the upload of the large amount of data stored therein. Typically, a management station would use getNext requests to retrieve the next logical summary object. The returned object value contains the next n entries of the address database packed into one PDU. The instance of the object returned is the index of the last address entry packed in the summary, thereby optimizing for the next getNext request. [ Fix this? What about gets?] ')
lanBlazer7000L2AddrSummaryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000L2AddressIndex"))
if mibBuilder.loadTexts: lanBlazer7000L2AddrSummaryEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddrSummaryEntry.setDescription('A summary object that packs as many address entries possible into a summary object.')
lanBlazer7000L2AddrSummary = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 4096))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddrSummary.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddrSummary.setDescription('The value of this object is a packed opaque structure representing an array of address entries. The format of this structure is: struct L2AddressEntry { UNS32 index; UNS8 addr[6]; // mac address UNS8 fabricPort; //fabricPort and subPort == lanBlazer7000L2AddressPortBinding UNS8 subPort; UNS16 vlanID, //the global vlan id UNS8 portBindingValidFlag; UNS8 addressForwardFlag; UNS8 addressCopyFlag; UNS8 addressPersistence; UNS8 addressStatus; }; struct L2AddressSummary{ UNS8 numberOfEntries; // Number of entries that follow UNS8 version; // version == 1 UNS16 endianFlag; L2AddressEntry entryArray[numberOfEntries]; };')
lanBlazer7000L2AddrControlMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3))
lanBlazer7000L2AddressControlTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1), )
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlTable.setDescription('This table provides the network manager the ability to create new, static address entries. Entries added through this table are added to the specified address table as a static entry and are save in non-volatile memory for reconfiguration upon system restart. This table is indexed by the lanBlazer7000AgentMgrIndex value which provides a separate instance for each manager.')
lanBlazer7000L2AddressControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000AgentMgrIndex"))
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlEntry.setDescription('A control entry enables this manager to add a new entry to the specified address table. When the entry is written to, the control index value is reset to 0. When the actual entry is created, the index value will read as non-zero, reporting the actual entry created.')
lanBlazer7000L2AddressControlIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlIndex.setDescription('The index of the address entry that was created for this address.')
lanBlazer7000L2AddressControlMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 2), MacAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlMacAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlMacAddress.setDescription('The IEEE 802 MAC Address associated with this database entry.')
lanBlazer7000L2AddressControlPortBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 3), ResourceId()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlPortBinding.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlPortBinding.setDescription('The port to bind this address to.')
lanBlazer7000L2AddressControlVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlVlanID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlVlanID.setDescription('The VLAN ID of the VLAN to bind this address to.')
lanBlazer7000L2AddressControlPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("priorityZero", 1), ("priorityFour", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlPriority.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlPriority.setDescription('If set to high(2), frames destined to this address are classified with priority value 4.')
lanBlazer7000L2AddressControlPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("permanent", 1), ("deleteOnReset", 2), ("deleteOnTimeout", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlPersistence.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlPersistence.setDescription('The persistence of the entry to be created: permanent(1) - Address is not aged out. Additionally, if the address is seen as a source on a different port for this VLAN, the frame is filtered and the filter event is counted. Static address entries are stored in non-volatile memory and are restored to the address table following each system reset. deleteOnReset(2) - Indicates that the entry is not to be aged, however the entry is not stored in non-volatile memory. Therefore, when the device is reset, the entry will not be restored. deleteOnTimeout(3) - Indicates that the entry is to be aged by the normal aging process.')
lanBlazer7000L2AddressControlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("createRequest", 1), ("underCreation", 2), ("success", 3), ("otherError", 4), ("entryExistsError", 5), ("invalidMacAddress", 6), ("invalidPortBinding", 7), ("invalidVlanID", 8)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressControlStatus.setDescription('The status of an entry to be created. When adding an entry all fields will be set, and then the control status is set to createRequest(1), indicating that the entry is to be created. During creation, the status will be underCreation(2). If the creation is successful, then the status will be set to success(3), and the value of lanBlazer7000AddressControlIndex indicates the index of the entry that was created in the address table. Otherwise if the creation was not successful, then one of the following error codes will be set and the entry will not be created: otherError(4) - An error other then the others defined. entryExistsError(5) - An entry already exists with this MAC address in this address table. invalidMacAddress(6) - Cannot create an entry with this MAC address. invalidTableIndex(7) - The table does not exist. invalidPortBinding(8) - The port binding is invalid. invalidVlanID(9) - The VLAN ID is invalid. Note that the only value that is valid to write to this object is createRequest(1), and that this object will never return the value createRequest(1).')
lanBlazer7000L2AddrChangeMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4))
lanBlazer7000L2AddressChangeLast = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeLast.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeLast.setDescription('The index of the last entry written to the address change table')
lanBlazer7000L2AddressChangeWraps = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeWraps.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeWraps.setDescription('The count of the number of times the address change table has wrapped.')
lanBlazer7000L2AddressChangeMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1024, 4096))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeMaxEntries.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeMaxEntries.setDescription('The maximum number of entries in the address change table.')
lanBlazer7000L2AddressChangeTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4), )
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeTable.setDescription('.')
lanBlazer7000L2AddressChangeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000L2AddressChangeWrapCount"), (0, "ODSLANBlazer7000-MIB", "lanBlazer7000L2AddressChangeIndex"))
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeEntry.setDescription("The address change table provides a quick way of getting only the entries that have recently changed. Since entries age out as part of the normal switching process, entries that have aged (i.e. their destination bindings are no longer valid) are not considered to be changed. Any other modification to the entry, including deletion or creation, are considered to be changes. The address change table is considered a circular table. When an entry changes, it is added to the next position within the table. If the 'next' position goes beyond the end of the table, the 'next' position is set to the beginning of the table (1) and the wrap counter (lanBlazer7000AddressChangeWraps) is incremented. The lanBlazer7000AddressChangeLast value is updated with the index of the last entered entry. An entry may be in the table multiple times if it has changed multiple times. Every time that an entry changes, it is added to the change table. A network management application should follow the following algorithm when polling this table: 1. Set lastChangeWrap = lanBlazer7000AddressChangeWraps. 2. Set lastChangeIndex = lanBlazer7000AddressChangeLast 3. Get the entire lanBlazer7000AddressEntryTable. 4. Submit a getNext for <lastChangeWrap>.<lastChangeIndex>, updating lastChangeWrap and lastChangeIndex with the returned next values. Update the address entry database with the changed values. 5. Repeat step 4 until no more entries are returned. 6. Wait polling timeout period. 7. Get wrap events counter and last index. If the wrap events counter is equal to lastChangeWrap, then goto step 4. Else if the wrap events counter is more then one greater then lastChangeWrap, goto step 1. Else the wrap events counter is exactly one greater then lastChangeWrap, and if the last index is greater then lastChangeIndex, then goto step 1, else goto step 4. The last step simply insures that we have not missed any of the change entries. Essentially it says that if we have wrapped to beyond where we last polled, then we must get the entire table to synch up again. Otherwise we can just get the entries that have changed.")
lanBlazer7000L2AddressChangeWrapCount = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeWrapCount.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeWrapCount.setDescription('The number of times that the lanBlazer7000AddressChangeLastIndex had wrapped when this entry was added.')
lanBlazer7000L2AddressChangeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeIndex.setDescription('The index that uniquely identifies this address change entry.')
lanBlazer7000L2AddressChangeIndexChanged = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeIndexChanged.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeIndexChanged.setDescription('The address entry that changed. The value of this object corresponds to the lanBlazer7000L2AddressIndex object. ')
lanBlazer7000L2AddressChangeSummary = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeSummary.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000L2AddressChangeSummary.setDescription(' The structure is interpreted in the following manner:')
lanBlazer7000SwitchPortMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2))
lanBlazer7000SwitchPortTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000SwitchPortTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortTable.setDescription('')
lanBlazer7000SwitchPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000SwitchPortIndex"))
if mibBuilder.loadTexts: lanBlazer7000SwitchPortEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortEntry.setDescription('')
lanBlazer7000SwitchPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortIndex.setDescription('A unique index that identifies this switch port. The value of this index corresponds to the value of the lanBlazer7000ResourceIndex for switch ports.')
lanBlazer7000SwitchPortSTAPMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortSTAPMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortSTAPMode.setDescription('Disabling spanning tree on a switch port prevents the switch port from participating in the spanning tree process. When disabled(2), this port will neither generate BPDUs, nor process received BPDUs. Also, the port will always start in the forwarding state. A port configured in this mode will not be able to detect network loops involving this port. The factory default is to enable spanning tree on all ports.')
lanBlazer7000SwitchPortConvertToStatic = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("learnAsDynamic", 1), ("convertToStatic", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortConvertToStatic.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortConvertToStatic.setDescription('When this object is set to convertToStatic(2), all addresses learned on this port will be added to the non-volatile version of the static address table. Typically, this object will be used to perform a crude form of address database update where the address activity associated with this port is collected as static (i.e. permanent) addresses while the value of this object is set to convertToStatic(2). Following this usually short period of time (perhaps a week of activity), the value of this object is restored back to its default value of learnAsDynamic(1) and learning for this port is disabled. It is important that the user verify the address database to verify that only the desired addresses were made permanent.')
lanBlazer7000SwitchPortLearningMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortLearningMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortLearningMode.setDescription('Disable learning on a bridge port to prevent new addresses from being added to the address database. Used in combination with static (permanent) address entries, disabling address learning is an effective security feature to prevent new hosts from appearing on the network, or to prevent hosts from moving to different locations in the network. The default is enable.')
lanBlazer7000SwitchPortHuntGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortHuntGroup.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortHuntGroup.setDescription('Hunt groups provide the capability to logically bind multiple switch ports into one switch port. This provides a way of balancing the load of multiple links between like-configured switches. Care must be taken to configure the hunt groups properly to prevent accidental network looping. Use this object to bind this port to a specific hunt group. When not configured to a specific hunt group, set the value of this object to zero.')
lanBlazer7000SwitchPortPhysicalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 6), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortPhysicalPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortPhysicalPort.setDescription('The physical port resource bound to this switch port.')
lanBlazer7000SwitchPortKnownMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortKnownMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortKnownMode.setDescription("Enabling known mode for this switch port causes the port to safely discard frames flooded because they are unknown unicast frames. This mode greatly enhances the efficiency of the port's output buffer since space is not wasted for frames not meant for this port. Enabling this feature disables learning for this port. Addresses associated for this port should be entered statically. The default is disable.")
lanBlazer7000SwitchPortMappingMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("port-based", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortMappingMethod.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortMappingMethod.setDescription('The frame mapping method of this switch port. When set to port-based(1) (the factory default), all non-tagged frames are classified to the VLAN associated with this switch port.')
lanBlazer7000SwitchPortTrunkingMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("clear", 1), ("ieee8021q", 2), ("multiLevel", 3), ("trunk3Com", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortTrunkingMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortTrunkingMode.setDescription('The trunking mode of this port. All frames transmitted out this switch port are translated to the appropriate trunking format: Clear: Ethernet or IEEE 802.3 frame format. This is the default. IEEE 802.1Q: The original frame with a new Ethernet Type (Protocol = 0xXXXX) and the VLAN ID inserted following the original Source Address. Also, the CRC is recalculated. Multi-level: The original frame is encapsulated in an IEEE 802.3 legal frame proprietary to a major networking equipment vendor. 3Com LinkSwitch: The original frame has the VLAN ID added to the front of the frame (before the Destination Address). Trunking format is proprietary to 3Com Corporation.')
lanBlazer7000SwitchPortVlanBindingMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("static", 1), ("persistent", 2), ("dynamic", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortVlanBindingMethod.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortVlanBindingMethod.setDescription('The VLAN binding method of a switch port specifies the way in which the port can be a member of the egress lists of VLANs other than the port default VLAN specified by lanBlazer7000SwitchPortVlanID: static: A Virtual Switch Port must be statically created for each VLAN/port combination. persistent: A Virtual Switch Port is automatically created for each VLAN known to the switch (i.e., the port is a member of the egress lists of all VLANs). dynamic: A Virtual Switch Port is automatically created for each VLAN when the associated VLAN ID is used as a tag in an IEEE 802.1Q or Multi-level tagged frame received on the port (i.e., the port is a member of the egress lists of the VLANs from frames received on the port). The default is static.')
lanBlazer7000SwitchPortIgnoreTag = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("useTag", 1), ("ignoreTag", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortIgnoreTag.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortIgnoreTag.setDescription("Each switch port is capable of ignoring the VLAN Tag associated with a frame in a trunking format. When ignored, the tag is used as the default in the event that a VLAN classification based on the switch's policy(s) cannot be made. This feature is useful for connecting layer 2 VLANs and layer 3 VLANs. The default is useTag.")
lanBlazer7000SwitchPortVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 12), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortVlanID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortVlanID.setDescription('When this switch port is configured in port-based VLAN mode, all non-tagged frames received on this port are bound to this VLAN. Otherwise, non-tagged frames are classified to this VLAN as the default if a VLAN binding cannot be otherwise determined. The factory default is 1, which is the VLAN ID of the Default VLAN.')
lanBlazer7000SwitchPort3ComMappingTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPort3ComMappingTableIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPort3ComMappingTableIndex.setDescription('The 3Com VLAN mapping table associated with this switch port. The default is 1, which indicates the default mapping table.')
lanBlazer7000SwitchPortAutoVlanCreation = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortAutoVlanCreation.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortAutoVlanCreation.setDescription('Enabling auto VLAN creation for this switch port causes the port to dynamically create a VLAN whenever an IEEE 802.1Q or Multi-level tagged frame is received on the port with a tag value which does not correspond to a known VLAN. All switch ports with a trunking mode of IEEE 802.1Q or Multi-level are bound to this created VLAN. The default is disable.')
lanBlazer7000SwitchPortMirrorMode = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortMirrorMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortMirrorMode.setDescription('When set to enable(1), this object indicates that the port is defined as a mirror port through the lanBlazer7000PortMirroringTable. A mirror port duplicates frames received at one or more source ports.')
lanBlazer7000SwitchPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortIfIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortIfIndex.setDescription('Each switch port is associated with an interface. This object provides a mechanism to map switch ports to bridge ports.')
lanBlazer7000SwitchPortFastStart = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortFastStart.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortFastStart.setDescription('When this object is set to enable(1), bridge ports on this switch port transitions right from blocking to forwarding, skipping the listening and learning states. The user should be warned that using the fast start feature greatly increases the likelihood of unintended network loops that would otherwise be prevented by participating in the normal spanning tree algorithm. The factory default value for this object is disable(2).')
lanBlazer7000SwitchPortVlanExchange = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000SwitchPortVlanExchange.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000SwitchPortVlanExchange.setDescription("When this object is set to enable(1), this switch port attempts to learn VLANs from a major networking equipment vendor if the switch port's trunking mode is IEEE 802.1Q Format or Multi-level Format. The factory default value for this object is enable(1).")
lanBlazer7000HuntGroupMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4))
lanBlazer7000HuntGroupTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1), )
if mibBuilder.loadTexts: lanBlazer7000HuntGroupTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupTable.setDescription('')
lanBlazer7000HuntGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000HuntGroupIndex"))
if mibBuilder.loadTexts: lanBlazer7000HuntGroupEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupEntry.setDescription('')
lanBlazer7000HuntGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000HuntGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupIndex.setDescription('An index that uniquely identifies this hunt group. This index corresponds to the value of lanBlazer7000ResourceIndex for resources of the hunt group type.')
lanBlazer7000HuntGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 2), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000HuntGroupName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupName.setDescription('')
lanBlazer7000HuntGroupBasePort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 3), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000HuntGroupBasePort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupBasePort.setDescription('The switch port index that serves as the base port for this hunt group. Each hunt group requires a base port. In lieu of a specific configuration, the hunt group will inherit the first switch port bound to the hunt group as its base port. The base port serves as the management focus for the hunt group. That is, a hunt group is managed as one switch port whose instance is provided by the base switch port. All configuration (e.g. spanning tree information) and statistics related to switch ports are meaningful only through the instance of the base port.')
lanBlazer7000HuntGroupNumberOfPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000HuntGroupNumberOfPorts.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupNumberOfPorts.setDescription('The current number of ports that belong to this hunt group.')
lanBlazer7000HuntGroupLoadSharing = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000HuntGroupLoadSharing.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupLoadSharing.setDescription('')
lanBlazer7000HuntGroupStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("createRequest", 1), ("underCreation", 2), ("deleteRequest", 3), ("active", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000HuntGroupStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000HuntGroupStatus.setDescription('')
lanBlazer7000PortMirroringMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5))
lanBlazer7000PortMirroringTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1), )
if mibBuilder.loadTexts: lanBlazer7000PortMirroringTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringTable.setDescription('A table of port mirroring entries used to mirror traffic from a source port to a mirror port.')
lanBlazer7000PortMirroringEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000PortMirroringIndex"))
if mibBuilder.loadTexts: lanBlazer7000PortMirroringEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringEntry.setDescription('Objects related to the PortMirroring functionality.')
lanBlazer7000PortMirroringIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000PortMirroringIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringIndex.setDescription('The unique index that identifies this entry. This index consists of a switch fabric port and the index of a Packet Lookup Engine servicing this fabric port.')
lanBlazer7000PortMirroringSourceSubPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortMirroringSourceSubPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringSourceSubPort.setDescription('The frame sampler source switch subport. The source port is the port from which received traffic will be mirrored. This object identifies the switch subport only, the switch fabric port is identified in lanBlazer7000PortMirroringIndex. If set to 0, all subports associated with the lanBlazer7000PortMirroringIndex will be source ports. The default value is 0.')
lanBlazer7000PortMirroringSamplerType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("periodic", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortMirroringSamplerType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringSamplerType.setDescription('The type for this frame sampler. When set to enable(1), every frame received on the source port(s) will be mirrored at the mirror port. When set to disable(2), no frames received on the source port(s) will be mirrored at the mirror port. When set to periodic(3), frames will be mirrored at the rate defined in lanBlazer7000PortMirroringRate. The default value is disable(2).')
lanBlazer7000PortMirroringRate = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortMirroringRate.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringRate.setDescription('Used in conjunction with lanBlazer7000PortMirroringSamplerType to implement periodic sampling functionality. If lanBlazer7000PortMirroringSamplerType is set to periodic(3), this object defines the number of packets/second that will be mirrored. If lanBlazer7000PortMirroringSamplerType is not periodic(3), this object will set to 0.')
lanBlazer7000PortMirroringMirrorPort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 5), ResourceId()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000PortMirroringMirrorPort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000PortMirroringMirrorPort.setDescription('The Switch Port on which frames received at source ports(s) will be duplicated. If no mirror port has been defined this object will return NULL.')
lanBlazer7000VlanMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7))
lanBlazer7000Vlans = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1))
lanBlazer7000VlanTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1), )
if mibBuilder.loadTexts: lanBlazer7000VlanTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanTable.setDescription('')
lanBlazer7000VlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000VlanID"))
if mibBuilder.loadTexts: lanBlazer7000VlanEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanEntry.setDescription('')
lanBlazer7000VlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VlanID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanID.setDescription('An identifier that is unique within the administrative domain. This ID is assigned by the management application and is meaningful within that context. This ID is used to identify VLANs when tagged using either the IEEE 802.1 frame format or the Multi-level frame format.')
lanBlazer7000VlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanName.setDescription('A user-assignable name for this Vlan.')
lanBlazer7000VlanIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VlanIfIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanIfIndex.setDescription('Each virtual LAN has a virtual interface associated with it. This enables RMON monitoring to occur per-VLAN. It also provides a handy mechanism to map virtual LANs to bridge ports by mapping them with the ifStack table from the Interface MIB.')
lanBlazer7000VlanAFTIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanAFTIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanAFTIndex.setDescription("The address table used for this VLAN for explicitly tagged frames (frames received in a trunking frame format or from a port in port-based VLAN mode.) Normally, each VLAN maps to a unique address table. This is useful for environments with duplicate host addresses appear on different VLANs on different ports. For those environments where duplicate hosts on different VLANs don't exist, or exist but are on the same port, and where the address table size and/or aging is a concern, then multiple VLANs may be mapped to the same address table.")
lanBlazer7000VlanBridgeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 5), ResourceId()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanBridgeIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanBridgeIndex.setDescription('The bridge resource which is bound to this Vlan.')
lanBlazer7000VlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("createRequest", 1), ("underCreation", 2), ("destroyRequest", 3), ("underDestruction", 4), ("active", 5), ("otherError", 6), ("entryExistsError", 7), ("invalidVlanID", 8), ("invalidVlanName", 9), ("invalidVlanAFTIndex", 10), ("invalidVlanBridgeIndex", 11), ("invalidVlanInitialHashTableSize", 12), ("invalidVlanAutoIncrementHTSize", 13)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanStatus.setDescription('The status of an entry to be created or deleted. When adding an entry all fields will be set, and then the status is set to createRequest(1) (indicating that the entry is to be created). When deleting an entry the status is set to destroyRequest(3) (indicating that the entry is to be destroyed). During creation the status will be underCreation(2). If the creation is successful, then the status will be set to active(5). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: otherError(6) - An error other than the others defined. entryExistsError(7) - An entry already exists. invalidVlanID(8) - the VLAN ID is invalid. invalidVlanName(9) - the VLAN name is invalid. invalidVlanAFTIndex(10) - the VLAN AFT index is invalid. invalidVlanBridgeIndex(11) - the VLAN bridge index is invalid. invalidVlanInitialHashTableSize(12) - the VLAN initial hash table size is invalid. invalidVlanAutoIncrementHTSize(13) - the VLAN auto increment hash table size is invalid.')
lanBlazer7000VlanInitialHashTableSize = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 8192))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanInitialHashTableSize.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanInitialHashTableSize.setDescription('The initial hash table size used for MAC addresses on this VLAN. This attribute may only be set when lanBlazer7000VlanStatus is set to createRequest(1). It must be a power of 2 between 16 and 8192, inclusive.')
lanBlazer7000VlanAutoIncrementHTSize = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanAutoIncrementHTSize.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanAutoIncrementHTSize.setDescription('This attribute specifies whether or not the hash table size used for MAC addresses on this VLAN is automatically increased as necessary to hold more MAC addresses. This attribute may only be set when lanBlazer7000VlanStatus is set to createRequest(1).')
lanBlazer7000VlanLearnStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notLearned", 1), ("vlanExchange", 2), ("auto", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VlanLearnStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanLearnStatus.setDescription('This attribute indicates if the VLAN was learned. If learned it indicates if the VLAN was learned either by VLAN Exchange or Auto VLAN creation.')
lanBlazer7000VlanMappings = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3))
lanBlazer70003ComMapping = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1))
lanBlazer70003ComMappingTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1), )
if mibBuilder.loadTexts: lanBlazer70003ComMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer70003ComMappingTable.setDescription('')
lanBlazer70003ComMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer70003ComMappingTableIndex"))
if mibBuilder.loadTexts: lanBlazer70003ComMappingEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer70003ComMappingEntry.setDescription('')
lanBlazer70003ComMappingTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer70003ComMappingTableIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer70003ComMappingTableIndex.setDescription('')
lanBlazer70003ComMappingTableName = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer70003ComMappingTableName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer70003ComMappingTableName.setDescription('A user-readable name associated with this table.')
lanBlazer70003ComMappingTableStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("createRequest", 1), ("destroyRequest", 2), ("active", 3), ("entryExistsError", 4), ("otherError", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer70003ComMappingTableStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer70003ComMappingTableStatus.setDescription('The status of an entry to be created. When adding an entry all fields will be set, and then the status is set to createRequest(1), indicating that the entry is to be created. If the creation is successful, then the status will be set to active(3). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: entryExistsError(4) - An entry already exists. otherError(5) - An error other than the others defined.')
lanBlazer7000Vlan3ComMapping = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2))
lanBlazer7000Vlan3ComMappingTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1), )
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingTable.setDescription('')
lanBlazer7000Vlan3ComMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer70003ComMappingTableIndex"), (0, "ODSLANBlazer7000-MIB", "lanBlazer7000Vlan3ComMappingIndex"))
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingEntry.setDescription('')
lanBlazer7000Vlan3ComMappingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingIndex.setDescription('The external tag of this 3Com VLAN.')
lanBlazer7000Vlan3ComMappingVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingVlanID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingVlanID.setDescription('The VLAN ID of the VLAN that this 3Com tag is associated with.')
lanBlazer7000Vlan3ComMappingStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("createRequest", 1), ("destroyRequest", 2), ("active", 3), ("otherError", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000Vlan3ComMappingStatus.setDescription('The status of an entry to be created. When adding an entry all fields will be set, and then the status is set to createRequest(1), indicating that the entry is to be created. If the creation is successful, then the status will be set to active(3). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: otherError(4) - An error other than the others defined.')
lanBlazer7000VirtualPorts = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4))
lanBlazer7000VirtualSwitchPortTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1), )
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortTable.setDescription('')
lanBlazer7000VirtualSwitchPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000VirtualSwitchPortIndex"))
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortEntry.setDescription('An instance of a virtual switch port indicates that this switch port is a member of this VLAN.')
lanBlazer7000VirtualSwitchPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 1), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortIndex.setDescription('The Resource ID of the virtual switch port bound to the VLAN.')
lanBlazer7000VirtualSwitchPortFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("clear", 1), ("trunkingFormat", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortFormat.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortFormat.setDescription("Typically, a VLAN capable switch port has one of three modes: access, trunk, or hybrid. In access mode, the port sends frames in clear format (untagged). In trunk mode, all outbound frames are translated into the switch port's configured trunking format. In hybrid mode, it is possible for a port to send trunked frames for some VLANs and clear frames for others. In this case, the switch port is configured to trunk, and the virtual switch port(s) for those VLANs that require clear formatted frames are configured to be override the switch port setting. This is done by setting this object to clear(1). By default, the value of this object is trunkingFormat(2) which means to use the trunking format configured for this switch port. (which may be clear).")
lanBlazer7000VirtualSwitchPortBridgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 3), ResourceId()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortBridgePort.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortBridgePort.setDescription('The bridge port resource bound to this virtual port.')
lanBlazer7000VirtualSwitchPortBindingType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("static", 1), ("persistent", 2), ("dynamic", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortBindingType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortBindingType.setDescription('The method by which this switch port was bound to the VLAN. If the value is static(1), the binding was manually created by the administrator. If the value is persistent(2), the binding was created by the switch because the VLAN is the port-based VLAN for the switch port, or the switch port VLAN Binding Method is persistent. These bindings may not be removed. If the value is dynamic(3), the binding was created by the switch as a result of receiving a tagged frame on the switch port with a VLAN ID corresponding to the VLAN.')
lanBlazer7000VirtualSwitchPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("createRequest", 1), ("destroyRequest", 2), ("active", 3), ("otherError", 4), ("entryExistsError", 5), ("entryNoExistError", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortStatus.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VirtualSwitchPortStatus.setDescription('The status of an entry to be created or deleted. When adding an entry all fields will be set, and then the status is set to createRequest(1) (indicating that the entry is to be created). When deleting an entry the status is set to destroyRequest(2) (indicating that the entry is to be destroyed). If the creation is successful, then the status will be set to active(3). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: otherError(4) - An error other than the others defined. entryExistsError(5) - On creation, an entry already exists. On deletion, the entry may not be removed. entryNoExistError(6) - The VLAN specified by ID does not exist.')
lanBlazer7000Events = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10))
lanBlazer7000EventMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1))
lanBlazer7000EventTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1), )
if mibBuilder.loadTexts: lanBlazer7000EventTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTable.setDescription('Table of events currently supported.')
lanBlazer7000EventEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000EventIndex"))
if mibBuilder.loadTexts: lanBlazer7000EventEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventEntry.setDescription('Attributes associated with the event.')
lanBlazer7000EventIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventIndex.setDescription('')
lanBlazer7000EventMode = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000EventMode.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventMode.setDescription('Disabling an event prevents this event from taking any actions when triggered. When set to enable to the console, the event will print the event information to the console serial port. The user can select whether to view log messages, trap messages or any event at the console.')
lanBlazer7000EventLogAction = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000EventLogAction.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogAction.setDescription('When enabled, this action will cause an event log entry to be created.')
lanBlazer7000EventTrapAction = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000EventTrapAction.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapAction.setDescription('When enabled, this event will cause an SNMP trap to be generated.')
lanBlazer7000EventConsoleAction = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000EventConsoleAction.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventConsoleAction.setDescription('When enabled, this event will cause a message to printed to the console serial port.')
lanBlazer7000EventLogMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2))
lanBlazer7000LogTableMaxSize = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000LogTableMaxSize.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000LogTableMaxSize.setDescription('The maximum number of entries in the log table. Changing this value causes the existing log to be truncated and rebuilt.')
lanBlazer7000LogLastEntry = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000LogLastEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000LogLastEntry.setDescription('The log index of the last entry entered in the log.')
lanBlazer7000LogWraps = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000LogWraps.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000LogWraps.setDescription('The number of times that the last entry has wrapped from 65K back to 1.')
lanBlazer7000EventLog = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3))
lanBlazer7000EventLogTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1), )
if mibBuilder.loadTexts: lanBlazer7000EventLogTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogTable.setDescription('The log table for the events in the event table that are enabled for the Log Action.')
lanBlazer7000EventLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000EventLogIndex"))
if mibBuilder.loadTexts: lanBlazer7000EventLogEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogEntry.setDescription('An entry in the log indicates information associated with a particular event.')
lanBlazer7000EventLogEventIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogEventIndex.setDescription('The index that uniquely identifies the event that caused this log entry.')
lanBlazer7000EventLogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogIndex.setDescription('An index that uniquely identifies this log entry.')
lanBlazer7000EventLogTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 3), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogTime.setDescription('The value of sysUpTime when this event was triggered.')
lanBlazer7000EventLogDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogDescr.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogDescr.setDescription('The event log description.')
lanBlazer7000EventLogType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 5), EventCategory()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogType.setDescription('The type of event that caused this log entry.')
lanBlazer7000EventLogSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogSeverity.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogSeverity.setDescription('The severity associated with this event. It is recommended that the severity be interpreted in the following manner: 0-19: Normal 20-39: Informational 40-59: Warning 60-79: Alarm 80-99: Severe Error 100: Failure.')
lanBlazer7000EventLogDTM = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(18, 18)).setFixedLength(18)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogDTM.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogDTM.setDescription('The date and time when this log entry was made. The format is yy-Mon- dd hh:mm:ss, time is in 24 hour time.')
lanBlazer7000EventLogResType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 8), ResourceType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogResType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogResType.setDescription("The type of object (if provided) that triggered this event. If not provided, the value is equal to 'Invalid Resource'.")
lanBlazer7000EventLogResID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 9), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogResID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogResID.setDescription('The instance of this resource (if provided - see lanBlazer7000EventLogResType) that triggered this event.')
lanBlazer7000EventLogResLeaf = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogResLeaf.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogResLeaf.setDescription("A number corresponding to the attribute associated with this resource and this event entry. It corresponds exactly to the leaf MIB number of the MIB that manages this resource. For example, if a port's mode changed, the configuration event log entry would indicate the value of 5 which is the leaf index of the lanBlazer7000PortMode within the lanBlazer7000PortTable MIB table.")
lanBlazer7000EventLogValueType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 11), EventValueType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogValueType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogValueType.setDescription('The data type associated with the log event value. This object indicates how to interpret the data stored in the event log value: - none(1) indicates no value returned. - integer32(2) - a 4 byte unsigned integer. - integer64(3) - an 8 byte unsigned integer. - displayString(4) - a null terminated (or up to 8 characters) string. - ipv4NetworkAddress(5) - a 4 byte IP version 4 network address. - ieee802MACAddress(6) - a 6 byte MAC Address. - timeticks(7) - sysUpTime type value (4 bytes)')
lanBlazer7000EventLogValue = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogValue.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogValue.setDescription('The value associated with the event encoded in an octet string. Refer to lanBlazer7000EventLogValueType for how to interpret this value. The value encoded in this string is in Big Endian order.')
lanBlazer7000EventLogEpochTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogEpochTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogEpochTime.setDescription('The number of time ticks since the epoch when this event was logged. The interpretation of this value is as follows: struct DateTimeOvly { UNS32 year:6; UNS32 month:4; UNS32 day:5; UNS32 hour:5; UNS32 minute:6; UNS32 second:6; }; The epoch is January 1, 1997, at 00:00:00. A value of 0 refers to this date and time. ')
lanBlazer7000EventLogID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventLogID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventLogID.setDescription('A unique index that identifies the occurence of this event. This ID can be correlated between traps, logs and the like.')
lanBlazer7000ShutdownLogMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4))
lanBlazer7000ShutdownLogTableMaxSize = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000ShutdownLogTableMaxSize.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ShutdownLogTableMaxSize.setDescription('The maximum number of entries in the non-volatile log table. Changing the value of this object changes the maximum number of entries to be stored in Shutdown.')
lanBlazer7000ShutdownLogLastEntry = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ShutdownLogLastEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ShutdownLogLastEntry.setDescription('The ID of the last entry made to the shutdown log.')
lanBlazer7000ShutdownLogAcknowledged = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("not-acknowledged", 1), ("acknowledged", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ShutdownLogAcknowledged.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ShutdownLogAcknowledged.setDescription('This object is to set to acknowledged(2) the first time the Shutdown Log Table is accessed indicating that the Shutdown log has been read (at least once) since the system restarted.')
lanBlazer7000EventShutdownLog = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5))
lanBlazer7000EventShutdownLogTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1), )
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogTable.setDescription('A table of the last events logged before the system restarted.')
lanBlazer7000EventShutdownLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000EventShutdownLogIndex"))
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogEntry.setDescription('A log entry stored in non-volatile memory.')
lanBlazer7000EventShutdownLogEventIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogEventIndex.setDescription('The index that uniquely identifies the event that caused this ShutdownLog entry.')
lanBlazer7000EventShutdownLogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogIndex.setDescription('An index that uniquely identifies this ShutdownLog entry.')
lanBlazer7000EventShutdownLogTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 3), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogTime.setDescription('The value of sysUpTime when this event was triggered. Note, the value corresponds to the sysUpTime when the system was last running (i.e. before it was shutdown.)')
lanBlazer7000EventShutdownLogDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogDescr.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogDescr.setDescription('The event ShutdownLog description.')
lanBlazer7000EventShutdownLogType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 5), EventCategory()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogType.setDescription('The type of event that caused this ShutdownLog entry.')
lanBlazer7000EventShutdownLogSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogSeverity.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogSeverity.setDescription('The severity associated with this event. It is recommended that the severity be interpreted in the following manner: 0-19: Normal 20-39: Informational 40-59: Warning 60-79: Alarm 80-99: Severe Error 100: Failure.')
lanBlazer7000EventShutdownLogDTM = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(18, 18)).setFixedLength(18)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogDTM.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogDTM.setDescription('The date and time when this ShutdownLog entry was made. The format is yy-Mon-dd hh:mm:ss, time is in 24 hour time.')
lanBlazer7000EventShutdownLogResType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 8), ResourceType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogResType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogResType.setDescription('The type of object (if provided) that triggered this event. If not provided, the value is invalid.')
lanBlazer7000EventShutdownLogResID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 9), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogResID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogResID.setDescription('The instance of this resource (if provided) that triggered this event.')
lanBlazer7000EventShutdownLogResLeaf = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogResLeaf.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogResLeaf.setDescription('To be provided.')
lanBlazer7000EventShutdownLogValueType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 11), EventValueType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogValueType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogValueType.setDescription('The data type associated with the ShutdownLog event value. This object indicates how to interpret the data stored in the event ShutdownLog value.')
lanBlazer7000EventShutdownLogValue = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogValue.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogValue.setDescription('The value associated with the event encoded in an octet string. ')
lanBlazer7000EventShutdownLogEpochTime = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogEpochTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogEpochTime.setDescription('The number of time ticks since the epoch when this event was logged. The interpretation of this value is as follows: struct DateTimeOvly { UNS32 year:6; UNS32 month:4; UNS32 day:5; UNS32 hour:5; UNS32 minute:6; UNS32 second:6; }; The epoch is January 1, 1997, at 00:00:00. A value of 0 refers to this date and time. ')
lanBlazer7000EventShutdownLogID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventShutdownLogID.setDescription('A unique index that identifies the occurence of this event. This ID can be correlated between traps, logs and the like.')
lanBlazer7000EventTrapMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6))
lanBlazer7000EventTrapEventIndex = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapEventIndex.setDescription('The index that uniquely identifies the event that caused this trap.')
lanBlazer7000EventTrapTime = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 2), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapTime.setDescription('The value of sysUpTime when this event was triggered.')
lanBlazer7000EventTrapDescr = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapDescr.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapDescr.setDescription('The event log description.')
lanBlazer7000EventTrapType = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 4), EventCategory()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapType.setDescription('The type of event that caused this trap.')
lanBlazer7000EventTrapSeverity = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapSeverity.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapSeverity.setDescription('The severity associated with this event. It is recommended that the severity be interpreted in the following manner: 0-19: Normal 20-39: Informational 40-59: Warning 60-79: Alarm 80-99: Severe Error 100: Failure.')
lanBlazer7000EventTrapDTM = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(18, 18)).setFixedLength(18)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapDTM.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapDTM.setDescription('The date and time when this trap was sent. The format is yy-Mon- dd hh:mm:ss, time is in 24 hour time.')
lanBlazer7000EventTrapResType = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 7), ResourceType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapResType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapResType.setDescription("The type of object (if provided) that triggered this event. If not provided, the value is equal to 'Invalid Resource'.")
lanBlazer7000EventTrapResID = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 8), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapResID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapResID.setDescription('The instance of this resource (if provided - see lanBlazer7000EventTrapResType) that triggered this event.')
lanBlazer7000EventTrapResLeaf = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapResLeaf.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapResLeaf.setDescription("A number corresponding to the attribute associated with this resource and this event entry. It corresponds exactly to the leaf MIB number of the MIB that manages this resource. For example, if a port's mode changed, the configuration event log entry would indicate the value of 5 which is the leaf index of the lanBlazer7000PortMode within the lanBlazer7000PortTable MIB table.")
lanBlazer7000EventTrapValueType = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 10), EventValueType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapValueType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapValueType.setDescription('The data type associated with the trap event value. This object indicates how to interpret the data stored in the event trap value: - none(1) indicates no value returned. - integer32(2) - a 4 byte unsigned integer. - integer64(3) - an 8 byte unsigned integer. - displayString(4) - a null terminated (or up to 8 characters) string. - ipv4NetworkAddress(5) - a 4 byte IP version 4 network address. - ieee802MACAddress(6) - a 6 byte MAC Address. - timeticks(7) - sysUpTime type value (4 bytes)')
lanBlazer7000EventTrapValue = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapValue.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapValue.setDescription('The value associated with the event encoded in an octet string. Refer to lanBlazer7000EventTrapValueType for how to interpret this value. The value encoded in this string is in Big Endian order.')
lanBlazer7000EventTrapEpochTime = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapEpochTime.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapEpochTime.setDescription('The number of time ticks since the epoch when this event was logged. The interpretation of this value is as follows: struct DateTimeOvly { UNS32 year:6; UNS32 month:4; UNS32 day:5; UNS32 hour:5; UNS32 minute:6; UNS32 second:6; }; The epoch is January 1, 1997, at 00:00:00. A value of 0 refers to this date and time. ')
lanBlazer7000EventTrapID = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000EventTrapID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000EventTrapID.setDescription('A unique index that identifies the occurence of this event. This ID can be correlated between traps, logs and the like.')
lanBlazer7000AlarmMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11))
lanBlazer7000AlarmGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 1))
lanBlazer7000AlarmGeneralActiveEntries = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 1, 1), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000AlarmGeneralActiveEntries.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000AlarmGeneralActiveEntries.setDescription('The total number of alarm entries in the triggered state currently in the alarm table.')
lanBlazer7000AlarmGeneralTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 1, 2), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000AlarmGeneralTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000AlarmGeneralTimeStamp.setDescription('The value of sysUpTime when any alarm state last changed (either triggering a new alarm or re-arming an old one).')
lanBlazer7000Alarms = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2))
lanBlazer7000ActiveAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2), )
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmTable.setDescription('A table of all alarms in the triggered state.')
lanBlazer7000ActiveAlarmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1), ).setIndexNames((0, "ODSLANBlazer7000-MIB", "lanBlazer7000ActiveAlarmIndex"))
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmEntry.setDescription('An alarm in the triggered state.')
lanBlazer7000ActiveAlarmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmIndex.setDescription('The unique index that identifies this alarm.')
lanBlazer7000ActiveAlarmName = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmName.setDescription('The name of this alarm.')
lanBlazer7000ActiveAlarmValueHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmValueHigh.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmValueHigh.setDescription('The high order 32 bits of the value that triggered this alarm.')
lanBlazer7000ActiveAlarmValueLow = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmValueLow.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmValueLow.setDescription('The low order 32 bits of the value that triggered this alarm.')
lanBlazer7000ActiveAlarmVariable = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 5), ObjectIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmVariable.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmVariable.setDescription('The OID of the alarm variable if this is a user-created alarm (null otherwise).')
lanBlazer7000ActiveAlarmResType = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 6), ResourceType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmResType.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmResType.setDescription('The resource type of this alarm if this is an internally created alarm.')
lanBlazer7000ActiveAlarmResID = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 7), ResourceId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmResID.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmResID.setDescription('The resource identifier associated with this alarm if this is an internally created alarm.')
lanBlazer7000ActiveAlarmLeaf = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmLeaf.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmLeaf.setDescription("The leaf index of the MIB table used to manage this resource that is associated with this alarm, if this is an internally created alarm. For example, if this alarm was created to monitor a port's status, then the value of this object will be 6, corresponding to the leaf index of the lanBlazer7000PortStatus object.")
lanBlazer7000ActiveAlarmOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmOwner.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000ActiveAlarmOwner.setDescription('This is the owner of the alarm.')
lanBlazer7000SnmpTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13))
lanBlazer7000SystemTrap = NotificationType((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0,2)).setObjects(("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEventIndex"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDescr"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapSeverity"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDTM"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResID"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResLeaf"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValueType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValue"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEpochTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapID"))
if mibBuilder.loadTexts: lanBlazer7000SystemTrap.setDescription('A lanBlazer7000SystemTrap is sent by the agent when a system event is triggered. These events are usually triggered when the software encounters an unexpected situation, e.g. a hardware failure or a software bug.')
lanBlazer7000ConfigurationTrap = NotificationType((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0,3)).setObjects(("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEventIndex"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDescr"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapSeverity"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDTM"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResID"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResLeaf"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValueType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValue"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEpochTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapID"))
if mibBuilder.loadTexts: lanBlazer7000ConfigurationTrap.setDescription('A lanBlazer7000ConfigurationTrap is sent by the agent when the configuration event is triggered. These events are triggered when a configuration change is made.')
lanBlazer7000TemperatureTrap = NotificationType((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0,4)).setObjects(("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEventIndex"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDescr"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapSeverity"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDTM"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResID"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResLeaf"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValueType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValue"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEpochTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapID"))
if mibBuilder.loadTexts: lanBlazer7000TemperatureTrap.setDescription('A lanBlazer7000TemperatureTrap is sent by the agent when the temperature event is triggered. This event is triggered when a temperature probe detects the temperature crossing a threshold.')
lanBlazer7000ResourceTrap = NotificationType((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0,5)).setObjects(("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEventIndex"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDescr"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapSeverity"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDTM"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResID"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResLeaf"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValueType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValue"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEpochTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapID"))
if mibBuilder.loadTexts: lanBlazer7000ResourceTrap.setDescription('A lanBlazer7000ResourceTrap is sent by the agent when the resource event is triggered. The resource event is triggered when a resource is added or removed from the system.')
lanBlazer7000FanTrap = NotificationType((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0,6)).setObjects(("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEventIndex"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDescr"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapSeverity"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDTM"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResID"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResLeaf"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValueType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValue"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEpochTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapID"))
if mibBuilder.loadTexts: lanBlazer7000FanTrap.setDescription('A lanBlazer7000FanTrap is sent by the agent when the fan status event is triggered. The fan status event is triggered when a fan has a change in its status.')
lanBlazer7000PowerTrap = NotificationType((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0,9)).setObjects(("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEventIndex"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDescr"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapSeverity"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapDTM"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResID"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapResLeaf"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValueType"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapValue"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapEpochTime"), ("ODSLANBlazer7000-MIB", "lanBlazer7000EventTrapID"))
if mibBuilder.loadTexts: lanBlazer7000PowerTrap.setDescription('A lanBlazer7000PowerTrap is sent by the agent when the power event is triggered. These events are triggered when a power supply changes status.')
lanBlazer7000VlanExchange = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14))
lanBlazer7000VlanExchangeSwitch = MibIdentifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1))
lanBlazer7000VlanExchangeState = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeState.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeState.setDescription('When this object is set to enable(1), the switch attempts to learn VLANs from a major networking equipment vendor on switch ports that have their VLAN Exchange parameter set to enable(1). trunking mode is IEEE 802.1Q Format or Multi-level Format. The factory default value for this object is disable(2).')
lanBlazer7000VlanExchangeDomainName = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeDomainName.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeDomainName.setDescription('The VLAN Exchange Domain Name of the switch. A switch may only belong to one domain.')
lanBlazer7000VlanExchangeUpdaterId = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeUpdaterId.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeUpdaterId.setDescription('The IP address of the switch from which the VLAN Exchange configuration was learned.')
lanBlazer7000VlanExchangeUpdateTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 12))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeUpdateTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeUpdateTimeStamp.setDescription('The time at which the VLAN Exchange configuration changed on the initiating switch.')
lanBlazer7000VlanExchangeConfigRevNum = MibScalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeConfigRevNum.setStatus('mandatory')
if mibBuilder.loadTexts: lanBlazer7000VlanExchangeConfigRevNum.setDescription('Configuration Revision Number of VLAN Exchange Configuration on the switch that initiated the VLAN Exchange.')
mibBuilder.exportSymbols("ODSLANBlazer7000-MIB", lanBlazer7000SwitchPortLearningMode=lanBlazer7000SwitchPortLearningMode, lanBlazer7000VlanExchangeUpdaterId=lanBlazer7000VlanExchangeUpdaterId, lanBlazer7000AgentCommunity=lanBlazer7000AgentCommunity, lanBlazer7000SwitchAgingTime=lanBlazer7000SwitchAgingTime, lanBlazer7000TempTable=lanBlazer7000TempTable, lanBlazer7000PortPacePriorityEntry=lanBlazer7000PortPacePriorityEntry, MacAddress=MacAddress, lanBlazer7000PowerSupplyIndex=lanBlazer7000PowerSupplyIndex, lanBlazer7000BridgePortMgmt=lanBlazer7000BridgePortMgmt, lanBlazer7000BufferMgt=lanBlazer7000BufferMgt, lanBlazer7000PowerMgmtGen=lanBlazer7000PowerMgmtGen, lanBlazer7000EventConsoleAction=lanBlazer7000EventConsoleAction, EventValueType=EventValueType, lanBlazer7000L2AddrSummaryEntry=lanBlazer7000L2AddrSummaryEntry, lanBlazer7000PortPacePriorityMgt=lanBlazer7000PortPacePriorityMgt, lanBlazer7000EventLogDescr=lanBlazer7000EventLogDescr, lanBlazer7000ActiveAlarmResID=lanBlazer7000ActiveAlarmResID, lanBlazer7000VirtualSwitchPortStatus=lanBlazer7000VirtualSwitchPortStatus, lanBlazer7000L2AddressChangeLast=lanBlazer7000L2AddressChangeLast, lanBlazer7000EventLogType=lanBlazer7000EventLogType, lanBlazer7000BridgePortTable=lanBlazer7000BridgePortTable, lanBlazer7000PortMgt=lanBlazer7000PortMgt, lanBlazer7000PowerControlEntry=lanBlazer7000PowerControlEntry, lanBlazer7000ModuleIndex=lanBlazer7000ModuleIndex, lanBlazer7000BridgeMgmt=lanBlazer7000BridgeMgmt, lanBlazer7000PortStatus=lanBlazer7000PortStatus, lanBlazer7000PowerMgmtCtl=lanBlazer7000PowerMgmtCtl, lanBlazer7000VirtualSwitchPortBridgePort=lanBlazer7000VirtualSwitchPortBridgePort, lanBlazer7000Events=lanBlazer7000Events, lanBlazer7000InventorySerialNumber=lanBlazer7000InventorySerialNumber, lanBlazer7000PowerSupplyType=lanBlazer7000PowerSupplyType, lanBlazer7000LogLastEntry=lanBlazer7000LogLastEntry, lanBlazer7000SwitchPortVlanBindingMethod=lanBlazer7000SwitchPortVlanBindingMethod, lanBlazer7000InventoryVersion=lanBlazer7000InventoryVersion, lanBlazer7000EventShutdownLog=lanBlazer7000EventShutdownLog, lanBlazer7000HuntGroupStatus=lanBlazer7000HuntGroupStatus, lanBlazer7000PowerControlMode=lanBlazer7000PowerControlMode, lanBlazer7000L2AddrDatabaseMgt=lanBlazer7000L2AddrDatabaseMgt, ods=ods, lanBlazer7000PortCategoryEntry=lanBlazer7000PortCategoryEntry, lanBlazer7000SwitchPortTrunkingMode=lanBlazer7000SwitchPortTrunkingMode, lanBlazer7000HuntGroupMgt=lanBlazer7000HuntGroupMgt, lanBlazer7000SwitchingLayerII=lanBlazer7000SwitchingLayerII, lanBlazer7000EventTrapID=lanBlazer7000EventTrapID, lanBlazer7000PortFlowControlTable=lanBlazer7000PortFlowControlTable, lanBlazer7000ActiveAlarmIndex=lanBlazer7000ActiveAlarmIndex, lanBlazer7000EventEntry=lanBlazer7000EventEntry, lanBlazer7000ModuleName=lanBlazer7000ModuleName, lanBlazer7000PortAutoNegotiationMgt=lanBlazer7000PortAutoNegotiationMgt, lanBlazer7000BridgePortEnable=lanBlazer7000BridgePortEnable, lanBlazer7000PortSpeedTable=lanBlazer7000PortSpeedTable, lanBlazer7000SwitchPortKnownMode=lanBlazer7000SwitchPortKnownMode, lanBlazer7000BridgeStpTimeSinceTopologyChange=lanBlazer7000BridgeStpTimeSinceTopologyChange, lanBlazer7000TempEntry=lanBlazer7000TempEntry, lanBlazer7000InventoryManufactureInfo=lanBlazer7000InventoryManufactureInfo, lanBlazer7000BridgeStpForwardDelay=lanBlazer7000BridgeStpForwardDelay, lanBlazer7000L2AddressChangeWraps=lanBlazer7000L2AddressChangeWraps, lanBlazer7000PortPacePriorityMode=lanBlazer7000PortPacePriorityMode, lanBlazer7000BufferPriorityThreshold=lanBlazer7000BufferPriorityThreshold, lanBlazer7000L2AddressVlanID=lanBlazer7000L2AddressVlanID, lanBlazer7000BridgePortPriority=lanBlazer7000BridgePortPriority, lanBlazer7000BufferCongestion=lanBlazer7000BufferCongestion, lanBlazer7000ChassisGen=lanBlazer7000ChassisGen, lanBlazer7000VlanEntry=lanBlazer7000VlanEntry, lanBlazer7000EventIndex=lanBlazer7000EventIndex, lanBlazer7000CommunityEntry=lanBlazer7000CommunityEntry, lanBlazer7000BridgeStpHoldTime=lanBlazer7000BridgeStpHoldTime, lanBlazer7000PortSpeedMgt=lanBlazer7000PortSpeedMgt, lanBlazer7000BufferPriorityAllocation=lanBlazer7000BufferPriorityAllocation, lanBlazer7000SwitchPortHuntGroup=lanBlazer7000SwitchPortHuntGroup, lanBlazer7000VlanName=lanBlazer7000VlanName, lanBlazer7000L2AddressEntry=lanBlazer7000L2AddressEntry, lanBlazer7000ActiveAlarmOwner=lanBlazer7000ActiveAlarmOwner, lanBlazer7000CommunityString=lanBlazer7000CommunityString, lanBlazer7000PowerSupplyOutputStatus=lanBlazer7000PowerSupplyOutputStatus, lanBlazer7000VirtualSwitchPortBindingType=lanBlazer7000VirtualSwitchPortBindingType, lanBlazer7000EventLog=lanBlazer7000EventLog, lanBlazer7000EventShutdownLogID=lanBlazer7000EventShutdownLogID, lanBlazer7000BufferPriorityServicing=lanBlazer7000BufferPriorityServicing, lanBlazer7000L2AddressForward=lanBlazer7000L2AddressForward, lanBlazer7000EventTrapResID=lanBlazer7000EventTrapResID, lanBlazer7000CommunityStatus=lanBlazer7000CommunityStatus, lanBlazer7000BufferFabricPortDirection=lanBlazer7000BufferFabricPortDirection, lanBlazer7000ModulePorts=lanBlazer7000ModulePorts, lanBlazer7000HuntGroupBasePort=lanBlazer7000HuntGroupBasePort, lanBlazer7000SwitchPortFastStart=lanBlazer7000SwitchPortFastStart, lanBlazer7000EventShutdownLogResType=lanBlazer7000EventShutdownLogResType, lanBlazer7000L2AddrSummaryTable=lanBlazer7000L2AddrSummaryTable, lanBlazer7000L2AddrControlMgt=lanBlazer7000L2AddrControlMgt, lanBlazer70003ComMappingTableStatus=lanBlazer70003ComMappingTableStatus, lanBlazer7000EventShutdownLogSeverity=lanBlazer7000EventShutdownLogSeverity, lanBlazer7000VirtualSwitchPortIndex=lanBlazer7000VirtualSwitchPortIndex, lanBlazer7000SwitchPortEntry=lanBlazer7000SwitchPortEntry, lanBlazer7000PortAutoNegotiationDuplexAdvertisement=lanBlazer7000PortAutoNegotiationDuplexAdvertisement, lanBlazer7000BufferEntry=lanBlazer7000BufferEntry, lanBlazer7000SwitchPortIndex=lanBlazer7000SwitchPortIndex, lanBlazer7000AgentGen=lanBlazer7000AgentGen, lanBlazer7000VlanAFTIndex=lanBlazer7000VlanAFTIndex, lanBlazer7000BufferHighOverflowDrops=lanBlazer7000BufferHighOverflowDrops, lanBlazer7000BridgePortForwardTransitions=lanBlazer7000BridgePortForwardTransitions, lanBlazer7000PowerSystems=lanBlazer7000PowerSystems, lanBlazer7000SwitchPortSTAPMode=lanBlazer7000SwitchPortSTAPMode, lanBlazer7000PortRateLimitMode=lanBlazer7000PortRateLimitMode, lanBlazer7000AlarmGeneralActiveEntries=lanBlazer7000AlarmGeneralActiveEntries, lanBlazer7000PortFlowControlEntry=lanBlazer7000PortFlowControlEntry, lanBlazer7000PortEntry=lanBlazer7000PortEntry, lanBlazer7000PortSpeedState=lanBlazer7000PortSpeedState, lanBlazer7000L2AddressControlPortBinding=lanBlazer7000L2AddressControlPortBinding, lanBlazer7000PowerUsed=lanBlazer7000PowerUsed, lanBlazer7000BridgeMode=lanBlazer7000BridgeMode, lanBlazer7000BridgeType=lanBlazer7000BridgeType, lanBlazer7000PortGroupBinding=lanBlazer7000PortGroupBinding, lanBlazer7000PowerControlPriority=lanBlazer7000PowerControlPriority, lanBlazer7000BridgePortEntry=lanBlazer7000BridgePortEntry, lanBlazer7000L2AddrSummary=lanBlazer7000L2AddrSummary, lanBlazer7000PortAutoNegotiationSpeedAdvertisement=lanBlazer7000PortAutoNegotiationSpeedAdvertisement, lanBlazer7000SwitchPortPhysicalPort=lanBlazer7000SwitchPortPhysicalPort, lanBlazer7000AlarmGeneralTimeStamp=lanBlazer7000AlarmGeneralTimeStamp, lanBlazer7000SwitchPortTable=lanBlazer7000SwitchPortTable, lanBlazer7000PowerSupplyTable=lanBlazer7000PowerSupplyTable, lanBlazer7000VirtualSwitchPortTable=lanBlazer7000VirtualSwitchPortTable, lanBlazer7000InventoryResourceIndex=lanBlazer7000InventoryResourceIndex, lanBlazer7000BridgeStpRootCost=lanBlazer7000BridgeStpRootCost, lanBlazer7000PowerCapacity=lanBlazer7000PowerCapacity, lanBlazer7000PowerControlTable=lanBlazer7000PowerControlTable, lanBlazer7000EventShutdownLogResID=lanBlazer7000EventShutdownLogResID, lanBlazer7000ActiveAlarmTable=lanBlazer7000ActiveAlarmTable, lanBlazer7000PowerSupplyStatus=lanBlazer7000PowerSupplyStatus, odsLANBlazer=odsLANBlazer, lanBlazer7000EventLogDTM=lanBlazer7000EventLogDTM, lanBlazer7000EventLogTable=lanBlazer7000EventLogTable, lanBlazer7000PortDuplexMgt=lanBlazer7000PortDuplexMgt, lanBlazer7000L2AddressIndex=lanBlazer7000L2AddressIndex, lanBlazer7000VlanAutoIncrementHTSize=lanBlazer7000VlanAutoIncrementHTSize, lanBlazer7000VlanMappings=lanBlazer7000VlanMappings, lanBlazer7000ShutdownLogAcknowledged=lanBlazer7000ShutdownLogAcknowledged, lanBlazer70003ComMappingTableIndex=lanBlazer70003ComMappingTableIndex, lanBlazer7000Vlan3ComMappingTable=lanBlazer7000Vlan3ComMappingTable, lanBlazer7000LogTableMaxSize=lanBlazer7000LogTableMaxSize, lanBlazer7000EventLogResID=lanBlazer7000EventLogResID, lanBlazer7000L2AddressControlPersistence=lanBlazer7000L2AddressControlPersistence, lanBlazer7000BridgePortFastStart=lanBlazer7000BridgePortFastStart, lanBlazer7000PortIndex=lanBlazer7000PortIndex, lanBlazer7000BridgeIndex=lanBlazer7000BridgeIndex, lanBlazer7000Vlan3ComMappingIndex=lanBlazer7000Vlan3ComMappingIndex, lanBlazer7000InventoryScratchPad=lanBlazer7000InventoryScratchPad, lanBlazer7000L2AddressControlIndex=lanBlazer7000L2AddressControlIndex, lanBlazer7000Agent=lanBlazer7000Agent, lanBlazer7000HuntGroupLoadSharing=lanBlazer7000HuntGroupLoadSharing, lanBlazer7000PortAutoNegotiationMode=lanBlazer7000PortAutoNegotiationMode, lanBlazer7000Chassis=lanBlazer7000Chassis, lanBlazer7000L2AddressTable=lanBlazer7000L2AddressTable, lanBlazer7000FanTrap=lanBlazer7000FanTrap, lanBlazer7000SwitchSuperAgingTime=lanBlazer7000SwitchSuperAgingTime, lanBlazer7000HuntGroupEntry=lanBlazer7000HuntGroupEntry, lanBlazer7000CommunityAccess=lanBlazer7000CommunityAccess, lanBlazer7000PortSpeedEntry=lanBlazer7000PortSpeedEntry, lanBlazer7000L2AddrChangeMgt=lanBlazer7000L2AddrChangeMgt, lanBlazer7000BufferAgeTimer=lanBlazer7000BufferAgeTimer, lanBlazer7000SnmpTraps=lanBlazer7000SnmpTraps, lanBlazer7000PortMirroringRate=lanBlazer7000PortMirroringRate, lanBlazer7000SwitchPortConvertToStatic=lanBlazer7000SwitchPortConvertToStatic, lanBlazer7000PortFlowControlMode=lanBlazer7000PortFlowControlMode, lanBlazer7000EventTrapResLeaf=lanBlazer7000EventTrapResLeaf, lanBlazer7000VlanExchangeSwitch=lanBlazer7000VlanExchangeSwitch, lanBlazer7000BufferIndex=lanBlazer7000BufferIndex, lanBlazer7000L2AddrSummaryMgt=lanBlazer7000L2AddrSummaryMgt, lanBlazer7000BridgeStpBridgeForwardDelay=lanBlazer7000BridgeStpBridgeForwardDelay, lanBlazer7000ModuleTable=lanBlazer7000ModuleTable, lanBlazer7000ActiveAlarmLeaf=lanBlazer7000ActiveAlarmLeaf, lanBlazer7000ShutdownLogTableMaxSize=lanBlazer7000ShutdownLogTableMaxSize, lanBlazer7000TempValue=lanBlazer7000TempValue, lanBlazer7000Vlans=lanBlazer7000Vlans, lanBlazer7000PortRateLimitMgt=lanBlazer7000PortRateLimitMgt, lanBlazer7000SwitchSTPConfig=lanBlazer7000SwitchSTPConfig, lanBlazer7000EventShutdownLogEntry=lanBlazer7000EventShutdownLogEntry, lanBlazer7000ModuleSlotOffset=lanBlazer7000ModuleSlotOffset, lanBlazer7000BridgeStpMaxAge=lanBlazer7000BridgeStpMaxAge, lanBlazer7000PortRateLimitBurstSize=lanBlazer7000PortRateLimitBurstSize, lanBlazer7000PortMirroringSourceSubPort=lanBlazer7000PortMirroringSourceSubPort, lanBlazer7000VlanBridgeIndex=lanBlazer7000VlanBridgeIndex, lanBlazer7000EventShutdownLogIndex=lanBlazer7000EventShutdownLogIndex, odsLANBlazer7000Mib=odsLANBlazer7000Mib, lanBlazer7000VlanID=lanBlazer7000VlanID, lanBlazer7000ModuleBaseType=lanBlazer7000ModuleBaseType, lanBlazer7000PortCategoryTable=lanBlazer7000PortCategoryTable, lanBlazer7000PortBaseType=lanBlazer7000PortBaseType, ResourceId=ResourceId, lanBlazer7000ShutdownLogLastEntry=lanBlazer7000ShutdownLogLastEntry, lanBlazer7000EventLogEntry=lanBlazer7000EventLogEntry, lanBlazer7000EventShutdownLogEventIndex=lanBlazer7000EventShutdownLogEventIndex, lanBlazer7000BridgePortDesignatedBridge=lanBlazer7000BridgePortDesignatedBridge, lanBlazer7000PowerSupplyOutputCapacity=lanBlazer7000PowerSupplyOutputCapacity, lanBlazer7000PortDuplexMode=lanBlazer7000PortDuplexMode, lanBlazer7000PortType=lanBlazer7000PortType, lanBlazer7000VlanStatus=lanBlazer7000VlanStatus, lanBlazer7000BridgeStpPriority=lanBlazer7000BridgeStpPriority, lanBlazer7000SwitchPortMirrorMode=lanBlazer7000SwitchPortMirrorMode, lanBlazer7000VlanMgt=lanBlazer7000VlanMgt, lanBlazer7000PortDuplexState=lanBlazer7000PortDuplexState, lanBlazer7000ModuleSlotWidth=lanBlazer7000ModuleSlotWidth, lanBlazer7000VlanInitialHashTableSize=lanBlazer7000VlanInitialHashTableSize, lanBlazer7000PowerSupplies=lanBlazer7000PowerSupplies, lanBlazer7000AgentMIBVersion=lanBlazer7000AgentMIBVersion, lanBlazer7000EventTable=lanBlazer7000EventTable, lanBlazer7000BridgeTable=lanBlazer7000BridgeTable, lanBlazer7000PortAutoNegotiationEntry=lanBlazer7000PortAutoNegotiationEntry, lanBlazer7000EventTrapValue=lanBlazer7000EventTrapValue, lanBlazer7000VlanExchange=lanBlazer7000VlanExchange, lanBlazer7000SwitchPortMgt=lanBlazer7000SwitchPortMgt, lanBlazer7000TempLowerWarning=lanBlazer7000TempLowerWarning, odsLANBlazerMibs=odsLANBlazerMibs, lanBlazer7000ActiveAlarmName=lanBlazer7000ActiveAlarmName, lanBlazer7000L2AddressPersistence=lanBlazer7000L2AddressPersistence, lanBlazer7000PortTable=lanBlazer7000PortTable, lanBlazer7000VlanTable=lanBlazer7000VlanTable, lanBlazer7000Alarms=lanBlazer7000Alarms, lanBlazer7000BridgePortPathCost=lanBlazer7000BridgePortPathCost, lanBlazer7000PortFlowControlMgt=lanBlazer7000PortFlowControlMgt, lanBlazer7000BufferFabricPort=lanBlazer7000BufferFabricPort, lanBlazer7000InventoryTable=lanBlazer7000InventoryTable, lanBlazer7000ActiveAlarmResType=lanBlazer7000ActiveAlarmResType, lanBlazer7000EventTrapValueType=lanBlazer7000EventTrapValueType, lanBlazer7000SwitchPortVlanExchange=lanBlazer7000SwitchPortVlanExchange, lanBlazer7000EventLogSeverity=lanBlazer7000EventLogSeverity, lanBlazer7000HuntGroupName=lanBlazer7000HuntGroupName, lanBlazer7000ChassisType=lanBlazer7000ChassisType, lanBlazer7000EventShutdownLogDescr=lanBlazer7000EventShutdownLogDescr, lanBlazer7000ActiveAlarmVariable=lanBlazer7000ActiveAlarmVariable, odsTPS=odsTPS, lanBlazer7000L2AddrMgmt=lanBlazer7000L2AddrMgmt, lanBlazer7000BridgePortState=lanBlazer7000BridgePortState, lanBlazer7000BridgeStpBridgeHelloTime=lanBlazer7000BridgeStpBridgeHelloTime, lanBlazer7000BridgeStpRootPort=lanBlazer7000BridgeStpRootPort, lanBlazer7000VlanExchangeDomainName=lanBlazer7000VlanExchangeDomainName, lanBlazer7000PortCategoryMode=lanBlazer7000PortCategoryMode, lanBlazer7000SwitchPortMappingMethod=lanBlazer7000SwitchPortMappingMethod, lanBlazer7000SwitchGen=lanBlazer7000SwitchGen, lanBlazer7000HuntGroupNumberOfPorts=lanBlazer7000HuntGroupNumberOfPorts, lanBlazer7000BufferCongestionDrops=lanBlazer7000BufferCongestionDrops, lanBlazer7000BridgePortDesignatedRoot=lanBlazer7000BridgePortDesignatedRoot, lanBlazer7000BridgePortIndex=lanBlazer7000BridgePortIndex, lanBlazer7000EventTrapTime=lanBlazer7000EventTrapTime, lanBlazer7000PortMirroringEntry=lanBlazer7000PortMirroringEntry, lanBlazer7000PortSpeedMode=lanBlazer7000PortSpeedMode, lanBlazer7000SwitchPortVlanID=lanBlazer7000SwitchPortVlanID, lanBlazer7000BridgePortEnableChangeDetection=lanBlazer7000BridgePortEnableChangeDetection, lanBlazer7000InventoryResourceType=lanBlazer7000InventoryResourceType, lanBlazer7000BridgeStpBridgeMaxAge=lanBlazer7000BridgeStpBridgeMaxAge, lanBlazer7000PortRateLimitEntry=lanBlazer7000PortRateLimitEntry, lanBlazer7000PortRateLimitRate=lanBlazer7000PortRateLimitRate, lanBlazer7000PortCategoryMgt=lanBlazer7000PortCategoryMgt, lanBlazer7000AgentWeb=lanBlazer7000AgentWeb, lanBlazer7000TempLowerLimit=lanBlazer7000TempLowerLimit)
mibBuilder.exportSymbols("ODSLANBlazer7000-MIB", lanBlazer7000PortMirroringTable=lanBlazer7000PortMirroringTable, lanBlazer7000PortConnector=lanBlazer7000PortConnector, lanBlazer7000PortDuplexEntry=lanBlazer7000PortDuplexEntry, lanBlazer7000VirtualPorts=lanBlazer7000VirtualPorts, lanBlazer7000EventShutdownLogEpochTime=lanBlazer7000EventShutdownLogEpochTime, lanBlazer7000EventTrapAction=lanBlazer7000EventTrapAction, lanBlazer7000EventShutdownLogTable=lanBlazer7000EventShutdownLogTable, lanBlazer7000PowerSupplyEntry=lanBlazer7000PowerSupplyEntry, lanBlazer7000L2AddressControlVlanID=lanBlazer7000L2AddressControlVlanID, lanBlazer70003ComMappingTable=lanBlazer70003ComMappingTable, lanBlazer7000ConfigurationTrap=lanBlazer7000ConfigurationTrap, lanBlazer7000VlanExchangeUpdateTimeStamp=lanBlazer7000VlanExchangeUpdateTimeStamp, lanBlazer70003ComMappingEntry=lanBlazer70003ComMappingEntry, lanBlazer7000L2AddressControlStatus=lanBlazer7000L2AddressControlStatus, lanBlazer7000SwitchPortIfIndex=lanBlazer7000SwitchPortIfIndex, lanBlazer7000ActiveAlarmValueLow=lanBlazer7000ActiveAlarmValueLow, lanBlazer7000EventTrapSeverity=lanBlazer7000EventTrapSeverity, lanBlazer7000BridgeStpTopChanges=lanBlazer7000BridgeStpTopChanges, lanBlazer7000EventLogValue=lanBlazer7000EventLogValue, lanBlazer70003ComMapping=lanBlazer70003ComMapping, lanBlazer7000BufferLowOverflowDrops=lanBlazer7000BufferLowOverflowDrops, lanBlazer7000BufferSwitchPort=lanBlazer7000BufferSwitchPort, lanBlazer7000Vlan3ComMapping=lanBlazer7000Vlan3ComMapping, lanBlazer7000EventLogValueType=lanBlazer7000EventLogValueType, lanBlazer7000L2AddressControlEntry=lanBlazer7000L2AddressControlEntry, lanBlazer7000PortMirroringSamplerType=lanBlazer7000PortMirroringSamplerType, lanBlazer7000VlanIfIndex=lanBlazer7000VlanIfIndex, lanBlazer7000EventShutdownLogValue=lanBlazer7000EventShutdownLogValue, lanBlazer7000ActiveAlarmValueHigh=lanBlazer7000ActiveAlarmValueHigh, lanBlazer7000CommunityIndex=lanBlazer7000CommunityIndex, lanBlazer7000ChassisSlots=lanBlazer7000ChassisSlots, RowStatus=RowStatus, lanBlazer7000L2AddressChangeMaxEntries=lanBlazer7000L2AddressChangeMaxEntries, lanBlazer7000TempUpperLimit=lanBlazer7000TempUpperLimit, lanBlazer7000VlanExchangeState=lanBlazer7000VlanExchangeState, lanBlazer7000EventLogID=lanBlazer7000EventLogID, lanBlazer7000CommunityTrapReceiver=lanBlazer7000CommunityTrapReceiver, lanBlazer7000L2AddressStatus=lanBlazer7000L2AddressStatus, lanBlazer7000L2AddressChangeIndexChanged=lanBlazer7000L2AddressChangeIndexChanged, lanBlazer7000SwitchPortAutoVlanCreation=lanBlazer7000SwitchPortAutoVlanCreation, lanBlazer7000VlanLearnStatus=lanBlazer7000VlanLearnStatus, lanBlazer7000L2AddressChangeEntry=lanBlazer7000L2AddressChangeEntry, lanBlazer7000Vlan3ComMappingStatus=lanBlazer7000Vlan3ComMappingStatus, lanBlazer7000L2AddressMacAddress=lanBlazer7000L2AddressMacAddress, lanBlazer7000Vlan3ComMappingVlanID=lanBlazer7000Vlan3ComMappingVlanID, lanBlazer7000EventLogResLeaf=lanBlazer7000EventLogResLeaf, lanBlazer7000EventTrapEpochTime=lanBlazer7000EventTrapEpochTime, lanBlazer7000EventLogResType=lanBlazer7000EventLogResType, lanBlazer7000EventShutdownLogValueType=lanBlazer7000EventShutdownLogValueType, lanBlazer7000PortMirroringMgt=lanBlazer7000PortMirroringMgt, lanBlazer7000PortMirroringMirrorPort=lanBlazer7000PortMirroringMirrorPort, lanBlazer7000VirtualSwitchPortFormat=lanBlazer7000VirtualSwitchPortFormat, lanBlazer7000PowerControlUsed=lanBlazer7000PowerControlUsed, lanBlazer7000Inventory=lanBlazer7000Inventory, lanBlazer7000AlarmMgt=lanBlazer7000AlarmMgt, lanBlazer7000PortDuplexTable=lanBlazer7000PortDuplexTable, lanBlazer7000ModuleType=lanBlazer7000ModuleType, lanBlazer7000BridgeStpHelloTime=lanBlazer7000BridgeStpHelloTime, lanBlazer7000BridgePortDesignatedCost=lanBlazer7000BridgePortDesignatedCost, lanBlazer7000BridgePortDesignatedPort=lanBlazer7000BridgePortDesignatedPort, lanBlazer7000InventoryModelNumber=lanBlazer7000InventoryModelNumber, lanBlazer7000BridgeEntry=lanBlazer7000BridgeEntry, lanBlazer7000L2AddressTableIndex=lanBlazer7000L2AddressTableIndex, lanBlazer7000LogWraps=lanBlazer7000LogWraps, lanBlazer7000L2AddressChangeTable=lanBlazer7000L2AddressChangeTable, lanBlazer7000SystemTrap=lanBlazer7000SystemTrap, lanBlazer7000ResourceTrap=lanBlazer7000ResourceTrap, DisplayString=DisplayString, lanBlazer7000AgentWebServerURL=lanBlazer7000AgentWebServerURL, lanBlazer7000L2AddressChangeIndex=lanBlazer7000L2AddressChangeIndex, lanBlazer7000EventLogMgt=lanBlazer7000EventLogMgt, lanBlazer7000PortMirroringIndex=lanBlazer7000PortMirroringIndex, lanBlazer7000PortMode=lanBlazer7000PortMode, lanBlazer7000EventLogAction=lanBlazer7000EventLogAction, lanBlazer7000BufferLowStaleDrops=lanBlazer7000BufferLowStaleDrops, Timeout=Timeout, lanBlazer7000EventTrapType=lanBlazer7000EventTrapType, lanBlazer7000CommunityAddress=lanBlazer7000CommunityAddress, lanBlazer7000AgentMgrIndex=lanBlazer7000AgentMgrIndex, lanBlazer7000PortAutoNegotiationTable=lanBlazer7000PortAutoNegotiationTable, lanBlazer7000L2AddressChangeWrapCount=lanBlazer7000L2AddressChangeWrapCount, lanBlazer7000PortRateLimitTable=lanBlazer7000PortRateLimitTable, lanBlazer7000EventTrapMgmt=lanBlazer7000EventTrapMgmt, lanBlazer7000EventTrapResType=lanBlazer7000EventTrapResType, lanBlazer7000EventLogEventIndex=lanBlazer7000EventLogEventIndex, lanBlazer7000EventShutdownLogTime=lanBlazer7000EventShutdownLogTime, lanBlazer7000SwitchPortIgnoreTag=lanBlazer7000SwitchPortIgnoreTag, lanBlazer7000EventShutdownLogType=lanBlazer7000EventShutdownLogType, lanBlazer7000PowerSupplyInputStatus=lanBlazer7000PowerSupplyInputStatus, lanBlazer7000CommunityAddressType=lanBlazer7000CommunityAddressType, lanBlazer7000BufferMemory=lanBlazer7000BufferMemory, lanBlazer7000TemperatureTrap=lanBlazer7000TemperatureTrap, lanBlazer7000CommunityTable=lanBlazer7000CommunityTable, lanBlazer70003ComMappingTableName=lanBlazer70003ComMappingTableName, lanBlazer7000L2AddressControlTable=lanBlazer7000L2AddressControlTable, lanBlazer7000L2AddressBindingValid=lanBlazer7000L2AddressBindingValid, lanBlazer7000EventMode=lanBlazer7000EventMode, lanBlazer7000EventLogEpochTime=lanBlazer7000EventLogEpochTime, lanBlazer7000L2AddressChangeSummary=lanBlazer7000L2AddressChangeSummary, lanBlazer7000EventLogIndex=lanBlazer7000EventLogIndex, lanBlazer7000ModuleEntry=lanBlazer7000ModuleEntry, lanBlazer7000Vlan3ComMappingEntry=lanBlazer7000Vlan3ComMappingEntry, lanBlazer7000L2AddressControlPriority=lanBlazer7000L2AddressControlPriority, lanBlazer7000PortPacePriorityTable=lanBlazer7000PortPacePriorityTable, lanBlazer7000Ports=lanBlazer7000Ports, lanBlazer7000EventShutdownLogDTM=lanBlazer7000EventShutdownLogDTM, lanBlazer7000EventTrapDTM=lanBlazer7000EventTrapDTM, lanBlazer7000BufferHighStaleDrops=lanBlazer7000BufferHighStaleDrops, lanBlazer7000BridgeStatus=lanBlazer7000BridgeStatus, lanBlazer7000HuntGroupIndex=lanBlazer7000HuntGroupIndex, lanBlazer7000VirtualSwitchPortEntry=lanBlazer7000VirtualSwitchPortEntry, ResourceType=ResourceType, lanBlazer7000L2AddressPriority=lanBlazer7000L2AddressPriority, lanBlazer7000EventShutdownLogResLeaf=lanBlazer7000EventShutdownLogResLeaf, lanBlazer7000Switching=lanBlazer7000Switching, lanBlazer7000CommunitySecurityLevel=lanBlazer7000CommunitySecurityLevel, lanBlazer7000AgentWebServerHelpDirectory=lanBlazer7000AgentWebServerHelpDirectory, lanBlazer7000EventTrapDescr=lanBlazer7000EventTrapDescr, lanBlazer7000EventTrapEventIndex=lanBlazer7000EventTrapEventIndex, lanBlazer7000EventMgt=lanBlazer7000EventMgt, lanBlazer7000PortName=lanBlazer7000PortName, lanBlazer7000SwitchPort3ComMappingTableIndex=lanBlazer7000SwitchPort3ComMappingTableIndex, lanBlazer7000Modules=lanBlazer7000Modules, lanBlazer7000TempIndex=lanBlazer7000TempIndex, lanBlazer7000PowerTrap=lanBlazer7000PowerTrap, lanBlazer7000AlarmGeneral=lanBlazer7000AlarmGeneral, lanBlazer7000TempUpperWarning=lanBlazer7000TempUpperWarning, lanBlazer7000Temperature=lanBlazer7000Temperature, lanBlazer7000L2AddressControlMacAddress=lanBlazer7000L2AddressControlMacAddress, lanBlazer7000InventoryEntry=lanBlazer7000InventoryEntry, lanBlazer7000BufferTable=lanBlazer7000BufferTable, lanBlazer7000ActiveAlarmEntry=lanBlazer7000ActiveAlarmEntry, lanBlazer7000VlanExchangeConfigRevNum=lanBlazer7000VlanExchangeConfigRevNum, lanBlazer7000L2AddressCopy=lanBlazer7000L2AddressCopy, lanBlazer7000EventLogTime=lanBlazer7000EventLogTime, lanBlazer7000BridgePortSetDefault=lanBlazer7000BridgePortSetDefault, lanBlazer7000ShutdownLogMgt=lanBlazer7000ShutdownLogMgt, lanBlazer7000HuntGroupTable=lanBlazer7000HuntGroupTable, lanBlazer7000BridgeStpDesignatedRoot=lanBlazer7000BridgeStpDesignatedRoot, EventCategory=EventCategory, BridgeId=BridgeId, lanBlazer7000L2AddressPortBinding=lanBlazer7000L2AddressPortBinding)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, constraints_intersection, value_size_constraint, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(module_identity, time_ticks, enterprises, iso, integer32, object_identity, bits, counter64, gauge32, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, notification_type, ip_address, notification_type, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'TimeTicks', 'enterprises', 'iso', 'Integer32', 'ObjectIdentity', 'Bits', 'Counter64', 'Gauge32', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'NotificationType', 'IpAddress', 'NotificationType', 'Unsigned32')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
class Eventvaluetype(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))
named_values = named_values(('none', 1), ('integer', 2), ('longInteger', 3), ('string', 4), ('octets', 5), ('ipAddress', 6), ('macAddress', 7), ('timeTicks', 8))
class Resourcetype(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))
named_values = named_values(('system', 1), ('module', 2), ('fan', 3), ('temperatureSensor', 4), ('interface', 5), ('powerSupply', 6), ('display', 7), ('switchPort', 8), ('bridge', 9), ('vlan', 10), ('aft', 11), ('inboundGroupTable', 12), ('outboundGroupTable', 13), ('threeComMappingTable', 14), ('event', 15), ('alarm', 16))
class Resourceid(ObjectIdentifier):
pass
class Displaystring(OctetString):
pass
class Rowstatus(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))
named_values = named_values(('active', 1), ('notInService', 2), ('notReady', 3), ('createAndGo', 4), ('createAndWait', 5), ('destroy', 6))
class Macaddress(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(6, 6)
fixed_length = 6
class Bridgeid(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8)
fixed_length = 8
class Timeout(Integer32):
pass
class Eventcategory(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))
named_values = named_values(('userDefined', 1), ('coldstart', 2), ('warmstart', 3), ('linkUp', 4), ('linkDown', 5), ('newResource', 6), ('deletedResource', 7), ('tempStatus', 8), ('configuration', 9), ('scheduled', 10), ('authentication', 11), ('system', 12), ('risingThreshold', 13), ('fallingThreshold', 14), ('fanStatus', 15), ('powerStatus', 16), ('status', 17), ('bridgeNewRoot', 18), ('bridgeTopChange', 19), ('switchFabricStatus', 20))
ods = mib_identifier((1, 3, 6, 1, 4, 1, 50))
ods_tps = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8))
ods_lan_blazer = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1))
ods_lan_blazer_mibs = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2))
ods_lan_blazer7000_mib = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1))
lan_blazer7000_agent = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1))
lan_blazer7000_agent_gen = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 1))
lan_blazer7000_agent_mib_version = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000AgentMIBVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000AgentMIBVersion.setDescription('The version of the LANBlazer 700 Enterprise Specific MIB that this agent supports.')
lan_blazer7000_agent_mgr_index = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000AgentMgrIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000AgentMgrIndex.setDescription('The value of this object represents the index into the community table that is used to authenticate SNMP requests for this manager.')
lan_blazer7000_agent_community = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2))
lan_blazer7000_community_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000CommunityTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityTable.setDescription('')
lan_blazer7000_community_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000CommunityIndex'))
if mibBuilder.loadTexts:
lanBlazer7000CommunityEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityEntry.setDescription('')
lan_blazer7000_community_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000CommunityIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityIndex.setDescription('An index that uniquely identifies this entry.')
lan_blazer7000_community_string = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunityString.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityString.setDescription('The community string included in the SNMP PDU used for authentication purposes.')
lan_blazer7000_community_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('any', 1), ('ipv4', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunityAddressType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityAddressType.setDescription('The type of address associated with this community. If set to any(1), only the community string is authenticated.')
lan_blazer7000_community_address = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 4), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunityAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityAddress.setDescription('If the address type is any, then the value of this object is a null string. If the type is ipv4(2), then this value represents a 4 byte IP address.')
lan_blazer7000_community_access = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('readOnly', 2), ('readWrite', 3), ('moreSpecific', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunityAccess.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityAccess.setDescription('The MIB access supported for this community entry. A Get or GetNext SNMP PDU is authenticated if the value of this object is read-only(2) or read-write(3). A Set request will be honored if the value of this object is read-write(3). If more granular access control is desired, then the value of this object is set to more-specific(4), and the view table should be consulted. This enables the capability to set different access rights to different branches of the MIB for a particular community. ')
lan_blazer7000_community_trap_receiver = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunityTrapReceiver.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityTrapReceiver.setDescription('If set to enable(1), this community entry is considered a trap receiver. When the agent generates an SNMP trap, a copy will be sent to this host using this community string.')
lan_blazer7000_community_security_level = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('administrator', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunitySecurityLevel.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunitySecurityLevel.setDescription('Secure tables are only accessible from users with security clearance. For example, this table (the community table) is only accessible by parties that have the security clearance.')
lan_blazer7000_community_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 2, 1, 1, 8), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000CommunityStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000CommunityStatus.setDescription('')
lan_blazer7000_agent_web = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 3))
lan_blazer7000_agent_web_server_url = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 3, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000AgentWebServerURL.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000AgentWebServerURL.setDescription("The URL of where the document server software is installed. The switch uses this location to find online help and bimapped graphics. Enter the host name or IP address of the HTTP server at the HTTP Server Location prompt, followed by ':2010'. For example, for a host named 'phantom,', enter 'http://phantom:2010'. If no server is desired or installed, set this object to the empty string.")
lan_blazer7000_agent_web_server_help_directory = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 1, 3, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000AgentWebServerHelpDirectory.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000AgentWebServerHelpDirectory.setDescription("The subdirectory that contains the help files on the document server. Typically, this directory is 'help'.")
lan_blazer7000_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3))
lan_blazer7000_chassis_gen = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 1))
lan_blazer7000_chassis_type = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('p550', 1), ('p220', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ChassisType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ChassisType.setDescription('The model of the chassis that this agent is managing.')
lan_blazer7000_chassis_slots = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ChassisSlots.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ChassisSlots.setDescription('The number of slots available in this chassis. If this chassis is a stackable chassis, the total capacity of stacking units.')
lan_blazer7000_inventory = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2))
lan_blazer7000_inventory_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000InventoryTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryTable.setDescription('A table of inventory information.')
lan_blazer7000_inventory_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000InventoryResourceType'), (0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000InventoryResourceIndex'))
if mibBuilder.loadTexts:
lanBlazer7000InventoryEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryEntry.setDescription('Inventory information related to this device.')
lan_blazer7000_inventory_resource_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 1), resource_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000InventoryResourceType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryResourceType.setDescription('The resource class of this inventory item.')
lan_blazer7000_inventory_resource_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 2), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000InventoryResourceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryResourceIndex.setDescription('The resource identifier of this inventory item.')
lan_blazer7000_inventory_model_number = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000InventoryModelNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryModelNumber.setDescription('The model number of this device.')
lan_blazer7000_inventory_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000InventorySerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventorySerialNumber.setDescription('The serial number of this device.')
lan_blazer7000_inventory_version = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000InventoryVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryVersion.setDescription('The revision number of this device.')
lan_blazer7000_inventory_manufacture_info = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000InventoryManufactureInfo.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryManufactureInfo.setDescription('Information related to the manufacturing of this device.')
lan_blazer7000_inventory_scratch_pad = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 2, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000InventoryScratchPad.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000InventoryScratchPad.setDescription('A scratch pad area available for keeping user-supplied inventory information. ')
lan_blazer7000_power_systems = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3))
lan_blazer7000_power_supplies = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1))
lan_blazer7000_power_supply_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1))
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyTable.setDescription('A table of information related to each power supply in the system.')
lan_blazer7000_power_supply_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PowerSupplyIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyEntry.setDescription('An entry providing information about a particular power supply in the system.')
lan_blazer7000_power_supply_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyIndex.setDescription('An index that uniquely identifies this power supply. This index corresponds to the lanBlazer7000ResourceIndex of the power supply type resource.')
lan_blazer7000_power_supply_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('psA', 2), ('psB', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyType.setDescription('An enumerated integer describing the type of power supply. ')
lan_blazer7000_power_supply_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('okay', 1), ('faulty', 2), ('unknown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyStatus.setDescription('The status of this power supply. Okay(1) indicates the power supply is operating properly. Faulty(2) indicates that the power supply is not functioning properly. In this case, more information can be determined from the other power supply attributes.')
lan_blazer7000_power_supply_input_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('okay', 1), ('faulty', 2), ('unknown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyInputStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyInputStatus.setDescription('The status of the input power feed (e.g. the AC power cord) to this power supply.')
lan_blazer7000_power_supply_output_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('okay', 1), ('faulty', 2), ('unknown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyOutputStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyOutputStatus.setDescription('The status of the output power from this power supply.')
lan_blazer7000_power_supply_output_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 1, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyOutputCapacity.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerSupplyOutputCapacity.setDescription('The total capacity of power supplied by this supply in Watts.')
lan_blazer7000_power_mgmt_gen = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 2))
lan_blazer7000_power_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 2, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerCapacity.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerCapacity.setDescription('The total capacity (in Watts) of power available (currently) in the system.')
lan_blazer7000_power_used = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 2, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerUsed.setDescription('The total power (in Watts) currently being consumed in the system.')
lan_blazer7000_power_mgmt_ctl = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3))
lan_blazer7000_power_control_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1))
if mibBuilder.loadTexts:
lanBlazer7000PowerControlTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlTable.setDescription('This table manages the power attributes associated with each module.')
lan_blazer7000_power_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000ModuleIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PowerControlEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlEntry.setDescription('An entry in the power control table manages the power attributes of the specified module.')
lan_blazer7000_power_control_used = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlUsed.setDescription('The total power (in Watts) used by this module.')
lan_blazer7000_power_control_priority = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('high', 1), ('normal', 2), ('low', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlPriority.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlPriority.setDescription('The priority of this module to be considered in the event of a power supply failure where the amount of power used exceeds the system capacity. Low priority modules will be powered down before higher priority modules.')
lan_blazer7000_power_control_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 3, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('poweredDown', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PowerControlMode.setDescription('Normally, a module power mode is enable(1). In the event of a power supply failure resulting in a power shortage, or in the event of this module being inserted without enough available power, the mode will be poweredDown(3). Setting this object to the value of poweredDown(3) will result in an error. When enough power is available, the module will power back up when in this mode. A module may be powered down through administrative action by setting the value of this object to disable(2). In this mode, the module will remain powered down until the mode is set back to enable.')
lan_blazer7000_temperature = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4))
lan_blazer7000_temp_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1))
if mibBuilder.loadTexts:
lanBlazer7000TempTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempTable.setDescription('A table of information related to the temperature within the system.')
lan_blazer7000_temp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000TempIndex'))
if mibBuilder.loadTexts:
lanBlazer7000TempEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempEntry.setDescription('An entry providing temperature information related to a specific temperature probe in the system.')
lan_blazer7000_temp_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000TempIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempIndex.setDescription('A unique index that identifies this temperature probe. This index corresponds to the lanBlazer7000ResourceIndex for temperature probe type resources.')
lan_blazer7000_temp_value = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000TempValue.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempValue.setDescription('The current temperature reading of this temperature probe in degrees Celsius.')
lan_blazer7000_temp_upper_limit = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000TempUpperLimit.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempUpperLimit.setDescription('The upper temperature limit of this temperature probe in degrees Celsius.')
lan_blazer7000_temp_upper_warning = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000TempUpperWarning.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempUpperWarning.setDescription('The upper temperature warning of this temperature probe in degrees Celsius.')
lan_blazer7000_temp_lower_warning = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000TempLowerWarning.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempLowerWarning.setDescription('The lower temperature warning of this temperature probe in degrees Celsius.')
lan_blazer7000_temp_lower_limit = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 4, 1, 1, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000TempLowerLimit.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000TempLowerLimit.setDescription('The lower temperature limit of this temperature probe in degrees Celsius.')
lan_blazer7000_modules = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5))
lan_blazer7000_module_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1))
if mibBuilder.loadTexts:
lanBlazer7000ModuleTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleTable.setDescription('A table of information related to the modules in the system.')
lan_blazer7000_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000ModuleIndex'))
if mibBuilder.loadTexts:
lanBlazer7000ModuleEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleEntry.setDescription('Attributes related to managing this module.')
lan_blazer7000_module_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ModuleIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleIndex.setDescription('An index that uniquely identifies this module. This index corresponds to the lanBlazer7000ResourceIndex associated with module type resources.')
lan_blazer7000_module_name = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000ModuleName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleName.setDescription('A user-assignable name for this module.')
lan_blazer7000_module_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=named_values(('unknown', 1), ('m5502-1000', 2), ('m2206-1000', 3), ('m5520-100TX-QS', 4), ('m5510-100FX', 5), ('m5500-SUP', 6), ('m5504-1000', 7), ('m2201-1000', 8), ('m5520-100TX-I', 9), ('m2202-100FX', 10), ('m5510R-100FX', 11), ('m5512R-100TX', 12), ('m5500R-SUP', 13), ('m5502R-1000', 14), ('m2200-SUP', 15), ('m2204-100TX', 16), ('m2224-100TX', 17)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ModuleType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleType.setDescription('An enumerated integer that is unique for each module model. ')
lan_blazer7000_module_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('gigabit', 1), ('fastEthernet', 2), ('supervisor', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ModuleBaseType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleBaseType.setDescription('The base type of this module. This object is used to describe the core functions of the module. Often, base designs are derived into multiple module types which are typically just packaging variations (e.g. changing the connector types). The value of this object corresponds to the value of lanBlazer7000ResourceBaseType.')
lan_blazer7000_module_slot_width = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ModuleSlotWidth.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleSlotWidth.setDescription('The number of slots that this module occupies.')
lan_blazer7000_module_slot_offset = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ModuleSlotOffset.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModuleSlotOffset.setDescription('The slot offset (one based) that identifies, along with the slot width and slot location, the actual slots that this module occupies. The offset identifies which slot within the width of the module that this module reports as its slot number.')
lan_blazer7000_module_ports = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 5, 1, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ModulePorts.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ModulePorts.setDescription('The total number of ports associated with this module.')
lan_blazer7000_ports = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6))
lan_blazer7000_port_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1))
lan_blazer7000_port_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortTable.setDescription('A table of information related to every data port in this data networking system.')
lan_blazer7000_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortEntry.setDescription('A data port associated with this data networking system.')
lan_blazer7000_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortIndex.setDescription('An index that uniquely identifies this port. Typically, ports are child resources of the module that contains them. In these cases, ports are identified by their module and their relative physical position on that module.')
lan_blazer7000_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortName.setDescription('The user-assigned name for this port. Note that setting this object for an internal(1) port results in an error.')
lan_blazer7000_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('internal', 1), ('ether-ten-oneHundred', 2), ('ether-oneHundred', 3), ('ether-gigabit', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortType.setDescription('An internal(1) port does not have an external connection. An ether-ten-oneHundred(2) port is an Ethernet port which can be switched between 10 and 100 megabits per second. An ether-oneHundred(3) port is a 100 megabits per second Fast Ethernet port. An ether-gigabit(4) port is a 1000 megabits per second Gigabit Ethernet port.')
lan_blazer7000_port_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('internal', 1), ('ether-ten-oneHundred', 2), ('ether-oneHundred', 3), ('ether-gigabit', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortBaseType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortBaseType.setDescription('The base type of this port. This object may be useful to help manage new port types that are similar in nature to legacy port types.')
lan_blazer7000_port_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMode.setDescription('The mode of this port. When set to enable(1), this port passes data. When set to disable(2), the port does not receive or transmit data, nor does it generate port-level signaling e.g. link integrity pulses. Note that setting an internal(1) port to disable(2) results in an error.')
lan_blazer7000_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('disabled', 1), ('okay', 2), ('warning', 3), ('disabledButOkay', 4), ('linkFailure', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortStatus.setDescription('The status of this port. Disabled(1) means that this port has been disabled through management action. Okay(2) indicates that this port is operating properly. Warning(3) indicates that this port is encountering an abnormal condition that, however, allows it to continue to pass data. LinkFailure(5) means that this port is unable to pass data.')
lan_blazer7000_port_connector = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('internal', 1), ('rj45', 2), ('fiber-ST', 3), ('fiber-SC', 4), ('rs-232', 5), ('aui', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortConnector.setDescription('The connector type associated with this port.')
lan_blazer7000_port_speed_state = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ten-megabits-per-second', 1), ('one-hundred-megabits-per-second', 2), ('one-gigabit-per-second', 3), ('under-negotiation', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedState.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedState.setDescription("The data rate of this port in bits per second. For example, a standard Ethernet port (e.g. 10BASE-T) would indicate a value of ten-megabits-per-second((1) indicating that the port supports a data rate of 10Mb/s. For ports that can change their data rate (e.g. 10/100 ports), the value of this object indicates the current state of the port's speed capability.")
lan_blazer7000_port_duplex_state = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('half-duplex', 1), ('full-duplex', 2), ('under-negotiation', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexState.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexState.setDescription('The value of this object indicates whether this port is operating in full- or half-duplex mode. The value under-negotiation(3) indicates that the port has not selected an operational duplex setting yet.')
lan_blazer7000_port_group_binding = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 1, 1, 1, 10), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortGroupBinding.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortGroupBinding.setDescription('Each port is associated with a port group. Typically, a port will belong to a port group of one and the value of this object will be the same as the port index for this instance. That is, this port will point to itself. The intent of this object is to help manage ports that have hierarchical relationships. For example, an ATM port typically has a physical port and multiple logical ports (e.g. each logical port corresponding to an instance of an emulated LAN). In this case, each LANE instance would refer to the instance of the physical port associated with the ATM front-end. Another example is an FDDI DAS type port. In this case, there is a logical port associated with the FDDI switch port which is connected to the two FDDI physical port connectors. The physical FDDI ports both point to the logical instance of an FDDI port.')
lan_blazer7000_port_flow_control_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2))
lan_blazer7000_port_flow_control_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortFlowControlTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortFlowControlTable.setDescription('A table of ports that support flow control.')
lan_blazer7000_port_flow_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortFlowControlEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortFlowControlEntry.setDescription('Configuration objects related to port based flow control.')
lan_blazer7000_port_flow_control_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 2, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('enable-with-aggressive-backoff', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortFlowControlMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortFlowControlMode.setDescription('Flow control is used to prevent or reduce the dropping of frames due to the lack of buffer space. Overall, networks are more efficient when a sending station is asked to pause in its sending process, rather than having the transmitted frames dropped. Flow control is not as efficient when used in conjunction with a shared ports, i.e. when used with a repeater. Therefore, flow control is not recommended for a port connected to shared topologies. Flow control is most effective when the port is directly connected to an end-station, especially when connected to a server. Flow control is recommended for ports connected directly to end-stations. When the port is in half-duplex mode, back pressure is used to control the incoming flow. Back pressure essentially forces collisions for short periods of time. When the port is in full-duplex mode, IEEE 802.3 standard pause frames are used to control the incoming flow. Note that setting an ether-gigabit(4) port to enable-with-aggressive-backoff(3) results in an error.')
lan_blazer7000_port_duplex_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3))
lan_blazer7000_port_duplex_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexTable.setDescription('A table of ports that support full- and half-duplex data communications.')
lan_blazer7000_port_duplex_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexEntry.setDescription('A port device configuration that controls the duplex mode of this port.')
lan_blazer7000_port_duplex_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 3, 1, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('half-duplex', 1), ('full-duplex', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortDuplexMode.setDescription('A point-to-point Ethernet port may be configured to support half or full duplex communications. A full-duplex(2) port transmits and receives data concurrently, effectively doubling the data rate of the port. Half-duplex(1) ports transmit or receive data, but not at the same time. Half-duplex ports use CSMA/CD as the access method to the network. Ports that are connected to shared segments (i.e. connected to a repeater), should always be configured to be in half-duplex mode. This object indicates the desired duplexity of this port. If auto-negotiation is turned on for this port, then this value is ignored.')
lan_blazer7000_port_speed_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4))
lan_blazer7000_port_speed_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedTable.setDescription('A table of port devices that support multiple speeds.')
lan_blazer7000_port_speed_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedEntry.setDescription('A port that supports multiple speeds.')
lan_blazer7000_port_speed_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 4, 1, 1, 41), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ten-megabits-per-second', 1), ('one-hundred-megabits-per-second', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortSpeedMode.setDescription('Some of these values may not be applicable to certain types of ports. This object indicates the desired data rate of this port. If auto-negotiation is turned on for this port, then this value is ignored.')
lan_blazer7000_port_auto_negotiation_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5))
lan_blazer7000_port_auto_negotiation_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationTable.setDescription('A table of ports that support auto-negotiation.')
lan_blazer7000_port_auto_negotiation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationEntry.setDescription('Attributes associated with a port that supports auto-negotiation.')
lan_blazer7000_port_auto_negotiation_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('autoNegotiate', 1), ('manualConfiguration', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationMode.setDescription("Setting this object to autoNegotiate(1) causes this port to negotiate the duplex mode and the port speed, subject to the port's capabilities.")
lan_blazer7000_port_auto_negotiation_speed_advertisement = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ten-and-one-hundred-megabits-per-second', 1), ('one-hundred-megabits-per-second', 2), ('ten-megabits-per-second', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationSpeedAdvertisement.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationSpeedAdvertisement.setDescription('The speed to advertise while auto-negotiating.')
lan_blazer7000_port_auto_negotiation_duplex_advertisement = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 5, 1, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('full-and-half-duplex', 1), ('half-duplex', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationDuplexAdvertisement.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortAutoNegotiationDuplexAdvertisement.setDescription('The duplexity to advertise while auto-negotiating.')
lan_blazer7000_port_rate_limit_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6))
lan_blazer7000_port_rate_limit_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitTable.setDescription('A table of ports that support the ability to limit the rate of floods.')
lan_blazer7000_port_rate_limit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitEntry.setDescription('The rate limit configuration associated with this port.')
lan_blazer7000_port_rate_limit_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1, 61), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('enableIncludeKnownMulticast', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitMode.setDescription('This object configures whether rate limiting is enabled for this port (the factory default is enable(1)). Enabling rate limiting for this port prevents floods from overwhelming the output buffer associated with this port. Normally, rate limiting will only consider frames that are flooded to this port. This typically does not include known multicasts. However, known multicasts can be included in the flood limiting by setting the value of this object to enableIncludeKnownMulticast(3).')
lan_blazer7000_port_rate_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1, 62), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('one-percent', 1), ('two-percent', 2), ('five-percent', 3), ('ten-percent', 4), ('twenty-percent', 5), ('forty-percent', 6), ('eighty-percent', 7)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitRate.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitRate.setDescription("The percentage of the port's transmitted data allowed to be floods (or floods and known multicasts). For example, the factory default setting of twenty-percent(4) indicates that 20% of the data rate can be floods. For 10 Mb/s ports, this is equivalent to a maximum rate of approximately 3000 flooded pps; for 100 Mb/s ports, a maximum rate of approximately 30,000 flooded pps.")
lan_blazer7000_port_rate_limit_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 6, 1, 1, 63), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('rateLimit1', 1), ('rateLimit2', 2), ('rateLimit4', 3), ('rateLimit8', 4), ('rateLimit16', 5), ('rateLimit32', 6), ('rateLimit64', 7), ('rateLimit128', 8), ('rateLimit256', 9), ('rateLimit1024', 10), ('rateLimit2048', 11)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitBurstSize.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortRateLimitBurstSize.setDescription("The maximum number of consecutive transmitted flooded (or flooded and known multicasted) packets. Typically, the burst size is set so as to not overflow the port's buffer.")
lan_blazer7000_port_pace_priority_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7))
lan_blazer7000_port_pace_priority_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortPacePriorityTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortPacePriorityTable.setDescription('A table of ports that support the ability to classify frame priority based on 3Com Pace(r) Prioritization.')
lan_blazer7000_port_pace_priority_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortPacePriorityEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortPacePriorityEntry.setDescription('A port that supports 3Com Pace(r) priority.')
lan_blazer7000_port_pace_priority_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 7, 1, 1, 71), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortPacePriorityMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortPacePriorityMode.setDescription("When Pace priority is enabled, this port will detect frames that use 3Com Corporation's Pace(r) Priority signaling. Frames signaled with priority in this manner are mapped to traffic priority level 4 (on scale of 0-7).")
lan_blazer7000_port_category_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8))
lan_blazer7000_port_category_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortCategoryTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortCategoryTable.setDescription('A table of ports that support the port category feature. Currently, all ports support this capability.')
lan_blazer7000_port_category_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortCategoryEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortCategoryEntry.setDescription('A port that supports port categorization.')
lan_blazer7000_port_category_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 6, 8, 1, 1, 81), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('userPort', 1), ('servicePort', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortCategoryMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortCategoryMode.setDescription('By default, all ports are considered service ports. A service port is a port that provides a networks service such as a connection to a server, other switches, or the like. A service port will trigger the service port event for status changes with the alarm severity and will trigger an alarm in the alarm table on link failure. In contrast, user ports trigger the user link event with warning severity. They do not trigger an alarm upon link failures. User ports are useful to prevent floods of traps or entries in the alarm table. This is especially true for ports connected to user hosts that power up in the morning and power down again at the end of the work day.')
lan_blazer7000_buffer_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7))
lan_blazer7000_buffer_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1))
if mibBuilder.loadTexts:
lanBlazer7000BufferTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferTable.setDescription('A table of frame buffers in the system.')
lan_blazer7000_buffer_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000BufferIndex'))
if mibBuilder.loadTexts:
lanBlazer7000BufferEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferEntry.setDescription('Objects related to the management of this frame buffer.')
lan_blazer7000_buffer_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferIndex.setDescription('The unique index that identifies this buffer within the system. Buffers are indexed first by their module association and then a unique index within that module.')
lan_blazer7000_buffer_fabric_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 2), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferFabricPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferFabricPort.setDescription('The switch fabric port associated with this buffer.')
lan_blazer7000_buffer_fabric_port_direction = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('in', 1), ('out', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferFabricPortDirection.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferFabricPortDirection.setDescription('The value of this object indicates whether the buffer is used for buffering frames going into the switching fabric or coming out of the fabric.')
lan_blazer7000_buffer_switch_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 4), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferSwitchPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferSwitchPort.setDescription('The switch port associated with this frame buffer. Some buffers are not associated with any one switch port. In those cases, the value of the resource ID returned will be the null resource ID.')
lan_blazer7000_buffer_memory = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferMemory.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferMemory.setDescription('The amount of memory available for frame buffering in Kilobytes (KB).')
lan_blazer7000_buffer_age_timer = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('quarter-second', 2), ('one-second', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BufferAgeTimer.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferAgeTimer.setDescription('Configures the timer used for aging frames in this buffer. If the timer expires for a frame, the frame is dropped and the event is counted in the stale drop counter. By default, the age timer is set to a 0.25 seconds (quarter of a second). The actual time that a frame may be aged out may vary. When set to a quarter of a second (250ms), the actual time may vary between 160ms and 320ms. When set to a second (1000ms), the time may vary between 640ms and 1.28 seconds (1028ms).')
lan_blazer7000_buffer_priority_servicing = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('strictPriority', 1), ('everyTenThousand', 2), ('everyThousand', 3), ('everyHundred', 4), ('everyFour', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BufferPriorityServicing.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferPriorityServicing.setDescription('The value of this object configures how often the normal priority queue is serviced relative to the high priority queue. By default, the normal priority queue is serviced every thousand frames(3). This means that the normal priority queue is guaranteed to be serviced after servicing, at most, one thousand high priority frames. It is important to service the normal priority queue for two reasons. One is to prevent starvation for frames on the normal priority queue. The other reason is that frames cannot be aged if they are not serviced (see the age timer).')
lan_blazer7000_buffer_priority_allocation = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('none', 1), ('tenPercent', 2), ('twentyPercent', 3), ('thirtyPercent', 4), ('fortyPercent', 5), ('fiftyPercent', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BufferPriorityAllocation.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferPriorityAllocation.setDescription('This object controls how much of the total buffer space should be allocated to high priority queue. Please be warned that setting this object to a different value causes the associated buffer to reset, causing a short loss of data. Setting the value of this object to none(1) not only allocates the entire buffer space to normal traffic, but also has the side effect of disabling the priority threshold. In other words, all traffic will be considered as normal priority traffic.')
lan_blazer7000_buffer_priority_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('none', 1), ('one', 2), ('two', 3), ('three', 4), ('four', 5), ('five', 6), ('six', 7), ('seven', 8)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BufferPriorityThreshold.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferPriorityThreshold.setDescription('This object configures the threshold for which frames are considered high priority. Frames may have a priority classification ranging from 0-7, 7 being the highest. By default, every frame that has priority 4 (four(5)) or above is considered a high priority frame and is buffered accordingly. If this buffer does not have any buffer space allocated for high priority frames, then the buffer threshold will be none(1). Setting this object to a different value without allocating buffer space to high priority traffic will result in an error.')
lan_blazer7000_buffer_congestion = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('informationNotAvailable', 1), ('notCongested', 2), ('congested', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferCongestion.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferCongestion.setDescription('This object indicates whether this buffer is in a congested state..')
lan_blazer7000_buffer_high_overflow_drops = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferHighOverflowDrops.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferHighOverflowDrops.setDescription('The count of the number of high priority frames dropped due to the high priority queue overflowing.')
lan_blazer7000_buffer_low_overflow_drops = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferLowOverflowDrops.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferLowOverflowDrops.setDescription('The count of the number of low priority frames dropped due to the low priority queue overflowing.')
lan_blazer7000_buffer_high_stale_drops = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferHighStaleDrops.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferHighStaleDrops.setDescription('The count of the number of high priority frames dropped due to being in the high priority queue too long (the frame aged out).')
lan_blazer7000_buffer_low_stale_drops = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferLowStaleDrops.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferLowStaleDrops.setDescription('The count of the number of low priority frames dropped due to being in the low priority queue too long (the frame aged out).')
lan_blazer7000_buffer_congestion_drops = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 3, 7, 1, 1, 16), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BufferCongestionDrops.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BufferCongestionDrops.setDescription('The count of the number of frames dropped due to the destination (output) buffer being congested. ')
lan_blazer7000_switching = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5))
lan_blazer7000_switching_layer_ii = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1))
lan_blazer7000_switch_gen = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1))
lan_blazer7000_switch_stp_config = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ieee8021dStp', 1), ('stpPerVlan', 2), ('twoLayerStp', 3), ('disable', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchSTPConfig.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchSTPConfig.setDescription("When set to ieee8021dStp(1), the switch executes spanning tree conformant to the IEEE 802.1D bridging standard. The switch runs one instance of spanning tree. When set to stpPerVlan(2), the switch executes a separate instance of spanning tree for each virtual LAN. This configuration conforms to the model that instances of virtual LANs within the switch are separate virtual bridging functions. This method may not work well with bridge/routers that are also running spanning tree. When set to twoLayerStp(3), the switch executes a two-layer spanning tree to prevent loops. Two layer spanning tree creates a higher 'plane' of spanning tree between VLAN devices. This method of running spanning tree is 'plug and play' with bridge/router type devices and also scales better than the other two methods for large environments. When set to disable(4), spanning tree is disabled in the switch.")
lan_blazer7000_switch_aging_time = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(10, 1000000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchAgingTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchAgingTime.setDescription('The timeout period in seconds for aging dynamically learned forwarding information. A default of 300 seconds is recommended. An aged entry is marked invalid, but is not removed from the Address Forwarding Table, because it is assumed that it will be relearned to the same location within the table.')
lan_blazer7000_switch_super_aging_time = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 30))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchSuperAgingTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchSuperAgingTime.setDescription('The timeout period in days for removing stale invalid entries from the Address Forwarding Table. A superaged entry is removed completely from the Address Forwarding Table, because it is assumed that the entry will never be relearned.')
lan_blazer7000_bridge_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2))
lan_blazer7000_bridge_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000BridgeTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeTable.setDescription('A table of Spanning Tree information for every bridge in the system.')
lan_blazer7000_bridge_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000BridgeIndex'))
if mibBuilder.loadTexts:
lanBlazer7000BridgeEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeEntry.setDescription('')
lan_blazer7000_bridge_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeIndex.setDescription('An index that uniquely identifies this bridge.')
lan_blazer7000_bridge_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('dot1d', 1), ('virtual', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeType.setDescription('Indicates whether this is a legacy dot1d bridge consisting of all switch ports or a virtual bridge consisting of all virtual subports for a particular Vlan.')
lan_blazer7000_bridge_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgeMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeMode.setDescription('Used to enable or disable Spanning Tree for this bridge. When set to disable(2), all BPDUs are forwarded like regular multicast packets. The default value is enable(1).')
lan_blazer7000_bridge_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStatus.setDescription('The enable/disable status of this bridge. This object incorporates the setting of the lanBlazer7000SwitchSTPConfig object. When lanBlazer7000SwitchSTPConfig is set such that this bridge will not be active, lanBlazer7000BridgeStatus returns disabled(2). If lanBlazer7000SwitchSTPConfig is set such that this bridge will be active, and lanBlazer7000BridgeMode is enable(1), this object returns enabled(2).')
lan_blazer7000_bridge_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpPriority.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpPriority.setDescription('The priority value of the Bridge Identifier. See dot1dStpPriority.')
lan_blazer7000_bridge_stp_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 6), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpTimeSinceTopologyChange.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpTimeSinceTopologyChange.setDescription('The time since the last topology change was detected. See dot1dStpTimeSinceTopologyChange.')
lan_blazer7000_bridge_stp_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpTopChanges.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpTopChanges.setDescription('The total number of topology changes. See dot1dStpTopChanges')
lan_blazer7000_bridge_stp_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 8), bridge_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpDesignatedRoot.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpDesignatedRoot.setDescription('The bridge considered to be root by this node. See dot1dStpDesignatedRoot.')
lan_blazer7000_bridge_stp_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpRootCost.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpRootCost.setDescription('The cost of the path to the root from this node. See dot1dStpRootCost.')
lan_blazer7000_bridge_stp_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpRootPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpRootPort.setDescription('The port number with the lowest cost path to the root bridge. See dot1dStpRootPort.')
lan_blazer7000_bridge_stp_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 11), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpMaxAge.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpMaxAge.setDescription('The maximum age used by this bridge to hold onto STP information before discarding. See dot1dStpMaxAge.')
lan_blazer7000_bridge_stp_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 12), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpHelloTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpHelloTime.setDescription('The amount of time between configuration BPDUs. See dot1dStpHelloTime.')
lan_blazer7000_bridge_stp_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpHoldTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpHoldTime.setDescription('The time value that indicates the interval during which no more than two configuration BPDUs will be sent by this node. See dot1dStpHoldTime.')
lan_blazer7000_bridge_stp_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 14), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpForwardDelay.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpForwardDelay.setDescription('The amount of time that this node stays in each of the Listening and Learning states. See dot1dStpForwardDelay.')
lan_blazer7000_bridge_stp_bridge_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 15), timeout().subtype(subtypeSpec=value_range_constraint(600, 4000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpBridgeMaxAge.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpBridgeMaxAge.setDescription('The value of MaxAge when this bridge is the root. See dot1dStpBridgeMaxAge.')
lan_blazer7000_bridge_stp_bridge_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 16), timeout().subtype(subtypeSpec=value_range_constraint(100, 1000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpBridgeHelloTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpBridgeHelloTime.setDescription('The value of HelloTime to use when this bridge is the root. See dot1dStpBridgeHelloTime.')
lan_blazer7000_bridge_stp_bridge_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 2, 1, 1, 17), timeout().subtype(subtypeSpec=value_range_constraint(400, 3000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpBridgeForwardDelay.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgeStpBridgeForwardDelay.setDescription('The value of FowardDelay to use when this bridge is the root. See dot1dStpBridgeForwardDelay.')
lan_blazer7000_bridge_port_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3))
lan_blazer7000_bridge_port_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1))
if mibBuilder.loadTexts:
lanBlazer7000BridgePortTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortTable.setDescription(' A table of Spanning Tree information for every port that supports Spanning Tree in every bridge in the system ')
lan_blazer7000_bridge_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000BridgePortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000BridgePortEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortEntry.setDescription('')
lan_blazer7000_bridge_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortIndex.setDescription('An index that uniquely identifies this bridge port. This index corresponds to the lanBlazer7000ResourceIndex for bridge port type resources.')
lan_blazer7000_bridge_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortPriority.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortPriority.setDescription('The value of the priority field in the port ID. See dot1dStpPortPriority. The default value is 128.')
lan_blazer7000_bridge_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('disabled', 1), ('blocking', 2), ('listening', 3), ('learning', 4), ('forwarding', 5), ('broken', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortState.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortState.setDescription("The port's current state as defined by the Spanning Tree Protocol. See dot1dStpPortState. The virtual port is considered broken if its switch port is blocked.")
lan_blazer7000_bridge_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortEnable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortEnable.setDescription('The enabled/disabled status of this port. See dot1dStpPortEnable. The default is enabled(2).')
lan_blazer7000_bridge_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortPathCost.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortPathCost.setDescription('The contribution of this port to the path cost of the paths towards the spanning tree root. See dot1dStpPortPathCost. The default value is dependent on the port speed, trunking mode, and duplexity.')
lan_blazer7000_bridge_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 6), bridge_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedRoot.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedRoot.setDescription("The bridge recorded as root for this port's segment. See dot1dStpPortDesignatedRoot.")
lan_blazer7000_bridge_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedCost.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedCost.setDescription('The path cost of the designated root of the segment connected to this port. See dot1dStpPortDesignatedCost.')
lan_blazer7000_bridge_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 8), bridge_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedBridge.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedBridge.setDescription("The bridge identifier of the bridge that is considered the designated bridge for this port's segment. See dot1dStpPortDesignatedBridge.")
lan_blazer7000_bridge_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortDesignatedPort.setDescription("The port identifier of the port on the Designated Bridge for this port's segment. See dot1dStpPortDesignatedPort.")
lan_blazer7000_bridge_port_forward_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortForwardTransitions.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortForwardTransitions.setDescription('The number of times this port has transitioned from the learning state to the forwarding state. See dot1dStpPortForwardTransitions.')
lan_blazer7000_bridge_port_fast_start = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortFastStart.setStatus('deprecated')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortFastStart.setDescription('This object is being replaced by the switch port object lanBlazer7000SwitchPortFastStart. When this bridge port object is set to enable(1), the bridge port and all other bridge ports on the same switch port, transition right from blocking to forwarding, skipping the listening and learning states. When this bridge port object is set to disable(2), the bridge port and all other bridge ports on the same switch port have this option disabled. The user should be warned that using the fast start feature greatly increases the likelihood of unintended network loops that would otherwise be prevented by participating in the normal spanning tree algorithm. The factory default value for this object is disable(2).')
lan_blazer7000_bridge_port_set_default = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('useCurrentValues', 1), ('setDefault', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortSetDefault.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortSetDefault.setDescription('When set to setDefault(2), the lanBlazer7000BridgePortPriority, lanBlazer7000BridgePortEnable, and lanBlazer7000BridgePortPathCost will be set to the factory default values.')
lan_blazer7000_bridge_port_enable_change_detection = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 3, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortEnableChangeDetection.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000BridgePortEnableChangeDetection.setDescription('When this object is set to enable(1), a Topology Change Notification will be generated when this port goes to Blocking or Forwarding (if the port is a designated port). When set to disable(2), no Topology Change Notification will be generated for this port. The default is enable(1).')
lan_blazer7000_l2_addr_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4))
lan_blazer7000_l2_addr_database_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1))
lan_blazer7000_l2_address_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1))
if mibBuilder.loadTexts:
lanBlazer7000L2AddressTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressTable.setDescription('A table of address table entries. The address table is used by the bridging function to perform forwarding and filtering decisions. An address may appear multiple times in different entries corresponding to the different logical address tables.')
lan_blazer7000_l2_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000L2AddressIndex'))
if mibBuilder.loadTexts:
lanBlazer7000L2AddressEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressEntry.setDescription('A particular address table entry.')
lan_blazer7000_l2_address_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressIndex.setDescription('An index that uniquely identifies this address entry.')
lan_blazer7000_l2_address_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressTableIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressTableIndex.setDescription('The address table that this entry is associated with.')
lan_blazer7000_l2_address_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressMacAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressMacAddress.setDescription('The IEEE 802 MAC Address associated with this database entry.')
lan_blazer7000_l2_address_port_binding = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 4), resource_id()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressPortBinding.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressPortBinding.setDescription('The switch port that this address is associated with. ')
lan_blazer7000_l2_address_binding_valid = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressBindingValid.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressBindingValid.setDescription('The port binding of an address entry is aged out in conformance with the specifications laid out in the IEEE 802.1D standard. When the address is aged out, the port binding becomes invalid.')
lan_blazer7000_l2_address_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressVlanID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressVlanID.setDescription('The VLAN ID of the VLAN that this address entry corresponds to.')
lan_blazer7000_l2_address_priority = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('priorityZero', 1), ('priorityFour', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressPriority.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressPriority.setDescription('If set to high(2), frames destined to this address are classified with priority value 4.')
lan_blazer7000_l2_address_forward = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normalForward', 1), ('specialDelivery', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressForward.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressForward.setDescription('When set to specialDelivery(2), frames sent to this address are treated to special delivery where the spanning tree state of the inbound port is ignored. Typically, special delivery is only used for Bridge PDUs such as spanning tree frames.')
lan_blazer7000_l2_address_copy = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normalForward', 1), ('copyCPU', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressCopy.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressCopy.setDescription('It is sometimes useful for the switch processor to eavesdrop on traffic to certain destinations. This is especially useful in supporting the intelligent multicasting function.')
lan_blazer7000_l2_address_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('permanent', 3), ('deleteOnReset', 4), ('deleteOnTimeout', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressPersistence.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressPersistence.setDescription('This object indicates the persistence of this entry: other(1) - This entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - Writing this value to the object removes the corresponding entry. permanent(3) - Address is not aged out. Additionally, if the address is seen as a source on a different port for this VLAN, the frame is filtered and the filter event is counted. Static address entries are stored in non-volatile memory and are restored to the address table following each system reset. deleteOnReset(4) - Indicates that the entry is not aged out, however the entry is not stored in non-volatile memory. Therefore, when the device is reset, the entry will not be restored. deleteOnTimeout(5) - Typically, address entries are learned dynamically by the switch. These entries are aged out of the table if they are not active on the network. This value correlates to this state.')
lan_blazer7000_l2_address_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('learned', 2), ('self', 3), ('mgmt', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressStatus.setDescription("This object indicates the status of the entry: other(1) - None of the following. learned(2) - This entry was learned dynamically. self(3) - The value of the corresponding instance of lanBlazer7000AddressMacAddress represents one of the bridge's addresses. mgmt(4) - This entry was added or modified by management. Entries that have been added by management and made permanent")
lan_blazer7000_l2_addr_summary_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2))
lan_blazer7000_l2_addr_summary_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000L2AddrSummaryTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddrSummaryTable.setDescription('This summary table packs the address entries in the address database into summary objects. The goal is to optimize the upload of the large amount of data stored therein. Typically, a management station would use getNext requests to retrieve the next logical summary object. The returned object value contains the next n entries of the address database packed into one PDU. The instance of the object returned is the index of the last address entry packed in the summary, thereby optimizing for the next getNext request. [ Fix this? What about gets?] ')
lan_blazer7000_l2_addr_summary_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000L2AddressIndex'))
if mibBuilder.loadTexts:
lanBlazer7000L2AddrSummaryEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddrSummaryEntry.setDescription('A summary object that packs as many address entries possible into a summary object.')
lan_blazer7000_l2_addr_summary = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 2, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(20, 4096))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddrSummary.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddrSummary.setDescription('The value of this object is a packed opaque structure representing an array of address entries. The format of this structure is: struct L2AddressEntry { UNS32 index; UNS8 addr[6]; // mac address UNS8 fabricPort; //fabricPort and subPort == lanBlazer7000L2AddressPortBinding UNS8 subPort; UNS16 vlanID, //the global vlan id UNS8 portBindingValidFlag; UNS8 addressForwardFlag; UNS8 addressCopyFlag; UNS8 addressPersistence; UNS8 addressStatus; }; struct L2AddressSummary{ UNS8 numberOfEntries; // Number of entries that follow UNS8 version; // version == 1 UNS16 endianFlag; L2AddressEntry entryArray[numberOfEntries]; };')
lan_blazer7000_l2_addr_control_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3))
lan_blazer7000_l2_address_control_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1))
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlTable.setDescription('This table provides the network manager the ability to create new, static address entries. Entries added through this table are added to the specified address table as a static entry and are save in non-volatile memory for reconfiguration upon system restart. This table is indexed by the lanBlazer7000AgentMgrIndex value which provides a separate instance for each manager.')
lan_blazer7000_l2_address_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000AgentMgrIndex'))
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlEntry.setDescription('A control entry enables this manager to add a new entry to the specified address table. When the entry is written to, the control index value is reset to 0. When the actual entry is created, the index value will read as non-zero, reporting the actual entry created.')
lan_blazer7000_l2_address_control_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlIndex.setDescription('The index of the address entry that was created for this address.')
lan_blazer7000_l2_address_control_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 2), mac_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlMacAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlMacAddress.setDescription('The IEEE 802 MAC Address associated with this database entry.')
lan_blazer7000_l2_address_control_port_binding = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 3), resource_id()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlPortBinding.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlPortBinding.setDescription('The port to bind this address to.')
lan_blazer7000_l2_address_control_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlVlanID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlVlanID.setDescription('The VLAN ID of the VLAN to bind this address to.')
lan_blazer7000_l2_address_control_priority = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('priorityZero', 1), ('priorityFour', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlPriority.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlPriority.setDescription('If set to high(2), frames destined to this address are classified with priority value 4.')
lan_blazer7000_l2_address_control_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('permanent', 1), ('deleteOnReset', 2), ('deleteOnTimeout', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlPersistence.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlPersistence.setDescription('The persistence of the entry to be created: permanent(1) - Address is not aged out. Additionally, if the address is seen as a source on a different port for this VLAN, the frame is filtered and the filter event is counted. Static address entries are stored in non-volatile memory and are restored to the address table following each system reset. deleteOnReset(2) - Indicates that the entry is not to be aged, however the entry is not stored in non-volatile memory. Therefore, when the device is reset, the entry will not be restored. deleteOnTimeout(3) - Indicates that the entry is to be aged by the normal aging process.')
lan_blazer7000_l2_address_control_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 3, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('createRequest', 1), ('underCreation', 2), ('success', 3), ('otherError', 4), ('entryExistsError', 5), ('invalidMacAddress', 6), ('invalidPortBinding', 7), ('invalidVlanID', 8)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressControlStatus.setDescription('The status of an entry to be created. When adding an entry all fields will be set, and then the control status is set to createRequest(1), indicating that the entry is to be created. During creation, the status will be underCreation(2). If the creation is successful, then the status will be set to success(3), and the value of lanBlazer7000AddressControlIndex indicates the index of the entry that was created in the address table. Otherwise if the creation was not successful, then one of the following error codes will be set and the entry will not be created: otherError(4) - An error other then the others defined. entryExistsError(5) - An entry already exists with this MAC address in this address table. invalidMacAddress(6) - Cannot create an entry with this MAC address. invalidTableIndex(7) - The table does not exist. invalidPortBinding(8) - The port binding is invalid. invalidVlanID(9) - The VLAN ID is invalid. Note that the only value that is valid to write to this object is createRequest(1), and that this object will never return the value createRequest(1).')
lan_blazer7000_l2_addr_change_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4))
lan_blazer7000_l2_address_change_last = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeLast.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeLast.setDescription('The index of the last entry written to the address change table')
lan_blazer7000_l2_address_change_wraps = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeWraps.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeWraps.setDescription('The count of the number of times the address change table has wrapped.')
lan_blazer7000_l2_address_change_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 3), integer32().subtype(subtypeSpec=value_range_constraint(1024, 4096))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeMaxEntries.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeMaxEntries.setDescription('The maximum number of entries in the address change table.')
lan_blazer7000_l2_address_change_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4))
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeTable.setDescription('.')
lan_blazer7000_l2_address_change_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000L2AddressChangeWrapCount'), (0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000L2AddressChangeIndex'))
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeEntry.setDescription("The address change table provides a quick way of getting only the entries that have recently changed. Since entries age out as part of the normal switching process, entries that have aged (i.e. their destination bindings are no longer valid) are not considered to be changed. Any other modification to the entry, including deletion or creation, are considered to be changes. The address change table is considered a circular table. When an entry changes, it is added to the next position within the table. If the 'next' position goes beyond the end of the table, the 'next' position is set to the beginning of the table (1) and the wrap counter (lanBlazer7000AddressChangeWraps) is incremented. The lanBlazer7000AddressChangeLast value is updated with the index of the last entered entry. An entry may be in the table multiple times if it has changed multiple times. Every time that an entry changes, it is added to the change table. A network management application should follow the following algorithm when polling this table: 1. Set lastChangeWrap = lanBlazer7000AddressChangeWraps. 2. Set lastChangeIndex = lanBlazer7000AddressChangeLast 3. Get the entire lanBlazer7000AddressEntryTable. 4. Submit a getNext for <lastChangeWrap>.<lastChangeIndex>, updating lastChangeWrap and lastChangeIndex with the returned next values. Update the address entry database with the changed values. 5. Repeat step 4 until no more entries are returned. 6. Wait polling timeout period. 7. Get wrap events counter and last index. If the wrap events counter is equal to lastChangeWrap, then goto step 4. Else if the wrap events counter is more then one greater then lastChangeWrap, goto step 1. Else the wrap events counter is exactly one greater then lastChangeWrap, and if the last index is greater then lastChangeIndex, then goto step 1, else goto step 4. The last step simply insures that we have not missed any of the change entries. Essentially it says that if we have wrapped to beyond where we last polled, then we must get the entire table to synch up again. Otherwise we can just get the entries that have changed.")
lan_blazer7000_l2_address_change_wrap_count = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeWrapCount.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeWrapCount.setDescription('The number of times that the lanBlazer7000AddressChangeLastIndex had wrapped when this entry was added.')
lan_blazer7000_l2_address_change_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeIndex.setDescription('The index that uniquely identifies this address change entry.')
lan_blazer7000_l2_address_change_index_changed = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeIndexChanged.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeIndexChanged.setDescription('The address entry that changed. The value of this object corresponds to the lanBlazer7000L2AddressIndex object. ')
lan_blazer7000_l2_address_change_summary = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 1, 4, 4, 4, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeSummary.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000L2AddressChangeSummary.setDescription(' The structure is interpreted in the following manner:')
lan_blazer7000_switch_port_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2))
lan_blazer7000_switch_port_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortTable.setDescription('')
lan_blazer7000_switch_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000SwitchPortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortEntry.setDescription('')
lan_blazer7000_switch_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortIndex.setDescription('A unique index that identifies this switch port. The value of this index corresponds to the value of the lanBlazer7000ResourceIndex for switch ports.')
lan_blazer7000_switch_port_stap_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortSTAPMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortSTAPMode.setDescription('Disabling spanning tree on a switch port prevents the switch port from participating in the spanning tree process. When disabled(2), this port will neither generate BPDUs, nor process received BPDUs. Also, the port will always start in the forwarding state. A port configured in this mode will not be able to detect network loops involving this port. The factory default is to enable spanning tree on all ports.')
lan_blazer7000_switch_port_convert_to_static = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('learnAsDynamic', 1), ('convertToStatic', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortConvertToStatic.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortConvertToStatic.setDescription('When this object is set to convertToStatic(2), all addresses learned on this port will be added to the non-volatile version of the static address table. Typically, this object will be used to perform a crude form of address database update where the address activity associated with this port is collected as static (i.e. permanent) addresses while the value of this object is set to convertToStatic(2). Following this usually short period of time (perhaps a week of activity), the value of this object is restored back to its default value of learnAsDynamic(1) and learning for this port is disabled. It is important that the user verify the address database to verify that only the desired addresses were made permanent.')
lan_blazer7000_switch_port_learning_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortLearningMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortLearningMode.setDescription('Disable learning on a bridge port to prevent new addresses from being added to the address database. Used in combination with static (permanent) address entries, disabling address learning is an effective security feature to prevent new hosts from appearing on the network, or to prevent hosts from moving to different locations in the network. The default is enable.')
lan_blazer7000_switch_port_hunt_group = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortHuntGroup.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortHuntGroup.setDescription('Hunt groups provide the capability to logically bind multiple switch ports into one switch port. This provides a way of balancing the load of multiple links between like-configured switches. Care must be taken to configure the hunt groups properly to prevent accidental network looping. Use this object to bind this port to a specific hunt group. When not configured to a specific hunt group, set the value of this object to zero.')
lan_blazer7000_switch_port_physical_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 6), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortPhysicalPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortPhysicalPort.setDescription('The physical port resource bound to this switch port.')
lan_blazer7000_switch_port_known_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortKnownMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortKnownMode.setDescription("Enabling known mode for this switch port causes the port to safely discard frames flooded because they are unknown unicast frames. This mode greatly enhances the efficiency of the port's output buffer since space is not wasted for frames not meant for this port. Enabling this feature disables learning for this port. Addresses associated for this port should be entered statically. The default is disable.")
lan_blazer7000_switch_port_mapping_method = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('port-based', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortMappingMethod.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortMappingMethod.setDescription('The frame mapping method of this switch port. When set to port-based(1) (the factory default), all non-tagged frames are classified to the VLAN associated with this switch port.')
lan_blazer7000_switch_port_trunking_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('clear', 1), ('ieee8021q', 2), ('multiLevel', 3), ('trunk3Com', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortTrunkingMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortTrunkingMode.setDescription('The trunking mode of this port. All frames transmitted out this switch port are translated to the appropriate trunking format: Clear: Ethernet or IEEE 802.3 frame format. This is the default. IEEE 802.1Q: The original frame with a new Ethernet Type (Protocol = 0xXXXX) and the VLAN ID inserted following the original Source Address. Also, the CRC is recalculated. Multi-level: The original frame is encapsulated in an IEEE 802.3 legal frame proprietary to a major networking equipment vendor. 3Com LinkSwitch: The original frame has the VLAN ID added to the front of the frame (before the Destination Address). Trunking format is proprietary to 3Com Corporation.')
lan_blazer7000_switch_port_vlan_binding_method = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('static', 1), ('persistent', 2), ('dynamic', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortVlanBindingMethod.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortVlanBindingMethod.setDescription('The VLAN binding method of a switch port specifies the way in which the port can be a member of the egress lists of VLANs other than the port default VLAN specified by lanBlazer7000SwitchPortVlanID: static: A Virtual Switch Port must be statically created for each VLAN/port combination. persistent: A Virtual Switch Port is automatically created for each VLAN known to the switch (i.e., the port is a member of the egress lists of all VLANs). dynamic: A Virtual Switch Port is automatically created for each VLAN when the associated VLAN ID is used as a tag in an IEEE 802.1Q or Multi-level tagged frame received on the port (i.e., the port is a member of the egress lists of the VLANs from frames received on the port). The default is static.')
lan_blazer7000_switch_port_ignore_tag = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('useTag', 1), ('ignoreTag', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortIgnoreTag.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortIgnoreTag.setDescription("Each switch port is capable of ignoring the VLAN Tag associated with a frame in a trunking format. When ignored, the tag is used as the default in the event that a VLAN classification based on the switch's policy(s) cannot be made. This feature is useful for connecting layer 2 VLANs and layer 3 VLANs. The default is useTag.")
lan_blazer7000_switch_port_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 12), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortVlanID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortVlanID.setDescription('When this switch port is configured in port-based VLAN mode, all non-tagged frames received on this port are bound to this VLAN. Otherwise, non-tagged frames are classified to this VLAN as the default if a VLAN binding cannot be otherwise determined. The factory default is 1, which is the VLAN ID of the Default VLAN.')
lan_blazer7000_switch_port3_com_mapping_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPort3ComMappingTableIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPort3ComMappingTableIndex.setDescription('The 3Com VLAN mapping table associated with this switch port. The default is 1, which indicates the default mapping table.')
lan_blazer7000_switch_port_auto_vlan_creation = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortAutoVlanCreation.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortAutoVlanCreation.setDescription('Enabling auto VLAN creation for this switch port causes the port to dynamically create a VLAN whenever an IEEE 802.1Q or Multi-level tagged frame is received on the port with a tag value which does not correspond to a known VLAN. All switch ports with a trunking mode of IEEE 802.1Q or Multi-level are bound to this created VLAN. The default is disable.')
lan_blazer7000_switch_port_mirror_mode = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortMirrorMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortMirrorMode.setDescription('When set to enable(1), this object indicates that the port is defined as a mirror port through the lanBlazer7000PortMirroringTable. A mirror port duplicates frames received at one or more source ports.')
lan_blazer7000_switch_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortIfIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortIfIndex.setDescription('Each switch port is associated with an interface. This object provides a mechanism to map switch ports to bridge ports.')
lan_blazer7000_switch_port_fast_start = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortFastStart.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortFastStart.setDescription('When this object is set to enable(1), bridge ports on this switch port transitions right from blocking to forwarding, skipping the listening and learning states. The user should be warned that using the fast start feature greatly increases the likelihood of unintended network loops that would otherwise be prevented by participating in the normal spanning tree algorithm. The factory default value for this object is disable(2).')
lan_blazer7000_switch_port_vlan_exchange = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 2, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortVlanExchange.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000SwitchPortVlanExchange.setDescription("When this object is set to enable(1), this switch port attempts to learn VLANs from a major networking equipment vendor if the switch port's trunking mode is IEEE 802.1Q Format or Multi-level Format. The factory default value for this object is enable(1).")
lan_blazer7000_hunt_group_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4))
lan_blazer7000_hunt_group_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1))
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupTable.setDescription('')
lan_blazer7000_hunt_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000HuntGroupIndex'))
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupEntry.setDescription('')
lan_blazer7000_hunt_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupIndex.setDescription('An index that uniquely identifies this hunt group. This index corresponds to the value of lanBlazer7000ResourceIndex for resources of the hunt group type.')
lan_blazer7000_hunt_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 2), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupName.setDescription('')
lan_blazer7000_hunt_group_base_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 3), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupBasePort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupBasePort.setDescription('The switch port index that serves as the base port for this hunt group. Each hunt group requires a base port. In lieu of a specific configuration, the hunt group will inherit the first switch port bound to the hunt group as its base port. The base port serves as the management focus for the hunt group. That is, a hunt group is managed as one switch port whose instance is provided by the base switch port. All configuration (e.g. spanning tree information) and statistics related to switch ports are meaningful only through the instance of the base port.')
lan_blazer7000_hunt_group_number_of_ports = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupNumberOfPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupNumberOfPorts.setDescription('The current number of ports that belong to this hunt group.')
lan_blazer7000_hunt_group_load_sharing = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupLoadSharing.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupLoadSharing.setDescription('')
lan_blazer7000_hunt_group_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 4, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('createRequest', 1), ('underCreation', 2), ('deleteRequest', 3), ('active', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000HuntGroupStatus.setDescription('')
lan_blazer7000_port_mirroring_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5))
lan_blazer7000_port_mirroring_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1))
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringTable.setDescription('A table of port mirroring entries used to mirror traffic from a source port to a mirror port.')
lan_blazer7000_port_mirroring_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000PortMirroringIndex'))
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringEntry.setDescription('Objects related to the PortMirroring functionality.')
lan_blazer7000_port_mirroring_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringIndex.setDescription('The unique index that identifies this entry. This index consists of a switch fabric port and the index of a Packet Lookup Engine servicing this fabric port.')
lan_blazer7000_port_mirroring_source_sub_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringSourceSubPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringSourceSubPort.setDescription('The frame sampler source switch subport. The source port is the port from which received traffic will be mirrored. This object identifies the switch subport only, the switch fabric port is identified in lanBlazer7000PortMirroringIndex. If set to 0, all subports associated with the lanBlazer7000PortMirroringIndex will be source ports. The default value is 0.')
lan_blazer7000_port_mirroring_sampler_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('periodic', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringSamplerType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringSamplerType.setDescription('The type for this frame sampler. When set to enable(1), every frame received on the source port(s) will be mirrored at the mirror port. When set to disable(2), no frames received on the source port(s) will be mirrored at the mirror port. When set to periodic(3), frames will be mirrored at the rate defined in lanBlazer7000PortMirroringRate. The default value is disable(2).')
lan_blazer7000_port_mirroring_rate = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringRate.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringRate.setDescription('Used in conjunction with lanBlazer7000PortMirroringSamplerType to implement periodic sampling functionality. If lanBlazer7000PortMirroringSamplerType is set to periodic(3), this object defines the number of packets/second that will be mirrored. If lanBlazer7000PortMirroringSamplerType is not periodic(3), this object will set to 0.')
lan_blazer7000_port_mirroring_mirror_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 5, 5, 1, 1, 5), resource_id()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringMirrorPort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000PortMirroringMirrorPort.setDescription('The Switch Port on which frames received at source ports(s) will be duplicated. If no mirror port has been defined this object will return NULL.')
lan_blazer7000_vlan_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7))
lan_blazer7000_vlans = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1))
lan_blazer7000_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1))
if mibBuilder.loadTexts:
lanBlazer7000VlanTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanTable.setDescription('')
lan_blazer7000_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000VlanID'))
if mibBuilder.loadTexts:
lanBlazer7000VlanEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanEntry.setDescription('')
lan_blazer7000_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VlanID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanID.setDescription('An identifier that is unique within the administrative domain. This ID is assigned by the management application and is meaningful within that context. This ID is used to identify VLANs when tagged using either the IEEE 802.1 frame format or the Multi-level frame format.')
lan_blazer7000_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanName.setDescription('A user-assignable name for this Vlan.')
lan_blazer7000_vlan_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VlanIfIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanIfIndex.setDescription('Each virtual LAN has a virtual interface associated with it. This enables RMON monitoring to occur per-VLAN. It also provides a handy mechanism to map virtual LANs to bridge ports by mapping them with the ifStack table from the Interface MIB.')
lan_blazer7000_vlan_aft_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanAFTIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanAFTIndex.setDescription("The address table used for this VLAN for explicitly tagged frames (frames received in a trunking frame format or from a port in port-based VLAN mode.) Normally, each VLAN maps to a unique address table. This is useful for environments with duplicate host addresses appear on different VLANs on different ports. For those environments where duplicate hosts on different VLANs don't exist, or exist but are on the same port, and where the address table size and/or aging is a concern, then multiple VLANs may be mapped to the same address table.")
lan_blazer7000_vlan_bridge_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 5), resource_id()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanBridgeIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanBridgeIndex.setDescription('The bridge resource which is bound to this Vlan.')
lan_blazer7000_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=named_values(('createRequest', 1), ('underCreation', 2), ('destroyRequest', 3), ('underDestruction', 4), ('active', 5), ('otherError', 6), ('entryExistsError', 7), ('invalidVlanID', 8), ('invalidVlanName', 9), ('invalidVlanAFTIndex', 10), ('invalidVlanBridgeIndex', 11), ('invalidVlanInitialHashTableSize', 12), ('invalidVlanAutoIncrementHTSize', 13)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanStatus.setDescription('The status of an entry to be created or deleted. When adding an entry all fields will be set, and then the status is set to createRequest(1) (indicating that the entry is to be created). When deleting an entry the status is set to destroyRequest(3) (indicating that the entry is to be destroyed). During creation the status will be underCreation(2). If the creation is successful, then the status will be set to active(5). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: otherError(6) - An error other than the others defined. entryExistsError(7) - An entry already exists. invalidVlanID(8) - the VLAN ID is invalid. invalidVlanName(9) - the VLAN name is invalid. invalidVlanAFTIndex(10) - the VLAN AFT index is invalid. invalidVlanBridgeIndex(11) - the VLAN bridge index is invalid. invalidVlanInitialHashTableSize(12) - the VLAN initial hash table size is invalid. invalidVlanAutoIncrementHTSize(13) - the VLAN auto increment hash table size is invalid.')
lan_blazer7000_vlan_initial_hash_table_size = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(16, 8192))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanInitialHashTableSize.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanInitialHashTableSize.setDescription('The initial hash table size used for MAC addresses on this VLAN. This attribute may only be set when lanBlazer7000VlanStatus is set to createRequest(1). It must be a power of 2 between 16 and 8192, inclusive.')
lan_blazer7000_vlan_auto_increment_ht_size = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanAutoIncrementHTSize.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanAutoIncrementHTSize.setDescription('This attribute specifies whether or not the hash table size used for MAC addresses on this VLAN is automatically increased as necessary to hold more MAC addresses. This attribute may only be set when lanBlazer7000VlanStatus is set to createRequest(1).')
lan_blazer7000_vlan_learn_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notLearned', 1), ('vlanExchange', 2), ('auto', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VlanLearnStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanLearnStatus.setDescription('This attribute indicates if the VLAN was learned. If learned it indicates if the VLAN was learned either by VLAN Exchange or Auto VLAN creation.')
lan_blazer7000_vlan_mappings = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3))
lan_blazer70003_com_mapping = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1))
lan_blazer70003_com_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1))
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTable.setDescription('')
lan_blazer70003_com_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer70003ComMappingTableIndex'))
if mibBuilder.loadTexts:
lanBlazer70003ComMappingEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingEntry.setDescription('')
lan_blazer70003_com_mapping_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTableIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTableIndex.setDescription('')
lan_blazer70003_com_mapping_table_name = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTableName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTableName.setDescription('A user-readable name associated with this table.')
lan_blazer70003_com_mapping_table_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('createRequest', 1), ('destroyRequest', 2), ('active', 3), ('entryExistsError', 4), ('otherError', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTableStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer70003ComMappingTableStatus.setDescription('The status of an entry to be created. When adding an entry all fields will be set, and then the status is set to createRequest(1), indicating that the entry is to be created. If the creation is successful, then the status will be set to active(3). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: entryExistsError(4) - An entry already exists. otherError(5) - An error other than the others defined.')
lan_blazer7000_vlan3_com_mapping = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2))
lan_blazer7000_vlan3_com_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1))
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingTable.setDescription('')
lan_blazer7000_vlan3_com_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer70003ComMappingTableIndex'), (0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000Vlan3ComMappingIndex'))
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingEntry.setDescription('')
lan_blazer7000_vlan3_com_mapping_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingIndex.setDescription('The external tag of this 3Com VLAN.')
lan_blazer7000_vlan3_com_mapping_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingVlanID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingVlanID.setDescription('The VLAN ID of the VLAN that this 3Com tag is associated with.')
lan_blazer7000_vlan3_com_mapping_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 3, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('createRequest', 1), ('destroyRequest', 2), ('active', 3), ('otherError', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000Vlan3ComMappingStatus.setDescription('The status of an entry to be created. When adding an entry all fields will be set, and then the status is set to createRequest(1), indicating that the entry is to be created. If the creation is successful, then the status will be set to active(3). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: otherError(4) - An error other than the others defined.')
lan_blazer7000_virtual_ports = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4))
lan_blazer7000_virtual_switch_port_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1))
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortTable.setDescription('')
lan_blazer7000_virtual_switch_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000VirtualSwitchPortIndex'))
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortEntry.setDescription('An instance of a virtual switch port indicates that this switch port is a member of this VLAN.')
lan_blazer7000_virtual_switch_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 1), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortIndex.setDescription('The Resource ID of the virtual switch port bound to the VLAN.')
lan_blazer7000_virtual_switch_port_format = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('clear', 1), ('trunkingFormat', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortFormat.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortFormat.setDescription("Typically, a VLAN capable switch port has one of three modes: access, trunk, or hybrid. In access mode, the port sends frames in clear format (untagged). In trunk mode, all outbound frames are translated into the switch port's configured trunking format. In hybrid mode, it is possible for a port to send trunked frames for some VLANs and clear frames for others. In this case, the switch port is configured to trunk, and the virtual switch port(s) for those VLANs that require clear formatted frames are configured to be override the switch port setting. This is done by setting this object to clear(1). By default, the value of this object is trunkingFormat(2) which means to use the trunking format configured for this switch port. (which may be clear).")
lan_blazer7000_virtual_switch_port_bridge_port = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 3), resource_id()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortBridgePort.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortBridgePort.setDescription('The bridge port resource bound to this virtual port.')
lan_blazer7000_virtual_switch_port_binding_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('static', 1), ('persistent', 2), ('dynamic', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortBindingType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortBindingType.setDescription('The method by which this switch port was bound to the VLAN. If the value is static(1), the binding was manually created by the administrator. If the value is persistent(2), the binding was created by the switch because the VLAN is the port-based VLAN for the switch port, or the switch port VLAN Binding Method is persistent. These bindings may not be removed. If the value is dynamic(3), the binding was created by the switch as a result of receiving a tagged frame on the switch port with a VLAN ID corresponding to the VLAN.')
lan_blazer7000_virtual_switch_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 7, 4, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('createRequest', 1), ('destroyRequest', 2), ('active', 3), ('otherError', 4), ('entryExistsError', 5), ('entryNoExistError', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VirtualSwitchPortStatus.setDescription('The status of an entry to be created or deleted. When adding an entry all fields will be set, and then the status is set to createRequest(1) (indicating that the entry is to be created). When deleting an entry the status is set to destroyRequest(2) (indicating that the entry is to be destroyed). If the creation is successful, then the status will be set to active(3). Otherwise if the creation was not successful then one of the following error codes will be set and the entry will not be created: otherError(4) - An error other than the others defined. entryExistsError(5) - On creation, an entry already exists. On deletion, the entry may not be removed. entryNoExistError(6) - The VLAN specified by ID does not exist.')
lan_blazer7000_events = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10))
lan_blazer7000_event_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1))
lan_blazer7000_event_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1))
if mibBuilder.loadTexts:
lanBlazer7000EventTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTable.setDescription('Table of events currently supported.')
lan_blazer7000_event_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000EventIndex'))
if mibBuilder.loadTexts:
lanBlazer7000EventEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventEntry.setDescription('Attributes associated with the event.')
lan_blazer7000_event_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventIndex.setDescription('')
lan_blazer7000_event_mode = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000EventMode.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventMode.setDescription('Disabling an event prevents this event from taking any actions when triggered. When set to enable to the console, the event will print the event information to the console serial port. The user can select whether to view log messages, trap messages or any event at the console.')
lan_blazer7000_event_log_action = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000EventLogAction.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogAction.setDescription('When enabled, this action will cause an event log entry to be created.')
lan_blazer7000_event_trap_action = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapAction.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapAction.setDescription('When enabled, this event will cause an SNMP trap to be generated.')
lan_blazer7000_event_console_action = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000EventConsoleAction.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventConsoleAction.setDescription('When enabled, this event will cause a message to printed to the console serial port.')
lan_blazer7000_event_log_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2))
lan_blazer7000_log_table_max_size = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2048))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000LogTableMaxSize.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000LogTableMaxSize.setDescription('The maximum number of entries in the log table. Changing this value causes the existing log to be truncated and rebuilt.')
lan_blazer7000_log_last_entry = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000LogLastEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000LogLastEntry.setDescription('The log index of the last entry entered in the log.')
lan_blazer7000_log_wraps = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 2, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000LogWraps.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000LogWraps.setDescription('The number of times that the last entry has wrapped from 65K back to 1.')
lan_blazer7000_event_log = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3))
lan_blazer7000_event_log_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1))
if mibBuilder.loadTexts:
lanBlazer7000EventLogTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogTable.setDescription('The log table for the events in the event table that are enabled for the Log Action.')
lan_blazer7000_event_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000EventLogIndex'))
if mibBuilder.loadTexts:
lanBlazer7000EventLogEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogEntry.setDescription('An entry in the log indicates information associated with a particular event.')
lan_blazer7000_event_log_event_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogEventIndex.setDescription('The index that uniquely identifies the event that caused this log entry.')
lan_blazer7000_event_log_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogIndex.setDescription('An index that uniquely identifies this log entry.')
lan_blazer7000_event_log_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 3), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogTime.setDescription('The value of sysUpTime when this event was triggered.')
lan_blazer7000_event_log_descr = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogDescr.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogDescr.setDescription('The event log description.')
lan_blazer7000_event_log_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 5), event_category()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogType.setDescription('The type of event that caused this log entry.')
lan_blazer7000_event_log_severity = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogSeverity.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogSeverity.setDescription('The severity associated with this event. It is recommended that the severity be interpreted in the following manner: 0-19: Normal 20-39: Informational 40-59: Warning 60-79: Alarm 80-99: Severe Error 100: Failure.')
lan_blazer7000_event_log_dtm = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(18, 18)).setFixedLength(18)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogDTM.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogDTM.setDescription('The date and time when this log entry was made. The format is yy-Mon- dd hh:mm:ss, time is in 24 hour time.')
lan_blazer7000_event_log_res_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 8), resource_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogResType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogResType.setDescription("The type of object (if provided) that triggered this event. If not provided, the value is equal to 'Invalid Resource'.")
lan_blazer7000_event_log_res_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 9), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogResID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogResID.setDescription('The instance of this resource (if provided - see lanBlazer7000EventLogResType) that triggered this event.')
lan_blazer7000_event_log_res_leaf = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogResLeaf.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogResLeaf.setDescription("A number corresponding to the attribute associated with this resource and this event entry. It corresponds exactly to the leaf MIB number of the MIB that manages this resource. For example, if a port's mode changed, the configuration event log entry would indicate the value of 5 which is the leaf index of the lanBlazer7000PortMode within the lanBlazer7000PortTable MIB table.")
lan_blazer7000_event_log_value_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 11), event_value_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogValueType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogValueType.setDescription('The data type associated with the log event value. This object indicates how to interpret the data stored in the event log value: - none(1) indicates no value returned. - integer32(2) - a 4 byte unsigned integer. - integer64(3) - an 8 byte unsigned integer. - displayString(4) - a null terminated (or up to 8 characters) string. - ipv4NetworkAddress(5) - a 4 byte IP version 4 network address. - ieee802MACAddress(6) - a 6 byte MAC Address. - timeticks(7) - sysUpTime type value (4 bytes)')
lan_blazer7000_event_log_value = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogValue.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogValue.setDescription('The value associated with the event encoded in an octet string. Refer to lanBlazer7000EventLogValueType for how to interpret this value. The value encoded in this string is in Big Endian order.')
lan_blazer7000_event_log_epoch_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogEpochTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogEpochTime.setDescription('The number of time ticks since the epoch when this event was logged. The interpretation of this value is as follows: struct DateTimeOvly { UNS32 year:6; UNS32 month:4; UNS32 day:5; UNS32 hour:5; UNS32 minute:6; UNS32 second:6; }; The epoch is January 1, 1997, at 00:00:00. A value of 0 refers to this date and time. ')
lan_blazer7000_event_log_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 3, 1, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventLogID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventLogID.setDescription('A unique index that identifies the occurence of this event. This ID can be correlated between traps, logs and the like.')
lan_blazer7000_shutdown_log_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4))
lan_blazer7000_shutdown_log_table_max_size = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000ShutdownLogTableMaxSize.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ShutdownLogTableMaxSize.setDescription('The maximum number of entries in the non-volatile log table. Changing the value of this object changes the maximum number of entries to be stored in Shutdown.')
lan_blazer7000_shutdown_log_last_entry = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ShutdownLogLastEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ShutdownLogLastEntry.setDescription('The ID of the last entry made to the shutdown log.')
lan_blazer7000_shutdown_log_acknowledged = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('not-acknowledged', 1), ('acknowledged', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ShutdownLogAcknowledged.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ShutdownLogAcknowledged.setDescription('This object is to set to acknowledged(2) the first time the Shutdown Log Table is accessed indicating that the Shutdown log has been read (at least once) since the system restarted.')
lan_blazer7000_event_shutdown_log = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5))
lan_blazer7000_event_shutdown_log_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1))
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogTable.setDescription('A table of the last events logged before the system restarted.')
lan_blazer7000_event_shutdown_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000EventShutdownLogIndex'))
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogEntry.setDescription('A log entry stored in non-volatile memory.')
lan_blazer7000_event_shutdown_log_event_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogEventIndex.setDescription('The index that uniquely identifies the event that caused this ShutdownLog entry.')
lan_blazer7000_event_shutdown_log_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogIndex.setDescription('An index that uniquely identifies this ShutdownLog entry.')
lan_blazer7000_event_shutdown_log_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 3), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogTime.setDescription('The value of sysUpTime when this event was triggered. Note, the value corresponds to the sysUpTime when the system was last running (i.e. before it was shutdown.)')
lan_blazer7000_event_shutdown_log_descr = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogDescr.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogDescr.setDescription('The event ShutdownLog description.')
lan_blazer7000_event_shutdown_log_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 5), event_category()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogType.setDescription('The type of event that caused this ShutdownLog entry.')
lan_blazer7000_event_shutdown_log_severity = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogSeverity.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogSeverity.setDescription('The severity associated with this event. It is recommended that the severity be interpreted in the following manner: 0-19: Normal 20-39: Informational 40-59: Warning 60-79: Alarm 80-99: Severe Error 100: Failure.')
lan_blazer7000_event_shutdown_log_dtm = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(18, 18)).setFixedLength(18)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogDTM.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogDTM.setDescription('The date and time when this ShutdownLog entry was made. The format is yy-Mon-dd hh:mm:ss, time is in 24 hour time.')
lan_blazer7000_event_shutdown_log_res_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 8), resource_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogResType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogResType.setDescription('The type of object (if provided) that triggered this event. If not provided, the value is invalid.')
lan_blazer7000_event_shutdown_log_res_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 9), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogResID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogResID.setDescription('The instance of this resource (if provided) that triggered this event.')
lan_blazer7000_event_shutdown_log_res_leaf = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogResLeaf.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogResLeaf.setDescription('To be provided.')
lan_blazer7000_event_shutdown_log_value_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 11), event_value_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogValueType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogValueType.setDescription('The data type associated with the ShutdownLog event value. This object indicates how to interpret the data stored in the event ShutdownLog value.')
lan_blazer7000_event_shutdown_log_value = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogValue.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogValue.setDescription('The value associated with the event encoded in an octet string. ')
lan_blazer7000_event_shutdown_log_epoch_time = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogEpochTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogEpochTime.setDescription('The number of time ticks since the epoch when this event was logged. The interpretation of this value is as follows: struct DateTimeOvly { UNS32 year:6; UNS32 month:4; UNS32 day:5; UNS32 hour:5; UNS32 minute:6; UNS32 second:6; }; The epoch is January 1, 1997, at 00:00:00. A value of 0 refers to this date and time. ')
lan_blazer7000_event_shutdown_log_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 5, 1, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventShutdownLogID.setDescription('A unique index that identifies the occurence of this event. This ID can be correlated between traps, logs and the like.')
lan_blazer7000_event_trap_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6))
lan_blazer7000_event_trap_event_index = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapEventIndex.setDescription('The index that uniquely identifies the event that caused this trap.')
lan_blazer7000_event_trap_time = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 2), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapTime.setDescription('The value of sysUpTime when this event was triggered.')
lan_blazer7000_event_trap_descr = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapDescr.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapDescr.setDescription('The event log description.')
lan_blazer7000_event_trap_type = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 4), event_category()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapType.setDescription('The type of event that caused this trap.')
lan_blazer7000_event_trap_severity = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapSeverity.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapSeverity.setDescription('The severity associated with this event. It is recommended that the severity be interpreted in the following manner: 0-19: Normal 20-39: Informational 40-59: Warning 60-79: Alarm 80-99: Severe Error 100: Failure.')
lan_blazer7000_event_trap_dtm = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 6), display_string().subtype(subtypeSpec=value_size_constraint(18, 18)).setFixedLength(18)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapDTM.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapDTM.setDescription('The date and time when this trap was sent. The format is yy-Mon- dd hh:mm:ss, time is in 24 hour time.')
lan_blazer7000_event_trap_res_type = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 7), resource_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapResType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapResType.setDescription("The type of object (if provided) that triggered this event. If not provided, the value is equal to 'Invalid Resource'.")
lan_blazer7000_event_trap_res_id = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 8), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapResID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapResID.setDescription('The instance of this resource (if provided - see lanBlazer7000EventTrapResType) that triggered this event.')
lan_blazer7000_event_trap_res_leaf = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapResLeaf.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapResLeaf.setDescription("A number corresponding to the attribute associated with this resource and this event entry. It corresponds exactly to the leaf MIB number of the MIB that manages this resource. For example, if a port's mode changed, the configuration event log entry would indicate the value of 5 which is the leaf index of the lanBlazer7000PortMode within the lanBlazer7000PortTable MIB table.")
lan_blazer7000_event_trap_value_type = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 10), event_value_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapValueType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapValueType.setDescription('The data type associated with the trap event value. This object indicates how to interpret the data stored in the event trap value: - none(1) indicates no value returned. - integer32(2) - a 4 byte unsigned integer. - integer64(3) - an 8 byte unsigned integer. - displayString(4) - a null terminated (or up to 8 characters) string. - ipv4NetworkAddress(5) - a 4 byte IP version 4 network address. - ieee802MACAddress(6) - a 6 byte MAC Address. - timeticks(7) - sysUpTime type value (4 bytes)')
lan_blazer7000_event_trap_value = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 11), octet_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapValue.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapValue.setDescription('The value associated with the event encoded in an octet string. Refer to lanBlazer7000EventTrapValueType for how to interpret this value. The value encoded in this string is in Big Endian order.')
lan_blazer7000_event_trap_epoch_time = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapEpochTime.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapEpochTime.setDescription('The number of time ticks since the epoch when this event was logged. The interpretation of this value is as follows: struct DateTimeOvly { UNS32 year:6; UNS32 month:4; UNS32 day:5; UNS32 hour:5; UNS32 minute:6; UNS32 second:6; }; The epoch is January 1, 1997, at 00:00:00. A value of 0 refers to this date and time. ')
lan_blazer7000_event_trap_id = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 10, 6, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000EventTrapID.setDescription('A unique index that identifies the occurence of this event. This ID can be correlated between traps, logs and the like.')
lan_blazer7000_alarm_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11))
lan_blazer7000_alarm_general = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 1))
lan_blazer7000_alarm_general_active_entries = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 1, 1), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000AlarmGeneralActiveEntries.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000AlarmGeneralActiveEntries.setDescription('The total number of alarm entries in the triggered state currently in the alarm table.')
lan_blazer7000_alarm_general_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 1, 2), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000AlarmGeneralTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000AlarmGeneralTimeStamp.setDescription('The value of sysUpTime when any alarm state last changed (either triggering a new alarm or re-arming an old one).')
lan_blazer7000_alarms = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2))
lan_blazer7000_active_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2))
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmTable.setDescription('A table of all alarms in the triggered state.')
lan_blazer7000_active_alarm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1)).setIndexNames((0, 'ODSLANBlazer7000-MIB', 'lanBlazer7000ActiveAlarmIndex'))
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmEntry.setDescription('An alarm in the triggered state.')
lan_blazer7000_active_alarm_index = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmIndex.setDescription('The unique index that identifies this alarm.')
lan_blazer7000_active_alarm_name = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmName.setDescription('The name of this alarm.')
lan_blazer7000_active_alarm_value_high = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmValueHigh.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmValueHigh.setDescription('The high order 32 bits of the value that triggered this alarm.')
lan_blazer7000_active_alarm_value_low = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmValueLow.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmValueLow.setDescription('The low order 32 bits of the value that triggered this alarm.')
lan_blazer7000_active_alarm_variable = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 5), object_identifier()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmVariable.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmVariable.setDescription('The OID of the alarm variable if this is a user-created alarm (null otherwise).')
lan_blazer7000_active_alarm_res_type = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 6), resource_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmResType.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmResType.setDescription('The resource type of this alarm if this is an internally created alarm.')
lan_blazer7000_active_alarm_res_id = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 7), resource_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmResID.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmResID.setDescription('The resource identifier associated with this alarm if this is an internally created alarm.')
lan_blazer7000_active_alarm_leaf = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmLeaf.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmLeaf.setDescription("The leaf index of the MIB table used to manage this resource that is associated with this alarm, if this is an internally created alarm. For example, if this alarm was created to monitor a port's status, then the value of this object will be 6, corresponding to the leaf index of the lanBlazer7000PortStatus object.")
lan_blazer7000_active_alarm_owner = mib_table_column((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 11, 2, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmOwner.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000ActiveAlarmOwner.setDescription('This is the owner of the alarm.')
lan_blazer7000_snmp_traps = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13))
lan_blazer7000_system_trap = notification_type((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0, 2)).setObjects(('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEventIndex'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDescr'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapSeverity'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDTM'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResID'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResLeaf'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValueType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValue'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEpochTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapID'))
if mibBuilder.loadTexts:
lanBlazer7000SystemTrap.setDescription('A lanBlazer7000SystemTrap is sent by the agent when a system event is triggered. These events are usually triggered when the software encounters an unexpected situation, e.g. a hardware failure or a software bug.')
lan_blazer7000_configuration_trap = notification_type((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0, 3)).setObjects(('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEventIndex'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDescr'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapSeverity'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDTM'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResID'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResLeaf'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValueType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValue'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEpochTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapID'))
if mibBuilder.loadTexts:
lanBlazer7000ConfigurationTrap.setDescription('A lanBlazer7000ConfigurationTrap is sent by the agent when the configuration event is triggered. These events are triggered when a configuration change is made.')
lan_blazer7000_temperature_trap = notification_type((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0, 4)).setObjects(('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEventIndex'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDescr'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapSeverity'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDTM'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResID'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResLeaf'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValueType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValue'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEpochTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapID'))
if mibBuilder.loadTexts:
lanBlazer7000TemperatureTrap.setDescription('A lanBlazer7000TemperatureTrap is sent by the agent when the temperature event is triggered. This event is triggered when a temperature probe detects the temperature crossing a threshold.')
lan_blazer7000_resource_trap = notification_type((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0, 5)).setObjects(('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEventIndex'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDescr'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapSeverity'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDTM'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResID'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResLeaf'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValueType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValue'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEpochTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapID'))
if mibBuilder.loadTexts:
lanBlazer7000ResourceTrap.setDescription('A lanBlazer7000ResourceTrap is sent by the agent when the resource event is triggered. The resource event is triggered when a resource is added or removed from the system.')
lan_blazer7000_fan_trap = notification_type((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0, 6)).setObjects(('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEventIndex'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDescr'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapSeverity'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDTM'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResID'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResLeaf'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValueType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValue'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEpochTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapID'))
if mibBuilder.loadTexts:
lanBlazer7000FanTrap.setDescription('A lanBlazer7000FanTrap is sent by the agent when the fan status event is triggered. The fan status event is triggered when a fan has a change in its status.')
lan_blazer7000_power_trap = notification_type((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 13) + (0, 9)).setObjects(('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEventIndex'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDescr'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapSeverity'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapDTM'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResID'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapResLeaf'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValueType'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapValue'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapEpochTime'), ('ODSLANBlazer7000-MIB', 'lanBlazer7000EventTrapID'))
if mibBuilder.loadTexts:
lanBlazer7000PowerTrap.setDescription('A lanBlazer7000PowerTrap is sent by the agent when the power event is triggered. These events are triggered when a power supply changes status.')
lan_blazer7000_vlan_exchange = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14))
lan_blazer7000_vlan_exchange_switch = mib_identifier((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1))
lan_blazer7000_vlan_exchange_state = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeState.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeState.setDescription('When this object is set to enable(1), the switch attempts to learn VLANs from a major networking equipment vendor on switch ports that have their VLAN Exchange parameter set to enable(1). trunking mode is IEEE 802.1Q Format or Multi-level Format. The factory default value for this object is disable(2).')
lan_blazer7000_vlan_exchange_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeDomainName.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeDomainName.setDescription('The VLAN Exchange Domain Name of the switch. A switch may only belong to one domain.')
lan_blazer7000_vlan_exchange_updater_id = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeUpdaterId.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeUpdaterId.setDescription('The IP address of the switch from which the VLAN Exchange configuration was learned.')
lan_blazer7000_vlan_exchange_update_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 12))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeUpdateTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeUpdateTimeStamp.setDescription('The time at which the VLAN Exchange configuration changed on the initiating switch.')
lan_blazer7000_vlan_exchange_config_rev_num = mib_scalar((1, 3, 6, 1, 4, 1, 50, 8, 1, 2, 1, 14, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeConfigRevNum.setStatus('mandatory')
if mibBuilder.loadTexts:
lanBlazer7000VlanExchangeConfigRevNum.setDescription('Configuration Revision Number of VLAN Exchange Configuration on the switch that initiated the VLAN Exchange.')
mibBuilder.exportSymbols('ODSLANBlazer7000-MIB', lanBlazer7000SwitchPortLearningMode=lanBlazer7000SwitchPortLearningMode, lanBlazer7000VlanExchangeUpdaterId=lanBlazer7000VlanExchangeUpdaterId, lanBlazer7000AgentCommunity=lanBlazer7000AgentCommunity, lanBlazer7000SwitchAgingTime=lanBlazer7000SwitchAgingTime, lanBlazer7000TempTable=lanBlazer7000TempTable, lanBlazer7000PortPacePriorityEntry=lanBlazer7000PortPacePriorityEntry, MacAddress=MacAddress, lanBlazer7000PowerSupplyIndex=lanBlazer7000PowerSupplyIndex, lanBlazer7000BridgePortMgmt=lanBlazer7000BridgePortMgmt, lanBlazer7000BufferMgt=lanBlazer7000BufferMgt, lanBlazer7000PowerMgmtGen=lanBlazer7000PowerMgmtGen, lanBlazer7000EventConsoleAction=lanBlazer7000EventConsoleAction, EventValueType=EventValueType, lanBlazer7000L2AddrSummaryEntry=lanBlazer7000L2AddrSummaryEntry, lanBlazer7000PortPacePriorityMgt=lanBlazer7000PortPacePriorityMgt, lanBlazer7000EventLogDescr=lanBlazer7000EventLogDescr, lanBlazer7000ActiveAlarmResID=lanBlazer7000ActiveAlarmResID, lanBlazer7000VirtualSwitchPortStatus=lanBlazer7000VirtualSwitchPortStatus, lanBlazer7000L2AddressChangeLast=lanBlazer7000L2AddressChangeLast, lanBlazer7000EventLogType=lanBlazer7000EventLogType, lanBlazer7000BridgePortTable=lanBlazer7000BridgePortTable, lanBlazer7000PortMgt=lanBlazer7000PortMgt, lanBlazer7000PowerControlEntry=lanBlazer7000PowerControlEntry, lanBlazer7000ModuleIndex=lanBlazer7000ModuleIndex, lanBlazer7000BridgeMgmt=lanBlazer7000BridgeMgmt, lanBlazer7000PortStatus=lanBlazer7000PortStatus, lanBlazer7000PowerMgmtCtl=lanBlazer7000PowerMgmtCtl, lanBlazer7000VirtualSwitchPortBridgePort=lanBlazer7000VirtualSwitchPortBridgePort, lanBlazer7000Events=lanBlazer7000Events, lanBlazer7000InventorySerialNumber=lanBlazer7000InventorySerialNumber, lanBlazer7000PowerSupplyType=lanBlazer7000PowerSupplyType, lanBlazer7000LogLastEntry=lanBlazer7000LogLastEntry, lanBlazer7000SwitchPortVlanBindingMethod=lanBlazer7000SwitchPortVlanBindingMethod, lanBlazer7000InventoryVersion=lanBlazer7000InventoryVersion, lanBlazer7000EventShutdownLog=lanBlazer7000EventShutdownLog, lanBlazer7000HuntGroupStatus=lanBlazer7000HuntGroupStatus, lanBlazer7000PowerControlMode=lanBlazer7000PowerControlMode, lanBlazer7000L2AddrDatabaseMgt=lanBlazer7000L2AddrDatabaseMgt, ods=ods, lanBlazer7000PortCategoryEntry=lanBlazer7000PortCategoryEntry, lanBlazer7000SwitchPortTrunkingMode=lanBlazer7000SwitchPortTrunkingMode, lanBlazer7000HuntGroupMgt=lanBlazer7000HuntGroupMgt, lanBlazer7000SwitchingLayerII=lanBlazer7000SwitchingLayerII, lanBlazer7000EventTrapID=lanBlazer7000EventTrapID, lanBlazer7000PortFlowControlTable=lanBlazer7000PortFlowControlTable, lanBlazer7000ActiveAlarmIndex=lanBlazer7000ActiveAlarmIndex, lanBlazer7000EventEntry=lanBlazer7000EventEntry, lanBlazer7000ModuleName=lanBlazer7000ModuleName, lanBlazer7000PortAutoNegotiationMgt=lanBlazer7000PortAutoNegotiationMgt, lanBlazer7000BridgePortEnable=lanBlazer7000BridgePortEnable, lanBlazer7000PortSpeedTable=lanBlazer7000PortSpeedTable, lanBlazer7000SwitchPortKnownMode=lanBlazer7000SwitchPortKnownMode, lanBlazer7000BridgeStpTimeSinceTopologyChange=lanBlazer7000BridgeStpTimeSinceTopologyChange, lanBlazer7000TempEntry=lanBlazer7000TempEntry, lanBlazer7000InventoryManufactureInfo=lanBlazer7000InventoryManufactureInfo, lanBlazer7000BridgeStpForwardDelay=lanBlazer7000BridgeStpForwardDelay, lanBlazer7000L2AddressChangeWraps=lanBlazer7000L2AddressChangeWraps, lanBlazer7000PortPacePriorityMode=lanBlazer7000PortPacePriorityMode, lanBlazer7000BufferPriorityThreshold=lanBlazer7000BufferPriorityThreshold, lanBlazer7000L2AddressVlanID=lanBlazer7000L2AddressVlanID, lanBlazer7000BridgePortPriority=lanBlazer7000BridgePortPriority, lanBlazer7000BufferCongestion=lanBlazer7000BufferCongestion, lanBlazer7000ChassisGen=lanBlazer7000ChassisGen, lanBlazer7000VlanEntry=lanBlazer7000VlanEntry, lanBlazer7000EventIndex=lanBlazer7000EventIndex, lanBlazer7000CommunityEntry=lanBlazer7000CommunityEntry, lanBlazer7000BridgeStpHoldTime=lanBlazer7000BridgeStpHoldTime, lanBlazer7000PortSpeedMgt=lanBlazer7000PortSpeedMgt, lanBlazer7000BufferPriorityAllocation=lanBlazer7000BufferPriorityAllocation, lanBlazer7000SwitchPortHuntGroup=lanBlazer7000SwitchPortHuntGroup, lanBlazer7000VlanName=lanBlazer7000VlanName, lanBlazer7000L2AddressEntry=lanBlazer7000L2AddressEntry, lanBlazer7000ActiveAlarmOwner=lanBlazer7000ActiveAlarmOwner, lanBlazer7000CommunityString=lanBlazer7000CommunityString, lanBlazer7000PowerSupplyOutputStatus=lanBlazer7000PowerSupplyOutputStatus, lanBlazer7000VirtualSwitchPortBindingType=lanBlazer7000VirtualSwitchPortBindingType, lanBlazer7000EventLog=lanBlazer7000EventLog, lanBlazer7000EventShutdownLogID=lanBlazer7000EventShutdownLogID, lanBlazer7000BufferPriorityServicing=lanBlazer7000BufferPriorityServicing, lanBlazer7000L2AddressForward=lanBlazer7000L2AddressForward, lanBlazer7000EventTrapResID=lanBlazer7000EventTrapResID, lanBlazer7000CommunityStatus=lanBlazer7000CommunityStatus, lanBlazer7000BufferFabricPortDirection=lanBlazer7000BufferFabricPortDirection, lanBlazer7000ModulePorts=lanBlazer7000ModulePorts, lanBlazer7000HuntGroupBasePort=lanBlazer7000HuntGroupBasePort, lanBlazer7000SwitchPortFastStart=lanBlazer7000SwitchPortFastStart, lanBlazer7000EventShutdownLogResType=lanBlazer7000EventShutdownLogResType, lanBlazer7000L2AddrSummaryTable=lanBlazer7000L2AddrSummaryTable, lanBlazer7000L2AddrControlMgt=lanBlazer7000L2AddrControlMgt, lanBlazer70003ComMappingTableStatus=lanBlazer70003ComMappingTableStatus, lanBlazer7000EventShutdownLogSeverity=lanBlazer7000EventShutdownLogSeverity, lanBlazer7000VirtualSwitchPortIndex=lanBlazer7000VirtualSwitchPortIndex, lanBlazer7000SwitchPortEntry=lanBlazer7000SwitchPortEntry, lanBlazer7000PortAutoNegotiationDuplexAdvertisement=lanBlazer7000PortAutoNegotiationDuplexAdvertisement, lanBlazer7000BufferEntry=lanBlazer7000BufferEntry, lanBlazer7000SwitchPortIndex=lanBlazer7000SwitchPortIndex, lanBlazer7000AgentGen=lanBlazer7000AgentGen, lanBlazer7000VlanAFTIndex=lanBlazer7000VlanAFTIndex, lanBlazer7000BufferHighOverflowDrops=lanBlazer7000BufferHighOverflowDrops, lanBlazer7000BridgePortForwardTransitions=lanBlazer7000BridgePortForwardTransitions, lanBlazer7000PowerSystems=lanBlazer7000PowerSystems, lanBlazer7000SwitchPortSTAPMode=lanBlazer7000SwitchPortSTAPMode, lanBlazer7000PortRateLimitMode=lanBlazer7000PortRateLimitMode, lanBlazer7000AlarmGeneralActiveEntries=lanBlazer7000AlarmGeneralActiveEntries, lanBlazer7000PortFlowControlEntry=lanBlazer7000PortFlowControlEntry, lanBlazer7000PortEntry=lanBlazer7000PortEntry, lanBlazer7000PortSpeedState=lanBlazer7000PortSpeedState, lanBlazer7000L2AddressControlPortBinding=lanBlazer7000L2AddressControlPortBinding, lanBlazer7000PowerUsed=lanBlazer7000PowerUsed, lanBlazer7000BridgeMode=lanBlazer7000BridgeMode, lanBlazer7000BridgeType=lanBlazer7000BridgeType, lanBlazer7000PortGroupBinding=lanBlazer7000PortGroupBinding, lanBlazer7000PowerControlPriority=lanBlazer7000PowerControlPriority, lanBlazer7000BridgePortEntry=lanBlazer7000BridgePortEntry, lanBlazer7000L2AddrSummary=lanBlazer7000L2AddrSummary, lanBlazer7000PortAutoNegotiationSpeedAdvertisement=lanBlazer7000PortAutoNegotiationSpeedAdvertisement, lanBlazer7000SwitchPortPhysicalPort=lanBlazer7000SwitchPortPhysicalPort, lanBlazer7000AlarmGeneralTimeStamp=lanBlazer7000AlarmGeneralTimeStamp, lanBlazer7000SwitchPortTable=lanBlazer7000SwitchPortTable, lanBlazer7000PowerSupplyTable=lanBlazer7000PowerSupplyTable, lanBlazer7000VirtualSwitchPortTable=lanBlazer7000VirtualSwitchPortTable, lanBlazer7000InventoryResourceIndex=lanBlazer7000InventoryResourceIndex, lanBlazer7000BridgeStpRootCost=lanBlazer7000BridgeStpRootCost, lanBlazer7000PowerCapacity=lanBlazer7000PowerCapacity, lanBlazer7000PowerControlTable=lanBlazer7000PowerControlTable, lanBlazer7000EventShutdownLogResID=lanBlazer7000EventShutdownLogResID, lanBlazer7000ActiveAlarmTable=lanBlazer7000ActiveAlarmTable, lanBlazer7000PowerSupplyStatus=lanBlazer7000PowerSupplyStatus, odsLANBlazer=odsLANBlazer, lanBlazer7000EventLogDTM=lanBlazer7000EventLogDTM, lanBlazer7000EventLogTable=lanBlazer7000EventLogTable, lanBlazer7000PortDuplexMgt=lanBlazer7000PortDuplexMgt, lanBlazer7000L2AddressIndex=lanBlazer7000L2AddressIndex, lanBlazer7000VlanAutoIncrementHTSize=lanBlazer7000VlanAutoIncrementHTSize, lanBlazer7000VlanMappings=lanBlazer7000VlanMappings, lanBlazer7000ShutdownLogAcknowledged=lanBlazer7000ShutdownLogAcknowledged, lanBlazer70003ComMappingTableIndex=lanBlazer70003ComMappingTableIndex, lanBlazer7000Vlan3ComMappingTable=lanBlazer7000Vlan3ComMappingTable, lanBlazer7000LogTableMaxSize=lanBlazer7000LogTableMaxSize, lanBlazer7000EventLogResID=lanBlazer7000EventLogResID, lanBlazer7000L2AddressControlPersistence=lanBlazer7000L2AddressControlPersistence, lanBlazer7000BridgePortFastStart=lanBlazer7000BridgePortFastStart, lanBlazer7000PortIndex=lanBlazer7000PortIndex, lanBlazer7000BridgeIndex=lanBlazer7000BridgeIndex, lanBlazer7000Vlan3ComMappingIndex=lanBlazer7000Vlan3ComMappingIndex, lanBlazer7000InventoryScratchPad=lanBlazer7000InventoryScratchPad, lanBlazer7000L2AddressControlIndex=lanBlazer7000L2AddressControlIndex, lanBlazer7000Agent=lanBlazer7000Agent, lanBlazer7000HuntGroupLoadSharing=lanBlazer7000HuntGroupLoadSharing, lanBlazer7000PortAutoNegotiationMode=lanBlazer7000PortAutoNegotiationMode, lanBlazer7000Chassis=lanBlazer7000Chassis, lanBlazer7000L2AddressTable=lanBlazer7000L2AddressTable, lanBlazer7000FanTrap=lanBlazer7000FanTrap, lanBlazer7000SwitchSuperAgingTime=lanBlazer7000SwitchSuperAgingTime, lanBlazer7000HuntGroupEntry=lanBlazer7000HuntGroupEntry, lanBlazer7000CommunityAccess=lanBlazer7000CommunityAccess, lanBlazer7000PortSpeedEntry=lanBlazer7000PortSpeedEntry, lanBlazer7000L2AddrChangeMgt=lanBlazer7000L2AddrChangeMgt, lanBlazer7000BufferAgeTimer=lanBlazer7000BufferAgeTimer, lanBlazer7000SnmpTraps=lanBlazer7000SnmpTraps, lanBlazer7000PortMirroringRate=lanBlazer7000PortMirroringRate, lanBlazer7000SwitchPortConvertToStatic=lanBlazer7000SwitchPortConvertToStatic, lanBlazer7000PortFlowControlMode=lanBlazer7000PortFlowControlMode, lanBlazer7000EventTrapResLeaf=lanBlazer7000EventTrapResLeaf, lanBlazer7000VlanExchangeSwitch=lanBlazer7000VlanExchangeSwitch, lanBlazer7000BufferIndex=lanBlazer7000BufferIndex, lanBlazer7000L2AddrSummaryMgt=lanBlazer7000L2AddrSummaryMgt, lanBlazer7000BridgeStpBridgeForwardDelay=lanBlazer7000BridgeStpBridgeForwardDelay, lanBlazer7000ModuleTable=lanBlazer7000ModuleTable, lanBlazer7000ActiveAlarmLeaf=lanBlazer7000ActiveAlarmLeaf, lanBlazer7000ShutdownLogTableMaxSize=lanBlazer7000ShutdownLogTableMaxSize, lanBlazer7000TempValue=lanBlazer7000TempValue, lanBlazer7000Vlans=lanBlazer7000Vlans, lanBlazer7000PortRateLimitMgt=lanBlazer7000PortRateLimitMgt, lanBlazer7000SwitchSTPConfig=lanBlazer7000SwitchSTPConfig, lanBlazer7000EventShutdownLogEntry=lanBlazer7000EventShutdownLogEntry, lanBlazer7000ModuleSlotOffset=lanBlazer7000ModuleSlotOffset, lanBlazer7000BridgeStpMaxAge=lanBlazer7000BridgeStpMaxAge, lanBlazer7000PortRateLimitBurstSize=lanBlazer7000PortRateLimitBurstSize, lanBlazer7000PortMirroringSourceSubPort=lanBlazer7000PortMirroringSourceSubPort, lanBlazer7000VlanBridgeIndex=lanBlazer7000VlanBridgeIndex, lanBlazer7000EventShutdownLogIndex=lanBlazer7000EventShutdownLogIndex, odsLANBlazer7000Mib=odsLANBlazer7000Mib, lanBlazer7000VlanID=lanBlazer7000VlanID, lanBlazer7000ModuleBaseType=lanBlazer7000ModuleBaseType, lanBlazer7000PortCategoryTable=lanBlazer7000PortCategoryTable, lanBlazer7000PortBaseType=lanBlazer7000PortBaseType, ResourceId=ResourceId, lanBlazer7000ShutdownLogLastEntry=lanBlazer7000ShutdownLogLastEntry, lanBlazer7000EventLogEntry=lanBlazer7000EventLogEntry, lanBlazer7000EventShutdownLogEventIndex=lanBlazer7000EventShutdownLogEventIndex, lanBlazer7000BridgePortDesignatedBridge=lanBlazer7000BridgePortDesignatedBridge, lanBlazer7000PowerSupplyOutputCapacity=lanBlazer7000PowerSupplyOutputCapacity, lanBlazer7000PortDuplexMode=lanBlazer7000PortDuplexMode, lanBlazer7000PortType=lanBlazer7000PortType, lanBlazer7000VlanStatus=lanBlazer7000VlanStatus, lanBlazer7000BridgeStpPriority=lanBlazer7000BridgeStpPriority, lanBlazer7000SwitchPortMirrorMode=lanBlazer7000SwitchPortMirrorMode, lanBlazer7000VlanMgt=lanBlazer7000VlanMgt, lanBlazer7000PortDuplexState=lanBlazer7000PortDuplexState, lanBlazer7000ModuleSlotWidth=lanBlazer7000ModuleSlotWidth, lanBlazer7000VlanInitialHashTableSize=lanBlazer7000VlanInitialHashTableSize, lanBlazer7000PowerSupplies=lanBlazer7000PowerSupplies, lanBlazer7000AgentMIBVersion=lanBlazer7000AgentMIBVersion, lanBlazer7000EventTable=lanBlazer7000EventTable, lanBlazer7000BridgeTable=lanBlazer7000BridgeTable, lanBlazer7000PortAutoNegotiationEntry=lanBlazer7000PortAutoNegotiationEntry, lanBlazer7000EventTrapValue=lanBlazer7000EventTrapValue, lanBlazer7000VlanExchange=lanBlazer7000VlanExchange, lanBlazer7000SwitchPortMgt=lanBlazer7000SwitchPortMgt, lanBlazer7000TempLowerWarning=lanBlazer7000TempLowerWarning, odsLANBlazerMibs=odsLANBlazerMibs, lanBlazer7000ActiveAlarmName=lanBlazer7000ActiveAlarmName, lanBlazer7000L2AddressPersistence=lanBlazer7000L2AddressPersistence, lanBlazer7000PortTable=lanBlazer7000PortTable, lanBlazer7000VlanTable=lanBlazer7000VlanTable, lanBlazer7000Alarms=lanBlazer7000Alarms, lanBlazer7000BridgePortPathCost=lanBlazer7000BridgePortPathCost, lanBlazer7000PortFlowControlMgt=lanBlazer7000PortFlowControlMgt, lanBlazer7000BufferFabricPort=lanBlazer7000BufferFabricPort, lanBlazer7000InventoryTable=lanBlazer7000InventoryTable, lanBlazer7000ActiveAlarmResType=lanBlazer7000ActiveAlarmResType, lanBlazer7000EventTrapValueType=lanBlazer7000EventTrapValueType, lanBlazer7000SwitchPortVlanExchange=lanBlazer7000SwitchPortVlanExchange, lanBlazer7000EventLogSeverity=lanBlazer7000EventLogSeverity, lanBlazer7000HuntGroupName=lanBlazer7000HuntGroupName, lanBlazer7000ChassisType=lanBlazer7000ChassisType, lanBlazer7000EventShutdownLogDescr=lanBlazer7000EventShutdownLogDescr, lanBlazer7000ActiveAlarmVariable=lanBlazer7000ActiveAlarmVariable, odsTPS=odsTPS, lanBlazer7000L2AddrMgmt=lanBlazer7000L2AddrMgmt, lanBlazer7000BridgePortState=lanBlazer7000BridgePortState, lanBlazer7000BridgeStpBridgeHelloTime=lanBlazer7000BridgeStpBridgeHelloTime, lanBlazer7000BridgeStpRootPort=lanBlazer7000BridgeStpRootPort, lanBlazer7000VlanExchangeDomainName=lanBlazer7000VlanExchangeDomainName, lanBlazer7000PortCategoryMode=lanBlazer7000PortCategoryMode, lanBlazer7000SwitchPortMappingMethod=lanBlazer7000SwitchPortMappingMethod, lanBlazer7000SwitchGen=lanBlazer7000SwitchGen, lanBlazer7000HuntGroupNumberOfPorts=lanBlazer7000HuntGroupNumberOfPorts, lanBlazer7000BufferCongestionDrops=lanBlazer7000BufferCongestionDrops, lanBlazer7000BridgePortDesignatedRoot=lanBlazer7000BridgePortDesignatedRoot, lanBlazer7000BridgePortIndex=lanBlazer7000BridgePortIndex, lanBlazer7000EventTrapTime=lanBlazer7000EventTrapTime, lanBlazer7000PortMirroringEntry=lanBlazer7000PortMirroringEntry, lanBlazer7000PortSpeedMode=lanBlazer7000PortSpeedMode, lanBlazer7000SwitchPortVlanID=lanBlazer7000SwitchPortVlanID, lanBlazer7000BridgePortEnableChangeDetection=lanBlazer7000BridgePortEnableChangeDetection, lanBlazer7000InventoryResourceType=lanBlazer7000InventoryResourceType, lanBlazer7000BridgeStpBridgeMaxAge=lanBlazer7000BridgeStpBridgeMaxAge, lanBlazer7000PortRateLimitEntry=lanBlazer7000PortRateLimitEntry, lanBlazer7000PortRateLimitRate=lanBlazer7000PortRateLimitRate, lanBlazer7000PortCategoryMgt=lanBlazer7000PortCategoryMgt, lanBlazer7000AgentWeb=lanBlazer7000AgentWeb, lanBlazer7000TempLowerLimit=lanBlazer7000TempLowerLimit)
mibBuilder.exportSymbols('ODSLANBlazer7000-MIB', lanBlazer7000PortMirroringTable=lanBlazer7000PortMirroringTable, lanBlazer7000PortConnector=lanBlazer7000PortConnector, lanBlazer7000PortDuplexEntry=lanBlazer7000PortDuplexEntry, lanBlazer7000VirtualPorts=lanBlazer7000VirtualPorts, lanBlazer7000EventShutdownLogEpochTime=lanBlazer7000EventShutdownLogEpochTime, lanBlazer7000EventTrapAction=lanBlazer7000EventTrapAction, lanBlazer7000EventShutdownLogTable=lanBlazer7000EventShutdownLogTable, lanBlazer7000PowerSupplyEntry=lanBlazer7000PowerSupplyEntry, lanBlazer7000L2AddressControlVlanID=lanBlazer7000L2AddressControlVlanID, lanBlazer70003ComMappingTable=lanBlazer70003ComMappingTable, lanBlazer7000ConfigurationTrap=lanBlazer7000ConfigurationTrap, lanBlazer7000VlanExchangeUpdateTimeStamp=lanBlazer7000VlanExchangeUpdateTimeStamp, lanBlazer70003ComMappingEntry=lanBlazer70003ComMappingEntry, lanBlazer7000L2AddressControlStatus=lanBlazer7000L2AddressControlStatus, lanBlazer7000SwitchPortIfIndex=lanBlazer7000SwitchPortIfIndex, lanBlazer7000ActiveAlarmValueLow=lanBlazer7000ActiveAlarmValueLow, lanBlazer7000EventTrapSeverity=lanBlazer7000EventTrapSeverity, lanBlazer7000BridgeStpTopChanges=lanBlazer7000BridgeStpTopChanges, lanBlazer7000EventLogValue=lanBlazer7000EventLogValue, lanBlazer70003ComMapping=lanBlazer70003ComMapping, lanBlazer7000BufferLowOverflowDrops=lanBlazer7000BufferLowOverflowDrops, lanBlazer7000BufferSwitchPort=lanBlazer7000BufferSwitchPort, lanBlazer7000Vlan3ComMapping=lanBlazer7000Vlan3ComMapping, lanBlazer7000EventLogValueType=lanBlazer7000EventLogValueType, lanBlazer7000L2AddressControlEntry=lanBlazer7000L2AddressControlEntry, lanBlazer7000PortMirroringSamplerType=lanBlazer7000PortMirroringSamplerType, lanBlazer7000VlanIfIndex=lanBlazer7000VlanIfIndex, lanBlazer7000EventShutdownLogValue=lanBlazer7000EventShutdownLogValue, lanBlazer7000ActiveAlarmValueHigh=lanBlazer7000ActiveAlarmValueHigh, lanBlazer7000CommunityIndex=lanBlazer7000CommunityIndex, lanBlazer7000ChassisSlots=lanBlazer7000ChassisSlots, RowStatus=RowStatus, lanBlazer7000L2AddressChangeMaxEntries=lanBlazer7000L2AddressChangeMaxEntries, lanBlazer7000TempUpperLimit=lanBlazer7000TempUpperLimit, lanBlazer7000VlanExchangeState=lanBlazer7000VlanExchangeState, lanBlazer7000EventLogID=lanBlazer7000EventLogID, lanBlazer7000CommunityTrapReceiver=lanBlazer7000CommunityTrapReceiver, lanBlazer7000L2AddressStatus=lanBlazer7000L2AddressStatus, lanBlazer7000L2AddressChangeIndexChanged=lanBlazer7000L2AddressChangeIndexChanged, lanBlazer7000SwitchPortAutoVlanCreation=lanBlazer7000SwitchPortAutoVlanCreation, lanBlazer7000VlanLearnStatus=lanBlazer7000VlanLearnStatus, lanBlazer7000L2AddressChangeEntry=lanBlazer7000L2AddressChangeEntry, lanBlazer7000Vlan3ComMappingStatus=lanBlazer7000Vlan3ComMappingStatus, lanBlazer7000L2AddressMacAddress=lanBlazer7000L2AddressMacAddress, lanBlazer7000Vlan3ComMappingVlanID=lanBlazer7000Vlan3ComMappingVlanID, lanBlazer7000EventLogResLeaf=lanBlazer7000EventLogResLeaf, lanBlazer7000EventTrapEpochTime=lanBlazer7000EventTrapEpochTime, lanBlazer7000EventLogResType=lanBlazer7000EventLogResType, lanBlazer7000EventShutdownLogValueType=lanBlazer7000EventShutdownLogValueType, lanBlazer7000PortMirroringMgt=lanBlazer7000PortMirroringMgt, lanBlazer7000PortMirroringMirrorPort=lanBlazer7000PortMirroringMirrorPort, lanBlazer7000VirtualSwitchPortFormat=lanBlazer7000VirtualSwitchPortFormat, lanBlazer7000PowerControlUsed=lanBlazer7000PowerControlUsed, lanBlazer7000Inventory=lanBlazer7000Inventory, lanBlazer7000AlarmMgt=lanBlazer7000AlarmMgt, lanBlazer7000PortDuplexTable=lanBlazer7000PortDuplexTable, lanBlazer7000ModuleType=lanBlazer7000ModuleType, lanBlazer7000BridgeStpHelloTime=lanBlazer7000BridgeStpHelloTime, lanBlazer7000BridgePortDesignatedCost=lanBlazer7000BridgePortDesignatedCost, lanBlazer7000BridgePortDesignatedPort=lanBlazer7000BridgePortDesignatedPort, lanBlazer7000InventoryModelNumber=lanBlazer7000InventoryModelNumber, lanBlazer7000BridgeEntry=lanBlazer7000BridgeEntry, lanBlazer7000L2AddressTableIndex=lanBlazer7000L2AddressTableIndex, lanBlazer7000LogWraps=lanBlazer7000LogWraps, lanBlazer7000L2AddressChangeTable=lanBlazer7000L2AddressChangeTable, lanBlazer7000SystemTrap=lanBlazer7000SystemTrap, lanBlazer7000ResourceTrap=lanBlazer7000ResourceTrap, DisplayString=DisplayString, lanBlazer7000AgentWebServerURL=lanBlazer7000AgentWebServerURL, lanBlazer7000L2AddressChangeIndex=lanBlazer7000L2AddressChangeIndex, lanBlazer7000EventLogMgt=lanBlazer7000EventLogMgt, lanBlazer7000PortMirroringIndex=lanBlazer7000PortMirroringIndex, lanBlazer7000PortMode=lanBlazer7000PortMode, lanBlazer7000EventLogAction=lanBlazer7000EventLogAction, lanBlazer7000BufferLowStaleDrops=lanBlazer7000BufferLowStaleDrops, Timeout=Timeout, lanBlazer7000EventTrapType=lanBlazer7000EventTrapType, lanBlazer7000CommunityAddress=lanBlazer7000CommunityAddress, lanBlazer7000AgentMgrIndex=lanBlazer7000AgentMgrIndex, lanBlazer7000PortAutoNegotiationTable=lanBlazer7000PortAutoNegotiationTable, lanBlazer7000L2AddressChangeWrapCount=lanBlazer7000L2AddressChangeWrapCount, lanBlazer7000PortRateLimitTable=lanBlazer7000PortRateLimitTable, lanBlazer7000EventTrapMgmt=lanBlazer7000EventTrapMgmt, lanBlazer7000EventTrapResType=lanBlazer7000EventTrapResType, lanBlazer7000EventLogEventIndex=lanBlazer7000EventLogEventIndex, lanBlazer7000EventShutdownLogTime=lanBlazer7000EventShutdownLogTime, lanBlazer7000SwitchPortIgnoreTag=lanBlazer7000SwitchPortIgnoreTag, lanBlazer7000EventShutdownLogType=lanBlazer7000EventShutdownLogType, lanBlazer7000PowerSupplyInputStatus=lanBlazer7000PowerSupplyInputStatus, lanBlazer7000CommunityAddressType=lanBlazer7000CommunityAddressType, lanBlazer7000BufferMemory=lanBlazer7000BufferMemory, lanBlazer7000TemperatureTrap=lanBlazer7000TemperatureTrap, lanBlazer7000CommunityTable=lanBlazer7000CommunityTable, lanBlazer70003ComMappingTableName=lanBlazer70003ComMappingTableName, lanBlazer7000L2AddressControlTable=lanBlazer7000L2AddressControlTable, lanBlazer7000L2AddressBindingValid=lanBlazer7000L2AddressBindingValid, lanBlazer7000EventMode=lanBlazer7000EventMode, lanBlazer7000EventLogEpochTime=lanBlazer7000EventLogEpochTime, lanBlazer7000L2AddressChangeSummary=lanBlazer7000L2AddressChangeSummary, lanBlazer7000EventLogIndex=lanBlazer7000EventLogIndex, lanBlazer7000ModuleEntry=lanBlazer7000ModuleEntry, lanBlazer7000Vlan3ComMappingEntry=lanBlazer7000Vlan3ComMappingEntry, lanBlazer7000L2AddressControlPriority=lanBlazer7000L2AddressControlPriority, lanBlazer7000PortPacePriorityTable=lanBlazer7000PortPacePriorityTable, lanBlazer7000Ports=lanBlazer7000Ports, lanBlazer7000EventShutdownLogDTM=lanBlazer7000EventShutdownLogDTM, lanBlazer7000EventTrapDTM=lanBlazer7000EventTrapDTM, lanBlazer7000BufferHighStaleDrops=lanBlazer7000BufferHighStaleDrops, lanBlazer7000BridgeStatus=lanBlazer7000BridgeStatus, lanBlazer7000HuntGroupIndex=lanBlazer7000HuntGroupIndex, lanBlazer7000VirtualSwitchPortEntry=lanBlazer7000VirtualSwitchPortEntry, ResourceType=ResourceType, lanBlazer7000L2AddressPriority=lanBlazer7000L2AddressPriority, lanBlazer7000EventShutdownLogResLeaf=lanBlazer7000EventShutdownLogResLeaf, lanBlazer7000Switching=lanBlazer7000Switching, lanBlazer7000CommunitySecurityLevel=lanBlazer7000CommunitySecurityLevel, lanBlazer7000AgentWebServerHelpDirectory=lanBlazer7000AgentWebServerHelpDirectory, lanBlazer7000EventTrapDescr=lanBlazer7000EventTrapDescr, lanBlazer7000EventTrapEventIndex=lanBlazer7000EventTrapEventIndex, lanBlazer7000EventMgt=lanBlazer7000EventMgt, lanBlazer7000PortName=lanBlazer7000PortName, lanBlazer7000SwitchPort3ComMappingTableIndex=lanBlazer7000SwitchPort3ComMappingTableIndex, lanBlazer7000Modules=lanBlazer7000Modules, lanBlazer7000TempIndex=lanBlazer7000TempIndex, lanBlazer7000PowerTrap=lanBlazer7000PowerTrap, lanBlazer7000AlarmGeneral=lanBlazer7000AlarmGeneral, lanBlazer7000TempUpperWarning=lanBlazer7000TempUpperWarning, lanBlazer7000Temperature=lanBlazer7000Temperature, lanBlazer7000L2AddressControlMacAddress=lanBlazer7000L2AddressControlMacAddress, lanBlazer7000InventoryEntry=lanBlazer7000InventoryEntry, lanBlazer7000BufferTable=lanBlazer7000BufferTable, lanBlazer7000ActiveAlarmEntry=lanBlazer7000ActiveAlarmEntry, lanBlazer7000VlanExchangeConfigRevNum=lanBlazer7000VlanExchangeConfigRevNum, lanBlazer7000L2AddressCopy=lanBlazer7000L2AddressCopy, lanBlazer7000EventLogTime=lanBlazer7000EventLogTime, lanBlazer7000BridgePortSetDefault=lanBlazer7000BridgePortSetDefault, lanBlazer7000ShutdownLogMgt=lanBlazer7000ShutdownLogMgt, lanBlazer7000HuntGroupTable=lanBlazer7000HuntGroupTable, lanBlazer7000BridgeStpDesignatedRoot=lanBlazer7000BridgeStpDesignatedRoot, EventCategory=EventCategory, BridgeId=BridgeId, lanBlazer7000L2AddressPortBinding=lanBlazer7000L2AddressPortBinding) |
#W.A.P TO CHECK WHETHER THE NO. IS ARMSTRONG NO.
x=int(input('Enter a no.'))
sum=0
t=x
while(t!=0):
sum=sum+(int(t%10))**3
t=t/10
if(sum==x):
print('It is an armstrong no.')
else:
print('It is not an armstrong no.') | x = int(input('Enter a no.'))
sum = 0
t = x
while t != 0:
sum = sum + int(t % 10) ** 3
t = t / 10
if sum == x:
print('It is an armstrong no.')
else:
print('It is not an armstrong no.') |
# coding: utf8
FILENAME_TYPE = {'full': '_T1w_space-MNI152NLin2009cSym_res-1x1x1_T1w',
'cropped': '_T1w_space-MNI152NLin2009cSym_desc-Crop_res-1x1x1_T1w',
'skull_stripped': '_space-Ixi549Space_desc-skullstripped_T1w'}
| filename_type = {'full': '_T1w_space-MNI152NLin2009cSym_res-1x1x1_T1w', 'cropped': '_T1w_space-MNI152NLin2009cSym_desc-Crop_res-1x1x1_T1w', 'skull_stripped': '_space-Ixi549Space_desc-skullstripped_T1w'} |
T = [3614090360, 3905402710, 606105819, 3250441966,
4118548399, 1200080426, 2821735955, 4249261313,
1770035416, 2336552879, 4294925233, 2304563134,
1804603682, 4254626195, 2792965006, 1236535329,
4129170786, 3225465664, 643717713, 3921069994,
3593408605, 38016083, 3634488961, 3889429448,
568446438, 3275163606, 4107603335, 1163531501,
2850285829, 4243563512, 1735328473, 2368359562,
4294588738, 2272392833, 1839030562, 4259657740,
2763975236, 1272893353, 4139469664, 3200236656,
681279174, 3936430074, 3572445317, 76029189,
3654602809, 3873151461, 530742520, 3299628645,
4096336452, 1126891415, 2878612391, 4237533241,
1700485571, 2399980690, 4293915773, 2240044497,
1873313359, 4264355552, 2734768916, 1309151649,
4149444226, 3174756917, 718787259, 3951481745]
| t = [3614090360, 3905402710, 606105819, 3250441966, 4118548399, 1200080426, 2821735955, 4249261313, 1770035416, 2336552879, 4294925233, 2304563134, 1804603682, 4254626195, 2792965006, 1236535329, 4129170786, 3225465664, 643717713, 3921069994, 3593408605, 38016083, 3634488961, 3889429448, 568446438, 3275163606, 4107603335, 1163531501, 2850285829, 4243563512, 1735328473, 2368359562, 4294588738, 2272392833, 1839030562, 4259657740, 2763975236, 1272893353, 4139469664, 3200236656, 681279174, 3936430074, 3572445317, 76029189, 3654602809, 3873151461, 530742520, 3299628645, 4096336452, 1126891415, 2878612391, 4237533241, 1700485571, 2399980690, 4293915773, 2240044497, 1873313359, 4264355552, 2734768916, 1309151649, 4149444226, 3174756917, 718787259, 3951481745] |
def driver():
list = []
age1 = input("Enter the first number:")
age2 = input("Enter the second number:")
def swap(num1, num2):
if age1 > age2:
list.append(age2)
list.append(age1)
if age1 < age2:
list.append(age1)
list.append(age2)
swap(age1,age2)
print("the swapped result (from least to greatest)", list)
if __name__ == "__main__":
driver() | def driver():
list = []
age1 = input('Enter the first number:')
age2 = input('Enter the second number:')
def swap(num1, num2):
if age1 > age2:
list.append(age2)
list.append(age1)
if age1 < age2:
list.append(age1)
list.append(age2)
swap(age1, age2)
print('the swapped result (from least to greatest)', list)
if __name__ == '__main__':
driver() |
db_config = {
# 'host': 'localhost',
# 'port': 1337,
# 'unix_socket': '/var/lib/mysql/mysql.sock',
'user': 'root',
# 'passwd': 'password,
'db': 'logs_db'
}
| db_config = {'user': 'root', 'db': 'logs_db'} |
make_numbers = {'American Motors': 1,
'Jeep/Kaiser-Jeep/Willys Jeep': 2,
'AM General': 3,
'Chrysler': 6,
'Dodge': 7,
'Imperial': 8,
'Plymouth': 9,
'Eagle': 10,
'Ford': 12,
'Lincoln': 13,
'Mercury': 14,
'Buick/Opel': 18,
'Cadillac': 19,
'Chevrolet': 20,
'Oldsmobile': 21,
'Pontiac': 22,
'GMC': 23,
'Saturn': 24,
'Grumman': 25,
'Coda': 26,
'Other Domestic': 29,
'Volkswagon': 30,
'Alfa Romeo': 31,
'Audi': 32,
'Austin/Austin-Healey': 33,
'BMW': 34,
'Datsun/Nissan': 35,
'Fiat': 36,
'Honda': 37,
'Isuzu': 38,
'Jaguar': 39,
'Lancia': 40,
'Mazda': 41,
'Mercedes-Benz': 42,
'MG': 43,
'Peugeot': 44,
'Porsche': 45,
'Renault': 46,
'Saab': 47,
'Subaru': 48,
'Toyota': 49,
'Triumph': 50,
'Volvo': 51,
'Mitsubishi': 52,
'Suzuki': 53,
'Acura': 54,
'Hyundai': 55,
'Merkur': 56,
'Yugo': 57,
'Infiniti': 58,
'Lexus': 59,
'Daihatsu': 60,
'Land Rover': 62,
'Kia': 63,
'Daewoo': 64,
'Smart': 65,
'Mahindra': 66,
'Scion': 67,
'Other Imports': 69,
'BSA': 70,
'Ducati': 71,
'Harley-Davidson': 72,
'Kawasaki': 73,
'Moto Guzzi': 74,
'Norton': 75,
'Yamaha': 76,
'Victory': 77,
'Other Make Moped': 78,
'Other Make Motored Cycle': 79,
'Brockway': 80,
'Diamond Reo/Reo': 81,
'Freightliner': 82,
'FWD': 83,
'International Harvester/Navistar': 84,
'Kenworth': 85,
'Mack': 86,
'Peterbilt': 87,
'Iveco/Magirus': 88,
'White/Autocar, White/GMC': 89,
'Bluebird': 90,
'Eagle Coach': 91,
'Gillig': 92,
'MCI': 93,
'Thomas Built': 94,
'Not Reported': 97,
'Other Make': 98,
'Unknown': 99
}
model_numbers = {
'Automobiles': 0,
'Other(Autos)': 1,
'Unknown (Autos)': 2,
'Light Trucks': 3,
'Other (Light Trucks)': 4,
'Unknown (LT)': 5,
'Other (LSV or NEV)': 6,
'Unknown (LSV OR NEV)': 7,
'Motorcycles': 8,
'Electric Motorcycle': 9,
'Unknown cc (Motorcycles)': 10,
'All-Terrain Vehicles': 11,
'Unknown cc (ATV)Unkown (motored cycle)': 12,
'Other Make (Med/Heavy Trucks)': 13,
'Motor Home': 14,
'Med/Heavy Van-Based Vehicle': 15,
'Med/Heavy Pickup': 16,
'Med/Heavy Trucks - CBE': 17,
'Med/Heavy Trucks - COE': 18,
'Med/Heavy Trucks - COE (low entry)': 19,
'Med/Heavy Trucks - COE (high entry)': 20,
'Med/Heavy Trucks - Unknown engine location': 21,
'Med/Heavy Trucks - COE (entry position unknown)': 22,
'Other (Med/Heavy Trucks)': 23,
'Other Make (Buses)': 24,
'Buses': 25,
'Other (Bus)': 26,
'Unknown (Bus)': 27,
'Not Reported': 28,
'Other (Vehicle)': 29
}
stateDict = {'AL': '1', 'AK': '2', 'AZ': '4', 'AR': '5', 'CA': '6', 'CO': '8', 'CT': '9', 'DE': '10', 'DC': '11', 'FL': '12', 'GA': '14', 'HI': '15', 'ID': '16', 'IL': '17', 'IN': '18', 'IA': '19', 'KS': '20', 'KY': '21', 'LA': '22', 'ME': '23', 'MD': '24', 'MA': '25', 'MI': '26', 'MN': '27', 'MS': '28', 'MO': '29', 'MT': '30', 'NE': '31', 'NV': '32', 'NH': '33', 'NJ': '34', 'NM': '35', 'NY': '36', 'NC': '37', 'ND': '38', 'OH': '39', 'OK': '40', 'OR': '41', 'PA': '42', 'RI': '44', 'SC': '45', 'SD': '46', 'TN': '47', 'TX': '48', 'UT': '49', 'VT': '50', 'VA': '51', 'WA': '53', 'WV': '54', 'WI': '55', 'WY': '56'}
percentDict = {
1: 2.48,
2: 0.18,
4: 2.42,
5: 1.47,
6: 9.73,
8: 1.72,
9: 0.77,
10: 0.35,
11: 0.06,
12: 8.41,
13: 4.30,
15: 0.25,
16: 0.61,
17: 2.85,
18: 2.35,
19: 0.88,
20: 1.05,
21: 2.21,
22: 2.08,
23: 0.42,
24: 1.49,
25: 0.89,
26: 2.88,
27: 1.10,
28: 1.80,
29: 2.50 ,
30: 0.46,
31: 0.63,
32: 0.91,
33: 0.29,
34: 1.59,
35: 0.89,
36: 2.77,
37: 3.95,
38: 0.30,
39: 3.23,
40: 1.84,
41: 1.22,
42: 3.39,
44: 0.14,
45: 2.74,
46: 0.30,
47: 2.79,
48: 10.08,
49: 0.79,
50: 0.15,
51: 2.12,
53: 1.55,
54: 0.72,
55: 1.60,
56: 0.32,
}
percentAvg = 0.87
agePctDict = {
"1923" : 0.0007 ,
"1927" : 0.0007 ,
"1928" : 0.0014 ,
"1929" : 0.0033 ,
"1930" : 0.0014 ,
"1931" : 0.0014 ,
"1932" : 0.0049 ,
"1933" : 0.0007 ,
"1934" : 0.0019 ,
"1936" : 0.0007 ,
"1937" : 0.0021 ,
"1938" : 0.0007 ,
"1939" : 0.0005 ,
"1940" : 0.0042 ,
"1941" : 0.0026 ,
"1942" : 0.0005 ,
"1945" : 0.0007 ,
"1946" : 0.0026 ,
"1947" : 0.0021 ,
"1948" : 0.0012 ,
"1949" : 0.0014 ,
"1950" : 0.0021 ,
"1951" : 0.0007 ,
"1952" : 0.0014 ,
"1954" : 0.0026 ,
"1955" : 0.0007 ,
"1956" : 0.0021 ,
"1957" : 0.0035 ,
"1958" : 0.0035 ,
"1959" : 0.0007 ,
"1960" : 0.0007 ,
"1961" : 0.0021 ,
"1962" : 0.0033 ,
"1963" : 0.0040 ,
"1964" : 0.0061 ,
"1965" : 0.0098 ,
"1966" : 0.0107 ,
"1967" : 0.0184 ,
"1968" : 0.0168 ,
"1969" : 0.0165 ,
"1970" : 0.0235 ,
"1971" : 0.0168 ,
"1972" : 0.0191 ,
"1973" : 0.0205 ,
"1974" : 0.0275 ,
"1975" : 0.0273 ,
"1976" : 0.0291 ,
"1977" : 0.0312 ,
"1978" : 0.0419 ,
"1979" : 0.0485 ,
"1980" : 0.0408 ,
"1981" : 0.0508 ,
"1982" : 0.0627 ,
"1983" : 0.0767 ,
"1984" : 0.1230 ,
"1985" : 0.1524 ,
"1986" : 0.1904 ,
"1987" : 0.1932 ,
"1988" : 0.2880 ,
"1989" : 0.3248 ,
"1990" : 0.4264 ,
"1991" : 0.5042 ,
"1992" : 0.6249 ,
"1993" : 0.8579 ,
"1994" : 1.2075 ,
"1995" : 1.5372 ,
"1996" : 1.6099 ,
"1997" : 2.3112 ,
"1998" : 2.7998 ,
"1999" : 3.4210 ,
"2000" : 4.2897 ,
"2001" : 4.5612 ,
"2002" : 5.0798 ,
"2003" : 5.5447 ,
"2004" : 5.7146 ,
"2005" : 6.1470 ,
"2006" : 6.1405 ,
"2007" : 6.1072 ,
"2008" : 5.0095 ,
"2009" : 3.2556 ,
"2010" : 3.3213 ,
"2011" : 3.7244 ,
"2012" : 4.2890 ,
"2013" : 4.6695 ,
"2014" : 4.9049 ,
"2015" : 5.0565 ,
"2016" : 3.4043 ,
"2017" : 1.4311 ,
"2018" : 0.1200 ,
}
ageAvg = 1.4487
topTenStates = {'TX': 10.079759161352108, 'CA': 9.734905060267915, 'FL': 8.414906085509836, 'GA': 4.301355882442033, 'NC': 3.9460163526086585, 'PA': 3.3898226098465165, 'OH': 3.2283470071091203, 'MI': 2.8816288298028505, 'IL': 2.845046333944595, 'TN': 2.7949492854762834}
topTenYears = {2005: 6.1470243518257455, 2006: 6.140500085048477, 2007: 6.107179722578857, 2004: 5.714558668303947, 2003: 5.544694722567206, 2002: 5.079840714686823, 2015: 5.056539761910864, 2008: 5.009471837303427, 2014: 4.904850559339372, 2013: 4.669510936302186}
topTenModels = {
"Automobiles" : 41.301405,
"Light Trucks" : 39.180319,
"Motorcycles" : 9.518905,
"Med/Heavy Trucks - COE" : 5.799607,
"Med/Heavy Trucks - Unknown engine location" : 1.640387,
"Med/Heavy Trucks - CBE" : 0.629126,
"Unknown cc (Motorcycles)" : 0.392155,
"All-Terrain Vehicles" : 0.260272,
"Buses" : 0.183145,
"Med/Heavy Trucks - COE (low entry)" : 0.154718
}
topTenMakes = {"Ford" :14.727600,
"Chevrolet" :14.258552,
"Toyota" :8.214285,
"Honda" :7.517353,
"Dodge" :6.421044,
"Datsun/Nissan" :4.922559,
"Harley-Davidson" :3.934599,
"GMC" :3.142833,
"Jeep/Kaiser-Jeep/Willys Jeep" :2.622289,
"Freightliner" :2.437513
} | make_numbers = {'American Motors': 1, 'Jeep/Kaiser-Jeep/Willys Jeep': 2, 'AM General': 3, 'Chrysler': 6, 'Dodge': 7, 'Imperial': 8, 'Plymouth': 9, 'Eagle': 10, 'Ford': 12, 'Lincoln': 13, 'Mercury': 14, 'Buick/Opel': 18, 'Cadillac': 19, 'Chevrolet': 20, 'Oldsmobile': 21, 'Pontiac': 22, 'GMC': 23, 'Saturn': 24, 'Grumman': 25, 'Coda': 26, 'Other Domestic': 29, 'Volkswagon': 30, 'Alfa Romeo': 31, 'Audi': 32, 'Austin/Austin-Healey': 33, 'BMW': 34, 'Datsun/Nissan': 35, 'Fiat': 36, 'Honda': 37, 'Isuzu': 38, 'Jaguar': 39, 'Lancia': 40, 'Mazda': 41, 'Mercedes-Benz': 42, 'MG': 43, 'Peugeot': 44, 'Porsche': 45, 'Renault': 46, 'Saab': 47, 'Subaru': 48, 'Toyota': 49, 'Triumph': 50, 'Volvo': 51, 'Mitsubishi': 52, 'Suzuki': 53, 'Acura': 54, 'Hyundai': 55, 'Merkur': 56, 'Yugo': 57, 'Infiniti': 58, 'Lexus': 59, 'Daihatsu': 60, 'Land Rover': 62, 'Kia': 63, 'Daewoo': 64, 'Smart': 65, 'Mahindra': 66, 'Scion': 67, 'Other Imports': 69, 'BSA': 70, 'Ducati': 71, 'Harley-Davidson': 72, 'Kawasaki': 73, 'Moto Guzzi': 74, 'Norton': 75, 'Yamaha': 76, 'Victory': 77, 'Other Make Moped': 78, 'Other Make Motored Cycle': 79, 'Brockway': 80, 'Diamond Reo/Reo': 81, 'Freightliner': 82, 'FWD': 83, 'International Harvester/Navistar': 84, 'Kenworth': 85, 'Mack': 86, 'Peterbilt': 87, 'Iveco/Magirus': 88, 'White/Autocar, White/GMC': 89, 'Bluebird': 90, 'Eagle Coach': 91, 'Gillig': 92, 'MCI': 93, 'Thomas Built': 94, 'Not Reported': 97, 'Other Make': 98, 'Unknown': 99}
model_numbers = {'Automobiles': 0, 'Other(Autos)': 1, 'Unknown (Autos)': 2, 'Light Trucks': 3, 'Other (Light Trucks)': 4, 'Unknown (LT)': 5, 'Other (LSV or NEV)': 6, 'Unknown (LSV OR NEV)': 7, 'Motorcycles': 8, 'Electric Motorcycle': 9, 'Unknown cc (Motorcycles)': 10, 'All-Terrain Vehicles': 11, 'Unknown cc (ATV)Unkown (motored cycle)': 12, 'Other Make (Med/Heavy Trucks)': 13, 'Motor Home': 14, 'Med/Heavy Van-Based Vehicle': 15, 'Med/Heavy Pickup': 16, 'Med/Heavy Trucks - CBE': 17, 'Med/Heavy Trucks - COE': 18, 'Med/Heavy Trucks - COE (low entry)': 19, 'Med/Heavy Trucks - COE (high entry)': 20, 'Med/Heavy Trucks - Unknown engine location': 21, 'Med/Heavy Trucks - COE (entry position unknown)': 22, 'Other (Med/Heavy Trucks)': 23, 'Other Make (Buses)': 24, 'Buses': 25, 'Other (Bus)': 26, 'Unknown (Bus)': 27, 'Not Reported': 28, 'Other (Vehicle)': 29}
state_dict = {'AL': '1', 'AK': '2', 'AZ': '4', 'AR': '5', 'CA': '6', 'CO': '8', 'CT': '9', 'DE': '10', 'DC': '11', 'FL': '12', 'GA': '14', 'HI': '15', 'ID': '16', 'IL': '17', 'IN': '18', 'IA': '19', 'KS': '20', 'KY': '21', 'LA': '22', 'ME': '23', 'MD': '24', 'MA': '25', 'MI': '26', 'MN': '27', 'MS': '28', 'MO': '29', 'MT': '30', 'NE': '31', 'NV': '32', 'NH': '33', 'NJ': '34', 'NM': '35', 'NY': '36', 'NC': '37', 'ND': '38', 'OH': '39', 'OK': '40', 'OR': '41', 'PA': '42', 'RI': '44', 'SC': '45', 'SD': '46', 'TN': '47', 'TX': '48', 'UT': '49', 'VT': '50', 'VA': '51', 'WA': '53', 'WV': '54', 'WI': '55', 'WY': '56'}
percent_dict = {1: 2.48, 2: 0.18, 4: 2.42, 5: 1.47, 6: 9.73, 8: 1.72, 9: 0.77, 10: 0.35, 11: 0.06, 12: 8.41, 13: 4.3, 15: 0.25, 16: 0.61, 17: 2.85, 18: 2.35, 19: 0.88, 20: 1.05, 21: 2.21, 22: 2.08, 23: 0.42, 24: 1.49, 25: 0.89, 26: 2.88, 27: 1.1, 28: 1.8, 29: 2.5, 30: 0.46, 31: 0.63, 32: 0.91, 33: 0.29, 34: 1.59, 35: 0.89, 36: 2.77, 37: 3.95, 38: 0.3, 39: 3.23, 40: 1.84, 41: 1.22, 42: 3.39, 44: 0.14, 45: 2.74, 46: 0.3, 47: 2.79, 48: 10.08, 49: 0.79, 50: 0.15, 51: 2.12, 53: 1.55, 54: 0.72, 55: 1.6, 56: 0.32}
percent_avg = 0.87
age_pct_dict = {'1923': 0.0007, '1927': 0.0007, '1928': 0.0014, '1929': 0.0033, '1930': 0.0014, '1931': 0.0014, '1932': 0.0049, '1933': 0.0007, '1934': 0.0019, '1936': 0.0007, '1937': 0.0021, '1938': 0.0007, '1939': 0.0005, '1940': 0.0042, '1941': 0.0026, '1942': 0.0005, '1945': 0.0007, '1946': 0.0026, '1947': 0.0021, '1948': 0.0012, '1949': 0.0014, '1950': 0.0021, '1951': 0.0007, '1952': 0.0014, '1954': 0.0026, '1955': 0.0007, '1956': 0.0021, '1957': 0.0035, '1958': 0.0035, '1959': 0.0007, '1960': 0.0007, '1961': 0.0021, '1962': 0.0033, '1963': 0.004, '1964': 0.0061, '1965': 0.0098, '1966': 0.0107, '1967': 0.0184, '1968': 0.0168, '1969': 0.0165, '1970': 0.0235, '1971': 0.0168, '1972': 0.0191, '1973': 0.0205, '1974': 0.0275, '1975': 0.0273, '1976': 0.0291, '1977': 0.0312, '1978': 0.0419, '1979': 0.0485, '1980': 0.0408, '1981': 0.0508, '1982': 0.0627, '1983': 0.0767, '1984': 0.123, '1985': 0.1524, '1986': 0.1904, '1987': 0.1932, '1988': 0.288, '1989': 0.3248, '1990': 0.4264, '1991': 0.5042, '1992': 0.6249, '1993': 0.8579, '1994': 1.2075, '1995': 1.5372, '1996': 1.6099, '1997': 2.3112, '1998': 2.7998, '1999': 3.421, '2000': 4.2897, '2001': 4.5612, '2002': 5.0798, '2003': 5.5447, '2004': 5.7146, '2005': 6.147, '2006': 6.1405, '2007': 6.1072, '2008': 5.0095, '2009': 3.2556, '2010': 3.3213, '2011': 3.7244, '2012': 4.289, '2013': 4.6695, '2014': 4.9049, '2015': 5.0565, '2016': 3.4043, '2017': 1.4311, '2018': 0.12}
age_avg = 1.4487
top_ten_states = {'TX': 10.079759161352108, 'CA': 9.734905060267915, 'FL': 8.414906085509836, 'GA': 4.301355882442033, 'NC': 3.9460163526086585, 'PA': 3.3898226098465165, 'OH': 3.2283470071091203, 'MI': 2.8816288298028505, 'IL': 2.845046333944595, 'TN': 2.7949492854762834}
top_ten_years = {2005: 6.1470243518257455, 2006: 6.140500085048477, 2007: 6.107179722578857, 2004: 5.714558668303947, 2003: 5.544694722567206, 2002: 5.079840714686823, 2015: 5.056539761910864, 2008: 5.009471837303427, 2014: 4.904850559339372, 2013: 4.669510936302186}
top_ten_models = {'Automobiles': 41.301405, 'Light Trucks': 39.180319, 'Motorcycles': 9.518905, 'Med/Heavy Trucks - COE': 5.799607, 'Med/Heavy Trucks - Unknown engine location': 1.640387, 'Med/Heavy Trucks - CBE': 0.629126, 'Unknown cc (Motorcycles)': 0.392155, 'All-Terrain Vehicles': 0.260272, 'Buses': 0.183145, 'Med/Heavy Trucks - COE (low entry)': 0.154718}
top_ten_makes = {'Ford': 14.7276, 'Chevrolet': 14.258552, 'Toyota': 8.214285, 'Honda': 7.517353, 'Dodge': 6.421044, 'Datsun/Nissan': 4.922559, 'Harley-Davidson': 3.934599, 'GMC': 3.142833, 'Jeep/Kaiser-Jeep/Willys Jeep': 2.622289, 'Freightliner': 2.437513} |
def twoNumberSum(array, targetSum):
# Write your code here.
dic = {}
for i in range(len(array)):
if targetSum - array[i] in dic:
return [array[i], targetSum - array[i]]
else:
dic[array[i]] = i
return [] | def two_number_sum(array, targetSum):
dic = {}
for i in range(len(array)):
if targetSum - array[i] in dic:
return [array[i], targetSum - array[i]]
else:
dic[array[i]] = i
return [] |
# Calcular todos em:
# KM HM DAM M DM CM MM
var = float(input("Digite um valor: "))
print("O valor em decimetro fica {}".format(var * 10)) #DM
print("O valor em centimetros fica {}".format(var * 100)) #CM
print("O valor e milimetros fica {}".format(var * 1000)) #MM
print("O valor em metros fica {}".format(var * 10000)) #M
print("O valor em decametro fica {}".format(var / 10)) #DAM
print("O valor em micrometro fica {}".format(var / 100)) #HM
print("O valor em Kilometro fica {}".format(var / 1000)) #KM | var = float(input('Digite um valor: '))
print('O valor em decimetro fica {}'.format(var * 10))
print('O valor em centimetros fica {}'.format(var * 100))
print('O valor e milimetros fica {}'.format(var * 1000))
print('O valor em metros fica {}'.format(var * 10000))
print('O valor em decametro fica {}'.format(var / 10))
print('O valor em micrometro fica {}'.format(var / 100))
print('O valor em Kilometro fica {}'.format(var / 1000)) |
def slices(num_string,slice_size):
if slice_size>len(num_string):
raise ValueError
list_of_slices = []
for i in range(len(num_string)-slice_size+1):
temp_answer = []
for j in range(slice_size):
temp_answer.append(int(num_string[i+j]))
list_of_slices.append(temp_answer)
return list_of_slices
def largest_product(num_string,slice_size):
slices_to_test = slices(num_string,slice_size)
answer = 1
for i in range(len(slices_to_test)):
working_value = 1
for j in range(slice_size):
working_value*=slices_to_test[i][j]
if working_value > answer:
answer = working_value
return answer | def slices(num_string, slice_size):
if slice_size > len(num_string):
raise ValueError
list_of_slices = []
for i in range(len(num_string) - slice_size + 1):
temp_answer = []
for j in range(slice_size):
temp_answer.append(int(num_string[i + j]))
list_of_slices.append(temp_answer)
return list_of_slices
def largest_product(num_string, slice_size):
slices_to_test = slices(num_string, slice_size)
answer = 1
for i in range(len(slices_to_test)):
working_value = 1
for j in range(slice_size):
working_value *= slices_to_test[i][j]
if working_value > answer:
answer = working_value
return answer |
global LAYER_UNKNOWN
LAYER_UNKNOWN = 'unknown'
class Design(object):
def __init__(self, layers, smells) -> None:
self.layers = layers
self.smells = smells
super().__init__()
| global LAYER_UNKNOWN
layer_unknown = 'unknown'
class Design(object):
def __init__(self, layers, smells) -> None:
self.layers = layers
self.smells = smells
super().__init__() |
class RecentCounter:
def __init__(self):
self.slide_window = deque()
def ping(self, t: int) -> int:
self.slide_window.append(t)
# invalidate the outdated pings
while self.slide_window:
if self.slide_window[0] < t - 3000:
self.slide_window.popleft()
else:
break
return len(self.slide_window)
# Your RecentCounter object will be instantiated and called as such:
# obj = RecentCounter()
# param_1 = obj.ping(t) | class Recentcounter:
def __init__(self):
self.slide_window = deque()
def ping(self, t: int) -> int:
self.slide_window.append(t)
while self.slide_window:
if self.slide_window[0] < t - 3000:
self.slide_window.popleft()
else:
break
return len(self.slide_window) |
# --------------
# Code starts here
class_1=['Geoffrey Hinton','Andrew Ng','Sebastian Raschka','Yoshua Bengio']
class_2=['Hilary Mason','Carla Gentry','Corinna Cortes']
new_class=class_1+class_2
print(new_class)
new_class.append('Peter Warden')
print(new_class)
new_class.remove("Carla Gentry")
print(new_class)
# Code ends here
# --------------
# Code starts here
courses = {'Math':65,'English':70,'History':80,'French':70,'Science':60}
marks=[]
for i in courses:
marks.append(courses[i])
print(marks)
print(courses['Math'])
print(courses['English'])
print(courses['History'])
print(courses['French'])
print(courses['Science'])
total =courses['Math'] + courses['English'] +courses['History'] + courses['French'] +courses['Science']
print(total)
percentage=(total*100/500)
print(percentage)
# Code ends here
# --------------
# Code starts here
mathematics= {'Geoffrey Hinton': 78,'Andrew Ng':95,'Sebastian Raschka':65,'Yoshua Benjio':50,'Hilary Mason':70,'Corinna Cortes':66,'Peter Warden':75}
max_marks_scored =max(mathematics,key=mathematics.get)
topper=max_marks_scored
print(topper)
# Code ends here
# --------------
# Given string
topper = 'andrew ng'
# Code starts here
# Create variable first_name
first_name = (topper.split()[0])
print (first_name)
# Create variable Last_name and store last two element in the list
last_name = (topper.split()[1])
print (last_name)
# Concatenate the string
full_name = last_name + ' ' + first_name
# print the full_name
print (full_name)
# print the name in upper case
certificate_name = full_name.upper()
print (certificate_name)
# Code ends here
| class_1 = ['Geoffrey Hinton', 'Andrew Ng', 'Sebastian Raschka', 'Yoshua Bengio']
class_2 = ['Hilary Mason', 'Carla Gentry', 'Corinna Cortes']
new_class = class_1 + class_2
print(new_class)
new_class.append('Peter Warden')
print(new_class)
new_class.remove('Carla Gentry')
print(new_class)
courses = {'Math': 65, 'English': 70, 'History': 80, 'French': 70, 'Science': 60}
marks = []
for i in courses:
marks.append(courses[i])
print(marks)
print(courses['Math'])
print(courses['English'])
print(courses['History'])
print(courses['French'])
print(courses['Science'])
total = courses['Math'] + courses['English'] + courses['History'] + courses['French'] + courses['Science']
print(total)
percentage = total * 100 / 500
print(percentage)
mathematics = {'Geoffrey Hinton': 78, 'Andrew Ng': 95, 'Sebastian Raschka': 65, 'Yoshua Benjio': 50, 'Hilary Mason': 70, 'Corinna Cortes': 66, 'Peter Warden': 75}
max_marks_scored = max(mathematics, key=mathematics.get)
topper = max_marks_scored
print(topper)
topper = 'andrew ng'
first_name = topper.split()[0]
print(first_name)
last_name = topper.split()[1]
print(last_name)
full_name = last_name + ' ' + first_name
print(full_name)
certificate_name = full_name.upper()
print(certificate_name) |
widget = WidgetDefault()
widget.border = "None"
widget.background = "None"
commonDefaults["RadialMenuWidget"] = widget
def generateRadialMenuWidget(file, screen, menu, parentName):
name = menu.getName()
file.write(" %s = leRadialMenuWidget_New();" % (name))
generateBaseWidget(file, screen, menu)
writeSetInt(file, name, "NumberOfItemsShown", menu.getItemsShown(), 5)
writeSetBoolean(file, name, "HighlightProminent", menu.getHighlightProminent(), False)
writeSetInt(file, name, "Theta", menu.getTheta(), 0)
width = menu.getSize().width
height = menu.getSize().height
touchX = menu.getTouchX()
touchY = menu.getTouchY()
touchWidth = menu.getTouchWidth()
touchHeight = menu.getTouchHeight()
file.write(" %s->fn->setTouchArea(%s, %d, %d, %d, %d);" % (name, name, touchX, touchY, width * touchWidth / 100, height * touchHeight / 100))
ellipseType = menu.getEllipseType().toString()
if ellipseType == "Default":
ellipseType = "LE_RADIAL_MENU_ELLIPSE_TYPE_DEFAULT"
elif ellipseType == "Orbital":
ellipseType = "LE_RADIAL_MENU_ELLIPSE_TYPE_OBITAL"
else:
ellipseType = "LE_RADIAL_MENU_ELLIPSE_TYPE_ROLLODEX"
writeSetLiteralString(file, name, "EllipseType", ellipseType, "LE_RADIAL_MENU_ELLIPSE_TYPE_DEFAULT")
writeSetBoolean(file, name, "DrawEllipse", menu.getEllipseVisible(), True)
scaleMode = menu.getSizeScale().toString()
if scaleMode == "Off":
scaleMode = "LE_RADIAL_MENU_INTERPOLATE_OFF"
elif scaleMode == "Gradual":
scaleMode = "LE_RADIAL_MENU_INTERPOLATE_GRADUAL"
else:
scaleMode = "LE_RADIAL_MENU_INTERPOLATE_PROMINENT"
writeSetLiteralString(file, name, "ScaleMode", scaleMode, "LE_RADIAL_MENU_INTERPOLATE_GRADUAL")
blendMode = menu.getAlphaScale().toString()
if blendMode == "Off":
blendMode = "LE_RADIAL_MENU_INTERPOLATE_OFF"
elif blendMode == "Gradual":
blendMode = "LE_RADIAL_MENU_INTERPOLATE_GRADUAL"
else:
blendMode = "LE_RADIAL_MENU_INTERPOLATE_PROMINENT"
writeSetLiteralString(file, name, "BlendMode", blendMode, "LE_RADIAL_MENU_INTERPOLATE_GRADUAL")
min = menu.getMinSizePercent()
max = menu.getMaxSizePercent()
if min != 30 or max != 100:
file.write(" %s->fn->setScaleRange(%s, %d, %d);" % (name, name, min, max))
min = menu.getMinAlphaAmount()
max = menu.getMaxAlphaAmount()
if min != 128 or max != 255:
file.write(" %s->fn->setBlendRange(%s, %d, %d);" % (name, name, min, max))
touchX = menu.getTouchX()
touchY = menu.getTouchY()
touchWidth = menu.getTouchWidth()
touchHeight = menu.getTouchHeight()
if touchX != 0 or touchY != 75 or touchWidth != 100 or touchHeight != 50:
file.write(" %s->fn->setTouchArea(%s, %d, %d, %d, %d);" % (name, name, touchX, touchY, touchWidth, touchHeight))
x = menu.getLocation(False).x
y = menu.getLocation(False).y
width = menu.getSize().width
height = menu.getSize().height
xp = x + width / 2;
yp = y + height / 2;
items = menu.getItemList()
if len(items) > 0:
for idx, item in enumerate(items):
varName = "%s_image_%d" % (name, idx)
file.write(" %s = leImageScaleWidget_New();" % (varName))
imageName = craftAssetName(item.image)
if imageName != "NULL":
file.write(" %s->fn->setImage(%s, %s);" % (varName, varName, imageName))
file.write(" %s->fn->setTransformWidth(%s, %d);" % (varName, varName, item.currentSize.width))
file.write(" %s->fn->setTransformHeight(%s, %s);" % (varName, varName, item.currentSize.height))
file.write(" %s->fn->setStretchEnabled(%s, LE_TRUE);" % (varName, varName))
file.write(" %s->fn->setPreserveAspectEnabled(%s, LE_TRUE);" % (varName, varName))
else:
file.write(" %s->fn->setBackgroundType(%s, LE_WIDGET_BACKGROUND_FILL);" % (varName, varName))
file.write(" %s->fn->setBorderType(%s, LE_WIDGET_BORDER_LINE);" % (varName, varName))
if not (item.t == 270 and menu.getItemsShown() < len(items)):
file.write(" %s->fn->setVisible(%s, LE_FALSE);" % (varName, varName))
file.write(" %s->fn->setPosition(%s, %d, %d);" % (varName, varName, xp, yp))
file.write(" %s->fn->setSize(%s, %d, %d);" % (varName, varName, item.originalSize.width, item.originalSize.height))
if item.originalAlphaAmount != 255:
file.write(" %s->fn->setAlphaAmount(%s, %d);" % (varName, varName, item.originalAlphaAmount));
file.write(" %s->fn->addWidget(%s, (leWidget*)%s);" % (name, name, varName))
writeEvent(file, name, menu, "ItemSelectedEvent", "ItemSelectedEventCallback", "OnItemSelected")
writeEvent(file, name, menu, "ItemProminenceChangedEvent", "ItemProminenceChangedEvent", "OnItemProminenceChanged")
file.write(" %s->fn->addChild(%s, (leWidget*)%s);" % (parentName, parentName, name))
file.writeNewLine()
def generateRadialMenuEvent(screen, widget, event, genActions):
text = ""
if event.name == "ItemSelectedEvent":
text += "void %s_OnItemSelected(%s)\n" % (widget.getName(), getWidgetVariableName(widget))
if event.name == "ItemProminenceChangedEvent":
text += "void %s_OnItemProminenceChanged(%s)\n" % (widget.getName(), getWidgetVariableName(widget))
text += generateActions(widget, event, genActions, None, None)
return text
def generateRadialMenuAction(text, variables, owner, event, action):
i = 0 | widget = widget_default()
widget.border = 'None'
widget.background = 'None'
commonDefaults['RadialMenuWidget'] = widget
def generate_radial_menu_widget(file, screen, menu, parentName):
name = menu.getName()
file.write(' %s = leRadialMenuWidget_New();' % name)
generate_base_widget(file, screen, menu)
write_set_int(file, name, 'NumberOfItemsShown', menu.getItemsShown(), 5)
write_set_boolean(file, name, 'HighlightProminent', menu.getHighlightProminent(), False)
write_set_int(file, name, 'Theta', menu.getTheta(), 0)
width = menu.getSize().width
height = menu.getSize().height
touch_x = menu.getTouchX()
touch_y = menu.getTouchY()
touch_width = menu.getTouchWidth()
touch_height = menu.getTouchHeight()
file.write(' %s->fn->setTouchArea(%s, %d, %d, %d, %d);' % (name, name, touchX, touchY, width * touchWidth / 100, height * touchHeight / 100))
ellipse_type = menu.getEllipseType().toString()
if ellipseType == 'Default':
ellipse_type = 'LE_RADIAL_MENU_ELLIPSE_TYPE_DEFAULT'
elif ellipseType == 'Orbital':
ellipse_type = 'LE_RADIAL_MENU_ELLIPSE_TYPE_OBITAL'
else:
ellipse_type = 'LE_RADIAL_MENU_ELLIPSE_TYPE_ROLLODEX'
write_set_literal_string(file, name, 'EllipseType', ellipseType, 'LE_RADIAL_MENU_ELLIPSE_TYPE_DEFAULT')
write_set_boolean(file, name, 'DrawEllipse', menu.getEllipseVisible(), True)
scale_mode = menu.getSizeScale().toString()
if scaleMode == 'Off':
scale_mode = 'LE_RADIAL_MENU_INTERPOLATE_OFF'
elif scaleMode == 'Gradual':
scale_mode = 'LE_RADIAL_MENU_INTERPOLATE_GRADUAL'
else:
scale_mode = 'LE_RADIAL_MENU_INTERPOLATE_PROMINENT'
write_set_literal_string(file, name, 'ScaleMode', scaleMode, 'LE_RADIAL_MENU_INTERPOLATE_GRADUAL')
blend_mode = menu.getAlphaScale().toString()
if blendMode == 'Off':
blend_mode = 'LE_RADIAL_MENU_INTERPOLATE_OFF'
elif blendMode == 'Gradual':
blend_mode = 'LE_RADIAL_MENU_INTERPOLATE_GRADUAL'
else:
blend_mode = 'LE_RADIAL_MENU_INTERPOLATE_PROMINENT'
write_set_literal_string(file, name, 'BlendMode', blendMode, 'LE_RADIAL_MENU_INTERPOLATE_GRADUAL')
min = menu.getMinSizePercent()
max = menu.getMaxSizePercent()
if min != 30 or max != 100:
file.write(' %s->fn->setScaleRange(%s, %d, %d);' % (name, name, min, max))
min = menu.getMinAlphaAmount()
max = menu.getMaxAlphaAmount()
if min != 128 or max != 255:
file.write(' %s->fn->setBlendRange(%s, %d, %d);' % (name, name, min, max))
touch_x = menu.getTouchX()
touch_y = menu.getTouchY()
touch_width = menu.getTouchWidth()
touch_height = menu.getTouchHeight()
if touchX != 0 or touchY != 75 or touchWidth != 100 or (touchHeight != 50):
file.write(' %s->fn->setTouchArea(%s, %d, %d, %d, %d);' % (name, name, touchX, touchY, touchWidth, touchHeight))
x = menu.getLocation(False).x
y = menu.getLocation(False).y
width = menu.getSize().width
height = menu.getSize().height
xp = x + width / 2
yp = y + height / 2
items = menu.getItemList()
if len(items) > 0:
for (idx, item) in enumerate(items):
var_name = '%s_image_%d' % (name, idx)
file.write(' %s = leImageScaleWidget_New();' % varName)
image_name = craft_asset_name(item.image)
if imageName != 'NULL':
file.write(' %s->fn->setImage(%s, %s);' % (varName, varName, imageName))
file.write(' %s->fn->setTransformWidth(%s, %d);' % (varName, varName, item.currentSize.width))
file.write(' %s->fn->setTransformHeight(%s, %s);' % (varName, varName, item.currentSize.height))
file.write(' %s->fn->setStretchEnabled(%s, LE_TRUE);' % (varName, varName))
file.write(' %s->fn->setPreserveAspectEnabled(%s, LE_TRUE);' % (varName, varName))
else:
file.write(' %s->fn->setBackgroundType(%s, LE_WIDGET_BACKGROUND_FILL);' % (varName, varName))
file.write(' %s->fn->setBorderType(%s, LE_WIDGET_BORDER_LINE);' % (varName, varName))
if not (item.t == 270 and menu.getItemsShown() < len(items)):
file.write(' %s->fn->setVisible(%s, LE_FALSE);' % (varName, varName))
file.write(' %s->fn->setPosition(%s, %d, %d);' % (varName, varName, xp, yp))
file.write(' %s->fn->setSize(%s, %d, %d);' % (varName, varName, item.originalSize.width, item.originalSize.height))
if item.originalAlphaAmount != 255:
file.write(' %s->fn->setAlphaAmount(%s, %d);' % (varName, varName, item.originalAlphaAmount))
file.write(' %s->fn->addWidget(%s, (leWidget*)%s);' % (name, name, varName))
write_event(file, name, menu, 'ItemSelectedEvent', 'ItemSelectedEventCallback', 'OnItemSelected')
write_event(file, name, menu, 'ItemProminenceChangedEvent', 'ItemProminenceChangedEvent', 'OnItemProminenceChanged')
file.write(' %s->fn->addChild(%s, (leWidget*)%s);' % (parentName, parentName, name))
file.writeNewLine()
def generate_radial_menu_event(screen, widget, event, genActions):
text = ''
if event.name == 'ItemSelectedEvent':
text += 'void %s_OnItemSelected(%s)\n' % (widget.getName(), get_widget_variable_name(widget))
if event.name == 'ItemProminenceChangedEvent':
text += 'void %s_OnItemProminenceChanged(%s)\n' % (widget.getName(), get_widget_variable_name(widget))
text += generate_actions(widget, event, genActions, None, None)
return text
def generate_radial_menu_action(text, variables, owner, event, action):
i = 0 |
def find_divisor(numbers):
for index, number in enumerate(numbers):
print("len", len(numbers[index + 1:]))
for divider in reversed(numbers[index + 1:]):
if number % divider == 0:
print("found {} and {}. Rest: {}".format(
number, divider, number % divider))
return int(number / divider)
return 0
with open("input", "r") as f:
input = f.read()
lines = input.split("\n")
sum = 0
for line in lines:
if not len(line):
continue
numbers = sorted([int(x) for x in line.split("\t")], reverse=True)
sum = sum + find_divisor(numbers)
print("CS", sum)
| def find_divisor(numbers):
for (index, number) in enumerate(numbers):
print('len', len(numbers[index + 1:]))
for divider in reversed(numbers[index + 1:]):
if number % divider == 0:
print('found {} and {}. Rest: {}'.format(number, divider, number % divider))
return int(number / divider)
return 0
with open('input', 'r') as f:
input = f.read()
lines = input.split('\n')
sum = 0
for line in lines:
if not len(line):
continue
numbers = sorted([int(x) for x in line.split('\t')], reverse=True)
sum = sum + find_divisor(numbers)
print('CS', sum) |
class University:
def __init__(self, name, country, world_rank):
self.name = name
self.country = country
self.world_rank = world_rank | class University:
def __init__(self, name, country, world_rank):
self.name = name
self.country = country
self.world_rank = world_rank |
#!/usr/bin/env python
class Solution:
def copyRandomList(self, head: 'Node') -> 'Node':
curr = head
while curr:
node = Node(curr.val, curr.next, None)
curr.next, curr = node, curr.next
curr = head
while curr:
copy = curr.next
copy.random = curr.random.next
curr.next = copy.next
ret = copy = head.next
while copy.next:
copy = copy.next = copy.next.next
return ret
| class Solution:
def copy_random_list(self, head: 'Node') -> 'Node':
curr = head
while curr:
node = node(curr.val, curr.next, None)
(curr.next, curr) = (node, curr.next)
curr = head
while curr:
copy = curr.next
copy.random = curr.random.next
curr.next = copy.next
ret = copy = head.next
while copy.next:
copy = copy.next = copy.next.next
return ret |
KEY_PRESS = 0
MOUSE_DOWN = 1
MOUSE_UP = 2
MOUSE_DOUBLE_CLICK = 3
MOUSE_MOVE = 5
SCROLL_DOWN = 6
SCROLL_UP = 7
SCROLL_STEP = 1
CTRL = 'ctrl'
SHIFT = 'shift'
ALT = 'alt'
MODIFIER_KEYS = (CTRL, SHIFT, ALT,)
MODIFIER_KEYS_PRESS_DELAY = .4
EVENTS_DELAY = .05
LEFT = "left"
MIDDLE = "middle"
RIGHT = "right"
HIGH_QUALITY = 75
MEDIUM_QUALITY = 60
LOW_QUALITY = 40
HIGH_SCALE = 70/100
MEDIUM_SCALE = 50/100
LOW_SCALE = 40/100
| key_press = 0
mouse_down = 1
mouse_up = 2
mouse_double_click = 3
mouse_move = 5
scroll_down = 6
scroll_up = 7
scroll_step = 1
ctrl = 'ctrl'
shift = 'shift'
alt = 'alt'
modifier_keys = (CTRL, SHIFT, ALT)
modifier_keys_press_delay = 0.4
events_delay = 0.05
left = 'left'
middle = 'middle'
right = 'right'
high_quality = 75
medium_quality = 60
low_quality = 40
high_scale = 70 / 100
medium_scale = 50 / 100
low_scale = 40 / 100 |
#Celsius to Fahrenheit conversion
#F = C *9/5 +32
F= 0
print("Give the Number of Celcius: ")
c=float(input())
print("The result is: ")
F=c*9/5+32
print(F)
| f = 0
print('Give the Number of Celcius: ')
c = float(input())
print('The result is: ')
f = c * 9 / 5 + 32
print(F) |
#Software By AwesomeWithRex
def read_file(filename):
with open(filename) as f:
filename = f.readlines()
return filename
def get_template():
template = ''
with open('template.html', 'r') as f:
template = f.readlines()
return template
def put_in_body(file, template):
count = 0
body_tag = 0
for i in template:
count += 1
if '|b|' in i:
body_tag = count - 1
text_to_append = ""
for line in file:
text_to_append += line
formatted_text = ""
for word in text_to_append:
formatted_text += word
if '\n' in word:
formatted_text += word.replace('\n', '<br/>\t')
template[body_tag] = template[body_tag].replace('|b|', formatted_text)
for i in template:
print(i)
return template
def save_template(name_of_doc, saved_doc_file):
with open(name_of_doc, 'w') as f:
f.writelines(saved_doc_file)
def put_in_title():
pass
def main():
content = read_file('text.txt')
template = get_template()
formatted_template = put_in_body(content, template)
save_template('the.html',formatted_template)
if __name__=='__main__':
main()
| def read_file(filename):
with open(filename) as f:
filename = f.readlines()
return filename
def get_template():
template = ''
with open('template.html', 'r') as f:
template = f.readlines()
return template
def put_in_body(file, template):
count = 0
body_tag = 0
for i in template:
count += 1
if '|b|' in i:
body_tag = count - 1
text_to_append = ''
for line in file:
text_to_append += line
formatted_text = ''
for word in text_to_append:
formatted_text += word
if '\n' in word:
formatted_text += word.replace('\n', '<br/>\t')
template[body_tag] = template[body_tag].replace('|b|', formatted_text)
for i in template:
print(i)
return template
def save_template(name_of_doc, saved_doc_file):
with open(name_of_doc, 'w') as f:
f.writelines(saved_doc_file)
def put_in_title():
pass
def main():
content = read_file('text.txt')
template = get_template()
formatted_template = put_in_body(content, template)
save_template('the.html', formatted_template)
if __name__ == '__main__':
main() |
class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __init__(self):
self.head = None
def print_list(self):
cur_node=self.head
while cur_node:
print(cur_node.data)
cur_node = cur_node.next
def append(self, data):
new_node = Node(data)
if self.head is None:
self.head = new_node
return
last_node = self.head
while last_node.next:
last_node = last_node.next
last_node.next = new_node
def prepend(self,data):
new_node = Node(data)
new_node.next = self.head
self.head = new_node
def insert_after_node(self, prev_node, data):
if not prev_node:
print("previous Node not in the list")
return
new_node = Node(data)
new_node.next = prev_node.next
prev_node.next = new_node
def delete_node(self, key):
current_node = self.head
if current_node and current_node.data==key:
self.head = current_node.next
current_node = None
return
prev = None
while current_node and current_node.data != key:
prev = current_node
current_node = current_node.next
if current_node is None:
return
prev.next = current_node.next
current_node = None
llist = LinkedList()
llist.append("A")
llist.append("B")
llist.append("C")
llist.append("D")
#llist.prepend("E")
llist.delete_node("A")
llist.insert_after_node(llist.head.next,"E")
#print(llist.head.data)
llist.print_list()
| class Node:
def __init__(self, data):
self.data = data
self.next = None
class Linkedlist:
def __init__(self):
self.head = None
def print_list(self):
cur_node = self.head
while cur_node:
print(cur_node.data)
cur_node = cur_node.next
def append(self, data):
new_node = node(data)
if self.head is None:
self.head = new_node
return
last_node = self.head
while last_node.next:
last_node = last_node.next
last_node.next = new_node
def prepend(self, data):
new_node = node(data)
new_node.next = self.head
self.head = new_node
def insert_after_node(self, prev_node, data):
if not prev_node:
print('previous Node not in the list')
return
new_node = node(data)
new_node.next = prev_node.next
prev_node.next = new_node
def delete_node(self, key):
current_node = self.head
if current_node and current_node.data == key:
self.head = current_node.next
current_node = None
return
prev = None
while current_node and current_node.data != key:
prev = current_node
current_node = current_node.next
if current_node is None:
return
prev.next = current_node.next
current_node = None
llist = linked_list()
llist.append('A')
llist.append('B')
llist.append('C')
llist.append('D')
llist.delete_node('A')
llist.insert_after_node(llist.head.next, 'E')
llist.print_list() |
class Solution:
def angleClock(self, hour: int, minutes: int) -> float:
hdeg = ((hour*30) + (minutes*0.5))%360
mdeg = (minutes * 6)
angle = abs(hdeg-mdeg)
return min(angle, 360-angle)
| class Solution:
def angle_clock(self, hour: int, minutes: int) -> float:
hdeg = (hour * 30 + minutes * 0.5) % 360
mdeg = minutes * 6
angle = abs(hdeg - mdeg)
return min(angle, 360 - angle) |
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
},
'targets': [
{
# Protobuf compiler / generate rule for sync.proto. This is used by
# test code in net, which is why it's isolated into its own .gyp file.
'target_name': 'sync_proto',
'type': 'none',
'sources': [
'sync.proto',
'encryption.proto',
'app_specifics.proto',
'autofill_specifics.proto',
'bookmark_specifics.proto',
'extension_specifics.proto',
'nigori_specifics.proto',
'password_specifics.proto',
'preference_specifics.proto',
'session_specifics.proto',
'test.proto',
'theme_specifics.proto',
'typed_url_specifics.proto',
],
'rules': [
{
'rule_name': 'genproto',
'extension': 'proto',
'inputs': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
],
'outputs': [
'<(PRODUCT_DIR)/pyproto/sync_pb/<(RULE_INPUT_ROOT)_pb2.py',
'<(protoc_out_dir)/chrome/browser/sync/protocol/<(RULE_INPUT_ROOT).pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/<(RULE_INPUT_ROOT).pb.cc',
],
'action': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
'--proto_path=.',
'./<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)',
'--cpp_out=<(protoc_out_dir)/chrome/browser/sync/protocol',
'--python_out=<(PRODUCT_DIR)/pyproto/sync_pb',
],
'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)',
},
],
'dependencies': [
'../../../../third_party/protobuf/protobuf.gyp:protoc#host',
],
},
{
'target_name': 'sync_proto_cpp',
'type': '<(library)',
'sources': [
'<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/encryption.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/encryption.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/app_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/app_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/autofill_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/autofill_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/bookmark_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/bookmark_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/extension_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/extension_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/nigori_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/nigori_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/password_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/password_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/preference_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/preference_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/session_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/session_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/theme_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/theme_specifics.pb.h',
'<(protoc_out_dir)/chrome/browser/sync/protocol/typed_url_specifics.pb.cc',
'<(protoc_out_dir)/chrome/browser/sync/protocol/typed_url_specifics.pb.h',
],
'export_dependent_settings': [
'../../../../third_party/protobuf/protobuf.gyp:protobuf_lite',
'sync_proto',
],
'dependencies': [
'../../../../third_party/protobuf/protobuf.gyp:protobuf_lite',
'sync_proto',
],
'direct_dependent_settings': {
'include_dirs': [
'<(protoc_out_dir)',
],
},
# This target exports a hard dependency because it includes generated
# header files.
'hard_dependency': 1,
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
| {'variables': {'chromium_code': 1, 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out'}, 'targets': [{'target_name': 'sync_proto', 'type': 'none', 'sources': ['sync.proto', 'encryption.proto', 'app_specifics.proto', 'autofill_specifics.proto', 'bookmark_specifics.proto', 'extension_specifics.proto', 'nigori_specifics.proto', 'password_specifics.proto', 'preference_specifics.proto', 'session_specifics.proto', 'test.proto', 'theme_specifics.proto', 'typed_url_specifics.proto'], 'rules': [{'rule_name': 'genproto', 'extension': 'proto', 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)'], 'outputs': ['<(PRODUCT_DIR)/pyproto/sync_pb/<(RULE_INPUT_ROOT)_pb2.py', '<(protoc_out_dir)/chrome/browser/sync/protocol/<(RULE_INPUT_ROOT).pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/<(RULE_INPUT_ROOT).pb.cc'], 'action': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', '--proto_path=.', './<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)', '--cpp_out=<(protoc_out_dir)/chrome/browser/sync/protocol', '--python_out=<(PRODUCT_DIR)/pyproto/sync_pb'], 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)'}], 'dependencies': ['../../../../third_party/protobuf/protobuf.gyp:protoc#host']}, {'target_name': 'sync_proto_cpp', 'type': '<(library)', 'sources': ['<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/encryption.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/encryption.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/app_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/app_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/autofill_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/autofill_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/bookmark_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/bookmark_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/extension_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/extension_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/nigori_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/nigori_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/password_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/password_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/preference_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/preference_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/session_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/session_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/theme_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/theme_specifics.pb.h', '<(protoc_out_dir)/chrome/browser/sync/protocol/typed_url_specifics.pb.cc', '<(protoc_out_dir)/chrome/browser/sync/protocol/typed_url_specifics.pb.h'], 'export_dependent_settings': ['../../../../third_party/protobuf/protobuf.gyp:protobuf_lite', 'sync_proto'], 'dependencies': ['../../../../third_party/protobuf/protobuf.gyp:protobuf_lite', 'sync_proto'], 'direct_dependent_settings': {'include_dirs': ['<(protoc_out_dir)']}, 'hard_dependency': 1}]} |
#!/usr/bin/env python
# encoding: utf-8
def run(whatweb, pluginname):
whatweb.recog_from_file(pluginname, "sysImages/css/PagesCSS.css", "foosun")
whatweb.recog_from_file(pluginname, "Tags.html", "Foosun")
| def run(whatweb, pluginname):
whatweb.recog_from_file(pluginname, 'sysImages/css/PagesCSS.css', 'foosun')
whatweb.recog_from_file(pluginname, 'Tags.html', 'Foosun') |
# reading withdrawal amount and account balance
x,y=map(float,input().split())
# this will check if account balance is less than the withdrawal amount or
# withdrawal amount is multiple of 5 and print the current account balance
if(x+0.5>=y or x%5!=0 or y<=0):
# printing the result upto two decimals
print("%.2f"%y)
# otherwise transaction will take place and print updated account balance
else:
y=y-x-0.50
# printing the result upto two decimals
print("%.2f"%y)
| (x, y) = map(float, input().split())
if x + 0.5 >= y or x % 5 != 0 or y <= 0:
print('%.2f' % y)
else:
y = y - x - 0.5
print('%.2f' % y) |
#--------------------------------------
# Open and Parse BF File
#--------------------------------------
fileName = input("Enter name of Brainf*** file here: ")
file = open(fileName, "r")
programCode = []
validCommands = [">", "<", "+", "-", ".", ",", "[", "]"]
for x in file:
for y in x:
if y in validCommands:
programCode.append(y)
file.close()
#--------------------------------------
# Find Indexes of Matching Brackets
#--------------------------------------
bracketPositions = []
loopIndex = 0
openIndex = []
for x in programCode:
if x == "[":
openIndex.append(loopIndex)
if x == "]":
openPosition = openIndex.pop()
bracketPositions.append([openPosition, loopIndex])
loopIndex += 1
#--------------------------------------
# Set Up BF Cells and Pointers
#--------------------------------------
memCells = []
memPointer = 0
instructionPointer = 0
memCellsStepper = 0
maxCells = 5000
while memCellsStepper < maxCells:
memCells.append(0)
memCellsStepper += 1
#--------------------------------------
# Define BF Commands
#--------------------------------------
def moveRight():
global memPointer
memPointer += 1
if memPointer >= maxCells:
memPointer = 0
def moveLeft():
global memPointer
memPointer -= 1
if memPointer < 0:
memPointer = maxCells - 1
def incrementCell():
memCells[memPointer] += 1
def decrementCell():
memCells[memPointer] -= 1
def outputValue():
print(chr(memCells[memPointer]), end="")
def takeInput():
print()
value = input(">")
memCells[memPointer] = ord(value[0])
def openBracket():
global instructionPointer
if memCells[memPointer] == 0:
for x in bracketPositions:
if x[0] == instructionPointer:
instructionPointer = x[1]
def closeBracket():
global instructionPointer
if memCells[memPointer] != 0:
for x in bracketPositions:
if x[1] == instructionPointer:
instructionPointer = x[0]
#--------------------------------------
# Execute BF Code
#--------------------------------------
while instructionPointer != len(programCode):
x = programCode[instructionPointer]
if x == ">":
moveRight()
if x == "<":
moveLeft()
if x == "+":
incrementCell()
if x == "-":
decrementCell()
if x == ".":
outputValue()
if x == ",":
takeInput()
if x == "[":
openBracket()
if x == "]":
closeBracket()
instructionPointer += 1
| file_name = input('Enter name of Brainf*** file here: ')
file = open(fileName, 'r')
program_code = []
valid_commands = ['>', '<', '+', '-', '.', ',', '[', ']']
for x in file:
for y in x:
if y in validCommands:
programCode.append(y)
file.close()
bracket_positions = []
loop_index = 0
open_index = []
for x in programCode:
if x == '[':
openIndex.append(loopIndex)
if x == ']':
open_position = openIndex.pop()
bracketPositions.append([openPosition, loopIndex])
loop_index += 1
mem_cells = []
mem_pointer = 0
instruction_pointer = 0
mem_cells_stepper = 0
max_cells = 5000
while memCellsStepper < maxCells:
memCells.append(0)
mem_cells_stepper += 1
def move_right():
global memPointer
mem_pointer += 1
if memPointer >= maxCells:
mem_pointer = 0
def move_left():
global memPointer
mem_pointer -= 1
if memPointer < 0:
mem_pointer = maxCells - 1
def increment_cell():
memCells[memPointer] += 1
def decrement_cell():
memCells[memPointer] -= 1
def output_value():
print(chr(memCells[memPointer]), end='')
def take_input():
print()
value = input('>')
memCells[memPointer] = ord(value[0])
def open_bracket():
global instructionPointer
if memCells[memPointer] == 0:
for x in bracketPositions:
if x[0] == instructionPointer:
instruction_pointer = x[1]
def close_bracket():
global instructionPointer
if memCells[memPointer] != 0:
for x in bracketPositions:
if x[1] == instructionPointer:
instruction_pointer = x[0]
while instructionPointer != len(programCode):
x = programCode[instructionPointer]
if x == '>':
move_right()
if x == '<':
move_left()
if x == '+':
increment_cell()
if x == '-':
decrement_cell()
if x == '.':
output_value()
if x == ',':
take_input()
if x == '[':
open_bracket()
if x == ']':
close_bracket()
instruction_pointer += 1 |
_registered_input_modules_types = {}
def register(name, class_type):
if name in _registered_input_modules_types:
raise RuntimeError("Dublicate input module name: " + name)
_registered_input_modules_types[name] = class_type
def load_modules(agent, input_link_config):
input_modules = []
# get input modules configuration from Parameter Server
if not isinstance(input_link_config, dict):
raise RuntimeError("Input link configuration is not valid.")
# process configuration
for module_name, module_config in input_link_config.iteritems():
module_type = _registered_input_modules_types.get(module_name)
if module_type:
input_modules.append( module_type(agent, module_config) )
else:
raise RuntimeError("Input module {} type is unknown." % module_name)
return input_modules
| _registered_input_modules_types = {}
def register(name, class_type):
if name in _registered_input_modules_types:
raise runtime_error('Dublicate input module name: ' + name)
_registered_input_modules_types[name] = class_type
def load_modules(agent, input_link_config):
input_modules = []
if not isinstance(input_link_config, dict):
raise runtime_error('Input link configuration is not valid.')
for (module_name, module_config) in input_link_config.iteritems():
module_type = _registered_input_modules_types.get(module_name)
if module_type:
input_modules.append(module_type(agent, module_config))
else:
raise runtime_error('Input module {} type is unknown.' % module_name)
return input_modules |
def find_missing(array):
return [x for x in range(array[0], array[-1] + 1) if x not in array]
lst = [2, 4, 1, 7, 10]
print(find_missing(lst)) | def find_missing(array):
return [x for x in range(array[0], array[-1] + 1) if x not in array]
lst = [2, 4, 1, 7, 10]
print(find_missing(lst)) |
S1 = "Hello Python"
print(S1) # Prints complete string
print(S1[0]) # Prints first character of the string
print(S1[2:5]) # Prints character starting from 3rd t 5th
print(S1[2:]) # Prints string starting from 3rd character
print(S1 * 2) # Prints string two times
print(S1 + "Thanks") # Prints concatenated string
| s1 = 'Hello Python'
print(S1)
print(S1[0])
print(S1[2:5])
print(S1[2:])
print(S1 * 2)
print(S1 + 'Thanks') |
def onSpawn():
while True:
pet.moveXY(48, 8)
pet.moveXY(12, 8)
pet.on("spawn", onSpawn)
while True:
hero.say("Run!!!")
hero.say("Faster!")
| def on_spawn():
while True:
pet.moveXY(48, 8)
pet.moveXY(12, 8)
pet.on('spawn', onSpawn)
while True:
hero.say('Run!!!')
hero.say('Faster!') |
# TO print Fibonacci Series upto n numbers and replace all prime numbers and multiples of 5 by 0
# Checking for prime numbers
def isprime(numb):
if numb == 2:
return True
elif numb == 3:
return True
else :
for i in range(2, numb // 2 + 1):
if (numb % i) == 0:
return False
else:
return True
# Finding out the fibonacci numbers
def fibonacci_series(n):
flag = 0
a,b = 1,1
if n == 1:
print(a)
else:
print(a, end = " ")
print(b, end = " ")
while flag <= n:
c = a + b
a,b = b,c
flag += 1
if c % 5 == 0 or isprime(c):
print(0, end = " ")
else:
print(c, end = " ")
# The number of fibonacci terms required
n1 = int(input("Enter the value of n: "))
n = n1 - 3
fibonacci_series(n) | def isprime(numb):
if numb == 2:
return True
elif numb == 3:
return True
else:
for i in range(2, numb // 2 + 1):
if numb % i == 0:
return False
else:
return True
def fibonacci_series(n):
flag = 0
(a, b) = (1, 1)
if n == 1:
print(a)
else:
print(a, end=' ')
print(b, end=' ')
while flag <= n:
c = a + b
(a, b) = (b, c)
flag += 1
if c % 5 == 0 or isprime(c):
print(0, end=' ')
else:
print(c, end=' ')
n1 = int(input('Enter the value of n: '))
n = n1 - 3
fibonacci_series(n) |
class Solution:
def reorderLogFiles(self, logs: List[str]) -> List[str]:
def corder(log):
identifier, detail = log.split(None, 1)
return (0, detail, identifier) if detail[0].isalpha() else (1,)
return sorted(logs, key=corder)
| class Solution:
def reorder_log_files(self, logs: List[str]) -> List[str]:
def corder(log):
(identifier, detail) = log.split(None, 1)
return (0, detail, identifier) if detail[0].isalpha() else (1,)
return sorted(logs, key=corder) |
# initiate empty list to hold user input and sum value of zero
user_list = []
list_sum = 0
# seek user input for ten numbers
for i in range(10):
userInput = input("Enter any 2-digit number: ")
# check to see if number is even and if yes, add to list_sum
# print incorrect value warning when ValueError exception occurs
try:
number = int(userInput)
user_list.append(number)
if number % 2 == 0:
list_sum += number
except ValueError:
print("Incorrect value. That's not an int!")
print("user_list: {}".format(user_list))
print("The sum of the even numbers in user_list is: {}.".format(list_sum))
| user_list = []
list_sum = 0
for i in range(10):
user_input = input('Enter any 2-digit number: ')
try:
number = int(userInput)
user_list.append(number)
if number % 2 == 0:
list_sum += number
except ValueError:
print("Incorrect value. That's not an int!")
print('user_list: {}'.format(user_list))
print('The sum of the even numbers in user_list is: {}.'.format(list_sum)) |
load("@io_bazel_rules_docker//container:pull.bzl", "container_pull")
def containers():
container_pull(
name = "alpine_linux_amd64",
registry = "index.docker.io",
repository = "library/alpine",
tag = "3.14.2",
)
| load('@io_bazel_rules_docker//container:pull.bzl', 'container_pull')
def containers():
container_pull(name='alpine_linux_amd64', registry='index.docker.io', repository='library/alpine', tag='3.14.2') |
BUILD_STATE = (
('triggered', 'Triggered'),
('building', 'Building'),
('finished', 'Finished'),
)
BUILD_TYPES = (
('html', 'HTML'),
('pdf', 'PDF'),
('epub', 'Epub'),
('man', 'Manpage'),
)
| build_state = (('triggered', 'Triggered'), ('building', 'Building'), ('finished', 'Finished'))
build_types = (('html', 'HTML'), ('pdf', 'PDF'), ('epub', 'Epub'), ('man', 'Manpage')) |
class Solution:
def getDecimalValue(self, head: ListNode) -> int:
return self.getDecimalValueHelper(head)[0]
def getDecimalValueHelper(self, head: ListNode) -> int:
if head is None:
return (0, 0)
total, exp = self.getDecimalValueHelper(head.next)
currbit = head.val
total += currbit * (2**exp)
return (total, exp+1)
| class Solution:
def get_decimal_value(self, head: ListNode) -> int:
return self.getDecimalValueHelper(head)[0]
def get_decimal_value_helper(self, head: ListNode) -> int:
if head is None:
return (0, 0)
(total, exp) = self.getDecimalValueHelper(head.next)
currbit = head.val
total += currbit * 2 ** exp
return (total, exp + 1) |
# Copyright (C) 2009 Duncan McGreggor <duncan@canonical.com>
# Copyright (C) 2009 Robert Collins <robertc@robertcollins.net>
# Copyright (C) 2012 New Dream Network, LLC (DreamHost)
# Licenced under the txaws licence available at /LICENSE in the txaws source.
__all__ = ["REGION_US", "REGION_EU", "EC2_US_EAST", "EC2_US_WEST",
"EC2_ASIA_PACIFIC", "EC2_EU_WEST", "EC2_SOUTH_AMERICA_EAST", "EC2_ALL_REGIONS"]
# These old EC2 variable names are maintained for backwards compatibility.
REGION_US = "US"
REGION_EU = "EU"
EC2_ENDPOINT_US = "https://us-east-1.ec2.amazonaws.com/"
EC2_ENDPOINT_EU = "https://eu-west-1.ec2.amazonaws.com/"
SQS_ENDPOINT_US = "https://sqs.us-east-1.amazonaws.com/"
# These are the new EC2 variables.
EC2_US_EAST = [
{"region": "US East (Northern Virginia) Region",
"endpoint": "https://ec2.us-east-1.amazonaws.com"}]
EC2_US_WEST = [
{"region": "US West (Oregon) Region",
"endpoint": "https://ec2.us-west-2.amazonaws.com"},
{"region": "US West (Northern California) Region",
"endpoint": "https://ec2.us-west-1.amazonaws.com"}]
EC2_US = EC2_US_EAST + EC2_US_WEST
EC2_ASIA_PACIFIC = [
{"region": "Asia Pacific (Singapore) Region",
"endpoint": "https://ec2.ap-southeast-1.amazonaws.com"},
{"region": "Asia Pacific (Tokyo) Region",
"endpoint": "https://ec2.ap-northeast-1.amazonaws.com"}]
EC2_EU_WEST = [
{"region": "EU (Ireland) Region",
"endpoint": "https://ec2.eu-west-1.amazonaws.com"}]
EC2_EU = EC2_EU_WEST
EC2_SOUTH_AMERICA_EAST = [
{"region": "South America (Sao Paulo) Region",
"endpoint": "https://ec2.sa-east-1.amazonaws.com"}]
EC2_SOUTH_AMERICA = EC2_SOUTH_AMERICA_EAST
EC2_ALL_REGIONS = EC2_US + EC2_ASIA_PACIFIC + EC2_EU + EC2_SOUTH_AMERICA
# This old S3 variable is maintained for backwards compatibility.
S3_ENDPOINT = "https://s3.amazonaws.com/"
# These are the new S3 variables.
S3_US_DEFAULT = [
{"region": "US Standard *",
"endpoint": "https://s3.amazonaws.com"}]
S3_US_WEST = [
{"region": "US West (Oregon) Region",
"endpoint": "https://s3-us-west-2.amazonaws.com"},
{"region": "US West (Northern California) Region",
"endpoint": "https://s3-us-west-1.amazonaws.com"}]
S3_ASIA_PACIFIC = [
{"region": "Asia Pacific (Singapore) Region",
"endpoint": "https://s3-ap-southeast-1.amazonaws.com"},
{"region": "Asia Pacific (Tokyo) Region",
"endpoint": "https://s3-ap-northeast-1.amazonaws.com"}]
S3_US = S3_US_DEFAULT + S3_US_WEST
S3_EU_WEST = [
{"region": "EU (Ireland) Region",
"endpoint": "https://s3-eu-west-1.amazonaws.com"}]
S3_EU = S3_EU_WEST
S3_SOUTH_AMERICA_EAST = [
{"region": "South America (Sao Paulo) Region",
"endpoint": "s3-sa-east-1.amazonaws.com"}]
S3_SOUTH_AMERICA = S3_SOUTH_AMERICA_EAST
S3_ALL_REGIONS = S3_US + S3_ASIA_PACIFIC + S3_EU + S3_SOUTH_AMERICA
| __all__ = ['REGION_US', 'REGION_EU', 'EC2_US_EAST', 'EC2_US_WEST', 'EC2_ASIA_PACIFIC', 'EC2_EU_WEST', 'EC2_SOUTH_AMERICA_EAST', 'EC2_ALL_REGIONS']
region_us = 'US'
region_eu = 'EU'
ec2_endpoint_us = 'https://us-east-1.ec2.amazonaws.com/'
ec2_endpoint_eu = 'https://eu-west-1.ec2.amazonaws.com/'
sqs_endpoint_us = 'https://sqs.us-east-1.amazonaws.com/'
ec2_us_east = [{'region': 'US East (Northern Virginia) Region', 'endpoint': 'https://ec2.us-east-1.amazonaws.com'}]
ec2_us_west = [{'region': 'US West (Oregon) Region', 'endpoint': 'https://ec2.us-west-2.amazonaws.com'}, {'region': 'US West (Northern California) Region', 'endpoint': 'https://ec2.us-west-1.amazonaws.com'}]
ec2_us = EC2_US_EAST + EC2_US_WEST
ec2_asia_pacific = [{'region': 'Asia Pacific (Singapore) Region', 'endpoint': 'https://ec2.ap-southeast-1.amazonaws.com'}, {'region': 'Asia Pacific (Tokyo) Region', 'endpoint': 'https://ec2.ap-northeast-1.amazonaws.com'}]
ec2_eu_west = [{'region': 'EU (Ireland) Region', 'endpoint': 'https://ec2.eu-west-1.amazonaws.com'}]
ec2_eu = EC2_EU_WEST
ec2_south_america_east = [{'region': 'South America (Sao Paulo) Region', 'endpoint': 'https://ec2.sa-east-1.amazonaws.com'}]
ec2_south_america = EC2_SOUTH_AMERICA_EAST
ec2_all_regions = EC2_US + EC2_ASIA_PACIFIC + EC2_EU + EC2_SOUTH_AMERICA
s3_endpoint = 'https://s3.amazonaws.com/'
s3_us_default = [{'region': 'US Standard *', 'endpoint': 'https://s3.amazonaws.com'}]
s3_us_west = [{'region': 'US West (Oregon) Region', 'endpoint': 'https://s3-us-west-2.amazonaws.com'}, {'region': 'US West (Northern California) Region', 'endpoint': 'https://s3-us-west-1.amazonaws.com'}]
s3_asia_pacific = [{'region': 'Asia Pacific (Singapore) Region', 'endpoint': 'https://s3-ap-southeast-1.amazonaws.com'}, {'region': 'Asia Pacific (Tokyo) Region', 'endpoint': 'https://s3-ap-northeast-1.amazonaws.com'}]
s3_us = S3_US_DEFAULT + S3_US_WEST
s3_eu_west = [{'region': 'EU (Ireland) Region', 'endpoint': 'https://s3-eu-west-1.amazonaws.com'}]
s3_eu = S3_EU_WEST
s3_south_america_east = [{'region': 'South America (Sao Paulo) Region', 'endpoint': 's3-sa-east-1.amazonaws.com'}]
s3_south_america = S3_SOUTH_AMERICA_EAST
s3_all_regions = S3_US + S3_ASIA_PACIFIC + S3_EU + S3_SOUTH_AMERICA |
n = int(input())
for i in range(0, n):
line = input()
b, p = line.split()
b = int(b)
p = float(p)
calc = (60 * b) / p
var = 60 / p
min = calc - var
max = calc + var
print(min, calc, max) | n = int(input())
for i in range(0, n):
line = input()
(b, p) = line.split()
b = int(b)
p = float(p)
calc = 60 * b / p
var = 60 / p
min = calc - var
max = calc + var
print(min, calc, max) |
a = int(input('First number'))
b = int(input('Second number'))
if a>b:
print(a)
else:
print(b)
| a = int(input('First number'))
b = int(input('Second number'))
if a > b:
print(a)
else:
print(b) |
# Copyright (c) Microsoft Corporation.
#
# 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.
async def test_should_clear_cookies(context, page, server):
await page.goto(server.EMPTY_PAGE)
await context.addCookies(
[{"url": server.EMPTY_PAGE, "name": "cookie1", "value": "1"}]
)
assert await page.evaluate("document.cookie") == "cookie1=1"
await context.clearCookies()
assert await context.cookies() == []
await page.reload()
assert await page.evaluate("document.cookie") == ""
async def test_should_isolate_cookies_when_clearing(context, server, browser):
another_context = await browser.newContext()
await context.addCookies(
[{"url": server.EMPTY_PAGE, "name": "page1cookie", "value": "page1value"}]
)
await another_context.addCookies(
[{"url": server.EMPTY_PAGE, "name": "page2cookie", "value": "page2value"}]
)
assert len(await context.cookies()) == 1
assert len(await another_context.cookies()) == 1
await context.clearCookies()
assert len(await context.cookies()) == 0
assert len(await another_context.cookies()) == 1
await another_context.clearCookies()
assert len(await context.cookies()) == 0
assert len(await another_context.cookies()) == 0
await another_context.close()
| async def test_should_clear_cookies(context, page, server):
await page.goto(server.EMPTY_PAGE)
await context.addCookies([{'url': server.EMPTY_PAGE, 'name': 'cookie1', 'value': '1'}])
assert await page.evaluate('document.cookie') == 'cookie1=1'
await context.clearCookies()
assert await context.cookies() == []
await page.reload()
assert await page.evaluate('document.cookie') == ''
async def test_should_isolate_cookies_when_clearing(context, server, browser):
another_context = await browser.newContext()
await context.addCookies([{'url': server.EMPTY_PAGE, 'name': 'page1cookie', 'value': 'page1value'}])
await another_context.addCookies([{'url': server.EMPTY_PAGE, 'name': 'page2cookie', 'value': 'page2value'}])
assert len(await context.cookies()) == 1
assert len(await another_context.cookies()) == 1
await context.clearCookies()
assert len(await context.cookies()) == 0
assert len(await another_context.cookies()) == 1
await another_context.clearCookies()
assert len(await context.cookies()) == 0
assert len(await another_context.cookies()) == 0
await another_context.close() |
# pylint: disable=C0111
__all__ = ["test_dataset",
"test_label_smoother",
"test_noam_optimizer",
"test_tokenizer",
"test_transformer",
"test_transformer_data_batching",
"test_transformer_dataset",
"test_transformer_positional_encoder",
"test_vocabulary",
"test_word2vec",
"test_data",
"test_cnn"]
| __all__ = ['test_dataset', 'test_label_smoother', 'test_noam_optimizer', 'test_tokenizer', 'test_transformer', 'test_transformer_data_batching', 'test_transformer_dataset', 'test_transformer_positional_encoder', 'test_vocabulary', 'test_word2vec', 'test_data', 'test_cnn'] |
distancia1: float; distancia2: float; distancia3: float; maiorD: float
print("Digite as tres distancias: ")
distancia1 = float(input())
distancia2 = float(input())
distancia3 = float(input())
if distancia1 > distancia2 and distancia1 > distancia3:
maiorD = distancia1
elif distancia2 > distancia3:
maiorD = distancia2
else:
maiorD = distancia3
print(f"MAIOR DISTANCIA = {maiorD:.2f}")
| distancia1: float
distancia2: float
distancia3: float
maior_d: float
print('Digite as tres distancias: ')
distancia1 = float(input())
distancia2 = float(input())
distancia3 = float(input())
if distancia1 > distancia2 and distancia1 > distancia3:
maior_d = distancia1
elif distancia2 > distancia3:
maior_d = distancia2
else:
maior_d = distancia3
print(f'MAIOR DISTANCIA = {maiorD:.2f}') |
#
# PySNMP MIB module ALTIGA-GLOBAL-REG (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALTIGA-GLOBAL-REG
# Produced by pysmi-0.3.4 at Wed May 1 11:21:16 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")
SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Gauge32, ModuleIdentity, Bits, NotificationType, ObjectIdentity, TimeTicks, MibIdentifier, iso, Integer32, Counter32, Counter64, Unsigned32, IpAddress, enterprises, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "ModuleIdentity", "Bits", "NotificationType", "ObjectIdentity", "TimeTicks", "MibIdentifier", "iso", "Integer32", "Counter32", "Counter64", "Unsigned32", "IpAddress", "enterprises", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
altigaGlobalRegModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 3076, 1, 1, 1, 1))
altigaGlobalRegModule.setRevisions(('2005-01-05 00:00', '2003-10-20 00:00', '2003-04-25 00:00', '2002-07-10 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: altigaGlobalRegModule.setRevisionsDescriptions(('Added the new MIB Modules(65 to 67)', 'Added the new MIB Modules(58 to 64)', 'Added the new MIB Modules(54 to 57)', 'Updated with new header',))
if mibBuilder.loadTexts: altigaGlobalRegModule.setLastUpdated('200501050000Z')
if mibBuilder.loadTexts: altigaGlobalRegModule.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts: altigaGlobalRegModule.setContactInfo('Cisco Systems 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-cvpn3000@cisco.com')
if mibBuilder.loadTexts: altigaGlobalRegModule.setDescription('The Altiga Networks central registration module. Acronyms The following acronyms are used in this document: ACE: Access Control Encryption BwMgmt: Bandwidth Management CTCP: Cisco Transmission Control Protocol DHCP: Dynamic Host Configuration Protocol DNS: Domain Name Service FTP: File Transfer Protocol FW: Firewall HTTP: HyperText Transfer Protocol ICMP: Internet Control Message Protocol IKE: Internet Key Exchange IP: Internet Protocol LBSSF: Load Balance Secure Session Failover L2TP: Layer-2 Tunneling Protocol MIB: Management Information Base NAT: Network Address Translation NTP: Network Time Protocol PPP: Point-to-Point Protocol PPTP: Point-to-Point Tunneling Protocol SEP: Scalable Encryption Processor SNMP: Simple Network Management Protocol SSH: Secure Shell Protocol SSL: Secure Sockets Layer UDP: User Datagram Protocol VPN: Virtual Private Network NAC: Network Admission Control ')
altigaRoot = MibIdentifier((1, 3, 6, 1, 4, 1, 3076))
altigaReg = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1))
altigaModules = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1))
alGlobalRegModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 1))
alCapModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 2))
alMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 3))
alComplModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 4))
alVersionMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 6))
alAccessMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 7))
alEventMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 8))
alAuthMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 9))
alPptpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 10))
alPppMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 11))
alHttpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 12))
alIpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 13))
alFilterMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 14))
alUserMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 15))
alTelnetMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 16))
alFtpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 17))
alTftpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 18))
alSnmpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 19))
alIpSecMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 20))
alL2tpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 21))
alSessionMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 22))
alDnsMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 23))
alAddressMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 24))
alDhcpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 25))
alWatchdogMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 26))
alHardwareMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 27))
alNatMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 28))
alLan2LanMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 29))
alGeneralMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 30))
alSslMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 31))
alCertMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 32))
alNtpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 33))
alNetworkListMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 34))
alSepMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 35))
alIkeMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 36))
alSyncMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 37))
alT1E1MibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 38))
alMultiLinkMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 39))
alSshMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 40))
alLBSSFMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 41))
alDhcpServerMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 42))
alAutoUpdateMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 43))
alAdminAuthMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 44))
alPPPoEMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 45))
alXmlMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 46))
alCtcpMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 47))
alFwMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 48))
alGroupMatchMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 49))
alACEServerMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 50))
alNatTMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 51))
alBwMgmtMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 52))
alIpSecPreFragMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 53))
alFipsMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 54))
alBackupL2LMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 55))
alNotifyMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 56))
alRebootStatusMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 57))
alAuthorizationModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 58))
alWebPortalMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 59))
alWebEmailMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 60))
alPortForwardMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 61))
alRemoteServerMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 62))
alWebvpnAclMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 63))
alNbnsMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 64))
alSecureDesktopMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 65))
alSslTunnelClientMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 66))
alNacMibModule = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 67))
altigaGeneric = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 2))
altigaProducts = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 3))
altigaCaps = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 4))
altigaReqs = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 5))
altigaExpr = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 6))
altigaHw = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2))
altigaVpnHw = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1))
altigaVpnChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1))
altigaVpnIntf = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 2))
altigaVpnEncrypt = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 3))
vpnConcentrator = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 1))
vpnRemote = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 2))
vpnClient = MibIdentifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 3))
vpnConcentratorRev1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 1, 1))
if mibBuilder.loadTexts: vpnConcentratorRev1.setStatus('current')
if mibBuilder.loadTexts: vpnConcentratorRev1.setDescription("The first revision of Altiga's VPN Concentrator hardware. 603e PPC processor. C10/15/20/30/50/60.")
vpnConcentratorRev2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 1, 2))
if mibBuilder.loadTexts: vpnConcentratorRev2.setStatus('current')
if mibBuilder.loadTexts: vpnConcentratorRev2.setDescription("The second revision of Altiga's VPN Concentrator hardware. 740 PPC processor. C10/15/20/30/50/60.")
vpnRemoteRev1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 2, 1))
if mibBuilder.loadTexts: vpnRemoteRev1.setStatus('current')
if mibBuilder.loadTexts: vpnRemoteRev1.setDescription("The first revision of Altiga's VPN Concentrator (Remote) hardware. 8240 PPC processor.")
vpnClientRev1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 3, 1))
if mibBuilder.loadTexts: vpnClientRev1.setStatus('current')
if mibBuilder.loadTexts: vpnClientRev1.setDescription("The first revision of Altiga's VPN Hardware Client hardware. 8260 PPC processor.")
mibBuilder.exportSymbols("ALTIGA-GLOBAL-REG", PYSNMP_MODULE_ID=altigaGlobalRegModule, alNatTMibModule=alNatTMibModule, alWebEmailMibModule=alWebEmailMibModule, alEventMibModule=alEventMibModule, alPptpMibModule=alPptpMibModule, alAccessMibModule=alAccessMibModule, alDhcpMibModule=alDhcpMibModule, alIkeMibModule=alIkeMibModule, alHttpMibModule=alHttpMibModule, alSepMibModule=alSepMibModule, alMibModule=alMibModule, altigaVpnHw=altigaVpnHw, altigaExpr=altigaExpr, alHardwareMibModule=alHardwareMibModule, altigaGeneric=altigaGeneric, alRebootStatusMibModule=alRebootStatusMibModule, alSslMibModule=alSslMibModule, alVersionMibModule=alVersionMibModule, altigaVpnChassis=altigaVpnChassis, alSyncMibModule=alSyncMibModule, altigaHw=altigaHw, alPppMibModule=alPppMibModule, vpnRemote=vpnRemote, alGroupMatchMibModule=alGroupMatchMibModule, alNotifyMibModule=alNotifyMibModule, alCapModule=alCapModule, altigaReg=altigaReg, altigaRoot=altigaRoot, altigaReqs=altigaReqs, vpnClient=vpnClient, alIpSecPreFragMibModule=alIpSecPreFragMibModule, alL2tpMibModule=alL2tpMibModule, alAutoUpdateMibModule=alAutoUpdateMibModule, alSshMibModule=alSshMibModule, alSslTunnelClientMibModule=alSslTunnelClientMibModule, alAddressMibModule=alAddressMibModule, alLan2LanMibModule=alLan2LanMibModule, alSecureDesktopMibModule=alSecureDesktopMibModule, alDhcpServerMibModule=alDhcpServerMibModule, altigaVpnEncrypt=altigaVpnEncrypt, alPortForwardMibModule=alPortForwardMibModule, alT1E1MibModule=alT1E1MibModule, alAuthorizationModule=alAuthorizationModule, vpnRemoteRev1=vpnRemoteRev1, vpnConcentratorRev1=vpnConcentratorRev1, alFwMibModule=alFwMibModule, altigaProducts=altigaProducts, alPPPoEMibModule=alPPPoEMibModule, alFilterMibModule=alFilterMibModule, alCertMibModule=alCertMibModule, alTelnetMibModule=alTelnetMibModule, alGlobalRegModule=alGlobalRegModule, alWebPortalMibModule=alWebPortalMibModule, alNacMibModule=alNacMibModule, alCtcpMibModule=alCtcpMibModule, vpnClientRev1=vpnClientRev1, vpnConcentrator=vpnConcentrator, alGeneralMibModule=alGeneralMibModule, alAuthMibModule=alAuthMibModule, alACEServerMibModule=alACEServerMibModule, alNetworkListMibModule=alNetworkListMibModule, altigaCaps=altigaCaps, alWebvpnAclMibModule=alWebvpnAclMibModule, altigaVpnIntf=altigaVpnIntf, alSessionMibModule=alSessionMibModule, alIpSecMibModule=alIpSecMibModule, alFipsMibModule=alFipsMibModule, alTftpMibModule=alTftpMibModule, vpnConcentratorRev2=vpnConcentratorRev2, alSnmpMibModule=alSnmpMibModule, alFtpMibModule=alFtpMibModule, alBackupL2LMibModule=alBackupL2LMibModule, alAdminAuthMibModule=alAdminAuthMibModule, alXmlMibModule=alXmlMibModule, alLBSSFMibModule=alLBSSFMibModule, alWatchdogMibModule=alWatchdogMibModule, alDnsMibModule=alDnsMibModule, alBwMgmtMibModule=alBwMgmtMibModule, altigaModules=altigaModules, alMultiLinkMibModule=alMultiLinkMibModule, alNtpMibModule=alNtpMibModule, alNbnsMibModule=alNbnsMibModule, alRemoteServerMibModule=alRemoteServerMibModule, alNatMibModule=alNatMibModule, altigaGlobalRegModule=altigaGlobalRegModule, alComplModule=alComplModule, alIpMibModule=alIpMibModule, alUserMibModule=alUserMibModule)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(gauge32, module_identity, bits, notification_type, object_identity, time_ticks, mib_identifier, iso, integer32, counter32, counter64, unsigned32, ip_address, enterprises, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'ModuleIdentity', 'Bits', 'NotificationType', 'ObjectIdentity', 'TimeTicks', 'MibIdentifier', 'iso', 'Integer32', 'Counter32', 'Counter64', 'Unsigned32', 'IpAddress', 'enterprises', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
altiga_global_reg_module = module_identity((1, 3, 6, 1, 4, 1, 3076, 1, 1, 1, 1))
altigaGlobalRegModule.setRevisions(('2005-01-05 00:00', '2003-10-20 00:00', '2003-04-25 00:00', '2002-07-10 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
altigaGlobalRegModule.setRevisionsDescriptions(('Added the new MIB Modules(65 to 67)', 'Added the new MIB Modules(58 to 64)', 'Added the new MIB Modules(54 to 57)', 'Updated with new header'))
if mibBuilder.loadTexts:
altigaGlobalRegModule.setLastUpdated('200501050000Z')
if mibBuilder.loadTexts:
altigaGlobalRegModule.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts:
altigaGlobalRegModule.setContactInfo('Cisco Systems 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-cvpn3000@cisco.com')
if mibBuilder.loadTexts:
altigaGlobalRegModule.setDescription('The Altiga Networks central registration module. Acronyms The following acronyms are used in this document: ACE: Access Control Encryption BwMgmt: Bandwidth Management CTCP: Cisco Transmission Control Protocol DHCP: Dynamic Host Configuration Protocol DNS: Domain Name Service FTP: File Transfer Protocol FW: Firewall HTTP: HyperText Transfer Protocol ICMP: Internet Control Message Protocol IKE: Internet Key Exchange IP: Internet Protocol LBSSF: Load Balance Secure Session Failover L2TP: Layer-2 Tunneling Protocol MIB: Management Information Base NAT: Network Address Translation NTP: Network Time Protocol PPP: Point-to-Point Protocol PPTP: Point-to-Point Tunneling Protocol SEP: Scalable Encryption Processor SNMP: Simple Network Management Protocol SSH: Secure Shell Protocol SSL: Secure Sockets Layer UDP: User Datagram Protocol VPN: Virtual Private Network NAC: Network Admission Control ')
altiga_root = mib_identifier((1, 3, 6, 1, 4, 1, 3076))
altiga_reg = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1))
altiga_modules = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1))
al_global_reg_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 1))
al_cap_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 2))
al_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 3))
al_compl_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 4))
al_version_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 6))
al_access_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 7))
al_event_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 8))
al_auth_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 9))
al_pptp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 10))
al_ppp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 11))
al_http_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 12))
al_ip_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 13))
al_filter_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 14))
al_user_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 15))
al_telnet_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 16))
al_ftp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 17))
al_tftp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 18))
al_snmp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 19))
al_ip_sec_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 20))
al_l2tp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 21))
al_session_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 22))
al_dns_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 23))
al_address_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 24))
al_dhcp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 25))
al_watchdog_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 26))
al_hardware_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 27))
al_nat_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 28))
al_lan2_lan_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 29))
al_general_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 30))
al_ssl_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 31))
al_cert_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 32))
al_ntp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 33))
al_network_list_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 34))
al_sep_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 35))
al_ike_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 36))
al_sync_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 37))
al_t1_e1_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 38))
al_multi_link_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 39))
al_ssh_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 40))
al_lbssf_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 41))
al_dhcp_server_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 42))
al_auto_update_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 43))
al_admin_auth_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 44))
al_pp_po_e_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 45))
al_xml_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 46))
al_ctcp_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 47))
al_fw_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 48))
al_group_match_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 49))
al_ace_server_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 50))
al_nat_t_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 51))
al_bw_mgmt_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 52))
al_ip_sec_pre_frag_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 53))
al_fips_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 54))
al_backup_l2_l_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 55))
al_notify_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 56))
al_reboot_status_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 57))
al_authorization_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 58))
al_web_portal_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 59))
al_web_email_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 60))
al_port_forward_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 61))
al_remote_server_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 62))
al_webvpn_acl_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 63))
al_nbns_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 64))
al_secure_desktop_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 65))
al_ssl_tunnel_client_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 66))
al_nac_mib_module = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 1, 67))
altiga_generic = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 2))
altiga_products = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 3))
altiga_caps = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 4))
altiga_reqs = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 5))
altiga_expr = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 6))
altiga_hw = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2))
altiga_vpn_hw = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1))
altiga_vpn_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1))
altiga_vpn_intf = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 2))
altiga_vpn_encrypt = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 3))
vpn_concentrator = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 1))
vpn_remote = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 2))
vpn_client = mib_identifier((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 3))
vpn_concentrator_rev1 = object_identity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 1, 1))
if mibBuilder.loadTexts:
vpnConcentratorRev1.setStatus('current')
if mibBuilder.loadTexts:
vpnConcentratorRev1.setDescription("The first revision of Altiga's VPN Concentrator hardware. 603e PPC processor. C10/15/20/30/50/60.")
vpn_concentrator_rev2 = object_identity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 1, 2))
if mibBuilder.loadTexts:
vpnConcentratorRev2.setStatus('current')
if mibBuilder.loadTexts:
vpnConcentratorRev2.setDescription("The second revision of Altiga's VPN Concentrator hardware. 740 PPC processor. C10/15/20/30/50/60.")
vpn_remote_rev1 = object_identity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 2, 1))
if mibBuilder.loadTexts:
vpnRemoteRev1.setStatus('current')
if mibBuilder.loadTexts:
vpnRemoteRev1.setDescription("The first revision of Altiga's VPN Concentrator (Remote) hardware. 8240 PPC processor.")
vpn_client_rev1 = object_identity((1, 3, 6, 1, 4, 1, 3076, 1, 2, 1, 1, 3, 1))
if mibBuilder.loadTexts:
vpnClientRev1.setStatus('current')
if mibBuilder.loadTexts:
vpnClientRev1.setDescription("The first revision of Altiga's VPN Hardware Client hardware. 8260 PPC processor.")
mibBuilder.exportSymbols('ALTIGA-GLOBAL-REG', PYSNMP_MODULE_ID=altigaGlobalRegModule, alNatTMibModule=alNatTMibModule, alWebEmailMibModule=alWebEmailMibModule, alEventMibModule=alEventMibModule, alPptpMibModule=alPptpMibModule, alAccessMibModule=alAccessMibModule, alDhcpMibModule=alDhcpMibModule, alIkeMibModule=alIkeMibModule, alHttpMibModule=alHttpMibModule, alSepMibModule=alSepMibModule, alMibModule=alMibModule, altigaVpnHw=altigaVpnHw, altigaExpr=altigaExpr, alHardwareMibModule=alHardwareMibModule, altigaGeneric=altigaGeneric, alRebootStatusMibModule=alRebootStatusMibModule, alSslMibModule=alSslMibModule, alVersionMibModule=alVersionMibModule, altigaVpnChassis=altigaVpnChassis, alSyncMibModule=alSyncMibModule, altigaHw=altigaHw, alPppMibModule=alPppMibModule, vpnRemote=vpnRemote, alGroupMatchMibModule=alGroupMatchMibModule, alNotifyMibModule=alNotifyMibModule, alCapModule=alCapModule, altigaReg=altigaReg, altigaRoot=altigaRoot, altigaReqs=altigaReqs, vpnClient=vpnClient, alIpSecPreFragMibModule=alIpSecPreFragMibModule, alL2tpMibModule=alL2tpMibModule, alAutoUpdateMibModule=alAutoUpdateMibModule, alSshMibModule=alSshMibModule, alSslTunnelClientMibModule=alSslTunnelClientMibModule, alAddressMibModule=alAddressMibModule, alLan2LanMibModule=alLan2LanMibModule, alSecureDesktopMibModule=alSecureDesktopMibModule, alDhcpServerMibModule=alDhcpServerMibModule, altigaVpnEncrypt=altigaVpnEncrypt, alPortForwardMibModule=alPortForwardMibModule, alT1E1MibModule=alT1E1MibModule, alAuthorizationModule=alAuthorizationModule, vpnRemoteRev1=vpnRemoteRev1, vpnConcentratorRev1=vpnConcentratorRev1, alFwMibModule=alFwMibModule, altigaProducts=altigaProducts, alPPPoEMibModule=alPPPoEMibModule, alFilterMibModule=alFilterMibModule, alCertMibModule=alCertMibModule, alTelnetMibModule=alTelnetMibModule, alGlobalRegModule=alGlobalRegModule, alWebPortalMibModule=alWebPortalMibModule, alNacMibModule=alNacMibModule, alCtcpMibModule=alCtcpMibModule, vpnClientRev1=vpnClientRev1, vpnConcentrator=vpnConcentrator, alGeneralMibModule=alGeneralMibModule, alAuthMibModule=alAuthMibModule, alACEServerMibModule=alACEServerMibModule, alNetworkListMibModule=alNetworkListMibModule, altigaCaps=altigaCaps, alWebvpnAclMibModule=alWebvpnAclMibModule, altigaVpnIntf=altigaVpnIntf, alSessionMibModule=alSessionMibModule, alIpSecMibModule=alIpSecMibModule, alFipsMibModule=alFipsMibModule, alTftpMibModule=alTftpMibModule, vpnConcentratorRev2=vpnConcentratorRev2, alSnmpMibModule=alSnmpMibModule, alFtpMibModule=alFtpMibModule, alBackupL2LMibModule=alBackupL2LMibModule, alAdminAuthMibModule=alAdminAuthMibModule, alXmlMibModule=alXmlMibModule, alLBSSFMibModule=alLBSSFMibModule, alWatchdogMibModule=alWatchdogMibModule, alDnsMibModule=alDnsMibModule, alBwMgmtMibModule=alBwMgmtMibModule, altigaModules=altigaModules, alMultiLinkMibModule=alMultiLinkMibModule, alNtpMibModule=alNtpMibModule, alNbnsMibModule=alNbnsMibModule, alRemoteServerMibModule=alRemoteServerMibModule, alNatMibModule=alNatMibModule, altigaGlobalRegModule=altigaGlobalRegModule, alComplModule=alComplModule, alIpMibModule=alIpMibModule, alUserMibModule=alUserMibModule) |
# Since any modulus should lay between 0 and 101, we can record all
# possible modulus at any given point in the calculation. The possible
# set of values of next step can be calculated using the previous set.
# Since there's guaranteed to be an answer, we will eventually make
# modulus 0 possible. We then backtrack to fill in all these operators.
N = int(input())
A = list(map(int, input().split()))
op = ['*'] * (N - 1)
possible = [[None] * 101 for i in range(N)]
possible[0][A[0]] = True
end = N - 1
for i in range(N - 1):
if possible[i][0]:
end = i
break
for x in range(101):
if possible[i][x]:
possible[i + 1][(x + A[i + 1]) % 101] = ('+', x)
possible[i + 1][(x + 101 - A[i + 1]) % 101] = ('-', x)
possible[i + 1][(x * A[i + 1]) % 101] = ('*', x)
x = 0
for i in range(end, 0, -1):
op[i - 1] = possible[i][x][0]
x = possible[i][x][1]
print(''.join(str(x) for t in zip(A, op) for x in t) + str(A[-1]))
| n = int(input())
a = list(map(int, input().split()))
op = ['*'] * (N - 1)
possible = [[None] * 101 for i in range(N)]
possible[0][A[0]] = True
end = N - 1
for i in range(N - 1):
if possible[i][0]:
end = i
break
for x in range(101):
if possible[i][x]:
possible[i + 1][(x + A[i + 1]) % 101] = ('+', x)
possible[i + 1][(x + 101 - A[i + 1]) % 101] = ('-', x)
possible[i + 1][x * A[i + 1] % 101] = ('*', x)
x = 0
for i in range(end, 0, -1):
op[i - 1] = possible[i][x][0]
x = possible[i][x][1]
print(''.join((str(x) for t in zip(A, op) for x in t)) + str(A[-1])) |
# File: koodous_consts.py
#
# Copyright (c) 2018-2021 Splunk Inc.
#
# 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.
PHANTOM_ERR_CODE_UNAVAILABLE = "Error code unavailable"
PHANTOM_ERR_MSG_UNAVAILABLE = "Unknown error occurred. Please check the asset configuration and|or action parameters."
VAULT_ERR_INVALID_VAULT_ID = "Invalid Vault ID"
VAULT_ERR_FILE_NOT_FOUND = "Vault file could not be found with supplied Vault ID"
KOODOUS_BASE_URL = 'https://api.koodous.com'
KOODOUS_SUCC_TEST_CONNECTIVITY = "Test connectivity passed"
KOODOUS_ERR_TEST_CONNECTIVITY = "Test Connectivity Failed"
KOODOUS_ERR_INVALID_ATTEMPT_PARAM = "Attempts must be integer number. Error: {0}"
KOODOUS_ERR_GET_REPORT_PARAMS = "Must specify either 'sha256' or 'vault_id'"
KOODOUS_ERR_UPLOADING_URL = "Error retrieving upload URL"
| phantom_err_code_unavailable = 'Error code unavailable'
phantom_err_msg_unavailable = 'Unknown error occurred. Please check the asset configuration and|or action parameters.'
vault_err_invalid_vault_id = 'Invalid Vault ID'
vault_err_file_not_found = 'Vault file could not be found with supplied Vault ID'
koodous_base_url = 'https://api.koodous.com'
koodous_succ_test_connectivity = 'Test connectivity passed'
koodous_err_test_connectivity = 'Test Connectivity Failed'
koodous_err_invalid_attempt_param = 'Attempts must be integer number. Error: {0}'
koodous_err_get_report_params = "Must specify either 'sha256' or 'vault_id'"
koodous_err_uploading_url = 'Error retrieving upload URL' |
def print_two(*args):
arg1, arg2 =args
print(f"arg1 : {arg1},arg2 : {arg2}")
def print_two_again(arg1,arg2):
print(f"arg1:{arg1},arg2:{arg2}")
def print_one(arg1):
print(f"arg1:{arg1}")
def print_none():
print("I got nothing")
print_two("Zed","Shaw")
print_two_again("Zed","Shaw")
print_one("First!")
print_none()
| def print_two(*args):
(arg1, arg2) = args
print(f'arg1 : {arg1},arg2 : {arg2}')
def print_two_again(arg1, arg2):
print(f'arg1:{arg1},arg2:{arg2}')
def print_one(arg1):
print(f'arg1:{arg1}')
def print_none():
print('I got nothing')
print_two('Zed', 'Shaw')
print_two_again('Zed', 'Shaw')
print_one('First!')
print_none() |
'''
Provide transmission-daemon RPC credentials
'''
rpc_ip = ''
rpc_port = ''
rpc_username = ''
rpc_password = ''
| """
Provide transmission-daemon RPC credentials
"""
rpc_ip = ''
rpc_port = ''
rpc_username = ''
rpc_password = '' |
''' Kattis - secretchamber
Without much execution time pressure along with nodes being characters, we opt to use python with a
dict of dicts as our adjacency matrix. This is basically just floyd warshall transitive closure.
Time: O(V^3), Mem: O(V^2)
'''
n, q = input().split()
n = int(n)
q = int(q)
edges = []
node_names = set()
for i in range(n):
u, v = input().split()
edges.append((u,v))
node_names.add(u)
node_names.add(v)
adjmat = {}
for i in node_names:
adjmat[i] = {}
for j in node_names:
adjmat[i][j] = 0
for u, v in edges:
adjmat[u][v] = 1
for k in node_names:
for i in node_names:
for j in node_names:
adjmat[i][j] |= adjmat[i][k] & adjmat[k][j]
for _ in range(q):
a, b = input().split()
if len(a) != len(b):
print("no")
continue
no = 0
for i in range(len(a)):
if (a[i] == b[i]):
continue
if not(a[i] in node_names and b[i] in node_names):
no = 1
break
if (adjmat[a[i]][b[i]] == 0):
no = 1
break
if no:
print("no")
else:
print("yes")
| """ Kattis - secretchamber
Without much execution time pressure along with nodes being characters, we opt to use python with a
dict of dicts as our adjacency matrix. This is basically just floyd warshall transitive closure.
Time: O(V^3), Mem: O(V^2)
"""
(n, q) = input().split()
n = int(n)
q = int(q)
edges = []
node_names = set()
for i in range(n):
(u, v) = input().split()
edges.append((u, v))
node_names.add(u)
node_names.add(v)
adjmat = {}
for i in node_names:
adjmat[i] = {}
for j in node_names:
adjmat[i][j] = 0
for (u, v) in edges:
adjmat[u][v] = 1
for k in node_names:
for i in node_names:
for j in node_names:
adjmat[i][j] |= adjmat[i][k] & adjmat[k][j]
for _ in range(q):
(a, b) = input().split()
if len(a) != len(b):
print('no')
continue
no = 0
for i in range(len(a)):
if a[i] == b[i]:
continue
if not (a[i] in node_names and b[i] in node_names):
no = 1
break
if adjmat[a[i]][b[i]] == 0:
no = 1
break
if no:
print('no')
else:
print('yes') |
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
maria = Person("Maria Popova", 25)
print(hasattr(maria,"name"))
print(hasattr(maria,"surname"))
print(getattr(maria, "age"))
setattr(maria, "surname", "Popova")
print(getattr(maria, "surname"))
| class Person:
def __init__(self, name, age):
self.name = name
self.age = age
maria = person('Maria Popova', 25)
print(hasattr(maria, 'name'))
print(hasattr(maria, 'surname'))
print(getattr(maria, 'age'))
setattr(maria, 'surname', 'Popova')
print(getattr(maria, 'surname')) |
def spiral(steps):
dx = 1
dy = 0
dd = 1
x = 0
y = 0
d = 0
for _ in range(steps - 1):
x += dx
y += dy
d += 1
if d == dd:
d = 0
tmp = dx
dx = -dy
dy = tmp
if dy == 0:
dd += 1
yield x, y
def aoc(data):
*_, (x, y) = spiral(int(data))
return abs(x) + abs(y)
| def spiral(steps):
dx = 1
dy = 0
dd = 1
x = 0
y = 0
d = 0
for _ in range(steps - 1):
x += dx
y += dy
d += 1
if d == dd:
d = 0
tmp = dx
dx = -dy
dy = tmp
if dy == 0:
dd += 1
yield (x, y)
def aoc(data):
(*_, (x, y)) = spiral(int(data))
return abs(x) + abs(y) |
with open('do-plecaka.txt', 'r') as f:
dane = []
# getting and cleaning data
for line in f:
dane.append([int(x) for x in line.split()])
# printing
for x in dane:
print(x) | with open('do-plecaka.txt', 'r') as f:
dane = []
for line in f:
dane.append([int(x) for x in line.split()])
for x in dane:
print(x) |
# measurements in inches
ball_radius = 3
goal_top = 50
goal_width = 58
goal_half = 29
angle_threshold = .1
class L_params(object):
horizontal_offset = 14.5
vertical_offset = 18.5
min_y = ball_radius - vertical_offset+3 # in robot coords
max_y = goal_top - vertical_offset
min_x = -14.5
max_x = 14.0
l1 = 11
l2 = 11
shoulder_offset = -60
elbow_offset = 0
angle_threshold = angle_threshold
class R_params(object):
horizontal_offset = 43.5
vertical_offset = 18.5
min_y = ball_radius - vertical_offset+2 # in robot coords
max_y = goal_top - vertical_offset
min_x = -14.0
max_x = 14.5
l1 = 11
l2 = 11
shoulder_offset = 0
elbow_offset = 0
angle_threshold = angle_threshold
left_arm = L_params()
right_arm = R_params()
windows_port = "COM8"
unix_port = "/dev/tty.usbserial-A4012B2H"
ubuntu_port = "/dev/ttyUSB0"
num_servos = 4
servo_speed = 500
baudrate = 400000
| ball_radius = 3
goal_top = 50
goal_width = 58
goal_half = 29
angle_threshold = 0.1
class L_Params(object):
horizontal_offset = 14.5
vertical_offset = 18.5
min_y = ball_radius - vertical_offset + 3
max_y = goal_top - vertical_offset
min_x = -14.5
max_x = 14.0
l1 = 11
l2 = 11
shoulder_offset = -60
elbow_offset = 0
angle_threshold = angle_threshold
class R_Params(object):
horizontal_offset = 43.5
vertical_offset = 18.5
min_y = ball_radius - vertical_offset + 2
max_y = goal_top - vertical_offset
min_x = -14.0
max_x = 14.5
l1 = 11
l2 = 11
shoulder_offset = 0
elbow_offset = 0
angle_threshold = angle_threshold
left_arm = l_params()
right_arm = r_params()
windows_port = 'COM8'
unix_port = '/dev/tty.usbserial-A4012B2H'
ubuntu_port = '/dev/ttyUSB0'
num_servos = 4
servo_speed = 500
baudrate = 400000 |
class Solution:
def numDecodings(self, s: str) -> int:
if s[0] == '0' or '00' in s:
return 0
for idx, _ in enumerate(s):
if idx == 0:
pre, cur = 1, 1
else:
tmp = cur
if _ != '0':
if s[idx - 1] == '0':
cur = tmp
pre = tmp
elif 0 < int(s[idx - 1] + _) < 27:
cur = pre + tmp
pre = tmp
else:
cur = tmp
pre = tmp
else:
if s[idx - 1] > '2':
return 0
else:
cur = pre
pre = tmp
return cur
| class Solution:
def num_decodings(self, s: str) -> int:
if s[0] == '0' or '00' in s:
return 0
for (idx, _) in enumerate(s):
if idx == 0:
(pre, cur) = (1, 1)
else:
tmp = cur
if _ != '0':
if s[idx - 1] == '0':
cur = tmp
pre = tmp
elif 0 < int(s[idx - 1] + _) < 27:
cur = pre + tmp
pre = tmp
else:
cur = tmp
pre = tmp
elif s[idx - 1] > '2':
return 0
else:
cur = pre
pre = tmp
return cur |
def find_skew_value(text):
length_of_text = len(text)
skew_value = 0
skew_value_list = []
for i in range(0, length_of_text):
if text[i] == 'C':
skew_value = skew_value - 1
elif text[i] == 'G':
skew_value = skew_value + 1
skew_value_list.append(skew_value)
return text, skew_value_list
| def find_skew_value(text):
length_of_text = len(text)
skew_value = 0
skew_value_list = []
for i in range(0, length_of_text):
if text[i] == 'C':
skew_value = skew_value - 1
elif text[i] == 'G':
skew_value = skew_value + 1
skew_value_list.append(skew_value)
return (text, skew_value_list) |
#!/usr/bin/env python3
etape = 1
compteur = 0
n = 0
while True:
print(f"{etape:4d} : {n:5d} { -2+(etape)*(etape+2):6d} ; ", end="")
for _ in range(3 + etape):
n += 1
print(n, end=" ")
compteur += 1
if compteur == 500000:
print(n)
exit()
print()
n += etape
etape += 1
| etape = 1
compteur = 0
n = 0
while True:
print(f'{etape:4d} : {n:5d} {-2 + etape * (etape + 2):6d} ; ', end='')
for _ in range(3 + etape):
n += 1
print(n, end=' ')
compteur += 1
if compteur == 500000:
print(n)
exit()
print()
n += etape
etape += 1 |
class EPIconst:
class FeatureName:
pseknc = "pseknc"
cksnap = "cksnap"
dpcp = "dpcp"
eiip = "eiip"
kmer = "kmer"
tpcp = "tpcp"
all = sorted([pseknc, cksnap, dpcp, eiip, kmer, tpcp])
class CellName:
K562 = "K562"
NHEK = "NHEK"
IMR90 = "IMR90"
HeLa_S3 = "HeLa-S3"
HUVEC = "HUVEC"
GM12878 = "GM12878"
all = sorted([GM12878, HeLa_S3, HUVEC, IMR90, K562, NHEK])
class MethodName:
ensemble = "meta"
xgboost = "xgboost"
svm = "svm"
deepforest = "deepforest"
lightgbm = "lightgbm"
rf = "rf"
all = sorted([lightgbm, rf, xgboost, svm, deepforest])
class ModelInitParams:
logistic = {"n_jobs": 13, }
mlp = {}
deepforest = {"n_jobs": 13, "use_predictor": False, "random_state": 1, "predictor": 'forest', "verbose": 0}
lightgbm = {"n_jobs": 13, 'max_depth': -1, 'num_leaves': 31,
'min_child_samples': 20,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 0,
'reg_alpha': 0.0, 'reg_lambda': 0.0,
'min_split_gain': 0.0,
'objective': None,
'n_estimators': 100, 'learning_rate': 0.1,
'device': 'gpu', 'boosting_type': 'gbdt',
'class_weight': None, 'importance_type': 'split',
'min_child_weight': 0.001, 'random_state': None,
'subsample_for_bin': 200000, 'silent': True}
rf = {"n_jobs": 13, 'n_estimators': 100, "max_depth": None, 'min_samples_split': 2, "min_samples_leaf": 1,
'max_features': 'auto'}
svm = {"probability": True}
xgboost = {'learning_rate': 0.1, 'n_estimators': 500, 'max_depth': 5, 'min_child_weight': 1, 'seed': 0,
'subsample': 0.8, 'colsample_bytree': 0.8, 'gamma': 0, 'reg_alpha': 0, 'reg_lambda': 1,
'use_label_encoder': False, 'eval_metric': 'logloss', 'tree_method': 'gpu_hist'}
class BaseModelParams:
GM12878_cksnap_deepforest = {"max_layers": 20, "n_estimators": 5, "n_trees": 250}
GM12878_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 301, 'max_bin': 125, 'min_child_samples': 90,
'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1,
'n_estimators': 250}
GM12878_cksnap_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
GM12878_cksnap_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 3, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0,
'learning_rate': 0.1}
GM12878_cksnap_rf = {'n_estimators': 340, 'max_depth': 114, 'min_samples_leaf': 3, 'min_samples_split': 2,
'max_features': 'sqrt'}
"----------------------------------------------"
GM12878_dpcp_deepforest = {"max_layers": 20, "n_estimators": 2, "n_trees": 300}
GM12878_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 331, 'max_bin': 135, 'min_child_samples': 190,
'colsample_bytree': 0.7, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 0.9,
'reg_lambda': 0.001, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
GM12878_dpcp_svm = {'C': 1.0, 'gamma': 64.0, 'kernel': 'rbf'}
GM12878_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 3, 'reg_lambda': 3,
'learning_rate': 0.1}
GM12878_dpcp_rf = {'n_estimators': 150, 'max_depth': 88, 'min_samples_leaf': 1, 'min_samples_split': 3,
'max_features': "sqrt"}
"----------------------------------------------"
GM12878_eiip_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 300}
GM12878_eiip_lightgbm = {'max_depth': 12, 'num_leaves': 291, 'max_bin': 115, 'min_child_samples': 40,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
GM12878_eiip_rf = {'n_estimators': 280, 'max_depth': None, 'min_samples_leaf': 1, 'min_samples_split': 7,
'max_features': "sqrt"}
GM12878_eiip_svm = {'C': 1.0, 'gamma': 2048.0, 'kernel': 'rbf'}
GM12878_eiip_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 6, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
GM12878_kmer_deepforest = {'max_layers': 25, 'n_estimators': 5,
'n_trees': 400}
GM12878_kmer_lightgbm = {'max_depth': 12, 'num_leaves': 291, 'max_bin': 115, 'min_child_samples': 40,
'colsample_bytree': 1.0, 'subsample': 0.8, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
GM12878_kmer_rf = {'n_estimators': 170, 'max_depth': 41, 'min_samples_leaf': 3, 'min_samples_split': 2,
'max_features': 'sqrt'}
GM12878_kmer_svm = {'C': 2.0, 'gamma': 128.0,
'kernel': 'rbf'}
GM12878_kmer_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 6, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
GM12878_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 400}
GM12878_pseknc_lightgbm = {'max_depth': 11, 'num_leaves': 291, 'max_bin': 185, 'min_child_samples': 80,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 40, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
GM12878_pseknc_rf = {'n_estimators': 250, 'max_depth': 41, 'min_samples_leaf': 2, 'min_samples_split': 6,
'max_features': 'log2'}
GM12878_pseknc_svm = {'C': 0.5, 'gamma': 1024.0, 'kernel': 'rbf'}
GM12878_pseknc_xgboost = {'n_estimators': 950, 'max_depth': 6, 'min_child_weight': 1, 'gamma': 0.1,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0.01,
'learning_rate': 0.1}
"----------------------------------------------"
GM12878_tpcp_deepforest = {'max_layers': 15, 'n_estimators': 2,
'n_trees': 100}
GM12878_tpcp_lightgbm = {'max_depth': -1, 'num_leaves': 321, 'max_bin': 175, 'min_child_samples': 80,
'colsample_bytree': 0.9, 'subsample': 1.0, 'subsample_freq': 20, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
GM12878_tpcp_rf = {'n_estimators': 250, 'max_depth': 89, 'min_samples_leaf': 2, 'min_samples_split': 9,
'max_features': "log2"}
GM12878_tpcp_svm = {'C': 16.0, 'gamma': 64.0,
'kernel': 'rbf'}
GM12878_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 6, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"=============================================="
HeLa_S3_cksnap_deepforest = {"max_layers": 20, "n_estimators": 2, "n_trees": 300}
HeLa_S3_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 341, 'max_bin': 105, 'min_child_samples': 80,
'colsample_bytree': 0.9, 'subsample': 0.9, 'subsample_freq': 40, 'reg_alpha': 0.1,
'reg_lambda': 0.1, 'min_split_gain': 0.4, 'learning_rate': 0.1, 'n_estimators': 150}
HeLa_S3_cksnap_svm = {'C': 128.0, 'gamma': 128.0,
'kernel': 'rbf'}
HeLa_S3_cksnap_rf = {'n_estimators': 340, 'max_depth': 44, 'min_samples_leaf': 1, 'min_samples_split': 5,
'max_features': 'sqrt'}
HeLa_S3_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 4, 'gamma': 0,
'colsample_bytree': 0.7, 'subsample': 0.7, 'reg_alpha': 3, 'reg_lambda': 0.5,
'learning_rate': 0.1}
"----------------------------------------------"
HeLa_S3_dpcp_deepforest = {"max_layers": 10, "n_estimators": 2, "n_trees": 400}
HeLa_S3_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 221, 'max_bin': 155, 'min_child_samples': 180,
'colsample_bytree': 0.7, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 1e-05, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 200}
HeLa_S3_dpcp_rf = {'n_estimators': 70, 'max_depth': 32, 'min_samples_leaf': 1, 'min_samples_split': 8,
'max_features': 'sqrt'}
HeLa_S3_dpcp_svm = {'C': 2.0, 'gamma': 64.0, 'kernel': 'rbf'}
HeLa_S3_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 3, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
HeLa_S3_eiip_deepforest = {'max_layers': 10, 'n_estimators': 5,
'n_trees': 200}
HeLa_S3_eiip_lightgbm = {'max_depth': -1, 'num_leaves': 281, 'max_bin': 5, 'min_child_samples': 110,
'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 100}
HeLa_S3_eiip_rf = {'n_estimators': 180, 'max_depth': 138, 'min_samples_leaf': 6, 'min_samples_split': 10,
'max_features': 'sqrt'}
HeLa_S3_eiip_svm = {'C': 2.0, 'gamma': 1024.0,
'kernel': 'rbf'}
HeLa_S3_eiip_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 3, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
HeLa_S3_kmer_deepforest = {'max_layers': 10, 'n_estimators': 5,
'n_trees': 200}
HeLa_S3_kmer_lightgbm = {'max_depth': -1, 'num_leaves': 281, 'max_bin': 165, 'min_child_samples': 90,
'colsample_bytree': 0.7, 'subsample': 0.9, 'subsample_freq': 70, 'reg_alpha': 0.001,
'reg_lambda': 0.001, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 125}
HeLa_S3_kmer_rf = {'n_estimators': 240, 'max_depth': 77, 'min_samples_leaf': 2, 'min_samples_split': 2,
'max_features': 'sqrt'}
HeLa_S3_kmer_svm = {'C': 8.0, 'gamma': 128.0,
'kernel': 'rbf'}
HeLa_S3_kmer_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
HeLa_S3_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 200}
HeLa_S3_pseknc_lightgbm = {'max_depth': 12, 'num_leaves': 261, 'max_bin': 25, 'min_child_samples': 90,
'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
HeLa_S3_pseknc_rf = {'n_estimators': 330, 'max_depth': 118, 'min_samples_leaf': 1, 'min_samples_split': 8,
'max_features': 'log2'}
HeLa_S3_pseknc_svm = {'C': 1.0, 'gamma': 256.0, 'kernel': 'rbf'}
HeLa_S3_pseknc_xgboost = {'n_estimators': 750, 'max_depth': 8, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0.1, 'reg_lambda': 2,
'learning_rate': 0.1}
"----------------------------------------------"
HeLa_S3_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 250}
HeLa_S3_tpcp_lightgbm = {'max_depth': 0, 'num_leaves': 341, 'max_bin': 45, 'min_child_samples': 10,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 1e-05, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 250}
HeLa_S3_tpcp_rf = {'n_estimators': 320, 'max_depth': 99, 'min_samples_leaf': 1, 'min_samples_split': 10,
'max_features': 'sqrt'}
HeLa_S3_tpcp_svm = {'C': 4.0, 'gamma': 32.0,
'kernel': 'rbf'}
HeLa_S3_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 7, 'min_child_weight': 4, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"=============================================="
HUVEC_cksnap_deepforest = {"max_layers": 10, "n_estimators": 2,
"n_trees": 200}
HUVEC_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 271, 'max_bin': 45, 'min_child_samples': 10,
'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 0.5,
'reg_lambda': 0.5, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 175}
HUVEC_cksnap_rf = {'n_estimators': 270, 'max_depth': 38, 'min_samples_leaf': 2, 'min_samples_split': 2,
'max_features': "auto"}
HUVEC_cksnap_svm = {'C': 8.0, 'gamma': 64.0, 'kernel': 'rbf'}
HUVEC_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.7, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
HUVEC_dpcp_deepforest = {"max_layers": 10, "n_estimators": 2, "n_trees": 400}
HUVEC_dpcp_lightgbm = {'max_depth': -1, 'num_leaves': 301, 'max_bin': 245, 'min_child_samples': 30,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 0.5,
'reg_lambda': 0.3, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
HUVEC_dpcp_rf = {'n_estimators': 300, 'max_depth': 61, 'min_samples_leaf': 2, 'min_samples_split': 3,
'max_features': 'log2'}
HUVEC_dpcp_svm = {'C': 4.0, 'gamma': 16.0, 'kernel': 'rbf'}
HUVEC_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 3, 'reg_lambda': 3,
'learning_rate': 0.1}
"----------------------------------------------"
HUVEC_eiip_deepforest = {'max_layers': 15, 'n_estimators': 2,
'n_trees': 300}
HUVEC_eiip_lightgbm = {'max_depth': -1, 'num_leaves': 281, 'max_bin': 25, 'min_child_samples': 80,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
HUVEC_eiip_rf = {'n_estimators': 310, 'max_depth': 28, 'min_samples_leaf': 1, 'min_samples_split': 2,
'max_features': 'sqrt'}
HUVEC_eiip_svm = {'C': 4.0, 'gamma': 512.0, 'kernel': 'rbf'}
HUVEC_eiip_xgboost = {'n_estimators': 600, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0,
'learning_rate': 0.1}
"----------------------------------------------"
HUVEC_kmer_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 300}
HUVEC_kmer_lightgbm = {'max_depth': 0, 'num_leaves': 251, 'max_bin': 5, 'min_child_samples': 170,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 70, 'reg_alpha': 0.5,
'reg_lambda': 0.7, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 125}
HUVEC_kmer_rf = {'n_estimators': 230, 'max_depth': 59, 'min_samples_leaf': 1, 'min_samples_split': 4,
'max_features': 'auto'}
HUVEC_kmer_svm = {'C': 4.0, 'gamma': 64.0,
'kernel': 'rbf'}
HUVEC_kmer_xgboost = {'n_estimators': 600, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0,
'learning_rate': 0.1}
"----------------------------------------------"
HUVEC_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 400}
HUVEC_pseknc_lightgbm = {'max_depth': -1, 'num_leaves': 311, 'max_bin': 115, 'min_child_samples': 190,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 70, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 175}
HUVEC_pseknc_rf = {'n_estimators': 310, 'max_depth': 42, 'min_samples_leaf': 2, 'min_samples_split': 7,
'max_features': 'sqrt'}
HUVEC_pseknc_svm = {'C': 1.0, 'gamma': 256.0, 'kernel': 'rbf'}
HUVEC_pseknc_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
HUVEC_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 150}
HUVEC_tpcp_lightgbm = {'max_depth': 0, 'num_leaves': 251, 'max_bin': 35, 'min_child_samples': 190,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
HUVEC_tpcp_rf = {'n_estimators': 330, 'max_depth': 121, 'min_samples_leaf': 2, 'min_samples_split': 5,
'max_features': "sqrt"}
HUVEC_tpcp_svm = {'C': 2.0, 'gamma': 32.0, 'kernel': 'rbf'}
HUVEC_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.9, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"=============================================="
IMR90_cksnap_deepforest = {"max_layers": 20, "n_estimators": 2, "n_trees": 250}
IMR90_cksnap_lightgbm = {'max_depth': 0, 'num_leaves': 271, 'max_bin': 95, 'min_child_samples': 60,
'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.3, 'learning_rate': 0.1, 'n_estimators': 225}
IMR90_cksnap_rf = {'n_estimators': 280, 'max_depth': 124, 'min_samples_leaf': 1, 'min_samples_split': 2,
'max_features': 'auto'}
IMR90_cksnap_svm = {'C': 16.0, 'gamma': 16.0, 'kernel': 'rbf'}
IMR90_cksnap_xgboost = {'n_estimators': 900, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0.4,
'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0.5, 'reg_lambda': 0.1,
'learning_rate': 0.1}
"----------------------------------------------"
IMR90_dpcp_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 200}
IMR90_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 281, 'max_bin': 115, 'min_child_samples': 20,
'colsample_bytree': 0.7, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.5, 'learning_rate': 0.1, 'n_estimators': 125}
IMR90_dpcp_rf = {'n_estimators': 70, 'max_depth': 116, 'min_samples_leaf': 1, 'min_samples_split': 9,
'max_features': 'log2'}
IMR90_dpcp_svm = {'C': 1.0, 'gamma': 32.0, 'kernel': 'rbf'}
IMR90_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.6, 'reg_alpha': 0.05, 'reg_lambda': 0.1,
'learning_rate': 0.1}
"----------------------------------------------"
IMR90_eiip_deepforest = {'max_layers': 15, 'n_estimators': 2,
'n_trees': 350}
IMR90_eiip_lightgbm = {'max_depth': 13, 'num_leaves': 331, 'max_bin': 55, 'min_child_samples': 50,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 80, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.4, 'learning_rate': 0.2, 'n_estimators': 200}
IMR90_eiip_rf = {'n_estimators': 240, 'max_depth': 78, 'min_samples_leaf': 1, 'min_samples_split': 2,
'max_features': 'auto'}
IMR90_eiip_svm = {'C': 4.0, 'gamma': 512.0, 'kernel': 'rbf'}
IMR90_eiip_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
IMR90_kmer_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 250}
IMR90_kmer_lightgbm = {'max_depth': 0, 'num_leaves': 271, 'max_bin': 175, 'min_child_samples': 120,
'colsample_bytree': 0.8, 'subsample': 1.0, 'subsample_freq': 30, 'reg_alpha': 0.7,
'reg_lambda': 0.9, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
IMR90_kmer_rf = {'n_estimators': 280, 'max_depth': 79, 'min_samples_leaf': 2, 'min_samples_split': 3,
'max_features': 'auto'}
IMR90_kmer_svm = {'C': 2.0, 'gamma': 64.0,
'kernel': 'rbf'}
IMR90_kmer_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 2, 'gamma': 0.2,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
IMR90_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 300}
IMR90_pseknc_lightgbm = {'max_depth': -1, 'num_leaves': 291, 'max_bin': 15, 'min_child_samples': 50,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
IMR90_pseknc_rf = {'n_estimators': 240, 'max_depth': 96, 'min_samples_leaf': 3, 'min_samples_split': 4,
'max_features': 'auto'}
IMR90_pseknc_svm = {'C': 4.0, 'gamma': 1024.0,
'kernel': 'rbf'}
IMR90_pseknc_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0.2,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
IMR90_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 300}
IMR90_tpcp_lightgbm = {'max_depth': -1, 'num_leaves': 291, 'max_bin': 35, 'min_child_samples': 60,
'colsample_bytree': 0.6, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 0.5, 'min_split_gain': 0.1, 'learning_rate': 0.1, 'n_estimators': 100}
IMR90_tpcp_rf = {'n_estimators': 290, 'max_depth': 71, 'min_samples_leaf': 5, 'min_samples_split': 4,
'max_features': 'auto'}
IMR90_tpcp_svm = {'C': 1.0, 'gamma': 512.0, 'kernel': 'rbf'}
IMR90_tpcp_xgboost = {'n_estimators': 950, 'max_depth': 7, 'min_child_weight': 5, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.5,
'learning_rate': 0.1}
"=============================================="
K562_cksnap_deepforest = {"max_layers": 20, "n_estimators": 2, "n_trees": 400}
K562_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 311, 'max_bin': 225, 'min_child_samples': 60,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 250}
K562_cksnap_rf = {'n_estimators': 330, 'max_depth': 109, 'min_samples_leaf': 2, 'min_samples_split': 3,
'max_features': 'sqrt'}
K562_cksnap_svm = {'C': 16.0, 'gamma': 32.0, 'kernel': 'rbf'}
K562_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 6, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 2, 'reg_lambda': 0.05,
'learning_rate': 0.1}
"----------------------------------------------"
K562_dpcp_deepforest = {"max_layers": 10, "n_estimators": 2,
"n_trees": 150}
K562_dpcp_lightgbm = {'colsample_bytree': 0.7, 'subsample': 0.7, 'subsample_freq': 80, 'reg_alpha': 1e-05,
'reg_lambda': 0.001, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 225}
K562_dpcp_rf = {'n_estimators': 240, 'max_depth': 127, 'min_samples_leaf': 1, 'min_samples_split': 6,
'max_features': 'sqrt'}
K562_dpcp_svm = {'C': 1.0, 'gamma': 64.0, 'kernel': 'rbf'}
K562_dpcp_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 4, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.05,
'learning_rate': 0.1}
"----------------------------------------------"
K562_eiip_deepforest = {'max_layers': 10, 'n_estimators': 5,
'n_trees': 150}
K562_eiip_lightgbm = {'max_depth': 0, 'num_leaves': 321, 'max_bin': 225, 'min_child_samples': 110,
'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.1, 'learning_rate': 0.1, 'n_estimators': 150}
K562_eiip_rf = {'n_estimators': 120, 'max_depth': 93, 'min_samples_leaf': 3, 'min_samples_split': 3,
'max_features': 'auto'}
K562_eiip_svm = {'C': 2.0, 'gamma': 1024.0, 'kernel': 'rbf'}
K562_eiip_xgboost = {'n_estimators': 650, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.6, 'reg_alpha': 0.5, 'reg_lambda': 0,
'learning_rate': 0.1}
"----------------------------------------------"
K562_kmer_deepforest = {'max_layers': 15, 'n_estimators': 5,
'n_trees': 150}
K562_kmer_lightgbm = {'max_depth': 0, 'num_leaves': 321, 'max_bin': 5, 'min_child_samples': 70,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
K562_kmer_rf = {'n_estimators': 290, 'max_depth': 137, 'min_samples_leaf': 10, 'min_samples_split': 7,
'max_features': "auto"}
K562_kmer_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
K562_kmer_xgboost = {'n_estimators': 650, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.6, 'reg_alpha': 0.5, 'reg_lambda': 0,
'learning_rate': 0.1}
"----------------------------------------------"
K562_pseknc_deepforest = {'max_layers': 15, 'n_estimators': 2,
'n_trees': 300}
K562_pseknc_lightgbm = {'max_depth': -1, 'num_leaves': 241, 'max_bin': 65, 'min_child_samples': 200,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
K562_pseknc_rf = {'n_estimators': 250, 'max_depth': 50, 'min_samples_leaf': 1, 'min_samples_split': 6,
'max_features': 'log2'}
K562_pseknc_svm = {'C': 0.5, 'gamma': 512.0, 'kernel': 'rbf'}
K562_pseknc_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.7, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.1,
'learning_rate': 0.1}
"----------------------------------------------"
K562_tpcp_deepforest = {'max_layers': 20, 'n_estimators': 2,
'n_trees': 300}
K562_tpcp_lightgbm = {'max_depth': -1, 'num_leaves': 241, 'max_bin': 105, 'min_child_samples': 130,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
K562_tpcp_rf = {'n_estimators': 280, 'max_depth': 143, 'min_samples_leaf': 5, 'min_samples_split': 2,
'max_features': 'sqrt'}
K562_tpcp_svm = {'C': 2.0, 'gamma': 64.0, 'kernel': 'rbf'}
K562_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 4, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 2, 'reg_lambda': 1,
'learning_rate': 0.1}
"=============================================="
NHEK_cksnap_deepforest = {"max_layers": 20, "n_estimators": 5, "n_trees": 400}
NHEK_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 291, 'max_bin': 205, 'min_child_samples': 90,
'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 75}
NHEK_cksnap_rf = {'n_estimators': 300, 'max_depth': 76, 'min_samples_leaf': 3, 'min_samples_split': 3,
'max_features': 'auto'}
NHEK_cksnap_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
NHEK_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 5, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
NHEK_dpcp_deepforest = {"max_layers": 10, "n_estimators": 8, "n_trees": 200}
NHEK_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 301, 'max_bin': 145, 'min_child_samples': 70,
'colsample_bytree': 0.7, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 0.9,
'reg_lambda': 1.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
NHEK_dpcp_rf = {'n_estimators': 300, 'max_depth': 138, 'min_samples_leaf': 1, 'min_samples_split': 5,
'max_features': 'auto'}
NHEK_dpcp_svm = {'C': 8.0, 'gamma': 16.0, 'kernel': 'rbf'}
NHEK_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 9, 'min_child_weight': 3, 'gamma': 0.5,
'colsample_bytree': 0.7, 'subsample': 0.7, 'reg_alpha': 0, 'reg_lambda': 1,
'learning_rate': 0.1}
"----------------------------------------------"
NHEK_eiip_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 100}
NHEK_eiip_lightgbm = {'max_depth': 11, 'num_leaves': 231, 'max_bin': 255, 'min_child_samples': 70,
'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
NHEK_eiip_rf = {'n_estimators': 230, 'max_depth': 56, 'min_samples_leaf': 2, 'min_samples_split': 6,
'max_features': 'log2'}
NHEK_eiip_svm = {'C': 8.0, 'gamma': 512.0, 'kernel': 'rbf'}
NHEK_eiip_xgboost = {'n_estimators': 850, 'max_depth': 9, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.1,
'learning_rate': 0.1}
"----------------------------------------------"
NHEK_kmer_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 200}
NHEK_kmer_lightgbm = {'max_depth': 13, 'num_leaves': 261, 'max_bin': 115, 'min_child_samples': 60,
'colsample_bytree': 0.9, 'subsample': 0.9, 'subsample_freq': 40, 'reg_alpha': 0.0,
'reg_lambda': 0.001, 'min_split_gain': 1.0, 'learning_rate': 0.1, 'n_estimators': 150}
NHEK_kmer_rf = {'n_estimators': 60, 'max_depth': 117, 'min_samples_leaf': 3, 'min_samples_split': 3,
'max_features': "auto"}
NHEK_kmer_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
NHEK_kmer_xgboost = {'n_estimators': 850, 'max_depth': 9, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.1,
'learning_rate': 0.1}
"----------------------------------------------"
NHEK_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 150}
NHEK_pseknc_lightgbm = {'max_depth': 12, 'num_leaves': 271, 'max_bin': 155, 'min_child_samples': 20,
'colsample_bytree': 0.9, 'subsample': 0.8, 'subsample_freq': 60, 'reg_alpha': 0.1,
'reg_lambda': 1e-05, 'min_split_gain': 0.7, 'learning_rate': 0.1, 'n_estimators': 75}
NHEK_pseknc_rf = {'n_estimators': 190, 'max_depth': 85, 'min_samples_leaf': 1, 'min_samples_split': 10,
'max_features': 'auto'}
NHEK_pseknc_svm = {'C': 0.5, 'gamma': 512.0, 'kernel': 'rbf'}
NHEK_pseknc_xgboost = {'n_estimators': 950, 'max_depth': 6, 'min_child_weight': 3, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0.1, 'reg_lambda': 3,
'learning_rate': 0.1}
"----------------------------------------------"
NHEK_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2,
'n_trees': 200}
NHEK_tpcp_lightgbm = {'max_depth': 0, 'num_leaves': 241, 'max_bin': 15, 'min_child_samples': 90,
'colsample_bytree': 0.7, 'subsample': 0.8, 'subsample_freq': 40, 'reg_alpha': 0.001,
'reg_lambda': 0.001, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 100}
NHEK_tpcp_rf = {'n_estimators': 120, 'max_depth': 115, 'min_samples_leaf': 1, 'min_samples_split': 4,
'max_features': 'auto'}
NHEK_tpcp_svm = {'C': 1.0, 'gamma': 128.0, 'kernel': 'rbf'}
NHEK_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 7, 'min_child_weight': 6, 'gamma': 0,
'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0.01, 'reg_lambda': 0.01,
'learning_rate': 0.1}
class MetaModelParams:
################# GM12878 ######################
GM12878_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'identity', 'hidden_layer_sizes': 32}
GM12878_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'identity', 'hidden_layer_sizes': 8}
GM12878_6f5m_prob_logistic = {'C': 2.900000000000001}
GM12878_4f2m_prob_logistic = {'C': 0.9000000000000001}
GM12878_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 400}
GM12878_4f2m_prob_deepforest = {'max_layers': 20, 'n_estimators': 10, 'n_trees': 200}
GM12878_6f5m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 331, 'max_bin': 55, 'min_child_samples': 200,
'colsample_bytree': 0.7, 'subsample': 0.8, 'subsample_freq': 30, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1,
'n_estimators': 50}
GM12878_4f2m_prob_lightgbm = {'max_depth': 11, 'num_leaves': 311, 'max_bin': 85, 'min_child_samples': 150,
'colsample_bytree': 0.8, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1,
'n_estimators': 75}
GM12878_6f5m_prob_rf = {'n_estimators': 250, 'max_depth': 50, 'min_samples_leaf': 9, 'min_samples_split': 5,
'max_features': 'auto'}
GM12878_4f2m_prob_rf = {'n_estimators': 140, 'max_depth': 53, 'min_samples_leaf': 6, 'min_samples_split': 7,
'max_features': 'log2'}
GM12878_6f5m_prob_svm = {'C': 0.0625, 'gamma': 0.0625, 'kernel': 'rbf'}
GM12878_4f2m_prob_svm = {'C': 0.0625, 'gamma': 0.0625, 'kernel': 'rbf'}
GM12878_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0,
'learning_rate': 0.1}
GM12878_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 2, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 0.01,
'learning_rate': 0.05}
################# HeLa_S3 ######################
HeLa_S3_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 5e-06, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'relu', 'hidden_layer_sizes': 32}
HeLa_S3_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd',
'activation': 'relu', 'hidden_layer_sizes': (16, 32)}
HeLa_S3_6f5m_prob_logistic = {'C': 1.9000000000000004}
HeLa_S3_4f2m_prob_logistic = {'C': 0.5000000000000001}
HeLa_S3_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 10, 'n_trees': 400}
HeLa_S3_4f2m_prob_deepforest = {'max_layers': 15, 'n_estimators': 13, 'n_trees': 400}
HeLa_S3_6f5m_prob_lightgbm = {'max_depth': 5, 'num_leaves': 281, 'max_bin': 175, 'min_child_samples': 180,
'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 80, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2,
'n_estimators': 150}
HeLa_S3_4f2m_prob_lightgbm = {'max_depth': 3, 'num_leaves': 311, 'max_bin': 35, 'min_child_samples': 20,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 70, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 1.0,
'n_estimators': 125}
HeLa_S3_6f5m_prob_rf = {'n_estimators': 130, 'max_depth': 20, 'min_samples_leaf': 2, 'min_samples_split': 3,
'max_features': 'sqrt'}
HeLa_S3_4f2m_prob_rf = {'n_estimators': 210, 'max_depth': 117, 'min_samples_leaf': 2, 'min_samples_split': 5,
'max_features': 'auto'}
HeLa_S3_6f5m_prob_svm = {'C': 0.125, 'gamma': 0.0625, 'kernel': 'rbf'}
HeLa_S3_4f2m_prob_svm = {'C': 0.25, 'gamma': 0.0625, 'kernel': 'rbf'}
HeLa_S3_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.7, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.05,
'learning_rate': 0.1}
HeLa_S3_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.05,
'learning_rate': 0.1}
################# HUVEC ########################
HUVEC_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd',
'activation': 'relu', 'hidden_layer_sizes': 8}
HUVEC_4f2m_prob_mlp = {'batch_size': 128, 'learning_rate_init': 5e-06, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'tanh', 'hidden_layer_sizes': (8, 16)}
HUVEC_6f5m_prob_logistic = {'C': 2.900000000000001}
HUVEC_4f2m_prob_logistic = {'C': 0.9000000000000001}
HUVEC_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 250}
HUVEC_4f2m_prob_deepforest = {'max_layers': 15, 'n_estimators': 13, 'n_trees': 400}
HUVEC_6f5m_prob_lightgbm = {'max_depth': 0, 'num_leaves': 311, 'max_bin': 45, 'min_child_samples': 170,
'colsample_bytree': 0.7, 'subsample': 0.6, 'subsample_freq': 10, 'reg_alpha': 0.0,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1,
'n_estimators': 100}
HUVEC_4f2m_prob_lightgbm = {'max_depth': 0, 'num_leaves': 261, 'max_bin': 45, 'min_child_samples': 180,
'colsample_bytree': 0.9, 'subsample': 0.8, 'subsample_freq': 10, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 200}
HUVEC_6f5m_prob_rf = {'n_estimators': 290, 'max_depth': 105, 'min_samples_leaf': 5, 'min_samples_split': 2,
'max_features': 'log2'}
HUVEC_4f2m_prob_rf = {'n_estimators': 140, 'max_depth': 76, 'min_samples_leaf': 3, 'min_samples_split': 2,
'max_features': 'log2'}
HUVEC_6f5m_prob_svm = {'C': 0.125, 'gamma': 0.0625, 'kernel': 'rbf'}
HUVEC_4f2m_prob_svm = {'C': 1.0, 'gamma': 64.0, 'kernel': 'rbf'}
HUVEC_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0.01, 'reg_lambda': 0.02,
'learning_rate': 0.05}
HUVEC_4f2m_prob_xgboost = {'n_estimators': 50, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.02,
'learning_rate': 0.01}
################# IMR90 ########################
IMR90_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd',
'activation': 'identity', 'hidden_layer_sizes': (16, 32)}
IMR90_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 5e-06, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'tanh', 'hidden_layer_sizes': (8, 16)}
IMR90_6f5m_prob_logistic = {'C': 2.5000000000000004}
IMR90_4f2m_prob_logistic = {'C': 2.5000000000000004}
IMR90_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 8, 'n_trees': 300}
IMR90_4f2m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 200}
IMR90_6f5m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 341, 'max_bin': 85, 'min_child_samples': 70,
'colsample_bytree': 0.9, 'subsample': 1.0, 'subsample_freq': 40, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
IMR90_4f2m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 321, 'max_bin': 55, 'min_child_samples': 60,
'colsample_bytree': 0.7, 'subsample': 0.9, 'subsample_freq': 30, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 175}
IMR90_6f5m_prob_rf = {'n_estimators': 340, 'max_depth': 9, 'min_samples_leaf': 7, 'min_samples_split': 3,
'max_features': 'log2'}
IMR90_4f2m_prob_rf = {'n_estimators': 270, 'max_depth': 120, 'min_samples_leaf': 10, 'min_samples_split': 7,
'max_features': 'log2'}
IMR90_6f5m_prob_svm = {'C': 1.0, 'gamma': 32.0, 'kernel': 'rbf'}
IMR90_4f2m_prob_svm = {'C': 2.0, 'gamma': 32.0, 'kernel': 'rbf'}
IMR90_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.9, 'reg_alpha': 0, 'reg_lambda': 0,
'learning_rate': 0.05}
IMR90_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 3, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0.01,
'learning_rate': 0.07}
################# K562 #########################
K562_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd',
'activation': 'logistic', 'hidden_layer_sizes': (8, 16)}
K562_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'tanh', 'hidden_layer_sizes': 8}
K562_6f5m_prob_logistic = {'C': 2.900000000000001}
K562_4f2m_prob_logistic = {'C': 0.1}
K562_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 400}
K562_4f2m_prob_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 300}
K562_6f5m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 301, 'max_bin': 65, 'min_child_samples': 80,
'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 30, 'reg_alpha': 1e-05,
'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.07,
'n_estimators': 75}
K562_4f2m_prob_lightgbm = {'max_depth': 13, 'num_leaves': 281, 'max_bin': 25, 'min_child_samples': 80,
'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 60, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.75, 'n_estimators': 175}
K562_6f5m_prob_rf = {'n_estimators': 180, 'max_depth': 35, 'min_samples_leaf': 7, 'min_samples_split': 5,
'max_features': 'log2'}
K562_4f2m_prob_rf = {'n_estimators': 80, 'max_depth': 130, 'min_samples_leaf': 6, 'min_samples_split': 5,
'max_features': 'log2'}
K562_6f5m_prob_svm = {'C': 0.5, 'gamma': 0.0625, 'kernel': 'rbf'}
K562_4f2m_prob_svm = {'C': 1.0, 'gamma': 0.0625, 'kernel': 'rbf'}
K562_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 6, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0.01,
'learning_rate': 0.1}
K562_4f2m_prob_xgboost = {'n_estimators': 50, 'max_depth': 3, 'min_child_weight': 3, 'gamma': 0,
'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 0.01,
'learning_rate': 0.01}
################# NHEK #########################
NHEK_6f5m_prob_mlp = {'batch_size': 128, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs',
'activation': 'identity', 'hidden_layer_sizes': 32}
NHEK_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd',
'activation': 'relu', 'hidden_layer_sizes': (16, 32)}
NHEK_6f5m_prob_logistic = {'C': 0.9000000000000001}
NHEK_4f2m_prob_logistic = {'C': 0.1}
NHEK_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 50}
NHEK_4f2m_prob_deepforest = {'max_layers': 20, 'n_estimators': 10, 'n_trees': 50}
NHEK_6f5m_prob_lightgbm = {'max_depth': 0, 'num_leaves': 291, 'max_bin': 45, 'min_child_samples': 140,
'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 70, 'reg_alpha': 1.0,
'reg_lambda': 0.7, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
NHEK_4f2m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 331, 'max_bin': 35, 'min_child_samples': 100,
'colsample_bytree': 0.8, 'subsample': 0.9, 'subsample_freq': 60, 'reg_alpha': 0.0,
'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.07, 'n_estimators': 100}
NHEK_6f5m_prob_rf = {'n_estimators': 70, 'max_depth': 106, 'min_samples_leaf': 10, 'min_samples_split': 9,
'max_features': 'log2'}
NHEK_4f2m_prob_rf = {'n_estimators': 130, 'max_depth': 9, 'min_samples_leaf': 7, 'min_samples_split': 4,
'max_features': 'sqrt'}
NHEK_6f5m_prob_svm = {'C': 0.0625, 'gamma': 0.0625, 'kernel': 'rbf'}
NHEK_4f2m_prob_svm = {'C': 2.0, 'gamma': 16.0, 'kernel': 'rbf'}
NHEK_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0,
'colsample_bytree': 0.9, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0,
'learning_rate': 0.07}
NHEK_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 2, 'gamma': 0.4,
'colsample_bytree': 0.6, 'subsample': 0.7, 'reg_alpha': 0.05, 'reg_lambda': 1,
'learning_rate': 1.0}
if __name__ == '_main_':
print(getattr(EPIconst.BaseModelParams, "NHEK_tpcp_deepforest"))
| class Epiconst:
class Featurename:
pseknc = 'pseknc'
cksnap = 'cksnap'
dpcp = 'dpcp'
eiip = 'eiip'
kmer = 'kmer'
tpcp = 'tpcp'
all = sorted([pseknc, cksnap, dpcp, eiip, kmer, tpcp])
class Cellname:
k562 = 'K562'
nhek = 'NHEK'
imr90 = 'IMR90'
he_la_s3 = 'HeLa-S3'
huvec = 'HUVEC'
gm12878 = 'GM12878'
all = sorted([GM12878, HeLa_S3, HUVEC, IMR90, K562, NHEK])
class Methodname:
ensemble = 'meta'
xgboost = 'xgboost'
svm = 'svm'
deepforest = 'deepforest'
lightgbm = 'lightgbm'
rf = 'rf'
all = sorted([lightgbm, rf, xgboost, svm, deepforest])
class Modelinitparams:
logistic = {'n_jobs': 13}
mlp = {}
deepforest = {'n_jobs': 13, 'use_predictor': False, 'random_state': 1, 'predictor': 'forest', 'verbose': 0}
lightgbm = {'n_jobs': 13, 'max_depth': -1, 'num_leaves': 31, 'min_child_samples': 20, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'objective': None, 'n_estimators': 100, 'learning_rate': 0.1, 'device': 'gpu', 'boosting_type': 'gbdt', 'class_weight': None, 'importance_type': 'split', 'min_child_weight': 0.001, 'random_state': None, 'subsample_for_bin': 200000, 'silent': True}
rf = {'n_jobs': 13, 'n_estimators': 100, 'max_depth': None, 'min_samples_split': 2, 'min_samples_leaf': 1, 'max_features': 'auto'}
svm = {'probability': True}
xgboost = {'learning_rate': 0.1, 'n_estimators': 500, 'max_depth': 5, 'min_child_weight': 1, 'seed': 0, 'subsample': 0.8, 'colsample_bytree': 0.8, 'gamma': 0, 'reg_alpha': 0, 'reg_lambda': 1, 'use_label_encoder': False, 'eval_metric': 'logloss', 'tree_method': 'gpu_hist'}
class Basemodelparams:
gm12878_cksnap_deepforest = {'max_layers': 20, 'n_estimators': 5, 'n_trees': 250}
gm12878_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 301, 'max_bin': 125, 'min_child_samples': 90, 'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
gm12878_cksnap_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
gm12878_cksnap_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 3, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0, 'learning_rate': 0.1}
gm12878_cksnap_rf = {'n_estimators': 340, 'max_depth': 114, 'min_samples_leaf': 3, 'min_samples_split': 2, 'max_features': 'sqrt'}
'----------------------------------------------'
gm12878_dpcp_deepforest = {'max_layers': 20, 'n_estimators': 2, 'n_trees': 300}
gm12878_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 331, 'max_bin': 135, 'min_child_samples': 190, 'colsample_bytree': 0.7, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 0.9, 'reg_lambda': 0.001, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
gm12878_dpcp_svm = {'C': 1.0, 'gamma': 64.0, 'kernel': 'rbf'}
gm12878_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 3, 'reg_lambda': 3, 'learning_rate': 0.1}
gm12878_dpcp_rf = {'n_estimators': 150, 'max_depth': 88, 'min_samples_leaf': 1, 'min_samples_split': 3, 'max_features': 'sqrt'}
'----------------------------------------------'
gm12878_eiip_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 300}
gm12878_eiip_lightgbm = {'max_depth': 12, 'num_leaves': 291, 'max_bin': 115, 'min_child_samples': 40, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
gm12878_eiip_rf = {'n_estimators': 280, 'max_depth': None, 'min_samples_leaf': 1, 'min_samples_split': 7, 'max_features': 'sqrt'}
gm12878_eiip_svm = {'C': 1.0, 'gamma': 2048.0, 'kernel': 'rbf'}
gm12878_eiip_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 6, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
gm12878_kmer_deepforest = {'max_layers': 25, 'n_estimators': 5, 'n_trees': 400}
gm12878_kmer_lightgbm = {'max_depth': 12, 'num_leaves': 291, 'max_bin': 115, 'min_child_samples': 40, 'colsample_bytree': 1.0, 'subsample': 0.8, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
gm12878_kmer_rf = {'n_estimators': 170, 'max_depth': 41, 'min_samples_leaf': 3, 'min_samples_split': 2, 'max_features': 'sqrt'}
gm12878_kmer_svm = {'C': 2.0, 'gamma': 128.0, 'kernel': 'rbf'}
gm12878_kmer_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 6, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
gm12878_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 400}
gm12878_pseknc_lightgbm = {'max_depth': 11, 'num_leaves': 291, 'max_bin': 185, 'min_child_samples': 80, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 40, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
gm12878_pseknc_rf = {'n_estimators': 250, 'max_depth': 41, 'min_samples_leaf': 2, 'min_samples_split': 6, 'max_features': 'log2'}
gm12878_pseknc_svm = {'C': 0.5, 'gamma': 1024.0, 'kernel': 'rbf'}
gm12878_pseknc_xgboost = {'n_estimators': 950, 'max_depth': 6, 'min_child_weight': 1, 'gamma': 0.1, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0.01, 'learning_rate': 0.1}
'----------------------------------------------'
gm12878_tpcp_deepforest = {'max_layers': 15, 'n_estimators': 2, 'n_trees': 100}
gm12878_tpcp_lightgbm = {'max_depth': -1, 'num_leaves': 321, 'max_bin': 175, 'min_child_samples': 80, 'colsample_bytree': 0.9, 'subsample': 1.0, 'subsample_freq': 20, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
gm12878_tpcp_rf = {'n_estimators': 250, 'max_depth': 89, 'min_samples_leaf': 2, 'min_samples_split': 9, 'max_features': 'log2'}
gm12878_tpcp_svm = {'C': 16.0, 'gamma': 64.0, 'kernel': 'rbf'}
gm12878_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 6, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'=============================================='
he_la_s3_cksnap_deepforest = {'max_layers': 20, 'n_estimators': 2, 'n_trees': 300}
he_la_s3_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 341, 'max_bin': 105, 'min_child_samples': 80, 'colsample_bytree': 0.9, 'subsample': 0.9, 'subsample_freq': 40, 'reg_alpha': 0.1, 'reg_lambda': 0.1, 'min_split_gain': 0.4, 'learning_rate': 0.1, 'n_estimators': 150}
he_la_s3_cksnap_svm = {'C': 128.0, 'gamma': 128.0, 'kernel': 'rbf'}
he_la_s3_cksnap_rf = {'n_estimators': 340, 'max_depth': 44, 'min_samples_leaf': 1, 'min_samples_split': 5, 'max_features': 'sqrt'}
he_la_s3_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 4, 'gamma': 0, 'colsample_bytree': 0.7, 'subsample': 0.7, 'reg_alpha': 3, 'reg_lambda': 0.5, 'learning_rate': 0.1}
'----------------------------------------------'
he_la_s3_dpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 400}
he_la_s3_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 221, 'max_bin': 155, 'min_child_samples': 180, 'colsample_bytree': 0.7, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 1e-05, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 200}
he_la_s3_dpcp_rf = {'n_estimators': 70, 'max_depth': 32, 'min_samples_leaf': 1, 'min_samples_split': 8, 'max_features': 'sqrt'}
he_la_s3_dpcp_svm = {'C': 2.0, 'gamma': 64.0, 'kernel': 'rbf'}
he_la_s3_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 3, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
he_la_s3_eiip_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 200}
he_la_s3_eiip_lightgbm = {'max_depth': -1, 'num_leaves': 281, 'max_bin': 5, 'min_child_samples': 110, 'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 100}
he_la_s3_eiip_rf = {'n_estimators': 180, 'max_depth': 138, 'min_samples_leaf': 6, 'min_samples_split': 10, 'max_features': 'sqrt'}
he_la_s3_eiip_svm = {'C': 2.0, 'gamma': 1024.0, 'kernel': 'rbf'}
he_la_s3_eiip_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 3, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
he_la_s3_kmer_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 200}
he_la_s3_kmer_lightgbm = {'max_depth': -1, 'num_leaves': 281, 'max_bin': 165, 'min_child_samples': 90, 'colsample_bytree': 0.7, 'subsample': 0.9, 'subsample_freq': 70, 'reg_alpha': 0.001, 'reg_lambda': 0.001, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 125}
he_la_s3_kmer_rf = {'n_estimators': 240, 'max_depth': 77, 'min_samples_leaf': 2, 'min_samples_split': 2, 'max_features': 'sqrt'}
he_la_s3_kmer_svm = {'C': 8.0, 'gamma': 128.0, 'kernel': 'rbf'}
he_la_s3_kmer_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
he_la_s3_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 200}
he_la_s3_pseknc_lightgbm = {'max_depth': 12, 'num_leaves': 261, 'max_bin': 25, 'min_child_samples': 90, 'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
he_la_s3_pseknc_rf = {'n_estimators': 330, 'max_depth': 118, 'min_samples_leaf': 1, 'min_samples_split': 8, 'max_features': 'log2'}
he_la_s3_pseknc_svm = {'C': 1.0, 'gamma': 256.0, 'kernel': 'rbf'}
he_la_s3_pseknc_xgboost = {'n_estimators': 750, 'max_depth': 8, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0.1, 'reg_lambda': 2, 'learning_rate': 0.1}
'----------------------------------------------'
he_la_s3_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 250}
he_la_s3_tpcp_lightgbm = {'max_depth': 0, 'num_leaves': 341, 'max_bin': 45, 'min_child_samples': 10, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 1e-05, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 250}
he_la_s3_tpcp_rf = {'n_estimators': 320, 'max_depth': 99, 'min_samples_leaf': 1, 'min_samples_split': 10, 'max_features': 'sqrt'}
he_la_s3_tpcp_svm = {'C': 4.0, 'gamma': 32.0, 'kernel': 'rbf'}
he_la_s3_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 7, 'min_child_weight': 4, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'=============================================='
huvec_cksnap_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 200}
huvec_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 271, 'max_bin': 45, 'min_child_samples': 10, 'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 0.5, 'reg_lambda': 0.5, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 175}
huvec_cksnap_rf = {'n_estimators': 270, 'max_depth': 38, 'min_samples_leaf': 2, 'min_samples_split': 2, 'max_features': 'auto'}
huvec_cksnap_svm = {'C': 8.0, 'gamma': 64.0, 'kernel': 'rbf'}
huvec_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.7, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
huvec_dpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 400}
huvec_dpcp_lightgbm = {'max_depth': -1, 'num_leaves': 301, 'max_bin': 245, 'min_child_samples': 30, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 0.5, 'reg_lambda': 0.3, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
huvec_dpcp_rf = {'n_estimators': 300, 'max_depth': 61, 'min_samples_leaf': 2, 'min_samples_split': 3, 'max_features': 'log2'}
huvec_dpcp_svm = {'C': 4.0, 'gamma': 16.0, 'kernel': 'rbf'}
huvec_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 3, 'reg_lambda': 3, 'learning_rate': 0.1}
'----------------------------------------------'
huvec_eiip_deepforest = {'max_layers': 15, 'n_estimators': 2, 'n_trees': 300}
huvec_eiip_lightgbm = {'max_depth': -1, 'num_leaves': 281, 'max_bin': 25, 'min_child_samples': 80, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
huvec_eiip_rf = {'n_estimators': 310, 'max_depth': 28, 'min_samples_leaf': 1, 'min_samples_split': 2, 'max_features': 'sqrt'}
huvec_eiip_svm = {'C': 4.0, 'gamma': 512.0, 'kernel': 'rbf'}
huvec_eiip_xgboost = {'n_estimators': 600, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0, 'learning_rate': 0.1}
'----------------------------------------------'
huvec_kmer_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 300}
huvec_kmer_lightgbm = {'max_depth': 0, 'num_leaves': 251, 'max_bin': 5, 'min_child_samples': 170, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 70, 'reg_alpha': 0.5, 'reg_lambda': 0.7, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 125}
huvec_kmer_rf = {'n_estimators': 230, 'max_depth': 59, 'min_samples_leaf': 1, 'min_samples_split': 4, 'max_features': 'auto'}
huvec_kmer_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
huvec_kmer_xgboost = {'n_estimators': 600, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0, 'learning_rate': 0.1}
'----------------------------------------------'
huvec_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 400}
huvec_pseknc_lightgbm = {'max_depth': -1, 'num_leaves': 311, 'max_bin': 115, 'min_child_samples': 190, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 70, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 175}
huvec_pseknc_rf = {'n_estimators': 310, 'max_depth': 42, 'min_samples_leaf': 2, 'min_samples_split': 7, 'max_features': 'sqrt'}
huvec_pseknc_svm = {'C': 1.0, 'gamma': 256.0, 'kernel': 'rbf'}
huvec_pseknc_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
huvec_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 150}
huvec_tpcp_lightgbm = {'max_depth': 0, 'num_leaves': 251, 'max_bin': 35, 'min_child_samples': 190, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
huvec_tpcp_rf = {'n_estimators': 330, 'max_depth': 121, 'min_samples_leaf': 2, 'min_samples_split': 5, 'max_features': 'sqrt'}
huvec_tpcp_svm = {'C': 2.0, 'gamma': 32.0, 'kernel': 'rbf'}
huvec_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.9, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'=============================================='
imr90_cksnap_deepforest = {'max_layers': 20, 'n_estimators': 2, 'n_trees': 250}
imr90_cksnap_lightgbm = {'max_depth': 0, 'num_leaves': 271, 'max_bin': 95, 'min_child_samples': 60, 'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.3, 'learning_rate': 0.1, 'n_estimators': 225}
imr90_cksnap_rf = {'n_estimators': 280, 'max_depth': 124, 'min_samples_leaf': 1, 'min_samples_split': 2, 'max_features': 'auto'}
imr90_cksnap_svm = {'C': 16.0, 'gamma': 16.0, 'kernel': 'rbf'}
imr90_cksnap_xgboost = {'n_estimators': 900, 'max_depth': 10, 'min_child_weight': 2, 'gamma': 0.4, 'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0.5, 'reg_lambda': 0.1, 'learning_rate': 0.1}
'----------------------------------------------'
imr90_dpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 200}
imr90_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 281, 'max_bin': 115, 'min_child_samples': 20, 'colsample_bytree': 0.7, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.5, 'learning_rate': 0.1, 'n_estimators': 125}
imr90_dpcp_rf = {'n_estimators': 70, 'max_depth': 116, 'min_samples_leaf': 1, 'min_samples_split': 9, 'max_features': 'log2'}
imr90_dpcp_svm = {'C': 1.0, 'gamma': 32.0, 'kernel': 'rbf'}
imr90_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.6, 'reg_alpha': 0.05, 'reg_lambda': 0.1, 'learning_rate': 0.1}
'----------------------------------------------'
imr90_eiip_deepforest = {'max_layers': 15, 'n_estimators': 2, 'n_trees': 350}
imr90_eiip_lightgbm = {'max_depth': 13, 'num_leaves': 331, 'max_bin': 55, 'min_child_samples': 50, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 80, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.4, 'learning_rate': 0.2, 'n_estimators': 200}
imr90_eiip_rf = {'n_estimators': 240, 'max_depth': 78, 'min_samples_leaf': 1, 'min_samples_split': 2, 'max_features': 'auto'}
imr90_eiip_svm = {'C': 4.0, 'gamma': 512.0, 'kernel': 'rbf'}
imr90_eiip_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
imr90_kmer_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 250}
imr90_kmer_lightgbm = {'max_depth': 0, 'num_leaves': 271, 'max_bin': 175, 'min_child_samples': 120, 'colsample_bytree': 0.8, 'subsample': 1.0, 'subsample_freq': 30, 'reg_alpha': 0.7, 'reg_lambda': 0.9, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
imr90_kmer_rf = {'n_estimators': 280, 'max_depth': 79, 'min_samples_leaf': 2, 'min_samples_split': 3, 'max_features': 'auto'}
imr90_kmer_svm = {'C': 2.0, 'gamma': 64.0, 'kernel': 'rbf'}
imr90_kmer_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 2, 'gamma': 0.2, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
imr90_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 300}
imr90_pseknc_lightgbm = {'max_depth': -1, 'num_leaves': 291, 'max_bin': 15, 'min_child_samples': 50, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
imr90_pseknc_rf = {'n_estimators': 240, 'max_depth': 96, 'min_samples_leaf': 3, 'min_samples_split': 4, 'max_features': 'auto'}
imr90_pseknc_svm = {'C': 4.0, 'gamma': 1024.0, 'kernel': 'rbf'}
imr90_pseknc_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0.2, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
imr90_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 300}
imr90_tpcp_lightgbm = {'max_depth': -1, 'num_leaves': 291, 'max_bin': 35, 'min_child_samples': 60, 'colsample_bytree': 0.6, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 0.5, 'min_split_gain': 0.1, 'learning_rate': 0.1, 'n_estimators': 100}
imr90_tpcp_rf = {'n_estimators': 290, 'max_depth': 71, 'min_samples_leaf': 5, 'min_samples_split': 4, 'max_features': 'auto'}
imr90_tpcp_svm = {'C': 1.0, 'gamma': 512.0, 'kernel': 'rbf'}
imr90_tpcp_xgboost = {'n_estimators': 950, 'max_depth': 7, 'min_child_weight': 5, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.5, 'learning_rate': 0.1}
'=============================================='
k562_cksnap_deepforest = {'max_layers': 20, 'n_estimators': 2, 'n_trees': 400}
k562_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 311, 'max_bin': 225, 'min_child_samples': 60, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 250}
k562_cksnap_rf = {'n_estimators': 330, 'max_depth': 109, 'min_samples_leaf': 2, 'min_samples_split': 3, 'max_features': 'sqrt'}
k562_cksnap_svm = {'C': 16.0, 'gamma': 32.0, 'kernel': 'rbf'}
k562_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 10, 'min_child_weight': 6, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 2, 'reg_lambda': 0.05, 'learning_rate': 0.1}
'----------------------------------------------'
k562_dpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 150}
k562_dpcp_lightgbm = {'colsample_bytree': 0.7, 'subsample': 0.7, 'subsample_freq': 80, 'reg_alpha': 1e-05, 'reg_lambda': 0.001, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 225}
k562_dpcp_rf = {'n_estimators': 240, 'max_depth': 127, 'min_samples_leaf': 1, 'min_samples_split': 6, 'max_features': 'sqrt'}
k562_dpcp_svm = {'C': 1.0, 'gamma': 64.0, 'kernel': 'rbf'}
k562_dpcp_xgboost = {'n_estimators': 950, 'max_depth': 10, 'min_child_weight': 4, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.05, 'learning_rate': 0.1}
'----------------------------------------------'
k562_eiip_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 150}
k562_eiip_lightgbm = {'max_depth': 0, 'num_leaves': 321, 'max_bin': 225, 'min_child_samples': 110, 'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.1, 'learning_rate': 0.1, 'n_estimators': 150}
k562_eiip_rf = {'n_estimators': 120, 'max_depth': 93, 'min_samples_leaf': 3, 'min_samples_split': 3, 'max_features': 'auto'}
k562_eiip_svm = {'C': 2.0, 'gamma': 1024.0, 'kernel': 'rbf'}
k562_eiip_xgboost = {'n_estimators': 650, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.6, 'reg_alpha': 0.5, 'reg_lambda': 0, 'learning_rate': 0.1}
'----------------------------------------------'
k562_kmer_deepforest = {'max_layers': 15, 'n_estimators': 5, 'n_trees': 150}
k562_kmer_lightgbm = {'max_depth': 0, 'num_leaves': 321, 'max_bin': 5, 'min_child_samples': 70, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
k562_kmer_rf = {'n_estimators': 290, 'max_depth': 137, 'min_samples_leaf': 10, 'min_samples_split': 7, 'max_features': 'auto'}
k562_kmer_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
k562_kmer_xgboost = {'n_estimators': 650, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.6, 'reg_alpha': 0.5, 'reg_lambda': 0, 'learning_rate': 0.1}
'----------------------------------------------'
k562_pseknc_deepforest = {'max_layers': 15, 'n_estimators': 2, 'n_trees': 300}
k562_pseknc_lightgbm = {'max_depth': -1, 'num_leaves': 241, 'max_bin': 65, 'min_child_samples': 200, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
k562_pseknc_rf = {'n_estimators': 250, 'max_depth': 50, 'min_samples_leaf': 1, 'min_samples_split': 6, 'max_features': 'log2'}
k562_pseknc_svm = {'C': 0.5, 'gamma': 512.0, 'kernel': 'rbf'}
k562_pseknc_xgboost = {'n_estimators': 1000, 'max_depth': 8, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.7, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.1, 'learning_rate': 0.1}
'----------------------------------------------'
k562_tpcp_deepforest = {'max_layers': 20, 'n_estimators': 2, 'n_trees': 300}
k562_tpcp_lightgbm = {'max_depth': -1, 'num_leaves': 241, 'max_bin': 105, 'min_child_samples': 130, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
k562_tpcp_rf = {'n_estimators': 280, 'max_depth': 143, 'min_samples_leaf': 5, 'min_samples_split': 2, 'max_features': 'sqrt'}
k562_tpcp_svm = {'C': 2.0, 'gamma': 64.0, 'kernel': 'rbf'}
k562_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 12, 'min_child_weight': 4, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 2, 'reg_lambda': 1, 'learning_rate': 0.1}
'=============================================='
nhek_cksnap_deepforest = {'max_layers': 20, 'n_estimators': 5, 'n_trees': 400}
nhek_cksnap_lightgbm = {'max_depth': -1, 'num_leaves': 291, 'max_bin': 205, 'min_child_samples': 90, 'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 75}
nhek_cksnap_rf = {'n_estimators': 300, 'max_depth': 76, 'min_samples_leaf': 3, 'min_samples_split': 3, 'max_features': 'auto'}
nhek_cksnap_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
nhek_cksnap_xgboost = {'n_estimators': 1000, 'max_depth': 5, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
nhek_dpcp_deepforest = {'max_layers': 10, 'n_estimators': 8, 'n_trees': 200}
nhek_dpcp_lightgbm = {'max_depth': 0, 'num_leaves': 301, 'max_bin': 145, 'min_child_samples': 70, 'colsample_bytree': 0.7, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 0.9, 'reg_lambda': 1.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 150}
nhek_dpcp_rf = {'n_estimators': 300, 'max_depth': 138, 'min_samples_leaf': 1, 'min_samples_split': 5, 'max_features': 'auto'}
nhek_dpcp_svm = {'C': 8.0, 'gamma': 16.0, 'kernel': 'rbf'}
nhek_dpcp_xgboost = {'n_estimators': 1000, 'max_depth': 9, 'min_child_weight': 3, 'gamma': 0.5, 'colsample_bytree': 0.7, 'subsample': 0.7, 'reg_alpha': 0, 'reg_lambda': 1, 'learning_rate': 0.1}
'----------------------------------------------'
nhek_eiip_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 100}
nhek_eiip_lightgbm = {'max_depth': 11, 'num_leaves': 231, 'max_bin': 255, 'min_child_samples': 70, 'colsample_bytree': 1.0, 'subsample': 0.6, 'subsample_freq': 0, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
nhek_eiip_rf = {'n_estimators': 230, 'max_depth': 56, 'min_samples_leaf': 2, 'min_samples_split': 6, 'max_features': 'log2'}
nhek_eiip_svm = {'C': 8.0, 'gamma': 512.0, 'kernel': 'rbf'}
nhek_eiip_xgboost = {'n_estimators': 850, 'max_depth': 9, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.1, 'learning_rate': 0.1}
'----------------------------------------------'
nhek_kmer_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 200}
nhek_kmer_lightgbm = {'max_depth': 13, 'num_leaves': 261, 'max_bin': 115, 'min_child_samples': 60, 'colsample_bytree': 0.9, 'subsample': 0.9, 'subsample_freq': 40, 'reg_alpha': 0.0, 'reg_lambda': 0.001, 'min_split_gain': 1.0, 'learning_rate': 0.1, 'n_estimators': 150}
nhek_kmer_rf = {'n_estimators': 60, 'max_depth': 117, 'min_samples_leaf': 3, 'min_samples_split': 3, 'max_features': 'auto'}
nhek_kmer_svm = {'C': 4.0, 'gamma': 64.0, 'kernel': 'rbf'}
nhek_kmer_xgboost = {'n_estimators': 850, 'max_depth': 9, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 1, 'reg_lambda': 0.1, 'learning_rate': 0.1}
'----------------------------------------------'
nhek_pseknc_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 150}
nhek_pseknc_lightgbm = {'max_depth': 12, 'num_leaves': 271, 'max_bin': 155, 'min_child_samples': 20, 'colsample_bytree': 0.9, 'subsample': 0.8, 'subsample_freq': 60, 'reg_alpha': 0.1, 'reg_lambda': 1e-05, 'min_split_gain': 0.7, 'learning_rate': 0.1, 'n_estimators': 75}
nhek_pseknc_rf = {'n_estimators': 190, 'max_depth': 85, 'min_samples_leaf': 1, 'min_samples_split': 10, 'max_features': 'auto'}
nhek_pseknc_svm = {'C': 0.5, 'gamma': 512.0, 'kernel': 'rbf'}
nhek_pseknc_xgboost = {'n_estimators': 950, 'max_depth': 6, 'min_child_weight': 3, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0.1, 'reg_lambda': 3, 'learning_rate': 0.1}
'----------------------------------------------'
nhek_tpcp_deepforest = {'max_layers': 10, 'n_estimators': 2, 'n_trees': 200}
nhek_tpcp_lightgbm = {'max_depth': 0, 'num_leaves': 241, 'max_bin': 15, 'min_child_samples': 90, 'colsample_bytree': 0.7, 'subsample': 0.8, 'subsample_freq': 40, 'reg_alpha': 0.001, 'reg_lambda': 0.001, 'min_split_gain': 0.2, 'learning_rate': 0.1, 'n_estimators': 100}
nhek_tpcp_rf = {'n_estimators': 120, 'max_depth': 115, 'min_samples_leaf': 1, 'min_samples_split': 4, 'max_features': 'auto'}
nhek_tpcp_svm = {'C': 1.0, 'gamma': 128.0, 'kernel': 'rbf'}
nhek_tpcp_xgboost = {'n_estimators': 1000, 'max_depth': 7, 'min_child_weight': 6, 'gamma': 0, 'colsample_bytree': 0.8, 'subsample': 0.8, 'reg_alpha': 0.01, 'reg_lambda': 0.01, 'learning_rate': 0.1}
class Metamodelparams:
gm12878_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'identity', 'hidden_layer_sizes': 32}
gm12878_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'identity', 'hidden_layer_sizes': 8}
gm12878_6f5m_prob_logistic = {'C': 2.900000000000001}
gm12878_4f2m_prob_logistic = {'C': 0.9000000000000001}
gm12878_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 400}
gm12878_4f2m_prob_deepforest = {'max_layers': 20, 'n_estimators': 10, 'n_trees': 200}
gm12878_6f5m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 331, 'max_bin': 55, 'min_child_samples': 200, 'colsample_bytree': 0.7, 'subsample': 0.8, 'subsample_freq': 30, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 50}
gm12878_4f2m_prob_lightgbm = {'max_depth': 11, 'num_leaves': 311, 'max_bin': 85, 'min_child_samples': 150, 'colsample_bytree': 0.8, 'subsample': 1.0, 'subsample_freq': 50, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 75}
gm12878_6f5m_prob_rf = {'n_estimators': 250, 'max_depth': 50, 'min_samples_leaf': 9, 'min_samples_split': 5, 'max_features': 'auto'}
gm12878_4f2m_prob_rf = {'n_estimators': 140, 'max_depth': 53, 'min_samples_leaf': 6, 'min_samples_split': 7, 'max_features': 'log2'}
gm12878_6f5m_prob_svm = {'C': 0.0625, 'gamma': 0.0625, 'kernel': 'rbf'}
gm12878_4f2m_prob_svm = {'C': 0.0625, 'gamma': 0.0625, 'kernel': 'rbf'}
gm12878_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0, 'learning_rate': 0.1}
gm12878_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 2, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 0.01, 'learning_rate': 0.05}
he_la_s3_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 5e-06, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'relu', 'hidden_layer_sizes': 32}
he_la_s3_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd', 'activation': 'relu', 'hidden_layer_sizes': (16, 32)}
he_la_s3_6f5m_prob_logistic = {'C': 1.9000000000000004}
he_la_s3_4f2m_prob_logistic = {'C': 0.5000000000000001}
he_la_s3_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 10, 'n_trees': 400}
he_la_s3_4f2m_prob_deepforest = {'max_layers': 15, 'n_estimators': 13, 'n_trees': 400}
he_la_s3_6f5m_prob_lightgbm = {'max_depth': 5, 'num_leaves': 281, 'max_bin': 175, 'min_child_samples': 180, 'colsample_bytree': 1.0, 'subsample': 0.7, 'subsample_freq': 80, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 150}
he_la_s3_4f2m_prob_lightgbm = {'max_depth': 3, 'num_leaves': 311, 'max_bin': 35, 'min_child_samples': 20, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 70, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 1.0, 'n_estimators': 125}
he_la_s3_6f5m_prob_rf = {'n_estimators': 130, 'max_depth': 20, 'min_samples_leaf': 2, 'min_samples_split': 3, 'max_features': 'sqrt'}
he_la_s3_4f2m_prob_rf = {'n_estimators': 210, 'max_depth': 117, 'min_samples_leaf': 2, 'min_samples_split': 5, 'max_features': 'auto'}
he_la_s3_6f5m_prob_svm = {'C': 0.125, 'gamma': 0.0625, 'kernel': 'rbf'}
he_la_s3_4f2m_prob_svm = {'C': 0.25, 'gamma': 0.0625, 'kernel': 'rbf'}
he_la_s3_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.7, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.05, 'learning_rate': 0.1}
he_la_s3_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.05, 'learning_rate': 0.1}
huvec_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd', 'activation': 'relu', 'hidden_layer_sizes': 8}
huvec_4f2m_prob_mlp = {'batch_size': 128, 'learning_rate_init': 5e-06, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'tanh', 'hidden_layer_sizes': (8, 16)}
huvec_6f5m_prob_logistic = {'C': 2.900000000000001}
huvec_4f2m_prob_logistic = {'C': 0.9000000000000001}
huvec_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 250}
huvec_4f2m_prob_deepforest = {'max_layers': 15, 'n_estimators': 13, 'n_trees': 400}
huvec_6f5m_prob_lightgbm = {'max_depth': 0, 'num_leaves': 311, 'max_bin': 45, 'min_child_samples': 170, 'colsample_bytree': 0.7, 'subsample': 0.6, 'subsample_freq': 10, 'reg_alpha': 0.0, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 100}
huvec_4f2m_prob_lightgbm = {'max_depth': 0, 'num_leaves': 261, 'max_bin': 45, 'min_child_samples': 180, 'colsample_bytree': 0.9, 'subsample': 0.8, 'subsample_freq': 10, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 200}
huvec_6f5m_prob_rf = {'n_estimators': 290, 'max_depth': 105, 'min_samples_leaf': 5, 'min_samples_split': 2, 'max_features': 'log2'}
huvec_4f2m_prob_rf = {'n_estimators': 140, 'max_depth': 76, 'min_samples_leaf': 3, 'min_samples_split': 2, 'max_features': 'log2'}
huvec_6f5m_prob_svm = {'C': 0.125, 'gamma': 0.0625, 'kernel': 'rbf'}
huvec_4f2m_prob_svm = {'C': 1.0, 'gamma': 64.0, 'kernel': 'rbf'}
huvec_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0.01, 'reg_lambda': 0.02, 'learning_rate': 0.05}
huvec_4f2m_prob_xgboost = {'n_estimators': 50, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0.05, 'reg_lambda': 0.02, 'learning_rate': 0.01}
imr90_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd', 'activation': 'identity', 'hidden_layer_sizes': (16, 32)}
imr90_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 5e-06, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'tanh', 'hidden_layer_sizes': (8, 16)}
imr90_6f5m_prob_logistic = {'C': 2.5000000000000004}
imr90_4f2m_prob_logistic = {'C': 2.5000000000000004}
imr90_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 8, 'n_trees': 300}
imr90_4f2m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 200}
imr90_6f5m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 341, 'max_bin': 85, 'min_child_samples': 70, 'colsample_bytree': 0.9, 'subsample': 1.0, 'subsample_freq': 40, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 250}
imr90_4f2m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 321, 'max_bin': 55, 'min_child_samples': 60, 'colsample_bytree': 0.7, 'subsample': 0.9, 'subsample_freq': 30, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.2, 'n_estimators': 175}
imr90_6f5m_prob_rf = {'n_estimators': 340, 'max_depth': 9, 'min_samples_leaf': 7, 'min_samples_split': 3, 'max_features': 'log2'}
imr90_4f2m_prob_rf = {'n_estimators': 270, 'max_depth': 120, 'min_samples_leaf': 10, 'min_samples_split': 7, 'max_features': 'log2'}
imr90_6f5m_prob_svm = {'C': 1.0, 'gamma': 32.0, 'kernel': 'rbf'}
imr90_4f2m_prob_svm = {'C': 2.0, 'gamma': 32.0, 'kernel': 'rbf'}
imr90_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.9, 'reg_alpha': 0, 'reg_lambda': 0, 'learning_rate': 0.05}
imr90_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 3, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0.01, 'learning_rate': 0.07}
k562_6f5m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd', 'activation': 'logistic', 'hidden_layer_sizes': (8, 16)}
k562_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'tanh', 'hidden_layer_sizes': 8}
k562_6f5m_prob_logistic = {'C': 2.900000000000001}
k562_4f2m_prob_logistic = {'C': 0.1}
k562_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 400}
k562_4f2m_prob_deepforest = {'max_layers': 10, 'n_estimators': 5, 'n_trees': 300}
k562_6f5m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 301, 'max_bin': 65, 'min_child_samples': 80, 'colsample_bytree': 1.0, 'subsample': 1.0, 'subsample_freq': 30, 'reg_alpha': 1e-05, 'reg_lambda': 1e-05, 'min_split_gain': 0.0, 'learning_rate': 0.07, 'n_estimators': 75}
k562_4f2m_prob_lightgbm = {'max_depth': 13, 'num_leaves': 281, 'max_bin': 25, 'min_child_samples': 80, 'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 60, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.75, 'n_estimators': 175}
k562_6f5m_prob_rf = {'n_estimators': 180, 'max_depth': 35, 'min_samples_leaf': 7, 'min_samples_split': 5, 'max_features': 'log2'}
k562_4f2m_prob_rf = {'n_estimators': 80, 'max_depth': 130, 'min_samples_leaf': 6, 'min_samples_split': 5, 'max_features': 'log2'}
k562_6f5m_prob_svm = {'C': 0.5, 'gamma': 0.0625, 'kernel': 'rbf'}
k562_4f2m_prob_svm = {'C': 1.0, 'gamma': 0.0625, 'kernel': 'rbf'}
k562_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 6, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0.01, 'learning_rate': 0.1}
k562_4f2m_prob_xgboost = {'n_estimators': 50, 'max_depth': 3, 'min_child_weight': 3, 'gamma': 0, 'colsample_bytree': 0.6, 'subsample': 0.6, 'reg_alpha': 0, 'reg_lambda': 0.01, 'learning_rate': 0.01}
nhek_6f5m_prob_mlp = {'batch_size': 128, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'lbfgs', 'activation': 'identity', 'hidden_layer_sizes': 32}
nhek_4f2m_prob_mlp = {'batch_size': 64, 'learning_rate_init': 0.0001, 'max_iter': 300, 'solver': 'sgd', 'activation': 'relu', 'hidden_layer_sizes': (16, 32)}
nhek_6f5m_prob_logistic = {'C': 0.9000000000000001}
nhek_4f2m_prob_logistic = {'C': 0.1}
nhek_6f5m_prob_deepforest = {'max_layers': 10, 'n_estimators': 13, 'n_trees': 50}
nhek_4f2m_prob_deepforest = {'max_layers': 20, 'n_estimators': 10, 'n_trees': 50}
nhek_6f5m_prob_lightgbm = {'max_depth': 0, 'num_leaves': 291, 'max_bin': 45, 'min_child_samples': 140, 'colsample_bytree': 1.0, 'subsample': 0.9, 'subsample_freq': 70, 'reg_alpha': 1.0, 'reg_lambda': 0.7, 'min_split_gain': 0.0, 'learning_rate': 0.1, 'n_estimators': 200}
nhek_4f2m_prob_lightgbm = {'max_depth': -1, 'num_leaves': 331, 'max_bin': 35, 'min_child_samples': 100, 'colsample_bytree': 0.8, 'subsample': 0.9, 'subsample_freq': 60, 'reg_alpha': 0.0, 'reg_lambda': 0.0, 'min_split_gain': 0.0, 'learning_rate': 0.07, 'n_estimators': 100}
nhek_6f5m_prob_rf = {'n_estimators': 70, 'max_depth': 106, 'min_samples_leaf': 10, 'min_samples_split': 9, 'max_features': 'log2'}
nhek_4f2m_prob_rf = {'n_estimators': 130, 'max_depth': 9, 'min_samples_leaf': 7, 'min_samples_split': 4, 'max_features': 'sqrt'}
nhek_6f5m_prob_svm = {'C': 0.0625, 'gamma': 0.0625, 'kernel': 'rbf'}
nhek_4f2m_prob_svm = {'C': 2.0, 'gamma': 16.0, 'kernel': 'rbf'}
nhek_6f5m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 1, 'gamma': 0, 'colsample_bytree': 0.9, 'subsample': 0.8, 'reg_alpha': 0, 'reg_lambda': 0, 'learning_rate': 0.07}
nhek_4f2m_prob_xgboost = {'n_estimators': 100, 'max_depth': 3, 'min_child_weight': 2, 'gamma': 0.4, 'colsample_bytree': 0.6, 'subsample': 0.7, 'reg_alpha': 0.05, 'reg_lambda': 1, 'learning_rate': 1.0}
if __name__ == '_main_':
print(getattr(EPIconst.BaseModelParams, 'NHEK_tpcp_deepforest')) |
# Functions can encapsulate functionality you want to reuse:
def even_odd(x):
if x % 2 == 0:
print("even")
else:
print("odd")
# reused
even_odd(2)
even_odd(4)
even_odd(7)
even_odd(22)
even_odd(8)
# output should be >>> even, even, odd, even, even
| def even_odd(x):
if x % 2 == 0:
print('even')
else:
print('odd')
even_odd(2)
even_odd(4)
even_odd(7)
even_odd(22)
even_odd(8) |
class Sensors:
def __init__(self, **kwargs):
self.sensor_data_dictionary = kwargs
def update(self, **kwargs):
self.sensor_data_dictionary = kwargs
def get_value(self, key):
return (self.sensor_data_dictionary.get(key))
| class Sensors:
def __init__(self, **kwargs):
self.sensor_data_dictionary = kwargs
def update(self, **kwargs):
self.sensor_data_dictionary = kwargs
def get_value(self, key):
return self.sensor_data_dictionary.get(key) |
# https://www.google.com/webhp?sourceid=chrome-
# instant&ion=1&espv=2&ie=UTF-8#q=dp%20coin%20change
def coin_change_recur(coins,n,change_sum):
# If sum is 0 there exists a solution with no coins
if change_sum == 0:
return 1
# if sum is less then 0 no solution exists
if change_sum < 0:
return 0
# if there is no coins left and sum is not 0 then no solution
# exists
if n <= 0 and change_sum > 0:
return 0
# counts the solution including the coins[n-1] and excluding the coins[n-1]
return (coin_change_recur(coins,n-1,change_sum) +
coin_change_recur(coins,n,change_sum - coins[n-1]))
# To hold the results that has been already computed
memo_dict = {}
def coin_change_memo(coins,n,change_sum):
# Check if we have already computed for the current change_sum
if change_sum in memo_dict:
return memo_dict[change_sum]
# If sum is 0 there exists a solution with no coins
if change_sum == 0:
return 1
# if sum is less then 0 no solution exists
if change_sum < 0:
return 0
# if thhere are no coins left and sum is not 0 then no solution exists
if n <= 0 and change_sum > 0:
return 0
# count the solution inclusding coins[n-1] and excluding coins[n-1]
count = (coin_change_memo(coins,n-1,change_sum) +
coin_change_memo(coins,n,change_sum - coins[n-1]))
#memo_dict[change_sum] = count
return count
def coin_change_bottom_up(coins,change_sum):
coins_len = len(coins)
T = [[0] * (coins_len) for i in range(change_sum + 1)]
# Initialize the base case : getting sum 0
for i in range(coins_len):
T[0][i] = 1
for i in range(1, change_sum + 1):
for j in range(coins_len):
# Solutions including coins[j]
x = T[i - coins[j]][j] if i >= coins[j] else 0
# Solutions excluding coins[j]
y = T[i][j-1] if j >= 1 else 0
# total count
T[i][j] = x + y
return T[change_sum][coins_len - 1]
if __name__ == "__main__":
coins = [1,2,3]
print("Number of ways to make change: ", coin_change_recur(coins,len(coins),4))
print("Number of ways to make change: ", coin_change_memo(coins,len(coins),4))
print("Number of ways to make change: ", coin_change_bottom_up(coins,4))
| def coin_change_recur(coins, n, change_sum):
if change_sum == 0:
return 1
if change_sum < 0:
return 0
if n <= 0 and change_sum > 0:
return 0
return coin_change_recur(coins, n - 1, change_sum) + coin_change_recur(coins, n, change_sum - coins[n - 1])
memo_dict = {}
def coin_change_memo(coins, n, change_sum):
if change_sum in memo_dict:
return memo_dict[change_sum]
if change_sum == 0:
return 1
if change_sum < 0:
return 0
if n <= 0 and change_sum > 0:
return 0
count = coin_change_memo(coins, n - 1, change_sum) + coin_change_memo(coins, n, change_sum - coins[n - 1])
return count
def coin_change_bottom_up(coins, change_sum):
coins_len = len(coins)
t = [[0] * coins_len for i in range(change_sum + 1)]
for i in range(coins_len):
T[0][i] = 1
for i in range(1, change_sum + 1):
for j in range(coins_len):
x = T[i - coins[j]][j] if i >= coins[j] else 0
y = T[i][j - 1] if j >= 1 else 0
T[i][j] = x + y
return T[change_sum][coins_len - 1]
if __name__ == '__main__':
coins = [1, 2, 3]
print('Number of ways to make change: ', coin_change_recur(coins, len(coins), 4))
print('Number of ways to make change: ', coin_change_memo(coins, len(coins), 4))
print('Number of ways to make change: ', coin_change_bottom_up(coins, 4)) |
def calc_fuel(mass: int):
return max(mass // 3 - 2, 0)
def calc_fuel_rec(mass: int):
fuel = calc_fuel(mass)
if fuel == 0:
return fuel
else:
return fuel + calc_fuel_rec(fuel)
| def calc_fuel(mass: int):
return max(mass // 3 - 2, 0)
def calc_fuel_rec(mass: int):
fuel = calc_fuel(mass)
if fuel == 0:
return fuel
else:
return fuel + calc_fuel_rec(fuel) |
class Cls:
x = "a"
d = {"a": "ab"}
cl = Cls()
cl.x = "b"
d[cl.x]
| class Cls:
x = 'a'
d = {'a': 'ab'}
cl = cls()
cl.x = 'b'
d[cl.x] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.