content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
def find_num_1(response_list):
responses = []
for r in response_list:
responses.extend([i for i in r])
responses = list(set(responses))
return len(responses)
def find_num_2(response_list):
if len(response_list) == 0:
return 0
responses = set(response_list[0])
if len(response_list) == 1:
print(str(list(responses)) + "\t" + str(len(responses)))
return len(list(responses))
responses = list(responses.intersection(*response_list[1:]))
print(str(responses) + "\t" + str(len(responses)))
return len(responses)
def parse_file(input_file):
responses = []
family = []
for r in input_file:
if not r.strip():
responses.append(family)
family = []
else:
family.append(r)
responses.append(family)
return responses
file = "input_day6.txt"
with open(file, "r") as input:
input_file = input.read().splitlines()
parsed_input_file = parse_file(input_file)
num_1 = 0
num_2 = 0
for family in parsed_input_file:
num_1 += find_num_1(family)
num_2 += find_num_2(family)
print("Number of exceptions, pt1:\t"+str(num_1))
print("Number of exceptions, pt2:\t"+str(num_2))
| def find_num_1(response_list):
responses = []
for r in response_list:
responses.extend([i for i in r])
responses = list(set(responses))
return len(responses)
def find_num_2(response_list):
if len(response_list) == 0:
return 0
responses = set(response_list[0])
if len(response_list) == 1:
print(str(list(responses)) + '\t' + str(len(responses)))
return len(list(responses))
responses = list(responses.intersection(*response_list[1:]))
print(str(responses) + '\t' + str(len(responses)))
return len(responses)
def parse_file(input_file):
responses = []
family = []
for r in input_file:
if not r.strip():
responses.append(family)
family = []
else:
family.append(r)
responses.append(family)
return responses
file = 'input_day6.txt'
with open(file, 'r') as input:
input_file = input.read().splitlines()
parsed_input_file = parse_file(input_file)
num_1 = 0
num_2 = 0
for family in parsed_input_file:
num_1 += find_num_1(family)
num_2 += find_num_2(family)
print('Number of exceptions, pt1:\t' + str(num_1))
print('Number of exceptions, pt2:\t' + str(num_2)) |
LOWER_PRIORITY = 100
LOW_PRIORITY = 75
DEFAULT_PRIORITY = 50
HIGH_PRIORITY = 25
HIGHEST_PRIORITY = 0
| lower_priority = 100
low_priority = 75
default_priority = 50
high_priority = 25
highest_priority = 0 |
class Config(object):
data = './'
activation='Relu'#Swish,Relu,Mish,Selu
init = "kaiming"#kaiming
save = './checkpoints'#save best model dir
arch = 'resnet'
depth = 50 #resnet-50
gpu_id = '0,1' #gpu id
train_data = '/home/daixiangzi/dataset/cifar-10/files/train.txt'# train file
test_data = '/home/daixiangzi/dataset/cifar-10/files/test.txt'# test file
train_batch=512
test_batch=512
epochs= 150
lr = 0.1#0.003
gamma =0.1#'LR is multiplied by gamma on schedule.
drop = 0
momentum = 0.9
fre_print=2
weight_decay = 1e-4
schedule = [60,100,125]
seed = 666
workers=4
num_classes=10 #classes
resume = None #path to latest checkpoint
#label_smoothing
label_smooth = False
esp = 0.1
# warmming_up
warmming_up = False
decay_epoch=1000
#mix up
mix_up= True
alpha = 0.5#0.1
# Cutout
cutout = False #set cutout flag
cutout_n = 5
cutout_len = 5
evaluate=False #wether to test
start_epoch = 0
optim = "SGD" #SGD,Adam,RAdam,AdamW
#lookahead
lookahead = False
la_steps=5
la_alpha=0.5
logs = './logs/'+arch+str(depth)+optim+str(lr)+("_lookahead" if lookahead else "")+"_"+activation+"_"+init+("_cutout" if cutout else "")+("_mix_up"+str(alpha) if mix_up else "")+("_warmup"+str(decay_epoch) if warmming_up else "")+str('_label_smooth'+str(esp) if label_smooth else "")
| class Config(object):
data = './'
activation = 'Relu'
init = 'kaiming'
save = './checkpoints'
arch = 'resnet'
depth = 50
gpu_id = '0,1'
train_data = '/home/daixiangzi/dataset/cifar-10/files/train.txt'
test_data = '/home/daixiangzi/dataset/cifar-10/files/test.txt'
train_batch = 512
test_batch = 512
epochs = 150
lr = 0.1
gamma = 0.1
drop = 0
momentum = 0.9
fre_print = 2
weight_decay = 0.0001
schedule = [60, 100, 125]
seed = 666
workers = 4
num_classes = 10
resume = None
label_smooth = False
esp = 0.1
warmming_up = False
decay_epoch = 1000
mix_up = True
alpha = 0.5
cutout = False
cutout_n = 5
cutout_len = 5
evaluate = False
start_epoch = 0
optim = 'SGD'
lookahead = False
la_steps = 5
la_alpha = 0.5
logs = './logs/' + arch + str(depth) + optim + str(lr) + ('_lookahead' if lookahead else '') + '_' + activation + '_' + init + ('_cutout' if cutout else '') + ('_mix_up' + str(alpha) if mix_up else '') + ('_warmup' + str(decay_epoch) if warmming_up else '') + str('_label_smooth' + str(esp) if label_smooth else '') |
# Make an xor function
# Truth table
# | left | right | Result |
# |-------|-------|--------|
# | True | True | False |
# | True | False | True |
# | False | True | True |
# | False | False | False |
# def xor(left, right):
# return left != right
xor = lambda left, right: left != right
print(xor(True, True)) # > False
print(xor(True, False)) # > True
print(xor(False, True)) # > True
print(xor(False, False)) # > False
def print_powers_of(base, exp=1):
i = 1
while i <= exp:
print(base ** i)
i += 1
# We are not hoisting the function declaration, we need to invoke after declared
print_powers_of(15)
print_powers_of(exp=6, base=7)
print_powers_of(2, 5)
print_powers_of(3, 5)
print_powers_of(10, 5)
if True:
x = 10
print(x)
print(i)
| xor = lambda left, right: left != right
print(xor(True, True))
print(xor(True, False))
print(xor(False, True))
print(xor(False, False))
def print_powers_of(base, exp=1):
i = 1
while i <= exp:
print(base ** i)
i += 1
print_powers_of(15)
print_powers_of(exp=6, base=7)
print_powers_of(2, 5)
print_powers_of(3, 5)
print_powers_of(10, 5)
if True:
x = 10
print(x)
print(i) |
class Users:
'''
Class that generates new instances of users
'''
users_list = []
def save_users(self):
'''
This method will save all users to the user list
'''
Users.users_list.append(self)
def __init__ (self,user_name,first_name,last_name,birth_month,password):
'''
This is a blueprint that every user instance must conform to
'''
self.user_name = user_name
self.first_name = first_name
self.last_name = last_name
self.birth_month = birth_month
self.password = password
@classmethod
def find_user_byPassword(cls,password):
'''
This method will take in a password and check if the password exists to find the user
'''
for user in cls.users_list:
if user.password == password:
return user
@classmethod
def user_registered(cls,user_name,password):
'''
Method that checks if a user exists in the user list.Will help in authentication
'''
for user in cls.users_list:
if user.user_name == user_name and user.password == password:
return True
return False
| class Users:
"""
Class that generates new instances of users
"""
users_list = []
def save_users(self):
"""
This method will save all users to the user list
"""
Users.users_list.append(self)
def __init__(self, user_name, first_name, last_name, birth_month, password):
"""
This is a blueprint that every user instance must conform to
"""
self.user_name = user_name
self.first_name = first_name
self.last_name = last_name
self.birth_month = birth_month
self.password = password
@classmethod
def find_user_by_password(cls, password):
"""
This method will take in a password and check if the password exists to find the user
"""
for user in cls.users_list:
if user.password == password:
return user
@classmethod
def user_registered(cls, user_name, password):
"""
Method that checks if a user exists in the user list.Will help in authentication
"""
for user in cls.users_list:
if user.user_name == user_name and user.password == password:
return True
return False |
PREDEFINED_TORQUE_INPUTS = [
"$torque.environment.id",
"$torque.environment.virtual_network_id",
"$torque.environment.public_address",
"$torque.repos.current.current",
"$torque.repos.current.url",
"$torque.repos.current.token"
]
| predefined_torque_inputs = ['$torque.environment.id', '$torque.environment.virtual_network_id', '$torque.environment.public_address', '$torque.repos.current.current', '$torque.repos.current.url', '$torque.repos.current.token'] |
def iterate(days):
with open("inputs/day6.txt") as f:
input = [int(x) for x in f.readline().strip().split(",")]
fish = {}
for f in input:
fish[f] = fish.get(f, 0) + 1
for day in range(1, days+1):
new_fish = {}
for x in fish:
if x == 0:
new_fish[6] = new_fish.get(6,0) + fish[x]
new_fish[8] = fish[x]
else:
new_fish[x-1] = new_fish.get(x-1, 0) + fish[x]
fish = new_fish
fish_count = sum(fish.values())
return fish_count
print("part1:", iterate(80))
print("part2:", iterate(256))
| def iterate(days):
with open('inputs/day6.txt') as f:
input = [int(x) for x in f.readline().strip().split(',')]
fish = {}
for f in input:
fish[f] = fish.get(f, 0) + 1
for day in range(1, days + 1):
new_fish = {}
for x in fish:
if x == 0:
new_fish[6] = new_fish.get(6, 0) + fish[x]
new_fish[8] = fish[x]
else:
new_fish[x - 1] = new_fish.get(x - 1, 0) + fish[x]
fish = new_fish
fish_count = sum(fish.values())
return fish_count
print('part1:', iterate(80))
print('part2:', iterate(256)) |
rows, cols = [int(x) for x in input().split()]
line = input()
index = 0
matrix = []
for row in range(rows):
matrix.append([None]*cols)
for col in range(cols):
if row % 2 == 0:
matrix[row][col] = line[index]
else:
matrix[row][cols - 1 - col] = line[index]
index = (index +1 ) % len(line)
for el in matrix:
print(''.join(el)) | (rows, cols) = [int(x) for x in input().split()]
line = input()
index = 0
matrix = []
for row in range(rows):
matrix.append([None] * cols)
for col in range(cols):
if row % 2 == 0:
matrix[row][col] = line[index]
else:
matrix[row][cols - 1 - col] = line[index]
index = (index + 1) % len(line)
for el in matrix:
print(''.join(el)) |
class SplendaException(Exception):
def __init__(self, method_name, fake_class, spec_class):
self.fake_class = fake_class
self.spec_class = spec_class
self.method_name = method_name
def __str__(self):
spec_name = self.spec_class.__name__
fake_name = self.fake_class.__name__
return self.message.format(
fake_name=fake_name,
method_name=self.method_name,
spec_name=spec_name)
| class Splendaexception(Exception):
def __init__(self, method_name, fake_class, spec_class):
self.fake_class = fake_class
self.spec_class = spec_class
self.method_name = method_name
def __str__(self):
spec_name = self.spec_class.__name__
fake_name = self.fake_class.__name__
return self.message.format(fake_name=fake_name, method_name=self.method_name, spec_name=spec_name) |
def chooseformat():
print("1.) fnamelname")
print("2.) fname.lname")
print("3.) fname_lname")
print("4.) finitlname")
print("5.) finit.lname")
print("6.) finit_lname")
print("7.) fname")
input("Choose a format to begin with: ")
| def chooseformat():
print('1.) fnamelname')
print('2.) fname.lname')
print('3.) fname_lname')
print('4.) finitlname')
print('5.) finit.lname')
print('6.) finit_lname')
print('7.) fname')
input('Choose a format to begin with: ') |
info = {
"UNIT_NUMBERS": {
"nul": 0,
"nulste": 0,
"een": 1,
"eerste": 1,
"twee": 2,
"tweede": 2,
"derde": 3,
"drie": 3,
"vier": 4,
"vijf": 5,
"zes": 6,
"zeven": 7,
"acht": 8,
"negen": 9
},
"DIRECT_NUMBERS": {
"tien": 10,
"elf": 11,
"twaalf": 12,
"dertien": 13,
"veertien": 14,
"vijftien": 15,
"zestien": 16,
"zeventien": 17,
"achttien": 18,
"negentien": 19
},
"TENS": {},
"HUNDREDS": {},
"BIG_POWERS_OF_TEN": {
"miljoen": 1000000,
"miljard": 1000000000,
"biljoen": 1000000000000,
"biljard": 1000000000000000
},
"SKIP_TOKENS": [],
"USE_LONG_SCALE": True
}
| info = {'UNIT_NUMBERS': {'nul': 0, 'nulste': 0, 'een': 1, 'eerste': 1, 'twee': 2, 'tweede': 2, 'derde': 3, 'drie': 3, 'vier': 4, 'vijf': 5, 'zes': 6, 'zeven': 7, 'acht': 8, 'negen': 9}, 'DIRECT_NUMBERS': {'tien': 10, 'elf': 11, 'twaalf': 12, 'dertien': 13, 'veertien': 14, 'vijftien': 15, 'zestien': 16, 'zeventien': 17, 'achttien': 18, 'negentien': 19}, 'TENS': {}, 'HUNDREDS': {}, 'BIG_POWERS_OF_TEN': {'miljoen': 1000000, 'miljard': 1000000000, 'biljoen': 1000000000000, 'biljard': 1000000000000000}, 'SKIP_TOKENS': [], 'USE_LONG_SCALE': True} |
class Director(object):
def __init__(self, builder):
self._builder = builder
def build_computer(self):
self._builder.new_computer()
self._builder.get_case()
self._builder.build_mainboard()
self._builder.install_mainboard()
self._builder.install_hard_drive()
self._builder.install_video_card()
def get_computer(self):
return self._builder.get_computer()
| class Director(object):
def __init__(self, builder):
self._builder = builder
def build_computer(self):
self._builder.new_computer()
self._builder.get_case()
self._builder.build_mainboard()
self._builder.install_mainboard()
self._builder.install_hard_drive()
self._builder.install_video_card()
def get_computer(self):
return self._builder.get_computer() |
a=2
if a<0:
print("the number is negative")
if a>0:
print("the numner is positive") | a = 2
if a < 0:
print('the number is negative')
if a > 0:
print('the numner is positive') |
class Item():
def __init__(self, name, description):
# name and description
self.name = name
self.description = description
def __str__(self):
# print item's name and description
return f"{self.name}: {self.description}" | class Item:
def __init__(self, name, description):
self.name = name
self.description = description
def __str__(self):
return f'{self.name}: {self.description}' |
#####1. Write e Python program to create e set.
# e=set()
# print(type(e))
####################################################
####2. Write e Python program to iteration over sets.
# e={'e','b','c','t'}
# for i in e:
# print(i)
####################################################
###3. Write e Python program to add member(s) in e set.
# e={344,434,43,43,44}
# b={3124,4,34,34,3,43,43,4,4}
# e.union(b)
# y=e.update(b)
# e.add(True)
# print(e)
# print(y)
################################################################333
####4. Write e Python program to remove item(s) from e given set.
# e={222222,344,534534,455555,554534,3534,44}
# e.remove('sajv')
# e.discard(False)
# e.pop()
# print(e)
################################################################
#####5. Write e Python program to remove an item from e set if it is present in the set.
# e={222222,344,534534,455555,554534,3534,44}
# e.remove(44)
# e.pop()
# print(e)
################################################################
#####6. Write e Python program to create an intersection of sets.
# e={344,434,43,43,44,True}
# b={3124,4,34,34,3,43,43,4,4,True,False}
# print(b.intersection(e))
###############################################################
#####7. Write e Python program to create e union of sets.
# e={344,434,43,43,44,True}
# b={3124,4,34,34,3,43,43,4,4,True,False}
# x=e.union(b)
# print(x)
###############################################################
######8. Write e Python program to create set difference.
# e={344,434,43,43,44,True}
# b={3124,4,34,34,3,43,43,4,4,True,False}
# print(e.difference(b))
# print(b.difference(e))
###############################################################
####9. Write e Python program to create e symmetric difference.
# e={344,434,43,43,44,True,False}
# b={3124,4,34,34,3,43,43,4,4,True,False}
# print(e.symmetric_difference(b))
###############################################################
####10. Write e Python program to checv if e set is e subset of another set.
# e={344,434,43,43,44,True,False}
# b={3124,4,34,34,3,43,43,4,4,True,False}
# print(b.issubset(e))
###############################################################
####11. Write e Python program to create e shallow copy of sets.
# e={344,434,43,43,44,True,False}
# b=e.copy()
# print(b)
###############################################################
#####12. Write e Python program to remove all elements from e given set.
# e={344,434,43,43,44,True,False}
# print(e.clear())
###############################################################
#####13. Write e Python program to use of frozensets.
e=frozenset((358,434,53344,33442,423,42))
print(e)
###############################################################
######14. Write e Python program to find maximum and the minimum value in e set.
# e={358,434,53344,33442889,423,42,42,42}
# s=0
# for i in e:
# if i>s:
# s=i
# print(s)
###############################################################
####15. Write e Python program to find the length of e set
e={358,434,53344,33442889,423,42,42,42}
print(len(e))
###############################################################
######16. Write e Python program to checv if e given value is present in e set or not.
| e = frozenset((358, 434, 53344, 33442, 423, 42))
print(e)
e = {358, 434, 53344, 33442889, 423, 42, 42, 42}
print(len(e)) |
########
# Copyright (c) 2020 Cloudify Platform Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
DEPENDENCY_CREATOR = 'dependency_creator'
SOURCE_DEPLOYMENT = 'source_deployment'
TARGET_DEPLOYMENT = 'target_deployment'
TARGET_DEPLOYMENT_FUNC = 'target_deployment_func'
EXTERNAL_SOURCE = 'external_source'
EXTERNAL_TARGET = 'external_target'
def create_deployment_dependency(dependency_creator,
source_deployment=None,
target_deployment=None,
target_deployment_func=None,
external_source=None,
external_target=None):
dependency = {
DEPENDENCY_CREATOR: dependency_creator,
}
if source_deployment:
dependency[SOURCE_DEPLOYMENT] = source_deployment
if target_deployment:
dependency[TARGET_DEPLOYMENT] = target_deployment
if target_deployment_func:
dependency[TARGET_DEPLOYMENT_FUNC] = target_deployment_func
if external_source:
dependency[EXTERNAL_SOURCE] = external_source
if external_target:
dependency[EXTERNAL_TARGET] = external_target
return dependency
def dependency_creator_generator(connection_type, to_deployment):
return '{0}.{1}'.format(connection_type, to_deployment)
| dependency_creator = 'dependency_creator'
source_deployment = 'source_deployment'
target_deployment = 'target_deployment'
target_deployment_func = 'target_deployment_func'
external_source = 'external_source'
external_target = 'external_target'
def create_deployment_dependency(dependency_creator, source_deployment=None, target_deployment=None, target_deployment_func=None, external_source=None, external_target=None):
dependency = {DEPENDENCY_CREATOR: dependency_creator}
if source_deployment:
dependency[SOURCE_DEPLOYMENT] = source_deployment
if target_deployment:
dependency[TARGET_DEPLOYMENT] = target_deployment
if target_deployment_func:
dependency[TARGET_DEPLOYMENT_FUNC] = target_deployment_func
if external_source:
dependency[EXTERNAL_SOURCE] = external_source
if external_target:
dependency[EXTERNAL_TARGET] = external_target
return dependency
def dependency_creator_generator(connection_type, to_deployment):
return '{0}.{1}'.format(connection_type, to_deployment) |
class IRCUser(object):
def __init__(self, nick, ident, host, voice=False, op=False):
self.nick = nick
self.ident = ident
self.host = host
self.set_hostmask()
self.is_voice = voice
self.is_op = op
def set_hostmask(self):
self.hostmask = "%s@%s" % (self.ident, self.host)
@staticmethod
def from_userinfo(userinfo):
nick = ""
ident = ""
host = ""
parts = userinfo.split("!", 2)
nick = parts[0].lstrip(":")
if len(parts) > 1:
parts = parts[1].split("@", 2)
ident = parts[0]
if len(parts) > 1:
host = parts[1]
return IRCUser(nick, ident, host)
def to_userinfo(self):
return "%s!%s@%s" % (self.nick, self.ident, self.host)
def __str__(self):
flags = ""
if self.is_voice:
flags += "v"
if self.is_op:
flags += "o"
return "IRCUser: {{nick: \"{nick}\", ident: \"{ident}\", host: \"{host}\", flags: \"{flags}\"}}".format(
nick=self.nick,
ident=self.ident,
host=self.host,
flags=flags
)
| class Ircuser(object):
def __init__(self, nick, ident, host, voice=False, op=False):
self.nick = nick
self.ident = ident
self.host = host
self.set_hostmask()
self.is_voice = voice
self.is_op = op
def set_hostmask(self):
self.hostmask = '%s@%s' % (self.ident, self.host)
@staticmethod
def from_userinfo(userinfo):
nick = ''
ident = ''
host = ''
parts = userinfo.split('!', 2)
nick = parts[0].lstrip(':')
if len(parts) > 1:
parts = parts[1].split('@', 2)
ident = parts[0]
if len(parts) > 1:
host = parts[1]
return irc_user(nick, ident, host)
def to_userinfo(self):
return '%s!%s@%s' % (self.nick, self.ident, self.host)
def __str__(self):
flags = ''
if self.is_voice:
flags += 'v'
if self.is_op:
flags += 'o'
return 'IRCUser: {{nick: "{nick}", ident: "{ident}", host: "{host}", flags: "{flags}"}}'.format(nick=self.nick, ident=self.ident, host=self.host, flags=flags) |
## https://beginnersbook.com/2018/01/python-program-check-leap-year-or-not/
def is_leap_year(year):
year = int(year);
# Leap Year Check
if year % 4 == 0 and year % 100 != 0:
return True;
elif year % 100 == 0:
print(year, "is not a Leap Year")
return False;
elif year % 400 ==0:
return True;
else:
return False;
| def is_leap_year(year):
year = int(year)
if year % 4 == 0 and year % 100 != 0:
return True
elif year % 100 == 0:
print(year, 'is not a Leap Year')
return False
elif year % 400 == 0:
return True
else:
return False |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
###########################################
# (c) 2016-2020 Polyvios Pratikakis
# polyvios@ics.forth.gr
###########################################
#__all__ = ['utils']
''' empty '''
| """ empty """ |
class Solution:
def prisonAfterNDays(self, cells: List[int], N: int) -> List[int]:
def nextDay(cells):
mask = cells.copy()
for i in range(1, len(cells) - 1):
if mask[i-1] ^ mask[i+1] == 0:
cells[i] = 1
else:
cells[i] = 0
cells[0] = 0
cells[-1] = 0
return cells
day1 = tuple(nextDay(cells))
N -= 1
count = 0
while N > 0:
day = tuple(nextDay(cells))
N -= 1
count += 1
if day == day1:
N = N % count
return cells | class Solution:
def prison_after_n_days(self, cells: List[int], N: int) -> List[int]:
def next_day(cells):
mask = cells.copy()
for i in range(1, len(cells) - 1):
if mask[i - 1] ^ mask[i + 1] == 0:
cells[i] = 1
else:
cells[i] = 0
cells[0] = 0
cells[-1] = 0
return cells
day1 = tuple(next_day(cells))
n -= 1
count = 0
while N > 0:
day = tuple(next_day(cells))
n -= 1
count += 1
if day == day1:
n = N % count
return cells |
class Subject(object):
def regist(self, observer):
pass
def unregist(self, observer):
pass
def notify(self):
pass
class Observer(object):
def update(self):
pass
class MoniterObserver(Observer):
def __init__(self, name):
self.name = name
def update(self, data):
print("{} get data {}".format(self.name, data))
class CommandObserver(Observer):
def __init__(self, name):
self.name = name
def update(self, data):
print("{} get data {}".format(self.name, data))
class SubjectA(Subject):
def __init__(self):
self.observers = []
self.data = 5
def changeData(self, data):
self.data = data
def regist(self, observer):
self.observers.append(observer)
def unregist(self, observer):
self.observers.remove(observer)
def notify(self):
for observer in self.observers:
observer.update(self.data)
if __name__ == "__main__":
s = SubjectA()
m = MoniterObserver("moniter")
c = CommandObserver("command")
s.regist(m)
s.regist(c)
s.notify()
s.changeData(10)
s.notify()
| class Subject(object):
def regist(self, observer):
pass
def unregist(self, observer):
pass
def notify(self):
pass
class Observer(object):
def update(self):
pass
class Moniterobserver(Observer):
def __init__(self, name):
self.name = name
def update(self, data):
print('{} get data {}'.format(self.name, data))
class Commandobserver(Observer):
def __init__(self, name):
self.name = name
def update(self, data):
print('{} get data {}'.format(self.name, data))
class Subjecta(Subject):
def __init__(self):
self.observers = []
self.data = 5
def change_data(self, data):
self.data = data
def regist(self, observer):
self.observers.append(observer)
def unregist(self, observer):
self.observers.remove(observer)
def notify(self):
for observer in self.observers:
observer.update(self.data)
if __name__ == '__main__':
s = subject_a()
m = moniter_observer('moniter')
c = command_observer('command')
s.regist(m)
s.regist(c)
s.notify()
s.changeData(10)
s.notify() |
class CQueue:
''' Custom-made circular queue, which is fixed sized.
The motivation here is to have
* O(1) complexity for peeking the center part of the data
In contrast, deque has O(n) complexity
* O(1) complexity to sample from the queue (e.g., sampling replays)
'''
def __init__(self, n):
''' Preallocate n slots for circular queue '''
self.n = n
self.q = [None] * n
# Data always pushed to the tail and popped from the head.
# Head points to the next location to pop.
# Tail points to the next location to push.
# if head == tail, then #size = 0
self.head = 0
self.tail = 0
self.sz = 0
def _inc(self, v):
v += 1
if v >= self.n: v = 0
return v
def _dec(self, v):
v -= 1
if v < 0: v = self.n - 1
return v
def _proj(self, v):
while v >= self.n:
v -= self.n
while v < 0:
v += self.n
return v
def push(self, m):
if self.sz == self.n: return False
self.sz += 1
self.q[self.tail] = m
self.tail = self._inc(self.tail)
return True
def pop(self):
if self.sz == 0: return
self.sz -= 1
m = self.q[self.head]
self.head = self._inc(self.head)
return m
def popn(self, T):
if self.sz < T: return
self.sz -= T
self.head = self._proj(self.head + T)
return True
def peekn_top(self, T):
if self.sz < T: return
return list(self.interval_pop(T))
def peek_pop(self, start=0):
if start >= self.sz: return
i = self._proj(self.head + start)
return self.q[i]
def interval_pop(self, region_len, start=0):
''' Return an iterator with region_len
The interval is self.head + [start, start+region_len)
'''
if self.sz < region_len - start:
raise IndexError
i = self._proj(self.head + start)
for j in range(region_len):
yield self.q[i]
i = self._inc(i)
def interval_pop_rev(self, region_len, end=-1):
''' Return a reverse iterator with region_len
The interval is self.head + [end + region_len, end) (in reverse order)
'''
if self.sz < end + region_len:
raise IndexError
i = self._proj(self.head + end + region_len)
for j in range(region_len):
yield self.q[i]
i = self._dec(i)
def sample(self, T=1):
''' Sample from the queue for off-policy methods
We want to sample T consecutive samples.
'''
start = random.randint(0, self.sz - T)
# Return an iterator
return self.interval_pop(T, start=start)
def __len__(self):
return self.sz
| class Cqueue:
""" Custom-made circular queue, which is fixed sized.
The motivation here is to have
* O(1) complexity for peeking the center part of the data
In contrast, deque has O(n) complexity
* O(1) complexity to sample from the queue (e.g., sampling replays)
"""
def __init__(self, n):
""" Preallocate n slots for circular queue """
self.n = n
self.q = [None] * n
self.head = 0
self.tail = 0
self.sz = 0
def _inc(self, v):
v += 1
if v >= self.n:
v = 0
return v
def _dec(self, v):
v -= 1
if v < 0:
v = self.n - 1
return v
def _proj(self, v):
while v >= self.n:
v -= self.n
while v < 0:
v += self.n
return v
def push(self, m):
if self.sz == self.n:
return False
self.sz += 1
self.q[self.tail] = m
self.tail = self._inc(self.tail)
return True
def pop(self):
if self.sz == 0:
return
self.sz -= 1
m = self.q[self.head]
self.head = self._inc(self.head)
return m
def popn(self, T):
if self.sz < T:
return
self.sz -= T
self.head = self._proj(self.head + T)
return True
def peekn_top(self, T):
if self.sz < T:
return
return list(self.interval_pop(T))
def peek_pop(self, start=0):
if start >= self.sz:
return
i = self._proj(self.head + start)
return self.q[i]
def interval_pop(self, region_len, start=0):
""" Return an iterator with region_len
The interval is self.head + [start, start+region_len)
"""
if self.sz < region_len - start:
raise IndexError
i = self._proj(self.head + start)
for j in range(region_len):
yield self.q[i]
i = self._inc(i)
def interval_pop_rev(self, region_len, end=-1):
""" Return a reverse iterator with region_len
The interval is self.head + [end + region_len, end) (in reverse order)
"""
if self.sz < end + region_len:
raise IndexError
i = self._proj(self.head + end + region_len)
for j in range(region_len):
yield self.q[i]
i = self._dec(i)
def sample(self, T=1):
""" Sample from the queue for off-policy methods
We want to sample T consecutive samples.
"""
start = random.randint(0, self.sz - T)
return self.interval_pop(T, start=start)
def __len__(self):
return self.sz |
# This file is created by generate_build_files.py. Do not edit manually.
test_support_sources = [
"src/crypto/test/file_test.cc",
"src/crypto/test/test_util.cc",
]
def create_tests(copts):
test_support_sources_complete = test_support_sources + \
native.glob(["src/crypto/test/*.h"])
native.cc_test(
name = "aes_test",
size = "small",
srcs = ["src/crypto/aes/aes_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "base64_test",
size = "small",
srcs = ["src/crypto/base64/base64_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "bio_test",
size = "small",
srcs = ["src/crypto/bio/bio_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "bn_test",
size = "small",
srcs = ["src/crypto/bn/bn_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "bytestring_test",
size = "small",
srcs = ["src/crypto/bytestring/bytestring_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_gcm",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-gcm",
"$(location src/crypto/cipher/test/aes_128_gcm_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_gcm_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_key_wrap",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-key-wrap",
"$(location src/crypto/cipher/test/aes_128_key_wrap_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_key_wrap_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_gcm",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-gcm",
"$(location src/crypto/cipher/test/aes_256_gcm_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_gcm_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_key_wrap",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-key-wrap",
"$(location src/crypto/cipher/test/aes_256_key_wrap_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_key_wrap_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_chacha20_poly1305",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"chacha20-poly1305",
"$(location src/crypto/cipher/test/chacha20_poly1305_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/chacha20_poly1305_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_chacha20_poly1305_old",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"chacha20-poly1305-old",
"$(location src/crypto/cipher/test/chacha20_poly1305_old_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/chacha20_poly1305_old_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_rc4_md5_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"rc4-md5-tls",
"$(location src/crypto/cipher/test/rc4_md5_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/rc4_md5_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_rc4_sha1_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"rc4-sha1-tls",
"$(location src/crypto/cipher/test/rc4_sha1_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/rc4_sha1_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_cbc_sha1_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-cbc-sha1-tls",
"$(location src/crypto/cipher/test/aes_128_cbc_sha1_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_cbc_sha1_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_cbc_sha1_tls_implicit_iv",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-cbc-sha1-tls-implicit-iv",
"$(location src/crypto/cipher/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_cbc_sha256_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-cbc-sha256-tls",
"$(location src/crypto/cipher/test/aes_128_cbc_sha256_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_cbc_sha256_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_cbc_sha1_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-cbc-sha1-tls",
"$(location src/crypto/cipher/test/aes_256_cbc_sha1_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_cbc_sha1_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_cbc_sha1_tls_implicit_iv",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-cbc-sha1-tls-implicit-iv",
"$(location src/crypto/cipher/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_cbc_sha256_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-cbc-sha256-tls",
"$(location src/crypto/cipher/test/aes_256_cbc_sha256_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_cbc_sha256_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_cbc_sha384_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-cbc-sha384-tls",
"$(location src/crypto/cipher/test/aes_256_cbc_sha384_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_cbc_sha384_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_des_ede3_cbc_sha1_tls",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"des-ede3-cbc-sha1-tls",
"$(location src/crypto/cipher/test/des_ede3_cbc_sha1_tls_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/des_ede3_cbc_sha1_tls_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_des_ede3_cbc_sha1_tls_implicit_iv",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"des-ede3-cbc-sha1-tls-implicit-iv",
"$(location src/crypto/cipher/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_rc4_md5_ssl3",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"rc4-md5-ssl3",
"$(location src/crypto/cipher/test/rc4_md5_ssl3_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/rc4_md5_ssl3_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_rc4_sha1_ssl3",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"rc4-sha1-ssl3",
"$(location src/crypto/cipher/test/rc4_sha1_ssl3_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/rc4_sha1_ssl3_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_cbc_sha1_ssl3",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-cbc-sha1-ssl3",
"$(location src/crypto/cipher/test/aes_128_cbc_sha1_ssl3_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_cbc_sha1_ssl3_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_cbc_sha1_ssl3",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-cbc-sha1-ssl3",
"$(location src/crypto/cipher/test/aes_256_cbc_sha1_ssl3_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_cbc_sha1_ssl3_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_des_ede3_cbc_sha1_ssl3",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"des-ede3-cbc-sha1-ssl3",
"$(location src/crypto/cipher/test/des_ede3_cbc_sha1_ssl3_tests.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/des_ede3_cbc_sha1_ssl3_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_128_ctr_hmac_sha256",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-128-ctr-hmac-sha256",
"$(location src/crypto/cipher/test/aes_128_ctr_hmac_sha256.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_128_ctr_hmac_sha256.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "aead_test_aes_256_ctr_hmac_sha256",
size = "small",
srcs = ["src/crypto/cipher/aead_test.cc"] + test_support_sources_complete,
args = [
"aes-256-ctr-hmac-sha256",
"$(location src/crypto/cipher/test/aes_256_ctr_hmac_sha256.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/aes_256_ctr_hmac_sha256.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "cipher_test",
size = "small",
srcs = ["src/crypto/cipher/cipher_test.cc"] + test_support_sources_complete,
args = [
"$(location src/crypto/cipher/test/cipher_test.txt)",
],
copts = copts,
data = [
"src/crypto/cipher/test/cipher_test.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "cmac_test",
size = "small",
srcs = ["src/crypto/cmac/cmac_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "constant_time_test",
size = "small",
srcs = ["src/crypto/constant_time_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "ed25519_test",
size = "small",
srcs = ["src/crypto/curve25519/ed25519_test.cc"] + test_support_sources_complete,
args = [
"$(location src/crypto/curve25519/ed25519_tests.txt)",
],
copts = copts,
data = [
"src/crypto/curve25519/ed25519_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "x25519_test",
size = "small",
srcs = ["src/crypto/curve25519/x25519_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "dh_test",
size = "small",
srcs = ["src/crypto/dh/dh_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "digest_test",
size = "small",
srcs = ["src/crypto/digest/digest_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "dsa_test",
size = "small",
srcs = ["src/crypto/dsa/dsa_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "ec_test",
size = "small",
srcs = ["src/crypto/ec/ec_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "example_mul",
size = "small",
srcs = ["src/crypto/ec/example_mul.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "ecdsa_test",
size = "small",
srcs = ["src/crypto/ecdsa/ecdsa_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "err_test",
size = "small",
srcs = ["src/crypto/err/err_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "evp_extra_test",
size = "small",
srcs = ["src/crypto/evp/evp_extra_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "evp_test",
size = "small",
srcs = ["src/crypto/evp/evp_test.cc"] + test_support_sources_complete,
args = [
"$(location src/crypto/evp/evp_tests.txt)",
],
copts = copts,
data = [
"src/crypto/evp/evp_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "pbkdf_test",
size = "small",
srcs = ["src/crypto/evp/pbkdf_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "hkdf_test",
size = "small",
srcs = ["src/crypto/hkdf/hkdf_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "hmac_test",
size = "small",
srcs = ["src/crypto/hmac/hmac_test.cc"] + test_support_sources_complete,
args = [
"$(location src/crypto/hmac/hmac_tests.txt)",
],
copts = copts,
data = [
"src/crypto/hmac/hmac_tests.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "lhash_test",
size = "small",
srcs = ["src/crypto/lhash/lhash_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "gcm_test",
size = "small",
srcs = ["src/crypto/modes/gcm_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "pkcs8_test",
size = "small",
srcs = ["src/crypto/pkcs8/pkcs8_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "pkcs12_test",
size = "small",
srcs = ["src/crypto/pkcs8/pkcs12_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "poly1305_test",
size = "small",
srcs = ["src/crypto/poly1305/poly1305_test.cc"] + test_support_sources_complete,
args = [
"$(location src/crypto/poly1305/poly1305_test.txt)",
],
copts = copts,
data = [
"src/crypto/poly1305/poly1305_test.txt",
],
deps = [":crypto"],
)
native.cc_test(
name = "refcount_test",
size = "small",
srcs = ["src/crypto/refcount_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "rsa_test",
size = "small",
srcs = ["src/crypto/rsa/rsa_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "thread_test",
size = "small",
srcs = ["src/crypto/thread_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "pkcs7_test",
size = "small",
srcs = ["src/crypto/x509/pkcs7_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "x509_test",
size = "small",
srcs = ["src/crypto/x509/x509_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "tab_test",
size = "small",
srcs = ["src/crypto/x509v3/tab_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "v3name_test",
size = "small",
srcs = ["src/crypto/x509v3/v3name_test.c"] + test_support_sources_complete,
copts = copts,
deps = [":crypto"],
)
native.cc_test(
name = "pqueue_test",
size = "small",
srcs = ["src/ssl/pqueue/pqueue_test.c"] + test_support_sources_complete,
copts = copts,
deps = [
":crypto",
":ssl",
],
)
native.cc_test(
name = "ssl_test",
size = "small",
srcs = ["src/ssl/ssl_test.cc"] + test_support_sources_complete,
copts = copts,
deps = [
":crypto",
":ssl",
],
)
| test_support_sources = ['src/crypto/test/file_test.cc', 'src/crypto/test/test_util.cc']
def create_tests(copts):
test_support_sources_complete = test_support_sources + native.glob(['src/crypto/test/*.h'])
native.cc_test(name='aes_test', size='small', srcs=['src/crypto/aes/aes_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='base64_test', size='small', srcs=['src/crypto/base64/base64_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='bio_test', size='small', srcs=['src/crypto/bio/bio_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='bn_test', size='small', srcs=['src/crypto/bn/bn_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='bytestring_test', size='small', srcs=['src/crypto/bytestring/bytestring_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_gcm', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-gcm', '$(location src/crypto/cipher/test/aes_128_gcm_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_gcm_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_key_wrap', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-key-wrap', '$(location src/crypto/cipher/test/aes_128_key_wrap_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_key_wrap_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_gcm', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-gcm', '$(location src/crypto/cipher/test/aes_256_gcm_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_gcm_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_key_wrap', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-key-wrap', '$(location src/crypto/cipher/test/aes_256_key_wrap_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_key_wrap_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_chacha20_poly1305', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['chacha20-poly1305', '$(location src/crypto/cipher/test/chacha20_poly1305_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/chacha20_poly1305_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_chacha20_poly1305_old', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['chacha20-poly1305-old', '$(location src/crypto/cipher/test/chacha20_poly1305_old_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/chacha20_poly1305_old_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_rc4_md5_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['rc4-md5-tls', '$(location src/crypto/cipher/test/rc4_md5_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/rc4_md5_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_rc4_sha1_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['rc4-sha1-tls', '$(location src/crypto/cipher/test/rc4_sha1_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/rc4_sha1_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_cbc_sha1_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-cbc-sha1-tls', '$(location src/crypto/cipher/test/aes_128_cbc_sha1_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_cbc_sha1_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_cbc_sha1_tls_implicit_iv', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-cbc-sha1-tls-implicit-iv', '$(location src/crypto/cipher/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_cbc_sha256_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-cbc-sha256-tls', '$(location src/crypto/cipher/test/aes_128_cbc_sha256_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_cbc_sha256_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_cbc_sha1_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-cbc-sha1-tls', '$(location src/crypto/cipher/test/aes_256_cbc_sha1_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_cbc_sha1_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_cbc_sha1_tls_implicit_iv', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-cbc-sha1-tls-implicit-iv', '$(location src/crypto/cipher/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_cbc_sha256_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-cbc-sha256-tls', '$(location src/crypto/cipher/test/aes_256_cbc_sha256_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_cbc_sha256_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_cbc_sha384_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-cbc-sha384-tls', '$(location src/crypto/cipher/test/aes_256_cbc_sha384_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_cbc_sha384_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_des_ede3_cbc_sha1_tls', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['des-ede3-cbc-sha1-tls', '$(location src/crypto/cipher/test/des_ede3_cbc_sha1_tls_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/des_ede3_cbc_sha1_tls_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_des_ede3_cbc_sha1_tls_implicit_iv', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['des-ede3-cbc-sha1-tls-implicit-iv', '$(location src/crypto/cipher/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_rc4_md5_ssl3', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['rc4-md5-ssl3', '$(location src/crypto/cipher/test/rc4_md5_ssl3_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/rc4_md5_ssl3_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_rc4_sha1_ssl3', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['rc4-sha1-ssl3', '$(location src/crypto/cipher/test/rc4_sha1_ssl3_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/rc4_sha1_ssl3_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_cbc_sha1_ssl3', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-cbc-sha1-ssl3', '$(location src/crypto/cipher/test/aes_128_cbc_sha1_ssl3_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_cbc_sha1_ssl3_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_cbc_sha1_ssl3', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-cbc-sha1-ssl3', '$(location src/crypto/cipher/test/aes_256_cbc_sha1_ssl3_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_cbc_sha1_ssl3_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_des_ede3_cbc_sha1_ssl3', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['des-ede3-cbc-sha1-ssl3', '$(location src/crypto/cipher/test/des_ede3_cbc_sha1_ssl3_tests.txt)'], copts=copts, data=['src/crypto/cipher/test/des_ede3_cbc_sha1_ssl3_tests.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_128_ctr_hmac_sha256', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-128-ctr-hmac-sha256', '$(location src/crypto/cipher/test/aes_128_ctr_hmac_sha256.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_128_ctr_hmac_sha256.txt'], deps=[':crypto'])
native.cc_test(name='aead_test_aes_256_ctr_hmac_sha256', size='small', srcs=['src/crypto/cipher/aead_test.cc'] + test_support_sources_complete, args=['aes-256-ctr-hmac-sha256', '$(location src/crypto/cipher/test/aes_256_ctr_hmac_sha256.txt)'], copts=copts, data=['src/crypto/cipher/test/aes_256_ctr_hmac_sha256.txt'], deps=[':crypto'])
native.cc_test(name='cipher_test', size='small', srcs=['src/crypto/cipher/cipher_test.cc'] + test_support_sources_complete, args=['$(location src/crypto/cipher/test/cipher_test.txt)'], copts=copts, data=['src/crypto/cipher/test/cipher_test.txt'], deps=[':crypto'])
native.cc_test(name='cmac_test', size='small', srcs=['src/crypto/cmac/cmac_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='constant_time_test', size='small', srcs=['src/crypto/constant_time_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='ed25519_test', size='small', srcs=['src/crypto/curve25519/ed25519_test.cc'] + test_support_sources_complete, args=['$(location src/crypto/curve25519/ed25519_tests.txt)'], copts=copts, data=['src/crypto/curve25519/ed25519_tests.txt'], deps=[':crypto'])
native.cc_test(name='x25519_test', size='small', srcs=['src/crypto/curve25519/x25519_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='dh_test', size='small', srcs=['src/crypto/dh/dh_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='digest_test', size='small', srcs=['src/crypto/digest/digest_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='dsa_test', size='small', srcs=['src/crypto/dsa/dsa_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='ec_test', size='small', srcs=['src/crypto/ec/ec_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='example_mul', size='small', srcs=['src/crypto/ec/example_mul.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='ecdsa_test', size='small', srcs=['src/crypto/ecdsa/ecdsa_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='err_test', size='small', srcs=['src/crypto/err/err_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='evp_extra_test', size='small', srcs=['src/crypto/evp/evp_extra_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='evp_test', size='small', srcs=['src/crypto/evp/evp_test.cc'] + test_support_sources_complete, args=['$(location src/crypto/evp/evp_tests.txt)'], copts=copts, data=['src/crypto/evp/evp_tests.txt'], deps=[':crypto'])
native.cc_test(name='pbkdf_test', size='small', srcs=['src/crypto/evp/pbkdf_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='hkdf_test', size='small', srcs=['src/crypto/hkdf/hkdf_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='hmac_test', size='small', srcs=['src/crypto/hmac/hmac_test.cc'] + test_support_sources_complete, args=['$(location src/crypto/hmac/hmac_tests.txt)'], copts=copts, data=['src/crypto/hmac/hmac_tests.txt'], deps=[':crypto'])
native.cc_test(name='lhash_test', size='small', srcs=['src/crypto/lhash/lhash_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='gcm_test', size='small', srcs=['src/crypto/modes/gcm_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='pkcs8_test', size='small', srcs=['src/crypto/pkcs8/pkcs8_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='pkcs12_test', size='small', srcs=['src/crypto/pkcs8/pkcs12_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='poly1305_test', size='small', srcs=['src/crypto/poly1305/poly1305_test.cc'] + test_support_sources_complete, args=['$(location src/crypto/poly1305/poly1305_test.txt)'], copts=copts, data=['src/crypto/poly1305/poly1305_test.txt'], deps=[':crypto'])
native.cc_test(name='refcount_test', size='small', srcs=['src/crypto/refcount_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='rsa_test', size='small', srcs=['src/crypto/rsa/rsa_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='thread_test', size='small', srcs=['src/crypto/thread_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='pkcs7_test', size='small', srcs=['src/crypto/x509/pkcs7_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='x509_test', size='small', srcs=['src/crypto/x509/x509_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='tab_test', size='small', srcs=['src/crypto/x509v3/tab_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='v3name_test', size='small', srcs=['src/crypto/x509v3/v3name_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto'])
native.cc_test(name='pqueue_test', size='small', srcs=['src/ssl/pqueue/pqueue_test.c'] + test_support_sources_complete, copts=copts, deps=[':crypto', ':ssl'])
native.cc_test(name='ssl_test', size='small', srcs=['src/ssl/ssl_test.cc'] + test_support_sources_complete, copts=copts, deps=[':crypto', ':ssl']) |
# -*- coding: utf-8 -*-
# try something like
def index():
sync.go()
return dict(message="hello from sync.py")
| def index():
sync.go()
return dict(message='hello from sync.py') |
class Solution(object):
def findDisappearedNumbers(self, nums):
Out = []
N = set(nums)
n = len(nums)
for i in range(1, n+1):
if i not in N:
Out.append(i)
return Out
nums = [4,3,2,7,8,2,3,1]
Object = Solution()
print(Object.findDisappearedNumbers(nums))
| class Solution(object):
def find_disappeared_numbers(self, nums):
out = []
n = set(nums)
n = len(nums)
for i in range(1, n + 1):
if i not in N:
Out.append(i)
return Out
nums = [4, 3, 2, 7, 8, 2, 3, 1]
object = solution()
print(Object.findDisappearedNumbers(nums)) |
def matmul(a, b):
c = []
for i in range(0, len(a)):
c.append([])
for k in range(0, len(b[0])):
num = 0
for j in range(0, len(a[0])):
num += a[i][j]*b[j][k]
c[i].append(num)
return c
def main():
a = [[1,2],[3,4],[5,6]]
b = [[3,2,1],[4,1,3]]
d = matmul(a,b)
print(a)
print(b)
print(d)
if __name__ == '__main__':
main()
| def matmul(a, b):
c = []
for i in range(0, len(a)):
c.append([])
for k in range(0, len(b[0])):
num = 0
for j in range(0, len(a[0])):
num += a[i][j] * b[j][k]
c[i].append(num)
return c
def main():
a = [[1, 2], [3, 4], [5, 6]]
b = [[3, 2, 1], [4, 1, 3]]
d = matmul(a, b)
print(a)
print(b)
print(d)
if __name__ == '__main__':
main() |
class Path:
def __init__(self, move_sequence):
self.move_sequence = move_sequence
def swap_cities(self, city1, city2):
tmp = list(self.move_sequence)
tmp[city1], tmp[city2] = tmp[city2], tmp[city1]
return Path(tuple(tmp))
def __eq__(self, other):
return self.move_sequence == other.move_sequence
def __hash__(self):
return hash(self.move_sequence)
def __str__(self):
return ' '.join([str(i + 1) for i in self.move_sequence] + [str(self.move_sequence[0] + 1)])
| class Path:
def __init__(self, move_sequence):
self.move_sequence = move_sequence
def swap_cities(self, city1, city2):
tmp = list(self.move_sequence)
(tmp[city1], tmp[city2]) = (tmp[city2], tmp[city1])
return path(tuple(tmp))
def __eq__(self, other):
return self.move_sequence == other.move_sequence
def __hash__(self):
return hash(self.move_sequence)
def __str__(self):
return ' '.join([str(i + 1) for i in self.move_sequence] + [str(self.move_sequence[0] + 1)]) |
split_data = lambda x: [[set(j) for j in i.split("\n")] for i in x]
counter = lambda data, set_fn: sum(len(set_fn(*s)) for s in data)
if __name__ == "__main__":
with open("data.txt", "r") as file:
data = split_data(file.read().strip().split("\n\n"))
print("Part 1:", counter(data, set.union))
print("Part 2:", counter(data, set.intersection))
| split_data = lambda x: [[set(j) for j in i.split('\n')] for i in x]
counter = lambda data, set_fn: sum((len(set_fn(*s)) for s in data))
if __name__ == '__main__':
with open('data.txt', 'r') as file:
data = split_data(file.read().strip().split('\n\n'))
print('Part 1:', counter(data, set.union))
print('Part 2:', counter(data, set.intersection)) |
def pig_latin(word):
a={'a','e','i','o','u'}
#make vowels case insensitive
vowels=a|set(b.upper() for b in a)
if word[0].isalpha():
if any(i in vowels for i in word):
if word.isalnum():
if word[0] in vowels:
pig_version=word+'way'
else:
first_vowel=min(word.find(vowel) for vowel in vowels if vowel in word)
#alternative way to locate first vowelin word
#first_vowel = next((i for i, ch in enumerate(word) if ch in vowels),None)
pig_version = word[first_vowel:]+word[:first_vowel]+'ay'
return pig_version
return 'word not english'
return 'no vowel in word'
return 'word must start with alphabet'
#for word in ['wIll', 'dog', 'Category', 'chatter', 'trash','andela', 'mo$es', 'electrician', '2twa']:
# print(pig_latin(word)) | def pig_latin(word):
a = {'a', 'e', 'i', 'o', 'u'}
vowels = a | set((b.upper() for b in a))
if word[0].isalpha():
if any((i in vowels for i in word)):
if word.isalnum():
if word[0] in vowels:
pig_version = word + 'way'
else:
first_vowel = min((word.find(vowel) for vowel in vowels if vowel in word))
pig_version = word[first_vowel:] + word[:first_vowel] + 'ay'
return pig_version
return 'word not english'
return 'no vowel in word'
return 'word must start with alphabet' |
# File: S (Python 2.4)
NORMAL = 0
CUSTOM = 1
EMOTE = 2
PIRATES_QUEST = 3
TOONTOWN_QUEST = 4
| normal = 0
custom = 1
emote = 2
pirates_quest = 3
toontown_quest = 4 |
public_key = b"\x30\x81\x9f\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01\x05\x00\x03\x81\x8d\x00\x30\x81\x89\x02\x81\x81\x00\xd9\x7a\xcd" + \
b"\x72\x88\xaa\x98\x10\xee\x43\x50\x98\x95\x42\x98\x2d\x4d\xd7\x2c\xd6\x49\x9d\x4e\x37\x97\x53\x7a\xd3\x94\x8c\x93\x70\x22\xf1\x00" + \
b"\x4b\x4a\x46\xca\xfc\x9c\xa5\x87\xa1\x90\x68\xb9\x04\x79\x1d\x6a\x20\x31\xa2\xe9\x2c\xb1\x51\xb9\x53\xce\x58\x5f\x9c\xd2\xfc\x41" + \
b"\x24\x98\xed\x9e\x0c\x37\xc2\xab\x45\xfc\xbe\x11\x8b\x68\xc0\x4d\xb0\x0c\xb3\xea\x72\x19\xb7\x81\xa8\x3d\x4e\xb0\x59\xb2\xa7\xab" + \
b"\x2d\xac\xd1\xaf\xae\x77\x12\xd3\x30\x97\x28\xd5\xe7\x88\x34\x35\x10\x66\x45\x52\x5f\xea\xfb\x02\x9b\x75\x5c\x77\x67\x02\x03\x01" + \
b"\x00\x01"
private_key = b"\x30\x82\x02\x75\x02\x01\x00\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01\x05\x00\x04\x82\x02\x5f\x30\x82\x02\x5b\x02\x01" + \
b"\x00\x02\x81\x81\x00\xd9\x7a\xcd\x72\x88\xaa\x98\x10\xee\x43\x50\x98\x95\x42\x98\x2d\x4d\xd7\x2c\xd6\x49\x9d\x4e\x37\x97\x53\x7a" + \
b"\xd3\x94\x8c\x93\x70\x22\xf1\x00\x4b\x4a\x46\xca\xfc\x9c\xa5\x87\xa1\x90\x68\xb9\x04\x79\x1d\x6a\x20\x31\xa2\xe9\x2c\xb1\x51\xb9" + \
b"\x53\xce\x58\x5f\x9c\xd2\xfc\x41\x24\x98\xed\x9e\x0c\x37\xc2\xab\x45\xfc\xbe\x11\x8b\x68\xc0\x4d\xb0\x0c\xb3\xea\x72\x19\xb7\x81" + \
b"\xa8\x3d\x4e\xb0\x59\xb2\xa7\xab\x2d\xac\xd1\xaf\xae\x77\x12\xd3\x30\x97\x28\xd5\xe7\x88\x34\x35\x10\x66\x45\x52\x5f\xea\xfb\x02" + \
b"\x9b\x75\x5c\x77\x67\x02\x03\x01\x00\x01\x02\x81\x80\x29\xf4\xde\x98\xe7\x93\xdd\xd5\x7a\x5a\x03\x3d\x04\xa2\xbd\xe0\x13\xa1\xdd" + \
b"\x15\x14\x4b\xa4\x50\xe6\x41\x65\x33\x57\x77\xcd\x63\xf7\x61\xbe\x58\x48\x22\xa3\x3b\x9b\xee\xf5\x5d\x2e\x92\x7d\x8b\x46\xe0\x6d" + \
b"\x5e\x7b\xa4\xfd\xce\x31\x01\x5e\xbb\x33\xd6\x69\xcf\x68\xc0\x15\x60\x99\xb6\x33\x6a\x59\x86\xe0\xd2\x62\x11\x76\x0c\xe9\x0c\x53" + \
b"\xa4\xa0\x24\x98\xeb\xfd\x05\xa7\x4f\xb1\xbc\xc9\x11\xc2\xdb\xbf\x55\xcd\x4e\x8a\x3f\x46\xb8\xf9\x55\x8c\xe8\x22\xda\xb2\x67\xf0" + \
b"\x71\xe2\xe0\x77\xa8\x00\x9d\x4e\x34\xcd\xdd\x77\x99\x02\x41\x00\xfd\x78\x72\x13\x37\x8d\xcb\x6b\x92\x52\x82\x12\x65\x60\x7b\x8a" + \
b"\xc4\x7a\x5e\xd4\xb8\x1a\xfa\x7f\x5e\xf8\x8a\x84\xf8\x1b\x7c\x28\xfc\x38\x74\xa0\x2e\x44\xc2\x13\x72\x05\xbd\x31\x49\xb9\xb1\x2d" + \
b"\x7a\xf1\x76\x25\x11\x09\xf9\x19\xdd\x02\xfa\xeb\x66\x06\x85\x59\x02\x41\x00\xdb\xa6\x68\xcb\x33\x55\xdb\xbf\x7e\x9b\xdb\xb5\x76" + \
b"\x1a\x1b\xca\x75\x0d\x12\xf2\xf1\x85\x87\x58\xf8\x7c\xee\x6c\x9d\xb9\x06\x1d\xb3\x9e\xad\xf8\xc8\x84\x9d\x8c\xe8\x65\x50\x42\x56" + \
b"\x56\xdc\x81\xd1\xad\xf5\xa9\x7d\xd2\x2e\xa7\x34\xfd\x63\x9e\x9a\xe5\x8a\xbf\x02\x40\x1d\x56\xed\xcd\x6f\xa6\xc8\x1f\x21\x86\xcf" + \
b"\x6b\x95\xb4\x7f\x58\x66\xb9\xcb\x74\x50\x03\x3f\x6f\xb2\xec\x8e\x0c\x2a\x33\xf4\x41\x42\x40\xbe\xaf\x33\xeb\xdd\x93\x26\xa5\xa7" + \
b"\x6a\xa7\x20\x09\x74\x3c\x40\xea\xee\x0b\x74\xde\x12\xb2\x54\x7f\xfa\xf3\x8a\x59\xb1\x02\x40\x5a\xaa\x7a\x1f\x46\x75\x6e\x5b\xc1" + \
b"\x3b\x3c\x99\xce\xc2\x40\x2e\x75\xda\x8b\xb3\xd4\x96\x35\xa4\x38\x0d\xf9\xac\xc3\xfe\x17\xd4\x32\xcc\x91\x2b\x5c\x39\xc1\x7e\xe4" + \
b"\x7e\xcd\x7e\x54\x7d\x4e\x50\x17\xe9\x22\xba\x6f\xc1\x4e\x98\x9e\x7a\xe9\xa0\x12\x78\x25\xa9\x02\x40\x0b\xff\x66\xb9\xf1\x6d\x18" + \
b"\xd9\x92\x64\x60\x16\x04\xdc\x39\x06\x56\xd5\xc9\x9c\x0c\x9b\x66\x06\x35\xf8\xd8\xa0\xa4\xff\xb4\x02\x9c\xaf\xb6\xab\x9a\xc0\x29" + \
b"\xb2\x17\x33\xac\x83\x10\x8c\x4c\x89\x44\x3e\xd0\x1e\x11\x61\x4a\xf5\xe3\xca\x26\x28\x38\x43\x7d\xeb"
certs = [b"\x30\x82\x01\xb8\x30\x82\x01\x21\xa0\x03\x02\x01\x02\x02\x01\x00\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x0b\x05\x00\x30" + \
b"\x22\x31\x20\x30\x1e\x06\x03\x55\x04\x03\x0c\x17\x63\x75\x73\x74\x6f\x6d\x5f\x65\x6e\x74\x72\x79\x5f\x70\x61\x73\x73\x77\x6f\x72" + \
b"\x64\x73\x31\x30\x1e\x17\x0d\x31\x36\x30\x35\x31\x38\x32\x32\x35\x33\x30\x36\x5a\x17\x0d\x31\x38\x30\x35\x31\x38\x32\x32\x35\x33" + \
b"\x30\x36\x5a\x30\x22\x31\x20\x30\x1e\x06\x03\x55\x04\x03\x0c\x17\x63\x75\x73\x74\x6f\x6d\x5f\x65\x6e\x74\x72\x79\x5f\x70\x61\x73" + \
b"\x73\x77\x6f\x72\x64\x73\x31\x30\x81\x9f\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01\x05\x00\x03\x81\x8d\x00\x30\x81\x89" + \
b"\x02\x81\x81\x00\xd9\x7a\xcd\x72\x88\xaa\x98\x10\xee\x43\x50\x98\x95\x42\x98\x2d\x4d\xd7\x2c\xd6\x49\x9d\x4e\x37\x97\x53\x7a\xd3" + \
b"\x94\x8c\x93\x70\x22\xf1\x00\x4b\x4a\x46\xca\xfc\x9c\xa5\x87\xa1\x90\x68\xb9\x04\x79\x1d\x6a\x20\x31\xa2\xe9\x2c\xb1\x51\xb9\x53" + \
b"\xce\x58\x5f\x9c\xd2\xfc\x41\x24\x98\xed\x9e\x0c\x37\xc2\xab\x45\xfc\xbe\x11\x8b\x68\xc0\x4d\xb0\x0c\xb3\xea\x72\x19\xb7\x81\xa8" + \
b"\x3d\x4e\xb0\x59\xb2\xa7\xab\x2d\xac\xd1\xaf\xae\x77\x12\xd3\x30\x97\x28\xd5\xe7\x88\x34\x35\x10\x66\x45\x52\x5f\xea\xfb\x02\x9b" + \
b"\x75\x5c\x77\x67\x02\x03\x01\x00\x01\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x0b\x05\x00\x03\x81\x81\x00\xd6\x2c\x88\x43" + \
b"\x42\x2a\x0c\x8b\x1c\xd4\xe9\xd1\x16\xd5\x4b\xd3\x00\x5e\xeb\xa3\xdb\x21\x2c\x35\xb5\xbb\xa7\xc8\xb9\x58\x51\x34\x5b\x91\xf7\xc3" + \
b"\x17\x20\x6b\x18\x4d\x5f\x13\x42\x60\x17\x6e\x09\x82\x50\x55\x45\xd9\x6a\x74\xf5\xa9\x10\x3d\x2e\xf1\x16\xad\xa5\x0d\x25\xe7\x06" + \
b"\x22\x0e\x82\xae\x76\x80\x85\x3d\x0a\x3b\x20\x01\xc9\x42\xdd\x19\xfe\x1b\xda\x5d\x6d\x1b\xd7\x0d\x10\x39\x74\x97\xd7\x36\x8c\x1a" + \
b"\x56\x28\x98\x13\xaa\x35\xe7\xa4\xa0\xdd\x60\xba\xed\xca\x4e\xda\x57\x3b\xdf\xd7\xb8\xa7\x9f\xf1\x75\xa6\xbf\x0a"]
| public_key = b'0\x81\x9f0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x81\x8d\x000\x81\x89\x02\x81\x81\x00\xd9z\xcd' + b'r\x88\xaa\x98\x10\xeeCP\x98\x95B\x98-M\xd7,\xd6I\x9dN7\x97Sz\xd3\x94\x8c\x93p"\xf1\x00' + b'KJF\xca\xfc\x9c\xa5\x87\xa1\x90h\xb9\x04y\x1dj 1\xa2\xe9,\xb1Q\xb9S\xceX_\x9c\xd2\xfcA' + b'$\x98\xed\x9e\x0c7\xc2\xabE\xfc\xbe\x11\x8bh\xc0M\xb0\x0c\xb3\xear\x19\xb7\x81\xa8=N\xb0Y\xb2\xa7\xab' + b'-\xac\xd1\xaf\xaew\x12\xd30\x97(\xd5\xe7\x8845\x10fER_\xea\xfb\x02\x9bu\\wg\x02\x03\x01' + b'\x00\x01'
private_key = b'0\x82\x02u\x02\x01\x000\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x04\x82\x02_0\x82\x02[\x02\x01' + b'\x00\x02\x81\x81\x00\xd9z\xcdr\x88\xaa\x98\x10\xeeCP\x98\x95B\x98-M\xd7,\xd6I\x9dN7\x97Sz' + b'\xd3\x94\x8c\x93p"\xf1\x00KJF\xca\xfc\x9c\xa5\x87\xa1\x90h\xb9\x04y\x1dj 1\xa2\xe9,\xb1Q\xb9' + b'S\xceX_\x9c\xd2\xfcA$\x98\xed\x9e\x0c7\xc2\xabE\xfc\xbe\x11\x8bh\xc0M\xb0\x0c\xb3\xear\x19\xb7\x81' + b'\xa8=N\xb0Y\xb2\xa7\xab-\xac\xd1\xaf\xaew\x12\xd30\x97(\xd5\xe7\x8845\x10fER_\xea\xfb\x02' + b'\x9bu\\wg\x02\x03\x01\x00\x01\x02\x81\x80)\xf4\xde\x98\xe7\x93\xdd\xd5zZ\x03=\x04\xa2\xbd\xe0\x13\xa1\xdd' + b'\x15\x14K\xa4P\xe6Ae3Ww\xcdc\xf7a\xbeXH"\xa3;\x9b\xee\xf5].\x92}\x8bF\xe0m' + b'^{\xa4\xfd\xce1\x01^\xbb3\xd6i\xcfh\xc0\x15`\x99\xb63jY\x86\xe0\xd2b\x11v\x0c\xe9\x0cS' + b'\xa4\xa0$\x98\xeb\xfd\x05\xa7O\xb1\xbc\xc9\x11\xc2\xdb\xbfU\xcdN\x8a?F\xb8\xf9U\x8c\xe8"\xda\xb2g\xf0' + b'q\xe2\xe0w\xa8\x00\x9dN4\xcd\xddw\x99\x02A\x00\xfdxr\x137\x8d\xcbk\x92R\x82\x12e`{\x8a' + b'\xc4z^\xd4\xb8\x1a\xfa\x7f^\xf8\x8a\x84\xf8\x1b|(\xfc8t\xa0.D\xc2\x13r\x05\xbd1I\xb9\xb1-' + b'z\xf1v%\x11\t\xf9\x19\xdd\x02\xfa\xebf\x06\x85Y\x02A\x00\xdb\xa6h\xcb3U\xdb\xbf~\x9b\xdb\xb5v' + b'\x1a\x1b\xcau\r\x12\xf2\xf1\x85\x87X\xf8|\xeel\x9d\xb9\x06\x1d\xb3\x9e\xad\xf8\xc8\x84\x9d\x8c\xe8ePBV' + b'V\xdc\x81\xd1\xad\xf5\xa9}\xd2.\xa74\xfdc\x9e\x9a\xe5\x8a\xbf\x02@\x1dV\xed\xcdo\xa6\xc8\x1f!\x86\xcf' + b'k\x95\xb4\x7fXf\xb9\xcbtP\x03?o\xb2\xec\x8e\x0c*3\xf4AB@\xbe\xaf3\xeb\xdd\x93&\xa5\xa7' + b'j\xa7 \tt<@\xea\xee\x0bt\xde\x12\xb2T\x7f\xfa\xf3\x8aY\xb1\x02@Z\xaaz\x1fFun[\xc1' + b';<\x99\xce\xc2@.u\xda\x8b\xb3\xd4\x965\xa48\r\xf9\xac\xc3\xfe\x17\xd42\xcc\x91+\\9\xc1~\xe4' + b'~\xcd~T}NP\x17\xe9"\xbao\xc1N\x98\x9ez\xe9\xa0\x12x%\xa9\x02@\x0b\xfff\xb9\xf1m\x18' + b'\xd9\x92d`\x16\x04\xdc9\x06V\xd5\xc9\x9c\x0c\x9bf\x065\xf8\xd8\xa0\xa4\xff\xb4\x02\x9c\xaf\xb6\xab\x9a\xc0)' + b'\xb2\x173\xac\x83\x10\x8cL\x89D>\xd0\x1e\x11aJ\xf5\xe3\xca&(8C}\xeb'
certs = [b'0\x82\x01\xb80\x82\x01!\xa0\x03\x02\x01\x02\x02\x01\x000\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000' + b'"1 0\x1e\x06\x03U\x04\x03\x0c\x17custom_entry_passwor' + b'ds10\x1e\x17\r160518225306Z\x17\r1805182253' + b'06Z0"1 0\x1e\x06\x03U\x04\x03\x0c\x17custom_entry_pas' + b'swords10\x81\x9f0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x81\x8d\x000\x81\x89' + b'\x02\x81\x81\x00\xd9z\xcdr\x88\xaa\x98\x10\xeeCP\x98\x95B\x98-M\xd7,\xd6I\x9dN7\x97Sz\xd3' + b'\x94\x8c\x93p"\xf1\x00KJF\xca\xfc\x9c\xa5\x87\xa1\x90h\xb9\x04y\x1dj 1\xa2\xe9,\xb1Q\xb9S' + b'\xceX_\x9c\xd2\xfcA$\x98\xed\x9e\x0c7\xc2\xabE\xfc\xbe\x11\x8bh\xc0M\xb0\x0c\xb3\xear\x19\xb7\x81\xa8' + b'=N\xb0Y\xb2\xa7\xab-\xac\xd1\xaf\xaew\x12\xd30\x97(\xd5\xe7\x8845\x10fER_\xea\xfb\x02\x9b' + b'u\\wg\x02\x03\x01\x00\x010\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x81\x81\x00\xd6,\x88C' + b'B*\x0c\x8b\x1c\xd4\xe9\xd1\x16\xd5K\xd3\x00^\xeb\xa3\xdb!,5\xb5\xbb\xa7\xc8\xb9XQ4[\x91\xf7\xc3' + b'\x17 k\x18M_\x13B`\x17n\t\x82PUE\xd9jt\xf5\xa9\x10=.\xf1\x16\xad\xa5\r%\xe7\x06' + b'"\x0e\x82\xaev\x80\x85=\n; \x01\xc9B\xdd\x19\xfe\x1b\xda]m\x1b\xd7\r\x109t\x97\xd76\x8c\x1a' + b'V(\x98\x13\xaa5\xe7\xa4\xa0\xdd`\xba\xed\xcaN\xdaW;\xdf\xd7\xb8\xa7\x9f\xf1u\xa6\xbf\n'] |
####################################################
# Quiz: len, max, min, and Lists
####################################################
a = [1, 5, 8]
b = [2, 6, 9, 10]
c = [100, 200]
print(max([len(a), len(b), len(c)])) # 4
print(min([len(a), len(b), len(c)])) # 2
####################################################
# Quiz: sorted, join, and Lists
####################################################
names = ["Carol", "Albert", "Ben", "Donna"]
print(" & ".join(sorted(names))) # Albert & Ben & Carol & Donna
####################################################
# Quiz: append and Lists
####################################################
names.append("Eugenia")
print(sorted(names)) # ['Albert', 'Ben', 'Carol', 'Donna', 'Eugenia']
| a = [1, 5, 8]
b = [2, 6, 9, 10]
c = [100, 200]
print(max([len(a), len(b), len(c)]))
print(min([len(a), len(b), len(c)]))
names = ['Carol', 'Albert', 'Ben', 'Donna']
print(' & '.join(sorted(names)))
names.append('Eugenia')
print(sorted(names)) |
OPCODE = {
"add": 0, "comp": 0,
"and": 0, "xor": 0,
"shll": 0, "shrl": 0,
"shllv": 0, "shrlv": 0,
"shra": 0, "shrav": 0,
"addi": 8, "compi": 9,
"lw": 16, "sw": 24,
"b": 40, "br": 32,
"bltz": 48, "bz": 49,
"bnz": 50, "bl": 43,
"bcy": 41, "bncy": 42,
}
RFORMATS = {
"add", "comp",
"and", "xor",
"shll", "shrl",
"shllv", "shrlv",
"shra", "shrav"}
FUNCODE = {
"add": 1, "comp": 5,
"and": 2, "xor": 3,
"shll": 12, "shrl": 14,
"shllv": 8, "shrlv": 10,
"shra": 15, "shrav": 11,
}
| opcode = {'add': 0, 'comp': 0, 'and': 0, 'xor': 0, 'shll': 0, 'shrl': 0, 'shllv': 0, 'shrlv': 0, 'shra': 0, 'shrav': 0, 'addi': 8, 'compi': 9, 'lw': 16, 'sw': 24, 'b': 40, 'br': 32, 'bltz': 48, 'bz': 49, 'bnz': 50, 'bl': 43, 'bcy': 41, 'bncy': 42}
rformats = {'add', 'comp', 'and', 'xor', 'shll', 'shrl', 'shllv', 'shrlv', 'shra', 'shrav'}
funcode = {'add': 1, 'comp': 5, 'and': 2, 'xor': 3, 'shll': 12, 'shrl': 14, 'shllv': 8, 'shrlv': 10, 'shra': 15, 'shrav': 11} |
moves = open('input/day3-input.txt', 'r').read()
visited = set()
location = (0,0)
visited.add(location)
for move in moves:
if move == '^':
location = (location[0], location[1] + 1)
elif move == 'v':
location = (location[0], location[1] - 1)
elif move == '>':
location = (location[0] + 1, location[1])
elif move == '<':
location = (location[0] - 1, location[1])
visited.add(location)
print(len(visited))
| moves = open('input/day3-input.txt', 'r').read()
visited = set()
location = (0, 0)
visited.add(location)
for move in moves:
if move == '^':
location = (location[0], location[1] + 1)
elif move == 'v':
location = (location[0], location[1] - 1)
elif move == '>':
location = (location[0] + 1, location[1])
elif move == '<':
location = (location[0] - 1, location[1])
visited.add(location)
print(len(visited)) |
def z3():
global bimage_mean, bimage_peak_fine, cell_dir, frame_i, nthread
nthread = 1
# load plane filename
for frame_i in range(imageframe_nmbr):
with h5py.File(output_dir + 'brain_mask' + str(frame_i) + '.hdf5', 'r') as file_handle:
image_mean = file_handle['image_mean'][()].T
brain_mask = file_handle['brain_mask'][()].T
image_peak_fine = file_handle['image_peak_fine'][()].T
# broadcast image peaks (for initialization) and image_mean (for renormalization)
bimage_peak_fine = sc.broadcast(image_peak_fine)
bimage_mean = sc.broadcast(image_mean)
# get initial estimate for the number of blocks
blok_nmbr0 = brain_mask.size / (blok_cell_nmbr * cell_voxl_nmbr)
# get initial block boundaries
ijk = []
xyz = []
if lz == 1:
blok_part = np.sqrt(blok_nmbr0)
else:
blok_part = np.cbrt(blok_nmbr0)
blok_part = np.round(blok_part).astype(int)
x0_range = np.unique(np.round(np.linspace(0, lx//ds, blok_part+1)).astype(int))
y0_range = np.unique(np.round(np.linspace(0, ly//ds, blok_part+1)).astype(int))
z0_range = np.unique(np.round(np.linspace(0, lz, blok_part+1)).astype(int))
for i, x0 in enumerate(x0_range):
for j, y0 in enumerate(y0_range):
for k, z0 in enumerate(z0_range):
ijk.append([i, j, k])
xyz.append([x0, y0, z0])
dim = np.max(ijk, 0)
XYZ = np.zeros(np.r_[dim+1, 3], dtype=int)
XYZ[list(zip(*ijk))] = xyz
xyz0 = []
xyz1 = []
for i in range(dim[0]):
for j in range(dim[1]):
for k in range(dim[2]):
xyz0.append(XYZ[i , j , k])
xyz1.append(XYZ[i+1, j+1, k+1])
# get number of bloks and block boudaries
blok_nmbr = len(xyz0)
xyz0 = np.array(xyz0)
xyz1 = np.array(xyz1)
x0, y0, z0 = xyz0[:, 0], xyz0[:, 1], xyz0[:, 2]
x1, y1, z1 = xyz1[:, 0], xyz1[:, 1], xyz1[:, 2]
# get indices of remaining blocks to be done and run block detection
cell_dir = output_dir + 'cell_series/' + str(frame_i)
os.system('mkdir -p ' + cell_dir)
blok_lidx = np.ones(blok_nmbr, dtype=bool)
for i in range(blok_nmbr):
blok_lidx[i] = np.any(brain_mask[x0[i]:x1[i], y0[i]:y1[i], z0[i]:z1[i]])
print(('Number of blocks: total, ' + str(blok_lidx.sum()) + '.'))
# save number and indices of blocks
with h5py.File(output_dir + 'brain_mask' + str(frame_i) + '.hdf5', 'r+') as file_handle:
try:
file_handle['blok_nmbr'] = blok_nmbr
file_handle['blok_lidx'] = blok_lidx
except RuntimeError:
assert(np.allclose(blok_nmbr, file_handle['blok_nmbr'][()]))
assert(np.allclose(blok_lidx, file_handle['blok_lidx'][()]))
for i in np.where(blok_lidx)[0]:
filename = cell_dir + '/Block' + str(i).zfill(5) + '.hdf5'
if os.path.isfile(filename):
try:
with h5py.File(filename, 'r') as file_handle:
if ('success' in list(file_handle.keys())) and file_handle['success'][()]:
blok_lidx[i] = 0
except OSError:
pass
print(('Number of blocks: remaining, ' + str(blok_lidx.sum()) + '.'))
ix = np.where(blok_lidx)[0]
blok_ixyz01 = list(zip(ix, list(zip(x0[ix], x1[ix], y0[ix], y1[ix], z0[ix], z1[ix]))))
if blok_lidx.any():
sc.parallelize(blok_ixyz01).foreach(blok_cell_detection)
z3()
| def z3():
global bimage_mean, bimage_peak_fine, cell_dir, frame_i, nthread
nthread = 1
for frame_i in range(imageframe_nmbr):
with h5py.File(output_dir + 'brain_mask' + str(frame_i) + '.hdf5', 'r') as file_handle:
image_mean = file_handle['image_mean'][()].T
brain_mask = file_handle['brain_mask'][()].T
image_peak_fine = file_handle['image_peak_fine'][()].T
bimage_peak_fine = sc.broadcast(image_peak_fine)
bimage_mean = sc.broadcast(image_mean)
blok_nmbr0 = brain_mask.size / (blok_cell_nmbr * cell_voxl_nmbr)
ijk = []
xyz = []
if lz == 1:
blok_part = np.sqrt(blok_nmbr0)
else:
blok_part = np.cbrt(blok_nmbr0)
blok_part = np.round(blok_part).astype(int)
x0_range = np.unique(np.round(np.linspace(0, lx // ds, blok_part + 1)).astype(int))
y0_range = np.unique(np.round(np.linspace(0, ly // ds, blok_part + 1)).astype(int))
z0_range = np.unique(np.round(np.linspace(0, lz, blok_part + 1)).astype(int))
for (i, x0) in enumerate(x0_range):
for (j, y0) in enumerate(y0_range):
for (k, z0) in enumerate(z0_range):
ijk.append([i, j, k])
xyz.append([x0, y0, z0])
dim = np.max(ijk, 0)
xyz = np.zeros(np.r_[dim + 1, 3], dtype=int)
XYZ[list(zip(*ijk))] = xyz
xyz0 = []
xyz1 = []
for i in range(dim[0]):
for j in range(dim[1]):
for k in range(dim[2]):
xyz0.append(XYZ[i, j, k])
xyz1.append(XYZ[i + 1, j + 1, k + 1])
blok_nmbr = len(xyz0)
xyz0 = np.array(xyz0)
xyz1 = np.array(xyz1)
(x0, y0, z0) = (xyz0[:, 0], xyz0[:, 1], xyz0[:, 2])
(x1, y1, z1) = (xyz1[:, 0], xyz1[:, 1], xyz1[:, 2])
cell_dir = output_dir + 'cell_series/' + str(frame_i)
os.system('mkdir -p ' + cell_dir)
blok_lidx = np.ones(blok_nmbr, dtype=bool)
for i in range(blok_nmbr):
blok_lidx[i] = np.any(brain_mask[x0[i]:x1[i], y0[i]:y1[i], z0[i]:z1[i]])
print('Number of blocks: total, ' + str(blok_lidx.sum()) + '.')
with h5py.File(output_dir + 'brain_mask' + str(frame_i) + '.hdf5', 'r+') as file_handle:
try:
file_handle['blok_nmbr'] = blok_nmbr
file_handle['blok_lidx'] = blok_lidx
except RuntimeError:
assert np.allclose(blok_nmbr, file_handle['blok_nmbr'][()])
assert np.allclose(blok_lidx, file_handle['blok_lidx'][()])
for i in np.where(blok_lidx)[0]:
filename = cell_dir + '/Block' + str(i).zfill(5) + '.hdf5'
if os.path.isfile(filename):
try:
with h5py.File(filename, 'r') as file_handle:
if 'success' in list(file_handle.keys()) and file_handle['success'][()]:
blok_lidx[i] = 0
except OSError:
pass
print('Number of blocks: remaining, ' + str(blok_lidx.sum()) + '.')
ix = np.where(blok_lidx)[0]
blok_ixyz01 = list(zip(ix, list(zip(x0[ix], x1[ix], y0[ix], y1[ix], z0[ix], z1[ix]))))
if blok_lidx.any():
sc.parallelize(blok_ixyz01).foreach(blok_cell_detection)
z3() |
def get_virus_areas(grid):
areas = []
dangers = []
walls = []
color = [[0] * n for i in range(m)]
for i in range(m):
for j in range(n):
if grid[i][j] == 1 and color[i][j] == 0:
area = [(i, j)]
danger = set()
wall = 0
Q = [(i, j)]
color[i][j] = 1
while Q:
s, t = Q.pop(0)
for ii, jj in adj(s, t):
if grid[ii][jj] == 1 and color[ii][jj] == 0:
color[ii][jj] = 1
Q.append((ii, jj))
area.append((ii, jj))
if grid[ii][jj] == 0:
wall += 1
danger.add((ii, jj))
areas.append(area)
dangers.append(danger)
walls.append(wall)
return areas, dangers, walls
def spread_grid(grid):
areas, dangers, walls = get_virus_areas(grid)
def spread(dangers):
for danger in dangers:
for i, j in danger:
grid[i][j] = 1
dangerest_i = 0
n_area = len(areas)
for i in range(n_area):
if len(dangers[i]) > len(dangers[dangerest_i]):
dangerest_i = i
spread(dangers[:dangerest_i] + dangers[dangerest_i + 1:]) | def get_virus_areas(grid):
areas = []
dangers = []
walls = []
color = [[0] * n for i in range(m)]
for i in range(m):
for j in range(n):
if grid[i][j] == 1 and color[i][j] == 0:
area = [(i, j)]
danger = set()
wall = 0
q = [(i, j)]
color[i][j] = 1
while Q:
(s, t) = Q.pop(0)
for (ii, jj) in adj(s, t):
if grid[ii][jj] == 1 and color[ii][jj] == 0:
color[ii][jj] = 1
Q.append((ii, jj))
area.append((ii, jj))
if grid[ii][jj] == 0:
wall += 1
danger.add((ii, jj))
areas.append(area)
dangers.append(danger)
walls.append(wall)
return (areas, dangers, walls)
def spread_grid(grid):
(areas, dangers, walls) = get_virus_areas(grid)
def spread(dangers):
for danger in dangers:
for (i, j) in danger:
grid[i][j] = 1
dangerest_i = 0
n_area = len(areas)
for i in range(n_area):
if len(dangers[i]) > len(dangers[dangerest_i]):
dangerest_i = i
spread(dangers[:dangerest_i] + dangers[dangerest_i + 1:]) |
target = df_data_card.columns[0]
class_inputs = list(df_data_card.select_dtypes(include=['object']).columns)
# impute data
df_data_card = df_data_card.fillna(df_data_card.median())
df_data_card['JOB'] = df_data_card.JOB.fillna('Other')
# dummy the categorical variables
df_data_card_ABT = pd.concat([df_data_card, pd.get_dummies(df_data_card[class_inputs])], axis = 1).drop(class_inputs, axis = 1)
df_all_inputs = df_data_card_ABT.drop(target, axis=1)
X_train, X_valid, y_train, y_valid = train_test_split(
df_all_inputs, df_data_card_ABT[target], test_size=0.33, random_state=54321)
gb = GradientBoostingClassifier(random_state=54321)
gb.fit(X_train, y_train)
| target = df_data_card.columns[0]
class_inputs = list(df_data_card.select_dtypes(include=['object']).columns)
df_data_card = df_data_card.fillna(df_data_card.median())
df_data_card['JOB'] = df_data_card.JOB.fillna('Other')
df_data_card_abt = pd.concat([df_data_card, pd.get_dummies(df_data_card[class_inputs])], axis=1).drop(class_inputs, axis=1)
df_all_inputs = df_data_card_ABT.drop(target, axis=1)
(x_train, x_valid, y_train, y_valid) = train_test_split(df_all_inputs, df_data_card_ABT[target], test_size=0.33, random_state=54321)
gb = gradient_boosting_classifier(random_state=54321)
gb.fit(X_train, y_train) |
#!/usr/bin/env python3
CENT_PER_INCH = 2.54
height_feet = int(input('Enter the "feet" part of your height: '))
height_inches = int(input('Enter the "inches" part of your height: '))
total_height_inches = height_feet * 12 + height_inches
total_cent = total_height_inches * CENT_PER_INCH
print(f"Your height of {height_feet}'{height_inches} "
f"is {total_cent:,.1f} centimeters.")
| cent_per_inch = 2.54
height_feet = int(input('Enter the "feet" part of your height: '))
height_inches = int(input('Enter the "inches" part of your height: '))
total_height_inches = height_feet * 12 + height_inches
total_cent = total_height_inches * CENT_PER_INCH
print(f"Your height of {height_feet}'{height_inches} is {total_cent:,.1f} centimeters.") |
# Copyright 2013 Google, Inc. All Rights Reserved.
#
# Google Author(s): Behdad Esfahbod, Roozbeh Pournader
class Options(object):
class UnknownOptionError(Exception):
pass
def __init__(self, **kwargs):
self.verbose = False
self.timing = False
self.drop_tables = []
self.set(**kwargs)
def set(self, **kwargs):
for k,v in kwargs.items():
if not hasattr(self, k):
raise self.UnknownOptionError("Unknown option '%s'" % k)
setattr(self, k, v)
def parse_opts(self, argv, ignore_unknown=[]):
ret = []
opts = {}
for a in argv:
orig_a = a
if not a.startswith('--'):
ret.append(a)
continue
a = a[2:]
i = a.find('=')
op = '='
if i == -1:
if a.startswith("no-"):
k = a[3:]
v = False
else:
k = a
v = True
else:
k = a[:i]
if k[-1] in "-+":
op = k[-1]+'=' # Ops is '-=' or '+=' now.
k = k[:-1]
v = a[i+1:]
ok = k
k = k.replace('-', '_')
if not hasattr(self, k):
if ignore_unknown is True or ok in ignore_unknown:
ret.append(orig_a)
continue
else:
raise self.UnknownOptionError("Unknown option '%s'" % a)
ov = getattr(self, k)
if isinstance(ov, bool):
v = bool(v)
elif isinstance(ov, int):
v = int(v)
elif isinstance(ov, list):
vv = v.split(',')
if vv == ['']:
vv = []
vv = [int(x, 0) if len(x) and x[0] in "0123456789" else x for x in vv]
if op == '=':
v = vv
elif op == '+=':
v = ov
v.extend(vv)
elif op == '-=':
v = ov
for x in vv:
if x in v:
v.remove(x)
else:
assert 0
opts[k] = v
self.set(**opts)
return ret
| class Options(object):
class Unknownoptionerror(Exception):
pass
def __init__(self, **kwargs):
self.verbose = False
self.timing = False
self.drop_tables = []
self.set(**kwargs)
def set(self, **kwargs):
for (k, v) in kwargs.items():
if not hasattr(self, k):
raise self.UnknownOptionError("Unknown option '%s'" % k)
setattr(self, k, v)
def parse_opts(self, argv, ignore_unknown=[]):
ret = []
opts = {}
for a in argv:
orig_a = a
if not a.startswith('--'):
ret.append(a)
continue
a = a[2:]
i = a.find('=')
op = '='
if i == -1:
if a.startswith('no-'):
k = a[3:]
v = False
else:
k = a
v = True
else:
k = a[:i]
if k[-1] in '-+':
op = k[-1] + '='
k = k[:-1]
v = a[i + 1:]
ok = k
k = k.replace('-', '_')
if not hasattr(self, k):
if ignore_unknown is True or ok in ignore_unknown:
ret.append(orig_a)
continue
else:
raise self.UnknownOptionError("Unknown option '%s'" % a)
ov = getattr(self, k)
if isinstance(ov, bool):
v = bool(v)
elif isinstance(ov, int):
v = int(v)
elif isinstance(ov, list):
vv = v.split(',')
if vv == ['']:
vv = []
vv = [int(x, 0) if len(x) and x[0] in '0123456789' else x for x in vv]
if op == '=':
v = vv
elif op == '+=':
v = ov
v.extend(vv)
elif op == '-=':
v = ov
for x in vv:
if x in v:
v.remove(x)
else:
assert 0
opts[k] = v
self.set(**opts)
return ret |
def remove_void(lst:list):
return list(filter(None, lst))
def remove_double_back(string:str):
string.replace("\n\n","@@@@@").replace("\n","").replace("@@@@@","")
def pretty_print(dct:dict):
for val,key in dct.items():
print(val)
for el in key:
print("\t",el)
print("\n") | def remove_void(lst: list):
return list(filter(None, lst))
def remove_double_back(string: str):
string.replace('\n\n', '@@@@@').replace('\n', '').replace('@@@@@', '')
def pretty_print(dct: dict):
for (val, key) in dct.items():
print(val)
for el in key:
print('\t', el)
print('\n') |
n=int(input())
for i in range(1,n+1):
for j in range(1,i+1):
print(j,end="")
print()
for i in range(1,n):
for j in range(n-i):
print(j+1,end="")
print() | n = int(input())
for i in range(1, n + 1):
for j in range(1, i + 1):
print(j, end='')
print()
for i in range(1, n):
for j in range(n - i):
print(j + 1, end='')
print() |
#
# PySNMP MIB module HUAWEI-UNIMNG-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-UNIMNG-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:37:33 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion")
hwDatacomm, = mibBuilder.importSymbols("HUAWEI-MIB", "hwDatacomm")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
Bits, NotificationType, Gauge32, Counter64, Integer32, TimeTicks, MibIdentifier, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, ObjectIdentity, ModuleIdentity, IpAddress, Counter32, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "NotificationType", "Gauge32", "Counter64", "Integer32", "TimeTicks", "MibIdentifier", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "ObjectIdentity", "ModuleIdentity", "IpAddress", "Counter32", "iso")
DisplayString, TextualConvention, AutonomousType, RowStatus, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "AutonomousType", "RowStatus", "MacAddress")
hwUnimngMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327))
hwUnimngMIB.setRevisions(('2015-07-09 14:07', '2015-01-09 14:07', '2014-11-18 15:30', '2014-10-29 16:57', '2014-10-23 15:30', '2014-09-11 15:30', '2014-08-19 15:30', '2014-07-10 12:50', '2014-03-03 20:00',))
if mibBuilder.loadTexts: hwUnimngMIB.setLastUpdated('201507091407Z')
if mibBuilder.loadTexts: hwUnimngMIB.setOrganization('Huawei Technologies Co.,Ltd.')
class AlarmStatus(TextualConvention, Bits):
reference = "ITU Recommendation X.731, 'Information Technology - Open Systems Interconnection - System Management: State Management Function', 1992"
status = 'current'
namedValues = NamedValues(("notSupported", 0), ("underRepair", 1), ("critical", 2), ("major", 3), ("minor", 4), ("alarmOutstanding", 5), ("warning", 6), ("indeterminate", 7))
hwUnimngObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 1))
hwUniMngEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwUniMngEnable.setStatus('current')
hwAsmngObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2))
hwAsTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1), )
if mibBuilder.loadTexts: hwAsTable.setStatus('current')
hwAsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIndex"))
if mibBuilder.loadTexts: hwAsEntry.setStatus('current')
hwAsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIndex.setStatus('current')
hwAsHardwareVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsHardwareVersion.setStatus('current')
hwAsIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 3), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsIpAddress.setStatus('current')
hwAsIpNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 4), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsIpNetMask.setStatus('current')
hwAsAccessUser = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 5), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsAccessUser.setStatus('current')
hwAsMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 6), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsMac.setStatus('current')
hwAsSn = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 7), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsSn.setStatus('current')
hwAsSysName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsSysName.setStatus('current')
hwAsRunState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("idle", 1), ("versionMismatch", 2), ("fault", 3), ("normal", 4)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsRunState.setStatus('current')
hwAsSoftwareVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsSoftwareVersion.setStatus('current')
hwAsModel = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 23))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsModel.setStatus('current')
hwAsDns = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 12), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsDns.setStatus('current')
hwAsOnlineTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 13), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsOnlineTime.setStatus('current')
hwAsCpuUseage = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 14), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsCpuUseage.setStatus('current')
hwAsMemoryUseage = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 15), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsMemoryUseage.setStatus('current')
hwAsSysMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 16), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsSysMac.setStatus('current')
hwAsStackEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsStackEnable.setStatus('current')
hwAsGatewayIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 18), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsGatewayIp.setStatus('current')
hwAsVpnInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 19), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsVpnInstance.setStatus('current')
hwAsRowstatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 50), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsRowstatus.setStatus('current')
hwAsIfTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2), )
if mibBuilder.loadTexts: hwAsIfTable.setStatus('current')
hwAsIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIfIndex"))
if mibBuilder.loadTexts: hwAsIfEntry.setStatus('current')
hwAsIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfIndex.setStatus('current')
hwAsIfDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfDescr.setStatus('current')
hwAsIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfType.setStatus('current')
hwAsIfMtu = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwAsIfMtu.setStatus('current')
hwAsIfSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 5), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfSpeed.setStatus('current')
hwAsIfPhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 6), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfPhysAddress.setStatus('current')
hwAsIfAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwAsIfAdminStatus.setStatus('current')
hwAsIfOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfOperStatus.setStatus('current')
hwAsIfInUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfInUcastPkts.setStatus('current')
hwAsIfOutUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfOutUcastPkts.setStatus('current')
hwAsIfXTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3), )
if mibBuilder.loadTexts: hwAsIfXTable.setStatus('current')
hwAsIfXEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIfIndex"))
if mibBuilder.loadTexts: hwAsIfXEntry.setStatus('current')
hwAsIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfName.setStatus('current')
hwAsIfLinkUpDownTrapEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwAsIfLinkUpDownTrapEnable.setStatus('current')
hwAsIfHighSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfHighSpeed.setStatus('current')
hwAsIfAlias = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 4), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwAsIfAlias.setStatus('current')
hwAsIfAsId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfAsId.setStatus('current')
hwAsIfHCOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfHCOutOctets.setStatus('current')
hwAsIfInMulticastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfInMulticastPkts.setStatus('current')
hwAsIfInBroadcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfInBroadcastPkts.setStatus('current')
hwAsIfOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfOutMulticastPkts.setStatus('current')
hwAsIfOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfOutBroadcastPkts.setStatus('current')
hwAsIfHCInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsIfHCInOctets.setStatus('current')
hwAsSlotTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4), )
if mibBuilder.loadTexts: hwAsSlotTable.setStatus('current')
hwAsSlotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIndex"), (0, "HUAWEI-UNIMNG-MIB", "hwAsSlotId"))
if mibBuilder.loadTexts: hwAsSlotEntry.setStatus('current')
hwAsSlotId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8)))
if mibBuilder.loadTexts: hwAsSlotId.setStatus('current')
hwAsSlotState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsSlotState.setStatus('current')
hwAsSlotRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1, 20), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsSlotRowStatus.setStatus('current')
hwAsmngGlobalObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 5))
hwAsAutoReplaceEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwAsAutoReplaceEnable.setStatus('current')
hwAsAuthMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("auth", 1), ("noAuth", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwAsAuthMode.setStatus('current')
hwAsMacWhitelistTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6), )
if mibBuilder.loadTexts: hwAsMacWhitelistTable.setStatus('current')
hwAsMacWhitelistEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsMacWhitelistMacAddr"))
if mibBuilder.loadTexts: hwAsMacWhitelistEntry.setStatus('current')
hwAsMacWhitelistMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6, 1, 1), MacAddress())
if mibBuilder.loadTexts: hwAsMacWhitelistMacAddr.setStatus('current')
hwAsMacWhitelistRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsMacWhitelistRowStatus.setStatus('current')
hwAsMacBlacklistTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7), )
if mibBuilder.loadTexts: hwAsMacBlacklistTable.setStatus('current')
hwAsMacBlacklistEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsMacBlacklistMacAddr"))
if mibBuilder.loadTexts: hwAsMacBlacklistEntry.setStatus('current')
hwAsMacBlacklistMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7, 1, 1), MacAddress())
if mibBuilder.loadTexts: hwAsMacBlacklistMacAddr.setStatus('current')
hwAsMacBlacklistRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwAsMacBlacklistRowStatus.setStatus('current')
hwAsEntityPhysicalTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8), )
if mibBuilder.loadTexts: hwAsEntityPhysicalTable.setStatus('current')
hwAsEntityPhysicalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIndex"), (0, "HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalIndex"))
if mibBuilder.loadTexts: hwAsEntityPhysicalEntry.setStatus('current')
hwAsEntityPhysicalIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 1), Integer32())
if mibBuilder.loadTexts: hwAsEntityPhysicalIndex.setStatus('current')
hwAsEntityPhysicalDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalDescr.setStatus('current')
hwAsEntityPhysicalVendorType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 3), AutonomousType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalVendorType.setStatus('current')
hwAsEntityPhysicalContainedIn = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalContainedIn.setStatus('current')
hwAsEntityPhysicalClass = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("chassis", 3), ("backplane", 4), ("container", 5), ("powerSupply", 6), ("fan", 7), ("sensor", 8), ("module", 9), ("port", 10), ("stack", 11)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalClass.setStatus('current')
hwAsEntityPhysicalParentRelPos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalParentRelPos.setStatus('current')
hwAsEntityPhysicalName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 7), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalName.setStatus('current')
hwAsEntityPhysicalHardwareRev = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 8), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalHardwareRev.setStatus('current')
hwAsEntityPhysicalFirmwareRev = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 9), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalFirmwareRev.setStatus('current')
hwAsEntityPhysicalSoftwareRev = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 10), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalSoftwareRev.setStatus('current')
hwAsEntityPhysicalSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 11), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalSerialNum.setStatus('current')
hwAsEntityPhysicalMfgName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 12), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPhysicalMfgName.setStatus('current')
hwAsEntityStateTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9), )
if mibBuilder.loadTexts: hwAsEntityStateTable.setStatus('current')
hwAsEntityStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIndex"), (0, "HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalIndex"))
if mibBuilder.loadTexts: hwAsEntityStateEntry.setStatus('current')
hwAsEntityAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 11, 12, 13))).clone(namedValues=NamedValues(("notSupported", 1), ("locked", 2), ("shuttingDown", 3), ("unlocked", 4), ("up", 11), ("down", 12), ("loopback", 13)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityAdminStatus.setStatus('current')
hwAsEntityOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 11, 12, 13, 15, 16, 17))).clone(namedValues=NamedValues(("notSupported", 1), ("disabled", 2), ("enabled", 3), ("offline", 4), ("up", 11), ("down", 12), ("connect", 13), ("protocolUp", 15), ("linkUp", 16), ("linkDown", 17)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityOperStatus.setStatus('current')
hwAsEntityStandbyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notSupported", 1), ("hotStandby", 2), ("coldStandby", 3), ("providingService", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityStandbyStatus.setStatus('current')
hwAsEntityAlarmLight = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 4), AlarmStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityAlarmLight.setStatus('current')
hwAsEntityPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notSupported", 1), ("copper", 2), ("fiber100", 3), ("fiber1000", 4), ("fiber10000", 5), ("opticalnotExist", 6), ("optical", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntityPortType.setStatus('current')
hwAsEntityAliasMappingTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10), )
if mibBuilder.loadTexts: hwAsEntityAliasMappingTable.setStatus('current')
hwAsEntityAliasMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwAsIndex"), (0, "HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalIndex"), (0, "HUAWEI-UNIMNG-MIB", "hwAsEntryAliasLogicalIndexOrZero"))
if mibBuilder.loadTexts: hwAsEntityAliasMappingEntry.setStatus('current')
hwAsEntryAliasLogicalIndexOrZero = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10, 1, 1), Integer32())
if mibBuilder.loadTexts: hwAsEntryAliasLogicalIndexOrZero.setStatus('current')
hwAsEntryAliasMappingIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10, 1, 2), AutonomousType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwAsEntryAliasMappingIdentifier.setStatus('current')
hwTopomngObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3))
hwTopomngExploreTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440)).clone(10)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwTopomngExploreTime.setStatus('current')
hwTopomngLastCollectDuration = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopomngLastCollectDuration.setStatus('current')
hwTopomngTopoTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11), )
if mibBuilder.loadTexts: hwTopomngTopoTable.setStatus('current')
hwTopomngTopoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwTopoLocalHop"), (0, "HUAWEI-UNIMNG-MIB", "hwTopoLocalMac"), (0, "HUAWEI-UNIMNG-MIB", "hwTopoPeerDeviceIndex"))
if mibBuilder.loadTexts: hwTopomngTopoEntry.setStatus('current')
hwTopoLocalHop = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8)))
if mibBuilder.loadTexts: hwTopoLocalHop.setStatus('current')
hwTopoLocalMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 2), MacAddress())
if mibBuilder.loadTexts: hwTopoLocalMac.setStatus('current')
hwTopoPeerDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)))
if mibBuilder.loadTexts: hwTopoPeerDeviceIndex.setStatus('current')
hwTopoPeerMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 4), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoPeerMac.setStatus('current')
hwTopoLocalPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoLocalPortName.setStatus('current')
hwTopoPeerPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoPeerPortName.setStatus('current')
hwTopoLocalTrunkId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoLocalTrunkId.setStatus('current')
hwTopoPeerTrunkId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoPeerTrunkId.setStatus('current')
hwTopoLocalRole = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("roleUC", 1), ("roleAS", 2), ("roleAP", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoLocalRole.setStatus('current')
hwTopoPeerRole = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("roleUC", 1), ("roleAS", 2), ("roleAP", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwTopoPeerRole.setStatus('current')
hwMbrmngObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4))
hwMbrMngFabricPortTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2), )
if mibBuilder.loadTexts: hwMbrMngFabricPortTable.setStatus('current')
hwMbrMngFabricPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwMbrMngASId"), (0, "HUAWEI-UNIMNG-MIB", "hwMbrMngFabricPortId"))
if mibBuilder.loadTexts: hwMbrMngFabricPortEntry.setStatus('current')
hwMbrMngASId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)))
if mibBuilder.loadTexts: hwMbrMngASId.setStatus('current')
hwMbrMngFabricPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: hwMbrMngFabricPortId.setStatus('current')
hwMbrMngFabricPortMemberIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwMbrMngFabricPortMemberIfName.setStatus('current')
hwMbrMngFabricPortDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("downDirection", 1), ("upDirection", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwMbrMngFabricPortDirection.setStatus('current')
hwMbrMngFabricPortIndirectFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("indirect", 1), ("direct", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwMbrMngFabricPortIndirectFlag.setStatus('current')
hwMbrMngFabricPortDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwMbrMngFabricPortDescription.setStatus('current')
hwVermngObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5))
hwVermngGlobalObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 1))
hwVermngFileServerType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("ftp", 1), ("sftp", 2), ("none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngFileServerType.setStatus('current')
hwVermngUpgradeInfoTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2), )
if mibBuilder.loadTexts: hwVermngUpgradeInfoTable.setStatus('current')
hwVermngUpgradeInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsIndex"))
if mibBuilder.loadTexts: hwVermngUpgradeInfoEntry.setStatus('current')
hwVermngUpgradeInfoAsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsIndex.setStatus('current')
hwVermngUpgradeInfoAsName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsName.setStatus('current')
hwVermngUpgradeInfoAsSysSoftware = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsSysSoftware.setStatus('current')
hwVermngUpgradeInfoAsSysSoftwareVer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsSysSoftwareVer.setStatus('current')
hwVermngUpgradeInfoAsSysPatch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsSysPatch.setStatus('current')
hwVermngUpgradeInfoAsDownloadSoftware = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsDownloadSoftware.setStatus('current')
hwVermngUpgradeInfoAsDownloadSoftwareVer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsDownloadSoftwareVer.setStatus('current')
hwVermngUpgradeInfoAsDownloadPatch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsDownloadPatch.setStatus('current')
hwVermngUpgradeInfoAsUpgradeState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("noUpgrade", 1), ("upgrading", 2), ("none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsUpgradeState.setStatus('current')
hwVermngUpgradeInfoAsUpgradeType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("verSync", 1), ("manual", 2), ("none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsUpgradeType.setStatus('current')
hwVermngUpgradeInfoAsFilePhase = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("systemSoftware", 1), ("patch", 2), ("none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsFilePhase.setStatus('current')
hwVermngUpgradeInfoAsUpgradePhase = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 255))).clone(namedValues=NamedValues(("downloadFile", 1), ("wait", 2), ("activateFile", 3), ("reboot", 4), ("none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsUpgradePhase.setStatus('current')
hwVermngUpgradeInfoAsUpgradeResult = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("successfully", 1), ("failed", 2), ("none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsUpgradeResult.setStatus('current')
hwVermngUpgradeInfoAsErrorCode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsErrorCode.setStatus('current')
hwVermngUpgradeInfoAsErrorDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 15), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwVermngUpgradeInfoAsErrorDescr.setStatus('current')
hwVermngAsTypeCfgInfoTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3), )
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoTable.setStatus('current')
hwVermngAsTypeCfgInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoAsTypeIndex"))
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoEntry.setStatus('current')
hwVermngAsTypeCfgInfoAsTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoAsTypeIndex.setStatus('current')
hwVermngAsTypeCfgInfoAsTypeName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 2), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoAsTypeName.setStatus('current')
hwVermngAsTypeCfgInfoSystemSoftware = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 3), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoSystemSoftware.setStatus('current')
hwVermngAsTypeCfgInfoSystemSoftwareVer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 4), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoSystemSoftwareVer.setStatus('current')
hwVermngAsTypeCfgInfoPatch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 5), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoPatch.setStatus('current')
hwVermngAsTypeCfgInfoRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 50), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwVermngAsTypeCfgInfoRowStatus.setStatus('current')
hwTplmObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6))
hwTplmASGroupTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11), )
if mibBuilder.loadTexts: hwTplmASGroupTable.setStatus('current')
hwTplmASGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwTplmASGroupIndex"))
if mibBuilder.loadTexts: hwTplmASGroupEntry.setStatus('current')
hwTplmASGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)))
if mibBuilder.loadTexts: hwTplmASGroupIndex.setStatus('current')
hwTplmASGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmASGroupName.setStatus('current')
hwTplmASAdminProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmASAdminProfileName.setStatus('current')
hwTplmASGroupProfileStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmASGroupProfileStatus.setStatus('current')
hwTplmASGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmASGroupRowStatus.setStatus('current')
hwTplmASTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12), )
if mibBuilder.loadTexts: hwTplmASTable.setStatus('current')
hwTplmASEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwTplmASId"))
if mibBuilder.loadTexts: hwTplmASEntry.setStatus('current')
hwTplmASId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: hwTplmASId.setStatus('current')
hwTplmASASGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmASASGroupName.setStatus('current')
hwTplmASRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmASRowStatus.setStatus('current')
hwTplmPortGroupTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13), )
if mibBuilder.loadTexts: hwTplmPortGroupTable.setStatus('current')
hwTplmPortGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwTplmPortGroupIndex"))
if mibBuilder.loadTexts: hwTplmPortGroupEntry.setStatus('current')
hwTplmPortGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 257)))
if mibBuilder.loadTexts: hwTplmPortGroupIndex.setStatus('current')
hwTplmPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupName.setStatus('current')
hwTplmPortGroupType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("service", 1), ("ap", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupType.setStatus('current')
hwTplmPortGroupNetworkBasicProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupNetworkBasicProfile.setStatus('current')
hwTplmPortGroupNetworkEnhancedProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupNetworkEnhancedProfile.setStatus('current')
hwTplmPortGroupUserAccessProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupUserAccessProfile.setStatus('current')
hwTplmPortGroupProfileStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupProfileStatus.setStatus('current')
hwTplmPortGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortGroupRowStatus.setStatus('current')
hwTplmPortTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14), )
if mibBuilder.loadTexts: hwTplmPortTable.setStatus('current')
hwTplmPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwTplmPortIfIndex"))
if mibBuilder.loadTexts: hwTplmPortEntry.setStatus('current')
hwTplmPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1, 1), Integer32())
if mibBuilder.loadTexts: hwTplmPortIfIndex.setStatus('current')
hwTplmPortPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortPortGroupName.setStatus('current')
hwTplmPortRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwTplmPortRowStatus.setStatus('current')
hwTplmConfigManagement = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15))
hwTplmConfigCommitAll = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("commit", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwTplmConfigCommitAll.setStatus('current')
hwTplmConfigManagementTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2), )
if mibBuilder.loadTexts: hwTplmConfigManagementTable.setStatus('current')
hwTplmConfigManagementEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2, 1), ).setIndexNames((0, "HUAWEI-UNIMNG-MIB", "hwTplmConfigManagementASId"))
if mibBuilder.loadTexts: hwTplmConfigManagementEntry.setStatus('current')
hwTplmConfigManagementASId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: hwTplmConfigManagementASId.setStatus('current')
hwTplmConfigManagementCommit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("commit", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwTplmConfigManagementCommit.setStatus('current')
hwUnimngNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31))
hwTopomngTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1))
hwTopomngTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1))
hwTopomngTrapLocalMac = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 1), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapLocalMac.setStatus('current')
hwTopomngTrapLocalPortName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapLocalPortName.setStatus('current')
hwTopomngTrapLocalTrunkId = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapLocalTrunkId.setStatus('current')
hwTopomngTrapPeerMac = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 4), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapPeerMac.setStatus('current')
hwTopomngTrapPeerPortName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapPeerPortName.setStatus('current')
hwTopomngTrapPeerTrunkId = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapPeerTrunkId.setStatus('current')
hwTopomngTrapReason = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTopomngTrapReason.setStatus('current')
hwTopomngTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 2))
hwTopomngLinkNormal = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalMac"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerMac"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapReason"))
if mibBuilder.loadTexts: hwTopomngLinkNormal.setStatus('current')
hwTopomngLinkAbnormal = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 2, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalMac"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerMac"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapReason"))
if mibBuilder.loadTexts: hwTopomngLinkAbnormal.setStatus('current')
hwAsmngTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2))
hwAsmngTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1))
hwAsmngTrapAsIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 1), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsIndex.setStatus('current')
hwAsmngTrapAsModel = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 2), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsModel.setStatus('current')
hwAsmngTrapAsSysName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 3), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsSysName.setStatus('current')
hwAsmngTrapAsMac = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 4), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsMac.setStatus('current')
hwAsmngTrapAsSn = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 5), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsSn.setStatus('current')
hwAsmngTrapAsIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 6), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsIfIndex.setStatus('current')
hwAsmngTrapAsIfOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 7), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsIfOperStatus.setStatus('current')
hwAsmngTrapAsFaultTimes = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 8), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsFaultTimes.setStatus('current')
hwAsmngTrapAsIfAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 9), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsIfAdminStatus.setStatus('current')
hwAsmngTrapAsIfName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 10), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsIfName.setStatus('current')
hwAsmngTrapAsActualeType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 11), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsActualeType.setStatus('current')
hwAsmngTrapAsVersion = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 12), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsVersion.setStatus('current')
hwAsmngTrapParentVersion = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 13), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapParentVersion.setStatus('current')
hwAsmngTrapAddedAsMac = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 14), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAddedAsMac.setStatus('current')
hwAsmngTrapAsSlotId = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 15), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsSlotId.setStatus('current')
hwAsmngTrapAddedAsSlotType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 16), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAddedAsSlotType.setStatus('current')
hwAsmngTrapAsPermitNum = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 17), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsPermitNum.setStatus('current')
hwAsmngTrapAsUnimngMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 18), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsUnimngMode.setStatus('current')
hwAsmngTrapParentUnimngMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 19), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapParentUnimngMode.setStatus('current')
hwAsmngTrapAsIfType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 20), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsIfType.setStatus('current')
hwAsmngTrapAsOnlineFailReasonId = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 21), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsOnlineFailReasonId.setStatus('current')
hwAsmngTrapAsOnlineFailReasonDesc = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 22), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwAsmngTrapAsOnlineFailReasonDesc.setStatus('current')
hwAsmngTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2))
hwAsFaultNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsFaultTimes"))
if mibBuilder.loadTexts: hwAsFaultNotify.setStatus('current')
hwAsNormalNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"))
if mibBuilder.loadTexts: hwAsNormalNotify.setStatus('current')
hwAsAddOffLineNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"))
if mibBuilder.loadTexts: hwAsAddOffLineNotify.setStatus('current')
hwAsDelOffLineNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"))
if mibBuilder.loadTexts: hwAsDelOffLineNotify.setStatus('current')
hwAsPortStateChangeToDownNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 5)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfAdminStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfOperStatus"))
if mibBuilder.loadTexts: hwAsPortStateChangeToDownNotify.setStatus('current')
hwAsPortStateChangeToUpNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 6)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfAdminStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfOperStatus"))
if mibBuilder.loadTexts: hwAsPortStateChangeToUpNotify.setStatus('current')
hwAsModelNotMatchNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 7)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsActualeType"))
if mibBuilder.loadTexts: hwAsModelNotMatchNotify.setStatus('current')
hwAsVersionNotMatchNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 8)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsVersion"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapParentVersion"))
if mibBuilder.loadTexts: hwAsVersionNotMatchNotify.setStatus('current')
hwAsNameConflictNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 9)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAddedAsMac"))
if mibBuilder.loadTexts: hwAsNameConflictNotify.setStatus('current')
hwAsSlotModelNotMatchNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 10)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAddedAsSlotType"))
if mibBuilder.loadTexts: hwAsSlotModelNotMatchNotify.setStatus('current')
hwAsFullNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 11)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsPermitNum"))
if mibBuilder.loadTexts: hwAsFullNotify.setStatus('current')
hwUnimngModeNotMatchNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 12)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsUnimngMode"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapParentUnimngMode"))
if mibBuilder.loadTexts: hwUnimngModeNotMatchNotify.setStatus('current')
hwAsBoardAddNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 13)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"))
if mibBuilder.loadTexts: hwAsBoardAddNotify.setStatus('current')
hwAsBoardDeleteNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 14)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"))
if mibBuilder.loadTexts: hwAsBoardDeleteNotify.setStatus('current')
hwAsBoardPlugInNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 15)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"))
if mibBuilder.loadTexts: hwAsBoardPlugInNotify.setStatus('current')
hwAsBoardPlugOutNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 16)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"))
if mibBuilder.loadTexts: hwAsBoardPlugOutNotify.setStatus('current')
hwAsInBlacklistNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 17)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"))
if mibBuilder.loadTexts: hwAsInBlacklistNotify.setStatus('current')
hwAsUnconfirmedNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 18)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"))
if mibBuilder.loadTexts: hwAsUnconfirmedNotify.setStatus('current')
hwAsComboPortTypeChangeNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 19)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfType"))
if mibBuilder.loadTexts: hwAsComboPortTypeChangeNotify.setStatus('current')
hwAsOnlineFailNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 20)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsOnlineFailReasonId"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsOnlineFailReasonDesc"))
if mibBuilder.loadTexts: hwAsOnlineFailNotify.setStatus('current')
hwAsSlotIdInvalidNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 21)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"))
if mibBuilder.loadTexts: hwAsSlotIdInvalidNotify.setStatus('current')
hwAsSysmacSwitchCfgErrNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 22)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"))
if mibBuilder.loadTexts: hwAsSysmacSwitchCfgErrNotify.setStatus('current')
hwUniMbrTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3))
hwUniMbrTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1))
hwUniMbrLinkStatTrapLocalMac = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 1), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrLinkStatTrapLocalMac.setStatus('current')
hwUniMbrLinkStatTrapLocalPortName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 2), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrLinkStatTrapLocalPortName.setStatus('current')
hwUniMbrLinkStatTrapChangeType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up2down", 1), ("down2up", 2)))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrLinkStatTrapChangeType.setStatus('current')
hwUniMbrTrapConnectErrorReason = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 4), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrTrapConnectErrorReason.setStatus('current')
hwUniMbrTrapReceivePktRate = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 5), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrTrapReceivePktRate.setStatus('current')
hwUniMbrTrapAsIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 6), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrTrapAsIndex.setStatus('current')
hwUniMbrTrapAsSysName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 7), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrTrapAsSysName.setStatus('current')
hwUniMbrParaSynFailReason = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 8), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrParaSynFailReason.setStatus('current')
hwUniMbrTrapIllegalConfigReason = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 9), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniMbrTrapIllegalConfigReason.setStatus('current')
hwUniMbrTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2))
hwUniMbrConnectError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapConnectErrorReason"))
if mibBuilder.loadTexts: hwUniMbrConnectError.setStatus('current')
hwUniMbrASDiscoverAttack = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrLinkStatTrapLocalPortName"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapReceivePktRate"))
if mibBuilder.loadTexts: hwUniMbrASDiscoverAttack.setStatus('current')
hwUniMbrFabricPortMemberDelete = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrLinkStatTrapLocalPortName"))
if mibBuilder.loadTexts: hwUniMbrFabricPortMemberDelete.setStatus('current')
hwUniMbrIllegalFabricConfig = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapIllegalConfigReason"))
if mibBuilder.loadTexts: hwUniMbrIllegalFabricConfig.setStatus('current')
hwVermngTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4))
hwVermngTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4, 1))
hwVermngTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4, 2))
hwVermngUpgradeFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsErrorCode"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsErrorDescr"))
if mibBuilder.loadTexts: hwVermngUpgradeFail.setStatus('current')
hwTplmTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5))
hwTplmTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 1))
hwTplmTrapASName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTplmTrapASName.setStatus('current')
hwTplmTrapFailedReason = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 1, 2), OctetString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwTplmTrapFailedReason.setStatus('current')
hwTplmTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2))
hwTplmCmdExecuteFailedNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmTrapASName"), ("HUAWEI-UNIMNG-MIB", "hwTplmTrapFailedReason"))
if mibBuilder.loadTexts: hwTplmCmdExecuteFailedNotify.setStatus('current')
hwTplmCmdExecuteSuccessfulNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmTrapASName"))
if mibBuilder.loadTexts: hwTplmCmdExecuteSuccessfulNotify.setStatus('current')
hwTplmDirectCmdRecoverFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmTrapASName"))
if mibBuilder.loadTexts: hwTplmDirectCmdRecoverFail.setStatus('current')
hwUniAsBaseTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6))
hwUniAsBaseTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1))
hwUniAsBaseAsName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 1), DisplayString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseAsName.setStatus('current')
hwUniAsBaseAsId = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 2), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseAsId.setStatus('current')
hwUniAsBaseEntityPhysicalIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 3), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntityPhysicalIndex.setStatus('current')
hwUniAsBaseTrapSeverity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 4), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseTrapSeverity.setStatus('current')
hwUniAsBaseTrapProbableCause = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 5), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseTrapProbableCause.setStatus('current')
hwUniAsBaseTrapEventType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 6), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseTrapEventType.setStatus('current')
hwUniAsBaseEntPhysicalContainedIn = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 7), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntPhysicalContainedIn.setStatus('current')
hwUniAsBaseEntPhysicalName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 8), DisplayString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntPhysicalName.setStatus('current')
hwUniAsBaseRelativeResource = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 9), DisplayString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseRelativeResource.setStatus('current')
hwUniAsBaseReasonDescription = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 10), DisplayString()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseReasonDescription.setStatus('current')
hwUniAsBaseThresholdType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 11), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdType.setStatus('current')
hwUniAsBaseThresholdValue = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 12), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdValue.setStatus('current')
hwUniAsBaseThresholdUnit = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 13), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdUnit.setStatus('current')
hwUniAsBaseThresholdHighWarning = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 14), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdHighWarning.setStatus('current')
hwUniAsBaseThresholdHighCritical = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 15), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdHighCritical.setStatus('current')
hwUniAsBaseThresholdLowWarning = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 16), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdLowWarning.setStatus('current')
hwUniAsBaseThresholdLowCritical = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 17), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdLowCritical.setStatus('current')
hwUniAsBaseEntityTrapEntType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 18), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntityTrapEntType.setStatus('current')
hwUniAsBaseEntityTrapEntFaultID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 19), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntityTrapEntFaultID.setStatus('current')
hwUniAsBaseEntityTrapCommunicateType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 20), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntityTrapCommunicateType.setStatus('current')
hwUniAsBaseThresholdEntValue = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 21), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdEntValue.setStatus('current')
hwUniAsBaseThresholdEntCurrent = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 22), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdEntCurrent.setStatus('current')
hwUniAsBaseEntPhysicalIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 23), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseEntPhysicalIndex.setStatus('current')
hwUniAsBaseThresholdHwBaseThresholdType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 24), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdHwBaseThresholdType.setStatus('current')
hwUniAsBaseThresholdHwBaseThresholdIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 25), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hwUniAsBaseThresholdHwBaseThresholdIndex.setStatus('current')
hwUniAsBaseTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2))
hwASEnvironmentTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 2))
hwASBrdTempAlarm = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASBrdTempAlarm.setStatus('current')
hwASBrdTempResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 2, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASBrdTempResume.setStatus('current')
hwASBoardTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 3))
hwASBoardFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 3, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASBoardFail.setStatus('current')
hwASBoardFailResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 3, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASBoardFailResume.setStatus('current')
hwASOpticalTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 4))
hwASOpticalInvalid = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 4, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASOpticalInvalid.setStatus('current')
hwASOpticalInvalidResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 4, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASOpticalInvalidResume.setStatus('current')
hwASPowerTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5))
hwASPowerRemove = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASPowerRemove.setStatus('current')
hwASPowerInsert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASPowerInsert.setStatus('current')
hwASPowerInvalid = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASPowerInvalid.setStatus('current')
hwASPowerInvalidResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASPowerInvalidResume.setStatus('current')
hwASFanTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6))
hwASFanRemove = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASFanRemove.setStatus('current')
hwASFanInsert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASFanInsert.setStatus('current')
hwASFanInvalid = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASFanInvalid.setStatus('current')
hwASFanInvalidResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASFanInvalidResume.setStatus('current')
hwASCommunicateTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 7))
hwASCommunicateError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 7, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapCommunicateType"))
if mibBuilder.loadTexts: hwASCommunicateError.setStatus('current')
hwASCommunicateResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 7, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapCommunicateType"))
if mibBuilder.loadTexts: hwASCommunicateResume.setStatus('current')
hwASCPUTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 8))
hwASCPUUtilizationRising = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 8, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASCPUUtilizationRising.setStatus('current')
hwASCPUUtilizationResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 8, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASCPUUtilizationResume.setStatus('current')
hwASMemoryTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 9))
hwASMemUtilizationRising = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 9, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASMemUtilizationRising.setStatus('current')
hwASMemUtilizationResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 9, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"))
if mibBuilder.loadTexts: hwASMemUtilizationResume.setStatus('current')
hwASMadTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 10))
hwASMadConflictDetect = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 10, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"))
if mibBuilder.loadTexts: hwASMadConflictDetect.setStatus('current')
hwASMadConflictResume = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 10, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"))
if mibBuilder.loadTexts: hwASMadConflictResume.setStatus('current')
hwUnimngConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50))
hwTopomngCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1))
hwTopomngCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopomngObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTopoGroup"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTopomngCompliance = hwTopomngCompliance.setStatus('current')
hwTopomngObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopomngExploreTime"), ("HUAWEI-UNIMNG-MIB", "hwTopomngLastCollectDuration"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTopomngObjectsGroup = hwTopomngObjectsGroup.setStatus('current')
hwTopomngTopoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopoPeerMac"), ("HUAWEI-UNIMNG-MIB", "hwTopoLocalPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopoPeerPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopoLocalTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopoPeerTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopoLocalRole"), ("HUAWEI-UNIMNG-MIB", "hwTopoPeerRole"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTopomngTopoGroup = hwTopomngTopoGroup.setStatus('current')
hwTopomngTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalMac"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapLocalTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerMac"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerPortName"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapPeerTrunkId"), ("HUAWEI-UNIMNG-MIB", "hwTopomngTrapReason"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTopomngTrapObjectsGroup = hwTopomngTrapObjectsGroup.setStatus('current')
hwTopomngTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTopomngLinkNormal"), ("HUAWEI-UNIMNG-MIB", "hwTopomngLinkAbnormal"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTopomngTrapsGroup = hwTopomngTrapsGroup.setStatus('current')
hwAsmngCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2))
hwAsmngCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngAsGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngAsIfGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngAsIfXGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapsGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngGlobalObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngMacWhitelistGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngMacBlacklistGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngEntityPhysicalGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngEntityStateGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngEntityAliasMappingGroup"), ("HUAWEI-UNIMNG-MIB", "hwAsmngSlotGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngCompliance = hwAsmngCompliance.setStatus('current')
hwAsmngObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMngEnable"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngObjectsGroup = hwAsmngObjectsGroup.setStatus('current')
hwAsmngAsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsHardwareVersion"), ("HUAWEI-UNIMNG-MIB", "hwAsIpAddress"), ("HUAWEI-UNIMNG-MIB", "hwAsIpNetMask"), ("HUAWEI-UNIMNG-MIB", "hwAsAccessUser"), ("HUAWEI-UNIMNG-MIB", "hwAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsSn"), ("HUAWEI-UNIMNG-MIB", "hwAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsRunState"), ("HUAWEI-UNIMNG-MIB", "hwAsSoftwareVersion"), ("HUAWEI-UNIMNG-MIB", "hwAsDns"), ("HUAWEI-UNIMNG-MIB", "hwAsOnlineTime"), ("HUAWEI-UNIMNG-MIB", "hwAsCpuUseage"), ("HUAWEI-UNIMNG-MIB", "hwAsMemoryUseage"), ("HUAWEI-UNIMNG-MIB", "hwAsSysMac"), ("HUAWEI-UNIMNG-MIB", "hwAsStackEnable"), ("HUAWEI-UNIMNG-MIB", "hwAsGatewayIp"), ("HUAWEI-UNIMNG-MIB", "hwAsRowstatus"), ("HUAWEI-UNIMNG-MIB", "hwAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsVpnInstance"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngAsGroup = hwAsmngAsGroup.setStatus('current')
hwAsmngAsIfGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsIfDescr"), ("HUAWEI-UNIMNG-MIB", "hwAsIfType"), ("HUAWEI-UNIMNG-MIB", "hwAsIfMtu"), ("HUAWEI-UNIMNG-MIB", "hwAsIfSpeed"), ("HUAWEI-UNIMNG-MIB", "hwAsIfPhysAddress"), ("HUAWEI-UNIMNG-MIB", "hwAsIfAdminStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsIfInUcastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfOutUcastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfOperStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsIfIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngAsIfGroup = hwAsmngAsIfGroup.setStatus('current')
hwAsmngAsIfXGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsIfLinkUpDownTrapEnable"), ("HUAWEI-UNIMNG-MIB", "hwAsIfHighSpeed"), ("HUAWEI-UNIMNG-MIB", "hwAsIfAlias"), ("HUAWEI-UNIMNG-MIB", "hwAsIfInUcastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfOutUcastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfHCOutOctets"), ("HUAWEI-UNIMNG-MIB", "hwAsIfInMulticastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfInBroadcastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfOutMulticastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfOutBroadcastPkts"), ("HUAWEI-UNIMNG-MIB", "hwAsIfHCInOctets"), ("HUAWEI-UNIMNG-MIB", "hwAsIfAsId"), ("HUAWEI-UNIMNG-MIB", "hwAsIfName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngAsIfXGroup = hwAsmngAsIfXGroup.setStatus('current')
hwAsmngTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 5)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsModel"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSn"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfIndex"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfOperStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsFaultTimes"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfAdminStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfName"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsActualeType"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsVersion"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapParentVersion"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAddedAsMac"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsSlotId"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAddedAsSlotType"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsPermitNum"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsUnimngMode"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapParentUnimngMode"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsIfType"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsOnlineFailReasonId"), ("HUAWEI-UNIMNG-MIB", "hwAsmngTrapAsOnlineFailReasonDesc"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngTrapObjectsGroup = hwAsmngTrapObjectsGroup.setStatus('current')
hwAsmngTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 6)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsFaultNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsNormalNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsAddOffLineNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsDelOffLineNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsPortStateChangeToDownNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsPortStateChangeToUpNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsModelNotMatchNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsVersionNotMatchNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsNameConflictNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsSlotModelNotMatchNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsFullNotify"), ("HUAWEI-UNIMNG-MIB", "hwUnimngModeNotMatchNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsBoardAddNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsBoardDeleteNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsBoardPlugInNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsBoardPlugOutNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsInBlacklistNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsUnconfirmedNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsComboPortTypeChangeNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsOnlineFailNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsSlotIdInvalidNotify"), ("HUAWEI-UNIMNG-MIB", "hwAsSysmacSwitchCfgErrNotify"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngTrapsGroup = hwAsmngTrapsGroup.setStatus('current')
hwAsmngGlobalObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 7)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsAutoReplaceEnable"), ("HUAWEI-UNIMNG-MIB", "hwAsAuthMode"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngGlobalObjectsGroup = hwAsmngGlobalObjectsGroup.setStatus('current')
hwAsmngMacWhitelistGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 8)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsMacWhitelistRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngMacWhitelistGroup = hwAsmngMacWhitelistGroup.setStatus('current')
hwAsmngMacBlacklistGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 9)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsMacBlacklistRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngMacBlacklistGroup = hwAsmngMacBlacklistGroup.setStatus('current')
hwAsmngEntityPhysicalGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 10)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalDescr"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalVendorType"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalContainedIn"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalClass"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalParentRelPos"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalHardwareRev"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalFirmwareRev"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalSoftwareRev"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalSerialNum"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPhysicalMfgName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngEntityPhysicalGroup = hwAsmngEntityPhysicalGroup.setStatus('current')
hwAsmngEntityStateGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 11)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsEntityAdminStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityOperStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityStandbyStatus"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityAlarmLight"), ("HUAWEI-UNIMNG-MIB", "hwAsEntityPortType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngEntityStateGroup = hwAsmngEntityStateGroup.setStatus('current')
hwAsmngEntityAliasMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 12)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsEntryAliasMappingIdentifier"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngEntityAliasMappingGroup = hwAsmngEntityAliasMappingGroup.setStatus('current')
hwAsmngSlotGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 13)).setObjects(("HUAWEI-UNIMNG-MIB", "hwAsSlotState"), ("HUAWEI-UNIMNG-MIB", "hwAsSlotRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwAsmngSlotGroup = hwAsmngSlotGroup.setStatus('current')
hwMbrCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3))
hwMbrCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwMbrTrapObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwMbrTrapsGroup"), ("HUAWEI-UNIMNG-MIB", "hwMbrFabricPortGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwMbrCompliance = hwMbrCompliance.setStatus('current')
hwMbrTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMbrLinkStatTrapLocalMac"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrLinkStatTrapLocalPortName"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrLinkStatTrapChangeType"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapConnectErrorReason"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapReceivePktRate"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapAsSysName"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrParaSynFailReason"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrTrapIllegalConfigReason"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwMbrTrapObjectsGroup = hwMbrTrapObjectsGroup.setStatus('current')
hwMbrTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniMbrConnectError"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrASDiscoverAttack"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrFabricPortMemberDelete"), ("HUAWEI-UNIMNG-MIB", "hwUniMbrIllegalFabricConfig"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwMbrTrapsGroup = hwMbrTrapsGroup.setStatus('current')
hwMbrFabricPortGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwMbrMngFabricPortMemberIfName"), ("HUAWEI-UNIMNG-MIB", "hwMbrMngFabricPortDirection"), ("HUAWEI-UNIMNG-MIB", "hwMbrMngFabricPortIndirectFlag"), ("HUAWEI-UNIMNG-MIB", "hwMbrMngFabricPortDescription"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwMbrFabricPortGroup = hwMbrFabricPortGroup.setStatus('current')
hwVermngCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4))
hwVermngCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwVermngObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoGroup"), ("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoGroup"), ("HUAWEI-UNIMNG-MIB", "hwVermngTrapsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwVermngCompliance = hwVermngCompliance.setStatus('current')
hwVermngObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwVermngFileServerType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwVermngObjectsGroup = hwVermngObjectsGroup.setStatus('current')
hwVermngUpgradeInfoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsName"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsSysSoftware"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsSysSoftwareVer"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsSysPatch"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsDownloadSoftware"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsDownloadSoftwareVer"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsDownloadPatch"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsUpgradeState"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsUpgradeType"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsFilePhase"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsUpgradePhase"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsUpgradeResult"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsErrorCode"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoAsErrorDescr"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwVermngUpgradeInfoGroup = hwVermngUpgradeInfoGroup.setStatus('current')
hwVermngAsTypeCfgInfoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoPatch"), ("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoSystemSoftwareVer"), ("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoRowStatus"), ("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoSystemSoftware"), ("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoAsTypeName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwVermngAsTypeCfgInfoGroup = hwVermngAsTypeCfgInfoGroup.setStatus('current')
hwVermngTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeFail"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwVermngTrapsGroup = hwVermngTrapsGroup.setStatus('current')
hwTplmCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5))
hwTplmCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwVermngObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwVermngUpgradeInfoGroup"), ("HUAWEI-UNIMNG-MIB", "hwVermngAsTypeCfgInfoGroup"), ("HUAWEI-UNIMNG-MIB", "hwVermngTrapsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmCompliance = hwTplmCompliance.setStatus('current')
hwTplmASGroupGoup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmASGroupName"), ("HUAWEI-UNIMNG-MIB", "hwTplmASAdminProfileName"), ("HUAWEI-UNIMNG-MIB", "hwTplmASGroupProfileStatus"), ("HUAWEI-UNIMNG-MIB", "hwTplmASGroupRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmASGroupGoup = hwTplmASGroupGoup.setStatus('current')
hwTplmASGoup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmASASGroupName"), ("HUAWEI-UNIMNG-MIB", "hwTplmASRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmASGoup = hwTplmASGoup.setStatus('current')
hwTplmPortGroupGoup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 3)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupName"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupType"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupNetworkBasicProfile"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupNetworkEnhancedProfile"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupUserAccessProfile"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupProfileStatus"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortGroupRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmPortGroupGoup = hwTplmPortGroupGoup.setStatus('current')
hwTplmPortGoup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 4)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmPortPortGroupName"), ("HUAWEI-UNIMNG-MIB", "hwTplmPortRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmPortGoup = hwTplmPortGoup.setStatus('current')
hwTplmConfigManagementGoup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 5)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmConfigCommitAll"), ("HUAWEI-UNIMNG-MIB", "hwTplmConfigManagementCommit"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmConfigManagementGoup = hwTplmConfigManagementGoup.setStatus('current')
hwTplmTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 6)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmTrapASName"), ("HUAWEI-UNIMNG-MIB", "hwTplmTrapFailedReason"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmTrapObjectsGroup = hwTplmTrapObjectsGroup.setStatus('current')
hwTplmTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 7)).setObjects(("HUAWEI-UNIMNG-MIB", "hwTplmCmdExecuteFailedNotify"), ("HUAWEI-UNIMNG-MIB", "hwTplmCmdExecuteSuccessfulNotify"), ("HUAWEI-UNIMNG-MIB", "hwTplmDirectCmdRecoverFail"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwTplmTrapsGroup = hwTplmTrapsGroup.setStatus('current')
hwUniBaseTrapCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6))
hwUniBaseTrapCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniBaseTrapObjectsGroup"), ("HUAWEI-UNIMNG-MIB", "hwUniBaseTrapsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwUniBaseTrapCompliance = hwUniBaseTrapCompliance.setStatus('current')
hwUniBaseTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6, 1, 1)).setObjects(("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseAsId"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseTrapSeverity"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseTrapProbableCause"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseTrapEventType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalContainedIn"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalName"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseRelativeResource"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseReasonDescription"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdUnit"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdHighWarning"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdHighCritical"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdLowWarning"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdLowCritical"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapEntFaultID"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntityTrapCommunicateType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntValue"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdEntCurrent"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseEntPhysicalIndex"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdHwBaseThresholdType"), ("HUAWEI-UNIMNG-MIB", "hwUniAsBaseThresholdHwBaseThresholdIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwUniBaseTrapObjectsGroup = hwUniBaseTrapObjectsGroup.setStatus('current')
hwUniBaseTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6, 1, 2)).setObjects(("HUAWEI-UNIMNG-MIB", "hwASBoardFail"), ("HUAWEI-UNIMNG-MIB", "hwASBoardFailResume"), ("HUAWEI-UNIMNG-MIB", "hwASOpticalInvalid"), ("HUAWEI-UNIMNG-MIB", "hwASOpticalInvalidResume"), ("HUAWEI-UNIMNG-MIB", "hwASPowerRemove"), ("HUAWEI-UNIMNG-MIB", "hwASPowerInsert"), ("HUAWEI-UNIMNG-MIB", "hwASPowerInvalid"), ("HUAWEI-UNIMNG-MIB", "hwASPowerInvalidResume"), ("HUAWEI-UNIMNG-MIB", "hwASFanRemove"), ("HUAWEI-UNIMNG-MIB", "hwASFanInsert"), ("HUAWEI-UNIMNG-MIB", "hwASFanInvalid"), ("HUAWEI-UNIMNG-MIB", "hwASFanInvalidResume"), ("HUAWEI-UNIMNG-MIB", "hwASCommunicateError"), ("HUAWEI-UNIMNG-MIB", "hwASCommunicateResume"), ("HUAWEI-UNIMNG-MIB", "hwASCPUUtilizationRising"), ("HUAWEI-UNIMNG-MIB", "hwASCPUUtilizationResume"), ("HUAWEI-UNIMNG-MIB", "hwASMemUtilizationRising"), ("HUAWEI-UNIMNG-MIB", "hwASMemUtilizationResume"), ("HUAWEI-UNIMNG-MIB", "hwASMadConflictDetect"), ("HUAWEI-UNIMNG-MIB", "hwASMadConflictResume"), ("HUAWEI-UNIMNG-MIB", "hwASBrdTempAlarm"), ("HUAWEI-UNIMNG-MIB", "hwASBrdTempResume"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwUniBaseTrapsGroup = hwUniBaseTrapsGroup.setStatus('current')
mibBuilder.exportSymbols("HUAWEI-UNIMNG-MIB", hwAsFaultNotify=hwAsFaultNotify, hwTplmCmdExecuteSuccessfulNotify=hwTplmCmdExecuteSuccessfulNotify, hwAsSysName=hwAsSysName, hwAsEntityStandbyStatus=hwAsEntityStandbyStatus, hwAsmngTrapAsSysName=hwAsmngTrapAsSysName, hwAsTable=hwAsTable, hwVermngCompliance=hwVermngCompliance, hwAsPortStateChangeToUpNotify=hwAsPortStateChangeToUpNotify, hwTopomngTrap=hwTopomngTrap, hwAsmngTrapAsPermitNum=hwAsmngTrapAsPermitNum, hwTopomngTrapLocalPortName=hwTopomngTrapLocalPortName, hwTplmPortGroupNetworkBasicProfile=hwTplmPortGroupNetworkBasicProfile, hwAsIfMtu=hwAsIfMtu, hwTopoLocalPortName=hwTopoLocalPortName, hwUniAsBaseThresholdUnit=hwUniAsBaseThresholdUnit, hwAsmngTrapAsModel=hwAsmngTrapAsModel, hwTopomngTopoEntry=hwTopomngTopoEntry, hwTopoPeerTrunkId=hwTopoPeerTrunkId, hwVermngAsTypeCfgInfoSystemSoftware=hwVermngAsTypeCfgInfoSystemSoftware, hwAsmngTrapAsOnlineFailReasonId=hwAsmngTrapAsOnlineFailReasonId, hwUniMbrTrapReceivePktRate=hwUniMbrTrapReceivePktRate, hwASBrdTempResume=hwASBrdTempResume, hwAsMemoryUseage=hwAsMemoryUseage, hwAsSlotEntry=hwAsSlotEntry, hwAsMacBlacklistRowStatus=hwAsMacBlacklistRowStatus, hwVermngCompliances=hwVermngCompliances, hwMbrMngASId=hwMbrMngASId, hwTopomngTopoTable=hwTopomngTopoTable, hwAsmngAsGroup=hwAsmngAsGroup, hwASMadTrap=hwASMadTrap, hwVermngUpgradeInfoAsDownloadSoftwareVer=hwVermngUpgradeInfoAsDownloadSoftwareVer, hwUniAsBaseTrap=hwUniAsBaseTrap, hwVermngUpgradeInfoAsSysPatch=hwVermngUpgradeInfoAsSysPatch, hwTplmPortGroupIndex=hwTplmPortGroupIndex, hwAsEntityStateTable=hwAsEntityStateTable, hwUniMbrParaSynFailReason=hwUniMbrParaSynFailReason, hwTplmASGroupTable=hwTplmASGroupTable, hwTplmPortGroupGoup=hwTplmPortGroupGoup, hwASCommunicateResume=hwASCommunicateResume, hwAsmngTrapAsIfOperStatus=hwAsmngTrapAsIfOperStatus, hwVermngUpgradeInfoAsName=hwVermngUpgradeInfoAsName, hwUniAsBaseEntityTrapEntType=hwUniAsBaseEntityTrapEntType, hwUniAsBaseEntPhysicalName=hwUniAsBaseEntPhysicalName, hwTopoPeerPortName=hwTopoPeerPortName, hwUniAsBaseThresholdValue=hwUniAsBaseThresholdValue, hwAsMacBlacklistMacAddr=hwAsMacBlacklistMacAddr, hwUniAsBaseEntityTrapEntFaultID=hwUniAsBaseEntityTrapEntFaultID, hwASCPUUtilizationResume=hwASCPUUtilizationResume, hwAsmngAsIfGroup=hwAsmngAsIfGroup, hwTplmTrapsGroup=hwTplmTrapsGroup, hwTplmTrapFailedReason=hwTplmTrapFailedReason, hwUniMbrLinkStatTrapLocalMac=hwUniMbrLinkStatTrapLocalMac, hwTplmASEntry=hwTplmASEntry, hwTopoPeerMac=hwTopoPeerMac, hwTplmPortEntry=hwTplmPortEntry, hwAsmngObjectsGroup=hwAsmngObjectsGroup, hwAsIfOutBroadcastPkts=hwAsIfOutBroadcastPkts, hwTopomngObjectsGroup=hwTopomngObjectsGroup, hwVermngAsTypeCfgInfoTable=hwVermngAsTypeCfgInfoTable, hwUniAsBaseThresholdHighWarning=hwUniAsBaseThresholdHighWarning, hwAsEntityPhysicalName=hwAsEntityPhysicalName, hwTplmPortGoup=hwTplmPortGoup, hwVermngObjectsGroup=hwVermngObjectsGroup, hwVermngUpgradeInfoAsUpgradePhase=hwVermngUpgradeInfoAsUpgradePhase, hwAsIfEntry=hwAsIfEntry, hwTplmASAdminProfileName=hwTplmASAdminProfileName, hwTopomngTraps=hwTopomngTraps, hwAsSysMac=hwAsSysMac, hwAsIfPhysAddress=hwAsIfPhysAddress, hwAsGatewayIp=hwAsGatewayIp, hwVermngUpgradeInfoTable=hwVermngUpgradeInfoTable, hwAsDns=hwAsDns, hwAsStackEnable=hwAsStackEnable, hwASFanTrap=hwASFanTrap, hwTplmConfigCommitAll=hwTplmConfigCommitAll, hwAsmngMacBlacklistGroup=hwAsmngMacBlacklistGroup, hwTplmPortGroupUserAccessProfile=hwTplmPortGroupUserAccessProfile, hwTopomngTopoGroup=hwTopomngTopoGroup, hwAsIfXTable=hwAsIfXTable, hwAsmngTrapObjects=hwAsmngTrapObjects, hwAsmngCompliance=hwAsmngCompliance, hwUniBaseTrapCompliance=hwUniBaseTrapCompliance, hwAsMacBlacklistEntry=hwAsMacBlacklistEntry, hwTopomngTrapsGroup=hwTopomngTrapsGroup, hwTopomngLinkAbnormal=hwTopomngLinkAbnormal, hwVermngUpgradeInfoEntry=hwVermngUpgradeInfoEntry, hwUniMngEnable=hwUniMngEnable, hwTopoLocalMac=hwTopoLocalMac, hwASMemUtilizationRising=hwASMemUtilizationRising, hwAsIndex=hwAsIndex, hwAsEntityStateEntry=hwAsEntityStateEntry, hwUniMbrLinkStatTrapChangeType=hwUniMbrLinkStatTrapChangeType, hwAsEntry=hwAsEntry, hwAsmngTrapsGroup=hwAsmngTrapsGroup, hwAsmngTrapAsSn=hwAsmngTrapAsSn, hwTplmPortGroupTable=hwTplmPortGroupTable, hwUniMbrTrapConnectErrorReason=hwUniMbrTrapConnectErrorReason, hwVermngUpgradeInfoGroup=hwVermngUpgradeInfoGroup, hwTplmCompliance=hwTplmCompliance, hwUniAsBaseRelativeResource=hwUniAsBaseRelativeResource, hwAsEntityPhysicalDescr=hwAsEntityPhysicalDescr, hwAsHardwareVersion=hwAsHardwareVersion, hwAsSoftwareVersion=hwAsSoftwareVersion, hwAsIfOutMulticastPkts=hwAsIfOutMulticastPkts, hwTplmDirectCmdRecoverFail=hwTplmDirectCmdRecoverFail, hwAsMacWhitelistTable=hwAsMacWhitelistTable, hwTopomngLastCollectDuration=hwTopomngLastCollectDuration, hwVermngTrap=hwVermngTrap, hwAsSlotId=hwAsSlotId, hwAsSlotIdInvalidNotify=hwAsSlotIdInvalidNotify, hwAsMacWhitelistEntry=hwAsMacWhitelistEntry, hwTplmASGroupGoup=hwTplmASGroupGoup, hwAsmngObjects=hwAsmngObjects, hwTopomngTrapObjectsGroup=hwTopomngTrapObjectsGroup, hwMbrMngFabricPortDescription=hwMbrMngFabricPortDescription, hwTopomngTrapPeerPortName=hwTopomngTrapPeerPortName, hwTplmTraps=hwTplmTraps, hwAsIfAlias=hwAsIfAlias, hwASBoardTrap=hwASBoardTrap, hwTplmConfigManagementTable=hwTplmConfigManagementTable, hwTopoLocalTrunkId=hwTopoLocalTrunkId, hwTopomngExploreTime=hwTopomngExploreTime, hwASCPUTrap=hwASCPUTrap, hwAsmngTrapAsActualeType=hwAsmngTrapAsActualeType, hwAsmngTrapAsMac=hwAsmngTrapAsMac, hwVermngTrapsGroup=hwVermngTrapsGroup, hwAsMacBlacklistTable=hwAsMacBlacklistTable, hwAsmngTrapAsIfName=hwAsmngTrapAsIfName, hwAsEntityPortType=hwAsEntityPortType, hwTopoPeerDeviceIndex=hwTopoPeerDeviceIndex, hwAsIpNetMask=hwAsIpNetMask, hwASMemUtilizationResume=hwASMemUtilizationResume, hwAsmngTrapAsOnlineFailReasonDesc=hwAsmngTrapAsOnlineFailReasonDesc, hwAsmngTrapAddedAsSlotType=hwAsmngTrapAddedAsSlotType, hwAsModel=hwAsModel, hwTopoLocalRole=hwTopoLocalRole, hwAsEntityPhysicalTable=hwAsEntityPhysicalTable, hwVermngTraps=hwVermngTraps, hwASBrdTempAlarm=hwASBrdTempAlarm, hwAsModelNotMatchNotify=hwAsModelNotMatchNotify, hwAsEntityPhysicalIndex=hwAsEntityPhysicalIndex, hwAsSlotRowStatus=hwAsSlotRowStatus, hwAsmngTrapAddedAsMac=hwAsmngTrapAddedAsMac, hwUniAsBaseAsName=hwUniAsBaseAsName, hwUnimngModeNotMatchNotify=hwUnimngModeNotMatchNotify, hwTplmPortGroupType=hwTplmPortGroupType, hwTopomngTrapReason=hwTopomngTrapReason, hwUniAsBaseEntityTrapCommunicateType=hwUniAsBaseEntityTrapCommunicateType, hwAsMacWhitelistMacAddr=hwAsMacWhitelistMacAddr, hwAsmngTrapAsIfIndex=hwAsmngTrapAsIfIndex, hwVermngUpgradeInfoAsSysSoftwareVer=hwVermngUpgradeInfoAsSysSoftwareVer, hwAsSlotModelNotMatchNotify=hwAsSlotModelNotMatchNotify, hwUniMbrLinkStatTrapLocalPortName=hwUniMbrLinkStatTrapLocalPortName, hwASBoardFail=hwASBoardFail, hwAsEntityPhysicalMfgName=hwAsEntityPhysicalMfgName, hwAsIfLinkUpDownTrapEnable=hwAsIfLinkUpDownTrapEnable, hwMbrMngFabricPortMemberIfName=hwMbrMngFabricPortMemberIfName, hwVermngGlobalObjects=hwVermngGlobalObjects, hwAsIfSpeed=hwAsIfSpeed, hwAsPortStateChangeToDownNotify=hwAsPortStateChangeToDownNotify, hwAsNameConflictNotify=hwAsNameConflictNotify, hwAsIfAdminStatus=hwAsIfAdminStatus, hwAsmngMacWhitelistGroup=hwAsmngMacWhitelistGroup, hwASFanInsert=hwASFanInsert, hwVermngUpgradeInfoAsUpgradeType=hwVermngUpgradeInfoAsUpgradeType, hwAsEntryAliasLogicalIndexOrZero=hwAsEntryAliasLogicalIndexOrZero, hwAsEntityAliasMappingTable=hwAsEntityAliasMappingTable, hwTplmTrap=hwTplmTrap, hwTopoLocalHop=hwTopoLocalHop, hwTplmPortIfIndex=hwTplmPortIfIndex, hwUniAsBaseThresholdEntCurrent=hwUniAsBaseThresholdEntCurrent, hwASMemoryTrap=hwASMemoryTrap, hwAsmngTraps=hwAsmngTraps, hwAsmngGlobalObjects=hwAsmngGlobalObjects, hwAsAuthMode=hwAsAuthMode, hwTplmASId=hwTplmASId, hwASBoardFailResume=hwASBoardFailResume, hwAsmngTrapAsIfType=hwAsmngTrapAsIfType, hwUniMbrTrapIllegalConfigReason=hwUniMbrTrapIllegalConfigReason, hwAsmngTrapAsFaultTimes=hwAsmngTrapAsFaultTimes, hwTplmASGroupIndex=hwTplmASGroupIndex, hwTplmPortGroupNetworkEnhancedProfile=hwTplmPortGroupNetworkEnhancedProfile, hwAsIfOutUcastPkts=hwAsIfOutUcastPkts, hwTplmConfigManagement=hwTplmConfigManagement, hwUniAsBaseTrapProbableCause=hwUniAsBaseTrapProbableCause, hwTplmASGroupRowStatus=hwTplmASGroupRowStatus, hwTplmASGroupEntry=hwTplmASGroupEntry, hwASOpticalInvalidResume=hwASOpticalInvalidResume, hwTplmTrapObjectsGroup=hwTplmTrapObjectsGroup, hwAsOnlineTime=hwAsOnlineTime, hwAsEntityAliasMappingEntry=hwAsEntityAliasMappingEntry, hwAsmngTrapAsVersion=hwAsmngTrapAsVersion, hwAsAutoReplaceEnable=hwAsAutoReplaceEnable, hwAsmngEntityAliasMappingGroup=hwAsmngEntityAliasMappingGroup, hwAsmngTrapParentUnimngMode=hwAsmngTrapParentUnimngMode, hwVermngObjects=hwVermngObjects, hwUniAsBaseThresholdLowWarning=hwUniAsBaseThresholdLowWarning, hwAsSlotTable=hwAsSlotTable, hwVermngAsTypeCfgInfoAsTypeIndex=hwVermngAsTypeCfgInfoAsTypeIndex, hwASPowerRemove=hwASPowerRemove, hwUniAsBaseEntPhysicalContainedIn=hwUniAsBaseEntPhysicalContainedIn, hwAsmngSlotGroup=hwAsmngSlotGroup, hwUnimngConformance=hwUnimngConformance, hwAsEntityAdminStatus=hwAsEntityAdminStatus, hwVermngUpgradeInfoAsErrorDescr=hwVermngUpgradeInfoAsErrorDescr, hwVermngAsTypeCfgInfoEntry=hwVermngAsTypeCfgInfoEntry, hwTplmASGroupProfileStatus=hwTplmASGroupProfileStatus, hwUniMbrFabricPortMemberDelete=hwUniMbrFabricPortMemberDelete, hwAsFullNotify=hwAsFullNotify, hwUniAsBaseTrapEventType=hwUniAsBaseTrapEventType, hwUniBaseTrapObjectsGroup=hwUniBaseTrapObjectsGroup, hwUniAsBaseThresholdType=hwUniAsBaseThresholdType, hwTplmPortGroupProfileStatus=hwTplmPortGroupProfileStatus, hwUniMbrASDiscoverAttack=hwUniMbrASDiscoverAttack, hwUniMbrTrapAsIndex=hwUniMbrTrapAsIndex, hwTopomngObjects=hwTopomngObjects, hwAsVpnInstance=hwAsVpnInstance, hwAsmngEntityPhysicalGroup=hwAsmngEntityPhysicalGroup, hwTplmObjects=hwTplmObjects, hwAsmngTrapAsUnimngMode=hwAsmngTrapAsUnimngMode, hwAsComboPortTypeChangeNotify=hwAsComboPortTypeChangeNotify, hwTplmTrapASName=hwTplmTrapASName, hwUnimngObjects=hwUnimngObjects, hwVermngUpgradeInfoAsDownloadSoftware=hwVermngUpgradeInfoAsDownloadSoftware, hwUniAsBaseThresholdEntValue=hwUniAsBaseThresholdEntValue, hwTopomngTrapObjects=hwTopomngTrapObjects, hwVermngUpgradeInfoAsUpgradeResult=hwVermngUpgradeInfoAsUpgradeResult, hwTplmPortGroupName=hwTplmPortGroupName, hwAsEntityAlarmLight=hwAsEntityAlarmLight, hwUniAsBaseEntPhysicalIndex=hwUniAsBaseEntPhysicalIndex, hwAsmngGlobalObjectsGroup=hwAsmngGlobalObjectsGroup, hwASOpticalInvalid=hwASOpticalInvalid, hwAsEntityOperStatus=hwAsEntityOperStatus, hwVermngUpgradeInfoAsDownloadPatch=hwVermngUpgradeInfoAsDownloadPatch, hwAsIfIndex=hwAsIfIndex, hwUniAsBaseTraps=hwUniAsBaseTraps, hwAsIfType=hwAsIfType, hwAsBoardAddNotify=hwAsBoardAddNotify, hwAsEntityPhysicalParentRelPos=hwAsEntityPhysicalParentRelPos, hwAsAccessUser=hwAsAccessUser, hwUniMbrIllegalFabricConfig=hwUniMbrIllegalFabricConfig, hwMbrTrapObjectsGroup=hwMbrTrapObjectsGroup, hwAsBoardPlugInNotify=hwAsBoardPlugInNotify, hwAsCpuUseage=hwAsCpuUseage, hwAsEntityPhysicalVendorType=hwAsEntityPhysicalVendorType, hwAsMacWhitelistRowStatus=hwAsMacWhitelistRowStatus, hwASCommunicateError=hwASCommunicateError, hwASPowerInvalidResume=hwASPowerInvalidResume, hwAsAddOffLineNotify=hwAsAddOffLineNotify, hwTplmASGoup=hwTplmASGoup, hwASCommunicateTrap=hwASCommunicateTrap, hwAsmngTrapParentVersion=hwAsmngTrapParentVersion, hwTplmConfigManagementCommit=hwTplmConfigManagementCommit, hwASCPUUtilizationRising=hwASCPUUtilizationRising)
mibBuilder.exportSymbols("HUAWEI-UNIMNG-MIB", hwTopomngTrapLocalMac=hwTopomngTrapLocalMac, hwVermngTrapObjects=hwVermngTrapObjects, hwTopomngCompliance=hwTopomngCompliance, hwVermngAsTypeCfgInfoPatch=hwVermngAsTypeCfgInfoPatch, hwTplmCmdExecuteFailedNotify=hwTplmCmdExecuteFailedNotify, hwAsEntryAliasMappingIdentifier=hwAsEntryAliasMappingIdentifier, hwAsmngTrapAsIndex=hwAsmngTrapAsIndex, hwVermngUpgradeFail=hwVermngUpgradeFail, hwMbrCompliances=hwMbrCompliances, hwMbrFabricPortGroup=hwMbrFabricPortGroup, hwAsIfAsId=hwAsIfAsId, hwTopomngTrapPeerMac=hwTopomngTrapPeerMac, hwAsBoardDeleteNotify=hwAsBoardDeleteNotify, hwAsIfXEntry=hwAsIfXEntry, hwVermngUpgradeInfoAsFilePhase=hwVermngUpgradeInfoAsFilePhase, hwMbrCompliance=hwMbrCompliance, hwUniAsBaseTrapSeverity=hwUniAsBaseTrapSeverity, hwUnimngMIB=hwUnimngMIB, hwTplmCompliances=hwTplmCompliances, hwAsIfHCOutOctets=hwAsIfHCOutOctets, hwAsmngCompliances=hwAsmngCompliances, hwASOpticalTrap=hwASOpticalTrap, hwVermngAsTypeCfgInfoSystemSoftwareVer=hwVermngAsTypeCfgInfoSystemSoftwareVer, hwAsInBlacklistNotify=hwAsInBlacklistNotify, hwAsEntityPhysicalContainedIn=hwAsEntityPhysicalContainedIn, hwAsEntityPhysicalEntry=hwAsEntityPhysicalEntry, hwAsDelOffLineNotify=hwAsDelOffLineNotify, hwUniAsBaseEntityPhysicalIndex=hwUniAsBaseEntityPhysicalIndex, hwVermngAsTypeCfgInfoAsTypeName=hwVermngAsTypeCfgInfoAsTypeName, hwAsEntityPhysicalClass=hwAsEntityPhysicalClass, hwUnimngNotification=hwUnimngNotification, hwASEnvironmentTrap=hwASEnvironmentTrap, hwMbrmngObjects=hwMbrmngObjects, hwVermngFileServerType=hwVermngFileServerType, hwTplmPortPortGroupName=hwTplmPortPortGroupName, hwASFanInvalid=hwASFanInvalid, hwUniAsBaseAsId=hwUniAsBaseAsId, hwAsmngTrapObjectsGroup=hwAsmngTrapObjectsGroup, hwMbrTrapsGroup=hwMbrTrapsGroup, hwAsmngTrapAsSlotId=hwAsmngTrapAsSlotId, hwTplmConfigManagementGoup=hwTplmConfigManagementGoup, hwTplmConfigManagementASId=hwTplmConfigManagementASId, hwAsSlotState=hwAsSlotState, hwVermngUpgradeInfoAsSysSoftware=hwVermngUpgradeInfoAsSysSoftware, hwTplmPortGroupEntry=hwTplmPortGroupEntry, hwTopoPeerRole=hwTopoPeerRole, hwAsVersionNotMatchNotify=hwAsVersionNotMatchNotify, hwTopomngCompliances=hwTopomngCompliances, hwAsIpAddress=hwAsIpAddress, hwASPowerInvalid=hwASPowerInvalid, hwAsRunState=hwAsRunState, hwTplmASGroupName=hwTplmASGroupName, hwUniMbrTrapObjects=hwUniMbrTrapObjects, hwAsBoardPlugOutNotify=hwAsBoardPlugOutNotify, hwAsEntityPhysicalHardwareRev=hwAsEntityPhysicalHardwareRev, hwASPowerTrap=hwASPowerTrap, hwUniBaseTrapsGroup=hwUniBaseTrapsGroup, hwAsIfOperStatus=hwAsIfOperStatus, hwAsIfName=hwAsIfName, hwAsIfHighSpeed=hwAsIfHighSpeed, hwAsOnlineFailNotify=hwAsOnlineFailNotify, hwUniAsBaseReasonDescription=hwUniAsBaseReasonDescription, hwAsRowstatus=hwAsRowstatus, hwAsIfTable=hwAsIfTable, hwASFanRemove=hwASFanRemove, hwAsEntityPhysicalSoftwareRev=hwAsEntityPhysicalSoftwareRev, hwVermngUpgradeInfoAsUpgradeState=hwVermngUpgradeInfoAsUpgradeState, hwAsIfInMulticastPkts=hwAsIfInMulticastPkts, hwASFanInvalidResume=hwASFanInvalidResume, hwAsIfDescr=hwAsIfDescr, hwMbrMngFabricPortDirection=hwMbrMngFabricPortDirection, hwTplmTrapObjects=hwTplmTrapObjects, hwUniAsBaseThresholdLowCritical=hwUniAsBaseThresholdLowCritical, hwAsEntityPhysicalSerialNum=hwAsEntityPhysicalSerialNum, hwUniMbrConnectError=hwUniMbrConnectError, hwAsIfHCInOctets=hwAsIfHCInOctets, hwTopomngLinkNormal=hwTopomngLinkNormal, hwTplmPortRowStatus=hwTplmPortRowStatus, hwAsIfInBroadcastPkts=hwAsIfInBroadcastPkts, hwVermngAsTypeCfgInfoGroup=hwVermngAsTypeCfgInfoGroup, hwASMadConflictDetect=hwASMadConflictDetect, hwAsmngTrap=hwAsmngTrap, hwAsSysmacSwitchCfgErrNotify=hwAsSysmacSwitchCfgErrNotify, hwASPowerInsert=hwASPowerInsert, AlarmStatus=AlarmStatus, hwUniMbrTraps=hwUniMbrTraps, hwVermngUpgradeInfoAsErrorCode=hwVermngUpgradeInfoAsErrorCode, hwAsMac=hwAsMac, hwUniAsBaseThresholdHighCritical=hwUniAsBaseThresholdHighCritical, hwTopomngTrapLocalTrunkId=hwTopomngTrapLocalTrunkId, hwAsSn=hwAsSn, hwTplmPortTable=hwTplmPortTable, hwUniMbrTrapAsSysName=hwUniMbrTrapAsSysName, hwAsUnconfirmedNotify=hwAsUnconfirmedNotify, hwUniMbrTrap=hwUniMbrTrap, hwTplmPortGroupRowStatus=hwTplmPortGroupRowStatus, hwAsmngEntityStateGroup=hwAsmngEntityStateGroup, hwTplmConfigManagementEntry=hwTplmConfigManagementEntry, hwTopomngTrapPeerTrunkId=hwTopomngTrapPeerTrunkId, hwUniAsBaseThresholdHwBaseThresholdIndex=hwUniAsBaseThresholdHwBaseThresholdIndex, hwTplmASRowStatus=hwTplmASRowStatus, hwAsmngTrapAsIfAdminStatus=hwAsmngTrapAsIfAdminStatus, hwASMadConflictResume=hwASMadConflictResume, hwAsEntityPhysicalFirmwareRev=hwAsEntityPhysicalFirmwareRev, hwMbrMngFabricPortTable=hwMbrMngFabricPortTable, hwMbrMngFabricPortIndirectFlag=hwMbrMngFabricPortIndirectFlag, hwAsmngAsIfXGroup=hwAsmngAsIfXGroup, hwUniBaseTrapCompliances=hwUniBaseTrapCompliances, hwTplmASTable=hwTplmASTable, hwUniAsBaseThresholdHwBaseThresholdType=hwUniAsBaseThresholdHwBaseThresholdType, hwMbrMngFabricPortEntry=hwMbrMngFabricPortEntry, hwVermngAsTypeCfgInfoRowStatus=hwVermngAsTypeCfgInfoRowStatus, hwAsIfInUcastPkts=hwAsIfInUcastPkts, hwUniAsBaseTrapObjects=hwUniAsBaseTrapObjects, PYSNMP_MODULE_ID=hwUnimngMIB, hwAsNormalNotify=hwAsNormalNotify, hwMbrMngFabricPortId=hwMbrMngFabricPortId, hwTplmASASGroupName=hwTplmASASGroupName, hwVermngUpgradeInfoAsIndex=hwVermngUpgradeInfoAsIndex)
| (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, single_value_constraint, value_size_constraint, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion')
(hw_datacomm,) = mibBuilder.importSymbols('HUAWEI-MIB', 'hwDatacomm')
(notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup')
(bits, notification_type, gauge32, counter64, integer32, time_ticks, mib_identifier, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, object_identity, module_identity, ip_address, counter32, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'NotificationType', 'Gauge32', 'Counter64', 'Integer32', 'TimeTicks', 'MibIdentifier', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'ObjectIdentity', 'ModuleIdentity', 'IpAddress', 'Counter32', 'iso')
(display_string, textual_convention, autonomous_type, row_status, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'AutonomousType', 'RowStatus', 'MacAddress')
hw_unimng_mib = module_identity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327))
hwUnimngMIB.setRevisions(('2015-07-09 14:07', '2015-01-09 14:07', '2014-11-18 15:30', '2014-10-29 16:57', '2014-10-23 15:30', '2014-09-11 15:30', '2014-08-19 15:30', '2014-07-10 12:50', '2014-03-03 20:00'))
if mibBuilder.loadTexts:
hwUnimngMIB.setLastUpdated('201507091407Z')
if mibBuilder.loadTexts:
hwUnimngMIB.setOrganization('Huawei Technologies Co.,Ltd.')
class Alarmstatus(TextualConvention, Bits):
reference = "ITU Recommendation X.731, 'Information Technology - Open Systems Interconnection - System Management: State Management Function', 1992"
status = 'current'
named_values = named_values(('notSupported', 0), ('underRepair', 1), ('critical', 2), ('major', 3), ('minor', 4), ('alarmOutstanding', 5), ('warning', 6), ('indeterminate', 7))
hw_unimng_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 1))
hw_uni_mng_enable = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwUniMngEnable.setStatus('current')
hw_asmng_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2))
hw_as_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1))
if mibBuilder.loadTexts:
hwAsTable.setStatus('current')
hw_as_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIndex'))
if mibBuilder.loadTexts:
hwAsEntry.setStatus('current')
hw_as_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIndex.setStatus('current')
hw_as_hardware_version = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsHardwareVersion.setStatus('current')
hw_as_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 3), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsIpAddress.setStatus('current')
hw_as_ip_net_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 4), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsIpNetMask.setStatus('current')
hw_as_access_user = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 5), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsAccessUser.setStatus('current')
hw_as_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 6), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsMac.setStatus('current')
hw_as_sn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 7), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsSn.setStatus('current')
hw_as_sys_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsSysName.setStatus('current')
hw_as_run_state = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('idle', 1), ('versionMismatch', 2), ('fault', 3), ('normal', 4)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsRunState.setStatus('current')
hw_as_software_version = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsSoftwareVersion.setStatus('current')
hw_as_model = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(1, 23))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsModel.setStatus('current')
hw_as_dns = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 12), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsDns.setStatus('current')
hw_as_online_time = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 13), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsOnlineTime.setStatus('current')
hw_as_cpu_useage = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 14), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsCpuUseage.setStatus('current')
hw_as_memory_useage = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 15), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsMemoryUseage.setStatus('current')
hw_as_sys_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 16), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsSysMac.setStatus('current')
hw_as_stack_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsStackEnable.setStatus('current')
hw_as_gateway_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 18), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsGatewayIp.setStatus('current')
hw_as_vpn_instance = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 19), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsVpnInstance.setStatus('current')
hw_as_rowstatus = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 1, 1, 50), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsRowstatus.setStatus('current')
hw_as_if_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2))
if mibBuilder.loadTexts:
hwAsIfTable.setStatus('current')
hw_as_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIfIndex'))
if mibBuilder.loadTexts:
hwAsIfEntry.setStatus('current')
hw_as_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfIndex.setStatus('current')
hw_as_if_descr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfDescr.setStatus('current')
hw_as_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfType.setStatus('current')
hw_as_if_mtu = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwAsIfMtu.setStatus('current')
hw_as_if_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 5), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfSpeed.setStatus('current')
hw_as_if_phys_address = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 6), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfPhysAddress.setStatus('current')
hw_as_if_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwAsIfAdminStatus.setStatus('current')
hw_as_if_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfOperStatus.setStatus('current')
hw_as_if_in_ucast_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfInUcastPkts.setStatus('current')
hw_as_if_out_ucast_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 2, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfOutUcastPkts.setStatus('current')
hw_as_if_x_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3))
if mibBuilder.loadTexts:
hwAsIfXTable.setStatus('current')
hw_as_if_x_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIfIndex'))
if mibBuilder.loadTexts:
hwAsIfXEntry.setStatus('current')
hw_as_if_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 1), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfName.setStatus('current')
hw_as_if_link_up_down_trap_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwAsIfLinkUpDownTrapEnable.setStatus('current')
hw_as_if_high_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfHighSpeed.setStatus('current')
hw_as_if_alias = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 4), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwAsIfAlias.setStatus('current')
hw_as_if_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfAsId.setStatus('current')
hw_as_if_hc_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 6), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfHCOutOctets.setStatus('current')
hw_as_if_in_multicast_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfInMulticastPkts.setStatus('current')
hw_as_if_in_broadcast_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfInBroadcastPkts.setStatus('current')
hw_as_if_out_multicast_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfOutMulticastPkts.setStatus('current')
hw_as_if_out_broadcast_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfOutBroadcastPkts.setStatus('current')
hw_as_if_hc_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 3, 1, 11), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsIfHCInOctets.setStatus('current')
hw_as_slot_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4))
if mibBuilder.loadTexts:
hwAsSlotTable.setStatus('current')
hw_as_slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIndex'), (0, 'HUAWEI-UNIMNG-MIB', 'hwAsSlotId'))
if mibBuilder.loadTexts:
hwAsSlotEntry.setStatus('current')
hw_as_slot_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 8)))
if mibBuilder.loadTexts:
hwAsSlotId.setStatus('current')
hw_as_slot_state = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsSlotState.setStatus('current')
hw_as_slot_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 4, 1, 20), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsSlotRowStatus.setStatus('current')
hw_asmng_global_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 5))
hw_as_auto_replace_enable = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwAsAutoReplaceEnable.setStatus('current')
hw_as_auth_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('auth', 1), ('noAuth', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwAsAuthMode.setStatus('current')
hw_as_mac_whitelist_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6))
if mibBuilder.loadTexts:
hwAsMacWhitelistTable.setStatus('current')
hw_as_mac_whitelist_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsMacWhitelistMacAddr'))
if mibBuilder.loadTexts:
hwAsMacWhitelistEntry.setStatus('current')
hw_as_mac_whitelist_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6, 1, 1), mac_address())
if mibBuilder.loadTexts:
hwAsMacWhitelistMacAddr.setStatus('current')
hw_as_mac_whitelist_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 6, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsMacWhitelistRowStatus.setStatus('current')
hw_as_mac_blacklist_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7))
if mibBuilder.loadTexts:
hwAsMacBlacklistTable.setStatus('current')
hw_as_mac_blacklist_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsMacBlacklistMacAddr'))
if mibBuilder.loadTexts:
hwAsMacBlacklistEntry.setStatus('current')
hw_as_mac_blacklist_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7, 1, 1), mac_address())
if mibBuilder.loadTexts:
hwAsMacBlacklistMacAddr.setStatus('current')
hw_as_mac_blacklist_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 7, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwAsMacBlacklistRowStatus.setStatus('current')
hw_as_entity_physical_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8))
if mibBuilder.loadTexts:
hwAsEntityPhysicalTable.setStatus('current')
hw_as_entity_physical_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIndex'), (0, 'HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalIndex'))
if mibBuilder.loadTexts:
hwAsEntityPhysicalEntry.setStatus('current')
hw_as_entity_physical_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 1), integer32())
if mibBuilder.loadTexts:
hwAsEntityPhysicalIndex.setStatus('current')
hw_as_entity_physical_descr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalDescr.setStatus('current')
hw_as_entity_physical_vendor_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 3), autonomous_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalVendorType.setStatus('current')
hw_as_entity_physical_contained_in = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalContainedIn.setStatus('current')
hw_as_entity_physical_class = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('other', 1), ('unknown', 2), ('chassis', 3), ('backplane', 4), ('container', 5), ('powerSupply', 6), ('fan', 7), ('sensor', 8), ('module', 9), ('port', 10), ('stack', 11)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalClass.setStatus('current')
hw_as_entity_physical_parent_rel_pos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalParentRelPos.setStatus('current')
hw_as_entity_physical_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 7), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalName.setStatus('current')
hw_as_entity_physical_hardware_rev = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 8), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalHardwareRev.setStatus('current')
hw_as_entity_physical_firmware_rev = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 9), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalFirmwareRev.setStatus('current')
hw_as_entity_physical_software_rev = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 10), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalSoftwareRev.setStatus('current')
hw_as_entity_physical_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 11), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalSerialNum.setStatus('current')
hw_as_entity_physical_mfg_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 8, 1, 12), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPhysicalMfgName.setStatus('current')
hw_as_entity_state_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9))
if mibBuilder.loadTexts:
hwAsEntityStateTable.setStatus('current')
hw_as_entity_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIndex'), (0, 'HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalIndex'))
if mibBuilder.loadTexts:
hwAsEntityStateEntry.setStatus('current')
hw_as_entity_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 11, 12, 13))).clone(namedValues=named_values(('notSupported', 1), ('locked', 2), ('shuttingDown', 3), ('unlocked', 4), ('up', 11), ('down', 12), ('loopback', 13)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityAdminStatus.setStatus('current')
hw_as_entity_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 11, 12, 13, 15, 16, 17))).clone(namedValues=named_values(('notSupported', 1), ('disabled', 2), ('enabled', 3), ('offline', 4), ('up', 11), ('down', 12), ('connect', 13), ('protocolUp', 15), ('linkUp', 16), ('linkDown', 17)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityOperStatus.setStatus('current')
hw_as_entity_standby_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notSupported', 1), ('hotStandby', 2), ('coldStandby', 3), ('providingService', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityStandbyStatus.setStatus('current')
hw_as_entity_alarm_light = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 4), alarm_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityAlarmLight.setStatus('current')
hw_as_entity_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 9, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notSupported', 1), ('copper', 2), ('fiber100', 3), ('fiber1000', 4), ('fiber10000', 5), ('opticalnotExist', 6), ('optical', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntityPortType.setStatus('current')
hw_as_entity_alias_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10))
if mibBuilder.loadTexts:
hwAsEntityAliasMappingTable.setStatus('current')
hw_as_entity_alias_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwAsIndex'), (0, 'HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalIndex'), (0, 'HUAWEI-UNIMNG-MIB', 'hwAsEntryAliasLogicalIndexOrZero'))
if mibBuilder.loadTexts:
hwAsEntityAliasMappingEntry.setStatus('current')
hw_as_entry_alias_logical_index_or_zero = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10, 1, 1), integer32())
if mibBuilder.loadTexts:
hwAsEntryAliasLogicalIndexOrZero.setStatus('current')
hw_as_entry_alias_mapping_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 2, 10, 1, 2), autonomous_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwAsEntryAliasMappingIdentifier.setStatus('current')
hw_topomng_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3))
hw_topomng_explore_time = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1440)).clone(10)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwTopomngExploreTime.setStatus('current')
hw_topomng_last_collect_duration = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopomngLastCollectDuration.setStatus('current')
hw_topomng_topo_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11))
if mibBuilder.loadTexts:
hwTopomngTopoTable.setStatus('current')
hw_topomng_topo_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwTopoLocalHop'), (0, 'HUAWEI-UNIMNG-MIB', 'hwTopoLocalMac'), (0, 'HUAWEI-UNIMNG-MIB', 'hwTopoPeerDeviceIndex'))
if mibBuilder.loadTexts:
hwTopomngTopoEntry.setStatus('current')
hw_topo_local_hop = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8)))
if mibBuilder.loadTexts:
hwTopoLocalHop.setStatus('current')
hw_topo_local_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 2), mac_address())
if mibBuilder.loadTexts:
hwTopoLocalMac.setStatus('current')
hw_topo_peer_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)))
if mibBuilder.loadTexts:
hwTopoPeerDeviceIndex.setStatus('current')
hw_topo_peer_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 4), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoPeerMac.setStatus('current')
hw_topo_local_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoLocalPortName.setStatus('current')
hw_topo_peer_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoPeerPortName.setStatus('current')
hw_topo_local_trunk_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoLocalTrunkId.setStatus('current')
hw_topo_peer_trunk_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoPeerTrunkId.setStatus('current')
hw_topo_local_role = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('roleUC', 1), ('roleAS', 2), ('roleAP', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoLocalRole.setStatus('current')
hw_topo_peer_role = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 3, 11, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('roleUC', 1), ('roleAS', 2), ('roleAP', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwTopoPeerRole.setStatus('current')
hw_mbrmng_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4))
hw_mbr_mng_fabric_port_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2))
if mibBuilder.loadTexts:
hwMbrMngFabricPortTable.setStatus('current')
hw_mbr_mng_fabric_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwMbrMngASId'), (0, 'HUAWEI-UNIMNG-MIB', 'hwMbrMngFabricPortId'))
if mibBuilder.loadTexts:
hwMbrMngFabricPortEntry.setStatus('current')
hw_mbr_mng_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)))
if mibBuilder.loadTexts:
hwMbrMngASId.setStatus('current')
hw_mbr_mng_fabric_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
hwMbrMngFabricPortId.setStatus('current')
hw_mbr_mng_fabric_port_member_if_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwMbrMngFabricPortMemberIfName.setStatus('current')
hw_mbr_mng_fabric_port_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('downDirection', 1), ('upDirection', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwMbrMngFabricPortDirection.setStatus('current')
hw_mbr_mng_fabric_port_indirect_flag = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('indirect', 1), ('direct', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwMbrMngFabricPortIndirectFlag.setStatus('current')
hw_mbr_mng_fabric_port_description = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 4, 2, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwMbrMngFabricPortDescription.setStatus('current')
hw_vermng_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5))
hw_vermng_global_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 1))
hw_vermng_file_server_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('ftp', 1), ('sftp', 2), ('none', 255)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngFileServerType.setStatus('current')
hw_vermng_upgrade_info_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2))
if mibBuilder.loadTexts:
hwVermngUpgradeInfoTable.setStatus('current')
hw_vermng_upgrade_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsIndex'))
if mibBuilder.loadTexts:
hwVermngUpgradeInfoEntry.setStatus('current')
hw_vermng_upgrade_info_as_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsIndex.setStatus('current')
hw_vermng_upgrade_info_as_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsName.setStatus('current')
hw_vermng_upgrade_info_as_sys_software = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsSysSoftware.setStatus('current')
hw_vermng_upgrade_info_as_sys_software_ver = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsSysSoftwareVer.setStatus('current')
hw_vermng_upgrade_info_as_sys_patch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsSysPatch.setStatus('current')
hw_vermng_upgrade_info_as_download_software = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsDownloadSoftware.setStatus('current')
hw_vermng_upgrade_info_as_download_software_ver = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsDownloadSoftwareVer.setStatus('current')
hw_vermng_upgrade_info_as_download_patch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 8), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsDownloadPatch.setStatus('current')
hw_vermng_upgrade_info_as_upgrade_state = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('noUpgrade', 1), ('upgrading', 2), ('none', 255)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsUpgradeState.setStatus('current')
hw_vermng_upgrade_info_as_upgrade_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('verSync', 1), ('manual', 2), ('none', 255)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsUpgradeType.setStatus('current')
hw_vermng_upgrade_info_as_file_phase = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('systemSoftware', 1), ('patch', 2), ('none', 255)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsFilePhase.setStatus('current')
hw_vermng_upgrade_info_as_upgrade_phase = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 255))).clone(namedValues=named_values(('downloadFile', 1), ('wait', 2), ('activateFile', 3), ('reboot', 4), ('none', 255)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsUpgradePhase.setStatus('current')
hw_vermng_upgrade_info_as_upgrade_result = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('successfully', 1), ('failed', 2), ('none', 255)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsUpgradeResult.setStatus('current')
hw_vermng_upgrade_info_as_error_code = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsErrorCode.setStatus('current')
hw_vermng_upgrade_info_as_error_descr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 2, 1, 15), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwVermngUpgradeInfoAsErrorDescr.setStatus('current')
hw_vermng_as_type_cfg_info_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3))
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoTable.setStatus('current')
hw_vermng_as_type_cfg_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoAsTypeIndex'))
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoEntry.setStatus('current')
hw_vermng_as_type_cfg_info_as_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoAsTypeIndex.setStatus('current')
hw_vermng_as_type_cfg_info_as_type_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 2), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoAsTypeName.setStatus('current')
hw_vermng_as_type_cfg_info_system_software = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 3), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoSystemSoftware.setStatus('current')
hw_vermng_as_type_cfg_info_system_software_ver = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 4), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoSystemSoftwareVer.setStatus('current')
hw_vermng_as_type_cfg_info_patch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 5), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoPatch.setStatus('current')
hw_vermng_as_type_cfg_info_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 5, 3, 1, 50), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwVermngAsTypeCfgInfoRowStatus.setStatus('current')
hw_tplm_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6))
hw_tplm_as_group_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11))
if mibBuilder.loadTexts:
hwTplmASGroupTable.setStatus('current')
hw_tplm_as_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwTplmASGroupIndex'))
if mibBuilder.loadTexts:
hwTplmASGroupEntry.setStatus('current')
hw_tplm_as_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16)))
if mibBuilder.loadTexts:
hwTplmASGroupIndex.setStatus('current')
hw_tplm_as_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmASGroupName.setStatus('current')
hw_tplm_as_admin_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmASAdminProfileName.setStatus('current')
hw_tplm_as_group_profile_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmASGroupProfileStatus.setStatus('current')
hw_tplm_as_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 11, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmASGroupRowStatus.setStatus('current')
hw_tplm_as_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12))
if mibBuilder.loadTexts:
hwTplmASTable.setStatus('current')
hw_tplm_as_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwTplmASId'))
if mibBuilder.loadTexts:
hwTplmASEntry.setStatus('current')
hw_tplm_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
hwTplmASId.setStatus('current')
hw_tplm_asas_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmASASGroupName.setStatus('current')
hw_tplm_as_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 12, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmASRowStatus.setStatus('current')
hw_tplm_port_group_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13))
if mibBuilder.loadTexts:
hwTplmPortGroupTable.setStatus('current')
hw_tplm_port_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupIndex'))
if mibBuilder.loadTexts:
hwTplmPortGroupEntry.setStatus('current')
hw_tplm_port_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 257)))
if mibBuilder.loadTexts:
hwTplmPortGroupIndex.setStatus('current')
hw_tplm_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupName.setStatus('current')
hw_tplm_port_group_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('service', 1), ('ap', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupType.setStatus('current')
hw_tplm_port_group_network_basic_profile = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupNetworkBasicProfile.setStatus('current')
hw_tplm_port_group_network_enhanced_profile = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupNetworkEnhancedProfile.setStatus('current')
hw_tplm_port_group_user_access_profile = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupUserAccessProfile.setStatus('current')
hw_tplm_port_group_profile_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupProfileStatus.setStatus('current')
hw_tplm_port_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 13, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortGroupRowStatus.setStatus('current')
hw_tplm_port_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14))
if mibBuilder.loadTexts:
hwTplmPortTable.setStatus('current')
hw_tplm_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwTplmPortIfIndex'))
if mibBuilder.loadTexts:
hwTplmPortEntry.setStatus('current')
hw_tplm_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1, 1), integer32())
if mibBuilder.loadTexts:
hwTplmPortIfIndex.setStatus('current')
hw_tplm_port_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortPortGroupName.setStatus('current')
hw_tplm_port_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 14, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwTplmPortRowStatus.setStatus('current')
hw_tplm_config_management = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15))
hw_tplm_config_commit_all = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('commit', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwTplmConfigCommitAll.setStatus('current')
hw_tplm_config_management_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2))
if mibBuilder.loadTexts:
hwTplmConfigManagementTable.setStatus('current')
hw_tplm_config_management_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2, 1)).setIndexNames((0, 'HUAWEI-UNIMNG-MIB', 'hwTplmConfigManagementASId'))
if mibBuilder.loadTexts:
hwTplmConfigManagementEntry.setStatus('current')
hw_tplm_config_management_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
hwTplmConfigManagementASId.setStatus('current')
hw_tplm_config_management_commit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 6, 15, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('commit', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwTplmConfigManagementCommit.setStatus('current')
hw_unimng_notification = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31))
hw_topomng_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1))
hw_topomng_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1))
hw_topomng_trap_local_mac = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 1), mac_address()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapLocalMac.setStatus('current')
hw_topomng_trap_local_port_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapLocalPortName.setStatus('current')
hw_topomng_trap_local_trunk_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapLocalTrunkId.setStatus('current')
hw_topomng_trap_peer_mac = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 4), mac_address()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapPeerMac.setStatus('current')
hw_topomng_trap_peer_port_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapPeerPortName.setStatus('current')
hw_topomng_trap_peer_trunk_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapPeerTrunkId.setStatus('current')
hw_topomng_trap_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTopomngTrapReason.setStatus('current')
hw_topomng_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 2))
hw_topomng_link_normal = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapReason'))
if mibBuilder.loadTexts:
hwTopomngLinkNormal.setStatus('current')
hw_topomng_link_abnormal = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 1, 2, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapReason'))
if mibBuilder.loadTexts:
hwTopomngLinkAbnormal.setStatus('current')
hw_asmng_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2))
hw_asmng_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1))
hw_asmng_trap_as_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 1), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsIndex.setStatus('current')
hw_asmng_trap_as_model = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 2), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsModel.setStatus('current')
hw_asmng_trap_as_sys_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 3), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsSysName.setStatus('current')
hw_asmng_trap_as_mac = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 4), mac_address()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsMac.setStatus('current')
hw_asmng_trap_as_sn = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 5), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsSn.setStatus('current')
hw_asmng_trap_as_if_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 6), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsIfIndex.setStatus('current')
hw_asmng_trap_as_if_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 7), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsIfOperStatus.setStatus('current')
hw_asmng_trap_as_fault_times = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 8), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsFaultTimes.setStatus('current')
hw_asmng_trap_as_if_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 9), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsIfAdminStatus.setStatus('current')
hw_asmng_trap_as_if_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 10), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsIfName.setStatus('current')
hw_asmng_trap_as_actuale_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 11), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsActualeType.setStatus('current')
hw_asmng_trap_as_version = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 12), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsVersion.setStatus('current')
hw_asmng_trap_parent_version = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 13), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapParentVersion.setStatus('current')
hw_asmng_trap_added_as_mac = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 14), mac_address()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAddedAsMac.setStatus('current')
hw_asmng_trap_as_slot_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 15), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsSlotId.setStatus('current')
hw_asmng_trap_added_as_slot_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 16), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAddedAsSlotType.setStatus('current')
hw_asmng_trap_as_permit_num = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 17), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsPermitNum.setStatus('current')
hw_asmng_trap_as_unimng_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 18), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsUnimngMode.setStatus('current')
hw_asmng_trap_parent_unimng_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 19), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapParentUnimngMode.setStatus('current')
hw_asmng_trap_as_if_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 20), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsIfType.setStatus('current')
hw_asmng_trap_as_online_fail_reason_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 21), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsOnlineFailReasonId.setStatus('current')
hw_asmng_trap_as_online_fail_reason_desc = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 1, 22), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwAsmngTrapAsOnlineFailReasonDesc.setStatus('current')
hw_asmng_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2))
hw_as_fault_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsFaultTimes'))
if mibBuilder.loadTexts:
hwAsFaultNotify.setStatus('current')
hw_as_normal_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'))
if mibBuilder.loadTexts:
hwAsNormalNotify.setStatus('current')
hw_as_add_off_line_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'))
if mibBuilder.loadTexts:
hwAsAddOffLineNotify.setStatus('current')
hw_as_del_off_line_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'))
if mibBuilder.loadTexts:
hwAsDelOffLineNotify.setStatus('current')
hw_as_port_state_change_to_down_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 5)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfAdminStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfOperStatus'))
if mibBuilder.loadTexts:
hwAsPortStateChangeToDownNotify.setStatus('current')
hw_as_port_state_change_to_up_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 6)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfAdminStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfOperStatus'))
if mibBuilder.loadTexts:
hwAsPortStateChangeToUpNotify.setStatus('current')
hw_as_model_not_match_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 7)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsActualeType'))
if mibBuilder.loadTexts:
hwAsModelNotMatchNotify.setStatus('current')
hw_as_version_not_match_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 8)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsVersion'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapParentVersion'))
if mibBuilder.loadTexts:
hwAsVersionNotMatchNotify.setStatus('current')
hw_as_name_conflict_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 9)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAddedAsMac'))
if mibBuilder.loadTexts:
hwAsNameConflictNotify.setStatus('current')
hw_as_slot_model_not_match_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 10)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAddedAsSlotType'))
if mibBuilder.loadTexts:
hwAsSlotModelNotMatchNotify.setStatus('current')
hw_as_full_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 11)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsPermitNum'))
if mibBuilder.loadTexts:
hwAsFullNotify.setStatus('current')
hw_unimng_mode_not_match_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 12)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsUnimngMode'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapParentUnimngMode'))
if mibBuilder.loadTexts:
hwUnimngModeNotMatchNotify.setStatus('current')
hw_as_board_add_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 13)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'))
if mibBuilder.loadTexts:
hwAsBoardAddNotify.setStatus('current')
hw_as_board_delete_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 14)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'))
if mibBuilder.loadTexts:
hwAsBoardDeleteNotify.setStatus('current')
hw_as_board_plug_in_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 15)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'))
if mibBuilder.loadTexts:
hwAsBoardPlugInNotify.setStatus('current')
hw_as_board_plug_out_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 16)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'))
if mibBuilder.loadTexts:
hwAsBoardPlugOutNotify.setStatus('current')
hw_as_in_blacklist_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 17)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'))
if mibBuilder.loadTexts:
hwAsInBlacklistNotify.setStatus('current')
hw_as_unconfirmed_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 18)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'))
if mibBuilder.loadTexts:
hwAsUnconfirmedNotify.setStatus('current')
hw_as_combo_port_type_change_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 19)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfType'))
if mibBuilder.loadTexts:
hwAsComboPortTypeChangeNotify.setStatus('current')
hw_as_online_fail_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 20)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsOnlineFailReasonId'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsOnlineFailReasonDesc'))
if mibBuilder.loadTexts:
hwAsOnlineFailNotify.setStatus('current')
hw_as_slot_id_invalid_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 21)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'))
if mibBuilder.loadTexts:
hwAsSlotIdInvalidNotify.setStatus('current')
hw_as_sysmac_switch_cfg_err_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 2, 2, 22)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'))
if mibBuilder.loadTexts:
hwAsSysmacSwitchCfgErrNotify.setStatus('current')
hw_uni_mbr_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3))
hw_uni_mbr_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1))
hw_uni_mbr_link_stat_trap_local_mac = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 1), mac_address()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrLinkStatTrapLocalMac.setStatus('current')
hw_uni_mbr_link_stat_trap_local_port_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 2), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrLinkStatTrapLocalPortName.setStatus('current')
hw_uni_mbr_link_stat_trap_change_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up2down', 1), ('down2up', 2)))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrLinkStatTrapChangeType.setStatus('current')
hw_uni_mbr_trap_connect_error_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 4), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrTrapConnectErrorReason.setStatus('current')
hw_uni_mbr_trap_receive_pkt_rate = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 5), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrTrapReceivePktRate.setStatus('current')
hw_uni_mbr_trap_as_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 6), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrTrapAsIndex.setStatus('current')
hw_uni_mbr_trap_as_sys_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 7), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrTrapAsSysName.setStatus('current')
hw_uni_mbr_para_syn_fail_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 8), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrParaSynFailReason.setStatus('current')
hw_uni_mbr_trap_illegal_config_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 1, 9), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniMbrTrapIllegalConfigReason.setStatus('current')
hw_uni_mbr_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2))
hw_uni_mbr_connect_error = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapConnectErrorReason'))
if mibBuilder.loadTexts:
hwUniMbrConnectError.setStatus('current')
hw_uni_mbr_as_discover_attack = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrLinkStatTrapLocalPortName'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapReceivePktRate'))
if mibBuilder.loadTexts:
hwUniMbrASDiscoverAttack.setStatus('current')
hw_uni_mbr_fabric_port_member_delete = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrLinkStatTrapLocalPortName'))
if mibBuilder.loadTexts:
hwUniMbrFabricPortMemberDelete.setStatus('current')
hw_uni_mbr_illegal_fabric_config = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 3, 2, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapIllegalConfigReason'))
if mibBuilder.loadTexts:
hwUniMbrIllegalFabricConfig.setStatus('current')
hw_vermng_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4))
hw_vermng_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4, 1))
hw_vermng_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4, 2))
hw_vermng_upgrade_fail = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 4, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsErrorCode'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsErrorDescr'))
if mibBuilder.loadTexts:
hwVermngUpgradeFail.setStatus('current')
hw_tplm_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5))
hw_tplm_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 1))
hw_tplm_trap_as_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTplmTrapASName.setStatus('current')
hw_tplm_trap_failed_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 1, 2), octet_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwTplmTrapFailedReason.setStatus('current')
hw_tplm_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2))
hw_tplm_cmd_execute_failed_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmTrapASName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmTrapFailedReason'))
if mibBuilder.loadTexts:
hwTplmCmdExecuteFailedNotify.setStatus('current')
hw_tplm_cmd_execute_successful_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmTrapASName'))
if mibBuilder.loadTexts:
hwTplmCmdExecuteSuccessfulNotify.setStatus('current')
hw_tplm_direct_cmd_recover_fail = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 5, 2, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmTrapASName'))
if mibBuilder.loadTexts:
hwTplmDirectCmdRecoverFail.setStatus('current')
hw_uni_as_base_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6))
hw_uni_as_base_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1))
hw_uni_as_base_as_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 1), display_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseAsName.setStatus('current')
hw_uni_as_base_as_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 2), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseAsId.setStatus('current')
hw_uni_as_base_entity_physical_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 3), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntityPhysicalIndex.setStatus('current')
hw_uni_as_base_trap_severity = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 4), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseTrapSeverity.setStatus('current')
hw_uni_as_base_trap_probable_cause = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 5), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseTrapProbableCause.setStatus('current')
hw_uni_as_base_trap_event_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 6), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseTrapEventType.setStatus('current')
hw_uni_as_base_ent_physical_contained_in = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 7), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntPhysicalContainedIn.setStatus('current')
hw_uni_as_base_ent_physical_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 8), display_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntPhysicalName.setStatus('current')
hw_uni_as_base_relative_resource = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 9), display_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseRelativeResource.setStatus('current')
hw_uni_as_base_reason_description = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 10), display_string()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseReasonDescription.setStatus('current')
hw_uni_as_base_threshold_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 11), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdType.setStatus('current')
hw_uni_as_base_threshold_value = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 12), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdValue.setStatus('current')
hw_uni_as_base_threshold_unit = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 13), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdUnit.setStatus('current')
hw_uni_as_base_threshold_high_warning = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 14), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdHighWarning.setStatus('current')
hw_uni_as_base_threshold_high_critical = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 15), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdHighCritical.setStatus('current')
hw_uni_as_base_threshold_low_warning = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 16), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdLowWarning.setStatus('current')
hw_uni_as_base_threshold_low_critical = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 17), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdLowCritical.setStatus('current')
hw_uni_as_base_entity_trap_ent_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 18), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntityTrapEntType.setStatus('current')
hw_uni_as_base_entity_trap_ent_fault_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 19), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntityTrapEntFaultID.setStatus('current')
hw_uni_as_base_entity_trap_communicate_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 20), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntityTrapCommunicateType.setStatus('current')
hw_uni_as_base_threshold_ent_value = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 21), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdEntValue.setStatus('current')
hw_uni_as_base_threshold_ent_current = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 22), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdEntCurrent.setStatus('current')
hw_uni_as_base_ent_physical_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 23), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseEntPhysicalIndex.setStatus('current')
hw_uni_as_base_threshold_hw_base_threshold_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 24), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdHwBaseThresholdType.setStatus('current')
hw_uni_as_base_threshold_hw_base_threshold_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 1, 25), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
hwUniAsBaseThresholdHwBaseThresholdIndex.setStatus('current')
hw_uni_as_base_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2))
hw_as_environment_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 2))
hw_as_brd_temp_alarm = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASBrdTempAlarm.setStatus('current')
hw_as_brd_temp_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 2, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASBrdTempResume.setStatus('current')
hw_as_board_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 3))
hw_as_board_fail = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 3, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASBoardFail.setStatus('current')
hw_as_board_fail_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 3, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASBoardFailResume.setStatus('current')
hw_as_optical_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 4))
hw_as_optical_invalid = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 4, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASOpticalInvalid.setStatus('current')
hw_as_optical_invalid_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 4, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASOpticalInvalidResume.setStatus('current')
hw_as_power_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5))
hw_as_power_remove = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASPowerRemove.setStatus('current')
hw_as_power_insert = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASPowerInsert.setStatus('current')
hw_as_power_invalid = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASPowerInvalid.setStatus('current')
hw_as_power_invalid_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 5, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASPowerInvalidResume.setStatus('current')
hw_as_fan_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6))
hw_as_fan_remove = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASFanRemove.setStatus('current')
hw_as_fan_insert = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASFanInsert.setStatus('current')
hw_as_fan_invalid = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASFanInvalid.setStatus('current')
hw_as_fan_invalid_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 6, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASFanInvalidResume.setStatus('current')
hw_as_communicate_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 7))
hw_as_communicate_error = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 7, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapCommunicateType'))
if mibBuilder.loadTexts:
hwASCommunicateError.setStatus('current')
hw_as_communicate_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 7, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapCommunicateType'))
if mibBuilder.loadTexts:
hwASCommunicateResume.setStatus('current')
hw_ascpu_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 8))
hw_ascpu_utilization_rising = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 8, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASCPUUtilizationRising.setStatus('current')
hw_ascpu_utilization_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 8, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASCPUUtilizationResume.setStatus('current')
hw_as_memory_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 9))
hw_as_mem_utilization_rising = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 9, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASMemUtilizationRising.setStatus('current')
hw_as_mem_utilization_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 9, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'))
if mibBuilder.loadTexts:
hwASMemUtilizationResume.setStatus('current')
hw_as_mad_trap = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 10))
hw_as_mad_conflict_detect = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 10, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'))
if mibBuilder.loadTexts:
hwASMadConflictDetect.setStatus('current')
hw_as_mad_conflict_resume = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 31, 6, 2, 10, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'))
if mibBuilder.loadTexts:
hwASMadConflictResume.setStatus('current')
hw_unimng_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50))
hw_topomng_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1))
hw_topomng_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopomngObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTopoGroup'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_topomng_compliance = hwTopomngCompliance.setStatus('current')
hw_topomng_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopomngExploreTime'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngLastCollectDuration'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_topomng_objects_group = hwTopomngObjectsGroup.setStatus('current')
hw_topomng_topo_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopoPeerMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopoLocalPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopoPeerPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopoLocalTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopoPeerTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopoLocalRole'), ('HUAWEI-UNIMNG-MIB', 'hwTopoPeerRole'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_topomng_topo_group = hwTopomngTopoGroup.setStatus('current')
hw_topomng_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapLocalTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerMac'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerPortName'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapPeerTrunkId'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngTrapReason'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_topomng_trap_objects_group = hwTopomngTrapObjectsGroup.setStatus('current')
hw_topomng_traps_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 1, 1, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTopomngLinkNormal'), ('HUAWEI-UNIMNG-MIB', 'hwTopomngLinkAbnormal'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_topomng_traps_group = hwTopomngTrapsGroup.setStatus('current')
hw_asmng_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2))
hw_asmng_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngAsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngAsIfGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngAsIfXGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngGlobalObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngMacWhitelistGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngMacBlacklistGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngEntityPhysicalGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngEntityStateGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngEntityAliasMappingGroup'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngSlotGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_compliance = hwAsmngCompliance.setStatus('current')
hw_asmng_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMngEnable'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_objects_group = hwAsmngObjectsGroup.setStatus('current')
hw_asmng_as_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsHardwareVersion'), ('HUAWEI-UNIMNG-MIB', 'hwAsIpAddress'), ('HUAWEI-UNIMNG-MIB', 'hwAsIpNetMask'), ('HUAWEI-UNIMNG-MIB', 'hwAsAccessUser'), ('HUAWEI-UNIMNG-MIB', 'hwAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsSn'), ('HUAWEI-UNIMNG-MIB', 'hwAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsRunState'), ('HUAWEI-UNIMNG-MIB', 'hwAsSoftwareVersion'), ('HUAWEI-UNIMNG-MIB', 'hwAsDns'), ('HUAWEI-UNIMNG-MIB', 'hwAsOnlineTime'), ('HUAWEI-UNIMNG-MIB', 'hwAsCpuUseage'), ('HUAWEI-UNIMNG-MIB', 'hwAsMemoryUseage'), ('HUAWEI-UNIMNG-MIB', 'hwAsSysMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsStackEnable'), ('HUAWEI-UNIMNG-MIB', 'hwAsGatewayIp'), ('HUAWEI-UNIMNG-MIB', 'hwAsRowstatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsVpnInstance'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_as_group = hwAsmngAsGroup.setStatus('current')
hw_asmng_as_if_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsIfDescr'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfType'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfMtu'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfSpeed'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfPhysAddress'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfAdminStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfInUcastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfOutUcastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfOperStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_as_if_group = hwAsmngAsIfGroup.setStatus('current')
hw_asmng_as_if_x_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsIfLinkUpDownTrapEnable'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfHighSpeed'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfAlias'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfInUcastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfOutUcastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfHCOutOctets'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfInMulticastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfInBroadcastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfOutMulticastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfOutBroadcastPkts'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfHCInOctets'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfAsId'), ('HUAWEI-UNIMNG-MIB', 'hwAsIfName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_as_if_x_group = hwAsmngAsIfXGroup.setStatus('current')
hw_asmng_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 5)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsModel'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSn'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfIndex'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfOperStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsFaultTimes'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfAdminStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfName'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsActualeType'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsVersion'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapParentVersion'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAddedAsMac'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsSlotId'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAddedAsSlotType'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsPermitNum'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsUnimngMode'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapParentUnimngMode'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsIfType'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsOnlineFailReasonId'), ('HUAWEI-UNIMNG-MIB', 'hwAsmngTrapAsOnlineFailReasonDesc'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_trap_objects_group = hwAsmngTrapObjectsGroup.setStatus('current')
hw_asmng_traps_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 6)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsFaultNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsNormalNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsAddOffLineNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsDelOffLineNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsPortStateChangeToDownNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsPortStateChangeToUpNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsModelNotMatchNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsVersionNotMatchNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsNameConflictNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsSlotModelNotMatchNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsFullNotify'), ('HUAWEI-UNIMNG-MIB', 'hwUnimngModeNotMatchNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsBoardAddNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsBoardDeleteNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsBoardPlugInNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsBoardPlugOutNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsInBlacklistNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsUnconfirmedNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsComboPortTypeChangeNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsOnlineFailNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsSlotIdInvalidNotify'), ('HUAWEI-UNIMNG-MIB', 'hwAsSysmacSwitchCfgErrNotify'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_traps_group = hwAsmngTrapsGroup.setStatus('current')
hw_asmng_global_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 7)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsAutoReplaceEnable'), ('HUAWEI-UNIMNG-MIB', 'hwAsAuthMode'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_global_objects_group = hwAsmngGlobalObjectsGroup.setStatus('current')
hw_asmng_mac_whitelist_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 8)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsMacWhitelistRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_mac_whitelist_group = hwAsmngMacWhitelistGroup.setStatus('current')
hw_asmng_mac_blacklist_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 9)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsMacBlacklistRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_mac_blacklist_group = hwAsmngMacBlacklistGroup.setStatus('current')
hw_asmng_entity_physical_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 10)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalDescr'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalVendorType'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalContainedIn'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalClass'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalParentRelPos'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalHardwareRev'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalFirmwareRev'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalSoftwareRev'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalSerialNum'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPhysicalMfgName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_entity_physical_group = hwAsmngEntityPhysicalGroup.setStatus('current')
hw_asmng_entity_state_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 11)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsEntityAdminStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityOperStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityStandbyStatus'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityAlarmLight'), ('HUAWEI-UNIMNG-MIB', 'hwAsEntityPortType'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_entity_state_group = hwAsmngEntityStateGroup.setStatus('current')
hw_asmng_entity_alias_mapping_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 12)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsEntryAliasMappingIdentifier'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_entity_alias_mapping_group = hwAsmngEntityAliasMappingGroup.setStatus('current')
hw_asmng_slot_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 2, 1, 13)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwAsSlotState'), ('HUAWEI-UNIMNG-MIB', 'hwAsSlotRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_asmng_slot_group = hwAsmngSlotGroup.setStatus('current')
hw_mbr_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3))
hw_mbr_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwMbrTrapObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwMbrTrapsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwMbrFabricPortGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_mbr_compliance = hwMbrCompliance.setStatus('current')
hw_mbr_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMbrLinkStatTrapLocalMac'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrLinkStatTrapLocalPortName'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrLinkStatTrapChangeType'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapConnectErrorReason'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapReceivePktRate'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapAsSysName'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrParaSynFailReason'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrTrapIllegalConfigReason'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_mbr_trap_objects_group = hwMbrTrapObjectsGroup.setStatus('current')
hw_mbr_traps_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniMbrConnectError'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrASDiscoverAttack'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrFabricPortMemberDelete'), ('HUAWEI-UNIMNG-MIB', 'hwUniMbrIllegalFabricConfig'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_mbr_traps_group = hwMbrTrapsGroup.setStatus('current')
hw_mbr_fabric_port_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 3, 1, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwMbrMngFabricPortMemberIfName'), ('HUAWEI-UNIMNG-MIB', 'hwMbrMngFabricPortDirection'), ('HUAWEI-UNIMNG-MIB', 'hwMbrMngFabricPortIndirectFlag'), ('HUAWEI-UNIMNG-MIB', 'hwMbrMngFabricPortDescription'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_mbr_fabric_port_group = hwMbrFabricPortGroup.setStatus('current')
hw_vermng_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4))
hw_vermng_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwVermngObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoGroup'), ('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoGroup'), ('HUAWEI-UNIMNG-MIB', 'hwVermngTrapsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_vermng_compliance = hwVermngCompliance.setStatus('current')
hw_vermng_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwVermngFileServerType'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_vermng_objects_group = hwVermngObjectsGroup.setStatus('current')
hw_vermng_upgrade_info_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsName'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsSysSoftware'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsSysSoftwareVer'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsSysPatch'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsDownloadSoftware'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsDownloadSoftwareVer'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsDownloadPatch'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsUpgradeState'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsUpgradeType'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsFilePhase'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsUpgradePhase'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsUpgradeResult'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsErrorCode'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoAsErrorDescr'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_vermng_upgrade_info_group = hwVermngUpgradeInfoGroup.setStatus('current')
hw_vermng_as_type_cfg_info_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoPatch'), ('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoSystemSoftwareVer'), ('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoRowStatus'), ('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoSystemSoftware'), ('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoAsTypeName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_vermng_as_type_cfg_info_group = hwVermngAsTypeCfgInfoGroup.setStatus('current')
hw_vermng_traps_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 4, 1, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeFail'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_vermng_traps_group = hwVermngTrapsGroup.setStatus('current')
hw_tplm_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5))
hw_tplm_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwVermngObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwVermngUpgradeInfoGroup'), ('HUAWEI-UNIMNG-MIB', 'hwVermngAsTypeCfgInfoGroup'), ('HUAWEI-UNIMNG-MIB', 'hwVermngTrapsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_compliance = hwTplmCompliance.setStatus('current')
hw_tplm_as_group_goup = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmASGroupName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmASAdminProfileName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmASGroupProfileStatus'), ('HUAWEI-UNIMNG-MIB', 'hwTplmASGroupRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_as_group_goup = hwTplmASGroupGoup.setStatus('current')
hw_tplm_as_goup = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmASASGroupName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmASRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_as_goup = hwTplmASGoup.setStatus('current')
hw_tplm_port_group_goup = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 3)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupType'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupNetworkBasicProfile'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupNetworkEnhancedProfile'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupUserAccessProfile'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupProfileStatus'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortGroupRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_port_group_goup = hwTplmPortGroupGoup.setStatus('current')
hw_tplm_port_goup = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 4)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmPortPortGroupName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmPortRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_port_goup = hwTplmPortGoup.setStatus('current')
hw_tplm_config_management_goup = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 5)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmConfigCommitAll'), ('HUAWEI-UNIMNG-MIB', 'hwTplmConfigManagementCommit'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_config_management_goup = hwTplmConfigManagementGoup.setStatus('current')
hw_tplm_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 6)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmTrapASName'), ('HUAWEI-UNIMNG-MIB', 'hwTplmTrapFailedReason'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_trap_objects_group = hwTplmTrapObjectsGroup.setStatus('current')
hw_tplm_traps_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 5, 1, 7)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwTplmCmdExecuteFailedNotify'), ('HUAWEI-UNIMNG-MIB', 'hwTplmCmdExecuteSuccessfulNotify'), ('HUAWEI-UNIMNG-MIB', 'hwTplmDirectCmdRecoverFail'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_tplm_traps_group = hwTplmTrapsGroup.setStatus('current')
hw_uni_base_trap_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6))
hw_uni_base_trap_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniBaseTrapObjectsGroup'), ('HUAWEI-UNIMNG-MIB', 'hwUniBaseTrapsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_uni_base_trap_compliance = hwUniBaseTrapCompliance.setStatus('current')
hw_uni_base_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6, 1, 1)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseAsId'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseTrapSeverity'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseTrapProbableCause'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseTrapEventType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalContainedIn'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalName'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseRelativeResource'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseReasonDescription'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdUnit'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdHighWarning'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdHighCritical'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdLowWarning'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdLowCritical'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapEntFaultID'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntityTrapCommunicateType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntValue'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdEntCurrent'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseEntPhysicalIndex'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdHwBaseThresholdType'), ('HUAWEI-UNIMNG-MIB', 'hwUniAsBaseThresholdHwBaseThresholdIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_uni_base_trap_objects_group = hwUniBaseTrapObjectsGroup.setStatus('current')
hw_uni_base_traps_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 327, 50, 6, 1, 2)).setObjects(('HUAWEI-UNIMNG-MIB', 'hwASBoardFail'), ('HUAWEI-UNIMNG-MIB', 'hwASBoardFailResume'), ('HUAWEI-UNIMNG-MIB', 'hwASOpticalInvalid'), ('HUAWEI-UNIMNG-MIB', 'hwASOpticalInvalidResume'), ('HUAWEI-UNIMNG-MIB', 'hwASPowerRemove'), ('HUAWEI-UNIMNG-MIB', 'hwASPowerInsert'), ('HUAWEI-UNIMNG-MIB', 'hwASPowerInvalid'), ('HUAWEI-UNIMNG-MIB', 'hwASPowerInvalidResume'), ('HUAWEI-UNIMNG-MIB', 'hwASFanRemove'), ('HUAWEI-UNIMNG-MIB', 'hwASFanInsert'), ('HUAWEI-UNIMNG-MIB', 'hwASFanInvalid'), ('HUAWEI-UNIMNG-MIB', 'hwASFanInvalidResume'), ('HUAWEI-UNIMNG-MIB', 'hwASCommunicateError'), ('HUAWEI-UNIMNG-MIB', 'hwASCommunicateResume'), ('HUAWEI-UNIMNG-MIB', 'hwASCPUUtilizationRising'), ('HUAWEI-UNIMNG-MIB', 'hwASCPUUtilizationResume'), ('HUAWEI-UNIMNG-MIB', 'hwASMemUtilizationRising'), ('HUAWEI-UNIMNG-MIB', 'hwASMemUtilizationResume'), ('HUAWEI-UNIMNG-MIB', 'hwASMadConflictDetect'), ('HUAWEI-UNIMNG-MIB', 'hwASMadConflictResume'), ('HUAWEI-UNIMNG-MIB', 'hwASBrdTempAlarm'), ('HUAWEI-UNIMNG-MIB', 'hwASBrdTempResume'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_uni_base_traps_group = hwUniBaseTrapsGroup.setStatus('current')
mibBuilder.exportSymbols('HUAWEI-UNIMNG-MIB', hwAsFaultNotify=hwAsFaultNotify, hwTplmCmdExecuteSuccessfulNotify=hwTplmCmdExecuteSuccessfulNotify, hwAsSysName=hwAsSysName, hwAsEntityStandbyStatus=hwAsEntityStandbyStatus, hwAsmngTrapAsSysName=hwAsmngTrapAsSysName, hwAsTable=hwAsTable, hwVermngCompliance=hwVermngCompliance, hwAsPortStateChangeToUpNotify=hwAsPortStateChangeToUpNotify, hwTopomngTrap=hwTopomngTrap, hwAsmngTrapAsPermitNum=hwAsmngTrapAsPermitNum, hwTopomngTrapLocalPortName=hwTopomngTrapLocalPortName, hwTplmPortGroupNetworkBasicProfile=hwTplmPortGroupNetworkBasicProfile, hwAsIfMtu=hwAsIfMtu, hwTopoLocalPortName=hwTopoLocalPortName, hwUniAsBaseThresholdUnit=hwUniAsBaseThresholdUnit, hwAsmngTrapAsModel=hwAsmngTrapAsModel, hwTopomngTopoEntry=hwTopomngTopoEntry, hwTopoPeerTrunkId=hwTopoPeerTrunkId, hwVermngAsTypeCfgInfoSystemSoftware=hwVermngAsTypeCfgInfoSystemSoftware, hwAsmngTrapAsOnlineFailReasonId=hwAsmngTrapAsOnlineFailReasonId, hwUniMbrTrapReceivePktRate=hwUniMbrTrapReceivePktRate, hwASBrdTempResume=hwASBrdTempResume, hwAsMemoryUseage=hwAsMemoryUseage, hwAsSlotEntry=hwAsSlotEntry, hwAsMacBlacklistRowStatus=hwAsMacBlacklistRowStatus, hwVermngCompliances=hwVermngCompliances, hwMbrMngASId=hwMbrMngASId, hwTopomngTopoTable=hwTopomngTopoTable, hwAsmngAsGroup=hwAsmngAsGroup, hwASMadTrap=hwASMadTrap, hwVermngUpgradeInfoAsDownloadSoftwareVer=hwVermngUpgradeInfoAsDownloadSoftwareVer, hwUniAsBaseTrap=hwUniAsBaseTrap, hwVermngUpgradeInfoAsSysPatch=hwVermngUpgradeInfoAsSysPatch, hwTplmPortGroupIndex=hwTplmPortGroupIndex, hwAsEntityStateTable=hwAsEntityStateTable, hwUniMbrParaSynFailReason=hwUniMbrParaSynFailReason, hwTplmASGroupTable=hwTplmASGroupTable, hwTplmPortGroupGoup=hwTplmPortGroupGoup, hwASCommunicateResume=hwASCommunicateResume, hwAsmngTrapAsIfOperStatus=hwAsmngTrapAsIfOperStatus, hwVermngUpgradeInfoAsName=hwVermngUpgradeInfoAsName, hwUniAsBaseEntityTrapEntType=hwUniAsBaseEntityTrapEntType, hwUniAsBaseEntPhysicalName=hwUniAsBaseEntPhysicalName, hwTopoPeerPortName=hwTopoPeerPortName, hwUniAsBaseThresholdValue=hwUniAsBaseThresholdValue, hwAsMacBlacklistMacAddr=hwAsMacBlacklistMacAddr, hwUniAsBaseEntityTrapEntFaultID=hwUniAsBaseEntityTrapEntFaultID, hwASCPUUtilizationResume=hwASCPUUtilizationResume, hwAsmngAsIfGroup=hwAsmngAsIfGroup, hwTplmTrapsGroup=hwTplmTrapsGroup, hwTplmTrapFailedReason=hwTplmTrapFailedReason, hwUniMbrLinkStatTrapLocalMac=hwUniMbrLinkStatTrapLocalMac, hwTplmASEntry=hwTplmASEntry, hwTopoPeerMac=hwTopoPeerMac, hwTplmPortEntry=hwTplmPortEntry, hwAsmngObjectsGroup=hwAsmngObjectsGroup, hwAsIfOutBroadcastPkts=hwAsIfOutBroadcastPkts, hwTopomngObjectsGroup=hwTopomngObjectsGroup, hwVermngAsTypeCfgInfoTable=hwVermngAsTypeCfgInfoTable, hwUniAsBaseThresholdHighWarning=hwUniAsBaseThresholdHighWarning, hwAsEntityPhysicalName=hwAsEntityPhysicalName, hwTplmPortGoup=hwTplmPortGoup, hwVermngObjectsGroup=hwVermngObjectsGroup, hwVermngUpgradeInfoAsUpgradePhase=hwVermngUpgradeInfoAsUpgradePhase, hwAsIfEntry=hwAsIfEntry, hwTplmASAdminProfileName=hwTplmASAdminProfileName, hwTopomngTraps=hwTopomngTraps, hwAsSysMac=hwAsSysMac, hwAsIfPhysAddress=hwAsIfPhysAddress, hwAsGatewayIp=hwAsGatewayIp, hwVermngUpgradeInfoTable=hwVermngUpgradeInfoTable, hwAsDns=hwAsDns, hwAsStackEnable=hwAsStackEnable, hwASFanTrap=hwASFanTrap, hwTplmConfigCommitAll=hwTplmConfigCommitAll, hwAsmngMacBlacklistGroup=hwAsmngMacBlacklistGroup, hwTplmPortGroupUserAccessProfile=hwTplmPortGroupUserAccessProfile, hwTopomngTopoGroup=hwTopomngTopoGroup, hwAsIfXTable=hwAsIfXTable, hwAsmngTrapObjects=hwAsmngTrapObjects, hwAsmngCompliance=hwAsmngCompliance, hwUniBaseTrapCompliance=hwUniBaseTrapCompliance, hwAsMacBlacklistEntry=hwAsMacBlacklistEntry, hwTopomngTrapsGroup=hwTopomngTrapsGroup, hwTopomngLinkAbnormal=hwTopomngLinkAbnormal, hwVermngUpgradeInfoEntry=hwVermngUpgradeInfoEntry, hwUniMngEnable=hwUniMngEnable, hwTopoLocalMac=hwTopoLocalMac, hwASMemUtilizationRising=hwASMemUtilizationRising, hwAsIndex=hwAsIndex, hwAsEntityStateEntry=hwAsEntityStateEntry, hwUniMbrLinkStatTrapChangeType=hwUniMbrLinkStatTrapChangeType, hwAsEntry=hwAsEntry, hwAsmngTrapsGroup=hwAsmngTrapsGroup, hwAsmngTrapAsSn=hwAsmngTrapAsSn, hwTplmPortGroupTable=hwTplmPortGroupTable, hwUniMbrTrapConnectErrorReason=hwUniMbrTrapConnectErrorReason, hwVermngUpgradeInfoGroup=hwVermngUpgradeInfoGroup, hwTplmCompliance=hwTplmCompliance, hwUniAsBaseRelativeResource=hwUniAsBaseRelativeResource, hwAsEntityPhysicalDescr=hwAsEntityPhysicalDescr, hwAsHardwareVersion=hwAsHardwareVersion, hwAsSoftwareVersion=hwAsSoftwareVersion, hwAsIfOutMulticastPkts=hwAsIfOutMulticastPkts, hwTplmDirectCmdRecoverFail=hwTplmDirectCmdRecoverFail, hwAsMacWhitelistTable=hwAsMacWhitelistTable, hwTopomngLastCollectDuration=hwTopomngLastCollectDuration, hwVermngTrap=hwVermngTrap, hwAsSlotId=hwAsSlotId, hwAsSlotIdInvalidNotify=hwAsSlotIdInvalidNotify, hwAsMacWhitelistEntry=hwAsMacWhitelistEntry, hwTplmASGroupGoup=hwTplmASGroupGoup, hwAsmngObjects=hwAsmngObjects, hwTopomngTrapObjectsGroup=hwTopomngTrapObjectsGroup, hwMbrMngFabricPortDescription=hwMbrMngFabricPortDescription, hwTopomngTrapPeerPortName=hwTopomngTrapPeerPortName, hwTplmTraps=hwTplmTraps, hwAsIfAlias=hwAsIfAlias, hwASBoardTrap=hwASBoardTrap, hwTplmConfigManagementTable=hwTplmConfigManagementTable, hwTopoLocalTrunkId=hwTopoLocalTrunkId, hwTopomngExploreTime=hwTopomngExploreTime, hwASCPUTrap=hwASCPUTrap, hwAsmngTrapAsActualeType=hwAsmngTrapAsActualeType, hwAsmngTrapAsMac=hwAsmngTrapAsMac, hwVermngTrapsGroup=hwVermngTrapsGroup, hwAsMacBlacklistTable=hwAsMacBlacklistTable, hwAsmngTrapAsIfName=hwAsmngTrapAsIfName, hwAsEntityPortType=hwAsEntityPortType, hwTopoPeerDeviceIndex=hwTopoPeerDeviceIndex, hwAsIpNetMask=hwAsIpNetMask, hwASMemUtilizationResume=hwASMemUtilizationResume, hwAsmngTrapAsOnlineFailReasonDesc=hwAsmngTrapAsOnlineFailReasonDesc, hwAsmngTrapAddedAsSlotType=hwAsmngTrapAddedAsSlotType, hwAsModel=hwAsModel, hwTopoLocalRole=hwTopoLocalRole, hwAsEntityPhysicalTable=hwAsEntityPhysicalTable, hwVermngTraps=hwVermngTraps, hwASBrdTempAlarm=hwASBrdTempAlarm, hwAsModelNotMatchNotify=hwAsModelNotMatchNotify, hwAsEntityPhysicalIndex=hwAsEntityPhysicalIndex, hwAsSlotRowStatus=hwAsSlotRowStatus, hwAsmngTrapAddedAsMac=hwAsmngTrapAddedAsMac, hwUniAsBaseAsName=hwUniAsBaseAsName, hwUnimngModeNotMatchNotify=hwUnimngModeNotMatchNotify, hwTplmPortGroupType=hwTplmPortGroupType, hwTopomngTrapReason=hwTopomngTrapReason, hwUniAsBaseEntityTrapCommunicateType=hwUniAsBaseEntityTrapCommunicateType, hwAsMacWhitelistMacAddr=hwAsMacWhitelistMacAddr, hwAsmngTrapAsIfIndex=hwAsmngTrapAsIfIndex, hwVermngUpgradeInfoAsSysSoftwareVer=hwVermngUpgradeInfoAsSysSoftwareVer, hwAsSlotModelNotMatchNotify=hwAsSlotModelNotMatchNotify, hwUniMbrLinkStatTrapLocalPortName=hwUniMbrLinkStatTrapLocalPortName, hwASBoardFail=hwASBoardFail, hwAsEntityPhysicalMfgName=hwAsEntityPhysicalMfgName, hwAsIfLinkUpDownTrapEnable=hwAsIfLinkUpDownTrapEnable, hwMbrMngFabricPortMemberIfName=hwMbrMngFabricPortMemberIfName, hwVermngGlobalObjects=hwVermngGlobalObjects, hwAsIfSpeed=hwAsIfSpeed, hwAsPortStateChangeToDownNotify=hwAsPortStateChangeToDownNotify, hwAsNameConflictNotify=hwAsNameConflictNotify, hwAsIfAdminStatus=hwAsIfAdminStatus, hwAsmngMacWhitelistGroup=hwAsmngMacWhitelistGroup, hwASFanInsert=hwASFanInsert, hwVermngUpgradeInfoAsUpgradeType=hwVermngUpgradeInfoAsUpgradeType, hwAsEntryAliasLogicalIndexOrZero=hwAsEntryAliasLogicalIndexOrZero, hwAsEntityAliasMappingTable=hwAsEntityAliasMappingTable, hwTplmTrap=hwTplmTrap, hwTopoLocalHop=hwTopoLocalHop, hwTplmPortIfIndex=hwTplmPortIfIndex, hwUniAsBaseThresholdEntCurrent=hwUniAsBaseThresholdEntCurrent, hwASMemoryTrap=hwASMemoryTrap, hwAsmngTraps=hwAsmngTraps, hwAsmngGlobalObjects=hwAsmngGlobalObjects, hwAsAuthMode=hwAsAuthMode, hwTplmASId=hwTplmASId, hwASBoardFailResume=hwASBoardFailResume, hwAsmngTrapAsIfType=hwAsmngTrapAsIfType, hwUniMbrTrapIllegalConfigReason=hwUniMbrTrapIllegalConfigReason, hwAsmngTrapAsFaultTimes=hwAsmngTrapAsFaultTimes, hwTplmASGroupIndex=hwTplmASGroupIndex, hwTplmPortGroupNetworkEnhancedProfile=hwTplmPortGroupNetworkEnhancedProfile, hwAsIfOutUcastPkts=hwAsIfOutUcastPkts, hwTplmConfigManagement=hwTplmConfigManagement, hwUniAsBaseTrapProbableCause=hwUniAsBaseTrapProbableCause, hwTplmASGroupRowStatus=hwTplmASGroupRowStatus, hwTplmASGroupEntry=hwTplmASGroupEntry, hwASOpticalInvalidResume=hwASOpticalInvalidResume, hwTplmTrapObjectsGroup=hwTplmTrapObjectsGroup, hwAsOnlineTime=hwAsOnlineTime, hwAsEntityAliasMappingEntry=hwAsEntityAliasMappingEntry, hwAsmngTrapAsVersion=hwAsmngTrapAsVersion, hwAsAutoReplaceEnable=hwAsAutoReplaceEnable, hwAsmngEntityAliasMappingGroup=hwAsmngEntityAliasMappingGroup, hwAsmngTrapParentUnimngMode=hwAsmngTrapParentUnimngMode, hwVermngObjects=hwVermngObjects, hwUniAsBaseThresholdLowWarning=hwUniAsBaseThresholdLowWarning, hwAsSlotTable=hwAsSlotTable, hwVermngAsTypeCfgInfoAsTypeIndex=hwVermngAsTypeCfgInfoAsTypeIndex, hwASPowerRemove=hwASPowerRemove, hwUniAsBaseEntPhysicalContainedIn=hwUniAsBaseEntPhysicalContainedIn, hwAsmngSlotGroup=hwAsmngSlotGroup, hwUnimngConformance=hwUnimngConformance, hwAsEntityAdminStatus=hwAsEntityAdminStatus, hwVermngUpgradeInfoAsErrorDescr=hwVermngUpgradeInfoAsErrorDescr, hwVermngAsTypeCfgInfoEntry=hwVermngAsTypeCfgInfoEntry, hwTplmASGroupProfileStatus=hwTplmASGroupProfileStatus, hwUniMbrFabricPortMemberDelete=hwUniMbrFabricPortMemberDelete, hwAsFullNotify=hwAsFullNotify, hwUniAsBaseTrapEventType=hwUniAsBaseTrapEventType, hwUniBaseTrapObjectsGroup=hwUniBaseTrapObjectsGroup, hwUniAsBaseThresholdType=hwUniAsBaseThresholdType, hwTplmPortGroupProfileStatus=hwTplmPortGroupProfileStatus, hwUniMbrASDiscoverAttack=hwUniMbrASDiscoverAttack, hwUniMbrTrapAsIndex=hwUniMbrTrapAsIndex, hwTopomngObjects=hwTopomngObjects, hwAsVpnInstance=hwAsVpnInstance, hwAsmngEntityPhysicalGroup=hwAsmngEntityPhysicalGroup, hwTplmObjects=hwTplmObjects, hwAsmngTrapAsUnimngMode=hwAsmngTrapAsUnimngMode, hwAsComboPortTypeChangeNotify=hwAsComboPortTypeChangeNotify, hwTplmTrapASName=hwTplmTrapASName, hwUnimngObjects=hwUnimngObjects, hwVermngUpgradeInfoAsDownloadSoftware=hwVermngUpgradeInfoAsDownloadSoftware, hwUniAsBaseThresholdEntValue=hwUniAsBaseThresholdEntValue, hwTopomngTrapObjects=hwTopomngTrapObjects, hwVermngUpgradeInfoAsUpgradeResult=hwVermngUpgradeInfoAsUpgradeResult, hwTplmPortGroupName=hwTplmPortGroupName, hwAsEntityAlarmLight=hwAsEntityAlarmLight, hwUniAsBaseEntPhysicalIndex=hwUniAsBaseEntPhysicalIndex, hwAsmngGlobalObjectsGroup=hwAsmngGlobalObjectsGroup, hwASOpticalInvalid=hwASOpticalInvalid, hwAsEntityOperStatus=hwAsEntityOperStatus, hwVermngUpgradeInfoAsDownloadPatch=hwVermngUpgradeInfoAsDownloadPatch, hwAsIfIndex=hwAsIfIndex, hwUniAsBaseTraps=hwUniAsBaseTraps, hwAsIfType=hwAsIfType, hwAsBoardAddNotify=hwAsBoardAddNotify, hwAsEntityPhysicalParentRelPos=hwAsEntityPhysicalParentRelPos, hwAsAccessUser=hwAsAccessUser, hwUniMbrIllegalFabricConfig=hwUniMbrIllegalFabricConfig, hwMbrTrapObjectsGroup=hwMbrTrapObjectsGroup, hwAsBoardPlugInNotify=hwAsBoardPlugInNotify, hwAsCpuUseage=hwAsCpuUseage, hwAsEntityPhysicalVendorType=hwAsEntityPhysicalVendorType, hwAsMacWhitelistRowStatus=hwAsMacWhitelistRowStatus, hwASCommunicateError=hwASCommunicateError, hwASPowerInvalidResume=hwASPowerInvalidResume, hwAsAddOffLineNotify=hwAsAddOffLineNotify, hwTplmASGoup=hwTplmASGoup, hwASCommunicateTrap=hwASCommunicateTrap, hwAsmngTrapParentVersion=hwAsmngTrapParentVersion, hwTplmConfigManagementCommit=hwTplmConfigManagementCommit, hwASCPUUtilizationRising=hwASCPUUtilizationRising)
mibBuilder.exportSymbols('HUAWEI-UNIMNG-MIB', hwTopomngTrapLocalMac=hwTopomngTrapLocalMac, hwVermngTrapObjects=hwVermngTrapObjects, hwTopomngCompliance=hwTopomngCompliance, hwVermngAsTypeCfgInfoPatch=hwVermngAsTypeCfgInfoPatch, hwTplmCmdExecuteFailedNotify=hwTplmCmdExecuteFailedNotify, hwAsEntryAliasMappingIdentifier=hwAsEntryAliasMappingIdentifier, hwAsmngTrapAsIndex=hwAsmngTrapAsIndex, hwVermngUpgradeFail=hwVermngUpgradeFail, hwMbrCompliances=hwMbrCompliances, hwMbrFabricPortGroup=hwMbrFabricPortGroup, hwAsIfAsId=hwAsIfAsId, hwTopomngTrapPeerMac=hwTopomngTrapPeerMac, hwAsBoardDeleteNotify=hwAsBoardDeleteNotify, hwAsIfXEntry=hwAsIfXEntry, hwVermngUpgradeInfoAsFilePhase=hwVermngUpgradeInfoAsFilePhase, hwMbrCompliance=hwMbrCompliance, hwUniAsBaseTrapSeverity=hwUniAsBaseTrapSeverity, hwUnimngMIB=hwUnimngMIB, hwTplmCompliances=hwTplmCompliances, hwAsIfHCOutOctets=hwAsIfHCOutOctets, hwAsmngCompliances=hwAsmngCompliances, hwASOpticalTrap=hwASOpticalTrap, hwVermngAsTypeCfgInfoSystemSoftwareVer=hwVermngAsTypeCfgInfoSystemSoftwareVer, hwAsInBlacklistNotify=hwAsInBlacklistNotify, hwAsEntityPhysicalContainedIn=hwAsEntityPhysicalContainedIn, hwAsEntityPhysicalEntry=hwAsEntityPhysicalEntry, hwAsDelOffLineNotify=hwAsDelOffLineNotify, hwUniAsBaseEntityPhysicalIndex=hwUniAsBaseEntityPhysicalIndex, hwVermngAsTypeCfgInfoAsTypeName=hwVermngAsTypeCfgInfoAsTypeName, hwAsEntityPhysicalClass=hwAsEntityPhysicalClass, hwUnimngNotification=hwUnimngNotification, hwASEnvironmentTrap=hwASEnvironmentTrap, hwMbrmngObjects=hwMbrmngObjects, hwVermngFileServerType=hwVermngFileServerType, hwTplmPortPortGroupName=hwTplmPortPortGroupName, hwASFanInvalid=hwASFanInvalid, hwUniAsBaseAsId=hwUniAsBaseAsId, hwAsmngTrapObjectsGroup=hwAsmngTrapObjectsGroup, hwMbrTrapsGroup=hwMbrTrapsGroup, hwAsmngTrapAsSlotId=hwAsmngTrapAsSlotId, hwTplmConfigManagementGoup=hwTplmConfigManagementGoup, hwTplmConfigManagementASId=hwTplmConfigManagementASId, hwAsSlotState=hwAsSlotState, hwVermngUpgradeInfoAsSysSoftware=hwVermngUpgradeInfoAsSysSoftware, hwTplmPortGroupEntry=hwTplmPortGroupEntry, hwTopoPeerRole=hwTopoPeerRole, hwAsVersionNotMatchNotify=hwAsVersionNotMatchNotify, hwTopomngCompliances=hwTopomngCompliances, hwAsIpAddress=hwAsIpAddress, hwASPowerInvalid=hwASPowerInvalid, hwAsRunState=hwAsRunState, hwTplmASGroupName=hwTplmASGroupName, hwUniMbrTrapObjects=hwUniMbrTrapObjects, hwAsBoardPlugOutNotify=hwAsBoardPlugOutNotify, hwAsEntityPhysicalHardwareRev=hwAsEntityPhysicalHardwareRev, hwASPowerTrap=hwASPowerTrap, hwUniBaseTrapsGroup=hwUniBaseTrapsGroup, hwAsIfOperStatus=hwAsIfOperStatus, hwAsIfName=hwAsIfName, hwAsIfHighSpeed=hwAsIfHighSpeed, hwAsOnlineFailNotify=hwAsOnlineFailNotify, hwUniAsBaseReasonDescription=hwUniAsBaseReasonDescription, hwAsRowstatus=hwAsRowstatus, hwAsIfTable=hwAsIfTable, hwASFanRemove=hwASFanRemove, hwAsEntityPhysicalSoftwareRev=hwAsEntityPhysicalSoftwareRev, hwVermngUpgradeInfoAsUpgradeState=hwVermngUpgradeInfoAsUpgradeState, hwAsIfInMulticastPkts=hwAsIfInMulticastPkts, hwASFanInvalidResume=hwASFanInvalidResume, hwAsIfDescr=hwAsIfDescr, hwMbrMngFabricPortDirection=hwMbrMngFabricPortDirection, hwTplmTrapObjects=hwTplmTrapObjects, hwUniAsBaseThresholdLowCritical=hwUniAsBaseThresholdLowCritical, hwAsEntityPhysicalSerialNum=hwAsEntityPhysicalSerialNum, hwUniMbrConnectError=hwUniMbrConnectError, hwAsIfHCInOctets=hwAsIfHCInOctets, hwTopomngLinkNormal=hwTopomngLinkNormal, hwTplmPortRowStatus=hwTplmPortRowStatus, hwAsIfInBroadcastPkts=hwAsIfInBroadcastPkts, hwVermngAsTypeCfgInfoGroup=hwVermngAsTypeCfgInfoGroup, hwASMadConflictDetect=hwASMadConflictDetect, hwAsmngTrap=hwAsmngTrap, hwAsSysmacSwitchCfgErrNotify=hwAsSysmacSwitchCfgErrNotify, hwASPowerInsert=hwASPowerInsert, AlarmStatus=AlarmStatus, hwUniMbrTraps=hwUniMbrTraps, hwVermngUpgradeInfoAsErrorCode=hwVermngUpgradeInfoAsErrorCode, hwAsMac=hwAsMac, hwUniAsBaseThresholdHighCritical=hwUniAsBaseThresholdHighCritical, hwTopomngTrapLocalTrunkId=hwTopomngTrapLocalTrunkId, hwAsSn=hwAsSn, hwTplmPortTable=hwTplmPortTable, hwUniMbrTrapAsSysName=hwUniMbrTrapAsSysName, hwAsUnconfirmedNotify=hwAsUnconfirmedNotify, hwUniMbrTrap=hwUniMbrTrap, hwTplmPortGroupRowStatus=hwTplmPortGroupRowStatus, hwAsmngEntityStateGroup=hwAsmngEntityStateGroup, hwTplmConfigManagementEntry=hwTplmConfigManagementEntry, hwTopomngTrapPeerTrunkId=hwTopomngTrapPeerTrunkId, hwUniAsBaseThresholdHwBaseThresholdIndex=hwUniAsBaseThresholdHwBaseThresholdIndex, hwTplmASRowStatus=hwTplmASRowStatus, hwAsmngTrapAsIfAdminStatus=hwAsmngTrapAsIfAdminStatus, hwASMadConflictResume=hwASMadConflictResume, hwAsEntityPhysicalFirmwareRev=hwAsEntityPhysicalFirmwareRev, hwMbrMngFabricPortTable=hwMbrMngFabricPortTable, hwMbrMngFabricPortIndirectFlag=hwMbrMngFabricPortIndirectFlag, hwAsmngAsIfXGroup=hwAsmngAsIfXGroup, hwUniBaseTrapCompliances=hwUniBaseTrapCompliances, hwTplmASTable=hwTplmASTable, hwUniAsBaseThresholdHwBaseThresholdType=hwUniAsBaseThresholdHwBaseThresholdType, hwMbrMngFabricPortEntry=hwMbrMngFabricPortEntry, hwVermngAsTypeCfgInfoRowStatus=hwVermngAsTypeCfgInfoRowStatus, hwAsIfInUcastPkts=hwAsIfInUcastPkts, hwUniAsBaseTrapObjects=hwUniAsBaseTrapObjects, PYSNMP_MODULE_ID=hwUnimngMIB, hwAsNormalNotify=hwAsNormalNotify, hwMbrMngFabricPortId=hwMbrMngFabricPortId, hwTplmASASGroupName=hwTplmASASGroupName, hwVermngUpgradeInfoAsIndex=hwVermngUpgradeInfoAsIndex) |
def kill_timer(timer):
timer.cancel()
def init():
global timeout_add
global timeout_end
timeout_add = pyjd.gobject.timeout_add
timeout_end = kill_timer
| def kill_timer(timer):
timer.cancel()
def init():
global timeout_add
global timeout_end
timeout_add = pyjd.gobject.timeout_add
timeout_end = kill_timer |
#!/usr/bin/python3
class _LockCtx(object):
__slots__ = ( "__evt", "__bPreventFiringOnUnlock" )
def __init__(self, evt, bPreventFiringOnUnlock:bool = False):
self.__evt = evt
self.__bPreventFiringOnUnlock = bPreventFiringOnUnlock
#
def dump(self):
print("_LockCtx(")
print("\t__evt = " + str(self.__evt))
print("\t__bPreventFiringOnUnlock = " + str(self.__bPreventFiringOnUnlock))
print(")")
#
def preventFiringOnUnlock(self):
self.__bPreventFiringOnUnlock = True
#
def __enter__(self):
return self
#
def __exit__(self, exType, exObj, traceback):
self.__evt.unlock(bPreventFiring = self.__bPreventFiringOnUnlock or (exType is not None))
#
#
class ObservableEvent(object):
def __init__(self, name:str = None, bCatchExceptions:bool = False):
self.__name = name
self.__listeners = tuple()
self.__bCatchExceptions = bCatchExceptions
self.__lockCounter = 0
self.__bNeedFiring = False
self.__lockCtx = None
#
@property
def catchExceptions(self):
return self.__bCatchExceptions
#
@property
def name(self):
return self.__name
#
@property
def listeners(self):
return self.__listeners
#
def __len__(self):
return len(self.__listeners)
#
def removeAllListeners(self):
self.__listeners = tuple()
#
def __str__(self):
if self.__name:
ret = repr(self.__name)[1:][:-1] + "("
else:
ret = "Event("
if len(self.__listeners) == 0:
ret += "no listener"
elif len(self.__listeners) == 1:
ret += "1 listener"
else:
ret += str(len(self.__listeners)) + " listeners"
if self.__lockCounter > 0:
ret += ", lockCounter=" + str(self.__lockCounter)
if self.__bNeedFiring:
ret += ", fire on unlock"
return ret + ")"
#
def __repr__(self):
return self.__str__()
#
def add(self, theCallable:callable):
assert theCallable != None
self.__listeners += (theCallable,)
return self
#
def __iadd__(self, theCallable:callable):
assert theCallable != None
self.__listeners += (theCallable,)
return self
#
def remove(self, theCallable:callable) -> bool:
assert theCallable != None
if theCallable in self.__listeners:
n = self.__listeners.index(theCallable)
self.__listeners = self.__listeners[:n] + self.__listeners[n + 1:]
return True
else:
return False
#
def __isub__(self, theCallable:callable):
assert theCallable != None
if theCallable in self.__listeners:
n = self.__listeners.index(theCallable)
self.__listeners = self.__listeners[:n] + self.__listeners[n + 1:]
return True
else:
return False
#
def __call__(self, *argv, **kwargs):
if self.__bCatchExceptions:
try:
for listener in self.__listeners:
listener(*argv, **kwargs)
except Exception as ee:
pass
else:
for listener in self.__listeners:
listener(*argv, **kwargs)
#
def fire(self, *argv, **kwargs):
if self.__lockCounter > 0:
self.__bNeedFiring = True
else:
self.__bNeedFiring = False
if self.__bCatchExceptions:
try:
for listener in self.__listeners:
listener(*argv, **kwargs)
except Exception as ee:
pass
else:
for listener in self.__listeners:
listener(*argv, **kwargs)
#
def lock(self):
self.__lockCounter += 1
if self.__lockCtx is None:
self.__lockCtx = _LockCtx(self)
return self.__lockCtx
#
def unlock(self, bPreventFiring:bool = False):
assert self.__lockCounter > 0
self.__lockCounter -= 1
if self.__bNeedFiring:
if bPreventFiring:
self.__bNeedFiring = False
else:
self.fire()
#
#
| class _Lockctx(object):
__slots__ = ('__evt', '__bPreventFiringOnUnlock')
def __init__(self, evt, bPreventFiringOnUnlock: bool=False):
self.__evt = evt
self.__bPreventFiringOnUnlock = bPreventFiringOnUnlock
def dump(self):
print('_LockCtx(')
print('\t__evt = ' + str(self.__evt))
print('\t__bPreventFiringOnUnlock = ' + str(self.__bPreventFiringOnUnlock))
print(')')
def prevent_firing_on_unlock(self):
self.__bPreventFiringOnUnlock = True
def __enter__(self):
return self
def __exit__(self, exType, exObj, traceback):
self.__evt.unlock(bPreventFiring=self.__bPreventFiringOnUnlock or exType is not None)
class Observableevent(object):
def __init__(self, name: str=None, bCatchExceptions: bool=False):
self.__name = name
self.__listeners = tuple()
self.__bCatchExceptions = bCatchExceptions
self.__lockCounter = 0
self.__bNeedFiring = False
self.__lockCtx = None
@property
def catch_exceptions(self):
return self.__bCatchExceptions
@property
def name(self):
return self.__name
@property
def listeners(self):
return self.__listeners
def __len__(self):
return len(self.__listeners)
def remove_all_listeners(self):
self.__listeners = tuple()
def __str__(self):
if self.__name:
ret = repr(self.__name)[1:][:-1] + '('
else:
ret = 'Event('
if len(self.__listeners) == 0:
ret += 'no listener'
elif len(self.__listeners) == 1:
ret += '1 listener'
else:
ret += str(len(self.__listeners)) + ' listeners'
if self.__lockCounter > 0:
ret += ', lockCounter=' + str(self.__lockCounter)
if self.__bNeedFiring:
ret += ', fire on unlock'
return ret + ')'
def __repr__(self):
return self.__str__()
def add(self, theCallable: callable):
assert theCallable != None
self.__listeners += (theCallable,)
return self
def __iadd__(self, theCallable: callable):
assert theCallable != None
self.__listeners += (theCallable,)
return self
def remove(self, theCallable: callable) -> bool:
assert theCallable != None
if theCallable in self.__listeners:
n = self.__listeners.index(theCallable)
self.__listeners = self.__listeners[:n] + self.__listeners[n + 1:]
return True
else:
return False
def __isub__(self, theCallable: callable):
assert theCallable != None
if theCallable in self.__listeners:
n = self.__listeners.index(theCallable)
self.__listeners = self.__listeners[:n] + self.__listeners[n + 1:]
return True
else:
return False
def __call__(self, *argv, **kwargs):
if self.__bCatchExceptions:
try:
for listener in self.__listeners:
listener(*argv, **kwargs)
except Exception as ee:
pass
else:
for listener in self.__listeners:
listener(*argv, **kwargs)
def fire(self, *argv, **kwargs):
if self.__lockCounter > 0:
self.__bNeedFiring = True
else:
self.__bNeedFiring = False
if self.__bCatchExceptions:
try:
for listener in self.__listeners:
listener(*argv, **kwargs)
except Exception as ee:
pass
else:
for listener in self.__listeners:
listener(*argv, **kwargs)
def lock(self):
self.__lockCounter += 1
if self.__lockCtx is None:
self.__lockCtx = __lock_ctx(self)
return self.__lockCtx
def unlock(self, bPreventFiring: bool=False):
assert self.__lockCounter > 0
self.__lockCounter -= 1
if self.__bNeedFiring:
if bPreventFiring:
self.__bNeedFiring = False
else:
self.fire() |
datasetPath = "/storage/mstrobl/dataset"
waveformPath = "/storage/mstrobl/waveforms"
featurePath = "/storage/mstrobl/features/"
quantumPath = "/storage/mstrobl/quantum/"
modelsPath = "/storage/mstrobl/models"
testDatasetPath = "/storage/mstrobl/testDataset"
testWaveformPath = "/storage/mstrobl/testWaveforms"
testFeaturePath = "/storage/mstrobl/testFeatures"
testQuantumPath = "/storage/mstrobl/testDataQuantum" | dataset_path = '/storage/mstrobl/dataset'
waveform_path = '/storage/mstrobl/waveforms'
feature_path = '/storage/mstrobl/features/'
quantum_path = '/storage/mstrobl/quantum/'
models_path = '/storage/mstrobl/models'
test_dataset_path = '/storage/mstrobl/testDataset'
test_waveform_path = '/storage/mstrobl/testWaveforms'
test_feature_path = '/storage/mstrobl/testFeatures'
test_quantum_path = '/storage/mstrobl/testDataQuantum' |
def one_line():
output = []
with open("toChris.txt", "r") as f:
line = f.readline()
counter = 0
temp = []
while line:
if "{" in line:
counter += 1
elif "}" in line:
counter -= 1
temp.append(line)
if counter == 0:
output.append(temp)
temp = []
line = f.readline()
result = []
for o in output:
txt = "".join(o).replace("\n", "").replace(" ", "").replace(":", ": ")
result.append(txt)
return "\n".join(result)
if __name__ == "__main__":
print(one_line())
| def one_line():
output = []
with open('toChris.txt', 'r') as f:
line = f.readline()
counter = 0
temp = []
while line:
if '{' in line:
counter += 1
elif '}' in line:
counter -= 1
temp.append(line)
if counter == 0:
output.append(temp)
temp = []
line = f.readline()
result = []
for o in output:
txt = ''.join(o).replace('\n', '').replace(' ', '').replace(':', ': ')
result.append(txt)
return '\n'.join(result)
if __name__ == '__main__':
print(one_line()) |
#!/usr/bin/python
# -*- coding: utf-8 -*-
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
DOCUMENTATION = r'''
module: win_dfs_namespace_root
short_description: Set up a DFS namespace.
description:
- This module creates/manages Windows DFS namespaces.
- Prior to using this module it's required to install File Server with
FS-DFS-Namespace feature and create shares for namespace root on all member servers.
- For more details about DFSN see
U(https://docs.microsoft.com/en-us/windows-server/storage/dfs-namespaces/dfs-overview)
notes:
- Setting state for targets is not implemented
- Setting namespace admin grants is not implemented
- Setting referral priority options is not implemented
options:
path:
description:
- UNC path for the root of a DFS namespace. This path must be unique.
type: str
required: true
targets:
description:
- List of UNC paths for DFS root targets.
- Targets which are configured in namespace and are not listed here, will be removed from namespace.
- Required when C(state) is not C(absent).
- Target hosts must be referenced by FDQN if DFSN server has not configured with C(UseFQDN) option (U(https://support.microsoft.com/de-de/help/244380/how-to-configure-dfs-to-use-fully-qualified-domain-names-in-referrals))
type: list
description:
description:
- Description of DFS namespace
type: str
type:
description:
- Type of DFS namespace
- C(Standalone) - stand-alone namespace.
- C(DomainV1) - Windows 2000 Server mode domain namespace.
- C(DomainV2) - Windows Server 2008 mode domain namespace.
choices:
- DomainV1
- DomainV2
- Standalone
default: DomainV2
state:
description:
- When C(present), the namespace will be created if not exists.
- When C(absent), the namespace will be removed.
- When C(online), the namespace will be created if not exists and will be put in online state.
- When C(offline), the namespace will be created if not exists and will be put in offline state.
- When C(online)/C(offline) only state of namespace will be set, not the state of targets.
choices:
- present
- absent
- online
- offline
default: present
access_based_enumeration:
description:
- Indicates whether a DFS namespace uses access-based enumeration.
- If this value is C(yes), a DFS namespace server shows a user only the files and folders that the user can access.
type: bool
default: false
insite_referrals:
description:
- Indicates whether a DFS namespace server provides a client only with referrals that are in the same site as the client.
- If this value is C(yes), the DFS namespace server provides only in-site referrals.
- If this value is C(no), the DFS namespace server provides in-site referrals first, then other referrals.
type: bool
default: false
root_scalability:
description:
- Indicates whether a DFS namespace uses root scalability mode.
- If this value is C(yes), DFS namespace servers connect to the nearest domain controllers for periodic namespace updates.
- If this value is C(no), the servers connect to the primary domain controller (PDC) emulator.
type: bool
default: false
site_costing:
description:
- Indicates whether a DFS namespace uses cost-based selection.
- If a client cannot access a folder target in-site, a DFS namespace server selects the least resource intensive alternative.
- If you provide a value of C(yes) for this parameter, DFS namespace favors high-speed links over wide area network (WAN) links.
type: bool
default: false
target_failback:
description:
- Indicates whether a DFS namespace uses target failback.
- If a client attempts to access a target on a server and that server is not available, the client fails over to another referral.
- If this value is C(yes), once the first server becomes available again, the client fails back to the first server.
- If this value is C(no), the DFS namespace server does not require the client to fail back to the preferred server.
type: bool
default: false
ttl:
description:
- TTL interval, in seconds, for referrals. Clients store referrals to root targets for this length of time.
type: int
default: 300
seealso:
- module: win_share
- module: win_dfs_namespace_folder
- module: win_dfs_replication_group
author:
- Marcin Kotarba <@mkot02>
'''
RETURN = r'''
msg:
description:
- if success: list of changes made by the module separated by semicolon
- if failure: reason why module failed
returned: always
type: str
'''
EXAMPLES = r'''
- name: Create DFS namespace with SiteCosting option
win_dfs_namespace_root:
path: '\\domain.exmaple.com\dfs'
targets:
- '\\dc1.domain.exmaple.com\dfs'
- '\\dc2.domain.exmaple.com\dfs'
- '\\dc3.domain.exmaple.com\dfs'
type: "DomainV2"
description: "DFS Namespace"
site_costing: true
state: present
- name: Remove DFS namespace
win_dfs_namespace_root:
path: '\\domain.exmaple.com\dfs'
state: absent
''' | ansible_metadata = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'}
documentation = "\nmodule: win_dfs_namespace_root\nshort_description: Set up a DFS namespace.\n\ndescription:\n - This module creates/manages Windows DFS namespaces.\n - Prior to using this module it's required to install File Server with\n FS-DFS-Namespace feature and create shares for namespace root on all member servers.\n - For more details about DFSN see\n U(https://docs.microsoft.com/en-us/windows-server/storage/dfs-namespaces/dfs-overview)\n\nnotes:\n - Setting state for targets is not implemented\n - Setting namespace admin grants is not implemented\n - Setting referral priority options is not implemented\n\noptions:\n path:\n description:\n - UNC path for the root of a DFS namespace. This path must be unique.\n type: str\n required: true\n targets:\n description:\n - List of UNC paths for DFS root targets.\n - Targets which are configured in namespace and are not listed here, will be removed from namespace.\n - Required when C(state) is not C(absent).\n - Target hosts must be referenced by FDQN if DFSN server has not configured with C(UseFQDN) option (U(https://support.microsoft.com/de-de/help/244380/how-to-configure-dfs-to-use-fully-qualified-domain-names-in-referrals))\n type: list\n description:\n description:\n - Description of DFS namespace\n type: str\n type:\n description:\n - Type of DFS namespace\n - C(Standalone) - stand-alone namespace.\n - C(DomainV1) - Windows 2000 Server mode domain namespace.\n - C(DomainV2) - Windows Server 2008 mode domain namespace.\n choices:\n - DomainV1\n - DomainV2\n - Standalone\n default: DomainV2\n state:\n description:\n - When C(present), the namespace will be created if not exists.\n - When C(absent), the namespace will be removed.\n - When C(online), the namespace will be created if not exists and will be put in online state.\n - When C(offline), the namespace will be created if not exists and will be put in offline state.\n - When C(online)/C(offline) only state of namespace will be set, not the state of targets.\n choices:\n - present\n - absent\n - online\n - offline\n default: present\n access_based_enumeration:\n description:\n - Indicates whether a DFS namespace uses access-based enumeration.\n - If this value is C(yes), a DFS namespace server shows a user only the files and folders that the user can access.\n type: bool\n default: false\n insite_referrals:\n description:\n - Indicates whether a DFS namespace server provides a client only with referrals that are in the same site as the client.\n - If this value is C(yes), the DFS namespace server provides only in-site referrals.\n - If this value is C(no), the DFS namespace server provides in-site referrals first, then other referrals.\n type: bool\n default: false\n root_scalability:\n description:\n - Indicates whether a DFS namespace uses root scalability mode.\n - If this value is C(yes), DFS namespace servers connect to the nearest domain controllers for periodic namespace updates.\n - If this value is C(no), the servers connect to the primary domain controller (PDC) emulator.\n type: bool\n default: false\n site_costing:\n description:\n - Indicates whether a DFS namespace uses cost-based selection.\n - If a client cannot access a folder target in-site, a DFS namespace server selects the least resource intensive alternative.\n - If you provide a value of C(yes) for this parameter, DFS namespace favors high-speed links over wide area network (WAN) links.\n type: bool\n default: false\n target_failback:\n description:\n - Indicates whether a DFS namespace uses target failback.\n - If a client attempts to access a target on a server and that server is not available, the client fails over to another referral.\n - If this value is C(yes), once the first server becomes available again, the client fails back to the first server.\n - If this value is C(no), the DFS namespace server does not require the client to fail back to the preferred server.\n type: bool\n default: false\n ttl:\n description:\n - TTL interval, in seconds, for referrals. Clients store referrals to root targets for this length of time.\n type: int\n default: 300\n\nseealso:\n- module: win_share\n- module: win_dfs_namespace_folder\n- module: win_dfs_replication_group\n\nauthor:\n - Marcin Kotarba <@mkot02>\n"
return = '\nmsg:\n description:\n - if success: list of changes made by the module separated by semicolon\n - if failure: reason why module failed\n returned: always\n type: str\n'
examples = '\n- name: Create DFS namespace with SiteCosting option\n win_dfs_namespace_root:\n path: \'\\\\domain.exmaple.com\\dfs\'\n targets:\n - \'\\\\dc1.domain.exmaple.com\\dfs\'\n - \'\\\\dc2.domain.exmaple.com\\dfs\'\n - \'\\\\dc3.domain.exmaple.com\\dfs\'\n type: "DomainV2"\n description: "DFS Namespace"\n site_costing: true\n state: present\n\n- name: Remove DFS namespace\n win_dfs_namespace_root:\n path: \'\\\\domain.exmaple.com\\dfs\'\n state: absent\n' |
#
# PySNMP MIB module CISCO-RTTMON-IP-EXT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-RTTMON-IP-EXT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:11:15 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint")
rttMonEchoPathAdminEntry, rttMonEchoAdminEntry, rttMonStatsCollectEntry, rttMonCtrlAdminEntry, rttMonLpdGrpStatsEntry, rttMonHistoryCollectionEntry = mibBuilder.importSymbols("CISCO-RTTMON-MIB", "rttMonEchoPathAdminEntry", "rttMonEchoAdminEntry", "rttMonStatsCollectEntry", "rttMonCtrlAdminEntry", "rttMonLpdGrpStatsEntry", "rttMonHistoryCollectionEntry")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
DscpOrAny, = mibBuilder.importSymbols("DIFFSERV-DSCP-TC", "DscpOrAny")
InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType")
IPv6FlowLabelOrAny, = mibBuilder.importSymbols("IPV6-FLOW-LABEL-MIB", "IPv6FlowLabelOrAny")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
iso, Counter64, IpAddress, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, ObjectIdentity, TimeTicks, Bits, Integer32, NotificationType, ModuleIdentity, Counter32, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Counter64", "IpAddress", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "ObjectIdentity", "TimeTicks", "Bits", "Integer32", "NotificationType", "ModuleIdentity", "Counter32", "Gauge32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
ciscoRttMonIPExtMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 572))
ciscoRttMonIPExtMIB.setRevisions(('2006-08-02 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoRttMonIPExtMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoRttMonIPExtMIB.setLastUpdated('200608020000Z')
if mibBuilder.loadTexts: ciscoRttMonIPExtMIB.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts: ciscoRttMonIPExtMIB.setContactInfo('Cisco Systems, Inc. Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 Tel: +1 800 553 NETS Email: cs-ipsla@cisco.com')
if mibBuilder.loadTexts: ciscoRttMonIPExtMIB.setDescription('This MIB contains extensions to tables in CISCO-RTTMON-MIB to support IP-layer extensions, specifically IPv6 addresses and other information related to IPv6 and other IP information')
crttMonIPExtObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 1))
ciscoRttMonIPExtMibConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 2))
ciscoRttMonIPExtMibCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 1))
ciscoRttMonIPExtMibGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 2))
crttMonIPEchoAdminTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1), )
if mibBuilder.loadTexts: crttMonIPEchoAdminTable.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminTable.setDescription('An extension of the rttMonEchoAdminTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of recording the addresses as IPv6 addresses, plus other IPv6 and IP layer extension information')
crttMonIPEchoAdminEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1), )
rttMonEchoAdminEntry.registerAugmentions(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminEntry"))
crttMonIPEchoAdminEntry.setIndexNames(*rttMonEchoAdminEntry.getIndexNames())
if mibBuilder.loadTexts: crttMonIPEchoAdminEntry.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crttMonIPEchoAdminTargetAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 1), InetAddressType().clone('unknown')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminTargetAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminTargetAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPEchoAdminTargetAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminTargetAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminTargetAddress), this object contains the value 'unknown'.")
crttMonIPEchoAdminTargetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 2), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminTargetAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminTargetAddress.setDescription('A string which specifies the address of the target. This object, in conjunction with the crttMonIPEchoAdminTargetAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminTargetAddress object, which may only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPEchoAdminTargetAddrType/ crttMonIPEchoAdminTargetAddress AND rttMonEchoAdminTargetAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminTargetAddress OR crttMonIPEchoAdminTargetAddrType/ crttMonIPEchoAdminTargetAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminTargetAddrType/ crttMonIPEchoAdminTargetAddress must be used and rttMonEchoAdminTargetAddress may not be instantiated or may have a zero length string.')
crttMonIPEchoAdminSourceAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 3), InetAddressType().clone('unknown')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminSourceAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminSourceAddrType.setDescription("An enumerated value which specifies the address type of the source. This object must be used along with the crttMonIPEchoAdminSourceAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminSourceAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminSourceAddress), this object contains the value 'unknown'.")
crttMonIPEchoAdminSourceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 4), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminSourceAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminSourceAddress.setDescription('A string which specifies the address of the target. This object, together with the crttMonIPEchoAdminSourceAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminSourceAddress object, which may only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPEchoAdminSourceAddrType/ crttMonIPEchoAdminSourceAddress AND rttMonEchoAdminSourceAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminSourceAddress OR crttMonIPEchoAdminSourceAddrType/ crttMonIPEchoAdminSourceAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminSourceAddrType/ crttMonIPEchoAdminSourceAddress must be used and rttMonEchoAdminSourceAddress may not be instantiated or may have a zero length string.')
crttMonIPEchoAdminNameServerAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 5), InetAddressType().clone('unknown')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminNameServerAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminNameServerAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPEchoAdminNameServerAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminNameServerAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminNameServer), this object contains the value 'unknown'.")
crttMonIPEchoAdminNameServerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 6), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminNameServerAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminNameServerAddress.setDescription('A string which specifies the address of the target. This object, together with the crttMonIPEchoAdminNameServerAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminNameServer object, which can only specify an IPv4. In case the target is a V4 IP address then both crttMonIPEchoAdminNameServerAddrType/ crttMonIPEchoAdminNameServerAddress AND rttMonEchoAdminNameServer may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminNameServer OR crttMonIPEchoAdminNameServerAddrType/ crttMonIPEchoAdminNameServerAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminNameServerAddrType/ crttMonIPEchoAdminNameServerAddress must be used and rttMonEchoAdminNameServer may not be instantiated or may have a zero length string.')
crttMonIPEchoAdminLSPSelAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 7), InetAddressType().clone('unknown')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminLSPSelAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminLSPSelAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPEchoAdminLSPSelAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminLSPSelAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminLSPSelector), this object contains the value 'unknown'.")
crttMonIPEchoAdminLSPSelAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 8), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminLSPSelAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminLSPSelAddress.setDescription('A string which specifies the address of the LSP Selector. This object, in conjunction with the crttMonIPEchoAdminLSPSelAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminLSPSelector object, which can only specify an IPv4 address.In case the target is a V4 IP address then both crttMonIPEchoAdminLSPSelAddrType/ crttMonIPEchoAdminLSPSelAddress AND rttMonEchoAdminLSPSelector may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminLSPSelector OR crttMonIPEchoAdminLSPSelAddrType/ crttMonIPEchoAdminLSPSelAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminLSPSelAddrType/ crttMonIPEchoAdminLSPSelAddress must be used and rttMonEchoAdminLSPSelector may not be instantiated or may have a zero length string.')
crttMonIPEchoAdminDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 9), DscpOrAny().clone(-1)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminDscp.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminDscp.setDescription('The DSCP value (either an IPv4 TOS octet or an IPv6 Traffic Class octet) to be set in outgoing packets.')
crttMonIPEchoAdminFlowLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 10), IPv6FlowLabelOrAny()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoAdminFlowLabel.setReference('Section 6 of RFC 2460')
if mibBuilder.loadTexts: crttMonIPEchoAdminFlowLabel.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoAdminFlowLabel.setDescription('The Flow Label in an IPv6 packet header.')
crttMonIPLatestRttOperTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2), )
if mibBuilder.loadTexts: crttMonIPLatestRttOperTable.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLatestRttOperTable.setDescription('An extension of the rttMonLatestRttOperTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying IPv6 addresses.')
crttMonIPLatestRttOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2, 1), )
rttMonCtrlAdminEntry.registerAugmentions(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPLatestRttOperEntry"))
crttMonIPLatestRttOperEntry.setIndexNames(*rttMonCtrlAdminEntry.getIndexNames())
if mibBuilder.loadTexts: crttMonIPLatestRttOperEntry.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLatestRttOperEntry.setDescription('A list of objects required to support IPv6 addresses. ')
crttMonIPLatestRttOperAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2, 1, 1), InetAddressType().clone('unknown')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: crttMonIPLatestRttOperAddressType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLatestRttOperAddressType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPLatestRttOperAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPLatestRttOperAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonLatestRttOperAddress), this object contains the value 'unknown'.")
crttMonIPLatestRttOperAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2, 1, 2), InetAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: crttMonIPLatestRttOperAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLatestRttOperAddress.setDescription('A string which specifies the address of the target. This object, together with the crttMonIPLatestRttOperAddressType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonLatestRttOperAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPLatestRttOperAddressType/ crttMonIPLatestRttOperAddress AND rttMonLatestRttOperAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonLatestRttOperAddress OR crttMonIPLatestRttOperAddressType/ crttMonIPLatestRttOperAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPLatestRttOperAddressType/ crttMonIPLatestRttOperAddress must be used and rttMonLatestRttOperAddress may not be instantiated or may have a zero length string.')
crttMonIPEchoPathAdminTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3), )
if mibBuilder.loadTexts: crttMonIPEchoPathAdminTable.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoPathAdminTable.setDescription('An extension of the rttMonEchoPathAdminTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of recording the hops as IPv6 addresses.')
crttMonIPEchoPathAdminEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3, 1), )
rttMonEchoPathAdminEntry.registerAugmentions(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoPathAdminEntry"))
crttMonIPEchoPathAdminEntry.setIndexNames(*rttMonEchoPathAdminEntry.getIndexNames())
if mibBuilder.loadTexts: crttMonIPEchoPathAdminEntry.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoPathAdminEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crttMonIPEchoPathAdminHopAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3, 1, 1), InetAddressType().clone('unknown')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoPathAdminHopAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoPathAdminHopAddrType.setDescription("An enumerated value which specifies the address type of the hop. This object must be used along with the crttMonIPEchoPathAdminHopAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoPathAdminHopAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoPathAdminHopAddress), this object contains the value 'unknown'.")
crttMonIPEchoPathAdminHopAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3, 1, 2), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: crttMonIPEchoPathAdminHopAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPEchoPathAdminHopAddress.setDescription('A string which specifies the address of the hop. This object, together with the crttMonIPEchoPathAdminHopAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoPathAdminHopAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPEchoPathAdminHopAddrType/ crttMonIPEchoPathAdminHopAddress AND rttMonEchoPathAdminHopAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoPathAdminHopAddress OR crttMonIPEchoPathAdminHopAddrType/ crttMonIPEchoPathAdminHopAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoPathAdminHopAddrType/ crttMonIPEchoPathAdminHopAddress must be used and rttMonEchoPathAdminHopAddress may not be instantiated or may have a zero length string.')
crttMonIPStatsCollectTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4), )
if mibBuilder.loadTexts: crttMonIPStatsCollectTable.setStatus('current')
if mibBuilder.loadTexts: crttMonIPStatsCollectTable.setDescription('An extension of the rttMonStatsCollectTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying the collection address as an IPv6 address.')
crttMonIPStatsCollectEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4, 1), )
rttMonStatsCollectEntry.registerAugmentions(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPStatsCollectEntry"))
crttMonIPStatsCollectEntry.setIndexNames(*rttMonStatsCollectEntry.getIndexNames())
if mibBuilder.loadTexts: crttMonIPStatsCollectEntry.setStatus('current')
if mibBuilder.loadTexts: crttMonIPStatsCollectEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crttMonIPStatsCollectAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4, 1, 1), InetAddressType().clone('unknown')).setMaxAccess("readonly")
if mibBuilder.loadTexts: crttMonIPStatsCollectAddressType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPStatsCollectAddressType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPStatsCollectAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPStatsCollectAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonStatsCollectAddress), this object contains the value 'unknown'.")
crttMonIPStatsCollectAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4, 1, 2), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: crttMonIPStatsCollectAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPStatsCollectAddress.setDescription('A string which specifies the address of the collection target. This object, in conjunction with the crttMonIPStatsCollectAddressType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonStatsCollectAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPStatsCollectAddressType/ crttMonIPStatsCollectAddress AND rttMonStatsCollectAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonStatsCollectAddress OR crttMonIPStatsCollectAddressType/ crttMonIPStatsCollectAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPStatsCollectAddressType/ crttMonIPStatsCollectAddress must be used and rttMonStatsCollectAddress may not be instantiated or may have a zero length string.')
crttMonIPLpdGrpStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5), )
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsTable.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsTable.setDescription('An extension of the rttMonLpdGrpStatsTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying the target PE address as an IPv6 address.')
crttMonIPLpdGrpStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5, 1), )
rttMonLpdGrpStatsEntry.registerAugmentions(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPLpdGrpStatsEntry"))
crttMonIPLpdGrpStatsEntry.setIndexNames(*rttMonLpdGrpStatsEntry.getIndexNames())
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsEntry.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crttMonIPLpdGrpStatsTargetPEAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5, 1, 1), InetAddressType().clone('unknown')).setMaxAccess("readonly")
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsTargetPEAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsTargetPEAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPLpdGrpStatsTargetPEAddr object as it identifies the address family of the address specified by that object. If the value of crttMonIPLpdGrpStatsTargetPEAddr is a zero-length string (e.g., because an IPv4 address is specified by rttMonLpdGrpStatsTargetPE), this object contains the value 'unknown'.")
crttMonIPLpdGrpStatsTargetPEAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5, 1, 2), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsTargetPEAddr.setStatus('current')
if mibBuilder.loadTexts: crttMonIPLpdGrpStatsTargetPEAddr.setDescription('A string which specifies the address of the target PE. This object, in conjunction with the crttMonIPLpdGrpStatsTargetPEAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonLpdGrpStatsTargetPE object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPLpdGrpStatsTargetPEAddrType/ crttMonIPLpdGrpStatsTargetPEAddr AND rttMonLpdGrpStatsTargetPE may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonLpdGrpStatsTargetPE OR crttMonIPLpdGrpStatsTargetPEAddrType/ crttMonIPLpdGrpStatsTargetPEAddr may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPLpdGrpStatsTargetPEAddrType/ crttMonIPLpdGrpStatsTargetPEAddr must be used and rttMonLpdGrpStatsTargetPE may not be instantiated or may have a zero length string.')
crttMonIPHistoryCollectionTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6), )
if mibBuilder.loadTexts: crttMonIPHistoryCollectionTable.setStatus('current')
if mibBuilder.loadTexts: crttMonIPHistoryCollectionTable.setDescription('An extension of the rttMonHistoryCollectionTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying the target address as an IPv6 address.')
crttMonIPHistoryCollectionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6, 1), )
rttMonHistoryCollectionEntry.registerAugmentions(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPHistoryCollectionEntry"))
crttMonIPHistoryCollectionEntry.setIndexNames(*rttMonHistoryCollectionEntry.getIndexNames())
if mibBuilder.loadTexts: crttMonIPHistoryCollectionEntry.setStatus('current')
if mibBuilder.loadTexts: crttMonIPHistoryCollectionEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crttMonIPHistoryCollectionAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6, 1, 1), InetAddressType().clone('unknown')).setMaxAccess("readonly")
if mibBuilder.loadTexts: crttMonIPHistoryCollectionAddrType.setStatus('current')
if mibBuilder.loadTexts: crttMonIPHistoryCollectionAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPHistoryCollectionAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPHistoryCollectionAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonHistoryCollectionAddress), this object contains the value 'unknown'.")
crttMonIPHistoryCollectionAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6, 1, 2), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: crttMonIPHistoryCollectionAddress.setStatus('current')
if mibBuilder.loadTexts: crttMonIPHistoryCollectionAddress.setDescription('A string which specifies the address of the target. This object, in conjunction with the crttMonIPHistoryCollectionAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonHistoryCollectionAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPHistoryCollectionAddrType/ crttMonIPHistoryCollectionAddress AND rttMonHistoryCollectionAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonHistoryCollectionAddress OR crttMonIPHistoryCollectionAddrType/ crttMonIPHistoryCollectionAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPHistoryCollectionAddrType/ crttMonIPHistoryCollectionAddress must be used and rttMonHistoryCollectionAddress may not be instantiated or may have a zero length string.')
ciscoRttMonIPExtMibComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 1, 1)).setObjects(("CISCO-RTTMON-IP-EXT-MIB", "ciscoIPExtCtrlGroupRev1"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoRttMonIPExtMibComplianceRev1 = ciscoRttMonIPExtMibComplianceRev1.setStatus('current')
if mibBuilder.loadTexts: ciscoRttMonIPExtMibComplianceRev1.setDescription('The compliance statement for new MIB extensions for supporting IPv6 addresses and other IP-layer extensions')
ciscoIPExtCtrlGroupRev1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 2, 1)).setObjects(("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminTargetAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminTargetAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminSourceAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminSourceAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminNameServerAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminNameServerAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminLSPSelAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminLSPSelAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminDscp"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoAdminFlowLabel"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPLatestRttOperAddressType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPLatestRttOperAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoPathAdminHopAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPEchoPathAdminHopAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPStatsCollectAddressType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPStatsCollectAddress"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPLpdGrpStatsTargetPEAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPLpdGrpStatsTargetPEAddr"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPHistoryCollectionAddrType"), ("CISCO-RTTMON-IP-EXT-MIB", "crttMonIPHistoryCollectionAddress"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoIPExtCtrlGroupRev1 = ciscoIPExtCtrlGroupRev1.setStatus('current')
if mibBuilder.loadTexts: ciscoIPExtCtrlGroupRev1.setDescription('A collection of objects that were added to enhance the functionality of the RTT application to support other IP layer extensions like IPv6, specifically IPv6 addresses and other information.')
mibBuilder.exportSymbols("CISCO-RTTMON-IP-EXT-MIB", crttMonIPHistoryCollectionAddrType=crttMonIPHistoryCollectionAddrType, crttMonIPLatestRttOperTable=crttMonIPLatestRttOperTable, crttMonIPStatsCollectAddress=crttMonIPStatsCollectAddress, crttMonIPEchoAdminLSPSelAddress=crttMonIPEchoAdminLSPSelAddress, ciscoIPExtCtrlGroupRev1=ciscoIPExtCtrlGroupRev1, crttMonIPLatestRttOperAddressType=crttMonIPLatestRttOperAddressType, crttMonIPLpdGrpStatsTable=crttMonIPLpdGrpStatsTable, crttMonIPEchoAdminFlowLabel=crttMonIPEchoAdminFlowLabel, crttMonIPEchoPathAdminTable=crttMonIPEchoPathAdminTable, crttMonIPEchoPathAdminHopAddrType=crttMonIPEchoPathAdminHopAddrType, crttMonIPEchoAdminNameServerAddrType=crttMonIPEchoAdminNameServerAddrType, crttMonIPHistoryCollectionTable=crttMonIPHistoryCollectionTable, crttMonIPHistoryCollectionAddress=crttMonIPHistoryCollectionAddress, ciscoRttMonIPExtMibGroups=ciscoRttMonIPExtMibGroups, crttMonIPLatestRttOperEntry=crttMonIPLatestRttOperEntry, crttMonIPEchoPathAdminEntry=crttMonIPEchoPathAdminEntry, crttMonIPExtObjects=crttMonIPExtObjects, crttMonIPLpdGrpStatsTargetPEAddr=crttMonIPLpdGrpStatsTargetPEAddr, ciscoRttMonIPExtMIB=ciscoRttMonIPExtMIB, crttMonIPStatsCollectTable=crttMonIPStatsCollectTable, crttMonIPEchoAdminTable=crttMonIPEchoAdminTable, crttMonIPEchoAdminSourceAddrType=crttMonIPEchoAdminSourceAddrType, crttMonIPLpdGrpStatsEntry=crttMonIPLpdGrpStatsEntry, ciscoRttMonIPExtMibCompliances=ciscoRttMonIPExtMibCompliances, crttMonIPEchoAdminTargetAddrType=crttMonIPEchoAdminTargetAddrType, crttMonIPHistoryCollectionEntry=crttMonIPHistoryCollectionEntry, PYSNMP_MODULE_ID=ciscoRttMonIPExtMIB, crttMonIPEchoAdminLSPSelAddrType=crttMonIPEchoAdminLSPSelAddrType, ciscoRttMonIPExtMibConformance=ciscoRttMonIPExtMibConformance, crttMonIPStatsCollectEntry=crttMonIPStatsCollectEntry, crttMonIPStatsCollectAddressType=crttMonIPStatsCollectAddressType, crttMonIPEchoAdminEntry=crttMonIPEchoAdminEntry, crttMonIPEchoAdminTargetAddress=crttMonIPEchoAdminTargetAddress, crttMonIPLatestRttOperAddress=crttMonIPLatestRttOperAddress, ciscoRttMonIPExtMibComplianceRev1=ciscoRttMonIPExtMibComplianceRev1, crttMonIPEchoAdminDscp=crttMonIPEchoAdminDscp, crttMonIPLpdGrpStatsTargetPEAddrType=crttMonIPLpdGrpStatsTargetPEAddrType, crttMonIPEchoAdminSourceAddress=crttMonIPEchoAdminSourceAddress, crttMonIPEchoAdminNameServerAddress=crttMonIPEchoAdminNameServerAddress, crttMonIPEchoPathAdminHopAddress=crttMonIPEchoPathAdminHopAddress)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, single_value_constraint, constraints_intersection, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint')
(rtt_mon_echo_path_admin_entry, rtt_mon_echo_admin_entry, rtt_mon_stats_collect_entry, rtt_mon_ctrl_admin_entry, rtt_mon_lpd_grp_stats_entry, rtt_mon_history_collection_entry) = mibBuilder.importSymbols('CISCO-RTTMON-MIB', 'rttMonEchoPathAdminEntry', 'rttMonEchoAdminEntry', 'rttMonStatsCollectEntry', 'rttMonCtrlAdminEntry', 'rttMonLpdGrpStatsEntry', 'rttMonHistoryCollectionEntry')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(dscp_or_any,) = mibBuilder.importSymbols('DIFFSERV-DSCP-TC', 'DscpOrAny')
(inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType')
(i_pv6_flow_label_or_any,) = mibBuilder.importSymbols('IPV6-FLOW-LABEL-MIB', 'IPv6FlowLabelOrAny')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(iso, counter64, ip_address, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, object_identity, time_ticks, bits, integer32, notification_type, module_identity, counter32, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Counter64', 'IpAddress', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'ObjectIdentity', 'TimeTicks', 'Bits', 'Integer32', 'NotificationType', 'ModuleIdentity', 'Counter32', 'Gauge32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
cisco_rtt_mon_ip_ext_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 572))
ciscoRttMonIPExtMIB.setRevisions(('2006-08-02 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ciscoRttMonIPExtMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts:
ciscoRttMonIPExtMIB.setLastUpdated('200608020000Z')
if mibBuilder.loadTexts:
ciscoRttMonIPExtMIB.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts:
ciscoRttMonIPExtMIB.setContactInfo('Cisco Systems, Inc. Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 Tel: +1 800 553 NETS Email: cs-ipsla@cisco.com')
if mibBuilder.loadTexts:
ciscoRttMonIPExtMIB.setDescription('This MIB contains extensions to tables in CISCO-RTTMON-MIB to support IP-layer extensions, specifically IPv6 addresses and other information related to IPv6 and other IP information')
crtt_mon_ip_ext_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 1))
cisco_rtt_mon_ip_ext_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 2))
cisco_rtt_mon_ip_ext_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 1))
cisco_rtt_mon_ip_ext_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 2))
crtt_mon_ip_echo_admin_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1))
if mibBuilder.loadTexts:
crttMonIPEchoAdminTable.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminTable.setDescription('An extension of the rttMonEchoAdminTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of recording the addresses as IPv6 addresses, plus other IPv6 and IP layer extension information')
crtt_mon_ip_echo_admin_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1))
rttMonEchoAdminEntry.registerAugmentions(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminEntry'))
crttMonIPEchoAdminEntry.setIndexNames(*rttMonEchoAdminEntry.getIndexNames())
if mibBuilder.loadTexts:
crttMonIPEchoAdminEntry.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crtt_mon_ip_echo_admin_target_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 1), inet_address_type().clone('unknown')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminTargetAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminTargetAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPEchoAdminTargetAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminTargetAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminTargetAddress), this object contains the value 'unknown'.")
crtt_mon_ip_echo_admin_target_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 2), inet_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminTargetAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminTargetAddress.setDescription('A string which specifies the address of the target. This object, in conjunction with the crttMonIPEchoAdminTargetAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminTargetAddress object, which may only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPEchoAdminTargetAddrType/ crttMonIPEchoAdminTargetAddress AND rttMonEchoAdminTargetAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminTargetAddress OR crttMonIPEchoAdminTargetAddrType/ crttMonIPEchoAdminTargetAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminTargetAddrType/ crttMonIPEchoAdminTargetAddress must be used and rttMonEchoAdminTargetAddress may not be instantiated or may have a zero length string.')
crtt_mon_ip_echo_admin_source_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 3), inet_address_type().clone('unknown')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminSourceAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminSourceAddrType.setDescription("An enumerated value which specifies the address type of the source. This object must be used along with the crttMonIPEchoAdminSourceAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminSourceAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminSourceAddress), this object contains the value 'unknown'.")
crtt_mon_ip_echo_admin_source_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 4), inet_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminSourceAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminSourceAddress.setDescription('A string which specifies the address of the target. This object, together with the crttMonIPEchoAdminSourceAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminSourceAddress object, which may only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPEchoAdminSourceAddrType/ crttMonIPEchoAdminSourceAddress AND rttMonEchoAdminSourceAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminSourceAddress OR crttMonIPEchoAdminSourceAddrType/ crttMonIPEchoAdminSourceAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminSourceAddrType/ crttMonIPEchoAdminSourceAddress must be used and rttMonEchoAdminSourceAddress may not be instantiated or may have a zero length string.')
crtt_mon_ip_echo_admin_name_server_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 5), inet_address_type().clone('unknown')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminNameServerAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminNameServerAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPEchoAdminNameServerAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminNameServerAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminNameServer), this object contains the value 'unknown'.")
crtt_mon_ip_echo_admin_name_server_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 6), inet_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminNameServerAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminNameServerAddress.setDescription('A string which specifies the address of the target. This object, together with the crttMonIPEchoAdminNameServerAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminNameServer object, which can only specify an IPv4. In case the target is a V4 IP address then both crttMonIPEchoAdminNameServerAddrType/ crttMonIPEchoAdminNameServerAddress AND rttMonEchoAdminNameServer may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminNameServer OR crttMonIPEchoAdminNameServerAddrType/ crttMonIPEchoAdminNameServerAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminNameServerAddrType/ crttMonIPEchoAdminNameServerAddress must be used and rttMonEchoAdminNameServer may not be instantiated or may have a zero length string.')
crtt_mon_ip_echo_admin_lsp_sel_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 7), inet_address_type().clone('unknown')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminLSPSelAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminLSPSelAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPEchoAdminLSPSelAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoAdminLSPSelAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoAdminLSPSelector), this object contains the value 'unknown'.")
crtt_mon_ip_echo_admin_lsp_sel_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 8), inet_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminLSPSelAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminLSPSelAddress.setDescription('A string which specifies the address of the LSP Selector. This object, in conjunction with the crttMonIPEchoAdminLSPSelAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoAdminLSPSelector object, which can only specify an IPv4 address.In case the target is a V4 IP address then both crttMonIPEchoAdminLSPSelAddrType/ crttMonIPEchoAdminLSPSelAddress AND rttMonEchoAdminLSPSelector may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoAdminLSPSelector OR crttMonIPEchoAdminLSPSelAddrType/ crttMonIPEchoAdminLSPSelAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoAdminLSPSelAddrType/ crttMonIPEchoAdminLSPSelAddress must be used and rttMonEchoAdminLSPSelector may not be instantiated or may have a zero length string.')
crtt_mon_ip_echo_admin_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 9), dscp_or_any().clone(-1)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminDscp.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminDscp.setDescription('The DSCP value (either an IPv4 TOS octet or an IPv6 Traffic Class octet) to be set in outgoing packets.')
crtt_mon_ip_echo_admin_flow_label = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 1, 1, 10), i_pv6_flow_label_or_any()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoAdminFlowLabel.setReference('Section 6 of RFC 2460')
if mibBuilder.loadTexts:
crttMonIPEchoAdminFlowLabel.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoAdminFlowLabel.setDescription('The Flow Label in an IPv6 packet header.')
crtt_mon_ip_latest_rtt_oper_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2))
if mibBuilder.loadTexts:
crttMonIPLatestRttOperTable.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLatestRttOperTable.setDescription('An extension of the rttMonLatestRttOperTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying IPv6 addresses.')
crtt_mon_ip_latest_rtt_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2, 1))
rttMonCtrlAdminEntry.registerAugmentions(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPLatestRttOperEntry'))
crttMonIPLatestRttOperEntry.setIndexNames(*rttMonCtrlAdminEntry.getIndexNames())
if mibBuilder.loadTexts:
crttMonIPLatestRttOperEntry.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLatestRttOperEntry.setDescription('A list of objects required to support IPv6 addresses. ')
crtt_mon_ip_latest_rtt_oper_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2, 1, 1), inet_address_type().clone('unknown')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
crttMonIPLatestRttOperAddressType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLatestRttOperAddressType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPLatestRttOperAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPLatestRttOperAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonLatestRttOperAddress), this object contains the value 'unknown'.")
crtt_mon_ip_latest_rtt_oper_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 2, 1, 2), inet_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
crttMonIPLatestRttOperAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLatestRttOperAddress.setDescription('A string which specifies the address of the target. This object, together with the crttMonIPLatestRttOperAddressType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonLatestRttOperAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPLatestRttOperAddressType/ crttMonIPLatestRttOperAddress AND rttMonLatestRttOperAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonLatestRttOperAddress OR crttMonIPLatestRttOperAddressType/ crttMonIPLatestRttOperAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPLatestRttOperAddressType/ crttMonIPLatestRttOperAddress must be used and rttMonLatestRttOperAddress may not be instantiated or may have a zero length string.')
crtt_mon_ip_echo_path_admin_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3))
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminTable.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminTable.setDescription('An extension of the rttMonEchoPathAdminTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of recording the hops as IPv6 addresses.')
crtt_mon_ip_echo_path_admin_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3, 1))
rttMonEchoPathAdminEntry.registerAugmentions(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoPathAdminEntry'))
crttMonIPEchoPathAdminEntry.setIndexNames(*rttMonEchoPathAdminEntry.getIndexNames())
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminEntry.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crtt_mon_ip_echo_path_admin_hop_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3, 1, 1), inet_address_type().clone('unknown')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminHopAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminHopAddrType.setDescription("An enumerated value which specifies the address type of the hop. This object must be used along with the crttMonIPEchoPathAdminHopAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPEchoPathAdminHopAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonEchoPathAdminHopAddress), this object contains the value 'unknown'.")
crtt_mon_ip_echo_path_admin_hop_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 3, 1, 2), inet_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminHopAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPEchoPathAdminHopAddress.setDescription('A string which specifies the address of the hop. This object, together with the crttMonIPEchoPathAdminHopAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonEchoPathAdminHopAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPEchoPathAdminHopAddrType/ crttMonIPEchoPathAdminHopAddress AND rttMonEchoPathAdminHopAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonEchoPathAdminHopAddress OR crttMonIPEchoPathAdminHopAddrType/ crttMonIPEchoPathAdminHopAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPEchoPathAdminHopAddrType/ crttMonIPEchoPathAdminHopAddress must be used and rttMonEchoPathAdminHopAddress may not be instantiated or may have a zero length string.')
crtt_mon_ip_stats_collect_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4))
if mibBuilder.loadTexts:
crttMonIPStatsCollectTable.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPStatsCollectTable.setDescription('An extension of the rttMonStatsCollectTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying the collection address as an IPv6 address.')
crtt_mon_ip_stats_collect_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4, 1))
rttMonStatsCollectEntry.registerAugmentions(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPStatsCollectEntry'))
crttMonIPStatsCollectEntry.setIndexNames(*rttMonStatsCollectEntry.getIndexNames())
if mibBuilder.loadTexts:
crttMonIPStatsCollectEntry.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPStatsCollectEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crtt_mon_ip_stats_collect_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4, 1, 1), inet_address_type().clone('unknown')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
crttMonIPStatsCollectAddressType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPStatsCollectAddressType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPStatsCollectAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPStatsCollectAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonStatsCollectAddress), this object contains the value 'unknown'.")
crtt_mon_ip_stats_collect_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 4, 1, 2), inet_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
crttMonIPStatsCollectAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPStatsCollectAddress.setDescription('A string which specifies the address of the collection target. This object, in conjunction with the crttMonIPStatsCollectAddressType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonStatsCollectAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPStatsCollectAddressType/ crttMonIPStatsCollectAddress AND rttMonStatsCollectAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonStatsCollectAddress OR crttMonIPStatsCollectAddressType/ crttMonIPStatsCollectAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPStatsCollectAddressType/ crttMonIPStatsCollectAddress must be used and rttMonStatsCollectAddress may not be instantiated or may have a zero length string.')
crtt_mon_ip_lpd_grp_stats_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5))
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsTable.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsTable.setDescription('An extension of the rttMonLpdGrpStatsTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying the target PE address as an IPv6 address.')
crtt_mon_ip_lpd_grp_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5, 1))
rttMonLpdGrpStatsEntry.registerAugmentions(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPLpdGrpStatsEntry'))
crttMonIPLpdGrpStatsEntry.setIndexNames(*rttMonLpdGrpStatsEntry.getIndexNames())
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crtt_mon_ip_lpd_grp_stats_target_pe_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5, 1, 1), inet_address_type().clone('unknown')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsTargetPEAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsTargetPEAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPLpdGrpStatsTargetPEAddr object as it identifies the address family of the address specified by that object. If the value of crttMonIPLpdGrpStatsTargetPEAddr is a zero-length string (e.g., because an IPv4 address is specified by rttMonLpdGrpStatsTargetPE), this object contains the value 'unknown'.")
crtt_mon_ip_lpd_grp_stats_target_pe_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 5, 1, 2), inet_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsTargetPEAddr.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPLpdGrpStatsTargetPEAddr.setDescription('A string which specifies the address of the target PE. This object, in conjunction with the crttMonIPLpdGrpStatsTargetPEAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonLpdGrpStatsTargetPE object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPLpdGrpStatsTargetPEAddrType/ crttMonIPLpdGrpStatsTargetPEAddr AND rttMonLpdGrpStatsTargetPE may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonLpdGrpStatsTargetPE OR crttMonIPLpdGrpStatsTargetPEAddrType/ crttMonIPLpdGrpStatsTargetPEAddr may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPLpdGrpStatsTargetPEAddrType/ crttMonIPLpdGrpStatsTargetPEAddr must be used and rttMonLpdGrpStatsTargetPE may not be instantiated or may have a zero length string.')
crtt_mon_ip_history_collection_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6))
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionTable.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionTable.setDescription('An extension of the rttMonHistoryCollectionTable, defined in the CISCO-RTTMON-MIB, which provides the additional capability of specifying the target address as an IPv6 address.')
crtt_mon_ip_history_collection_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6, 1))
rttMonHistoryCollectionEntry.registerAugmentions(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPHistoryCollectionEntry'))
crttMonIPHistoryCollectionEntry.setIndexNames(*rttMonHistoryCollectionEntry.getIndexNames())
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionEntry.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionEntry.setDescription('A list of additional objects needed for IPv6 addresses.')
crtt_mon_ip_history_collection_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6, 1, 1), inet_address_type().clone('unknown')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionAddrType.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionAddrType.setDescription("An enumerated value which specifies the address type of the target. This object must be used along with the crttMonIPHistoryCollectionAddress object as it identifies the address family of the address specified by that object. If the value of crttMonIPHistoryCollectionAddress is a zero-length string (e.g., because an IPv4 address is specified by rttMonHistoryCollectionAddress), this object contains the value 'unknown'.")
crtt_mon_ip_history_collection_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 572, 1, 6, 1, 2), inet_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionAddress.setStatus('current')
if mibBuilder.loadTexts:
crttMonIPHistoryCollectionAddress.setDescription('A string which specifies the address of the target. This object, in conjunction with the crttMonIPHistoryCollectionAddrType object, may be used to specify either an IPv6 or an IPv4 address and is an alternative to the rttMonHistoryCollectionAddress object, which can only specify an IPv4 address. In case the target is a V4 IP address then both crttMonIPHistoryCollectionAddrType/ crttMonIPHistoryCollectionAddress AND rttMonHistoryCollectionAddress may be used to specify it so long as both try to specify the same V4 IP address. Alternatively only one of rttMonHistoryCollectionAddress OR crttMonIPHistoryCollectionAddrType/ crttMonIPHistoryCollectionAddress may be used to specify the V4 IP address, in which case the other may either not be instantiated or contain a zero length string. In case the the target is a V6 IP address then only crttMonIPHistoryCollectionAddrType/ crttMonIPHistoryCollectionAddress must be used and rttMonHistoryCollectionAddress may not be instantiated or may have a zero length string.')
cisco_rtt_mon_ip_ext_mib_compliance_rev1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 1, 1)).setObjects(('CISCO-RTTMON-IP-EXT-MIB', 'ciscoIPExtCtrlGroupRev1'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_rtt_mon_ip_ext_mib_compliance_rev1 = ciscoRttMonIPExtMibComplianceRev1.setStatus('current')
if mibBuilder.loadTexts:
ciscoRttMonIPExtMibComplianceRev1.setDescription('The compliance statement for new MIB extensions for supporting IPv6 addresses and other IP-layer extensions')
cisco_ip_ext_ctrl_group_rev1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 572, 2, 2, 1)).setObjects(('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminTargetAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminTargetAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminSourceAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminSourceAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminNameServerAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminNameServerAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminLSPSelAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminLSPSelAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminDscp'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoAdminFlowLabel'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPLatestRttOperAddressType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPLatestRttOperAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoPathAdminHopAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPEchoPathAdminHopAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPStatsCollectAddressType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPStatsCollectAddress'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPLpdGrpStatsTargetPEAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPLpdGrpStatsTargetPEAddr'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPHistoryCollectionAddrType'), ('CISCO-RTTMON-IP-EXT-MIB', 'crttMonIPHistoryCollectionAddress'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_ip_ext_ctrl_group_rev1 = ciscoIPExtCtrlGroupRev1.setStatus('current')
if mibBuilder.loadTexts:
ciscoIPExtCtrlGroupRev1.setDescription('A collection of objects that were added to enhance the functionality of the RTT application to support other IP layer extensions like IPv6, specifically IPv6 addresses and other information.')
mibBuilder.exportSymbols('CISCO-RTTMON-IP-EXT-MIB', crttMonIPHistoryCollectionAddrType=crttMonIPHistoryCollectionAddrType, crttMonIPLatestRttOperTable=crttMonIPLatestRttOperTable, crttMonIPStatsCollectAddress=crttMonIPStatsCollectAddress, crttMonIPEchoAdminLSPSelAddress=crttMonIPEchoAdminLSPSelAddress, ciscoIPExtCtrlGroupRev1=ciscoIPExtCtrlGroupRev1, crttMonIPLatestRttOperAddressType=crttMonIPLatestRttOperAddressType, crttMonIPLpdGrpStatsTable=crttMonIPLpdGrpStatsTable, crttMonIPEchoAdminFlowLabel=crttMonIPEchoAdminFlowLabel, crttMonIPEchoPathAdminTable=crttMonIPEchoPathAdminTable, crttMonIPEchoPathAdminHopAddrType=crttMonIPEchoPathAdminHopAddrType, crttMonIPEchoAdminNameServerAddrType=crttMonIPEchoAdminNameServerAddrType, crttMonIPHistoryCollectionTable=crttMonIPHistoryCollectionTable, crttMonIPHistoryCollectionAddress=crttMonIPHistoryCollectionAddress, ciscoRttMonIPExtMibGroups=ciscoRttMonIPExtMibGroups, crttMonIPLatestRttOperEntry=crttMonIPLatestRttOperEntry, crttMonIPEchoPathAdminEntry=crttMonIPEchoPathAdminEntry, crttMonIPExtObjects=crttMonIPExtObjects, crttMonIPLpdGrpStatsTargetPEAddr=crttMonIPLpdGrpStatsTargetPEAddr, ciscoRttMonIPExtMIB=ciscoRttMonIPExtMIB, crttMonIPStatsCollectTable=crttMonIPStatsCollectTable, crttMonIPEchoAdminTable=crttMonIPEchoAdminTable, crttMonIPEchoAdminSourceAddrType=crttMonIPEchoAdminSourceAddrType, crttMonIPLpdGrpStatsEntry=crttMonIPLpdGrpStatsEntry, ciscoRttMonIPExtMibCompliances=ciscoRttMonIPExtMibCompliances, crttMonIPEchoAdminTargetAddrType=crttMonIPEchoAdminTargetAddrType, crttMonIPHistoryCollectionEntry=crttMonIPHistoryCollectionEntry, PYSNMP_MODULE_ID=ciscoRttMonIPExtMIB, crttMonIPEchoAdminLSPSelAddrType=crttMonIPEchoAdminLSPSelAddrType, ciscoRttMonIPExtMibConformance=ciscoRttMonIPExtMibConformance, crttMonIPStatsCollectEntry=crttMonIPStatsCollectEntry, crttMonIPStatsCollectAddressType=crttMonIPStatsCollectAddressType, crttMonIPEchoAdminEntry=crttMonIPEchoAdminEntry, crttMonIPEchoAdminTargetAddress=crttMonIPEchoAdminTargetAddress, crttMonIPLatestRttOperAddress=crttMonIPLatestRttOperAddress, ciscoRttMonIPExtMibComplianceRev1=ciscoRttMonIPExtMibComplianceRev1, crttMonIPEchoAdminDscp=crttMonIPEchoAdminDscp, crttMonIPLpdGrpStatsTargetPEAddrType=crttMonIPLpdGrpStatsTargetPEAddrType, crttMonIPEchoAdminSourceAddress=crttMonIPEchoAdminSourceAddress, crttMonIPEchoAdminNameServerAddress=crttMonIPEchoAdminNameServerAddress, crttMonIPEchoPathAdminHopAddress=crttMonIPEchoPathAdminHopAddress) |
#
# PySNMP MIB module Argus-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Argus-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:33:18 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, ObjectIdentity, NotificationType, Integer32, Counter32, Gauge32, Unsigned32, Counter64, TimeTicks, IpAddress, enterprises, MibIdentifier, Bits, iso = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "ObjectIdentity", "NotificationType", "Integer32", "Counter32", "Gauge32", "Unsigned32", "Counter64", "TimeTicks", "IpAddress", "enterprises", "MibIdentifier", "Bits", "iso")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
argus = ModuleIdentity((1, 3, 6, 1, 4, 1, 7309))
if mibBuilder.loadTexts: argus.setLastUpdated('200811030000Z')
if mibBuilder.loadTexts: argus.setOrganization('Argus Technologies')
if mibBuilder.loadTexts: argus.setContactInfo(' Randy Dahlgren Postal: Argus Technologies 5700 Sidley Street Vancouver, BC V5J 5E5 Canada Tel: 1-604-436-5900 Fax: 1-604-436-1233 E-mail: rdahlgren@argus.ca')
if mibBuilder.loadTexts: argus.setDescription('This MIB defines the information block(s) available in system controllers as defined by the following list: - dcPwrSysDevice: the SM-series of controllers')
dcpower = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4))
dcPwrSysDevice = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1))
dcPwrSysVariable = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1))
dcPwrSysString = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2))
dcPwrSysTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3))
dcPwrSysOutputsTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4))
dcPwrSysRelayTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1))
dcPwrSysAnalogOpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2))
dcPwrSysAlrmsTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5))
dcPwrSysRectAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1))
dcPwrSysDigAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2))
dcPwrSysCurrAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3))
dcPwrSysVoltAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4))
dcPwrSysBattAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5))
dcPwrSysTempAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6))
dcPwrSysCustomAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7))
dcPwrSysMiscAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8))
dcPwrSysCtrlAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9))
dcPwrSysAdioAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10))
dcPwrSysConvAlrmTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11))
dcPwrSysInputsTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6))
dcPwrSysDigIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1))
dcPwrSysCntrlrIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2))
dcPwrSysRectIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3))
dcPwrSysCustomIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4))
dcPwrSysConvIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5))
dcPwrSysTimerIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6))
dcPwrSysCounterIpTbl = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7))
dcPwrExternalControls = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 8))
dcPwrVarbindNameReference = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 9))
dcPwrSysChargeVolts = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysChargeVolts.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysChargeVolts.setDescription('Battery Charge Voltage. The integer value represent a two digit fix decimal (Value = real voltage * 100) in Volt')
dcPwrSysDischargeVolts = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDischargeVolts.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDischargeVolts.setDescription('Battery Discharge Voltage. The integer value represent a two digit fix decimal (Value = real voltage * 100) in Volt')
dcPwrSysChargeAmps = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysChargeAmps.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysChargeAmps.setDescription('Battery Charge Current. The integer value represent a two digit fix decimal (Value = real current * 100) in Amp')
dcPwrSysDischargeAmps = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDischargeAmps.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDischargeAmps.setDescription('Battery Discharge Current. The integer value represent a two digit fix decimal (Value = real current * 100) in Amp')
dcPwrSysMajorAlarm = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMajorAlarm.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMajorAlarm.setDescription('Major Alarm')
dcPwrSysMinorAlarm = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMinorAlarm.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMinorAlarm.setDescription('Minor Alarm')
dcPwrSysSiteName = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSiteName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSiteName.setDescription('Site Name')
dcPwrSysSiteCity = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSiteCity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSiteCity.setDescription('Site City')
dcPwrSysSiteRegion = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSiteRegion.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSiteRegion.setDescription('Site Region')
dcPwrSysSiteCountry = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSiteCountry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSiteCountry.setDescription('Site Country')
dcPwrSysContactName = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysContactName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysContactName.setDescription('Contact Name')
dcPwrSysPhoneNumber = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysPhoneNumber.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysPhoneNumber.setDescription('Phone Number')
dcPwrSysSiteNumber = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSiteNumber.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSiteNumber.setDescription('Site Number')
dcPwrSysSystemType = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSystemType.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSystemType.setDescription('The type of system being monitored by the agent')
dcPwrSysSystemSerial = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSystemSerial.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSystemSerial.setDescription('The serial number of the monitored system')
dcPwrSysSystemNumber = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSystemNumber.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSystemNumber.setDescription('The number of the monitored system')
dcPwrSysSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSoftwareVersion.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSoftwareVersion.setDescription('The version of software running on the monitored system')
dcPwrSysSoftwareTimestamp = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysSoftwareTimestamp.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysSoftwareTimestamp.setDescription('The time stamp of the software running on the monitored system')
dcPwrSysRelayCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRelayCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayCount.setDescription('Number of relay variables in system controller relay table')
dcPwrSysRelayTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2), )
if mibBuilder.loadTexts: dcPwrSysRelayTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayTable.setDescription('A table of DC power system controller rectifier relay output variables')
dcPwrSysRelayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysRelayIndex"))
if mibBuilder.loadTexts: dcPwrSysRelayEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayEntry.setDescription('An entry into the DC power system controller relay output group')
dcPwrSysRelayIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRelayIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayIndex.setDescription('The index of the relay variable in the power system controller relay output group')
dcPwrSysRelayName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRelayName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayName.setDescription('The description of the relay variable as reported by the DC power system controller relay output group')
dcPwrSysRelayIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRelayIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayIntegerValue.setDescription('The integer value of the relay variable as reported by the DC power system controller relay output group')
dcPwrSysRelayStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRelayStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayStringValue.setDescription('The string value of the relay variable as reported by the DC power system controller relay output group')
dcPwrSysRelaySeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRelaySeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelaySeverity.setDescription('The integer value of relay severity level of the extra variable as reported by the DC power system controller relay output group')
dcPwrSysAnalogOpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAnalogOpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpCount.setDescription('Number of analog output variables in system controller analog output table')
dcPwrSysAnalogOpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2), )
if mibBuilder.loadTexts: dcPwrSysAnalogOpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpTable.setDescription('A table of DC power system controller analog output variables')
dcPwrSysAnalogOpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysAnalogOpIndex"))
if mibBuilder.loadTexts: dcPwrSysAnalogOpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpEntry.setDescription('An entry into the DC power system controller analog output group')
dcPwrSysAnalogOpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAnalogOpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpIndex.setDescription('The index of the analog variable in the power system controller analog output group')
dcPwrSysAnalogOpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAnalogOpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpName.setDescription('The description of the analog variable as reported by the DC power system controller analog output group')
dcPwrSysAnalogOpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAnalogOpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpIntegerValue.setDescription('The integer value of the analog variable as reported by the DC power system controller analog output group')
dcPwrSysAnalogOpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAnalogOpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpStringValue.setDescription('The string value of the analog variable as reported by the DC power system controller analog output group')
dcPwrSysAnalogOpSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAnalogOpSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAnalogOpSeverity.setDescription('The integer value of analog severity level of the extra variable as reported by the DC power system controller analog output group')
dcPwrSysRectAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmCount.setDescription('Number of rectifier alarm variables in system controller alarm table')
dcPwrSysRectAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2), )
if mibBuilder.loadTexts: dcPwrSysRectAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmTable.setDescription('A table of DC power system controller rectifier alarm variables')
dcPwrSysRectAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysRectAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysRectAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmEntry.setDescription('An entry into the DC power system controller rectifier alarm group')
dcPwrSysRectAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table rectifier alarm group')
dcPwrSysRectAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller rectifier alarm group')
dcPwrSysRectAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller rectifier alarm group')
dcPwrSysRectAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller rectifier alarm group')
dcPwrSysRectAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller rectifier alarm group')
dcPwrSysDigAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmCount.setDescription('Number of digital alarm variables in system controller alarm table')
dcPwrSysDigAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2), )
if mibBuilder.loadTexts: dcPwrSysDigAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmTable.setDescription('A table of DC power system controller digital alarm variables')
dcPwrSysDigAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysDigAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysDigAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmEntry.setDescription('An entry into the DC power system controller digital alarm group')
dcPwrSysDigAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table digital alarm group')
dcPwrSysDigAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller digital alarm group')
dcPwrSysDigAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller digital alarm group')
dcPwrSysDigAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller digital alarm group')
dcPwrSysDigAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller digital alarm group')
dcPwrSysCurrAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCurrAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmCount.setDescription('Number of current alarm variables in system controller alarm table')
dcPwrSysCurrAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2), )
if mibBuilder.loadTexts: dcPwrSysCurrAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmTable.setDescription('A table of DC power system controller current alarm variables')
dcPwrSysCurrAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysCurrAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysCurrAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmEntry.setDescription('An entry into the DC power system controller current alarm group')
dcPwrSysCurrAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCurrAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table current alarm group')
dcPwrSysCurrAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCurrAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller current alarm group')
dcPwrSysCurrAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCurrAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller current alarm group')
dcPwrSysCurrAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCurrAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller current alarm group')
dcPwrSysCurrAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCurrAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCurrAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller current alarm group')
dcPwrSysVoltAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysVoltAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmCount.setDescription('Number of voltage alarm variables in system controller alarm table')
dcPwrSysVoltAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2), )
if mibBuilder.loadTexts: dcPwrSysVoltAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmTable.setDescription('A table of DC power system controller voltage alarm variables')
dcPwrSysVoltAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysVoltAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysVoltAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmEntry.setDescription('An entry into the DC power system controller voltage alarm group')
dcPwrSysVoltAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysVoltAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table voltage alarm group')
dcPwrSysVoltAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysVoltAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller voltage alarm group')
dcPwrSysVoltAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysVoltAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller voltage alarm group')
dcPwrSysVoltAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysVoltAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller voltage alarm group')
dcPwrSysVoltAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysVoltAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysVoltAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller voltage alarm group')
dcPwrSysBattAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysBattAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmCount.setDescription('Number of battery alarm variables in system controller alarm table')
dcPwrSysBattAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2), )
if mibBuilder.loadTexts: dcPwrSysBattAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmTable.setDescription('A table of DC power system controller battery alarm variables')
dcPwrSysBattAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysBattAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysBattAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmEntry.setDescription('An entry into the DC power system controller battery alarm group')
dcPwrSysBattAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysBattAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table battery alarm group')
dcPwrSysBattAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysBattAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller battery alarm group')
dcPwrSysBattAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysBattAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller battery alarm group')
dcPwrSysBattAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysBattAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller battery alarm group')
dcPwrSysBattAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysBattAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysBattAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller battery alarm group')
dcPwrSysTempAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTempAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmCount.setDescription('Number of temperature alarm variables in system controller alarm table')
dcPwrSysTempAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2), )
if mibBuilder.loadTexts: dcPwrSysTempAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmTable.setDescription('A table of DC power system controller temperature alarm variables')
dcPwrSysTempAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysTempAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysTempAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmEntry.setDescription('An entry into the DC power system controller temperature alarm group')
dcPwrSysTempAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTempAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table temperature alarm group')
dcPwrSysTempAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTempAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller temperature alarm group')
dcPwrSysTempAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTempAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller temperature alarm group')
dcPwrSysTempAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTempAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller temperature alarm group')
dcPwrSysTempAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTempAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTempAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller temperature alarm group')
dcPwrSysCustomAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmCount.setDescription('Number of custom alarm variables in system controller alarm table')
dcPwrSysCustomAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2), )
if mibBuilder.loadTexts: dcPwrSysCustomAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmTable.setDescription('A table of DC power system controller custom alarm variables')
dcPwrSysCustomAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysCustomAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysCustomAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmEntry.setDescription('An entry into the DC power system controller custom alarm group')
dcPwrSysCustomAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table custom alarm group')
dcPwrSysCustomAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller custom alarm group')
dcPwrSysCustomAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller custom alarm group')
dcPwrSysCustomAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller custom alarm group')
dcPwrSysCustomAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller custom alarm group')
dcPwrSysMiscAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMiscAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmCount.setDescription('Number of misc alarm variables in system controller alarm table')
dcPwrSysMiscAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2), )
if mibBuilder.loadTexts: dcPwrSysMiscAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmTable.setDescription('A table of DC power system controller misc alarm variables')
dcPwrSysMiscAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysMiscAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysMiscAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmEntry.setDescription('An entry into the DC power system controller misc alarm group')
dcPwrSysMiscAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMiscAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table misc alarm group')
dcPwrSysMiscAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMiscAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller misc alarm group')
dcPwrSysMiscAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMiscAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller misc alarm group')
dcPwrSysMiscAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMiscAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller misc alarm group')
dcPwrSysMiscAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysMiscAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMiscAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller misc alarm group')
dcPwrSysCtrlAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmCount.setDescription('Number of control alarm variables in system controller alarm table')
dcPwrSysCtrlAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2), )
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmTable.setDescription('A table of DC power system controller control alarm variables')
dcPwrSysCtrlAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysCtrlAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmEntry.setDescription('An entry into the DC power system controller control alarm group')
dcPwrSysCtrlAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table control alarm group')
dcPwrSysCtrlAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller control alarm group')
dcPwrSysCtrlAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller control alarm group')
dcPwrSysCtrlAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller control alarm group')
dcPwrSysCtrlAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCtrlAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller control alarm group')
dcPwrSysAdioAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAdioAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmCount.setDescription('Number of control alarm variables in Adio alarm table')
dcPwrSysAdioAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2), )
if mibBuilder.loadTexts: dcPwrSysAdioAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmTable.setDescription('A table of DC power system controller Adio alarm variables')
dcPwrSysAdioAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysAdioAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysAdioAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmEntry.setDescription('An entry into the DC power system controller Adio alarm group')
dcPwrSysAdioAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAdioAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table Adio alarm group')
dcPwrSysAdioAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAdioAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller Adio alarm group')
dcPwrSysAdioAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAdioAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller Adio alarm group')
dcPwrSysAdioAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAdioAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller Adio alarm group')
dcPwrSysAdioAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAdioAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAdioAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC Adio system controller control alarm group')
dcPwrSysConvAlrmCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvAlrmCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmCount.setDescription('Number of Converter alarm variables in system controller alarm table')
dcPwrSysConvAlrmTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2), )
if mibBuilder.loadTexts: dcPwrSysConvAlrmTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmTable.setDescription('A table of DC power system controller Converter alarm variables')
dcPwrSysConvAlrmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysConvAlrmIndex"))
if mibBuilder.loadTexts: dcPwrSysConvAlrmEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmEntry.setDescription('An entry into the DC power system controller Converter alarm group')
dcPwrSysConvAlrmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvAlrmIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table Converter alarm group')
dcPwrSysConvAlrmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvAlrmName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller Converter alarm group')
dcPwrSysConvAlrmIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller Converter alarm group')
dcPwrSysConvAlrmStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller Converter alarm group')
dcPwrSysConvAlrmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller Converter alarm group')
dcPwrSysDigIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpCount.setDescription('Number of digital input variables in system controller digital input table')
dcPwrSysDigIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2), )
if mibBuilder.loadTexts: dcPwrSysDigIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpTable.setDescription('A table of DC power system controller digital input variables')
dcPwrSysDigIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysDigIpIndex"))
if mibBuilder.loadTexts: dcPwrSysDigIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpEntry.setDescription('An entry into the DC power system controller digital input group')
dcPwrSysDigIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpIndex.setDescription('The index of the digital input variable in the DC power system controller table digital input group')
dcPwrSysDigIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpName.setDescription('The description of the digital input variable as reported by the DC power system controller digital input group')
dcPwrSysDigIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpIntegerValue.setDescription('The integer value of the digital input variable as reported by the DC power system controller digital input group')
dcPwrSysDigIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysDigIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysDigIpStringValue.setDescription('The string value of the digital input variable as reported by the DC power system controller digital input group')
dcPwrSysCntrlrIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCntrlrIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpCount.setDescription('Number of controller input variables in system controller controller input table')
dcPwrSysCntrlrIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2), )
if mibBuilder.loadTexts: dcPwrSysCntrlrIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpTable.setDescription('A table of DC power system controller controller input variables')
dcPwrSysCntrlrIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysCntrlrIpIndex"))
if mibBuilder.loadTexts: dcPwrSysCntrlrIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpEntry.setDescription('An entry into the DC power system controller controller input group')
dcPwrSysCntrlrIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCntrlrIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpIndex.setDescription('The index of the controller input variable in the DC power system controller table controller input group')
dcPwrSysCntrlrIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCntrlrIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpName.setDescription('The description of the controller input variable as reported by the DC power system controller controller input group')
dcPwrSysCntrlrIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCntrlrIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpIntegerValue.setDescription('The integer value of the controller input variable as reported by the DC power system controller controller input group')
dcPwrSysCntrlrIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCntrlrIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCntrlrIpStringValue.setDescription('The string value of the controller input variable as reported by the DC power system controller controller input group')
dcPwrSysRectIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpCount.setDescription('Number of rectifier input variables in system controller rectifier input table')
dcPwrSysRectIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2), )
if mibBuilder.loadTexts: dcPwrSysRectIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpTable.setDescription('A table of DC power system controller rectifier input variables')
dcPwrSysRectIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysRectIpIndex"))
if mibBuilder.loadTexts: dcPwrSysRectIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpEntry.setDescription('An entry into the DC power system controller rectifier input group')
dcPwrSysRectIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpIndex.setDescription('The index of the rectifier input variable in the DC power system controller table rectifier input group')
dcPwrSysRectIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpName.setDescription('The description of the rectifier input variable as reported by the DC power system controller rectifier input group')
dcPwrSysRectIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpIntegerValue.setDescription('The integer value of the rectifier input variable as reported by the DC power system controller rectifier input group')
dcPwrSysRectIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysRectIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRectIpStringValue.setDescription('The string value of the rectifier input variable as reported by the DC power system controller rectifier input group')
dcPwrSysCustomIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomIpCount.setDescription('Number of custom input variables in system controller custom input table')
dcPwrSysCustomIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2), )
if mibBuilder.loadTexts: dcPwrSysCustomIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomIpTable.setDescription('A table of DC power system controller digital custom variables')
dcPwrSysCustomIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysCustomIpIndex"))
if mibBuilder.loadTexts: dcPwrSysCustomIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomIpEntry.setDescription('An entry into the DC power system controller custom input group')
dcPwrSysCustomIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomIpIndex.setDescription('The index of the custom input variable in the DC power system controller table custom input group')
dcPwrSysCustomIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomIpName.setDescription('The description of the custom input variable as reported by the DC power system controller custom input group')
dcPwrSysgCustomIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysgCustomIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysgCustomIpIntegerValue.setDescription('The integer value of the custom input variable as reported by the DC power system controller custom input group')
dcPwrSysCustomIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCustomIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCustomIpStringValue.setDescription('The string value of the custom input variable as reported by the DC power system controller custom input group')
dcPwrSysConvIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpCount.setDescription('Number of Converter input variables in system controller Converter input table')
dcPwrSysConvIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2), )
if mibBuilder.loadTexts: dcPwrSysConvIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpTable.setDescription('A table of DC power system controller Converter input variables')
dcPwrSysConvIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysConvIpIndex"))
if mibBuilder.loadTexts: dcPwrSysConvIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpEntry.setDescription('An entry into the DC power system controller Converter input group')
dcPwrSysConvIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpIndex.setDescription('The index of the Converter input variable in the DC power system controller table Converter input group')
dcPwrSysConvIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpName.setDescription('The description of the Converter input variable as reported by the DC power system controller Converter input group')
dcPwrSysConvIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpIntegerValue.setDescription('The integer value of the Converter input variable as reported by the DC power system controller Converter input group')
dcPwrSysConvIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysConvIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysConvIpStringValue.setDescription('The string value of the Converter input variable as reported by the DC power system controller Converter input group')
dcPwrSysTimerIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTimerIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpCount.setDescription('Number of Timererter input variables in system controller Timererter input table')
dcPwrSysTimerIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2), )
if mibBuilder.loadTexts: dcPwrSysTimerIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpTable.setDescription('A table of DC power system controller Timererter input variables')
dcPwrSysTimerIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysTimerIpIndex"))
if mibBuilder.loadTexts: dcPwrSysTimerIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpEntry.setDescription('An entry into the DC power system controller Timererter input group')
dcPwrSysTimerIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTimerIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpIndex.setDescription('The index of the Timererter input variable in the DC power system controller table Timererter input group')
dcPwrSysTimerIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTimerIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpName.setDescription('The description of the Timererter input variable as reported by the DC power system controller Timererter input group')
dcPwrSysTimerIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTimerIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpIntegerValue.setDescription('The integer value of the Timererter input variable as reported by the DC power system controller Timererter input group')
dcPwrSysTimerIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTimerIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimerIpStringValue.setDescription('The string value of the Timererter input variable as reported by the DC power system controller Timererter input group')
dcPwrSysCounterIpCount = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCounterIpCount.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpCount.setDescription('Number of Countererter input variables in system controller Countererter input table')
dcPwrSysCounterIpTable = MibTable((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2), )
if mibBuilder.loadTexts: dcPwrSysCounterIpTable.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpTable.setDescription('A table of DC power system controller Countererter input variables')
dcPwrSysCounterIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1), ).setIndexNames((0, "Argus-MIB", "dcPwrSysCounterIpIndex"))
if mibBuilder.loadTexts: dcPwrSysCounterIpEntry.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpEntry.setDescription('An entry into the DC power system controller Countererter input group')
dcPwrSysCounterIpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCounterIpIndex.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpIndex.setDescription('The index of the Countererter input variable in the DC power system controller table Countererter input group')
dcPwrSysCounterIpName = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCounterIpName.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpName.setDescription('The description of the Countererter input variable as reported by the DC power system controller Countererter input group')
dcPwrSysCounterIpIntegerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000000000, 1000000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCounterIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpIntegerValue.setDescription('The integer value of the Countererter input variable as reported by the DC power system controller Countererter input group')
dcPwrSysCounterIpStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysCounterIpStringValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysCounterIpStringValue.setDescription('The string value of the Countererter input variable as reported by the DC power system controller Countererter input group')
dcPwrSysTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0))
dcPwrSysAlarmActiveTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 1)).setObjects(("Argus-MIB", "dcPwrSysRectAlrmStringValue"), ("Argus-MIB", "dcPwrSysRectAlrmIndex"), ("Argus-MIB", "dcPwrSysRectAlrmSeverity"), ("Argus-MIB", "dcPwrSysSiteName"), ("Argus-MIB", "dcPwrSysAlarmTriggerValue"))
if mibBuilder.loadTexts: dcPwrSysAlarmActiveTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAlarmActiveTrap.setDescription('A trap issued when one of the alarms on the DC power system controller became active')
dcPwrSysAlarmClearedTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 2)).setObjects(("Argus-MIB", "dcPwrSysRectAlrmStringValue"), ("Argus-MIB", "dcPwrSysRectAlrmIndex"), ("Argus-MIB", "dcPwrSysRectAlrmSeverity"), ("Argus-MIB", "dcPwrSysSiteName"), ("Argus-MIB", "dcPwrSysAlarmTriggerValue"))
if mibBuilder.loadTexts: dcPwrSysAlarmClearedTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAlarmClearedTrap.setDescription('A trap issued when one of the active alarms on the DC power system controller is cleared')
dcPwrSysRelayTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 3)).setObjects(("Argus-MIB", "dcPwrSysRelayIntegerValue"), ("Argus-MIB", "dcPwrSysRelayStringValue"), ("Argus-MIB", "dcPwrSysRelayIndex"), ("Argus-MIB", "dcPwrSysRelaySeverity"), ("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysRelayTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysRelayTrap.setDescription('A trap issued from a change in state in one of the relays on the DC power system controller')
dcPwrSysComOKTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 4)).setObjects(("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysComOKTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysComOKTrap.setDescription('A trap to indicate that communications with a DC power system controller has been established.')
dcPwrSysComErrTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 5)).setObjects(("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysComErrTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysComErrTrap.setDescription('A trap to indicate that communications with a DC power system controller has been lost.')
dcPwrSysAgentStartupTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 6)).setObjects(("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysAgentStartupTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAgentStartupTrap.setDescription('A trap to indicate that the agent software has started up.')
dcPwrSysAgentShutdownTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 7)).setObjects(("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysAgentShutdownTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAgentShutdownTrap.setDescription('A trap to indicate that the agent software has shutdown.')
dcPwrSysMajorAlarmActiveTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 8)).setObjects(("Argus-MIB", "dcPwrSysRectAlrmStringValue"), ("Argus-MIB", "dcPwrSysRectAlrmIndex"), ("Argus-MIB", "dcPwrSysRectAlrmSeverity"), ("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysMajorAlarmActiveTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMajorAlarmActiveTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system goes into in Major Alarm')
dcPwrSysMajorAlarmClearedTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 9)).setObjects(("Argus-MIB", "dcPwrSysRectAlrmStringValue"), ("Argus-MIB", "dcPwrSysRectAlrmIndex"), ("Argus-MIB", "dcPwrSysRectAlrmSeverity"), ("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysMajorAlarmClearedTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMajorAlarmClearedTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system comes out of Major Alarm')
dcPwrSysMinorAlarmActiveTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 10)).setObjects(("Argus-MIB", "dcPwrSysRectAlrmStringValue"), ("Argus-MIB", "dcPwrSysRectAlrmIndex"), ("Argus-MIB", "dcPwrSysRectAlrmSeverity"), ("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysMinorAlarmActiveTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMinorAlarmActiveTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system goes into in Minor Alarm')
dcPwrSysMinorAlarmClearedTrap = NotificationType((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 11)).setObjects(("Argus-MIB", "dcPwrSysRectAlrmStringValue"), ("Argus-MIB", "dcPwrSysRectAlrmIndex"), ("Argus-MIB", "dcPwrSysRectAlrmSeverity"), ("Argus-MIB", "dcPwrSysSiteName"))
if mibBuilder.loadTexts: dcPwrSysMinorAlarmClearedTrap.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysMinorAlarmClearedTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system comes out of Minor Alarm')
dcPwrSysResyncAlarms = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dcPwrSysResyncAlarms.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysResyncAlarms.setDescription('Send/Resend all active alarms that were previously sent through SNMP notification.')
dcPwrSysAlarmTriggerValue = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 9, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysAlarmTriggerValue.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysAlarmTriggerValue.setDescription('')
dcPwrSysTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 9, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dcPwrSysTimeStamp.setStatus('current')
if mibBuilder.loadTexts: dcPwrSysTimeStamp.setDescription('')
mibBuilder.exportSymbols("Argus-MIB", dcPwrVarbindNameReference=dcPwrVarbindNameReference, dcPwrSysSoftwareVersion=dcPwrSysSoftwareVersion, dcPwrSysDigAlrmTbl=dcPwrSysDigAlrmTbl, dcPwrSysConvAlrmName=dcPwrSysConvAlrmName, dcPwrSysTimerIpName=dcPwrSysTimerIpName, dcPwrSysAlarmActiveTrap=dcPwrSysAlarmActiveTrap, dcPwrSysMinorAlarmClearedTrap=dcPwrSysMinorAlarmClearedTrap, dcPwrSysConvAlrmTable=dcPwrSysConvAlrmTable, dcPwrSysCtrlAlrmStringValue=dcPwrSysCtrlAlrmStringValue, dcPwrSysCustomAlrmStringValue=dcPwrSysCustomAlrmStringValue, dcPwrSysCurrAlrmIntegerValue=dcPwrSysCurrAlrmIntegerValue, dcPwrSysConvAlrmTbl=dcPwrSysConvAlrmTbl, dcPwrSysConvIpEntry=dcPwrSysConvIpEntry, dcPwrSysBattAlrmCount=dcPwrSysBattAlrmCount, dcPwrSysAdioAlrmName=dcPwrSysAdioAlrmName, dcPwrSysConvAlrmEntry=dcPwrSysConvAlrmEntry, dcPwrSysTempAlrmTbl=dcPwrSysTempAlrmTbl, dcPwrSysRelayCount=dcPwrSysRelayCount, dcPwrSysAdioAlrmTable=dcPwrSysAdioAlrmTable, dcPwrSysAlarmTriggerValue=dcPwrSysAlarmTriggerValue, dcPwrSysMiscAlrmTable=dcPwrSysMiscAlrmTable, dcPwrSysBattAlrmEntry=dcPwrSysBattAlrmEntry, dcPwrSysSiteNumber=dcPwrSysSiteNumber, dcPwrSysAnalogOpTbl=dcPwrSysAnalogOpTbl, dcPwrSysRectIpEntry=dcPwrSysRectIpEntry, dcPwrSysMiscAlrmIndex=dcPwrSysMiscAlrmIndex, dcPwrSysTempAlrmName=dcPwrSysTempAlrmName, dcPwrSysBattAlrmTbl=dcPwrSysBattAlrmTbl, dcPwrSysDigAlrmName=dcPwrSysDigAlrmName, dcPwrSysComErrTrap=dcPwrSysComErrTrap, dcPwrSysCustomAlrmEntry=dcPwrSysCustomAlrmEntry, dcPwrSysConvIpStringValue=dcPwrSysConvIpStringValue, dcPwrSysDigAlrmCount=dcPwrSysDigAlrmCount, dcPwrSysCntrlrIpCount=dcPwrSysCntrlrIpCount, dcPwrSysRelayStringValue=dcPwrSysRelayStringValue, dcPwrSysAnalogOpSeverity=dcPwrSysAnalogOpSeverity, dcPwrSysRectAlrmEntry=dcPwrSysRectAlrmEntry, dcPwrSysCtrlAlrmTbl=dcPwrSysCtrlAlrmTbl, dcPwrSysAnalogOpStringValue=dcPwrSysAnalogOpStringValue, dcPwrSysRectAlrmIndex=dcPwrSysRectAlrmIndex, dcPwrSysSiteCountry=dcPwrSysSiteCountry, dcPwrSysBattAlrmStringValue=dcPwrSysBattAlrmStringValue, dcPwrSysDigAlrmTable=dcPwrSysDigAlrmTable, dcPwrSysPhoneNumber=dcPwrSysPhoneNumber, dcPwrSysCustomAlrmIndex=dcPwrSysCustomAlrmIndex, dcPwrSysContactName=dcPwrSysContactName, dcPwrSysCustomIpEntry=dcPwrSysCustomIpEntry, dcPwrSysCounterIpEntry=dcPwrSysCounterIpEntry, dcPwrSysMajorAlarmActiveTrap=dcPwrSysMajorAlarmActiveTrap, dcPwrSysRectIpStringValue=dcPwrSysRectIpStringValue, dcPwrSysTraps=dcPwrSysTraps, PYSNMP_MODULE_ID=argus, dcPwrSysMiscAlrmSeverity=dcPwrSysMiscAlrmSeverity, dcPwrSysVoltAlrmSeverity=dcPwrSysVoltAlrmSeverity, dcPwrSysVoltAlrmCount=dcPwrSysVoltAlrmCount, dcPwrSysCtrlAlrmIntegerValue=dcPwrSysCtrlAlrmIntegerValue, dcPwrSysResyncAlarms=dcPwrSysResyncAlarms, dcPwrSysRelayName=dcPwrSysRelayName, dcPwrSysAdioAlrmTbl=dcPwrSysAdioAlrmTbl, dcPwrSysDigIpTable=dcPwrSysDigIpTable, dcPwrSysRelayTable=dcPwrSysRelayTable, dcPwrSysDischargeAmps=dcPwrSysDischargeAmps, dcPwrSysDigIpIndex=dcPwrSysDigIpIndex, dcPwrSysConvIpIntegerValue=dcPwrSysConvIpIntegerValue, dcPwrSysMinorAlarm=dcPwrSysMinorAlarm, dcPwrSysRelaySeverity=dcPwrSysRelaySeverity, dcPwrSysCurrAlrmName=dcPwrSysCurrAlrmName, dcPwrSysTimerIpCount=dcPwrSysTimerIpCount, dcPwrSysCntrlrIpTable=dcPwrSysCntrlrIpTable, dcPwrSysVoltAlrmIntegerValue=dcPwrSysVoltAlrmIntegerValue, dcPwrSysInputsTbl=dcPwrSysInputsTbl, dcPwrExternalControls=dcPwrExternalControls, dcPwrSysConvIpIndex=dcPwrSysConvIpIndex, dcPwrSysMajorAlarmClearedTrap=dcPwrSysMajorAlarmClearedTrap, dcPwrSysDevice=dcPwrSysDevice, dcPwrSysCustomAlrmTbl=dcPwrSysCustomAlrmTbl, dcPwrSysMajorAlarm=dcPwrSysMajorAlarm, dcPwrSysTempAlrmEntry=dcPwrSysTempAlrmEntry, dcPwrSysTempAlrmSeverity=dcPwrSysTempAlrmSeverity, dcPwrSysCntrlrIpName=dcPwrSysCntrlrIpName, dcPwrSysOutputsTbl=dcPwrSysOutputsTbl, dcPwrSysSystemNumber=dcPwrSysSystemNumber, dcPwrSysTempAlrmStringValue=dcPwrSysTempAlrmStringValue, dcPwrSysCtrlAlrmIndex=dcPwrSysCtrlAlrmIndex, dcPwrSysTimeStamp=dcPwrSysTimeStamp, dcPwrSysConvIpTable=dcPwrSysConvIpTable, dcPwrSysDigIpName=dcPwrSysDigIpName, dcPwrSysCurrAlrmStringValue=dcPwrSysCurrAlrmStringValue, dcPwrSysAgentShutdownTrap=dcPwrSysAgentShutdownTrap, dcPwrSysRectIpName=dcPwrSysRectIpName, dcPwrSysMiscAlrmEntry=dcPwrSysMiscAlrmEntry, dcPwrSysTrap=dcPwrSysTrap, dcPwrSysRectAlrmName=dcPwrSysRectAlrmName, dcPwrSysVoltAlrmTable=dcPwrSysVoltAlrmTable, dcPwrSysTempAlrmCount=dcPwrSysTempAlrmCount, dcPwrSysChargeAmps=dcPwrSysChargeAmps, dcPwrSysTempAlrmTable=dcPwrSysTempAlrmTable, dcPwrSysMiscAlrmTbl=dcPwrSysMiscAlrmTbl, dcPwrSysAnalogOpIndex=dcPwrSysAnalogOpIndex, dcPwrSysCntrlrIpEntry=dcPwrSysCntrlrIpEntry, dcPwrSysSiteRegion=dcPwrSysSiteRegion, dcPwrSysString=dcPwrSysString, dcPwrSysBattAlrmName=dcPwrSysBattAlrmName, dcPwrSysSystemType=dcPwrSysSystemType, dcPwrSysConvAlrmSeverity=dcPwrSysConvAlrmSeverity, dcPwrSysRectIpCount=dcPwrSysRectIpCount, dcPwrSysTimerIpIntegerValue=dcPwrSysTimerIpIntegerValue, dcPwrSysCtrlAlrmEntry=dcPwrSysCtrlAlrmEntry, argus=argus, dcPwrSysRectAlrmTbl=dcPwrSysRectAlrmTbl, dcPwrSysRectAlrmIntegerValue=dcPwrSysRectAlrmIntegerValue, dcPwrSysTempAlrmIndex=dcPwrSysTempAlrmIndex, dcPwrSysDigAlrmEntry=dcPwrSysDigAlrmEntry, dcPwrSysAnalogOpCount=dcPwrSysAnalogOpCount, dcPwrSysComOKTrap=dcPwrSysComOKTrap, dcPwrSysCurrAlrmSeverity=dcPwrSysCurrAlrmSeverity, dcPwrSysVoltAlrmIndex=dcPwrSysVoltAlrmIndex, dcPwrSysConvIpName=dcPwrSysConvIpName, dcPwrSysCounterIpStringValue=dcPwrSysCounterIpStringValue, dcpower=dcpower, dcPwrSysCustomIpCount=dcPwrSysCustomIpCount, dcPwrSysVariable=dcPwrSysVariable, dcPwrSysAgentStartupTrap=dcPwrSysAgentStartupTrap, dcPwrSysAdioAlrmCount=dcPwrSysAdioAlrmCount, dcPwrSysRectAlrmSeverity=dcPwrSysRectAlrmSeverity, dcPwrSysCntrlrIpIntegerValue=dcPwrSysCntrlrIpIntegerValue, dcPwrSysAnalogOpIntegerValue=dcPwrSysAnalogOpIntegerValue, dcPwrSysRelayTbl=dcPwrSysRelayTbl, dcPwrSysCustomIpTbl=dcPwrSysCustomIpTbl, dcPwrSysCntrlrIpIndex=dcPwrSysCntrlrIpIndex, dcPwrSysCurrAlrmIndex=dcPwrSysCurrAlrmIndex, dcPwrSysCounterIpIntegerValue=dcPwrSysCounterIpIntegerValue, dcPwrSysDigIpStringValue=dcPwrSysDigIpStringValue, dcPwrSysAdioAlrmEntry=dcPwrSysAdioAlrmEntry, dcPwrSysDigAlrmIndex=dcPwrSysDigAlrmIndex, dcPwrSysRectIpTbl=dcPwrSysRectIpTbl, dcPwrSysRelayIntegerValue=dcPwrSysRelayIntegerValue, dcPwrSysDigIpCount=dcPwrSysDigIpCount, dcPwrSysMiscAlrmCount=dcPwrSysMiscAlrmCount, dcPwrSysDigIpEntry=dcPwrSysDigIpEntry, dcPwrSysMiscAlrmName=dcPwrSysMiscAlrmName, dcPwrSysRelayEntry=dcPwrSysRelayEntry, dcPwrSysMinorAlarmActiveTrap=dcPwrSysMinorAlarmActiveTrap, dcPwrSysBattAlrmIntegerValue=dcPwrSysBattAlrmIntegerValue, dcPwrSysTimerIpTbl=dcPwrSysTimerIpTbl, dcPwrSysConvIpTbl=dcPwrSysConvIpTbl, dcPwrSysRectIpIntegerValue=dcPwrSysRectIpIntegerValue, dcPwrSysBattAlrmIndex=dcPwrSysBattAlrmIndex, dcPwrSysRectAlrmTable=dcPwrSysRectAlrmTable, dcPwrSysDischargeVolts=dcPwrSysDischargeVolts, dcPwrSysgCustomIpIntegerValue=dcPwrSysgCustomIpIntegerValue, dcPwrSysDigAlrmStringValue=dcPwrSysDigAlrmStringValue, dcPwrSysVoltAlrmStringValue=dcPwrSysVoltAlrmStringValue, dcPwrSysAnalogOpName=dcPwrSysAnalogOpName, dcPwrSysRelayIndex=dcPwrSysRelayIndex, dcPwrSysSiteName=dcPwrSysSiteName, dcPwrSysConvAlrmStringValue=dcPwrSysConvAlrmStringValue, dcPwrSysVoltAlrmTbl=dcPwrSysVoltAlrmTbl, dcPwrSysConvAlrmIndex=dcPwrSysConvAlrmIndex, dcPwrSysCntrlrIpTbl=dcPwrSysCntrlrIpTbl, dcPwrSysRectIpIndex=dcPwrSysRectIpIndex, dcPwrSysMiscAlrmIntegerValue=dcPwrSysMiscAlrmIntegerValue, dcPwrSysAlrmsTbl=dcPwrSysAlrmsTbl, dcPwrSysRectAlrmCount=dcPwrSysRectAlrmCount, dcPwrSysRelayTrap=dcPwrSysRelayTrap, dcPwrSysBattAlrmSeverity=dcPwrSysBattAlrmSeverity, dcPwrSysCtrlAlrmCount=dcPwrSysCtrlAlrmCount, dcPwrSysCustomAlrmIntegerValue=dcPwrSysCustomAlrmIntegerValue, dcPwrSysTimerIpIndex=dcPwrSysTimerIpIndex, dcPwrSysVoltAlrmEntry=dcPwrSysVoltAlrmEntry, dcPwrSysAdioAlrmStringValue=dcPwrSysAdioAlrmStringValue, dcPwrSysDigIpTbl=dcPwrSysDigIpTbl, dcPwrSysCounterIpTbl=dcPwrSysCounterIpTbl, dcPwrSysCustomAlrmCount=dcPwrSysCustomAlrmCount, dcPwrSysCtrlAlrmName=dcPwrSysCtrlAlrmName, dcPwrSysConvAlrmCount=dcPwrSysConvAlrmCount, dcPwrSysCustomIpStringValue=dcPwrSysCustomIpStringValue, dcPwrSysDigAlrmSeverity=dcPwrSysDigAlrmSeverity, dcPwrSysConvAlrmIntegerValue=dcPwrSysConvAlrmIntegerValue, dcPwrSysChargeVolts=dcPwrSysChargeVolts, dcPwrSysBattAlrmTable=dcPwrSysBattAlrmTable, dcPwrSysCounterIpCount=dcPwrSysCounterIpCount, dcPwrSysDigAlrmIntegerValue=dcPwrSysDigAlrmIntegerValue, dcPwrSysCustomAlrmTable=dcPwrSysCustomAlrmTable, dcPwrSysCustomIpIndex=dcPwrSysCustomIpIndex, dcPwrSysCurrAlrmEntry=dcPwrSysCurrAlrmEntry, dcPwrSysDigIpIntegerValue=dcPwrSysDigIpIntegerValue, dcPwrSysVoltAlrmName=dcPwrSysVoltAlrmName, dcPwrSysMiscAlrmStringValue=dcPwrSysMiscAlrmStringValue, dcPwrSysCurrAlrmTbl=dcPwrSysCurrAlrmTbl, dcPwrSysTimerIpStringValue=dcPwrSysTimerIpStringValue, dcPwrSysCounterIpName=dcPwrSysCounterIpName, dcPwrSysCtrlAlrmSeverity=dcPwrSysCtrlAlrmSeverity, dcPwrSysRectAlrmStringValue=dcPwrSysRectAlrmStringValue, dcPwrSysCurrAlrmTable=dcPwrSysCurrAlrmTable, dcPwrSysCustomAlrmName=dcPwrSysCustomAlrmName, dcPwrSysCntrlrIpStringValue=dcPwrSysCntrlrIpStringValue, dcPwrSysConvIpCount=dcPwrSysConvIpCount, dcPwrSysAnalogOpTable=dcPwrSysAnalogOpTable, dcPwrSysCtrlAlrmTable=dcPwrSysCtrlAlrmTable, dcPwrSysSystemSerial=dcPwrSysSystemSerial, dcPwrSysAdioAlrmIndex=dcPwrSysAdioAlrmIndex, dcPwrSysCounterIpIndex=dcPwrSysCounterIpIndex, dcPwrSysAdioAlrmSeverity=dcPwrSysAdioAlrmSeverity, dcPwrSysCustomAlrmSeverity=dcPwrSysCustomAlrmSeverity, dcPwrSysTimerIpTable=dcPwrSysTimerIpTable, dcPwrSysAnalogOpEntry=dcPwrSysAnalogOpEntry, dcPwrSysSoftwareTimestamp=dcPwrSysSoftwareTimestamp, dcPwrSysAlarmClearedTrap=dcPwrSysAlarmClearedTrap, dcPwrSysSiteCity=dcPwrSysSiteCity, dcPwrSysCounterIpTable=dcPwrSysCounterIpTable, dcPwrSysCurrAlrmCount=dcPwrSysCurrAlrmCount, dcPwrSysAdioAlrmIntegerValue=dcPwrSysAdioAlrmIntegerValue, dcPwrSysRectIpTable=dcPwrSysRectIpTable, dcPwrSysCustomIpTable=dcPwrSysCustomIpTable, dcPwrSysCustomIpName=dcPwrSysCustomIpName, dcPwrSysTempAlrmIntegerValue=dcPwrSysTempAlrmIntegerValue, dcPwrSysTimerIpEntry=dcPwrSysTimerIpEntry)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(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')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, object_identity, notification_type, integer32, counter32, gauge32, unsigned32, counter64, time_ticks, ip_address, enterprises, mib_identifier, bits, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'ObjectIdentity', 'NotificationType', 'Integer32', 'Counter32', 'Gauge32', 'Unsigned32', 'Counter64', 'TimeTicks', 'IpAddress', 'enterprises', 'MibIdentifier', 'Bits', 'iso')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
argus = module_identity((1, 3, 6, 1, 4, 1, 7309))
if mibBuilder.loadTexts:
argus.setLastUpdated('200811030000Z')
if mibBuilder.loadTexts:
argus.setOrganization('Argus Technologies')
if mibBuilder.loadTexts:
argus.setContactInfo(' Randy Dahlgren Postal: Argus Technologies 5700 Sidley Street Vancouver, BC V5J 5E5 Canada Tel: 1-604-436-5900 Fax: 1-604-436-1233 E-mail: rdahlgren@argus.ca')
if mibBuilder.loadTexts:
argus.setDescription('This MIB defines the information block(s) available in system controllers as defined by the following list: - dcPwrSysDevice: the SM-series of controllers')
dcpower = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4))
dc_pwr_sys_device = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1))
dc_pwr_sys_variable = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1))
dc_pwr_sys_string = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2))
dc_pwr_sys_traps = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3))
dc_pwr_sys_outputs_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4))
dc_pwr_sys_relay_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1))
dc_pwr_sys_analog_op_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2))
dc_pwr_sys_alrms_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5))
dc_pwr_sys_rect_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1))
dc_pwr_sys_dig_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2))
dc_pwr_sys_curr_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3))
dc_pwr_sys_volt_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4))
dc_pwr_sys_batt_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5))
dc_pwr_sys_temp_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6))
dc_pwr_sys_custom_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7))
dc_pwr_sys_misc_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8))
dc_pwr_sys_ctrl_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9))
dc_pwr_sys_adio_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10))
dc_pwr_sys_conv_alrm_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11))
dc_pwr_sys_inputs_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6))
dc_pwr_sys_dig_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1))
dc_pwr_sys_cntrlr_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2))
dc_pwr_sys_rect_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3))
dc_pwr_sys_custom_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4))
dc_pwr_sys_conv_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5))
dc_pwr_sys_timer_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6))
dc_pwr_sys_counter_ip_tbl = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7))
dc_pwr_external_controls = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 8))
dc_pwr_varbind_name_reference = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 9))
dc_pwr_sys_charge_volts = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysChargeVolts.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysChargeVolts.setDescription('Battery Charge Voltage. The integer value represent a two digit fix decimal (Value = real voltage * 100) in Volt')
dc_pwr_sys_discharge_volts = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDischargeVolts.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDischargeVolts.setDescription('Battery Discharge Voltage. The integer value represent a two digit fix decimal (Value = real voltage * 100) in Volt')
dc_pwr_sys_charge_amps = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysChargeAmps.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysChargeAmps.setDescription('Battery Charge Current. The integer value represent a two digit fix decimal (Value = real current * 100) in Amp')
dc_pwr_sys_discharge_amps = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDischargeAmps.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDischargeAmps.setDescription('Battery Discharge Current. The integer value represent a two digit fix decimal (Value = real current * 100) in Amp')
dc_pwr_sys_major_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMajorAlarm.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMajorAlarm.setDescription('Major Alarm')
dc_pwr_sys_minor_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMinorAlarm.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMinorAlarm.setDescription('Minor Alarm')
dc_pwr_sys_site_name = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSiteName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSiteName.setDescription('Site Name')
dc_pwr_sys_site_city = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSiteCity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSiteCity.setDescription('Site City')
dc_pwr_sys_site_region = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSiteRegion.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSiteRegion.setDescription('Site Region')
dc_pwr_sys_site_country = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSiteCountry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSiteCountry.setDescription('Site Country')
dc_pwr_sys_contact_name = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysContactName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysContactName.setDescription('Contact Name')
dc_pwr_sys_phone_number = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysPhoneNumber.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysPhoneNumber.setDescription('Phone Number')
dc_pwr_sys_site_number = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSiteNumber.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSiteNumber.setDescription('Site Number')
dc_pwr_sys_system_type = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSystemType.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSystemType.setDescription('The type of system being monitored by the agent')
dc_pwr_sys_system_serial = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSystemSerial.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSystemSerial.setDescription('The serial number of the monitored system')
dc_pwr_sys_system_number = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSystemNumber.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSystemNumber.setDescription('The number of the monitored system')
dc_pwr_sys_software_version = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSoftwareVersion.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSoftwareVersion.setDescription('The version of software running on the monitored system')
dc_pwr_sys_software_timestamp = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 2, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysSoftwareTimestamp.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysSoftwareTimestamp.setDescription('The time stamp of the software running on the monitored system')
dc_pwr_sys_relay_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRelayCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayCount.setDescription('Number of relay variables in system controller relay table')
dc_pwr_sys_relay_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2))
if mibBuilder.loadTexts:
dcPwrSysRelayTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayTable.setDescription('A table of DC power system controller rectifier relay output variables')
dc_pwr_sys_relay_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysRelayIndex'))
if mibBuilder.loadTexts:
dcPwrSysRelayEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayEntry.setDescription('An entry into the DC power system controller relay output group')
dc_pwr_sys_relay_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRelayIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayIndex.setDescription('The index of the relay variable in the power system controller relay output group')
dc_pwr_sys_relay_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRelayName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayName.setDescription('The description of the relay variable as reported by the DC power system controller relay output group')
dc_pwr_sys_relay_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRelayIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayIntegerValue.setDescription('The integer value of the relay variable as reported by the DC power system controller relay output group')
dc_pwr_sys_relay_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRelayStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayStringValue.setDescription('The string value of the relay variable as reported by the DC power system controller relay output group')
dc_pwr_sys_relay_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRelaySeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelaySeverity.setDescription('The integer value of relay severity level of the extra variable as reported by the DC power system controller relay output group')
dc_pwr_sys_analog_op_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpCount.setDescription('Number of analog output variables in system controller analog output table')
dc_pwr_sys_analog_op_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2))
if mibBuilder.loadTexts:
dcPwrSysAnalogOpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpTable.setDescription('A table of DC power system controller analog output variables')
dc_pwr_sys_analog_op_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysAnalogOpIndex'))
if mibBuilder.loadTexts:
dcPwrSysAnalogOpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpEntry.setDescription('An entry into the DC power system controller analog output group')
dc_pwr_sys_analog_op_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpIndex.setDescription('The index of the analog variable in the power system controller analog output group')
dc_pwr_sys_analog_op_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpName.setDescription('The description of the analog variable as reported by the DC power system controller analog output group')
dc_pwr_sys_analog_op_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpIntegerValue.setDescription('The integer value of the analog variable as reported by the DC power system controller analog output group')
dc_pwr_sys_analog_op_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpStringValue.setDescription('The string value of the analog variable as reported by the DC power system controller analog output group')
dc_pwr_sys_analog_op_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 4, 2, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAnalogOpSeverity.setDescription('The integer value of analog severity level of the extra variable as reported by the DC power system controller analog output group')
dc_pwr_sys_rect_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmCount.setDescription('Number of rectifier alarm variables in system controller alarm table')
dc_pwr_sys_rect_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2))
if mibBuilder.loadTexts:
dcPwrSysRectAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmTable.setDescription('A table of DC power system controller rectifier alarm variables')
dc_pwr_sys_rect_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysRectAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysRectAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmEntry.setDescription('An entry into the DC power system controller rectifier alarm group')
dc_pwr_sys_rect_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table rectifier alarm group')
dc_pwr_sys_rect_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller rectifier alarm group')
dc_pwr_sys_rect_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller rectifier alarm group')
dc_pwr_sys_rect_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller rectifier alarm group')
dc_pwr_sys_rect_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller rectifier alarm group')
dc_pwr_sys_dig_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmCount.setDescription('Number of digital alarm variables in system controller alarm table')
dc_pwr_sys_dig_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2))
if mibBuilder.loadTexts:
dcPwrSysDigAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmTable.setDescription('A table of DC power system controller digital alarm variables')
dc_pwr_sys_dig_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysDigAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysDigAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmEntry.setDescription('An entry into the DC power system controller digital alarm group')
dc_pwr_sys_dig_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table digital alarm group')
dc_pwr_sys_dig_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller digital alarm group')
dc_pwr_sys_dig_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller digital alarm group')
dc_pwr_sys_dig_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller digital alarm group')
dc_pwr_sys_dig_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 2, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller digital alarm group')
dc_pwr_sys_curr_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmCount.setDescription('Number of current alarm variables in system controller alarm table')
dc_pwr_sys_curr_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2))
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmTable.setDescription('A table of DC power system controller current alarm variables')
dc_pwr_sys_curr_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysCurrAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmEntry.setDescription('An entry into the DC power system controller current alarm group')
dc_pwr_sys_curr_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table current alarm group')
dc_pwr_sys_curr_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller current alarm group')
dc_pwr_sys_curr_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller current alarm group')
dc_pwr_sys_curr_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller current alarm group')
dc_pwr_sys_curr_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 3, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCurrAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller current alarm group')
dc_pwr_sys_volt_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmCount.setDescription('Number of voltage alarm variables in system controller alarm table')
dc_pwr_sys_volt_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2))
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmTable.setDescription('A table of DC power system controller voltage alarm variables')
dc_pwr_sys_volt_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysVoltAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmEntry.setDescription('An entry into the DC power system controller voltage alarm group')
dc_pwr_sys_volt_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table voltage alarm group')
dc_pwr_sys_volt_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller voltage alarm group')
dc_pwr_sys_volt_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller voltage alarm group')
dc_pwr_sys_volt_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller voltage alarm group')
dc_pwr_sys_volt_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 4, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysVoltAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller voltage alarm group')
dc_pwr_sys_batt_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmCount.setDescription('Number of battery alarm variables in system controller alarm table')
dc_pwr_sys_batt_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2))
if mibBuilder.loadTexts:
dcPwrSysBattAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmTable.setDescription('A table of DC power system controller battery alarm variables')
dc_pwr_sys_batt_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysBattAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysBattAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmEntry.setDescription('An entry into the DC power system controller battery alarm group')
dc_pwr_sys_batt_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table battery alarm group')
dc_pwr_sys_batt_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller battery alarm group')
dc_pwr_sys_batt_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller battery alarm group')
dc_pwr_sys_batt_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller battery alarm group')
dc_pwr_sys_batt_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 5, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysBattAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller battery alarm group')
dc_pwr_sys_temp_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmCount.setDescription('Number of temperature alarm variables in system controller alarm table')
dc_pwr_sys_temp_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2))
if mibBuilder.loadTexts:
dcPwrSysTempAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmTable.setDescription('A table of DC power system controller temperature alarm variables')
dc_pwr_sys_temp_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysTempAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysTempAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmEntry.setDescription('An entry into the DC power system controller temperature alarm group')
dc_pwr_sys_temp_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table temperature alarm group')
dc_pwr_sys_temp_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller temperature alarm group')
dc_pwr_sys_temp_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller temperature alarm group')
dc_pwr_sys_temp_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller temperature alarm group')
dc_pwr_sys_temp_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 6, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTempAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller temperature alarm group')
dc_pwr_sys_custom_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmCount.setDescription('Number of custom alarm variables in system controller alarm table')
dc_pwr_sys_custom_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2))
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmTable.setDescription('A table of DC power system controller custom alarm variables')
dc_pwr_sys_custom_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysCustomAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmEntry.setDescription('An entry into the DC power system controller custom alarm group')
dc_pwr_sys_custom_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table custom alarm group')
dc_pwr_sys_custom_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller custom alarm group')
dc_pwr_sys_custom_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller custom alarm group')
dc_pwr_sys_custom_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller custom alarm group')
dc_pwr_sys_custom_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 7, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller custom alarm group')
dc_pwr_sys_misc_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmCount.setDescription('Number of misc alarm variables in system controller alarm table')
dc_pwr_sys_misc_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2))
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmTable.setDescription('A table of DC power system controller misc alarm variables')
dc_pwr_sys_misc_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysMiscAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmEntry.setDescription('An entry into the DC power system controller misc alarm group')
dc_pwr_sys_misc_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table misc alarm group')
dc_pwr_sys_misc_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller misc alarm group')
dc_pwr_sys_misc_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller misc alarm group')
dc_pwr_sys_misc_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller misc alarm group')
dc_pwr_sys_misc_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 8, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMiscAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller misc alarm group')
dc_pwr_sys_ctrl_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmCount.setDescription('Number of control alarm variables in system controller alarm table')
dc_pwr_sys_ctrl_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2))
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmTable.setDescription('A table of DC power system controller control alarm variables')
dc_pwr_sys_ctrl_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysCtrlAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmEntry.setDescription('An entry into the DC power system controller control alarm group')
dc_pwr_sys_ctrl_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table control alarm group')
dc_pwr_sys_ctrl_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller control alarm group')
dc_pwr_sys_ctrl_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller control alarm group')
dc_pwr_sys_ctrl_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller control alarm group')
dc_pwr_sys_ctrl_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 9, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCtrlAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller control alarm group')
dc_pwr_sys_adio_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmCount.setDescription('Number of control alarm variables in Adio alarm table')
dc_pwr_sys_adio_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2))
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmTable.setDescription('A table of DC power system controller Adio alarm variables')
dc_pwr_sys_adio_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysAdioAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmEntry.setDescription('An entry into the DC power system controller Adio alarm group')
dc_pwr_sys_adio_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table Adio alarm group')
dc_pwr_sys_adio_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller Adio alarm group')
dc_pwr_sys_adio_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller Adio alarm group')
dc_pwr_sys_adio_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller Adio alarm group')
dc_pwr_sys_adio_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 10, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAdioAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC Adio system controller control alarm group')
dc_pwr_sys_conv_alrm_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmCount.setDescription('Number of Converter alarm variables in system controller alarm table')
dc_pwr_sys_conv_alrm_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2))
if mibBuilder.loadTexts:
dcPwrSysConvAlrmTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmTable.setDescription('A table of DC power system controller Converter alarm variables')
dc_pwr_sys_conv_alrm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysConvAlrmIndex'))
if mibBuilder.loadTexts:
dcPwrSysConvAlrmEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmEntry.setDescription('An entry into the DC power system controller Converter alarm group')
dc_pwr_sys_conv_alrm_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmIndex.setDescription('The index of the alarm variable in the DC power system controller table Converter alarm group')
dc_pwr_sys_conv_alrm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmName.setDescription('The description of the alarm variable as reported by the DC power system controller Converter alarm group')
dc_pwr_sys_conv_alrm_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmIntegerValue.setDescription('The integer value of the alarm variable as reported by the DC power system controller Converter alarm group')
dc_pwr_sys_conv_alrm_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmStringValue.setDescription('The string value of the alarm variable as reported by the DC power system controller Converter alarm group')
dc_pwr_sys_conv_alrm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 5, 11, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmSeverity.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvAlrmSeverity.setDescription('The integer value of alarm severity level of the extra variable as reported by the DC power system controller Converter alarm group')
dc_pwr_sys_dig_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpCount.setDescription('Number of digital input variables in system controller digital input table')
dc_pwr_sys_dig_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2))
if mibBuilder.loadTexts:
dcPwrSysDigIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpTable.setDescription('A table of DC power system controller digital input variables')
dc_pwr_sys_dig_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysDigIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysDigIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpEntry.setDescription('An entry into the DC power system controller digital input group')
dc_pwr_sys_dig_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpIndex.setDescription('The index of the digital input variable in the DC power system controller table digital input group')
dc_pwr_sys_dig_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpName.setDescription('The description of the digital input variable as reported by the DC power system controller digital input group')
dc_pwr_sys_dig_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpIntegerValue.setDescription('The integer value of the digital input variable as reported by the DC power system controller digital input group')
dc_pwr_sys_dig_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 1, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysDigIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysDigIpStringValue.setDescription('The string value of the digital input variable as reported by the DC power system controller digital input group')
dc_pwr_sys_cntrlr_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpCount.setDescription('Number of controller input variables in system controller controller input table')
dc_pwr_sys_cntrlr_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2))
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpTable.setDescription('A table of DC power system controller controller input variables')
dc_pwr_sys_cntrlr_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysCntrlrIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpEntry.setDescription('An entry into the DC power system controller controller input group')
dc_pwr_sys_cntrlr_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpIndex.setDescription('The index of the controller input variable in the DC power system controller table controller input group')
dc_pwr_sys_cntrlr_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpName.setDescription('The description of the controller input variable as reported by the DC power system controller controller input group')
dc_pwr_sys_cntrlr_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpIntegerValue.setDescription('The integer value of the controller input variable as reported by the DC power system controller controller input group')
dc_pwr_sys_cntrlr_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 2, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCntrlrIpStringValue.setDescription('The string value of the controller input variable as reported by the DC power system controller controller input group')
dc_pwr_sys_rect_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpCount.setDescription('Number of rectifier input variables in system controller rectifier input table')
dc_pwr_sys_rect_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2))
if mibBuilder.loadTexts:
dcPwrSysRectIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpTable.setDescription('A table of DC power system controller rectifier input variables')
dc_pwr_sys_rect_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysRectIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysRectIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpEntry.setDescription('An entry into the DC power system controller rectifier input group')
dc_pwr_sys_rect_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpIndex.setDescription('The index of the rectifier input variable in the DC power system controller table rectifier input group')
dc_pwr_sys_rect_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpName.setDescription('The description of the rectifier input variable as reported by the DC power system controller rectifier input group')
dc_pwr_sys_rect_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpIntegerValue.setDescription('The integer value of the rectifier input variable as reported by the DC power system controller rectifier input group')
dc_pwr_sys_rect_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 3, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysRectIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRectIpStringValue.setDescription('The string value of the rectifier input variable as reported by the DC power system controller rectifier input group')
dc_pwr_sys_custom_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomIpCount.setDescription('Number of custom input variables in system controller custom input table')
dc_pwr_sys_custom_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2))
if mibBuilder.loadTexts:
dcPwrSysCustomIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomIpTable.setDescription('A table of DC power system controller digital custom variables')
dc_pwr_sys_custom_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysCustomIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysCustomIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomIpEntry.setDescription('An entry into the DC power system controller custom input group')
dc_pwr_sys_custom_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomIpIndex.setDescription('The index of the custom input variable in the DC power system controller table custom input group')
dc_pwr_sys_custom_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomIpName.setDescription('The description of the custom input variable as reported by the DC power system controller custom input group')
dc_pwr_sysg_custom_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysgCustomIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysgCustomIpIntegerValue.setDescription('The integer value of the custom input variable as reported by the DC power system controller custom input group')
dc_pwr_sys_custom_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 4, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCustomIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCustomIpStringValue.setDescription('The string value of the custom input variable as reported by the DC power system controller custom input group')
dc_pwr_sys_conv_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpCount.setDescription('Number of Converter input variables in system controller Converter input table')
dc_pwr_sys_conv_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2))
if mibBuilder.loadTexts:
dcPwrSysConvIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpTable.setDescription('A table of DC power system controller Converter input variables')
dc_pwr_sys_conv_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysConvIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysConvIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpEntry.setDescription('An entry into the DC power system controller Converter input group')
dc_pwr_sys_conv_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpIndex.setDescription('The index of the Converter input variable in the DC power system controller table Converter input group')
dc_pwr_sys_conv_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpName.setDescription('The description of the Converter input variable as reported by the DC power system controller Converter input group')
dc_pwr_sys_conv_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpIntegerValue.setDescription('The integer value of the Converter input variable as reported by the DC power system controller Converter input group')
dc_pwr_sys_conv_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 5, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysConvIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysConvIpStringValue.setDescription('The string value of the Converter input variable as reported by the DC power system controller Converter input group')
dc_pwr_sys_timer_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTimerIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpCount.setDescription('Number of Timererter input variables in system controller Timererter input table')
dc_pwr_sys_timer_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2))
if mibBuilder.loadTexts:
dcPwrSysTimerIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpTable.setDescription('A table of DC power system controller Timererter input variables')
dc_pwr_sys_timer_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysTimerIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysTimerIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpEntry.setDescription('An entry into the DC power system controller Timererter input group')
dc_pwr_sys_timer_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTimerIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpIndex.setDescription('The index of the Timererter input variable in the DC power system controller table Timererter input group')
dc_pwr_sys_timer_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTimerIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpName.setDescription('The description of the Timererter input variable as reported by the DC power system controller Timererter input group')
dc_pwr_sys_timer_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTimerIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpIntegerValue.setDescription('The integer value of the Timererter input variable as reported by the DC power system controller Timererter input group')
dc_pwr_sys_timer_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 6, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTimerIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimerIpStringValue.setDescription('The string value of the Timererter input variable as reported by the DC power system controller Timererter input group')
dc_pwr_sys_counter_ip_count = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCounterIpCount.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpCount.setDescription('Number of Countererter input variables in system controller Countererter input table')
dc_pwr_sys_counter_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2))
if mibBuilder.loadTexts:
dcPwrSysCounterIpTable.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpTable.setDescription('A table of DC power system controller Countererter input variables')
dc_pwr_sys_counter_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1)).setIndexNames((0, 'Argus-MIB', 'dcPwrSysCounterIpIndex'))
if mibBuilder.loadTexts:
dcPwrSysCounterIpEntry.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpEntry.setDescription('An entry into the DC power system controller Countererter input group')
dc_pwr_sys_counter_ip_index = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCounterIpIndex.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpIndex.setDescription('The index of the Countererter input variable in the DC power system controller table Countererter input group')
dc_pwr_sys_counter_ip_name = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCounterIpName.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpName.setDescription('The description of the Countererter input variable as reported by the DC power system controller Countererter input group')
dc_pwr_sys_counter_ip_integer_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1000000000, 1000000000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCounterIpIntegerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpIntegerValue.setDescription('The integer value of the Countererter input variable as reported by the DC power system controller Countererter input group')
dc_pwr_sys_counter_ip_string_value = mib_table_column((1, 3, 6, 1, 4, 1, 7309, 4, 1, 6, 7, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysCounterIpStringValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysCounterIpStringValue.setDescription('The string value of the Countererter input variable as reported by the DC power system controller Countererter input group')
dc_pwr_sys_trap = mib_identifier((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0))
dc_pwr_sys_alarm_active_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 1)).setObjects(('Argus-MIB', 'dcPwrSysRectAlrmStringValue'), ('Argus-MIB', 'dcPwrSysRectAlrmIndex'), ('Argus-MIB', 'dcPwrSysRectAlrmSeverity'), ('Argus-MIB', 'dcPwrSysSiteName'), ('Argus-MIB', 'dcPwrSysAlarmTriggerValue'))
if mibBuilder.loadTexts:
dcPwrSysAlarmActiveTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAlarmActiveTrap.setDescription('A trap issued when one of the alarms on the DC power system controller became active')
dc_pwr_sys_alarm_cleared_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 2)).setObjects(('Argus-MIB', 'dcPwrSysRectAlrmStringValue'), ('Argus-MIB', 'dcPwrSysRectAlrmIndex'), ('Argus-MIB', 'dcPwrSysRectAlrmSeverity'), ('Argus-MIB', 'dcPwrSysSiteName'), ('Argus-MIB', 'dcPwrSysAlarmTriggerValue'))
if mibBuilder.loadTexts:
dcPwrSysAlarmClearedTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAlarmClearedTrap.setDescription('A trap issued when one of the active alarms on the DC power system controller is cleared')
dc_pwr_sys_relay_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 3)).setObjects(('Argus-MIB', 'dcPwrSysRelayIntegerValue'), ('Argus-MIB', 'dcPwrSysRelayStringValue'), ('Argus-MIB', 'dcPwrSysRelayIndex'), ('Argus-MIB', 'dcPwrSysRelaySeverity'), ('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysRelayTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysRelayTrap.setDescription('A trap issued from a change in state in one of the relays on the DC power system controller')
dc_pwr_sys_com_ok_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 4)).setObjects(('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysComOKTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysComOKTrap.setDescription('A trap to indicate that communications with a DC power system controller has been established.')
dc_pwr_sys_com_err_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 5)).setObjects(('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysComErrTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysComErrTrap.setDescription('A trap to indicate that communications with a DC power system controller has been lost.')
dc_pwr_sys_agent_startup_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 6)).setObjects(('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysAgentStartupTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAgentStartupTrap.setDescription('A trap to indicate that the agent software has started up.')
dc_pwr_sys_agent_shutdown_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 7)).setObjects(('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysAgentShutdownTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAgentShutdownTrap.setDescription('A trap to indicate that the agent software has shutdown.')
dc_pwr_sys_major_alarm_active_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 8)).setObjects(('Argus-MIB', 'dcPwrSysRectAlrmStringValue'), ('Argus-MIB', 'dcPwrSysRectAlrmIndex'), ('Argus-MIB', 'dcPwrSysRectAlrmSeverity'), ('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysMajorAlarmActiveTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMajorAlarmActiveTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system goes into in Major Alarm')
dc_pwr_sys_major_alarm_cleared_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 9)).setObjects(('Argus-MIB', 'dcPwrSysRectAlrmStringValue'), ('Argus-MIB', 'dcPwrSysRectAlrmIndex'), ('Argus-MIB', 'dcPwrSysRectAlrmSeverity'), ('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysMajorAlarmClearedTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMajorAlarmClearedTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system comes out of Major Alarm')
dc_pwr_sys_minor_alarm_active_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 10)).setObjects(('Argus-MIB', 'dcPwrSysRectAlrmStringValue'), ('Argus-MIB', 'dcPwrSysRectAlrmIndex'), ('Argus-MIB', 'dcPwrSysRectAlrmSeverity'), ('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysMinorAlarmActiveTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMinorAlarmActiveTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system goes into in Minor Alarm')
dc_pwr_sys_minor_alarm_cleared_trap = notification_type((1, 3, 6, 1, 4, 1, 7309, 4, 1, 3, 0, 11)).setObjects(('Argus-MIB', 'dcPwrSysRectAlrmStringValue'), ('Argus-MIB', 'dcPwrSysRectAlrmIndex'), ('Argus-MIB', 'dcPwrSysRectAlrmSeverity'), ('Argus-MIB', 'dcPwrSysSiteName'))
if mibBuilder.loadTexts:
dcPwrSysMinorAlarmClearedTrap.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysMinorAlarmClearedTrap.setDescription('A trap issued as a summary of DC power system status. It is sent when the system comes out of Minor Alarm')
dc_pwr_sys_resync_alarms = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 8, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dcPwrSysResyncAlarms.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysResyncAlarms.setDescription('Send/Resend all active alarms that were previously sent through SNMP notification.')
dc_pwr_sys_alarm_trigger_value = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 9, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysAlarmTriggerValue.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysAlarmTriggerValue.setDescription('')
dc_pwr_sys_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 7309, 4, 1, 9, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dcPwrSysTimeStamp.setStatus('current')
if mibBuilder.loadTexts:
dcPwrSysTimeStamp.setDescription('')
mibBuilder.exportSymbols('Argus-MIB', dcPwrVarbindNameReference=dcPwrVarbindNameReference, dcPwrSysSoftwareVersion=dcPwrSysSoftwareVersion, dcPwrSysDigAlrmTbl=dcPwrSysDigAlrmTbl, dcPwrSysConvAlrmName=dcPwrSysConvAlrmName, dcPwrSysTimerIpName=dcPwrSysTimerIpName, dcPwrSysAlarmActiveTrap=dcPwrSysAlarmActiveTrap, dcPwrSysMinorAlarmClearedTrap=dcPwrSysMinorAlarmClearedTrap, dcPwrSysConvAlrmTable=dcPwrSysConvAlrmTable, dcPwrSysCtrlAlrmStringValue=dcPwrSysCtrlAlrmStringValue, dcPwrSysCustomAlrmStringValue=dcPwrSysCustomAlrmStringValue, dcPwrSysCurrAlrmIntegerValue=dcPwrSysCurrAlrmIntegerValue, dcPwrSysConvAlrmTbl=dcPwrSysConvAlrmTbl, dcPwrSysConvIpEntry=dcPwrSysConvIpEntry, dcPwrSysBattAlrmCount=dcPwrSysBattAlrmCount, dcPwrSysAdioAlrmName=dcPwrSysAdioAlrmName, dcPwrSysConvAlrmEntry=dcPwrSysConvAlrmEntry, dcPwrSysTempAlrmTbl=dcPwrSysTempAlrmTbl, dcPwrSysRelayCount=dcPwrSysRelayCount, dcPwrSysAdioAlrmTable=dcPwrSysAdioAlrmTable, dcPwrSysAlarmTriggerValue=dcPwrSysAlarmTriggerValue, dcPwrSysMiscAlrmTable=dcPwrSysMiscAlrmTable, dcPwrSysBattAlrmEntry=dcPwrSysBattAlrmEntry, dcPwrSysSiteNumber=dcPwrSysSiteNumber, dcPwrSysAnalogOpTbl=dcPwrSysAnalogOpTbl, dcPwrSysRectIpEntry=dcPwrSysRectIpEntry, dcPwrSysMiscAlrmIndex=dcPwrSysMiscAlrmIndex, dcPwrSysTempAlrmName=dcPwrSysTempAlrmName, dcPwrSysBattAlrmTbl=dcPwrSysBattAlrmTbl, dcPwrSysDigAlrmName=dcPwrSysDigAlrmName, dcPwrSysComErrTrap=dcPwrSysComErrTrap, dcPwrSysCustomAlrmEntry=dcPwrSysCustomAlrmEntry, dcPwrSysConvIpStringValue=dcPwrSysConvIpStringValue, dcPwrSysDigAlrmCount=dcPwrSysDigAlrmCount, dcPwrSysCntrlrIpCount=dcPwrSysCntrlrIpCount, dcPwrSysRelayStringValue=dcPwrSysRelayStringValue, dcPwrSysAnalogOpSeverity=dcPwrSysAnalogOpSeverity, dcPwrSysRectAlrmEntry=dcPwrSysRectAlrmEntry, dcPwrSysCtrlAlrmTbl=dcPwrSysCtrlAlrmTbl, dcPwrSysAnalogOpStringValue=dcPwrSysAnalogOpStringValue, dcPwrSysRectAlrmIndex=dcPwrSysRectAlrmIndex, dcPwrSysSiteCountry=dcPwrSysSiteCountry, dcPwrSysBattAlrmStringValue=dcPwrSysBattAlrmStringValue, dcPwrSysDigAlrmTable=dcPwrSysDigAlrmTable, dcPwrSysPhoneNumber=dcPwrSysPhoneNumber, dcPwrSysCustomAlrmIndex=dcPwrSysCustomAlrmIndex, dcPwrSysContactName=dcPwrSysContactName, dcPwrSysCustomIpEntry=dcPwrSysCustomIpEntry, dcPwrSysCounterIpEntry=dcPwrSysCounterIpEntry, dcPwrSysMajorAlarmActiveTrap=dcPwrSysMajorAlarmActiveTrap, dcPwrSysRectIpStringValue=dcPwrSysRectIpStringValue, dcPwrSysTraps=dcPwrSysTraps, PYSNMP_MODULE_ID=argus, dcPwrSysMiscAlrmSeverity=dcPwrSysMiscAlrmSeverity, dcPwrSysVoltAlrmSeverity=dcPwrSysVoltAlrmSeverity, dcPwrSysVoltAlrmCount=dcPwrSysVoltAlrmCount, dcPwrSysCtrlAlrmIntegerValue=dcPwrSysCtrlAlrmIntegerValue, dcPwrSysResyncAlarms=dcPwrSysResyncAlarms, dcPwrSysRelayName=dcPwrSysRelayName, dcPwrSysAdioAlrmTbl=dcPwrSysAdioAlrmTbl, dcPwrSysDigIpTable=dcPwrSysDigIpTable, dcPwrSysRelayTable=dcPwrSysRelayTable, dcPwrSysDischargeAmps=dcPwrSysDischargeAmps, dcPwrSysDigIpIndex=dcPwrSysDigIpIndex, dcPwrSysConvIpIntegerValue=dcPwrSysConvIpIntegerValue, dcPwrSysMinorAlarm=dcPwrSysMinorAlarm, dcPwrSysRelaySeverity=dcPwrSysRelaySeverity, dcPwrSysCurrAlrmName=dcPwrSysCurrAlrmName, dcPwrSysTimerIpCount=dcPwrSysTimerIpCount, dcPwrSysCntrlrIpTable=dcPwrSysCntrlrIpTable, dcPwrSysVoltAlrmIntegerValue=dcPwrSysVoltAlrmIntegerValue, dcPwrSysInputsTbl=dcPwrSysInputsTbl, dcPwrExternalControls=dcPwrExternalControls, dcPwrSysConvIpIndex=dcPwrSysConvIpIndex, dcPwrSysMajorAlarmClearedTrap=dcPwrSysMajorAlarmClearedTrap, dcPwrSysDevice=dcPwrSysDevice, dcPwrSysCustomAlrmTbl=dcPwrSysCustomAlrmTbl, dcPwrSysMajorAlarm=dcPwrSysMajorAlarm, dcPwrSysTempAlrmEntry=dcPwrSysTempAlrmEntry, dcPwrSysTempAlrmSeverity=dcPwrSysTempAlrmSeverity, dcPwrSysCntrlrIpName=dcPwrSysCntrlrIpName, dcPwrSysOutputsTbl=dcPwrSysOutputsTbl, dcPwrSysSystemNumber=dcPwrSysSystemNumber, dcPwrSysTempAlrmStringValue=dcPwrSysTempAlrmStringValue, dcPwrSysCtrlAlrmIndex=dcPwrSysCtrlAlrmIndex, dcPwrSysTimeStamp=dcPwrSysTimeStamp, dcPwrSysConvIpTable=dcPwrSysConvIpTable, dcPwrSysDigIpName=dcPwrSysDigIpName, dcPwrSysCurrAlrmStringValue=dcPwrSysCurrAlrmStringValue, dcPwrSysAgentShutdownTrap=dcPwrSysAgentShutdownTrap, dcPwrSysRectIpName=dcPwrSysRectIpName, dcPwrSysMiscAlrmEntry=dcPwrSysMiscAlrmEntry, dcPwrSysTrap=dcPwrSysTrap, dcPwrSysRectAlrmName=dcPwrSysRectAlrmName, dcPwrSysVoltAlrmTable=dcPwrSysVoltAlrmTable, dcPwrSysTempAlrmCount=dcPwrSysTempAlrmCount, dcPwrSysChargeAmps=dcPwrSysChargeAmps, dcPwrSysTempAlrmTable=dcPwrSysTempAlrmTable, dcPwrSysMiscAlrmTbl=dcPwrSysMiscAlrmTbl, dcPwrSysAnalogOpIndex=dcPwrSysAnalogOpIndex, dcPwrSysCntrlrIpEntry=dcPwrSysCntrlrIpEntry, dcPwrSysSiteRegion=dcPwrSysSiteRegion, dcPwrSysString=dcPwrSysString, dcPwrSysBattAlrmName=dcPwrSysBattAlrmName, dcPwrSysSystemType=dcPwrSysSystemType, dcPwrSysConvAlrmSeverity=dcPwrSysConvAlrmSeverity, dcPwrSysRectIpCount=dcPwrSysRectIpCount, dcPwrSysTimerIpIntegerValue=dcPwrSysTimerIpIntegerValue, dcPwrSysCtrlAlrmEntry=dcPwrSysCtrlAlrmEntry, argus=argus, dcPwrSysRectAlrmTbl=dcPwrSysRectAlrmTbl, dcPwrSysRectAlrmIntegerValue=dcPwrSysRectAlrmIntegerValue, dcPwrSysTempAlrmIndex=dcPwrSysTempAlrmIndex, dcPwrSysDigAlrmEntry=dcPwrSysDigAlrmEntry, dcPwrSysAnalogOpCount=dcPwrSysAnalogOpCount, dcPwrSysComOKTrap=dcPwrSysComOKTrap, dcPwrSysCurrAlrmSeverity=dcPwrSysCurrAlrmSeverity, dcPwrSysVoltAlrmIndex=dcPwrSysVoltAlrmIndex, dcPwrSysConvIpName=dcPwrSysConvIpName, dcPwrSysCounterIpStringValue=dcPwrSysCounterIpStringValue, dcpower=dcpower, dcPwrSysCustomIpCount=dcPwrSysCustomIpCount, dcPwrSysVariable=dcPwrSysVariable, dcPwrSysAgentStartupTrap=dcPwrSysAgentStartupTrap, dcPwrSysAdioAlrmCount=dcPwrSysAdioAlrmCount, dcPwrSysRectAlrmSeverity=dcPwrSysRectAlrmSeverity, dcPwrSysCntrlrIpIntegerValue=dcPwrSysCntrlrIpIntegerValue, dcPwrSysAnalogOpIntegerValue=dcPwrSysAnalogOpIntegerValue, dcPwrSysRelayTbl=dcPwrSysRelayTbl, dcPwrSysCustomIpTbl=dcPwrSysCustomIpTbl, dcPwrSysCntrlrIpIndex=dcPwrSysCntrlrIpIndex, dcPwrSysCurrAlrmIndex=dcPwrSysCurrAlrmIndex, dcPwrSysCounterIpIntegerValue=dcPwrSysCounterIpIntegerValue, dcPwrSysDigIpStringValue=dcPwrSysDigIpStringValue, dcPwrSysAdioAlrmEntry=dcPwrSysAdioAlrmEntry, dcPwrSysDigAlrmIndex=dcPwrSysDigAlrmIndex, dcPwrSysRectIpTbl=dcPwrSysRectIpTbl, dcPwrSysRelayIntegerValue=dcPwrSysRelayIntegerValue, dcPwrSysDigIpCount=dcPwrSysDigIpCount, dcPwrSysMiscAlrmCount=dcPwrSysMiscAlrmCount, dcPwrSysDigIpEntry=dcPwrSysDigIpEntry, dcPwrSysMiscAlrmName=dcPwrSysMiscAlrmName, dcPwrSysRelayEntry=dcPwrSysRelayEntry, dcPwrSysMinorAlarmActiveTrap=dcPwrSysMinorAlarmActiveTrap, dcPwrSysBattAlrmIntegerValue=dcPwrSysBattAlrmIntegerValue, dcPwrSysTimerIpTbl=dcPwrSysTimerIpTbl, dcPwrSysConvIpTbl=dcPwrSysConvIpTbl, dcPwrSysRectIpIntegerValue=dcPwrSysRectIpIntegerValue, dcPwrSysBattAlrmIndex=dcPwrSysBattAlrmIndex, dcPwrSysRectAlrmTable=dcPwrSysRectAlrmTable, dcPwrSysDischargeVolts=dcPwrSysDischargeVolts, dcPwrSysgCustomIpIntegerValue=dcPwrSysgCustomIpIntegerValue, dcPwrSysDigAlrmStringValue=dcPwrSysDigAlrmStringValue, dcPwrSysVoltAlrmStringValue=dcPwrSysVoltAlrmStringValue, dcPwrSysAnalogOpName=dcPwrSysAnalogOpName, dcPwrSysRelayIndex=dcPwrSysRelayIndex, dcPwrSysSiteName=dcPwrSysSiteName, dcPwrSysConvAlrmStringValue=dcPwrSysConvAlrmStringValue, dcPwrSysVoltAlrmTbl=dcPwrSysVoltAlrmTbl, dcPwrSysConvAlrmIndex=dcPwrSysConvAlrmIndex, dcPwrSysCntrlrIpTbl=dcPwrSysCntrlrIpTbl, dcPwrSysRectIpIndex=dcPwrSysRectIpIndex, dcPwrSysMiscAlrmIntegerValue=dcPwrSysMiscAlrmIntegerValue, dcPwrSysAlrmsTbl=dcPwrSysAlrmsTbl, dcPwrSysRectAlrmCount=dcPwrSysRectAlrmCount, dcPwrSysRelayTrap=dcPwrSysRelayTrap, dcPwrSysBattAlrmSeverity=dcPwrSysBattAlrmSeverity, dcPwrSysCtrlAlrmCount=dcPwrSysCtrlAlrmCount, dcPwrSysCustomAlrmIntegerValue=dcPwrSysCustomAlrmIntegerValue, dcPwrSysTimerIpIndex=dcPwrSysTimerIpIndex, dcPwrSysVoltAlrmEntry=dcPwrSysVoltAlrmEntry, dcPwrSysAdioAlrmStringValue=dcPwrSysAdioAlrmStringValue, dcPwrSysDigIpTbl=dcPwrSysDigIpTbl, dcPwrSysCounterIpTbl=dcPwrSysCounterIpTbl, dcPwrSysCustomAlrmCount=dcPwrSysCustomAlrmCount, dcPwrSysCtrlAlrmName=dcPwrSysCtrlAlrmName, dcPwrSysConvAlrmCount=dcPwrSysConvAlrmCount, dcPwrSysCustomIpStringValue=dcPwrSysCustomIpStringValue, dcPwrSysDigAlrmSeverity=dcPwrSysDigAlrmSeverity, dcPwrSysConvAlrmIntegerValue=dcPwrSysConvAlrmIntegerValue, dcPwrSysChargeVolts=dcPwrSysChargeVolts, dcPwrSysBattAlrmTable=dcPwrSysBattAlrmTable, dcPwrSysCounterIpCount=dcPwrSysCounterIpCount, dcPwrSysDigAlrmIntegerValue=dcPwrSysDigAlrmIntegerValue, dcPwrSysCustomAlrmTable=dcPwrSysCustomAlrmTable, dcPwrSysCustomIpIndex=dcPwrSysCustomIpIndex, dcPwrSysCurrAlrmEntry=dcPwrSysCurrAlrmEntry, dcPwrSysDigIpIntegerValue=dcPwrSysDigIpIntegerValue, dcPwrSysVoltAlrmName=dcPwrSysVoltAlrmName, dcPwrSysMiscAlrmStringValue=dcPwrSysMiscAlrmStringValue, dcPwrSysCurrAlrmTbl=dcPwrSysCurrAlrmTbl, dcPwrSysTimerIpStringValue=dcPwrSysTimerIpStringValue, dcPwrSysCounterIpName=dcPwrSysCounterIpName, dcPwrSysCtrlAlrmSeverity=dcPwrSysCtrlAlrmSeverity, dcPwrSysRectAlrmStringValue=dcPwrSysRectAlrmStringValue, dcPwrSysCurrAlrmTable=dcPwrSysCurrAlrmTable, dcPwrSysCustomAlrmName=dcPwrSysCustomAlrmName, dcPwrSysCntrlrIpStringValue=dcPwrSysCntrlrIpStringValue, dcPwrSysConvIpCount=dcPwrSysConvIpCount, dcPwrSysAnalogOpTable=dcPwrSysAnalogOpTable, dcPwrSysCtrlAlrmTable=dcPwrSysCtrlAlrmTable, dcPwrSysSystemSerial=dcPwrSysSystemSerial, dcPwrSysAdioAlrmIndex=dcPwrSysAdioAlrmIndex, dcPwrSysCounterIpIndex=dcPwrSysCounterIpIndex, dcPwrSysAdioAlrmSeverity=dcPwrSysAdioAlrmSeverity, dcPwrSysCustomAlrmSeverity=dcPwrSysCustomAlrmSeverity, dcPwrSysTimerIpTable=dcPwrSysTimerIpTable, dcPwrSysAnalogOpEntry=dcPwrSysAnalogOpEntry, dcPwrSysSoftwareTimestamp=dcPwrSysSoftwareTimestamp, dcPwrSysAlarmClearedTrap=dcPwrSysAlarmClearedTrap, dcPwrSysSiteCity=dcPwrSysSiteCity, dcPwrSysCounterIpTable=dcPwrSysCounterIpTable, dcPwrSysCurrAlrmCount=dcPwrSysCurrAlrmCount, dcPwrSysAdioAlrmIntegerValue=dcPwrSysAdioAlrmIntegerValue, dcPwrSysRectIpTable=dcPwrSysRectIpTable, dcPwrSysCustomIpTable=dcPwrSysCustomIpTable, dcPwrSysCustomIpName=dcPwrSysCustomIpName, dcPwrSysTempAlrmIntegerValue=dcPwrSysTempAlrmIntegerValue, dcPwrSysTimerIpEntry=dcPwrSysTimerIpEntry) |
parrot = "Norwegian Blue"
print(parrot)
print(parrot[3])
print(parrot[4])
print(parrot[9])
print(parrot[3])
print(parrot[6])
print(parrot[8])
| parrot = 'Norwegian Blue'
print(parrot)
print(parrot[3])
print(parrot[4])
print(parrot[9])
print(parrot[3])
print(parrot[6])
print(parrot[8]) |
def bool_prompt(msg: str) -> bool:
while True:
response = input(f"{msg} [y/n]: ").lower()
if response == "y":
return True
elif response == "n":
return False
else:
print(f"'{response}' is an invalid option.")
| def bool_prompt(msg: str) -> bool:
while True:
response = input(f'{msg} [y/n]: ').lower()
if response == 'y':
return True
elif response == 'n':
return False
else:
print(f"'{response}' is an invalid option.") |
class node_values:
def __init__(self, iden, value):
self.iden = iden
self.value = value
def get_iden(self):
return self.iden
def set_iden(self, iden):
self.iden = iden
def get_value(self):
return self.value
def set_value(self, value):
self.value = value
def __str__(self):
iden = str(self.iden)
value = str(self.value)
return iden + ':' + value
| class Node_Values:
def __init__(self, iden, value):
self.iden = iden
self.value = value
def get_iden(self):
return self.iden
def set_iden(self, iden):
self.iden = iden
def get_value(self):
return self.value
def set_value(self, value):
self.value = value
def __str__(self):
iden = str(self.iden)
value = str(self.value)
return iden + ':' + value |
class Person:
def __init__(self, first_name, last_name):
self.first = first_name
self.last = last_name
def speak(self):
print("My name is "+ self.first+" "+self.last)
me = Person("Brandon", "Walsh")
you = Person("Ethan", "Reed")
me.speak()
you.speak() | class Person:
def __init__(self, first_name, last_name):
self.first = first_name
self.last = last_name
def speak(self):
print('My name is ' + self.first + ' ' + self.last)
me = person('Brandon', 'Walsh')
you = person('Ethan', 'Reed')
me.speak()
you.speak() |
def minRemove(arr, n):
LIS = [0 for i in range(n)]
len = 0
for i in range(n):
LIS[i] = 1
for i in range(1, n):
for j in range(i):
if (arr[i] > arr[j] and (i - j) <= (arr[i] - arr[j])):
LIS[i] = max(LIS[i], LIS[j] + 1)
len = max(len, LIS[i])
return (n - len)
arr = [1, 2, 6, 5, 4]
n = len(arr)
print(minRemove(arr, n))
| def min_remove(arr, n):
lis = [0 for i in range(n)]
len = 0
for i in range(n):
LIS[i] = 1
for i in range(1, n):
for j in range(i):
if arr[i] > arr[j] and i - j <= arr[i] - arr[j]:
LIS[i] = max(LIS[i], LIS[j] + 1)
len = max(len, LIS[i])
return n - len
arr = [1, 2, 6, 5, 4]
n = len(arr)
print(min_remove(arr, n)) |
# -*- coding:utf-8 -*-
'''
For example, the number 7 is a "happy" number:
72 = 49 --> 42 + 92 = 97 --> 92 + 72 = 130 --> 12 + 32 + 02 = 10 --> 12 + 02 = 1
Once the sequence reaches the number 1, it will stay there forever since 12 = 1
On the other hand, the number 6 is not a happy number as the sequence that is generated is the following:
6, 36, 45, 41, 17, 50, 25, 29, 85, 89, 145, 42, 20, 4, 16, 37, 52, 29
'''
def is_happy(n):
# Good Luck!
values =[]
#value = reduce(lambda x,y: x+y,map(lambda i : int(i)*int(i), str(n)))
f_value = lambda n : sum(map(lambda i : int(i)*int(i), str(n)))
while(True):
n = f_value(n)
if(n == 1): return True;
if(values.__contains__(n)):return False;
values.append(n);
print(is_happy(7))
## other method
def is_happy1(n):
while n > 4:
n = sum(int(d)**2 for d in str(n))
return n == 1
def is_happy2(n):
seen = set()
while n not in seen:
seen.add(n)
n = sum(int(d) ** 2 for d in str(n))
return n == 1
def is_happy3(n):
while n > 100:
n = sum(int(d) ** 2 for d in str(n))
return True if n in [1, 7, 10, 13, 19, 23, 28, 31, 32, 44, 49, 68, 70, 79, 82, 86, 91, 94, 97, 100, 103, 109, 129,
130, 133, 139, 167, 176, 188, 190, 192, 193, 203, 208, 219, 226, 230, 236, 239, 262, 263, 280,
291, 293, 301, 302, 310, 313, 319, 320, 326, 329, 331, 338, 356, 362, 365, 367, 368, 376, 379,
383, 386, 391, 392, 397, 404, 409, 440, 446, 464, 469, 478, 487, 490, 496] else False
| """
For example, the number 7 is a "happy" number:
72 = 49 --> 42 + 92 = 97 --> 92 + 72 = 130 --> 12 + 32 + 02 = 10 --> 12 + 02 = 1
Once the sequence reaches the number 1, it will stay there forever since 12 = 1
On the other hand, the number 6 is not a happy number as the sequence that is generated is the following:
6, 36, 45, 41, 17, 50, 25, 29, 85, 89, 145, 42, 20, 4, 16, 37, 52, 29
"""
def is_happy(n):
values = []
f_value = lambda n: sum(map(lambda i: int(i) * int(i), str(n)))
while True:
n = f_value(n)
if n == 1:
return True
if values.__contains__(n):
return False
values.append(n)
print(is_happy(7))
def is_happy1(n):
while n > 4:
n = sum((int(d) ** 2 for d in str(n)))
return n == 1
def is_happy2(n):
seen = set()
while n not in seen:
seen.add(n)
n = sum((int(d) ** 2 for d in str(n)))
return n == 1
def is_happy3(n):
while n > 100:
n = sum((int(d) ** 2 for d in str(n)))
return True if n in [1, 7, 10, 13, 19, 23, 28, 31, 32, 44, 49, 68, 70, 79, 82, 86, 91, 94, 97, 100, 103, 109, 129, 130, 133, 139, 167, 176, 188, 190, 192, 193, 203, 208, 219, 226, 230, 236, 239, 262, 263, 280, 291, 293, 301, 302, 310, 313, 319, 320, 326, 329, 331, 338, 356, 362, 365, 367, 368, 376, 379, 383, 386, 391, 392, 397, 404, 409, 440, 446, 464, 469, 478, 487, 490, 496] else False |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Carson Anderson <rcanderson23@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# this is a windows documentation stub. actual code lives in the .ps1
# file of the same name
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
DOCUMENTATION = r'''
---
module: win_optional_feature
version_added: "2.8"
short_description: Manage optional Windows features
description:
- Install or uninstall optional Windows features on non-Server Windows.
- This module uses the C(Enable-WindowsOptionalFeature) and C(Disable-WindowsOptionalFeature) cmdlets.
options:
name:
description:
- The name(s) of the feature to install.
- This relates to C(FeatureName) in the Powershell cmdlet.
- To list all available features use the PowerShell command C(Get-WindowsOptionalFeature).
type: list
required: yes
state:
description:
- Whether to ensure the feature is absent or present on the system.
type: str
choices: [ absent, present ]
default: present
include_parent:
description:
- Whether to enable the parent feature and the parent's dependencies.
type: bool
default: no
source:
description:
- Specify a source to install the feature from.
- Can either be C({driveletter}:\sources\sxs) or C(\\{IP}\share\sources\sxs).
type: str
seealso:
- module: win_chocolatey
- module: win_feature
- module: win_package
author:
- Carson Anderson (@rcanderson23)
'''
EXAMPLES = r'''
- name: Install .Net 3.5
win_optional_feature:
name: NetFx3
state: present
- name: Install .Net 3.5 from source
win_optional_feature:
name: NetFx3
source: \\share01\win10\sources\sxs
state: present
- name: Install Microsoft Subsystem for Linux
win_optional_feature:
name: Microsoft-Windows-Subsystem-Linux
state: present
register: wsl_status
- name: Reboot if installing Linux Subsytem as feature requires it
win_reboot:
when: wsl_status.reboot_required
- name: Install multiple features in one task
win_optional_feature:
name:
- NetFx3
- Microsoft-Windows-Subsystem-Linux
state: present
'''
RETURN = r'''
reboot_required:
description: True when the target server requires a reboot to complete updates
returned: success
type: bool
sample: true
'''
| ansible_metadata = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'}
documentation = '\n---\nmodule: win_optional_feature\nversion_added: "2.8"\nshort_description: Manage optional Windows features\ndescription:\n - Install or uninstall optional Windows features on non-Server Windows.\n - This module uses the C(Enable-WindowsOptionalFeature) and C(Disable-WindowsOptionalFeature) cmdlets.\noptions:\n name:\n description:\n - The name(s) of the feature to install.\n - This relates to C(FeatureName) in the Powershell cmdlet.\n - To list all available features use the PowerShell command C(Get-WindowsOptionalFeature).\n type: list\n required: yes\n state:\n description:\n - Whether to ensure the feature is absent or present on the system.\n type: str\n choices: [ absent, present ]\n default: present\n include_parent:\n description:\n - Whether to enable the parent feature and the parent\'s dependencies.\n type: bool\n default: no\n source:\n description:\n - Specify a source to install the feature from.\n - Can either be C({driveletter}:\\sources\\sxs) or C(\\\\{IP}\\share\\sources\\sxs).\n type: str\nseealso:\n- module: win_chocolatey\n- module: win_feature\n- module: win_package\nauthor:\n - Carson Anderson (@rcanderson23)\n'
examples = '\n- name: Install .Net 3.5\n win_optional_feature:\n name: NetFx3\n state: present\n\n- name: Install .Net 3.5 from source\n win_optional_feature:\n name: NetFx3\n source: \\\\share01\\win10\\sources\\sxs\n state: present\n\n- name: Install Microsoft Subsystem for Linux\n win_optional_feature:\n name: Microsoft-Windows-Subsystem-Linux\n state: present\n register: wsl_status\n\n- name: Reboot if installing Linux Subsytem as feature requires it\n win_reboot:\n when: wsl_status.reboot_required\n\n- name: Install multiple features in one task\n win_optional_feature:\n name:\n - NetFx3\n - Microsoft-Windows-Subsystem-Linux\n state: present\n'
return = '\nreboot_required:\n description: True when the target server requires a reboot to complete updates\n returned: success\n type: bool\n sample: true\n' |
a = input ()
b = input ()
c=a
a=b
b=c
print (a, b)
| a = input()
b = input()
c = a
a = b
b = c
print(a, b) |
class Bird:
def about(self):
print("Species: Bird")
def Dance(self):
print("Not all but some birds can dance")
class Peacock(Bird):
def Dance(self):
print("Peacock can dance")
class Sparrow(Bird):
def Dance(self):
print("Sparrow can't dance")
| class Bird:
def about(self):
print('Species: Bird')
def dance(self):
print('Not all but some birds can dance')
class Peacock(Bird):
def dance(self):
print('Peacock can dance')
class Sparrow(Bird):
def dance(self):
print("Sparrow can't dance") |
def quickSort(alist, first, last):
if (first < last):
splitpoint = partition(alist, first, last)
quickSort(alist, first, splitpoint - 1)
quickSort(alist, splitpoint + 1, last)
def partition(alist, first, last):
pivotvalue = alist[first]
leftmark = first +1
rightmark = last
done = False
while not done:
while leftmark <= rightmark and alist[leftmark] <= pivotvalue:
leftmark = leftmark + 1
while alist[rightmark] >= pivotvalue and rightmark >= leftmark:
rightmark = rightmark - 1
if (rightmark < leftmark):
done = True
else:
swap(alist, leftmark, rightmark)
swap(alist, first, rightmark)
return rightmark
def swap(alist, left, right):
temp = alist[left]
alist[left] = alist[right]
alist[right] = temp
return alist
alist = [54,26,93,17,77,31,44,55,20]
quickSort(alist, 0, len(alist)-1)
print(alist) | def quick_sort(alist, first, last):
if first < last:
splitpoint = partition(alist, first, last)
quick_sort(alist, first, splitpoint - 1)
quick_sort(alist, splitpoint + 1, last)
def partition(alist, first, last):
pivotvalue = alist[first]
leftmark = first + 1
rightmark = last
done = False
while not done:
while leftmark <= rightmark and alist[leftmark] <= pivotvalue:
leftmark = leftmark + 1
while alist[rightmark] >= pivotvalue and rightmark >= leftmark:
rightmark = rightmark - 1
if rightmark < leftmark:
done = True
else:
swap(alist, leftmark, rightmark)
swap(alist, first, rightmark)
return rightmark
def swap(alist, left, right):
temp = alist[left]
alist[left] = alist[right]
alist[right] = temp
return alist
alist = [54, 26, 93, 17, 77, 31, 44, 55, 20]
quick_sort(alist, 0, len(alist) - 1)
print(alist) |
def lcsv(str_or_list):
''' List of Comma-Separated Values.
Convert a str of comma-separated values to a list over the items, or
convert such a list back to a comma-separated string.
This function does not understand quotes.
See the unit tests for examples of how ``lcsv`` works.
'''
if isinstance(str_or_list, str):
s = str_or_list
if not s:
return []
else:
return s.split(',')
lst = str_or_list
return ','.join(lst)
def test_empty():
assert lcsv('') == []
assert lcsv([]) == ''
def test_str_simple():
assert lcsv('a,b,c') == ['a', 'b', 'c']
def test_list_simple():
assert lcsv(['foo', 'bar', 'baz']) == 'foo,bar,baz'
def test_list_with_confusing_quotes():
# Make sure the quotes don't mean shit. It's all about them commas
a = lcsv('quotes,"multi, word", are,not,understood')
assert a[1:3] == ['"multi', ' word"']
| def lcsv(str_or_list):
""" List of Comma-Separated Values.
Convert a str of comma-separated values to a list over the items, or
convert such a list back to a comma-separated string.
This function does not understand quotes.
See the unit tests for examples of how ``lcsv`` works.
"""
if isinstance(str_or_list, str):
s = str_or_list
if not s:
return []
else:
return s.split(',')
lst = str_or_list
return ','.join(lst)
def test_empty():
assert lcsv('') == []
assert lcsv([]) == ''
def test_str_simple():
assert lcsv('a,b,c') == ['a', 'b', 'c']
def test_list_simple():
assert lcsv(['foo', 'bar', 'baz']) == 'foo,bar,baz'
def test_list_with_confusing_quotes():
a = lcsv('quotes,"multi, word", are,not,understood')
assert a[1:3] == ['"multi', ' word"'] |
#
# PySNMP MIB module PDN-XDSL-INTERFACE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PDN-XDSL-INTERFACE-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:31:00 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, ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
pdn_xdsl, = mibBuilder.importSymbols("PDN-HEADER-MIB", "pdn-xdsl")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
NotificationType, TimeTicks, iso, Bits, Counter64, Gauge32, Unsigned32, MibIdentifier, Integer32, ObjectIdentity, IpAddress, NotificationType, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "TimeTicks", "iso", "Bits", "Counter64", "Gauge32", "Unsigned32", "MibIdentifier", "Integer32", "ObjectIdentity", "IpAddress", "NotificationType", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32")
TextualConvention, TAddress, DisplayString, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TAddress", "DisplayString", "RowStatus", "TruthValue")
xdslIfConfigMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2))
xdslIfConfigMIBTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 4))
xdslDevGenericIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1))
xdslDevRADSLSpecificIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2))
xdslDevMVLSpecificIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3))
xdslDevSDSLSpecificIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4))
xdslDevIDSLSpecificIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5))
xdslDevGenericIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1), )
if mibBuilder.loadTexts: xdslDevGenericIfConfigTable.setStatus('mandatory')
xdslDevGenericIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: xdslDevGenericIfConfigEntry.setStatus('mandatory')
xdslDevGenericIfConfigPortSpeedBehaviour = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("fixed", 1), ("adaptive", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevGenericIfConfigPortSpeedBehaviour.setStatus('mandatory')
xdslDevGenericIfConfigMarginThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevGenericIfConfigMarginThreshold.setStatus('mandatory')
xdslDevGenericIfConfigPortID = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 40))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevGenericIfConfigPortID.setStatus('mandatory')
xdslDevGenericIfConfigLinkUpDownTransitionThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevGenericIfConfigLinkUpDownTransitionThreshold.setStatus('mandatory')
xdslDevGenericIfConfigLineEncodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("cap", 2), ("twoB1q", 3), ("mvl", 4), ("g-lite", 5), ("dmt", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: xdslDevGenericIfConfigLineEncodeType.setStatus('mandatory')
xdslDevGenericIfConfigLineRateMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("standard", 1), ("nx128", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevGenericIfConfigLineRateMode.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1), )
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigTable.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigEntry.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigUpFixedPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigUpFixedPortSpeed.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigDownFixedPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigDownFixedPortSpeed.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("minimizeError", 1), ("minimizeDelay", 2), ("reedSolomonNotSupported", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigStartUpMargin = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 9))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigStartUpMargin.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigTxPowerAttenuation = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigTxPowerAttenuation.setStatus('mandatory')
xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation.setStatus('mandatory')
xdslDevMVLSpecificIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1), )
if mibBuilder.loadTexts: xdslDevMVLSpecificIfConfigTable.setStatus('mandatory')
xdslDevMVLSpecificIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: xdslDevMVLSpecificIfConfigEntry.setStatus('mandatory')
xdslDevMVLSpecificIfConfigMaxPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevMVLSpecificIfConfigMaxPortSpeed.setStatus('mandatory')
xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation.setStatus('mandatory')
xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation.setStatus('mandatory')
xdslDevSDSLSpecificIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1), )
if mibBuilder.loadTexts: xdslDevSDSLSpecificIfConfigTable.setStatus('mandatory')
xdslDevSDSLSpecificIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: xdslDevSDSLSpecificIfConfigEntry.setStatus('mandatory')
xdslDevSDSLSpecificIfConfigFixedPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevSDSLSpecificIfConfigFixedPortSpeed.setStatus('mandatory')
xdslDevSDSLSpecificIfConfigMaxPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevSDSLSpecificIfConfigMaxPortSpeed.setStatus('mandatory')
xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode.setStatus('mandatory')
xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode.setStatus('mandatory')
xdslDevIDSLSpecificIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1), )
if mibBuilder.loadTexts: xdslDevIDSLSpecificIfConfigTable.setStatus('mandatory')
xdslDevIDSLSpecificIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: xdslDevIDSLSpecificIfConfigEntry.setStatus('mandatory')
xdslDevIDSLSpecificIfConfigPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevIDSLSpecificIfConfigPortSpeed.setStatus('mandatory')
xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("networkTiming", 1), ("localTiming", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode.setStatus('mandatory')
mibBuilder.exportSymbols("PDN-XDSL-INTERFACE-MIB", xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection=xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection, xdslDevRADSLSpecificIfConfigDownFixedPortSpeed=xdslDevRADSLSpecificIfConfigDownFixedPortSpeed, xdslDevSDSLSpecificIfConfig=xdslDevSDSLSpecificIfConfig, xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed=xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed, xdslDevSDSLSpecificIfConfigTable=xdslDevSDSLSpecificIfConfigTable, xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode=xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode, xdslDevSDSLSpecificIfConfigFixedPortSpeed=xdslDevSDSLSpecificIfConfigFixedPortSpeed, xdslDevGenericIfConfigPortID=xdslDevGenericIfConfigPortID, xdslDevGenericIfConfigPortSpeedBehaviour=xdslDevGenericIfConfigPortSpeedBehaviour, xdslDevMVLSpecificIfConfigEntry=xdslDevMVLSpecificIfConfigEntry, xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode=xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode, xdslDevSDSLSpecificIfConfigEntry=xdslDevSDSLSpecificIfConfigEntry, xdslDevGenericIfConfigLineEncodeType=xdslDevGenericIfConfigLineEncodeType, xdslDevGenericIfConfig=xdslDevGenericIfConfig, xdslDevIDSLSpecificIfConfigEntry=xdslDevIDSLSpecificIfConfigEntry, xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed=xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed, xdslIfConfigMIBTraps=xdslIfConfigMIBTraps, xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation=xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation, xdslDevRADSLSpecificIfConfigUpFixedPortSpeed=xdslDevRADSLSpecificIfConfigUpFixedPortSpeed, xdslDevGenericIfConfigMarginThreshold=xdslDevGenericIfConfigMarginThreshold, xdslDevRADSLSpecificIfConfig=xdslDevRADSLSpecificIfConfig, xdslDevMVLSpecificIfConfig=xdslDevMVLSpecificIfConfig, xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed=xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed, xdslDevIDSLSpecificIfConfigPortSpeed=xdslDevIDSLSpecificIfConfigPortSpeed, xdslDevGenericIfConfigEntry=xdslDevGenericIfConfigEntry, xdslDevGenericIfConfigLinkUpDownTransitionThreshold=xdslDevGenericIfConfigLinkUpDownTransitionThreshold, xdslDevGenericIfConfigTable=xdslDevGenericIfConfigTable, xdslDevMVLSpecificIfConfigTable=xdslDevMVLSpecificIfConfigTable, xdslDevIDSLSpecificIfConfig=xdslDevIDSLSpecificIfConfig, xdslDevRADSLSpecificIfConfigStartUpMargin=xdslDevRADSLSpecificIfConfigStartUpMargin, xdslDevMVLSpecificIfConfigMaxPortSpeed=xdslDevMVLSpecificIfConfigMaxPortSpeed, xdslDevRADSLSpecificIfConfigTxPowerAttenuation=xdslDevRADSLSpecificIfConfigTxPowerAttenuation, xdslDevSDSLSpecificIfConfigMaxPortSpeed=xdslDevSDSLSpecificIfConfigMaxPortSpeed, xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed=xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed, xdslIfConfigMIBObjects=xdslIfConfigMIBObjects, xdslDevRADSLSpecificIfConfigTable=xdslDevRADSLSpecificIfConfigTable, xdslDevIDSLSpecificIfConfigTable=xdslDevIDSLSpecificIfConfigTable, xdslDevGenericIfConfigLineRateMode=xdslDevGenericIfConfigLineRateMode, xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation=xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation, xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation=xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation, xdslDevRADSLSpecificIfConfigEntry=xdslDevRADSLSpecificIfConfigEntry, xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode=xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_range_constraint, value_size_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(pdn_xdsl,) = mibBuilder.importSymbols('PDN-HEADER-MIB', 'pdn-xdsl')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(notification_type, time_ticks, iso, bits, counter64, gauge32, unsigned32, mib_identifier, integer32, object_identity, ip_address, notification_type, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'TimeTicks', 'iso', 'Bits', 'Counter64', 'Gauge32', 'Unsigned32', 'MibIdentifier', 'Integer32', 'ObjectIdentity', 'IpAddress', 'NotificationType', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32')
(textual_convention, t_address, display_string, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'TAddress', 'DisplayString', 'RowStatus', 'TruthValue')
xdsl_if_config_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2))
xdsl_if_config_mib_traps = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 4))
xdsl_dev_generic_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1))
xdsl_dev_radsl_specific_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2))
xdsl_dev_mvl_specific_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3))
xdsl_dev_sdsl_specific_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4))
xdsl_dev_idsl_specific_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5))
xdsl_dev_generic_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1))
if mibBuilder.loadTexts:
xdslDevGenericIfConfigTable.setStatus('mandatory')
xdsl_dev_generic_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
xdslDevGenericIfConfigEntry.setStatus('mandatory')
xdsl_dev_generic_if_config_port_speed_behaviour = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('fixed', 1), ('adaptive', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevGenericIfConfigPortSpeedBehaviour.setStatus('mandatory')
xdsl_dev_generic_if_config_margin_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevGenericIfConfigMarginThreshold.setStatus('mandatory')
xdsl_dev_generic_if_config_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 40))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevGenericIfConfigPortID.setStatus('mandatory')
xdsl_dev_generic_if_config_link_up_down_transition_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevGenericIfConfigLinkUpDownTransitionThreshold.setStatus('mandatory')
xdsl_dev_generic_if_config_line_encode_type = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('cap', 2), ('twoB1q', 3), ('mvl', 4), ('g-lite', 5), ('dmt', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xdslDevGenericIfConfigLineEncodeType.setStatus('mandatory')
xdsl_dev_generic_if_config_line_rate_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('standard', 1), ('nx128', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevGenericIfConfigLineRateMode.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1))
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigTable.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigEntry.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_up_fixed_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigUpFixedPortSpeed.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_down_fixed_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigDownFixedPortSpeed.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_up_adaptive_upper_bound_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_up_adaptive_lower_bound_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_down_adaptive_upper_bound_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_down_adaptive_lower_bound_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_reed_solomon_down_fwd_err_correction = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('minimizeError', 1), ('minimizeDelay', 2), ('reedSolomonNotSupported', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_start_up_margin = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(-3, 9))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigStartUpMargin.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_tx_power_attenuation = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigTxPowerAttenuation.setStatus('mandatory')
xdsl_dev_radsl_specific_if_config_sn_tx_power_attenuation = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 2, 1, 1, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation.setStatus('mandatory')
xdsl_dev_mvl_specific_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1))
if mibBuilder.loadTexts:
xdslDevMVLSpecificIfConfigTable.setStatus('mandatory')
xdsl_dev_mvl_specific_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
xdslDevMVLSpecificIfConfigEntry.setStatus('mandatory')
xdsl_dev_mvl_specific_if_config_max_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevMVLSpecificIfConfigMaxPortSpeed.setStatus('mandatory')
xdsl_dev_mvl_specific_if_config_on_hook_tx_power_attenuation = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation.setStatus('mandatory')
xdsl_dev_mvl_specific_if_config_off_hook_tx_power_attenuation = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 3, 1, 1, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation.setStatus('mandatory')
xdsl_dev_sdsl_specific_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1))
if mibBuilder.loadTexts:
xdslDevSDSLSpecificIfConfigTable.setStatus('mandatory')
xdsl_dev_sdsl_specific_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
xdslDevSDSLSpecificIfConfigEntry.setStatus('mandatory')
xdsl_dev_sdsl_specific_if_config_fixed_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevSDSLSpecificIfConfigFixedPortSpeed.setStatus('mandatory')
xdsl_dev_sdsl_specific_if_config_max_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevSDSLSpecificIfConfigMaxPortSpeed.setStatus('mandatory')
xdsl_dev_sdsl_specific_if_config_fixed_port_speed_nx128_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode.setStatus('mandatory')
xdsl_dev_sdsl_specific_if_config_max_port_speed_nx128_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode.setStatus('mandatory')
xdsl_dev_idsl_specific_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1))
if mibBuilder.loadTexts:
xdslDevIDSLSpecificIfConfigTable.setStatus('mandatory')
xdsl_dev_idsl_specific_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
xdslDevIDSLSpecificIfConfigEntry.setStatus('mandatory')
xdsl_dev_idsl_specific_if_config_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1, 1, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevIDSLSpecificIfConfigPortSpeed.setStatus('mandatory')
xdsl_dev_idsl_specific_if_config_timing_port_transceiver_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 9, 2, 5, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('networkTiming', 1), ('localTiming', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode.setStatus('mandatory')
mibBuilder.exportSymbols('PDN-XDSL-INTERFACE-MIB', xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection=xdslDevRADSLSpecificIfConfigReedSolomonDownFwdErrCorrection, xdslDevRADSLSpecificIfConfigDownFixedPortSpeed=xdslDevRADSLSpecificIfConfigDownFixedPortSpeed, xdslDevSDSLSpecificIfConfig=xdslDevSDSLSpecificIfConfig, xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed=xdslDevRADSLSpecificIfConfigUpAdaptiveUpperBoundPortSpeed, xdslDevSDSLSpecificIfConfigTable=xdslDevSDSLSpecificIfConfigTable, xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode=xdslDevSDSLSpecificIfConfigMaxPortSpeedNx128Mode, xdslDevSDSLSpecificIfConfigFixedPortSpeed=xdslDevSDSLSpecificIfConfigFixedPortSpeed, xdslDevGenericIfConfigPortID=xdslDevGenericIfConfigPortID, xdslDevGenericIfConfigPortSpeedBehaviour=xdslDevGenericIfConfigPortSpeedBehaviour, xdslDevMVLSpecificIfConfigEntry=xdslDevMVLSpecificIfConfigEntry, xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode=xdslDevSDSLSpecificIfConfigFixedPortSpeedNx128Mode, xdslDevSDSLSpecificIfConfigEntry=xdslDevSDSLSpecificIfConfigEntry, xdslDevGenericIfConfigLineEncodeType=xdslDevGenericIfConfigLineEncodeType, xdslDevGenericIfConfig=xdslDevGenericIfConfig, xdslDevIDSLSpecificIfConfigEntry=xdslDevIDSLSpecificIfConfigEntry, xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed=xdslDevRADSLSpecificIfConfigUpAdaptiveLowerBoundPortSpeed, xdslIfConfigMIBTraps=xdslIfConfigMIBTraps, xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation=xdslDevMVLSpecificIfConfigOnHookTxPowerAttenuation, xdslDevRADSLSpecificIfConfigUpFixedPortSpeed=xdslDevRADSLSpecificIfConfigUpFixedPortSpeed, xdslDevGenericIfConfigMarginThreshold=xdslDevGenericIfConfigMarginThreshold, xdslDevRADSLSpecificIfConfig=xdslDevRADSLSpecificIfConfig, xdslDevMVLSpecificIfConfig=xdslDevMVLSpecificIfConfig, xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed=xdslDevRADSLSpecificIfConfigDownAdaptiveUpperBoundPortSpeed, xdslDevIDSLSpecificIfConfigPortSpeed=xdslDevIDSLSpecificIfConfigPortSpeed, xdslDevGenericIfConfigEntry=xdslDevGenericIfConfigEntry, xdslDevGenericIfConfigLinkUpDownTransitionThreshold=xdslDevGenericIfConfigLinkUpDownTransitionThreshold, xdslDevGenericIfConfigTable=xdslDevGenericIfConfigTable, xdslDevMVLSpecificIfConfigTable=xdslDevMVLSpecificIfConfigTable, xdslDevIDSLSpecificIfConfig=xdslDevIDSLSpecificIfConfig, xdslDevRADSLSpecificIfConfigStartUpMargin=xdslDevRADSLSpecificIfConfigStartUpMargin, xdslDevMVLSpecificIfConfigMaxPortSpeed=xdslDevMVLSpecificIfConfigMaxPortSpeed, xdslDevRADSLSpecificIfConfigTxPowerAttenuation=xdslDevRADSLSpecificIfConfigTxPowerAttenuation, xdslDevSDSLSpecificIfConfigMaxPortSpeed=xdslDevSDSLSpecificIfConfigMaxPortSpeed, xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed=xdslDevRADSLSpecificIfConfigDownAdaptiveLowerBoundPortSpeed, xdslIfConfigMIBObjects=xdslIfConfigMIBObjects, xdslDevRADSLSpecificIfConfigTable=xdslDevRADSLSpecificIfConfigTable, xdslDevIDSLSpecificIfConfigTable=xdslDevIDSLSpecificIfConfigTable, xdslDevGenericIfConfigLineRateMode=xdslDevGenericIfConfigLineRateMode, xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation=xdslDevRADSLSpecificIfConfigSnTxPowerAttenuation, xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation=xdslDevMVLSpecificIfConfigOffHookTxPowerAttenuation, xdslDevRADSLSpecificIfConfigEntry=xdslDevRADSLSpecificIfConfigEntry, xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode=xdslDevIDSLSpecificIfConfigTimingPortTransceiverMode) |
def _FindNonRepeat(_InputString, chars):
count = 0
_NonRepeat = {}
for i in chars:
count = _InputString.count(i)
if count > 1:
print(count,i)
if count == 1:
_NonRepeat[count] = i
#print(_NonRepeat)
return(_NonRepeat)
def _FindNonRepeat2(_InputString, chars):
return(_InputString.count('a'))
chars = 'abcdefghijklmnopqrstuvwxyz'
input = 'aaacccssddbddd'
NonRepeat = _FindNonRepeat2(input, chars)
print(NonRepeat) | def __find_non_repeat(_InputString, chars):
count = 0
__non_repeat = {}
for i in chars:
count = _InputString.count(i)
if count > 1:
print(count, i)
if count == 1:
_NonRepeat[count] = i
return _NonRepeat
def __find_non_repeat2(_InputString, chars):
return _InputString.count('a')
chars = 'abcdefghijklmnopqrstuvwxyz'
input = 'aaacccssddbddd'
non_repeat = __find_non_repeat2(input, chars)
print(NonRepeat) |
a=[1,2,3,4,5]
a=a[::-1]
print (a)
a=[1,1,2,2,2,2,3,3,3]
b=2
print(a.count(b))
a='ana are mere si nu are pere'
b=a.split()
c=len(b)
print(c) | a = [1, 2, 3, 4, 5]
a = a[::-1]
print(a)
a = [1, 1, 2, 2, 2, 2, 3, 3, 3]
b = 2
print(a.count(b))
a = 'ana are mere si nu are pere'
b = a.split()
c = len(b)
print(c) |
class ContactHelper:
def __init__(self, app):
self.app = app
def create(self, contact):
wd = self.app.wd
wd.find_element_by_link_text("add new").click()
wd.find_element_by_name("firstname").click()
wd.find_element_by_name("firstname").clear()
wd.find_element_by_name("firstname").send_keys(contact.first)
wd.find_element_by_name("middlename").click()
wd.find_element_by_name("middlename").clear()
wd.find_element_by_name("middlename").send_keys(contact.middle)
wd.find_element_by_name("lastname").click()
wd.find_element_by_name("lastname").clear()
wd.find_element_by_name("lastname").send_keys(contact.last)
wd.find_element_by_name("nickname").click()
wd.find_element_by_name("nickname").clear()
wd.find_element_by_name("nickname").send_keys(contact.nick)
wd.find_element_by_name("title").click()
wd.find_element_by_name("title").clear()
wd.find_element_by_name("title").send_keys(contact.title)
wd.find_element_by_name("company").click()
wd.find_element_by_name("company").clear()
wd.find_element_by_name("company").send_keys(contact.company)
wd.find_element_by_name("address").click()
wd.find_element_by_name("address").clear()
wd.find_element_by_name("address").send_keys(contact.address)
wd.find_element_by_name("home").click()
wd.find_element_by_name("theform").click()
wd.find_element_by_name("home").click()
wd.find_element_by_name("home").clear()
wd.find_element_by_name("home").send_keys(contact.home)
wd.find_element_by_name("mobile").click()
wd.find_element_by_name("mobile").clear()
wd.find_element_by_name("mobile").send_keys(contact.mob)
wd.find_element_by_name("work").click()
wd.find_element_by_name("work").clear()
wd.find_element_by_name("work").send_keys(contact.work)
wd.find_element_by_name("fax").click()
wd.find_element_by_name("fax").clear()
wd.find_element_by_name("fax").send_keys(contact.fax)
wd.find_element_by_name("home").click()
wd.find_element_by_name("home").clear()
wd.find_element_by_name("home").send_keys(contact.homephone)
wd.find_element_by_name("email2").click()
wd.find_element_by_name("email2").clear()
wd.find_element_by_name("email2").send_keys(contact.email)
wd.find_element_by_name("homepage").click()
wd.find_element_by_name("homepage").clear()
wd.find_element_by_name("homepage").send_keys(contact.homepage)
if not wd.find_element_by_xpath("//div[@id='content']/form/select[1]//option[15]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[1]//option[15]").click()
if not wd.find_element_by_xpath("//div[@id='content']/form/select[2]//option[6]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[2]//option[6]").click()
wd.find_element_by_name("byear").click()
wd.find_element_by_name("byear").clear()
wd.find_element_by_name("byear").send_keys(contact.birthyear)
if not wd.find_element_by_xpath("//div[@id='content']/form/select[3]//option[6]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[3]//option[6]").click()
if not wd.find_element_by_xpath("//div[@id='content']/form/select[4]//option[5]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[4]//option[5]").click()
wd.find_element_by_name("theform").click()
wd.find_element_by_name("address2").click()
wd.find_element_by_name("address2").clear()
wd.find_element_by_name("address2").send_keys(contact.address)
wd.find_element_by_name("phone2").click()
wd.find_element_by_name("phone2").clear()
wd.find_element_by_name("phone2").send_keys(contact.homephone)
wd.find_element_by_name("notes").click()
wd.find_element_by_name("notes").clear()
wd.find_element_by_name("notes").send_keys(contact.note)
wd.find_element_by_xpath("//div[@id='content']/form/input[21]").click()
wd.find_element_by_link_text("home").click()
def delete_first_contact(self):
wd = self.app.wd
wd.find_element_by_link_text("home").click()
#select first contact
wd.find_element_by_name("selected[]").click()
#submit detetion
wd.find_element_by_xpath("//div[@id='content']/form[2]/div[2]/input").click()
wd.switch_to_alert().accept()
| class Contacthelper:
def __init__(self, app):
self.app = app
def create(self, contact):
wd = self.app.wd
wd.find_element_by_link_text('add new').click()
wd.find_element_by_name('firstname').click()
wd.find_element_by_name('firstname').clear()
wd.find_element_by_name('firstname').send_keys(contact.first)
wd.find_element_by_name('middlename').click()
wd.find_element_by_name('middlename').clear()
wd.find_element_by_name('middlename').send_keys(contact.middle)
wd.find_element_by_name('lastname').click()
wd.find_element_by_name('lastname').clear()
wd.find_element_by_name('lastname').send_keys(contact.last)
wd.find_element_by_name('nickname').click()
wd.find_element_by_name('nickname').clear()
wd.find_element_by_name('nickname').send_keys(contact.nick)
wd.find_element_by_name('title').click()
wd.find_element_by_name('title').clear()
wd.find_element_by_name('title').send_keys(contact.title)
wd.find_element_by_name('company').click()
wd.find_element_by_name('company').clear()
wd.find_element_by_name('company').send_keys(contact.company)
wd.find_element_by_name('address').click()
wd.find_element_by_name('address').clear()
wd.find_element_by_name('address').send_keys(contact.address)
wd.find_element_by_name('home').click()
wd.find_element_by_name('theform').click()
wd.find_element_by_name('home').click()
wd.find_element_by_name('home').clear()
wd.find_element_by_name('home').send_keys(contact.home)
wd.find_element_by_name('mobile').click()
wd.find_element_by_name('mobile').clear()
wd.find_element_by_name('mobile').send_keys(contact.mob)
wd.find_element_by_name('work').click()
wd.find_element_by_name('work').clear()
wd.find_element_by_name('work').send_keys(contact.work)
wd.find_element_by_name('fax').click()
wd.find_element_by_name('fax').clear()
wd.find_element_by_name('fax').send_keys(contact.fax)
wd.find_element_by_name('home').click()
wd.find_element_by_name('home').clear()
wd.find_element_by_name('home').send_keys(contact.homephone)
wd.find_element_by_name('email2').click()
wd.find_element_by_name('email2').clear()
wd.find_element_by_name('email2').send_keys(contact.email)
wd.find_element_by_name('homepage').click()
wd.find_element_by_name('homepage').clear()
wd.find_element_by_name('homepage').send_keys(contact.homepage)
if not wd.find_element_by_xpath("//div[@id='content']/form/select[1]//option[15]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[1]//option[15]").click()
if not wd.find_element_by_xpath("//div[@id='content']/form/select[2]//option[6]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[2]//option[6]").click()
wd.find_element_by_name('byear').click()
wd.find_element_by_name('byear').clear()
wd.find_element_by_name('byear').send_keys(contact.birthyear)
if not wd.find_element_by_xpath("//div[@id='content']/form/select[3]//option[6]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[3]//option[6]").click()
if not wd.find_element_by_xpath("//div[@id='content']/form/select[4]//option[5]").is_selected():
wd.find_element_by_xpath("//div[@id='content']/form/select[4]//option[5]").click()
wd.find_element_by_name('theform').click()
wd.find_element_by_name('address2').click()
wd.find_element_by_name('address2').clear()
wd.find_element_by_name('address2').send_keys(contact.address)
wd.find_element_by_name('phone2').click()
wd.find_element_by_name('phone2').clear()
wd.find_element_by_name('phone2').send_keys(contact.homephone)
wd.find_element_by_name('notes').click()
wd.find_element_by_name('notes').clear()
wd.find_element_by_name('notes').send_keys(contact.note)
wd.find_element_by_xpath("//div[@id='content']/form/input[21]").click()
wd.find_element_by_link_text('home').click()
def delete_first_contact(self):
wd = self.app.wd
wd.find_element_by_link_text('home').click()
wd.find_element_by_name('selected[]').click()
wd.find_element_by_xpath("//div[@id='content']/form[2]/div[2]/input").click()
wd.switch_to_alert().accept() |
FAST_NULL = 0x000
FAST_NOON = 0x201
FAST_SUNSET = 0x202
FAST_MOONRISE = 0x203
FAST_DUSK = 0x204
FAST_MIDNIGHT = 0x205
FAST_EKADASI = 0x206
FAST_DAY = 0x207
| fast_null = 0
fast_noon = 513
fast_sunset = 514
fast_moonrise = 515
fast_dusk = 516
fast_midnight = 517
fast_ekadasi = 518
fast_day = 519 |
memo = {1: 1, 2: 2, 3: 4}
def climb(n):
if n == 1:
return 1
elif n == 2:
return 2
elif n == 3:
return 4
else:
c = 0
for i in [1, 2, 3]:
t = memo.get(n - i)
if not t:
memo[n - 1] = climb(n - 1)
c += memo.get(n - i)
return c
s = int(input().strip())
for a0 in range(s):
n = int(input().strip())
print(climb(n))
| memo = {1: 1, 2: 2, 3: 4}
def climb(n):
if n == 1:
return 1
elif n == 2:
return 2
elif n == 3:
return 4
else:
c = 0
for i in [1, 2, 3]:
t = memo.get(n - i)
if not t:
memo[n - 1] = climb(n - 1)
c += memo.get(n - i)
return c
s = int(input().strip())
for a0 in range(s):
n = int(input().strip())
print(climb(n)) |
# pylint: skip-file
computing.ubm_training_workers = 8
computing.ivector_dataloader_workers = 22
computing.feature_extraction_workers = 22
computing.use_gpu = True
computing.gpu_ids = (0,)
paths.output_folder = '/media/ssd2/vvestman/sitw_ivector_outputs'
paths.feature_and_list_folder = 'datasets' # No need to update this
paths.kaldi_recipe_folder = '/media/hdd2/vvestman/kaldi/egs/voxceleb/v1' # ivector recipe
paths.musan_folder = '/media/hdd3/musan' # Used in Kaldi's augmentation
paths.datasets = { 'voxceleb1': '/media/hdd3/voxceleb1', 'voxceleb2': '/media/hdd3/voxceleb2', 'sitw': '/media/hdd3/sitw'}
features.vad_mismatch_tolerance = 0 | computing.ubm_training_workers = 8
computing.ivector_dataloader_workers = 22
computing.feature_extraction_workers = 22
computing.use_gpu = True
computing.gpu_ids = (0,)
paths.output_folder = '/media/ssd2/vvestman/sitw_ivector_outputs'
paths.feature_and_list_folder = 'datasets'
paths.kaldi_recipe_folder = '/media/hdd2/vvestman/kaldi/egs/voxceleb/v1'
paths.musan_folder = '/media/hdd3/musan'
paths.datasets = {'voxceleb1': '/media/hdd3/voxceleb1', 'voxceleb2': '/media/hdd3/voxceleb2', 'sitw': '/media/hdd3/sitw'}
features.vad_mismatch_tolerance = 0 |
numbers = [111, 7, 2, 1]
print(len(numbers))
print(numbers)
###
numbers.append(4)
print(len(numbers))
print(numbers)
###
numbers.insert(0, 222)
print(len(numbers))
print(numbers)
#
my_list = [] # Creating an empty list.
for i in range(5):
my_list.append(i + 1)
print(my_list)
my_list = [] # Creating an empty list.
for i in range(5):
my_list.insert(0, i + 1)
print(my_list)
my_list = [10, 1, 8, 3, 5]
total = 0
for i in range(len(my_list)):
total += my_list[i]
print(total)
###
# step 1
beatles = []
print("Step 1:", beatles)
# step 2
beatles.append("John Lennon")
beatles.append("Paul McCartney")
beatles.append("George Harrison")
print("Step 2:", beatles)
# step 3
for i in range(2):
beatles.append(input("Enter a word: "))
print("Step 3:", beatles)
# step 4
del(beatles[-1])
del(beatles[-1])
print("Step 4:", beatles)
# step 5
beatles.insert(0,"Ringo Starr")
print("Step 5:", beatles)
# testing list legth
print("The Fab", len(beatles))
### | numbers = [111, 7, 2, 1]
print(len(numbers))
print(numbers)
numbers.append(4)
print(len(numbers))
print(numbers)
numbers.insert(0, 222)
print(len(numbers))
print(numbers)
my_list = []
for i in range(5):
my_list.append(i + 1)
print(my_list)
my_list = []
for i in range(5):
my_list.insert(0, i + 1)
print(my_list)
my_list = [10, 1, 8, 3, 5]
total = 0
for i in range(len(my_list)):
total += my_list[i]
print(total)
beatles = []
print('Step 1:', beatles)
beatles.append('John Lennon')
beatles.append('Paul McCartney')
beatles.append('George Harrison')
print('Step 2:', beatles)
for i in range(2):
beatles.append(input('Enter a word: '))
print('Step 3:', beatles)
del beatles[-1]
del beatles[-1]
print('Step 4:', beatles)
beatles.insert(0, 'Ringo Starr')
print('Step 5:', beatles)
print('The Fab', len(beatles)) |
# -*- coding: utf-8 -*-
ICX_TO_LOOP = 10 ** 18
LOOP_TO_ISCORE = 1000
def icx(value: int) -> int:
return value * ICX_TO_LOOP
def loop_to_str(value: int) -> str:
if value == 0:
return "0"
sign: str = "-" if value < 0 else ""
integer, exponent = divmod(abs(value), ICX_TO_LOOP)
if exponent == 0:
return f"{sign}{integer}.0"
return f"{sign}{integer}.{exponent:018d}"
def loop_to_iscore(value: int) -> int:
return value * LOOP_TO_ISCORE
| icx_to_loop = 10 ** 18
loop_to_iscore = 1000
def icx(value: int) -> int:
return value * ICX_TO_LOOP
def loop_to_str(value: int) -> str:
if value == 0:
return '0'
sign: str = '-' if value < 0 else ''
(integer, exponent) = divmod(abs(value), ICX_TO_LOOP)
if exponent == 0:
return f'{sign}{integer}.0'
return f'{sign}{integer}.{exponent:018d}'
def loop_to_iscore(value: int) -> int:
return value * LOOP_TO_ISCORE |
# http://codeforces.com/problemset/problem/34/A
n = int(input())
heights = [int(x) for x in input().split()]
soldiers = [x for x in range(1, n + 1)]
heights.append(heights[0])
soldiers.append(soldiers[0])
first_min = 0
second_min = 0
difference_min = 999999999999999999999999
for i in range(len(heights) - 1):
difference = abs(heights[i] - heights[i+1])
if difference < difference_min:
difference_min = difference
first_min = soldiers[i]
second_min = soldiers[i+1]
print(first_min, second_min)
| n = int(input())
heights = [int(x) for x in input().split()]
soldiers = [x for x in range(1, n + 1)]
heights.append(heights[0])
soldiers.append(soldiers[0])
first_min = 0
second_min = 0
difference_min = 999999999999999999999999
for i in range(len(heights) - 1):
difference = abs(heights[i] - heights[i + 1])
if difference < difference_min:
difference_min = difference
first_min = soldiers[i]
second_min = soldiers[i + 1]
print(first_min, second_min) |
# return n * (n+1) / 2
with open('./input', encoding='utf8') as file:
coord_strs = file.readline().strip()[12:].split(', ')
x_range = [int(val) for val in coord_strs[0].split('=')[1].split('..')]
y_range = [int(val) for val in coord_strs[1].split('=')[1].split('..')]
y_speed = abs(y_range[0])-1
print(y_speed * (y_speed+1)/2)
| with open('./input', encoding='utf8') as file:
coord_strs = file.readline().strip()[12:].split(', ')
x_range = [int(val) for val in coord_strs[0].split('=')[1].split('..')]
y_range = [int(val) for val in coord_strs[1].split('=')[1].split('..')]
y_speed = abs(y_range[0]) - 1
print(y_speed * (y_speed + 1) / 2) |
DEFAULT_CELERY_BROKER_LOGIN_METHOD = 'AMQPLAIN'
DEFAULT_CELERY_BROKER_URL = None
DEFAULT_CELERY_BROKER_USE_SSL = None
DEFAULT_CELERY_RESULT_BACKEND = None
| default_celery_broker_login_method = 'AMQPLAIN'
default_celery_broker_url = None
default_celery_broker_use_ssl = None
default_celery_result_backend = None |
A, B ,C= map(int, input().split())
D=int(input())
C+=D
if C>59:
B+=C//60
C=C%60
if B>59:
A+=B//60
B=B%60
if A>23:
A=A%24
print(A,B,C)
else:
print(A,B,C)
else:
print(A,B,C)
else:
print(A,B,C) | (a, b, c) = map(int, input().split())
d = int(input())
c += D
if C > 59:
b += C // 60
c = C % 60
if B > 59:
a += B // 60
b = B % 60
if A > 23:
a = A % 24
print(A, B, C)
else:
print(A, B, C)
else:
print(A, B, C)
else:
print(A, B, C) |
def makeprefixsum(nums):
prefixsum = [0] * (len(nums) + 1)
for i in range(1, len(nums)+1):
prefixsum[i] = prefixsum[i-1] + nums[i-1]
return prefixsum
def rsq(prefixsum, l, r): # Range Sum Query
return prefixsum[r] - prefixsum[l]
def countzeroes(nums, l, r):
cnt = 0 # complexity O(NM) N - lenght of array, M - number of requests
for i in range(i, r):
if nums[i] == 0:
cnt += 1
return cnt
# Faster solution O(N+M)
def makeprefixsum(nums):
prefixsum = [0] * (len(nums) + 1)
for i in range(1, len(nums)+1):
if nums[i-1] == 0:
prefixsum[i] = prefixsum[i-1] + 1
else:
prefixsum[i] = prefixsum[i-1]
return prefixsum
def countzeroes(nums, l, r):
return prefixsum[r] - prefixsum[l]
# O(n**3)
def countzerossumranges(nums):
cntranges = 0
for i in range(len(nums)): # Left boundary
for j in range(i+1, len(nums)+1): # Right boundary
rangesum = 0
for k in range(i, j):
rangesum += nums[k]
if rangesum == 0:
cntranges += 1
return cntranges
# O(n)
def countprefixsum(nums):
prefixsumbyvalue = {0: 1}
nowsum = 0
for now in nums:
nowsum += now
if nowsum not in prefixsumbyvalue:
prefixsumbyvalue[nowsum] = 0
prefixsumbyvalue[nowsum] += 1
return prefixsumbyvalue
def countzerossumrange(prefixsumbyvalue):
cntranges = 0
for nowsum in prefixsumbyvalue:
cntsum = prefixsumbyvalue[nowsum]
cntranges += cntsum * (cntsum - 1) // 2
return cntranges
# O(n*n)
def cntpairswithdiffgtk(sortednums, k):
contpairs = 0
for first in range(len(sortednums)):
for last in range(first, len(sortednums)):
if sortednums[last] - sortednums[first] > k:
contpairs += 1
return contpairs
# cntpairswithdiffgtk([1,3,5,6], 3) -> 2
# O(n)
def cntpairswithdiffgtk(sortednums, k):
contpairs = 0
last = 0
for first in range(len(sortednums)):
while last < len(sortednums) and sortednums[last] - sortednums[first] <= k:
last += 1
contpairs += len(sortednums) - last
return contpairs
def merge(nums1, nums2):
merged = [0] * len(nums1) + [0] * len(nums2)
first1 = first2 = 0
inf = max(nums1[-1], nums2[-1]) + 1
nums1.append(inf)
nums2.append(inf)
for k in range(len(nums1) + len(nums2) - 2):
if nums1[first1] <= nums2[first2]:
merged[k] = nums1[first1]
first1 += 1
else:
merged[k] = nums2[first2]
first2 += 1
nums1.pop()
nums2.pop()
return merged
# O(N+M)
def mergebetter(nums1, nums2):
merged = [0] * len(nums1) + [0] * len(nums2)
first1 = first2 = 0
for k in range(len(nums1) + len(nums2)):
if (first1 != len(nums1)) and (first2 == len(nums2) or nums1[first1] < nums2[first2]):
merged[k] = nums1[first1]
first1 += 1
else:
merged[k] = nums2[first2]
first2 += 1
return merged
| def makeprefixsum(nums):
prefixsum = [0] * (len(nums) + 1)
for i in range(1, len(nums) + 1):
prefixsum[i] = prefixsum[i - 1] + nums[i - 1]
return prefixsum
def rsq(prefixsum, l, r):
return prefixsum[r] - prefixsum[l]
def countzeroes(nums, l, r):
cnt = 0
for i in range(i, r):
if nums[i] == 0:
cnt += 1
return cnt
def makeprefixsum(nums):
prefixsum = [0] * (len(nums) + 1)
for i in range(1, len(nums) + 1):
if nums[i - 1] == 0:
prefixsum[i] = prefixsum[i - 1] + 1
else:
prefixsum[i] = prefixsum[i - 1]
return prefixsum
def countzeroes(nums, l, r):
return prefixsum[r] - prefixsum[l]
def countzerossumranges(nums):
cntranges = 0
for i in range(len(nums)):
for j in range(i + 1, len(nums) + 1):
rangesum = 0
for k in range(i, j):
rangesum += nums[k]
if rangesum == 0:
cntranges += 1
return cntranges
def countprefixsum(nums):
prefixsumbyvalue = {0: 1}
nowsum = 0
for now in nums:
nowsum += now
if nowsum not in prefixsumbyvalue:
prefixsumbyvalue[nowsum] = 0
prefixsumbyvalue[nowsum] += 1
return prefixsumbyvalue
def countzerossumrange(prefixsumbyvalue):
cntranges = 0
for nowsum in prefixsumbyvalue:
cntsum = prefixsumbyvalue[nowsum]
cntranges += cntsum * (cntsum - 1) // 2
return cntranges
def cntpairswithdiffgtk(sortednums, k):
contpairs = 0
for first in range(len(sortednums)):
for last in range(first, len(sortednums)):
if sortednums[last] - sortednums[first] > k:
contpairs += 1
return contpairs
def cntpairswithdiffgtk(sortednums, k):
contpairs = 0
last = 0
for first in range(len(sortednums)):
while last < len(sortednums) and sortednums[last] - sortednums[first] <= k:
last += 1
contpairs += len(sortednums) - last
return contpairs
def merge(nums1, nums2):
merged = [0] * len(nums1) + [0] * len(nums2)
first1 = first2 = 0
inf = max(nums1[-1], nums2[-1]) + 1
nums1.append(inf)
nums2.append(inf)
for k in range(len(nums1) + len(nums2) - 2):
if nums1[first1] <= nums2[first2]:
merged[k] = nums1[first1]
first1 += 1
else:
merged[k] = nums2[first2]
first2 += 1
nums1.pop()
nums2.pop()
return merged
def mergebetter(nums1, nums2):
merged = [0] * len(nums1) + [0] * len(nums2)
first1 = first2 = 0
for k in range(len(nums1) + len(nums2)):
if first1 != len(nums1) and (first2 == len(nums2) or nums1[first1] < nums2[first2]):
merged[k] = nums1[first1]
first1 += 1
else:
merged[k] = nums2[first2]
first2 += 1
return merged |
number_of_nice_strings=0
with open("input.txt") as input:
for line in input:
line=line.rstrip()
#chack vowels
num_of_vowels=0
vowels=["a","e","i","o","u"]
vowels_dict={}
for vowel in vowels:
if vowel in line:
vowels_dict[vowel] = line.count(vowel)
for (k,v) in vowels_dict.items():
num_of_vowels +=v
#check repeatable letters
repeatable_letters={}
for i in range(len(line)):
if i == len(line)-1:
break
# print("Letter is : {}".format(line[i]))
if line[i] == line[i+1]:
# print("Repeat of letter: {}".format(line[i]))
repeatable_letters[line[i]]=1
#chack if does not contain the fallowing
contains_not_wanted=False
not_wanted=["ab","cd","pq","xy"]
for nw in not_wanted:
if nw in line:
contains_not_wanted=True
break;
print("{} has {} vowels.".format(line,num_of_vowels))
print("{} has {} repeating letters.".format(line,len(repeatable_letters)))
print("{} contains unwanted substrings: {}".format(line,contains_not_wanted))
if num_of_vowels >=3 and not contains_not_wanted and len(repeatable_letters)>0:
number_of_nice_strings +=1
print("{} is nice.".format(line))
else:
print("{} is bad.".format(line))
print("Number of good strings is : {}".format(number_of_nice_strings)) | number_of_nice_strings = 0
with open('input.txt') as input:
for line in input:
line = line.rstrip()
num_of_vowels = 0
vowels = ['a', 'e', 'i', 'o', 'u']
vowels_dict = {}
for vowel in vowels:
if vowel in line:
vowels_dict[vowel] = line.count(vowel)
for (k, v) in vowels_dict.items():
num_of_vowels += v
repeatable_letters = {}
for i in range(len(line)):
if i == len(line) - 1:
break
if line[i] == line[i + 1]:
repeatable_letters[line[i]] = 1
contains_not_wanted = False
not_wanted = ['ab', 'cd', 'pq', 'xy']
for nw in not_wanted:
if nw in line:
contains_not_wanted = True
break
print('{} has {} vowels.'.format(line, num_of_vowels))
print('{} has {} repeating letters.'.format(line, len(repeatable_letters)))
print('{} contains unwanted substrings: {}'.format(line, contains_not_wanted))
if num_of_vowels >= 3 and (not contains_not_wanted) and (len(repeatable_letters) > 0):
number_of_nice_strings += 1
print('{} is nice.'.format(line))
else:
print('{} is bad.'.format(line))
print('Number of good strings is : {}'.format(number_of_nice_strings)) |
data1 = {
'board': {
'snakes': [
{'body': [
{'x': 5, 'y': 5},
{'x': 5, 'y': 6},
{'x': 4, 'y': 6},
{'x': 3, 'y': 6},
{'x': 3, 'y': 5},
{'x': 3, 'y': 4},
{'x': 4, 'y': 4},
{'x': 5, 'y': 4},
{'x': 6, 'y': 4},
{'x': 7, 'y': 4}
],
'health': 100,
'id': 'testsnake',
'length': 10,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 2, 'y': 2},
]
},
'you': {
'body': [
{'x': 5, 'y': 5},
{'x': 5, 'y': 6},
{'x': 4, 'y': 6},
{'x': 3, 'y': 6},
{'x': 3, 'y': 5},
{'x': 3, 'y': 4},
{'x': 4, 'y': 6},
{'x': 5, 'y': 6},
{'x': 6, 'y': 6},
{'x': 7, 'y': 6}
],
'health': 100,
'id': 'testsnake',
'length': 10,
'name': 'testsnake',
'object': 'snake'
}
}
data2 = {
'board': {
'snakes': [
{'body': [
{'x': 5, 'y': 5},
{'x': 5, 'y': 6},
{'x': 5, 'y': 7},
{'x': 4, 'y': 7},
{'x': 3, 'y': 7},
{'x': 2, 'y': 7},
{'x': 2, 'y': 6},
{'x': 2, 'y': 5},
{'x': 2, 'y': 4},
{'x': 3, 'y': 4},
{'x': 4, 'y': 4},
{'x': 5, 'y': 4},
{'x': 6, 'y': 4},
{'x': 7, 'y': 4}
],
'health': 100,
'id': 'testsnake',
'length': 14,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 2, 'y': 2},
]
},
'you': {
'body': [
{'x': 5, 'y': 5},
{'x': 5, 'y': 6},
{'x': 5, 'y': 7},
{'x': 4, 'y': 7},
{'x': 3, 'y': 7},
{'x': 2, 'y': 7},
{'x': 2, 'y': 6},
{'x': 2, 'y': 5},
{'x': 2, 'y': 4},
{'x': 3, 'y': 4},
{'x': 4, 'y': 4},
{'x': 5, 'y': 4},
{'x': 6, 'y': 4},
{'x': 7, 'y': 4}
],
'health': 100,
'id': 'testsnake',
'length': 14,
'name': 'testsnake',
'object': 'snake'
}
}
data3 = {
'board': {
'snakes': [
{'body': [
{'x': 0, 'y': 1},
{'x': 1, 'y': 1}
],
'health': 100,
'id': 'testsnake',
'length': 2,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 5, 'y': 5},
]
},
'you': {
'body': [
{'x': 0, 'y': 1},
{'x': 1, 'y': 1}
],
'health': 100,
'id': 'testsnake',
'length': 2,
'name': 'testsnake',
'object': 'snake'
}
}
data4 = {
'board': {
'snakes': [
{'body': [
{'x': 2, 'y': 0},
{'x': 1, 'y': 0},
{'x': 0, 'y': 0},
{'x': 0, 'y': 1}
],
'health': 100,
'id': 'testsnake',
'length': 4,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 1, 'y': 1},
]
},
'you': {
'body': [
{'x': 2, 'y': 0},
{'x': 1, 'y': 0},
{'x': 0, 'y': 0},
{'x': 0, 'y': 1}
],
'health': 100,
'id': 'testsnake',
'length': 4,
'name': 'testsnake',
'object': 'snake'
}
}
data5 = {
'board': {
'snakes': [
{'body': [
{'x': 3, 'y': 0},
{'x': 3, 'y': 0},
{'x': 3, 'y': 0}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 1, 'y': 1},
]
},
'you': {
'body': [
{'x': 3, 'y': 0},
{'x': 3, 'y': 0},
{'x': 3, 'y': 0}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
}
data52 = {
'board': {
'snakes': [
{'body': [
{'x': 0, 'y': 3},
{'x': 0, 'y': 3},
{'x': 0, 'y': 3}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 1, 'y': 1},
]
},
'you': {
'body': [
{'x': 0, 'y': 3},
{'x': 0, 'y': 3},
{'x': 0, 'y': 3}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
}
data53 = {
'board': {
'snakes': [
{'body': [
{'x': 3, 'y': 9},
{'x': 3, 'y': 9},
{'x': 3, 'y': 9}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 1, 'y': 1},
]
},
'you': {
'body': [
{'x': 3, 'y': 9},
{'x': 3, 'y': 9},
{'x': 3, 'y': 9}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
}
data54 = {
'board': {
'snakes': [
{'body': [
{'x': 9, 'y': 3},
{'x': 9, 'y': 3},
{'x': 9, 'y': 3}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 1, 'y': 1},
]
},
'you': {
'body': [
{'x': 9, 'y': 3},
{'x': 9, 'y': 3},
{'x': 9, 'y': 3}
],
'health': 100,
'id': 'testsnake',
'length': 3,
'name': 'testsnake',
'object': 'snake'
}
}
data6 = {
'board': {
'snakes': [
{'body': [
{'x': 0, 'y': 7},
{'x': 0, 'y': 8},
{'x': 1, 'y': 8},
{'x': 1, 'y': 7},
{'x': 1, 'y': 6},
{'x': 1, 'y': 5},
{'x': 1, 'y': 4}
],
'health': 100,
'id': 'testsnake',
'length': 7,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 5, 'y': 8},
]
},
'you': {
'body': [
{'x': 0, 'y': 7},
{'x': 0, 'y': 8},
{'x': 1, 'y': 8},
{'x': 1, 'y': 7},
{'x': 1, 'y': 6},
{'x': 1, 'y': 5},
{'x': 1, 'y': 4}
],
'health': 100,
'id': 'testsnake',
'length': 7,
'name': 'testsnake',
'object': 'snake'
}
}
data7 = {
'board': {
'snakes': [
{'body': [
{'x': 4, 'y': 2},
{'x': 4, 'y': 1},
{'x': 5, 'y': 1},
{'x': 5, 'y': 2},
{'x': 5, 'y': 3},
{'x': 5, 'y': 4},
{'x': 5, 'y': 5},
{'x': 4, 'y': 5},
{'x': 3, 'y': 5},
{'x': 3, 'y': 4},
{'x': 3, 'y': 3},
{'x': 2, 'y': 3},
{'x': 1, 'y': 3}
],
'health': 100,
'id': 'testsnake',
'length': 13,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 5, 'y': 8},
]
},
'you': {
'body': [
{'x': 4, 'y': 2},
{'x': 4, 'y': 1},
{'x': 5, 'y': 1},
{'x': 5, 'y': 2},
{'x': 5, 'y': 3},
{'x': 5, 'y': 4},
{'x': 5, 'y': 5},
{'x': 4, 'y': 5},
{'x': 3, 'y': 5},
{'x': 3, 'y': 4},
{'x': 3, 'y': 3},
{'x': 2, 'y': 3},
{'x': 1, 'y': 3}
],
'health': 100,
'id': 'testsnake',
'length': 13,
'name': 'testsnake',
'object': 'snake'
}
}
data8 = {
'board': {
'snakes': [
{'body': [
{'x': 8, 'y': 29},
{'x': 8, 'y': 28},
{'x': 7, 'y': 28},
{'x': 6, 'y': 27},
{'x': 6, 'y': 26},
{'x': 6, 'y': 25},
{'x': 6, 'y': 24},
{'x': 6, 'y': 23},
{'x': 6, 'y': 22},
{'x': 6, 'y': 21},
{'x': 6, 'y': 20},
{'x': 6, 'y': 19},
{'x': 6, 'y': 18},
{'x': 6, 'y': 17},
{'x': 6, 'y': 16},
{'x': 6, 'y': 15},
{'x': 6, 'y': 14},
{'x': 6, 'y': 13},
{'x': 6, 'y': 12},
{'x': 6, 'y': 11},
{'x': 6, 'y': 10},
{'x': 6, 'y': 9},
{'x': 6, 'y': 8},
{'x': 6, 'y': 7},
{'x': 6, 'y': 6},
{'x': 6, 'y': 5},
{'x': 6, 'y': 4},
{'x': 6, 'y': 3},
{'x': 6, 'y': 2},
{'x': 6, 'y': 1},
{'x': 7, 'y': 1},
{'x': 8, 'y': 1},
{'x': 9, 'y': 1},
{'x': 9, 'y': 2}
],
'health': 100,
'id': 'testsnake',
'length': 34,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 30,
'width': 30,
'food': [
{'x': 5, 'y': 8},
]
},
'you': {
'body': [
{'x': 8, 'y': 29},
{'x': 8, 'y': 28},
{'x': 7, 'y': 28},
{'x': 6, 'y': 27},
{'x': 6, 'y': 26},
{'x': 6, 'y': 25},
{'x': 6, 'y': 24},
{'x': 6, 'y': 23},
{'x': 6, 'y': 22},
{'x': 6, 'y': 21},
{'x': 6, 'y': 20},
{'x': 6, 'y': 19},
{'x': 6, 'y': 18},
{'x': 6, 'y': 17},
{'x': 6, 'y': 16},
{'x': 6, 'y': 15},
{'x': 6, 'y': 14},
{'x': 6, 'y': 13},
{'x': 6, 'y': 12},
{'x': 6, 'y': 11},
{'x': 6, 'y': 10},
{'x': 6, 'y': 9},
{'x': 6, 'y': 8},
{'x': 6, 'y': 7},
{'x': 6, 'y': 6},
{'x': 6, 'y': 5},
{'x': 6, 'y': 4},
{'x': 6, 'y': 3},
{'x': 6, 'y': 2},
{'x': 6, 'y': 1},
{'x': 7, 'y': 1},
{'x': 8, 'y': 1},
{'x': 9, 'y': 1},
{'x': 9, 'y': 2}
],
'health': 100,
'id': 'testsnake',
'length': 34,
'name': 'testsnake',
'object': 'snake'
}
}
data9 = {
'board': {
'snakes': [
{'body': [
{'x': 4, 'y': 2},
{'x': 4, 'y': 3},
{'x': 4, 'y': 4},
{'x': 3, 'y': 4},
{'x': 2, 'y': 4},
{'x': 1, 'y': 4},
{'x': 1, 'y': 3},
{'x': 1, 'y': 2},
{'x': 1, 'y': 1},
{'x': 2, 'y': 1},
{'x': 3, 'y': 1},
{'x': 3, 'y': 0},
{'x': 2, 'y': 0}
],
'health': 100,
'id': 'testsnake',
'length': 13,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 10,
'width': 10,
'food': [
{'x': 2, 'y': 6},
]
},
'you': {
'body': [
{'x': 4, 'y': 2},
{'x': 4, 'y': 3},
{'x': 4, 'y': 4},
{'x': 3, 'y': 4},
{'x': 2, 'y': 4},
{'x': 1, 'y': 4},
{'x': 1, 'y': 3},
{'x': 1, 'y': 2},
{'x': 1, 'y': 1},
{'x': 2, 'y': 1},
{'x': 3, 'y': 1},
{'x': 3, 'y': 0},
{'x': 2, 'y': 0}
],
'health': 100,
'id': 'testsnake',
'length': 13,
'name': 'testsnake',
'object': 'snake'
}
}
data_dead_end_with_tail = {
'board': {
'snakes': [
{'body': [
{'x': 6, 'y': 0},
{'x': 6, 'y': 1},
{'x': 6, 'y': 2},
{'x': 6, 'y': 3},
{'x': 5, 'y': 3},
{'x': 4, 'y': 3},
{'x': 4, 'y': 4},
{'x': 4, 'y': 5},
{'x': 3, 'y': 5},
{'x': 2, 'y': 5},
{'x': 1, 'y': 5},
{'x': 1, 'y': 4},
{'x': 1, 'y': 3},
{'x': 0, 'y': 3},
{'x': 0, 'y': 4},
{'x': 0, 'y': 5},
{'x': 0, 'y': 6},
{'x': 1, 'y': 6},
{'x': 2, 'y': 6},
{'x': 3, 'y': 6},
{'x': 4, 'y': 6},
{'x': 5, 'y': 6},
{'x': 6, 'y': 6},
{'x': 7, 'y': 6},
{'x': 7, 'y': 5},
{'x': 7, 'y': 4},
{'x': 7, 'y': 3},
{'x': 7, 'y': 2},
{'x': 7, 'y': 1},
{'x': 8, 'y': 1},
{'x': 8, 'y': 2},
{'x': 9, 'y': 2},
{'x': 10, 'y': 2},
{'x': 10, 'y': 1},
{'x': 10, 'y': 0},
{'x': 11, 'y': 0}
],
'health': 100,
'id': 'testsnake',
'length': 36,
'name': 'testsnake',
'object': 'snake'
}
],
'height': 12,
'width': 12,
'food': [
{'x': 8, 'y': 8},
]
},
'you': {
'body': [
{'x': 6, 'y': 0},
{'x': 6, 'y': 1},
{'x': 6, 'y': 2},
{'x': 6, 'y': 3},
{'x': 5, 'y': 3},
{'x': 4, 'y': 3},
{'x': 4, 'y': 4},
{'x': 4, 'y': 5},
{'x': 3, 'y': 5},
{'x': 2, 'y': 5},
{'x': 1, 'y': 5},
{'x': 1, 'y': 4},
{'x': 1, 'y': 3},
{'x': 0, 'y': 3},
{'x': 0, 'y': 4},
{'x': 0, 'y': 5},
{'x': 0, 'y': 6},
{'x': 1, 'y': 6},
{'x': 2, 'y': 6},
{'x': 3, 'y': 6},
{'x': 4, 'y': 6},
{'x': 5, 'y': 6},
{'x': 6, 'y': 6},
{'x': 7, 'y': 6},
{'x': 7, 'y': 5},
{'x': 7, 'y': 4},
{'x': 7, 'y': 3},
{'x': 7, 'y': 2},
{'x': 7, 'y': 1},
{'x': 8, 'y': 1},
{'x': 8, 'y': 2},
{'x': 9, 'y': 2},
{'x': 10, 'y': 2},
{'x': 10, 'y': 1},
{'x': 10, 'y': 0},
{'x': 11, 'y': 0}
],
'health': 100,
'id': 'testsnake',
'length': 36,
'name': 'testsnake',
'object': 'snake'
}
} | data1 = {'board': {'snakes': [{'body': [{'x': 5, 'y': 5}, {'x': 5, 'y': 6}, {'x': 4, 'y': 6}, {'x': 3, 'y': 6}, {'x': 3, 'y': 5}, {'x': 3, 'y': 4}, {'x': 4, 'y': 4}, {'x': 5, 'y': 4}, {'x': 6, 'y': 4}, {'x': 7, 'y': 4}], 'health': 100, 'id': 'testsnake', 'length': 10, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 2, 'y': 2}]}, 'you': {'body': [{'x': 5, 'y': 5}, {'x': 5, 'y': 6}, {'x': 4, 'y': 6}, {'x': 3, 'y': 6}, {'x': 3, 'y': 5}, {'x': 3, 'y': 4}, {'x': 4, 'y': 6}, {'x': 5, 'y': 6}, {'x': 6, 'y': 6}, {'x': 7, 'y': 6}], 'health': 100, 'id': 'testsnake', 'length': 10, 'name': 'testsnake', 'object': 'snake'}}
data2 = {'board': {'snakes': [{'body': [{'x': 5, 'y': 5}, {'x': 5, 'y': 6}, {'x': 5, 'y': 7}, {'x': 4, 'y': 7}, {'x': 3, 'y': 7}, {'x': 2, 'y': 7}, {'x': 2, 'y': 6}, {'x': 2, 'y': 5}, {'x': 2, 'y': 4}, {'x': 3, 'y': 4}, {'x': 4, 'y': 4}, {'x': 5, 'y': 4}, {'x': 6, 'y': 4}, {'x': 7, 'y': 4}], 'health': 100, 'id': 'testsnake', 'length': 14, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 2, 'y': 2}]}, 'you': {'body': [{'x': 5, 'y': 5}, {'x': 5, 'y': 6}, {'x': 5, 'y': 7}, {'x': 4, 'y': 7}, {'x': 3, 'y': 7}, {'x': 2, 'y': 7}, {'x': 2, 'y': 6}, {'x': 2, 'y': 5}, {'x': 2, 'y': 4}, {'x': 3, 'y': 4}, {'x': 4, 'y': 4}, {'x': 5, 'y': 4}, {'x': 6, 'y': 4}, {'x': 7, 'y': 4}], 'health': 100, 'id': 'testsnake', 'length': 14, 'name': 'testsnake', 'object': 'snake'}}
data3 = {'board': {'snakes': [{'body': [{'x': 0, 'y': 1}, {'x': 1, 'y': 1}], 'health': 100, 'id': 'testsnake', 'length': 2, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 5, 'y': 5}]}, 'you': {'body': [{'x': 0, 'y': 1}, {'x': 1, 'y': 1}], 'health': 100, 'id': 'testsnake', 'length': 2, 'name': 'testsnake', 'object': 'snake'}}
data4 = {'board': {'snakes': [{'body': [{'x': 2, 'y': 0}, {'x': 1, 'y': 0}, {'x': 0, 'y': 0}, {'x': 0, 'y': 1}], 'health': 100, 'id': 'testsnake', 'length': 4, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 1, 'y': 1}]}, 'you': {'body': [{'x': 2, 'y': 0}, {'x': 1, 'y': 0}, {'x': 0, 'y': 0}, {'x': 0, 'y': 1}], 'health': 100, 'id': 'testsnake', 'length': 4, 'name': 'testsnake', 'object': 'snake'}}
data5 = {'board': {'snakes': [{'body': [{'x': 3, 'y': 0}, {'x': 3, 'y': 0}, {'x': 3, 'y': 0}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 1, 'y': 1}]}, 'you': {'body': [{'x': 3, 'y': 0}, {'x': 3, 'y': 0}, {'x': 3, 'y': 0}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}}
data52 = {'board': {'snakes': [{'body': [{'x': 0, 'y': 3}, {'x': 0, 'y': 3}, {'x': 0, 'y': 3}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 1, 'y': 1}]}, 'you': {'body': [{'x': 0, 'y': 3}, {'x': 0, 'y': 3}, {'x': 0, 'y': 3}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}}
data53 = {'board': {'snakes': [{'body': [{'x': 3, 'y': 9}, {'x': 3, 'y': 9}, {'x': 3, 'y': 9}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 1, 'y': 1}]}, 'you': {'body': [{'x': 3, 'y': 9}, {'x': 3, 'y': 9}, {'x': 3, 'y': 9}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}}
data54 = {'board': {'snakes': [{'body': [{'x': 9, 'y': 3}, {'x': 9, 'y': 3}, {'x': 9, 'y': 3}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 1, 'y': 1}]}, 'you': {'body': [{'x': 9, 'y': 3}, {'x': 9, 'y': 3}, {'x': 9, 'y': 3}], 'health': 100, 'id': 'testsnake', 'length': 3, 'name': 'testsnake', 'object': 'snake'}}
data6 = {'board': {'snakes': [{'body': [{'x': 0, 'y': 7}, {'x': 0, 'y': 8}, {'x': 1, 'y': 8}, {'x': 1, 'y': 7}, {'x': 1, 'y': 6}, {'x': 1, 'y': 5}, {'x': 1, 'y': 4}], 'health': 100, 'id': 'testsnake', 'length': 7, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 5, 'y': 8}]}, 'you': {'body': [{'x': 0, 'y': 7}, {'x': 0, 'y': 8}, {'x': 1, 'y': 8}, {'x': 1, 'y': 7}, {'x': 1, 'y': 6}, {'x': 1, 'y': 5}, {'x': 1, 'y': 4}], 'health': 100, 'id': 'testsnake', 'length': 7, 'name': 'testsnake', 'object': 'snake'}}
data7 = {'board': {'snakes': [{'body': [{'x': 4, 'y': 2}, {'x': 4, 'y': 1}, {'x': 5, 'y': 1}, {'x': 5, 'y': 2}, {'x': 5, 'y': 3}, {'x': 5, 'y': 4}, {'x': 5, 'y': 5}, {'x': 4, 'y': 5}, {'x': 3, 'y': 5}, {'x': 3, 'y': 4}, {'x': 3, 'y': 3}, {'x': 2, 'y': 3}, {'x': 1, 'y': 3}], 'health': 100, 'id': 'testsnake', 'length': 13, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 5, 'y': 8}]}, 'you': {'body': [{'x': 4, 'y': 2}, {'x': 4, 'y': 1}, {'x': 5, 'y': 1}, {'x': 5, 'y': 2}, {'x': 5, 'y': 3}, {'x': 5, 'y': 4}, {'x': 5, 'y': 5}, {'x': 4, 'y': 5}, {'x': 3, 'y': 5}, {'x': 3, 'y': 4}, {'x': 3, 'y': 3}, {'x': 2, 'y': 3}, {'x': 1, 'y': 3}], 'health': 100, 'id': 'testsnake', 'length': 13, 'name': 'testsnake', 'object': 'snake'}}
data8 = {'board': {'snakes': [{'body': [{'x': 8, 'y': 29}, {'x': 8, 'y': 28}, {'x': 7, 'y': 28}, {'x': 6, 'y': 27}, {'x': 6, 'y': 26}, {'x': 6, 'y': 25}, {'x': 6, 'y': 24}, {'x': 6, 'y': 23}, {'x': 6, 'y': 22}, {'x': 6, 'y': 21}, {'x': 6, 'y': 20}, {'x': 6, 'y': 19}, {'x': 6, 'y': 18}, {'x': 6, 'y': 17}, {'x': 6, 'y': 16}, {'x': 6, 'y': 15}, {'x': 6, 'y': 14}, {'x': 6, 'y': 13}, {'x': 6, 'y': 12}, {'x': 6, 'y': 11}, {'x': 6, 'y': 10}, {'x': 6, 'y': 9}, {'x': 6, 'y': 8}, {'x': 6, 'y': 7}, {'x': 6, 'y': 6}, {'x': 6, 'y': 5}, {'x': 6, 'y': 4}, {'x': 6, 'y': 3}, {'x': 6, 'y': 2}, {'x': 6, 'y': 1}, {'x': 7, 'y': 1}, {'x': 8, 'y': 1}, {'x': 9, 'y': 1}, {'x': 9, 'y': 2}], 'health': 100, 'id': 'testsnake', 'length': 34, 'name': 'testsnake', 'object': 'snake'}], 'height': 30, 'width': 30, 'food': [{'x': 5, 'y': 8}]}, 'you': {'body': [{'x': 8, 'y': 29}, {'x': 8, 'y': 28}, {'x': 7, 'y': 28}, {'x': 6, 'y': 27}, {'x': 6, 'y': 26}, {'x': 6, 'y': 25}, {'x': 6, 'y': 24}, {'x': 6, 'y': 23}, {'x': 6, 'y': 22}, {'x': 6, 'y': 21}, {'x': 6, 'y': 20}, {'x': 6, 'y': 19}, {'x': 6, 'y': 18}, {'x': 6, 'y': 17}, {'x': 6, 'y': 16}, {'x': 6, 'y': 15}, {'x': 6, 'y': 14}, {'x': 6, 'y': 13}, {'x': 6, 'y': 12}, {'x': 6, 'y': 11}, {'x': 6, 'y': 10}, {'x': 6, 'y': 9}, {'x': 6, 'y': 8}, {'x': 6, 'y': 7}, {'x': 6, 'y': 6}, {'x': 6, 'y': 5}, {'x': 6, 'y': 4}, {'x': 6, 'y': 3}, {'x': 6, 'y': 2}, {'x': 6, 'y': 1}, {'x': 7, 'y': 1}, {'x': 8, 'y': 1}, {'x': 9, 'y': 1}, {'x': 9, 'y': 2}], 'health': 100, 'id': 'testsnake', 'length': 34, 'name': 'testsnake', 'object': 'snake'}}
data9 = {'board': {'snakes': [{'body': [{'x': 4, 'y': 2}, {'x': 4, 'y': 3}, {'x': 4, 'y': 4}, {'x': 3, 'y': 4}, {'x': 2, 'y': 4}, {'x': 1, 'y': 4}, {'x': 1, 'y': 3}, {'x': 1, 'y': 2}, {'x': 1, 'y': 1}, {'x': 2, 'y': 1}, {'x': 3, 'y': 1}, {'x': 3, 'y': 0}, {'x': 2, 'y': 0}], 'health': 100, 'id': 'testsnake', 'length': 13, 'name': 'testsnake', 'object': 'snake'}], 'height': 10, 'width': 10, 'food': [{'x': 2, 'y': 6}]}, 'you': {'body': [{'x': 4, 'y': 2}, {'x': 4, 'y': 3}, {'x': 4, 'y': 4}, {'x': 3, 'y': 4}, {'x': 2, 'y': 4}, {'x': 1, 'y': 4}, {'x': 1, 'y': 3}, {'x': 1, 'y': 2}, {'x': 1, 'y': 1}, {'x': 2, 'y': 1}, {'x': 3, 'y': 1}, {'x': 3, 'y': 0}, {'x': 2, 'y': 0}], 'health': 100, 'id': 'testsnake', 'length': 13, 'name': 'testsnake', 'object': 'snake'}}
data_dead_end_with_tail = {'board': {'snakes': [{'body': [{'x': 6, 'y': 0}, {'x': 6, 'y': 1}, {'x': 6, 'y': 2}, {'x': 6, 'y': 3}, {'x': 5, 'y': 3}, {'x': 4, 'y': 3}, {'x': 4, 'y': 4}, {'x': 4, 'y': 5}, {'x': 3, 'y': 5}, {'x': 2, 'y': 5}, {'x': 1, 'y': 5}, {'x': 1, 'y': 4}, {'x': 1, 'y': 3}, {'x': 0, 'y': 3}, {'x': 0, 'y': 4}, {'x': 0, 'y': 5}, {'x': 0, 'y': 6}, {'x': 1, 'y': 6}, {'x': 2, 'y': 6}, {'x': 3, 'y': 6}, {'x': 4, 'y': 6}, {'x': 5, 'y': 6}, {'x': 6, 'y': 6}, {'x': 7, 'y': 6}, {'x': 7, 'y': 5}, {'x': 7, 'y': 4}, {'x': 7, 'y': 3}, {'x': 7, 'y': 2}, {'x': 7, 'y': 1}, {'x': 8, 'y': 1}, {'x': 8, 'y': 2}, {'x': 9, 'y': 2}, {'x': 10, 'y': 2}, {'x': 10, 'y': 1}, {'x': 10, 'y': 0}, {'x': 11, 'y': 0}], 'health': 100, 'id': 'testsnake', 'length': 36, 'name': 'testsnake', 'object': 'snake'}], 'height': 12, 'width': 12, 'food': [{'x': 8, 'y': 8}]}, 'you': {'body': [{'x': 6, 'y': 0}, {'x': 6, 'y': 1}, {'x': 6, 'y': 2}, {'x': 6, 'y': 3}, {'x': 5, 'y': 3}, {'x': 4, 'y': 3}, {'x': 4, 'y': 4}, {'x': 4, 'y': 5}, {'x': 3, 'y': 5}, {'x': 2, 'y': 5}, {'x': 1, 'y': 5}, {'x': 1, 'y': 4}, {'x': 1, 'y': 3}, {'x': 0, 'y': 3}, {'x': 0, 'y': 4}, {'x': 0, 'y': 5}, {'x': 0, 'y': 6}, {'x': 1, 'y': 6}, {'x': 2, 'y': 6}, {'x': 3, 'y': 6}, {'x': 4, 'y': 6}, {'x': 5, 'y': 6}, {'x': 6, 'y': 6}, {'x': 7, 'y': 6}, {'x': 7, 'y': 5}, {'x': 7, 'y': 4}, {'x': 7, 'y': 3}, {'x': 7, 'y': 2}, {'x': 7, 'y': 1}, {'x': 8, 'y': 1}, {'x': 8, 'y': 2}, {'x': 9, 'y': 2}, {'x': 10, 'y': 2}, {'x': 10, 'y': 1}, {'x': 10, 'y': 0}, {'x': 11, 'y': 0}], 'health': 100, 'id': 'testsnake', 'length': 36, 'name': 'testsnake', 'object': 'snake'}} |
# python 3.6
def camel2pothole(string):
rst = "".join(["_" + s.lower() if s == s.upper() or s.isdigit() else s for s in string])
return rst
print(camel2pothole("codingDojang"))
print(camel2pothole("numGoat30")) | def camel2pothole(string):
rst = ''.join(['_' + s.lower() if s == s.upper() or s.isdigit() else s for s in string])
return rst
print(camel2pothole('codingDojang'))
print(camel2pothole('numGoat30')) |
browsers = [
{
'id': 'chrome',
'name': 'Chrome'
},
{
'id': 'chromium',
'name': 'Chromium'
},
{
'id': 'firefox',
'name': 'Firefox'
},
{
'id': 'safari',
'name': 'Safari'
},
{
'id': 'msie',
'name': 'Internet Explorer'
},
{
'id': 'msedge',
'name': 'Microsoft Edge'
},
{
'id': 'opera',
'name': 'Opera'
},
{
'id': 'yandexbrowser',
'name': 'Yandex.Browser'
},
{
'id': 'ios',
'name': 'iOS'
},
{
'id': 'android',
'name': 'Android'
},
{
'id': 'samsungBrowser',
'name': 'Samsung Internet'
}
]
| browsers = [{'id': 'chrome', 'name': 'Chrome'}, {'id': 'chromium', 'name': 'Chromium'}, {'id': 'firefox', 'name': 'Firefox'}, {'id': 'safari', 'name': 'Safari'}, {'id': 'msie', 'name': 'Internet Explorer'}, {'id': 'msedge', 'name': 'Microsoft Edge'}, {'id': 'opera', 'name': 'Opera'}, {'id': 'yandexbrowser', 'name': 'Yandex.Browser'}, {'id': 'ios', 'name': 'iOS'}, {'id': 'android', 'name': 'Android'}, {'id': 'samsungBrowser', 'name': 'Samsung Internet'}] |
N, K, S = [int(n) for n in input().split()]
ans = []
for i in range(N-K):
ans.append(S+1 if S<10**9 else 1)
for j in range(K):
ans.append(S)
print(" ".join([str(n) for n in ans]))
| (n, k, s) = [int(n) for n in input().split()]
ans = []
for i in range(N - K):
ans.append(S + 1 if S < 10 ** 9 else 1)
for j in range(K):
ans.append(S)
print(' '.join([str(n) for n in ans])) |
#Binary Tree Level Order BFS&DFS
class Solution(object):
def levelOrder(self, root):
if not root:
return []
result = []
queue = collections.deque()
queue.append(root)
#visited = set(root)
while queue:
level_size = len(queue)
current_level = []
for _ in range(level_size):
node = queue.popleft()
current_level.append(node.val)
if node.left and node:
queue.append(node.left)
if node.right.append(node.right):
queue.append(node.right)
result = append(current_level)
return result
#Binary Tree Level Order BFS&DFS
# class solution(object):
# def levelOrder(self, root):
# if not root:
# return []
# self.result = []
# self._dfs(root, 0)
# return self.result
# def _dfs(self, root, level):
# if not node:
# return
# if len(self.result) < level + 1:
# self.return.append([])
# self.result[level].append([])
# self._dfs(node.left, level+1)
# self._dfs(node.right, level+1) | class Solution(object):
def level_order(self, root):
if not root:
return []
result = []
queue = collections.deque()
queue.append(root)
while queue:
level_size = len(queue)
current_level = []
for _ in range(level_size):
node = queue.popleft()
current_level.append(node.val)
if node.left and node:
queue.append(node.left)
if node.right.append(node.right):
queue.append(node.right)
result = append(current_level)
return result |
# Python Learning Lessons
some_var = int(input("Give me a number, any number: "))
if some_var > 10:
print("The number is bigger than tenerooonie.")
elif some_var < 10:
print("The numbah is smaller than 10.")
elif some_var == 10:
("YO. The numbah is TEN!")
some_name = str(input("Hey, what's your name, kid: "))
print("Pleasure to meet ya, numbah, " + some_name)
| some_var = int(input('Give me a number, any number: '))
if some_var > 10:
print('The number is bigger than tenerooonie.')
elif some_var < 10:
print('The numbah is smaller than 10.')
elif some_var == 10:
'YO. The numbah is TEN!'
some_name = str(input("Hey, what's your name, kid: "))
print('Pleasure to meet ya, numbah, ' + some_name) |
class SubClass():
def __init__(self):
self.message = 'init - SubFile - mtulio.example.sub Class'
def returnMessage(self):
return self.message
def subMessageHelloWorld():
return 'init - SubFile - mtulio.example.sub Method'
| class Subclass:
def __init__(self):
self.message = 'init - SubFile - mtulio.example.sub Class'
def return_message(self):
return self.message
def sub_message_hello_world():
return 'init - SubFile - mtulio.example.sub Method' |
# coding=utf-8
# *** WARNING: this file was generated by crd2pulumi. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
SNAKE_TO_CAMEL_CASE_TABLE = {
"api_version": "apiVersion",
"attacher_node_selector": "attacherNodeSelector",
"driver_registrar": "driverRegistrar",
"gui_host": "guiHost",
"gui_port": "guiPort",
"image_pull_secrets": "imagePullSecrets",
"inode_limit": "inodeLimit",
"k8s_node": "k8sNode",
"node_mapping": "nodeMapping",
"plugin_node_selector": "pluginNodeSelector",
"primary_fs": "primaryFs",
"primary_fset": "primaryFset",
"provisioner_node_selector": "provisionerNodeSelector",
"ready": "Ready",
"remote_cluster": "remoteCluster",
"rest_api": "restApi",
"scale_hostpath": "scaleHostpath",
"secret_counter": "secretCounter",
"secure_ssl_mode": "secureSslMode",
"spectrum_scale": "spectrumScale",
"spectrumscale_node": "spectrumscaleNode",
"toleration_seconds": "tolerationSeconds",
}
CAMEL_TO_SNAKE_CASE_TABLE = {
"apiVersion": "api_version",
"attacherNodeSelector": "attacher_node_selector",
"driverRegistrar": "driver_registrar",
"guiHost": "gui_host",
"guiPort": "gui_port",
"imagePullSecrets": "image_pull_secrets",
"inodeLimit": "inode_limit",
"k8sNode": "k8s_node",
"nodeMapping": "node_mapping",
"pluginNodeSelector": "plugin_node_selector",
"primaryFs": "primary_fs",
"primaryFset": "primary_fset",
"provisionerNodeSelector": "provisioner_node_selector",
"Ready": "ready",
"remoteCluster": "remote_cluster",
"restApi": "rest_api",
"scaleHostpath": "scale_hostpath",
"secretCounter": "secret_counter",
"secureSslMode": "secure_ssl_mode",
"spectrumScale": "spectrum_scale",
"spectrumscaleNode": "spectrumscale_node",
"tolerationSeconds": "toleration_seconds",
}
| snake_to_camel_case_table = {'api_version': 'apiVersion', 'attacher_node_selector': 'attacherNodeSelector', 'driver_registrar': 'driverRegistrar', 'gui_host': 'guiHost', 'gui_port': 'guiPort', 'image_pull_secrets': 'imagePullSecrets', 'inode_limit': 'inodeLimit', 'k8s_node': 'k8sNode', 'node_mapping': 'nodeMapping', 'plugin_node_selector': 'pluginNodeSelector', 'primary_fs': 'primaryFs', 'primary_fset': 'primaryFset', 'provisioner_node_selector': 'provisionerNodeSelector', 'ready': 'Ready', 'remote_cluster': 'remoteCluster', 'rest_api': 'restApi', 'scale_hostpath': 'scaleHostpath', 'secret_counter': 'secretCounter', 'secure_ssl_mode': 'secureSslMode', 'spectrum_scale': 'spectrumScale', 'spectrumscale_node': 'spectrumscaleNode', 'toleration_seconds': 'tolerationSeconds'}
camel_to_snake_case_table = {'apiVersion': 'api_version', 'attacherNodeSelector': 'attacher_node_selector', 'driverRegistrar': 'driver_registrar', 'guiHost': 'gui_host', 'guiPort': 'gui_port', 'imagePullSecrets': 'image_pull_secrets', 'inodeLimit': 'inode_limit', 'k8sNode': 'k8s_node', 'nodeMapping': 'node_mapping', 'pluginNodeSelector': 'plugin_node_selector', 'primaryFs': 'primary_fs', 'primaryFset': 'primary_fset', 'provisionerNodeSelector': 'provisioner_node_selector', 'Ready': 'ready', 'remoteCluster': 'remote_cluster', 'restApi': 'rest_api', 'scaleHostpath': 'scale_hostpath', 'secretCounter': 'secret_counter', 'secureSslMode': 'secure_ssl_mode', 'spectrumScale': 'spectrum_scale', 'spectrumscaleNode': 'spectrumscale_node', 'tolerationSeconds': 'toleration_seconds'} |
STATS = [
{
"num_node_expansions": NaN,
"plan_length": 35,
"search_time": 7.93,
"total_time": 7.93
},
{
"num_node_expansions": NaN,
"plan_length": 34,
"search_time": 9.72,
"total_time": 9.72
},
{
"num_node_expansions": NaN,
"plan_length": 40,
"search_time": 15.54,
"total_time": 15.54
},
{
"num_node_expansions": NaN,
"plan_length": 23,
"search_time": 1.99,
"total_time": 1.99
},
{
"num_node_expansions": NaN,
"plan_length": 24,
"search_time": 1.22,
"total_time": 1.22
},
{
"num_node_expansions": NaN,
"plan_length": 23,
"search_time": 2.58,
"total_time": 2.58
},
{
"num_node_expansions": NaN,
"plan_length": 19,
"search_time": 1.62,
"total_time": 1.62
},
{
"num_node_expansions": NaN,
"plan_length": 23,
"search_time": 1.43,
"total_time": 1.43
},
{
"num_node_expansions": NaN,
"plan_length": 20,
"search_time": 0.72,
"total_time": 0.72
},
{
"num_node_expansions": NaN,
"plan_length": 29,
"search_time": 0.84,
"total_time": 0.84
},
{
"num_node_expansions": NaN,
"plan_length": 28,
"search_time": 1.08,
"total_time": 1.08
},
{
"num_node_expansions": NaN,
"plan_length": 21,
"search_time": 0.71,
"total_time": 0.71
},
{
"num_node_expansions": NaN,
"plan_length": 26,
"search_time": 1.97,
"total_time": 1.97
},
{
"num_node_expansions": NaN,
"plan_length": 29,
"search_time": 2.29,
"total_time": 2.29
},
{
"num_node_expansions": NaN,
"plan_length": 29,
"search_time": 2.64,
"total_time": 2.64
},
{
"num_node_expansions": NaN,
"plan_length": 23,
"search_time": 1.73,
"total_time": 1.73
},
{
"num_node_expansions": NaN,
"plan_length": 20,
"search_time": 0.97,
"total_time": 0.97
},
{
"num_node_expansions": NaN,
"plan_length": 34,
"search_time": 3.95,
"total_time": 3.95
}
]
num_timeouts = 12
num_timeouts = 25
num_problems = 55
| stats = [{'num_node_expansions': NaN, 'plan_length': 35, 'search_time': 7.93, 'total_time': 7.93}, {'num_node_expansions': NaN, 'plan_length': 34, 'search_time': 9.72, 'total_time': 9.72}, {'num_node_expansions': NaN, 'plan_length': 40, 'search_time': 15.54, 'total_time': 15.54}, {'num_node_expansions': NaN, 'plan_length': 23, 'search_time': 1.99, 'total_time': 1.99}, {'num_node_expansions': NaN, 'plan_length': 24, 'search_time': 1.22, 'total_time': 1.22}, {'num_node_expansions': NaN, 'plan_length': 23, 'search_time': 2.58, 'total_time': 2.58}, {'num_node_expansions': NaN, 'plan_length': 19, 'search_time': 1.62, 'total_time': 1.62}, {'num_node_expansions': NaN, 'plan_length': 23, 'search_time': 1.43, 'total_time': 1.43}, {'num_node_expansions': NaN, 'plan_length': 20, 'search_time': 0.72, 'total_time': 0.72}, {'num_node_expansions': NaN, 'plan_length': 29, 'search_time': 0.84, 'total_time': 0.84}, {'num_node_expansions': NaN, 'plan_length': 28, 'search_time': 1.08, 'total_time': 1.08}, {'num_node_expansions': NaN, 'plan_length': 21, 'search_time': 0.71, 'total_time': 0.71}, {'num_node_expansions': NaN, 'plan_length': 26, 'search_time': 1.97, 'total_time': 1.97}, {'num_node_expansions': NaN, 'plan_length': 29, 'search_time': 2.29, 'total_time': 2.29}, {'num_node_expansions': NaN, 'plan_length': 29, 'search_time': 2.64, 'total_time': 2.64}, {'num_node_expansions': NaN, 'plan_length': 23, 'search_time': 1.73, 'total_time': 1.73}, {'num_node_expansions': NaN, 'plan_length': 20, 'search_time': 0.97, 'total_time': 0.97}, {'num_node_expansions': NaN, 'plan_length': 34, 'search_time': 3.95, 'total_time': 3.95}]
num_timeouts = 12
num_timeouts = 25
num_problems = 55 |
def a():
pass
# This is commented
# out
| def a():
pass |
def makeArrayConsecutive2(statues):
'''Ratiorg got statues of different sizes as a present from CodeMaster
for his birthday, each statue having an non-negative integer size.
Since he likes to make things perfect, he wants to arrange them from
smallest to largest so that each statue will be bigger than the previous
one exactly by 1. He may need some additional statues to be able to
accomplish that. Help him figure out the minimum number of additional
statues needed.
'''
minValue = min(statues)
maxvalue = max(statues)
return maxvalue - minValue - len(statues) + 1
print(makeArrayConsecutive2([6, 2, 3, 8])) | def make_array_consecutive2(statues):
"""Ratiorg got statues of different sizes as a present from CodeMaster
for his birthday, each statue having an non-negative integer size.
Since he likes to make things perfect, he wants to arrange them from
smallest to largest so that each statue will be bigger than the previous
one exactly by 1. He may need some additional statues to be able to
accomplish that. Help him figure out the minimum number of additional
statues needed.
"""
min_value = min(statues)
maxvalue = max(statues)
return maxvalue - minValue - len(statues) + 1
print(make_array_consecutive2([6, 2, 3, 8])) |
def is_list(v):
return isinstance(v, list)
def is_list_of_type(v, t):
return is_list(v) and all(isinstance(e, t) for e in v)
def flatten_indices(indices):
# indices could be nested nested list, we convert them to nested list
# if indices is not a list, then there is something wrong
if not is_list(indices): raise ValueError('indices is not a list')
# if indices is a list of integer, then we are done
if is_list_of_type(indices, int): return indices
# if indices is a list of list
flat_indices = []
for inds in indices:
if is_list_of_type(inds, int): flat_indices.append(inds)
else: flat_indices.extend(flatten_indices(inds))
return flat_indices
def flatten_scores(scores):
# scores could be nested list, we convert them to list of floats
if isinstance(scores, float): return scores
# instead of using deepflatten, i will write my own flatten function
# because i am not sure how deepflatten iterates (depth-first or breadth-first)
flat_scores = []
for score in scores:
if isinstance(score, float): flat_scores.append(score)
else: flat_scores.extend(flatten_scores(score))
return flat_scores
| def is_list(v):
return isinstance(v, list)
def is_list_of_type(v, t):
return is_list(v) and all((isinstance(e, t) for e in v))
def flatten_indices(indices):
if not is_list(indices):
raise value_error('indices is not a list')
if is_list_of_type(indices, int):
return indices
flat_indices = []
for inds in indices:
if is_list_of_type(inds, int):
flat_indices.append(inds)
else:
flat_indices.extend(flatten_indices(inds))
return flat_indices
def flatten_scores(scores):
if isinstance(scores, float):
return scores
flat_scores = []
for score in scores:
if isinstance(score, float):
flat_scores.append(score)
else:
flat_scores.extend(flatten_scores(score))
return flat_scores |
s1 = "HELLO BEGINNERS"
print(s1.casefold()) # -- CF1
s2 = "Hello Beginners"
print(s2.casefold()) # -- CF2
if s1.casefold() == s2.casefold(): # -- CF3
print("Both the strings are same after conversion")
else:
print("Both the strings are different after conversion ")
| s1 = 'HELLO BEGINNERS'
print(s1.casefold())
s2 = 'Hello Beginners'
print(s2.casefold())
if s1.casefold() == s2.casefold():
print('Both the strings are same after conversion')
else:
print('Both the strings are different after conversion ') |
n = list(map(int, input("[>] Enter numbers: ").split()))
n.sort()
for i in range(3):
for j in range(3):
print(f"{n[i]} + {n[j]} = {n[i] + n[j]}", end="\t")
print()
| n = list(map(int, input('[>] Enter numbers: ').split()))
n.sort()
for i in range(3):
for j in range(3):
print(f'{n[i]} + {n[j]} = {n[i] + n[j]}', end='\t')
print() |
class Solution:
def sortColors(self, nums: List[int]) -> None:
# If 2, put it at the tail
# if 0, put it at the head and move idx to next
# If 1, move idx to next
idx = 0
for _ in range(len(nums)):
if nums[idx] == 2:
nums.append(nums.pop(idx))
continue
elif nums[idx] == 0:
nums.insert(0, nums.pop(idx))
idx += 1 | class Solution:
def sort_colors(self, nums: List[int]) -> None:
idx = 0
for _ in range(len(nums)):
if nums[idx] == 2:
nums.append(nums.pop(idx))
continue
elif nums[idx] == 0:
nums.insert(0, nums.pop(idx))
idx += 1 |
{
'targets': [
{
'conditions': [
[ 'OS != "linux"', {
'target_name': 'procps_only_supported_on_linux',
} ],
[ 'OS == "linux"', {
'target_name': 'procps',
'sources': [
'src/procps.cc'
, 'src/proc.cc'
, 'src/diskstat.cc'
, 'src/partitionstat.cc'
, 'src/slabcache.cc'
, 'deps/procps/proc/alloc.c'
, 'deps/procps/proc/devname.c'
, 'deps/procps/proc/escape.c'
, 'deps/procps/proc/ksym.c'
, 'deps/procps/proc/pwcache.c'
, 'deps/procps/proc/readproc.c'
, 'deps/procps/proc/sig.c'
, 'deps/procps/proc/slab.c'
, 'deps/procps/proc/sysinfo.c'
, 'deps/procps/proc/version.c'
, 'deps/procps/proc/whattime.c'
],
'include_dirs': [
'./deps/procps/include/'
, './deps/procps/'
, '<!(node -e "require(\'nan\')")'
],
# VERSION numbers are picked up by procps (see procps/proc/version.c)
# TODO: Why does the C++ compiler pick up the C flags and complain about them ???
'cflags': [
'-DPACKAGE_NAME=\"procps\"'
, '-DPACKAGE_VERSION=\"3.3.9\"'
, '-DBUILD_WITH_WHINE=1'
],
'cflags!' : [ '-fno-exceptions', '-fno-tree-vrp', '-fno-tree-sink' ],
'cflags_c' : [ '--std=gnu99', '-Wno-string-plus-int', '-Wno-sign-compare' ],
'cflags_cc' : [ '-fexceptions', '-frtti' ],
} ],
]
}
]
}
| {'targets': [{'conditions': [['OS != "linux"', {'target_name': 'procps_only_supported_on_linux'}], ['OS == "linux"', {'target_name': 'procps', 'sources': ['src/procps.cc', 'src/proc.cc', 'src/diskstat.cc', 'src/partitionstat.cc', 'src/slabcache.cc', 'deps/procps/proc/alloc.c', 'deps/procps/proc/devname.c', 'deps/procps/proc/escape.c', 'deps/procps/proc/ksym.c', 'deps/procps/proc/pwcache.c', 'deps/procps/proc/readproc.c', 'deps/procps/proc/sig.c', 'deps/procps/proc/slab.c', 'deps/procps/proc/sysinfo.c', 'deps/procps/proc/version.c', 'deps/procps/proc/whattime.c'], 'include_dirs': ['./deps/procps/include/', './deps/procps/', '<!(node -e "require(\'nan\')")'], 'cflags': ['-DPACKAGE_NAME="procps"', '-DPACKAGE_VERSION="3.3.9"', '-DBUILD_WITH_WHINE=1'], 'cflags!': ['-fno-exceptions', '-fno-tree-vrp', '-fno-tree-sink'], 'cflags_c': ['--std=gnu99', '-Wno-string-plus-int', '-Wno-sign-compare'], 'cflags_cc': ['-fexceptions', '-frtti']}]]}]} |
ROMAN = 'IVXLCDM'
def get_list_from_number(number):
return [int(num) for num in str(number)]
def get_roman_from_base(base_indexes, magnitude):
roman = ""
for i in base_indexes:
roman += ROMAN[i + magnitude*2]
return roman
def convert_number_to_base_indexes(number):
# Convert a number to a list of indexes, ie, 3 = [0, 0, 0] = [I, I, I]
# This handles 5-9 by adding 1 to the index
# and handles the different digits needed by 4 and 9
base_indexes = ["", "0", "00", "000", "01", "1", "10", "100", "1000", "02"]
return [int(x) for x in base_indexes[number]]
def roman_numeral(number):
roman = ''
number_list = get_list_from_number(number)
roman = rec_roman(number_list)
return roman
def rec_roman(list_of_numbers):
largest_factor = len(list_of_numbers) - 1
if largest_factor < 0:
return ''
largest_num = list_of_numbers[0]
base_indexes = convert_number_to_base_indexes(largest_num)
current_roman = get_roman_from_base(base_indexes, largest_factor)
roman = current_roman + rec_roman(list_of_numbers[1:])
return roman
if __name__ == '__main__':
print(roman_numeral(345))
| roman = 'IVXLCDM'
def get_list_from_number(number):
return [int(num) for num in str(number)]
def get_roman_from_base(base_indexes, magnitude):
roman = ''
for i in base_indexes:
roman += ROMAN[i + magnitude * 2]
return roman
def convert_number_to_base_indexes(number):
base_indexes = ['', '0', '00', '000', '01', '1', '10', '100', '1000', '02']
return [int(x) for x in base_indexes[number]]
def roman_numeral(number):
roman = ''
number_list = get_list_from_number(number)
roman = rec_roman(number_list)
return roman
def rec_roman(list_of_numbers):
largest_factor = len(list_of_numbers) - 1
if largest_factor < 0:
return ''
largest_num = list_of_numbers[0]
base_indexes = convert_number_to_base_indexes(largest_num)
current_roman = get_roman_from_base(base_indexes, largest_factor)
roman = current_roman + rec_roman(list_of_numbers[1:])
return roman
if __name__ == '__main__':
print(roman_numeral(345)) |
# SPDX-FileCopyrightText: 2020 - Sebastian Ritter <bastie@users.noreply.github.com>
# SPDX-License-Identifier: Apache-2.0
'''
## *J*ust *a* *v*ampire *A*PI ##
As same as bloodhound let us reimplement the Java API.
This is similar to long time ago
[JavAPI](https://github.com/RealBastie/JavApi) project.
### The Idea ###
Too many good programming languages are looking for developers hype.
Maybe You believe to coding in all important languages. I want to
take a good or the best language for my problem. But why the have
different API interfaces?
Why it isn't enough only learn the syntax and a little bit semantic?
### The Java way ###
It think it is a good way to take a look into a new programming language
to reimplement something. Java was great - perhaps Java is great, maybe
not longer more. I don't no, but I learned Java before the year 2000. So
I know the old API good enough to reimplement.
Just like a vampire take the good base of Java, the API declaration and
**do the hard work: implement the code behind.**
### The reason ###
I like many programming languages or parts of these - Java, C#, Rust, COBOL,
PHP, Swift,...
But I like to create a solution for a problem more than using one single
programming language. And I believe we do not need more programmer, we need
the right programmer this time. I think with natural language processing
and the power of computer we can develop with description of problems in
natural language.
Python is a programming language with many natural language processing API.
So I take Python and Java is the (or with COBOL one of) backend programming
languages.
### API description ###
If a class and method is defined, take a look to Java API documentation.
### see also ###
* [GitHub](https://github.com/bastie/PythonVampire)
* [PyPI](https://pypi.org/project/VampireAPI/)
'''
| """
## *J*ust *a* *v*ampire *A*PI ##
As same as bloodhound let us reimplement the Java API.
This is similar to long time ago
[JavAPI](https://github.com/RealBastie/JavApi) project.
### The Idea ###
Too many good programming languages are looking for developers hype.
Maybe You believe to coding in all important languages. I want to
take a good or the best language for my problem. But why the have
different API interfaces?
Why it isn't enough only learn the syntax and a little bit semantic?
### The Java way ###
It think it is a good way to take a look into a new programming language
to reimplement something. Java was great - perhaps Java is great, maybe
not longer more. I don't no, but I learned Java before the year 2000. So
I know the old API good enough to reimplement.
Just like a vampire take the good base of Java, the API declaration and
**do the hard work: implement the code behind.**
### The reason ###
I like many programming languages or parts of these - Java, C#, Rust, COBOL,
PHP, Swift,...
But I like to create a solution for a problem more than using one single
programming language. And I believe we do not need more programmer, we need
the right programmer this time. I think with natural language processing
and the power of computer we can develop with description of problems in
natural language.
Python is a programming language with many natural language processing API.
So I take Python and Java is the (or with COBOL one of) backend programming
languages.
### API description ###
If a class and method is defined, take a look to Java API documentation.
### see also ###
* [GitHub](https://github.com/bastie/PythonVampire)
* [PyPI](https://pypi.org/project/VampireAPI/)
""" |
class Meal:
def __init__(self,id,name,photo_url,details,price):
self.id = id
self.name = name
self.photo_url = photo_url
self.details = details
self.price = price
meal_list = []
orders_list = []
class Customer:
def get_all(self):
return meal_list
def get_meal_by_id(self, id):
result = None
for meal in meal_list:
if meal.id == id:
result = meal
break
return result
def add_meal(self,id):
meal = self.get_meal_by_id(id)
orders_list.append(meal)
class Admin:
def add_new_meal(self,meal):
meal_list.append(meal)
return meal_list
def get_orders(self):
return orders_list
def get_by_id(self,id):
result = None
for meal in orders_list:
if meal.id == id:
result = meal
break
return result
def update(self,id,fields):
meal = self.get_by_id(id)
meal.name = fields['name']
meal.photo_url = fields['photo_url']
meal.details = fields['details']
meal.price = fields['price']
return meal
def delete(self,id):
meal = self.get_by_id(id)
meal_list.remove(meal)
return orders_list
meal1 = Meal(id=1,
name='Lasagna Roll',
photo_url='https://thestayathomechef.com/wp-content/uploads/2017/08/Most-Amazing-Lasagna-4-e1503516670834.jpg',
details='Homemade Lasagna',
price='$40')
meal2 = Meal(id=2,
name='pasta',
photo_url='https://food.fnr.sndimg.com/content/dam/images/food/fullset/2019/1/07/0/JE401_Giadas-Pasta-with-Creamy-White-Beans_s4x3.jpg.rend.hgtvcom.826.620.suffix/1546886427856.jpeg',
details='Pasta with Creamy White Beans Recipe',
price='$30')
A = Admin()
A.add_new_meal(meal1)
A.add_new_meal(meal2)
C = Customer()
print(C.get_all())
C.add_meal(1)
print(A.get_orders())
A.delete(1)
print(C.get_all())
fields = {
'name':'Lasagna Roll',
'photo_url':'https://thestayathomechef.com/wp-content/uploads/2017/08/Most-Amazing-Lasagna-4-e1503516670834.jpg',
'details':'Homemade Lasagna',
'price':'$40'
}
A.update(1,fields)
print(C.get_meal_by_id(1))
| class Meal:
def __init__(self, id, name, photo_url, details, price):
self.id = id
self.name = name
self.photo_url = photo_url
self.details = details
self.price = price
meal_list = []
orders_list = []
class Customer:
def get_all(self):
return meal_list
def get_meal_by_id(self, id):
result = None
for meal in meal_list:
if meal.id == id:
result = meal
break
return result
def add_meal(self, id):
meal = self.get_meal_by_id(id)
orders_list.append(meal)
class Admin:
def add_new_meal(self, meal):
meal_list.append(meal)
return meal_list
def get_orders(self):
return orders_list
def get_by_id(self, id):
result = None
for meal in orders_list:
if meal.id == id:
result = meal
break
return result
def update(self, id, fields):
meal = self.get_by_id(id)
meal.name = fields['name']
meal.photo_url = fields['photo_url']
meal.details = fields['details']
meal.price = fields['price']
return meal
def delete(self, id):
meal = self.get_by_id(id)
meal_list.remove(meal)
return orders_list
meal1 = meal(id=1, name='Lasagna Roll', photo_url='https://thestayathomechef.com/wp-content/uploads/2017/08/Most-Amazing-Lasagna-4-e1503516670834.jpg', details='Homemade Lasagna', price='$40')
meal2 = meal(id=2, name='pasta', photo_url='https://food.fnr.sndimg.com/content/dam/images/food/fullset/2019/1/07/0/JE401_Giadas-Pasta-with-Creamy-White-Beans_s4x3.jpg.rend.hgtvcom.826.620.suffix/1546886427856.jpeg', details='Pasta with Creamy White Beans Recipe', price='$30')
a = admin()
A.add_new_meal(meal1)
A.add_new_meal(meal2)
c = customer()
print(C.get_all())
C.add_meal(1)
print(A.get_orders())
A.delete(1)
print(C.get_all())
fields = {'name': 'Lasagna Roll', 'photo_url': 'https://thestayathomechef.com/wp-content/uploads/2017/08/Most-Amazing-Lasagna-4-e1503516670834.jpg', 'details': 'Homemade Lasagna', 'price': '$40'}
A.update(1, fields)
print(C.get_meal_by_id(1)) |
self.description = "Sysupgrade with a sync package having higher epoch"
sp = pmpkg("dummy", "1:1.0-1")
self.addpkg2db("sync", sp)
lp = pmpkg("dummy", "1.1-1")
self.addpkg2db("local", lp)
self.args = "-Su"
self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_VERSION=dummy|1:1.0-1")
| self.description = 'Sysupgrade with a sync package having higher epoch'
sp = pmpkg('dummy', '1:1.0-1')
self.addpkg2db('sync', sp)
lp = pmpkg('dummy', '1.1-1')
self.addpkg2db('local', lp)
self.args = '-Su'
self.addrule('PACMAN_RETCODE=0')
self.addrule('PKG_VERSION=dummy|1:1.0-1') |
attacks_listing = {}
listing_by_name = {}
def register(attack_type):
if attack_type.base_attack:
if attack_type.base_attack in attacks_listing:
raise Exception("Attack already registered for this base_object_type.")
elif attack_type.name in listing_by_name:
raise Exception("Attack already registered for this name.")
attacks_listing[attack_type.base_attack] = attack_type
listing_by_name[attack_type.name] = attack_type
return attack_type
def get_attack(base_attack):
attack = attacks_listing.get(base_attack, None)
if attack is None:
attack_type = type(base_attack)
if attack_type is type:
try:
return get_attack(base_attack.__bases__[0])
except IndexError:
return None
else:
return get_attack(attack_type)
return attack
def get_attack_by_name(name):
return listing_by_name.get(name)
| attacks_listing = {}
listing_by_name = {}
def register(attack_type):
if attack_type.base_attack:
if attack_type.base_attack in attacks_listing:
raise exception('Attack already registered for this base_object_type.')
elif attack_type.name in listing_by_name:
raise exception('Attack already registered for this name.')
attacks_listing[attack_type.base_attack] = attack_type
listing_by_name[attack_type.name] = attack_type
return attack_type
def get_attack(base_attack):
attack = attacks_listing.get(base_attack, None)
if attack is None:
attack_type = type(base_attack)
if attack_type is type:
try:
return get_attack(base_attack.__bases__[0])
except IndexError:
return None
else:
return get_attack(attack_type)
return attack
def get_attack_by_name(name):
return listing_by_name.get(name) |
# MIT License
#
# Copyright (c) 2019 Eduardo E. Betanzos Morales
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
class Module:
def __init__(self, name: str, exportsPackages=None, requiresModules=None):
self.__name = name
self.__exports_packages = exportsPackages
self.__requires_modules = requiresModules
@classmethod
def from_json(cls, data):
return cls(**data)
def get_name(self):
return self.__name
def get_exports_packages(self):
return self.__exports_packages
def get_requires_modules(self):
return self.__requires_modules
class Artifact:
def __init__(self, name=None, module=None):
self.__name = name
if isinstance(module, dict):
self.__module = Module.from_json(module)
else:
self.__module = module
@classmethod
def from_json(cls, data):
return cls(**data)
def get_name(self):
return self.__name
def get_module(self):
return self.__module
def __hash__(self):
return hash(self.__name)
def __eq__(self, other):
if not isinstance(other, type(self)):
return NotImplemented
return self.__name == other.__name | class Module:
def __init__(self, name: str, exportsPackages=None, requiresModules=None):
self.__name = name
self.__exports_packages = exportsPackages
self.__requires_modules = requiresModules
@classmethod
def from_json(cls, data):
return cls(**data)
def get_name(self):
return self.__name
def get_exports_packages(self):
return self.__exports_packages
def get_requires_modules(self):
return self.__requires_modules
class Artifact:
def __init__(self, name=None, module=None):
self.__name = name
if isinstance(module, dict):
self.__module = Module.from_json(module)
else:
self.__module = module
@classmethod
def from_json(cls, data):
return cls(**data)
def get_name(self):
return self.__name
def get_module(self):
return self.__module
def __hash__(self):
return hash(self.__name)
def __eq__(self, other):
if not isinstance(other, type(self)):
return NotImplemented
return self.__name == other.__name |
# Copyright 2014 PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'bigint',
'type': 'static_library',
'sources': [
'bigint/BigInteger.hh',
'bigint/BigIntegerLibrary.hh',
'bigint/BigIntegerUtils.hh',
'bigint/BigUnsigned.hh',
'bigint/NumberlikeArray.hh',
'bigint/BigUnsignedInABase.hh',
'bigint/BigInteger.cc',
'bigint/BigIntegerUtils.cc',
'bigint/BigUnsigned.cc',
'bigint/BigUnsignedInABase.cc',
],
},
{
'target_name': 'freetype',
'type': 'static_library',
'defines': [
'FT2_BUILD_LIBRARY',
],
'include_dirs': [
'freetype/include',
],
'sources': [
'freetype/include/freetype.h',
'freetype/include/ft2build.h',
'freetype/include/ftmm.h',
'freetype/include/ftotval.h',
'freetype/include/ftoutln.h',
'freetype/include/tttables.h',
'freetype/include/internal/ftobjs.h',
'freetype/include/internal/ftstream.h',
'freetype/include/internal/tttypes.h',
'freetype/src/cff/cffobjs.h',
'freetype/src/cff/cfftypes.h',
'freetype/src/cff/cff.c',
'freetype/src/base/ftbase.c',
'freetype/src/base/ftbitmap.c',
'freetype/src/base/ftglyph.c',
'freetype/src/base/ftinit.c',
'freetype/src/base/ftlcdfil.c',
'freetype/src/base/ftmm.c',
'freetype/src/base/ftsystem.c',
'freetype/src/psaux/psaux.c',
'freetype/src/pshinter/pshinter.c',
'freetype/src/psnames/psmodule.c',
'freetype/src/raster/raster.c',
'freetype/src/sfnt/sfnt.c',
'freetype/src/smooth/smooth.c',
'freetype/src/truetype/truetype.c',
'freetype/src/type1/type1.c',
'freetype/src/cid/type1cid.c',
],
},
{
'target_name': 'safemath',
'type': 'none',
'sources': [
'logging.h',
'macros.h',
'template_util.h',
'numerics/safe_conversions.h',
'numerics/safe_conversions_impl.h',
'numerics/safe_math.h',
'numerics/safe_math_impl.h',
],
},
],
}
| {'targets': [{'target_name': 'bigint', 'type': 'static_library', 'sources': ['bigint/BigInteger.hh', 'bigint/BigIntegerLibrary.hh', 'bigint/BigIntegerUtils.hh', 'bigint/BigUnsigned.hh', 'bigint/NumberlikeArray.hh', 'bigint/BigUnsignedInABase.hh', 'bigint/BigInteger.cc', 'bigint/BigIntegerUtils.cc', 'bigint/BigUnsigned.cc', 'bigint/BigUnsignedInABase.cc']}, {'target_name': 'freetype', 'type': 'static_library', 'defines': ['FT2_BUILD_LIBRARY'], 'include_dirs': ['freetype/include'], 'sources': ['freetype/include/freetype.h', 'freetype/include/ft2build.h', 'freetype/include/ftmm.h', 'freetype/include/ftotval.h', 'freetype/include/ftoutln.h', 'freetype/include/tttables.h', 'freetype/include/internal/ftobjs.h', 'freetype/include/internal/ftstream.h', 'freetype/include/internal/tttypes.h', 'freetype/src/cff/cffobjs.h', 'freetype/src/cff/cfftypes.h', 'freetype/src/cff/cff.c', 'freetype/src/base/ftbase.c', 'freetype/src/base/ftbitmap.c', 'freetype/src/base/ftglyph.c', 'freetype/src/base/ftinit.c', 'freetype/src/base/ftlcdfil.c', 'freetype/src/base/ftmm.c', 'freetype/src/base/ftsystem.c', 'freetype/src/psaux/psaux.c', 'freetype/src/pshinter/pshinter.c', 'freetype/src/psnames/psmodule.c', 'freetype/src/raster/raster.c', 'freetype/src/sfnt/sfnt.c', 'freetype/src/smooth/smooth.c', 'freetype/src/truetype/truetype.c', 'freetype/src/type1/type1.c', 'freetype/src/cid/type1cid.c']}, {'target_name': 'safemath', 'type': 'none', 'sources': ['logging.h', 'macros.h', 'template_util.h', 'numerics/safe_conversions.h', 'numerics/safe_conversions_impl.h', 'numerics/safe_math.h', 'numerics/safe_math_impl.h']}]} |
CERTIFICATION_SERVICES_TABLE_ID = 'cas'
INTERMEDIATE_CA_TAB_XPATH = '//a[@href="#intermediate_cas_tab"]'
INTERMEDIATE_CA_ADD_BTN_ID = 'intermediate_ca_add'
INTERMEDIATE_CA_CERT_UPLOAD_INPUT_ID = 'ca_cert_file'
INTERMEDIATE_CA_OCSP_TAB_XPATH = '//a[@href="#intermediate_ca_ocsp_responders_tab"]'
INTERMEDIATE_CA_OCSP_ADD_BTN_ID = 'intermediate_ca_ocsp_responder_add'
INTERMEDIATE_CA_BY_NAME_XPATH = '//table[@id="intermediate_cas"]//td[text()="{}"]'
INTERMEDIATE_CA_TR_BY_NAME_XPATH = '//table[@id="intermediate_cas"]//td[text()="{}"]/..'
INTERMEDIATE_CA_DELETE_BTN_ID = 'intermediate_ca_delete'
INTERMEDIATE_CA_TRS_CSS = '#intermediate_cas tbody tr'
INTERMEDIATE_CA_EDIT_BTN_ID = 'intermediate_ca_edit'
INTERMEDIATE_CA_SUBJECT_DN_ID = 'intermediate_ca_cert_subject_dn'
INTERMEDIATE_CA_ISSUER_DN_ID = 'intermediate_ca_cert_issuer_dn'
INTERMEDIATE_CA_VALID_FROM_ID = 'intermediate_ca_cert_valid_from'
INTERMEDIATE_CA_VALID_TO_ID = 'intermediate_ca_cert_valid_to'
DELETE_BTN_ID = 'ca_delete'
ADD_BTN_ID = 'ca_add'
DETAILS_BTN_ID = 'ca_details'
DATE_REGEX = '(\d{4}[-]?\d{1,2}[-]?\d{1,2})'
DATE_TIME_REGEX = '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}'
CA_DETAILS_SUBJECT_DISTINGUISHED = 'top_ca_cert_subject_dn'
CA_DETAILS_ISSUER_DISTINGUISHED = 'top_ca_cert_issuer_dn'
CA_DETAILS_VALID_FROM = 'top_ca_cert_valid_from'
CA_DETAILS_VALID_TO = 'top_ca_cert_valid_to'
CA_DETAILS_VIEW_CERT = 'top_ca_cert_view'
CA_DETAILS_VIEW_CERT_SHA1 = 'cert_details_hash'
CA_DETAILS_VIEW_CERT_DUMP = 'cert_details_dump'
# Timestamp buttons
TSDELETE_BTN_ID = 'tsp_delete'
TSADD_BTN_ID = 'tsp_add'
TSEDIT_BTN_ID = 'tsp_details'
TS_SETTINGS_POPUP = '//div[@aria-describedby="tsp_url_and_cert_dialog"]'
TS_SETTINGS_POPUP_CANCEL_BTN_XPATH = TS_SETTINGS_POPUP + '//div[@class="ui-dialog-buttonset"]//button[span="Cancel"]'
IMPORT_TS_CERT_BTN_ID = 'tsp_cert_button'
SUBMIT_TS_CERT_BTN_ID = 'tsp_url_and_cert_submit'
TIMESTAMP_SERVICES_URL_ID = 'tsp_url'
IMPORT_CA_CERT_BTN_ID = 'ca_cert_button'
ADD_CA_AUTH_ONLY_CHECKBOX_XPATH = '//div[@id="ca_settings_dialog"]//input[@name="authentication_only"]'
EDIT_CA_AUTH_ONLY_CHECKBOX_XPATH = '//div[@id="ca_settings_tab"]//input[@name="authentication_only"]'
CA_SETTINGS_TAB_XPATH = '//li[@aria-controls="ca_settings_tab"]'
SUBMIT_CA_CERT_BTN_ID = 'ca_cert_submit'
# Timestamp view certificate
VIEW_CERTIFICATE = 'tsp_cert_view'
CERTIFICATE_PROFILE_INFO_AREA_CSS = '.cert_profile_info'
ADD_CERTIFICATE_PROFILE_INFO_AREA_XPATH = '//div[@id="ca_settings_dialog"]//input[@name="cert_profile_info"]'
EDIT_CERTIFICATE_PROFILE_INFO_AREA_XPATH = '//div[@id="ca_settings_tab"]//input[@name="cert_profile_info"]'
SUBMIT_CA_SETTINGS_BTN_ID = 'ca_settings_submit'
SAVE_CA_SETTINGS_BTN_ID = 'ca_settings_save'
OCSP_RESPONSE_TAB = '//li[@aria-controls="ocsp_responders_tab"]'
OCSP_RESPONDER_ADD_BTN_ID = 'ocsp_responder_add'
OCSP_RESPONDER_EDIT_BTN_ID = 'ocsp_responder_edit'
OCSP_RESPONDER_DELETE_BTN_ID = 'ocsp_responder_delete'
INTERMEDIATE_CA_TAB = '//li[@aria-controls="intermediate_cas_tab"]'
IMPORT_OCSP_CERT_BTN_ID = 'ocsp_responder_cert_button'
OCSP_RESPONDER_URL_AREA_ID = 'ocsp_responder_url'
SUBMIT_OCSP_CERT_AND_URL_BTN_ID = 'ocsp_responder_url_and_cert_submit'
OCSP_SETTINGS_POPUP = '//div[@aria-describedby="ocsp_responder_url_and_cert_dialog"]'
OCSP_SETTINGS_POPUP_OK_BTN_XPATH = OCSP_SETTINGS_POPUP + '//div[@class="ui-dialog-buttonset"]//button[span="OK"]'
OCSP_SETTINGS_POPUP_CANCEL_BTN_XPATH = OCSP_SETTINGS_POPUP + '//div[@class="ui-dialog-buttonset"]//button[span="Cancel"]'
LAST_ADDED_CERT_XPATH = '//table[@id="cas"]//tbody//tr[last()]'
def get_ca_by_td_text(text):
return '//table[contains(@id, "cas")]//tr//td[contains(text(), \"' + text + '\")]'
# timestamp id
def ts_get_ca_by_td_text(text):
return '//table[contains(@id, "tsps")]//tr//td[contains(text(), \"' + text + '\")]'
def get_ocsp_by_td_text(text):
return '//table[contains(@id, "ocsp_responders")]//tr//td[contains(text(), \"' + text + '\")]'
def get_ocsp_responders(self):
responders = self.by_xpath(
'(//table[contains(@id, "ocsp_responders")]//tr//td[1])[not(contains(@class,"dataTables_empty"))]',
multiple=True)
result = []
for responder in responders:
result.append(responder.text)
return result
| certification_services_table_id = 'cas'
intermediate_ca_tab_xpath = '//a[@href="#intermediate_cas_tab"]'
intermediate_ca_add_btn_id = 'intermediate_ca_add'
intermediate_ca_cert_upload_input_id = 'ca_cert_file'
intermediate_ca_ocsp_tab_xpath = '//a[@href="#intermediate_ca_ocsp_responders_tab"]'
intermediate_ca_ocsp_add_btn_id = 'intermediate_ca_ocsp_responder_add'
intermediate_ca_by_name_xpath = '//table[@id="intermediate_cas"]//td[text()="{}"]'
intermediate_ca_tr_by_name_xpath = '//table[@id="intermediate_cas"]//td[text()="{}"]/..'
intermediate_ca_delete_btn_id = 'intermediate_ca_delete'
intermediate_ca_trs_css = '#intermediate_cas tbody tr'
intermediate_ca_edit_btn_id = 'intermediate_ca_edit'
intermediate_ca_subject_dn_id = 'intermediate_ca_cert_subject_dn'
intermediate_ca_issuer_dn_id = 'intermediate_ca_cert_issuer_dn'
intermediate_ca_valid_from_id = 'intermediate_ca_cert_valid_from'
intermediate_ca_valid_to_id = 'intermediate_ca_cert_valid_to'
delete_btn_id = 'ca_delete'
add_btn_id = 'ca_add'
details_btn_id = 'ca_details'
date_regex = '(\\d{4}[-]?\\d{1,2}[-]?\\d{1,2})'
date_time_regex = '\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}'
ca_details_subject_distinguished = 'top_ca_cert_subject_dn'
ca_details_issuer_distinguished = 'top_ca_cert_issuer_dn'
ca_details_valid_from = 'top_ca_cert_valid_from'
ca_details_valid_to = 'top_ca_cert_valid_to'
ca_details_view_cert = 'top_ca_cert_view'
ca_details_view_cert_sha1 = 'cert_details_hash'
ca_details_view_cert_dump = 'cert_details_dump'
tsdelete_btn_id = 'tsp_delete'
tsadd_btn_id = 'tsp_add'
tsedit_btn_id = 'tsp_details'
ts_settings_popup = '//div[@aria-describedby="tsp_url_and_cert_dialog"]'
ts_settings_popup_cancel_btn_xpath = TS_SETTINGS_POPUP + '//div[@class="ui-dialog-buttonset"]//button[span="Cancel"]'
import_ts_cert_btn_id = 'tsp_cert_button'
submit_ts_cert_btn_id = 'tsp_url_and_cert_submit'
timestamp_services_url_id = 'tsp_url'
import_ca_cert_btn_id = 'ca_cert_button'
add_ca_auth_only_checkbox_xpath = '//div[@id="ca_settings_dialog"]//input[@name="authentication_only"]'
edit_ca_auth_only_checkbox_xpath = '//div[@id="ca_settings_tab"]//input[@name="authentication_only"]'
ca_settings_tab_xpath = '//li[@aria-controls="ca_settings_tab"]'
submit_ca_cert_btn_id = 'ca_cert_submit'
view_certificate = 'tsp_cert_view'
certificate_profile_info_area_css = '.cert_profile_info'
add_certificate_profile_info_area_xpath = '//div[@id="ca_settings_dialog"]//input[@name="cert_profile_info"]'
edit_certificate_profile_info_area_xpath = '//div[@id="ca_settings_tab"]//input[@name="cert_profile_info"]'
submit_ca_settings_btn_id = 'ca_settings_submit'
save_ca_settings_btn_id = 'ca_settings_save'
ocsp_response_tab = '//li[@aria-controls="ocsp_responders_tab"]'
ocsp_responder_add_btn_id = 'ocsp_responder_add'
ocsp_responder_edit_btn_id = 'ocsp_responder_edit'
ocsp_responder_delete_btn_id = 'ocsp_responder_delete'
intermediate_ca_tab = '//li[@aria-controls="intermediate_cas_tab"]'
import_ocsp_cert_btn_id = 'ocsp_responder_cert_button'
ocsp_responder_url_area_id = 'ocsp_responder_url'
submit_ocsp_cert_and_url_btn_id = 'ocsp_responder_url_and_cert_submit'
ocsp_settings_popup = '//div[@aria-describedby="ocsp_responder_url_and_cert_dialog"]'
ocsp_settings_popup_ok_btn_xpath = OCSP_SETTINGS_POPUP + '//div[@class="ui-dialog-buttonset"]//button[span="OK"]'
ocsp_settings_popup_cancel_btn_xpath = OCSP_SETTINGS_POPUP + '//div[@class="ui-dialog-buttonset"]//button[span="Cancel"]'
last_added_cert_xpath = '//table[@id="cas"]//tbody//tr[last()]'
def get_ca_by_td_text(text):
return '//table[contains(@id, "cas")]//tr//td[contains(text(), "' + text + '")]'
def ts_get_ca_by_td_text(text):
return '//table[contains(@id, "tsps")]//tr//td[contains(text(), "' + text + '")]'
def get_ocsp_by_td_text(text):
return '//table[contains(@id, "ocsp_responders")]//tr//td[contains(text(), "' + text + '")]'
def get_ocsp_responders(self):
responders = self.by_xpath('(//table[contains(@id, "ocsp_responders")]//tr//td[1])[not(contains(@class,"dataTables_empty"))]', multiple=True)
result = []
for responder in responders:
result.append(responder.text)
return result |
#!/usr/bin/env python3
def max_profit_with_k_transactions(prices, k):
pass
print(max_profit_with_k_transactions([5, 11, 3, 50, 60, 90], 2))
| def max_profit_with_k_transactions(prices, k):
pass
print(max_profit_with_k_transactions([5, 11, 3, 50, 60, 90], 2)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.