content
stringlengths 7
1.05M
|
---|
class InMemoryKVAdapter:
""" Dummy in-memory key-value store to be used as mock for KVAdapter"""
def __init__(self):
self._data = {}
def get_key(self, key):
root, key = self._navigate(key)
return root.get(key, None)
def get_keys(self, key):
root, key = self._navigate(key)
for sub_key in list(root.keys()):
if sub_key.startswith(key):
yield sub_key, root.get(sub_key)
def put_key(self, key, value):
root, key = self._navigate(key)
root[key] = value
def delete_key(self, key, recursive=False):
root, key = self._navigate(key)
for sub_key in list(root.keys()):
if sub_key.startswith(key):
root.pop(sub_key)
def _navigate(self, key):
root = self._data
return root, key
|
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 29 15:59:53 2020
@author: Pablo
"""
class Term:
string = ''
lang = ''
score=0
corpus=''
synonyms=[]
iateURL=''
translations = {}
def __init__(self, term, code):
self.string = term
self.lang = code
def get_data(self):
print(self.string+' '+self.lang+' Synonyms: '+''.join(self.synonyms))
print(self.translations)
def getJson(self):
return { 'lang':self.lang}
termino1 = Term('trabajador','es')
termino2 = Term('worker', 'en')
termino1.get_data()
termino2.get_data()
'''
lista=[]
lista.append(termino1)
lista.append(termino2)
print(lista)
# Adding list as value
termino1.translations["de"] = ['sdsssss']
termino1.translations["en"] = ["worker", "laborist"]
print(termino1.translations.get('en'))
termino1.get_data()
termino1.synonyms.append('estatuto trabajadores')
termino1.get_data()
del termino1.synonyms[0]
termino1.getJson()
''' |
# Basic - Print all integers from 0 to 150.
y = 0
while y <= 150:
print(y)
y = y + 1
# Multiples of Five - Print all the multiples of 5 from 5 to 1,000
x = 5
while x < 1001:
print(x)
x = x + 5
# Counting, the Dojo Way - Print integers 1 to 100. If divisible by 5, print "Coding" instead. If divisible by 10, print "Coding Dojo".
j = 0
txt = "Coding"
while j < 101:
if j % 10 == 0:
print(txt + "Dojo")
elif j % 5 == 0:
print(txt)
else:
print(j)
j += 1
# Whoa. That Sucker's Huge - Add odd integers from 0 to 500,000, and print the final sum.
z = 0
sum = 0
while z < 500000:
if z % 2 != 0:
sum = sum + z
# Countdown by Fours - Print positive numbers starting at 2018, counting down by fours.
count = 2018
while count > 0:
if count % 2 == 0:
print(count)
# Flexible Counter - Set three variables: lowNum, highNum, mult. Starting at lowNum and going through highNum, print only the integers that are a multiple of mult. For example, if lowNum=2, highNum=9, and mult=3, the loop should print 3, 6, 9 (on successive lines)
lowNum = 1
highNum = 99
mult = 3
validNum = 0
while lowNum < highNum:
if lowNum/mult == validNum:
print(lowNum)
lowNum + 1
|
##write a function that takes a nested list as an argument
##and returns a normal list
##show that the result is equal to flattened_list
nested_list = ['a', [2, 3], [4, 'b', [0, -2, ['c', 'e', '0f']]]]
flattened_list = ['a', 2, 3, 4, 'b', 0, -2, 'c', 'e', '0f']
def flat_list(nest_list):
flat = list()
for elem in nest_list:
if type(elem) is list: # we check if elem is a list
flat += flat_list(elem) # recursive function!
# this is a function that calls
# itself in a loop, until a case is
# simple enough to be processed
# directly!
else:
# if elem is not a list, we append it to 'flat'
flat.append(elem)
return flat
res = flat_list(nested_list)
print(res==flattened_list)
|
''' Program to count each character's frequency
Example:
Input: banana
Output: a3b1n2
'''
def frequency(input1):
l = list(input1)
x= list(set(l))
x.sort()
result=""
for i in range(0,len(x)):
count=0
for j in range(0,len(l)):
if x[i]==l[j]:
count +=1
result += x[i]+str(count)
print(result)
s = input()
frequency(s)
|
# coding=utf-8
# i=10
# print(i)
# i = True
# if i:
# print("True")
# else:
# print("False")
#
# total = 'tem_one' + \
# 'tem_two' + \
# 'item_three'
# print(total)
# money = 99.9
# count = 5
# person = '小明'
# print(money, type(money))
# money = '9.9哈'
# print(money, type(money))
# money = 11
# print(money, type(money))
# print('AA', 'BB\n', '\tCC', sep='$', end='')
# print('ass')
# r -> raw, 原样输出字符串,忽略转义字符
# print(r'hello\py\thon')
# 大写的变量名约定为 常量
# NAME = '123'
# print(NAME)
# message = '''
# email:
# 123
# 456
# 789
# 456
# 123
# '''
# print(message)
'''
三引号作用:
1. 保留格式化的字符串
2. 未向变量赋值,多行注释作用
'''
# 格式化输出字符串
# 1. 使用占位符
# %s --> str() 强制类型转换,转成 string
# %d --> digit 数字,强制转成 init
# %f --> float 浮点型,可指定小数点后面的位数,是四舍五入的值
# name = 'haha'
# gender = 'female'
# age = 14
# print('name:' + name + ',gender:' + gender + ',age:' + 14) # TypeError
# print('name:%s,gender:%s,age:%s' % (name, gender, age))
# print('age%s' % age)
# print('age' + str(age))
# salary = 8899.99
# print('my salary is %.3f' % salary)
# title = 'hahaha'
# price = 123.5
# count = 20
# total = price * count
# message = '''
# title:%s
# price:%.0f
# count:%d
# total:%.2f
# ''' % (title, price, count, total)
# print(message)
# 2. format函数
# title = 'hahaha'
# price = 123.5
# count = 20
# total = price * count
# message = 'title:{},price:{},count:{},total:{}'.format(title, price, count, total)
# print(message)
# input()
# print('''
# *********************
# hahaha
# *********************
# ''')
# username = input('username:')
# password = input('password:')
# print('%s pay the money' % username)
# money = input('money:')
# money = int(money)
# message = '{}Successfully, total is {}'.format(username, money)
# # print('$sSuccessfully, total is %d' %(username, money2))
# print(message)
# id() 取存在内存中的值得 id
# a = 1
# b = a
# print(id(a), id(a) == id(b), a, b)
# 拓展运算符
# += -= *= /=
# c = '1'
# c += '2'
# print(c)
# 算数运算符
# + - * /
# 与字符串相乘,表示重复前面的字符串多少次
# print('*' * 20)
# 拓展运算符
# ** // %
# a = 9
# b = 4
# c = a ** b # a的 b次方
# d = a // b # 取整
# e = a % b # 取余
# print(c, d, e)
# 关系运算符
# > < >= <= == !=
# 小整数运算池
# Python对小整数的定义是[-5,257]这些整数对象是提前建立好的,不会被垃圾回收,在一个Python的程序中,所有位于这个范围内的整数使用的都是同一个对象
# 大整数对象池
# 每一个大整数,均创建了一个对象
# 身份运算符
# is 是判断两个标识符是不是引用自一个对象
# is
# is not
# a = 60000
# b = 60001
# print (a is not b)
# 逻辑运算符
# and
# or
# not
# flag = True and False
# flag1 = True or False
# flag2 = not True
# print(flag, flag1, flag2)
# 转 二进制
# print(bin(12))
# 转 十进制
# print(int(0b101001))
# 反码:二进制取反,再加一
# 位运算
'''
& 与
| 或
~ 非
^ 异或
二进制的两个数,相对应的位置,相同为0,不同为1
最后得到的二进制数再转为 十进制
<< 左移
二进制的数值,向左移动n位,最右侧补充n位 0
m << n, m * 2的 n次方
>> 右移
二进制的数值,向右移动n位,最左侧补充n位 0
m >> n, m / 2的 n次方,取整,简写 m // 2的 n次方
'''
# print(bin(2), bin(3), 2 & 3, 2 | 3, ~2, 2 ^ 3, 2 << 3, 36 >> 4, 36 // (2 * 2 * 2 * 2))
# 三目运算符
# a = 5
# b = 6
# result = a + b if (a > b) else a - b
# print(result)
# 条件判断语句
# username = ''
#
# if not username:
# print (123)
# else:
# print (456)
# 引入 随机模块,randint 随机生成一个指定范围的int
# import random
# theNumber = random.randint(1, 10)
#
# print (theNumber)
# 多层条件判断
# usernameInput = input('input a number')
#
# if usernameInput:
# print (1)
# elif not usernameInput:
# print (2)
# elif usernameInput == '12':
# print (3)
# else:
# print (4)
# for循环
# for ... in ...
# range(m, n) # 生成 m ~ n-1的序列
# for i in range(8, 8):
# print(i)
# name = 'hahaha'
# for i in range(8):
# print ('{}很饿,正在吃第{}馒头'.format(name, i + 1))
# print ('{}终于吃饱了'.format(name))
# for i in range(8):
# print ('{}很饿,正在吃第{}馒头'.format(name, i + 1)) if (i != 4) else print ('{}很饿,但是却扔掉了第{}馒头'.format(name, i + 1))
# for ... else ...
# 适用于 for执行完或者没有循环数据时,需要做的事
# pass 空语句,占位使用,防止语法报错
# name = 'hahaha'
# for i in range(8):
# print ('{}很饿,正在吃第{}馒头'.format(name, i + 1))
# else:
# print ('{}说没有馒头了,还没有吃饱'.format(name))
#
# for i in range(8):
# pass
# else:
# print ('{}终于吃饱了'.format(name))
#
# for i in range(12):
# print ('hahaha')
# else:
# pass
for i in range(3):
username = input('username:')
password = input('password:')
if username == '123' and password == '123':
print ('successfully')
print ('hahaha')
break
else:
print ('login fail')
else:
print ('lock user')
|
class VarDecl:
def __init__(self, name: str, type: str):
self._name = name
self._type = type
def name(self) -> str:
return self._name
def type(self) -> str:
return self._type
|
# DROP TABLES
# The following CQL queries drop all the tables from sparkifydb.
song_in_session_table_drop = "DROP TABLE IF EXISTS song_in_session"
artist_in_session_table_drop = "DROP TABLE IF EXISTS artist_in_session"
user_and_song_table_drop = "DROP TABLE IF EXISTS user_and_song"
# CREATE TABLES
# The following CQL queries create tables to sparkifydb.
song_in_session_table_create = ("""
CREATE TABLE IF NOT EXISTS song_in_session (
session_id int, \
item_in_session int, \
artist text, \
song text, \
length float, \
PRIMARY KEY(session_id, item_in_session))
""")
artist_in_session_table_create = ("""
CREATE TABLE IF NOT EXISTS artist_in_session (
user_id int, \
session_id int, \
artist text, \
song text, \
item_in_session int, \
first_name text, \
last_name text, \
PRIMARY KEY((user_id, session_id), item_in_session)
)
""")
user_and_song_table_create = ("""
CREATE TABLE IF NOT EXISTS user_and_song (
song text, \
user_id int, \
first_name text, \
last_name text, \
PRIMARY KEY(song, user_id)
)
""")
# INSERT RECORDS
# The following CQL queries insert data into sparkifydb tables.
song_in_session_insert = ("""
INSERT INTO song_in_session ( session_id, \
item_in_session, \
artist, \
song, \
length)
VALUES (%s, %s, %s, %s, %s)
""")
artist_in_session_insert = ("""
INSERT INTO artist_in_session ( user_id, \
session_id, \
artist, \
song, \
item_in_session, \
first_name, \
last_name)
VALUES (%s, %s, %s, %s, %s, %s, %s)
""")
user_and_song_insert = ("""
INSERT INTO user_and_song ( song, \
user_id, \
first_name, \
last_name)
VALUES (%s, %s, %s, %s)
""")
# FIND QUERIES
# The follwowing queries select data from DB.
#
# Query-1: Give me the artist, song title and song's length
# in the music app history that was heard during sessionId = 338,
# and itemInSession = 4
song_in_session_select = ("""
SELECT artist, song, length
FROM song_in_session \
WHERE session_id = (%s) AND \
item_in_session = (%s)
""")
#
# Query-2: Give me only the following: name of artist,
# song (sorted by itemInSession) and user (first and last name)
# for userid = 10, sessionid = 182
song_in_session_select = ("""
SELECT artist, song, first_name, last_name
FROM song_in_session \
WHERE session_id = (%s) AND \
item_in_session = (%s)
""")
#
# Query-3: Give me every user name (first and last) in my music app
# history who listened to the song 'All Hands Against His Own'
user_and_song_select = ("""
SELECT first_name, last_name
FROM user_and_song \
WHERE song = (%s)
""")
#QUERY LISTS
create_table_queries = [song_in_session_table_create, artist_in_session_table_create, user_and_song_table_create]
drop_table_queries = [song_in_session_table_drop, artist_in_session_table_drop, user_and_song_table_drop]
|
class DataGridViewCell(DataGridViewElement,ICloneable,IDisposable):
""" Represents an individual cell in a System.Windows.Forms.DataGridView control. """
def AdjustCellBorderStyle(self,dataGridViewAdvancedBorderStyleInput,dataGridViewAdvancedBorderStylePlaceholder,singleVerticalBorderAdded,singleHorizontalBorderAdded,isFirstDisplayedColumn,isFirstDisplayedRow):
"""
AdjustCellBorderStyle(self: DataGridViewCell,dataGridViewAdvancedBorderStyleInput: DataGridViewAdvancedBorderStyle,dataGridViewAdvancedBorderStylePlaceholder: DataGridViewAdvancedBorderStyle,singleVerticalBorderAdded: bool,singleHorizontalBorderAdded: bool,isFirstDisplayedColumn: bool,isFirstDisplayedRow: bool) -> DataGridViewAdvancedBorderStyle
Modifies the input cell border style according to the specified criteria.
dataGridViewAdvancedBorderStyleInput: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that represents the cell
border style to modify.
dataGridViewAdvancedBorderStylePlaceholder: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that is used to store
intermediate changes to the cell border style.
singleVerticalBorderAdded: true to add a vertical border to the cell; otherwise,false.
singleHorizontalBorderAdded: true to add a horizontal border to the cell; otherwise,false.
isFirstDisplayedColumn: true if the hosting cell is in the first visible column; otherwise,false.
isFirstDisplayedRow: true if the hosting cell is in the first visible row; otherwise,false.
Returns: The modified System.Windows.Forms.DataGridViewAdvancedBorderStyle.
"""
pass
def BorderWidths(self,*args):
"""
BorderWidths(self: DataGridViewCell,advancedBorderStyle: DataGridViewAdvancedBorderStyle) -> Rectangle
Returns a System.Drawing.Rectangle that represents the widths of all the cell
margins.
advancedBorderStyle: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that the margins are to
be calculated for.
Returns: A System.Drawing.Rectangle that represents the widths of all the cell margins.
"""
pass
def ClickUnsharesRow(self,*args):
"""
ClickUnsharesRow(self: DataGridViewCell,e: DataGridViewCellEventArgs) -> bool
Indicates whether the cell's row will be unshared when the cell is clicked.
e: The System.Windows.Forms.DataGridViewCellEventArgs containing the data passed
to the
System.Windows.Forms.DataGridViewCell.OnClick(System.Windows.Forms.DataGridViewC
ellEventArgs) method.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def Clone(self):
"""
Clone(self: DataGridViewCell) -> object
Creates an exact copy of this cell.
Returns: An System.Object that represents the cloned
System.Windows.Forms.DataGridViewCell.
"""
pass
def ContentClickUnsharesRow(self,*args):
"""
ContentClickUnsharesRow(self: DataGridViewCell,e: DataGridViewCellEventArgs) -> bool
Indicates whether the cell's row will be unshared when the cell's content is
clicked.
e: The System.Windows.Forms.DataGridViewCellEventArgs containing the data passed
to the
System.Windows.Forms.DataGridViewCell.OnContentClick(System.Windows.Forms.DataGr
idViewCellEventArgs) method.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def ContentDoubleClickUnsharesRow(self,*args):
"""
ContentDoubleClickUnsharesRow(self: DataGridViewCell,e: DataGridViewCellEventArgs) -> bool
Indicates whether the cell's row will be unshared when the cell's content is
double-clicked.
e: The System.Windows.Forms.DataGridViewCellEventArgs containing the data passed
to the
System.Windows.Forms.DataGridViewCell.OnContentDoubleClick(System.Windows.Forms.
DataGridViewCellEventArgs) method.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def CreateAccessibilityInstance(self,*args):
"""
CreateAccessibilityInstance(self: DataGridViewCell) -> AccessibleObject
Creates a new accessible object for the System.Windows.Forms.DataGridViewCell.
Returns: A new System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject
for the System.Windows.Forms.DataGridViewCell.
"""
pass
def DetachEditingControl(self):
"""
DetachEditingControl(self: DataGridViewCell)
Removes the cell's editing control from the System.Windows.Forms.DataGridView.
"""
pass
def Dispose(self):
"""
Dispose(self: DataGridViewCell)
Releases all resources used by the System.Windows.Forms.DataGridViewCell.
"""
pass
def DoubleClickUnsharesRow(self,*args):
"""
DoubleClickUnsharesRow(self: DataGridViewCell,e: DataGridViewCellEventArgs) -> bool
Indicates whether the cell's row will be unshared when the cell is
double-clicked.
e: The System.Windows.Forms.DataGridViewCellEventArgs containing the data passed
to the
System.Windows.Forms.DataGridViewCell.OnDoubleClick(System.Windows.Forms.DataGri
dViewCellEventArgs) method.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def EnterUnsharesRow(self,*args):
"""
EnterUnsharesRow(self: DataGridViewCell,rowIndex: int,throughMouseClick: bool) -> bool
Indicates whether the parent row will be unshared when the focus moves to the
cell.
rowIndex: The index of the cell's parent row.
throughMouseClick: true if a user action moved focus to the cell; false if a programmatic
operation moved focus to the cell.
Returns: true if the row will be unshared; otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def GetClipboardContent(self,*args):
"""
GetClipboardContent(self: DataGridViewCell,rowIndex: int,firstCell: bool,lastCell: bool,inFirstRow: bool,inLastRow: bool,format: str) -> object
Retrieves the formatted value of the cell to copy to the
System.Windows.Forms.Clipboard.
rowIndex: The zero-based index of the row containing the cell.
firstCell: true to indicate that the cell is in the first column of the region defined by
the selected cells; otherwise,false.
lastCell: true to indicate that the cell is the last column of the region defined by the
selected cells; otherwise,false.
inFirstRow: true to indicate that the cell is in the first row of the region defined by the
selected cells; otherwise,false.
inLastRow: true to indicate that the cell is in the last row of the region defined by the
selected cells; otherwise,false.
format: The current format string of the cell.
Returns: An System.Object that represents the value of the cell to copy to the
System.Windows.Forms.Clipboard.
"""
pass
def GetContentBounds(self,rowIndex):
"""
GetContentBounds(self: DataGridViewCell,rowIndex: int) -> Rectangle
Returns the bounding rectangle that encloses the cell's content area using a
default System.Drawing.Graphics and cell style currently in effect for the
cell.
rowIndex: The index of the cell's parent row.
Returns: The System.Drawing.Rectangle that bounds the cell's contents.
"""
pass
def GetEditedFormattedValue(self,rowIndex,context):
"""
GetEditedFormattedValue(self: DataGridViewCell,rowIndex: int,context: DataGridViewDataErrorContexts) -> object
Returns the current,formatted value of the cell,regardless of whether the
cell is in edit mode and the value has not been committed.
rowIndex: The row index of the cell.
context: A bitwise combination of System.Windows.Forms.DataGridViewDataErrorContexts
values that specifies the data error context.
Returns: The current,formatted value of the System.Windows.Forms.DataGridViewCell.
"""
pass
def GetErrorIconBounds(self,*args):
"""
GetErrorIconBounds(self: DataGridViewCell,graphics: Graphics,cellStyle: DataGridViewCellStyle,rowIndex: int) -> Rectangle
Returns the bounding rectangle that encloses the cell's error icon,if one is
displayed.
graphics: The graphics context for the cell.
cellStyle: The System.Windows.Forms.DataGridViewCellStyle to be applied to the cell.
rowIndex: The index of the cell's parent row.
Returns: The System.Drawing.Rectangle that bounds the cell's error icon,if one is
displayed; otherwise,System.Drawing.Rectangle.Empty.
"""
pass
def GetErrorText(self,*args):
"""
GetErrorText(self: DataGridViewCell,rowIndex: int) -> str
Returns a string that represents the error for the cell.
rowIndex: The row index of the cell.
Returns: A string that describes the error for the current
System.Windows.Forms.DataGridViewCell.
"""
pass
def GetFormattedValue(self,*args):
"""
GetFormattedValue(self: DataGridViewCell,value: object,rowIndex: int,cellStyle: DataGridViewCellStyle,valueTypeConverter: TypeConverter,formattedValueTypeConverter: TypeConverter,context: DataGridViewDataErrorContexts) -> (object,DataGridViewCellStyle)
Gets the value of the cell as formatted for display.
value: The value to be formatted.
rowIndex: The index of the cell's parent row.
cellStyle: The System.Windows.Forms.DataGridViewCellStyle in effect for the cell.
valueTypeConverter: A System.ComponentModel.TypeConverter associated with the value type that
provides custom conversion to the formatted value type,or null if no such
custom conversion is needed.
formattedValueTypeConverter: A System.ComponentModel.TypeConverter associated with the formatted value type
that provides custom conversion from the value type,or null if no such custom
conversion is needed.
context: A bitwise combination of System.Windows.Forms.DataGridViewDataErrorContexts
values describing the context in which the formatted value is needed.
Returns: The formatted value of the cell or null if the cell does not belong to a
System.Windows.Forms.DataGridView control.
"""
pass
def GetInheritedContextMenuStrip(self,rowIndex):
"""
GetInheritedContextMenuStrip(self: DataGridViewCell,rowIndex: int) -> ContextMenuStrip
Gets the inherited shortcut menu for the current cell.
rowIndex: The row index of the current cell.
Returns: A System.Windows.Forms.ContextMenuStrip if the parent
System.Windows.Forms.DataGridView,System.Windows.Forms.DataGridViewRow,or
System.Windows.Forms.DataGridViewColumn has a
System.Windows.Forms.ContextMenuStrip assigned; otherwise,null.
"""
pass
def GetInheritedState(self,rowIndex):
"""
GetInheritedState(self: DataGridViewCell,rowIndex: int) -> DataGridViewElementStates
Returns a value indicating the current state of the cell as inherited from the
state of its row and column.
rowIndex: The index of the row containing the cell.
Returns: A bitwise combination of System.Windows.Forms.DataGridViewElementStates values
representing the current state of the cell.
"""
pass
def GetInheritedStyle(self,inheritedCellStyle,rowIndex,includeColors):
"""
GetInheritedStyle(self: DataGridViewCell,inheritedCellStyle: DataGridViewCellStyle,rowIndex: int,includeColors: bool) -> DataGridViewCellStyle
Gets the style applied to the cell.
inheritedCellStyle: A System.Windows.Forms.DataGridViewCellStyle to be populated with the inherited
cell style.
rowIndex: The index of the cell's parent row.
includeColors: true to include inherited colors in the returned cell style; otherwise,false.
Returns: A System.Windows.Forms.DataGridViewCellStyle that includes the style settings
of the cell inherited from the cell's parent row,column,and
System.Windows.Forms.DataGridView.
"""
pass
def GetPreferredSize(self,*args):
"""
GetPreferredSize(self: DataGridViewCell,graphics: Graphics,cellStyle: DataGridViewCellStyle,rowIndex: int,constraintSize: Size) -> Size
Calculates the preferred size,in pixels,of the cell.
graphics: The System.Drawing.Graphics used to draw the cell.
cellStyle: A System.Windows.Forms.DataGridViewCellStyle that represents the style of the
cell.
rowIndex: The zero-based row index of the cell.
constraintSize: The cell's maximum allowable size.
Returns: A System.Drawing.Size that represents the preferred size,in pixels,of the
cell.
"""
pass
def GetSize(self,*args):
"""
GetSize(self: DataGridViewCell,rowIndex: int) -> Size
Gets the size of the cell.
rowIndex: The index of the cell's parent row.
Returns: A System.Drawing.Size representing the cell's dimensions.
"""
pass
def GetValue(self,*args):
"""
GetValue(self: DataGridViewCell,rowIndex: int) -> object
Gets the value of the cell.
rowIndex: The index of the cell's parent row.
Returns: The value contained in the System.Windows.Forms.DataGridViewCell.
"""
pass
def InitializeEditingControl(self,rowIndex,initialFormattedValue,dataGridViewCellStyle):
"""
InitializeEditingControl(self: DataGridViewCell,rowIndex: int,initialFormattedValue: object,dataGridViewCellStyle: DataGridViewCellStyle)
Initializes the control used to edit the cell.
rowIndex: The zero-based row index of the cell's location.
initialFormattedValue: An System.Object that represents the value displayed by the cell when editing
is started.
dataGridViewCellStyle: A System.Windows.Forms.DataGridViewCellStyle that represents the style of the
cell.
"""
pass
def KeyDownUnsharesRow(self,*args):
"""
KeyDownUnsharesRow(self: DataGridViewCell,e: KeyEventArgs,rowIndex: int) -> bool
Indicates whether the parent row is unshared if the user presses a key while
the focus is on the cell.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
rowIndex: The index of the cell's parent row.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def KeyEntersEditMode(self,e):
"""
KeyEntersEditMode(self: DataGridViewCell,e: KeyEventArgs) -> bool
Determines if edit mode should be started based on the given key.
e: A System.Windows.Forms.KeyEventArgs that represents the key that was pressed.
Returns: true if edit mode should be started; otherwise,false. The default is false.
"""
pass
def KeyPressUnsharesRow(self,*args):
"""
KeyPressUnsharesRow(self: DataGridViewCell,e: KeyPressEventArgs,rowIndex: int) -> bool
Indicates whether a row will be unshared if a key is pressed while a cell in
the row has focus.
e: A System.Windows.Forms.KeyPressEventArgs that contains the event data.
rowIndex: The index of the cell's parent row.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def KeyUpUnsharesRow(self,*args):
"""
KeyUpUnsharesRow(self: DataGridViewCell,e: KeyEventArgs,rowIndex: int) -> bool
Indicates whether the parent row is unshared when the user releases a key while
the focus is on the cell.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
rowIndex: The index of the cell's parent row.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def LeaveUnsharesRow(self,*args):
"""
LeaveUnsharesRow(self: DataGridViewCell,rowIndex: int,throughMouseClick: bool) -> bool
Indicates whether a row will be unshared when the focus leaves a cell in the
row.
rowIndex: The index of the cell's parent row.
throughMouseClick: true if a user action moved focus to the cell; false if a programmatic
operation moved focus to the cell.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
@staticmethod
def MeasureTextHeight(graphics,text,font,maxWidth,flags,widthTruncated=None):
"""
MeasureTextHeight(graphics: Graphics,text: str,font: Font,maxWidth: int,flags: TextFormatFlags) -> (int,bool)
Gets the height,in pixels,of the specified text,given the specified
characteristics. Also indicates whether the required width is greater than the
specified maximum width.
graphics: The System.Drawing.Graphics used to render the text.
text: The text to measure.
font: The System.Drawing.Font applied to the text.
maxWidth: The maximum width of the text.
flags: A bitwise combination of System.Windows.Forms.TextFormatFlags values to apply
to the text.
Returns: The height,in pixels,of the text.
MeasureTextHeight(graphics: Graphics,text: str,font: Font,maxWidth: int,flags: TextFormatFlags) -> int
Gets the height,in pixels,of the specified text,given the specified
characteristics.
graphics: The System.Drawing.Graphics used to render the text.
text: The text to measure.
font: The System.Drawing.Font applied to the text.
maxWidth: The maximum width of the text.
flags: A bitwise combination of System.Windows.Forms.TextFormatFlags values to apply
to the text.
Returns: The height,in pixels,of the text.
"""
pass
@staticmethod
def MeasureTextPreferredSize(graphics,text,font,maxRatio,flags):
"""
MeasureTextPreferredSize(graphics: Graphics,text: str,font: Font,maxRatio: Single,flags: TextFormatFlags) -> Size
Gets the ideal height and width of the specified text given the specified
characteristics.
graphics: The System.Drawing.Graphics used to render the text.
text: The text to measure.
font: The System.Drawing.Font applied to the text.
maxRatio: The maximum width-to-height ratio of the block of text.
flags: A bitwise combination of System.Windows.Forms.TextFormatFlags values to apply
to the text.
Returns: A System.Drawing.Size representing the preferred height and width of the text.
"""
pass
@staticmethod
def MeasureTextSize(graphics,text,font,flags):
"""
MeasureTextSize(graphics: Graphics,text: str,font: Font,flags: TextFormatFlags) -> Size
Gets the height and width of the specified text given the specified
characteristics.
graphics: The System.Drawing.Graphics used to render the text.
text: The text to measure.
font: The System.Drawing.Font applied to the text.
flags: A bitwise combination of System.Windows.Forms.TextFormatFlags values to apply
to the text.
Returns: A System.Drawing.Size representing the height and width of the text.
"""
pass
@staticmethod
def MeasureTextWidth(graphics,text,font,maxHeight,flags):
"""
MeasureTextWidth(graphics: Graphics,text: str,font: Font,maxHeight: int,flags: TextFormatFlags) -> int
Gets the width,in pixels,of the specified text given the specified
characteristics.
graphics: The System.Drawing.Graphics used to render the text.
text: The text to measure.
font: The System.Drawing.Font applied to the text.
maxHeight: The maximum height of the text.
flags: A bitwise combination of System.Windows.Forms.TextFormatFlags values to apply
to the text.
Returns: The width,in pixels,of the text.
"""
pass
def MouseClickUnsharesRow(self,*args):
"""
MouseClickUnsharesRow(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs) -> bool
Indicates whether a row will be unshared if the user clicks a mouse button
while the pointer is on a cell in the row.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def MouseDoubleClickUnsharesRow(self,*args):
"""
MouseDoubleClickUnsharesRow(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs) -> bool
Indicates whether a row will be unshared if the user double-clicks a cell in
the row.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def MouseDownUnsharesRow(self,*args):
"""
MouseDownUnsharesRow(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs) -> bool
Indicates whether a row will be unshared when the user holds down a mouse
button while the pointer is on a cell in the row.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def MouseEnterUnsharesRow(self,*args):
"""
MouseEnterUnsharesRow(self: DataGridViewCell,rowIndex: int) -> bool
Indicates whether a row will be unshared when the mouse pointer moves over a
cell in the row.
rowIndex: The index of the cell's parent row.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def MouseLeaveUnsharesRow(self,*args):
"""
MouseLeaveUnsharesRow(self: DataGridViewCell,rowIndex: int) -> bool
Indicates whether a row will be unshared when the mouse pointer leaves the row.
rowIndex: The index of the cell's parent row.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def MouseMoveUnsharesRow(self,*args):
"""
MouseMoveUnsharesRow(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs) -> bool
Indicates whether a row will be unshared when the mouse pointer moves over a
cell in the row.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def MouseUpUnsharesRow(self,*args):
"""
MouseUpUnsharesRow(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs) -> bool
Indicates whether a row will be unshared when the user releases a mouse button
while the pointer is on a cell in the row.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
Returns: true if the row will be unshared,otherwise,false. The base
System.Windows.Forms.DataGridViewCell class always returns false.
"""
pass
def OnClick(self,*args):
"""
OnClick(self: DataGridViewCell,e: DataGridViewCellEventArgs)
Called when the cell is clicked.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def OnContentClick(self,*args):
"""
OnContentClick(self: DataGridViewCell,e: DataGridViewCellEventArgs)
Called when the cell's contents are clicked.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def OnContentDoubleClick(self,*args):
"""
OnContentDoubleClick(self: DataGridViewCell,e: DataGridViewCellEventArgs)
Called when the cell's contents are double-clicked.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def OnDataGridViewChanged(self,*args):
"""
OnDataGridViewChanged(self: DataGridViewCell)
Called when the System.Windows.Forms.DataGridViewElement.DataGridView property
of the cell changes.
"""
pass
def OnDoubleClick(self,*args):
"""
OnDoubleClick(self: DataGridViewCell,e: DataGridViewCellEventArgs)
Called when the cell is double-clicked.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def OnEnter(self,*args):
"""
OnEnter(self: DataGridViewCell,rowIndex: int,throughMouseClick: bool)
Called when the focus moves to a cell.
rowIndex: The index of the cell's parent row.
throughMouseClick: true if a user action moved focus to the cell; false if a programmatic
operation moved focus to the cell.
"""
pass
def OnKeyDown(self,*args):
"""
OnKeyDown(self: DataGridViewCell,e: KeyEventArgs,rowIndex: int)
Called when a character key is pressed while the focus is on a cell.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
rowIndex: The index of the cell's parent row.
"""
pass
def OnKeyPress(self,*args):
"""
OnKeyPress(self: DataGridViewCell,e: KeyPressEventArgs,rowIndex: int)
Called when a key is pressed while the focus is on a cell.
e: A System.Windows.Forms.KeyPressEventArgs that contains the event data.
rowIndex: The index of the cell's parent row.
"""
pass
def OnKeyUp(self,*args):
"""
OnKeyUp(self: DataGridViewCell,e: KeyEventArgs,rowIndex: int)
Called when a character key is released while the focus is on a cell.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
rowIndex: The index of the cell's parent row.
"""
pass
def OnLeave(self,*args):
"""
OnLeave(self: DataGridViewCell,rowIndex: int,throughMouseClick: bool)
Called when the focus moves from a cell.
rowIndex: The index of the cell's parent row.
throughMouseClick: true if a user action moved focus from the cell; false if a programmatic
operation moved focus from the cell.
"""
pass
def OnMouseClick(self,*args):
"""
OnMouseClick(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs)
Called when the user clicks a mouse button while the pointer is on a cell.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
"""
pass
def OnMouseDoubleClick(self,*args):
"""
OnMouseDoubleClick(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs)
Called when the user double-clicks a mouse button while the pointer is on a
cell.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
"""
pass
def OnMouseDown(self,*args):
"""
OnMouseDown(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs)
Called when the user holds down a mouse button while the pointer is on a cell.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
"""
pass
def OnMouseEnter(self,*args):
"""
OnMouseEnter(self: DataGridViewCell,rowIndex: int)
Called when the mouse pointer moves over a cell.
rowIndex: The index of the cell's parent row.
"""
pass
def OnMouseLeave(self,*args):
"""
OnMouseLeave(self: DataGridViewCell,rowIndex: int)
Called when the mouse pointer leaves the cell.
rowIndex: The index of the cell's parent row.
"""
pass
def OnMouseMove(self,*args):
"""
OnMouseMove(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs)
Called when the mouse pointer moves within a cell.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
"""
pass
def OnMouseUp(self,*args):
"""
OnMouseUp(self: DataGridViewCell,e: DataGridViewCellMouseEventArgs)
Called when the user releases a mouse button while the pointer is on a cell.
e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event
data.
"""
pass
def Paint(self,*args):
"""
Paint(self: DataGridViewCell,graphics: Graphics,clipBounds: Rectangle,cellBounds: Rectangle,rowIndex: int,cellState: DataGridViewElementStates,value: object,formattedValue: object,errorText: str,cellStyle: DataGridViewCellStyle,advancedBorderStyle: DataGridViewAdvancedBorderStyle,paintParts: DataGridViewPaintParts)
Paints the current System.Windows.Forms.DataGridViewCell.
graphics: The System.Drawing.Graphics used to paint the
System.Windows.Forms.DataGridViewCell.
clipBounds: A System.Drawing.Rectangle that represents the area of the
System.Windows.Forms.DataGridView that needs to be repainted.
cellBounds: A System.Drawing.Rectangle that contains the bounds of the
System.Windows.Forms.DataGridViewCell that is being painted.
rowIndex: The row index of the cell that is being painted.
cellState: A bitwise combination of System.Windows.Forms.DataGridViewElementStates values
that specifies the state of the cell.
value: The data of the System.Windows.Forms.DataGridViewCell that is being painted.
formattedValue: The formatted data of the System.Windows.Forms.DataGridViewCell that is being
painted.
errorText: An error message that is associated with the cell.
cellStyle: A System.Windows.Forms.DataGridViewCellStyle that contains formatting and style
information about the cell.
advancedBorderStyle: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that contains border
styles for the cell that is being painted.
paintParts: A bitwise combination of the System.Windows.Forms.DataGridViewPaintParts values
that specifies which parts of the cell need to be painted.
"""
pass
def PaintBorder(self,*args):
"""
PaintBorder(self: DataGridViewCell,graphics: Graphics,clipBounds: Rectangle,bounds: Rectangle,cellStyle: DataGridViewCellStyle,advancedBorderStyle: DataGridViewAdvancedBorderStyle)
Paints the border of the current System.Windows.Forms.DataGridViewCell.
graphics: The System.Drawing.Graphics used to paint the border.
clipBounds: A System.Drawing.Rectangle that represents the area of the
System.Windows.Forms.DataGridView that needs to be repainted.
bounds: A System.Drawing.Rectangle that contains the area of the border that is being
painted.
cellStyle: A System.Windows.Forms.DataGridViewCellStyle that contains formatting and style
information about the current cell.
advancedBorderStyle: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that contains border
styles of the border that is being painted.
"""
pass
def PaintErrorIcon(self,*args):
"""
PaintErrorIcon(self: DataGridViewCell,graphics: Graphics,clipBounds: Rectangle,cellValueBounds: Rectangle,errorText: str)
Paints the error icon of the current System.Windows.Forms.DataGridViewCell.
graphics: The System.Drawing.Graphics used to paint the border.
clipBounds: A System.Drawing.Rectangle that represents the area of the
System.Windows.Forms.DataGridView that needs to be repainted.
cellValueBounds: The bounding System.Drawing.Rectangle that encloses the cell's content area.
errorText: An error message that is associated with the cell.
"""
pass
def ParseFormattedValue(self,formattedValue,cellStyle,formattedValueTypeConverter,valueTypeConverter):
"""
ParseFormattedValue(self: DataGridViewCell,formattedValue: object,cellStyle: DataGridViewCellStyle,formattedValueTypeConverter: TypeConverter,valueTypeConverter: TypeConverter) -> object
Converts a value formatted for display to an actual cell value.
formattedValue: The display value of the cell.
cellStyle: The System.Windows.Forms.DataGridViewCellStyle in effect for the cell.
formattedValueTypeConverter: A System.ComponentModel.TypeConverter for the display value type,or null to
use the default converter.
valueTypeConverter: A System.ComponentModel.TypeConverter for the cell value type,or null to use
the default converter.
Returns: The cell value.
"""
pass
def PositionEditingControl(self,setLocation,setSize,cellBounds,cellClip,cellStyle,singleVerticalBorderAdded,singleHorizontalBorderAdded,isFirstDisplayedColumn,isFirstDisplayedRow):
"""
PositionEditingControl(self: DataGridViewCell,setLocation: bool,setSize: bool,cellBounds: Rectangle,cellClip: Rectangle,cellStyle: DataGridViewCellStyle,singleVerticalBorderAdded: bool,singleHorizontalBorderAdded: bool,isFirstDisplayedColumn: bool,isFirstDisplayedRow: bool)
Sets the location and size of the editing control hosted by a cell in the
System.Windows.Forms.DataGridView control.
setLocation: true to have the control placed as specified by the other arguments; false to
allow the control to place itself.
setSize: true to specify the size; false to allow the control to size itself.
cellBounds: A System.Drawing.Rectangle that defines the cell bounds.
cellClip: The area that will be used to paint the editing control.
cellStyle: A System.Windows.Forms.DataGridViewCellStyle that represents the style of the
cell being edited.
singleVerticalBorderAdded: true to add a vertical border to the cell; otherwise,false.
singleHorizontalBorderAdded: true to add a horizontal border to the cell; otherwise,false.
isFirstDisplayedColumn: true if the hosting cell is in the first visible column; otherwise,false.
isFirstDisplayedRow: true if the hosting cell is in the first visible row; otherwise,false.
"""
pass
def PositionEditingPanel(self,cellBounds,cellClip,cellStyle,singleVerticalBorderAdded,singleHorizontalBorderAdded,isFirstDisplayedColumn,isFirstDisplayedRow):
"""
PositionEditingPanel(self: DataGridViewCell,cellBounds: Rectangle,cellClip: Rectangle,cellStyle: DataGridViewCellStyle,singleVerticalBorderAdded: bool,singleHorizontalBorderAdded: bool,isFirstDisplayedColumn: bool,isFirstDisplayedRow: bool) -> Rectangle
Sets the location and size of the editing panel hosted by the cell,and returns
the normal bounds of the editing control within the editing panel.
cellBounds: A System.Drawing.Rectangle that defines the cell bounds.
cellClip: The area that will be used to paint the editing panel.
cellStyle: A System.Windows.Forms.DataGridViewCellStyle that represents the style of the
cell being edited.
singleVerticalBorderAdded: true to add a vertical border to the cell; otherwise,false.
singleHorizontalBorderAdded: true to add a horizontal border to the cell; otherwise,false.
isFirstDisplayedColumn: true if the cell is in the first column currently displayed in the control;
otherwise,false.
isFirstDisplayedRow: true if the cell is in the first row currently displayed in the control;
otherwise,false.
Returns: A System.Drawing.Rectangle that represents the normal bounds of the editing
control within the editing panel.
"""
pass
def RaiseCellClick(self,*args):
"""
RaiseCellClick(self: DataGridViewElement,e: DataGridViewCellEventArgs)
Raises the System.Windows.Forms.DataGridView.CellClick event.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def RaiseCellContentClick(self,*args):
"""
RaiseCellContentClick(self: DataGridViewElement,e: DataGridViewCellEventArgs)
Raises the System.Windows.Forms.DataGridView.CellContentClick event.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def RaiseCellContentDoubleClick(self,*args):
"""
RaiseCellContentDoubleClick(self: DataGridViewElement,e: DataGridViewCellEventArgs)
Raises the System.Windows.Forms.DataGridView.CellContentDoubleClick event.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def RaiseCellValueChanged(self,*args):
"""
RaiseCellValueChanged(self: DataGridViewElement,e: DataGridViewCellEventArgs)
Raises the System.Windows.Forms.DataGridView.CellValueChanged event.
e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data.
"""
pass
def RaiseDataError(self,*args):
"""
RaiseDataError(self: DataGridViewElement,e: DataGridViewDataErrorEventArgs)
Raises the System.Windows.Forms.DataGridView.DataError event.
e: A System.Windows.Forms.DataGridViewDataErrorEventArgs that contains the event
data.
"""
pass
def RaiseMouseWheel(self,*args):
"""
RaiseMouseWheel(self: DataGridViewElement,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseWheel event.
e: A System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def SetValue(self,*args):
"""
SetValue(self: DataGridViewCell,rowIndex: int,value: object) -> bool
Sets the value of the cell.
rowIndex: The index of the cell's parent row.
value: The cell value to set.
Returns: true if the value has been set; otherwise,false.
"""
pass
def ToString(self):
"""
ToString(self: DataGridViewCell) -> str
Returns a string that describes the current object.
Returns: A string that represents the current object.
"""
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __str__(self,*args):
pass
AccessibilityObject=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject assigned to the System.Windows.Forms.DataGridViewCell.
Get: AccessibilityObject(self: DataGridViewCell) -> AccessibleObject
"""
ColumnIndex=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the column index for this cell.
Get: ColumnIndex(self: DataGridViewCell) -> int
"""
ContentBounds=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the bounding rectangle that encloses the cell's content area.
Get: ContentBounds(self: DataGridViewCell) -> Rectangle
"""
ContextMenuStrip=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the shortcut menu associated with the cell.
Get: ContextMenuStrip(self: DataGridViewCell) -> ContextMenuStrip
Set: ContextMenuStrip(self: DataGridViewCell)=value
"""
DefaultNewRowValue=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the default value for a cell in the row for new records.
Get: DefaultNewRowValue(self: DataGridViewCell) -> object
"""
Displayed=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the cell is currently displayed on-screen.
Get: Displayed(self: DataGridViewCell) -> bool
"""
EditedFormattedValue=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the current,formatted value of the cell,regardless of whether the cell is in edit mode and the value has not been committed.
Get: EditedFormattedValue(self: DataGridViewCell) -> object
"""
EditType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the type of the cell's hosted editing control.
Get: EditType(self: DataGridViewCell) -> Type
"""
ErrorIconBounds=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the bounds of the error icon for the cell.
Get: ErrorIconBounds(self: DataGridViewCell) -> Rectangle
"""
ErrorText=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the text describing an error condition associated with the cell.
Get: ErrorText(self: DataGridViewCell) -> str
Set: ErrorText(self: DataGridViewCell)=value
"""
FormattedValue=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the value of the cell as formatted for display.
Get: FormattedValue(self: DataGridViewCell) -> object
"""
FormattedValueType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the type of the formatted value associated with the cell.
Get: FormattedValueType(self: DataGridViewCell) -> Type
"""
Frozen=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the cell is frozen.
Get: Frozen(self: DataGridViewCell) -> bool
"""
HasStyle=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Windows.Forms.DataGridViewCell.Style property has been set.
Get: HasStyle(self: DataGridViewCell) -> bool
"""
InheritedState=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the current state of the cell as inherited from the state of its row and column.
Get: InheritedState(self: DataGridViewCell) -> DataGridViewElementStates
"""
InheritedStyle=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the style currently applied to the cell.
Get: InheritedStyle(self: DataGridViewCell) -> DataGridViewCellStyle
"""
IsInEditMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether this cell is currently being edited.
Get: IsInEditMode(self: DataGridViewCell) -> bool
"""
OwningColumn=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the column that contains this cell.
Get: OwningColumn(self: DataGridViewCell) -> DataGridViewColumn
"""
OwningRow=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the row that contains this cell.
Get: OwningRow(self: DataGridViewCell) -> DataGridViewRow
"""
PreferredSize=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the size,in pixels,of a rectangular area into which the cell can fit.
Get: PreferredSize(self: DataGridViewCell) -> Size
"""
ReadOnly=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the cell's data can be edited.
Get: ReadOnly(self: DataGridViewCell) -> bool
Set: ReadOnly(self: DataGridViewCell)=value
"""
Resizable=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the cell can be resized.
Get: Resizable(self: DataGridViewCell) -> bool
"""
RowIndex=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the index of the cell's parent row.
Get: RowIndex(self: DataGridViewCell) -> int
"""
Selected=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the cell has been selected.
Get: Selected(self: DataGridViewCell) -> bool
Set: Selected(self: DataGridViewCell)=value
"""
Size=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the size of the cell.
Get: Size(self: DataGridViewCell) -> Size
"""
Style=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the style for the cell.
Get: Style(self: DataGridViewCell) -> DataGridViewCellStyle
Set: Style(self: DataGridViewCell)=value
"""
Tag=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the object that contains supplemental data about the cell.
Get: Tag(self: DataGridViewCell) -> object
Set: Tag(self: DataGridViewCell)=value
"""
ToolTipText=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the ToolTip text associated with this cell.
Get: ToolTipText(self: DataGridViewCell) -> str
Set: ToolTipText(self: DataGridViewCell)=value
"""
Value=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the value associated with this cell.
Get: Value(self: DataGridViewCell) -> object
Set: Value(self: DataGridViewCell)=value
"""
ValueType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the data type of the values in the cell.
Get: ValueType(self: DataGridViewCell) -> Type
Set: ValueType(self: DataGridViewCell)=value
"""
Visible=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the cell is in a row or column that has been hidden.
Get: Visible(self: DataGridViewCell) -> bool
"""
DataGridViewCellAccessibleObject=None
|
# Exercise 01.2
# Author: Leonardo Ferreira Santos
arguments = input('Say something: ')
print('Number of characters: ', arguments.__sizeof__() - 25) # "-25" is necessary because this function always implements "25".
print('Reversed: ', arguments[::-1])
|
class Matrix:
def __init__(self, *rows):
self.matrix = [row for row in rows]
def __repr__(self):
matrix_repr = ""
for i, row in enumerate(self.matrix):
row_repr = " ".join(f"{n:6.2f}" for n in row[:-1])
row_repr = f"{i}: {row_repr} | {row[-1]:6.2f}"
matrix_repr += f"{row_repr} \n"
return matrix_repr
def scale(self, row, scalar):
self.matrix[row] = [scalar * n for n in self.matrix[row]]
def row_addition(self, source, destination, scalar=1):
s = self.matrix[source]
d = self.matrix[destination]
self.matrix[destination] = [i + scalar * j for i, j in zip(d, s)]
def swap(self, r1, r2):
self.matrix[r1], self.matrix[r2] = self.matrix[r2], self.matrix[r1]
|
'''
This program implements merge sort to sort an array of length n
Author: Juan Ríos
'''
def read_file(path):
File = open(path,'r')
content = File.read()
array = content.split('\n')
tmp = []
for i in array:
tmp.append(int(i))
return tmp
def merge(b_array, c_array):
n = len(b_array)+len(c_array)
d_array = []
i = 0
j = 0
inv = 0
for k in range(n):
if b_array[i]<c_array[j]:
d_array.append(b_array[i])
i+=1
if i==len(b_array):
d_array += c_array[j:]
break
else:
d_array.append(c_array[j])
j+=1
inv += len(b_array[i:])
if j==len(c_array):
d_array += b_array[i:]
break
return d_array,inv
def merge_sort(array):
n = len(array)
if n==1:
return array,0
b_array,inv_b = merge_sort(array[:n//2])
c_array,inv_c = merge_sort(array[n//2:])
d_array, inv_d = merge(b_array, c_array)
return d_array, inv_b+inv_c+inv_d
#test1
# example = [6,4,2,10,11,1]
#test2
# example = [1,3,5,2,4,6]
example = read_file('IntegerArray.txt')
print(example[0:10])
sol = merge_sort(example)
print(sol[0][:10], sol[1])
|
# C++ | General
multiple_files = True
no_spaces = False
type_name = "Pixel"
# C++ | Names
name_camelCase = True
name_lower = False
# Other
out_filename = "Out.cpp" # Only works when multiple_files is on
multiple_files_extension = ".h" |
#!/usr/bin/env python
# encoding: utf-8
def run(whatweb, pluginname):
whatweb.recog_from_content(pluginname, "shopex")
|
#
# PySNMP MIB module CISCO-UNIFIED-COMPUTING-DOMAIN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-UNIFIED-COMPUTING-DOMAIN-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:15:25 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
CiscoNetworkAddress, CiscoAlarmSeverity, CiscoInetAddressMask, Unsigned64, TimeIntervalSec = mibBuilder.importSymbols("CISCO-TC", "CiscoNetworkAddress", "CiscoAlarmSeverity", "CiscoInetAddressMask", "Unsigned64", "TimeIntervalSec")
CucsManagedObjectId, CucsManagedObjectDn, ciscoUnifiedComputingMIBObjects = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-MIB", "CucsManagedObjectId", "CucsManagedObjectDn", "ciscoUnifiedComputingMIBObjects")
CucsDomainFunctionalState, CucsDomainFeatureType = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-TC-MIB", "CucsDomainFunctionalState", "CucsDomainFeatureType")
InetAddressIPv4, InetAddressIPv6 = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv4", "InetAddressIPv6")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
NotificationType, iso, ModuleIdentity, Counter32, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, IpAddress, TimeTicks, Unsigned32, Integer32, Gauge32, MibIdentifier, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "iso", "ModuleIdentity", "Counter32", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "IpAddress", "TimeTicks", "Unsigned32", "Integer32", "Gauge32", "MibIdentifier", "Counter64")
TimeInterval, RowPointer, TruthValue, DateAndTime, MacAddress, TextualConvention, DisplayString, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "TimeInterval", "RowPointer", "TruthValue", "DateAndTime", "MacAddress", "TextualConvention", "DisplayString", "TimeStamp")
cucsDomainObjects = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74))
if mibBuilder.loadTexts: cucsDomainObjects.setLastUpdated('201601180000Z')
if mibBuilder.loadTexts: cucsDomainObjects.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts: cucsDomainObjects.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: [email protected], [email protected]')
if mibBuilder.loadTexts: cucsDomainObjects.setDescription('MIB representation of the Cisco Unified Computing System DOMAIN management information model package')
cucsDomainEnvironmentFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1), )
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureTable.setDescription('Cisco UCS domain:EnvironmentFeature managed object table')
cucsDomainEnvironmentFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainEnvironmentFeatureInstanceId"))
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureEntry.setDescription('Entry for the cucsDomainEnvironmentFeatureTable table.')
cucsDomainEnvironmentFeatureInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainEnvironmentFeatureDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureDn.setDescription('Cisco UCS domain:EnvironmentFeature:dn managed object property')
cucsDomainEnvironmentFeatureRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureRn.setDescription('Cisco UCS domain:EnvironmentFeature:rn managed object property')
cucsDomainEnvironmentFeatureFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureFltAggr.setDescription('Cisco UCS domain:EnvironmentFeature:fltAggr managed object property')
cucsDomainEnvironmentFeatureFunctionalState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 5), CucsDomainFunctionalState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureFunctionalState.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureFunctionalState.setDescription('Cisco UCS domain:EnvironmentFeature:functionalState managed object property')
cucsDomainEnvironmentFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureName.setDescription('Cisco UCS domain:EnvironmentFeature:name managed object property')
cucsDomainEnvironmentFeatureType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 1, 1, 7), CucsDomainFeatureType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureType.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureType.setDescription('Cisco UCS domain:EnvironmentFeature:type managed object property')
cucsDomainEnvironmentFeatureContTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 9), )
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContTable.setDescription('Cisco UCS domain:EnvironmentFeatureCont managed object table')
cucsDomainEnvironmentFeatureContEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 9, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainEnvironmentFeatureContInstanceId"))
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContEntry.setDescription('Entry for the cucsDomainEnvironmentFeatureContTable table.')
cucsDomainEnvironmentFeatureContInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 9, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainEnvironmentFeatureContDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 9, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContDn.setDescription('Cisco UCS domain:EnvironmentFeatureCont:dn managed object property')
cucsDomainEnvironmentFeatureContRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 9, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContRn.setDescription('Cisco UCS domain:EnvironmentFeatureCont:rn managed object property')
cucsDomainEnvironmentFeatureContFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 9, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentFeatureContFltAggr.setDescription('Cisco UCS domain:EnvironmentFeatureCont:fltAggr managed object property')
cucsDomainEnvironmentParamTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2), )
if mibBuilder.loadTexts: cucsDomainEnvironmentParamTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamTable.setDescription('Cisco UCS domain:EnvironmentParam managed object table')
cucsDomainEnvironmentParamEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainEnvironmentParamInstanceId"))
if mibBuilder.loadTexts: cucsDomainEnvironmentParamEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamEntry.setDescription('Entry for the cucsDomainEnvironmentParamTable table.')
cucsDomainEnvironmentParamInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainEnvironmentParamInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainEnvironmentParamDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentParamDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamDn.setDescription('Cisco UCS domain:EnvironmentParam:dn managed object property')
cucsDomainEnvironmentParamRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentParamRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamRn.setDescription('Cisco UCS domain:EnvironmentParam:rn managed object property')
cucsDomainEnvironmentParamFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentParamFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamFltAggr.setDescription('Cisco UCS domain:EnvironmentParam:fltAggr managed object property')
cucsDomainEnvironmentParamName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1, 5), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentParamName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamName.setDescription('Cisco UCS domain:EnvironmentParam:name managed object property')
cucsDomainEnvironmentParamValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 2, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainEnvironmentParamValue.setStatus('current')
if mibBuilder.loadTexts: cucsDomainEnvironmentParamValue.setDescription('Cisco UCS domain:EnvironmentParam:value managed object property')
cucsDomainNetworkFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3), )
if mibBuilder.loadTexts: cucsDomainNetworkFeatureTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureTable.setDescription('Cisco UCS domain:NetworkFeature managed object table')
cucsDomainNetworkFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainNetworkFeatureInstanceId"))
if mibBuilder.loadTexts: cucsDomainNetworkFeatureEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureEntry.setDescription('Entry for the cucsDomainNetworkFeatureTable table.')
cucsDomainNetworkFeatureInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainNetworkFeatureInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainNetworkFeatureDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureDn.setDescription('Cisco UCS domain:NetworkFeature:dn managed object property')
cucsDomainNetworkFeatureRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureRn.setDescription('Cisco UCS domain:NetworkFeature:rn managed object property')
cucsDomainNetworkFeatureFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureFltAggr.setDescription('Cisco UCS domain:NetworkFeature:fltAggr managed object property')
cucsDomainNetworkFeatureFunctionalState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 5), CucsDomainFunctionalState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureFunctionalState.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureFunctionalState.setDescription('Cisco UCS domain:NetworkFeature:functionalState managed object property')
cucsDomainNetworkFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureName.setDescription('Cisco UCS domain:NetworkFeature:name managed object property')
cucsDomainNetworkFeatureType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 3, 1, 7), CucsDomainFeatureType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureType.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureType.setDescription('Cisco UCS domain:NetworkFeature:type managed object property')
cucsDomainNetworkFeatureContTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 10), )
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContTable.setDescription('Cisco UCS domain:NetworkFeatureCont managed object table')
cucsDomainNetworkFeatureContEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 10, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainNetworkFeatureContInstanceId"))
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContEntry.setDescription('Entry for the cucsDomainNetworkFeatureContTable table.')
cucsDomainNetworkFeatureContInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 10, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainNetworkFeatureContDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 10, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContDn.setDescription('Cisco UCS domain:NetworkFeatureCont:dn managed object property')
cucsDomainNetworkFeatureContRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 10, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContRn.setDescription('Cisco UCS domain:NetworkFeatureCont:rn managed object property')
cucsDomainNetworkFeatureContFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 10, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkFeatureContFltAggr.setDescription('Cisco UCS domain:NetworkFeatureCont:fltAggr managed object property')
cucsDomainNetworkParamTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4), )
if mibBuilder.loadTexts: cucsDomainNetworkParamTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamTable.setDescription('Cisco UCS domain:NetworkParam managed object table')
cucsDomainNetworkParamEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainNetworkParamInstanceId"))
if mibBuilder.loadTexts: cucsDomainNetworkParamEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamEntry.setDescription('Entry for the cucsDomainNetworkParamTable table.')
cucsDomainNetworkParamInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainNetworkParamInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainNetworkParamDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkParamDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamDn.setDescription('Cisco UCS domain:NetworkParam:dn managed object property')
cucsDomainNetworkParamRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkParamRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamRn.setDescription('Cisco UCS domain:NetworkParam:rn managed object property')
cucsDomainNetworkParamFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkParamFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamFltAggr.setDescription('Cisco UCS domain:NetworkParam:fltAggr managed object property')
cucsDomainNetworkParamName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1, 5), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkParamName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamName.setDescription('Cisco UCS domain:NetworkParam:name managed object property')
cucsDomainNetworkParamValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 4, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainNetworkParamValue.setStatus('current')
if mibBuilder.loadTexts: cucsDomainNetworkParamValue.setDescription('Cisco UCS domain:NetworkParam:value managed object property')
cucsDomainServerFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5), )
if mibBuilder.loadTexts: cucsDomainServerFeatureTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureTable.setDescription('Cisco UCS domain:ServerFeature managed object table')
cucsDomainServerFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainServerFeatureInstanceId"))
if mibBuilder.loadTexts: cucsDomainServerFeatureEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureEntry.setDescription('Entry for the cucsDomainServerFeatureTable table.')
cucsDomainServerFeatureInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainServerFeatureInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainServerFeatureDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureDn.setDescription('Cisco UCS domain:ServerFeature:dn managed object property')
cucsDomainServerFeatureRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureRn.setDescription('Cisco UCS domain:ServerFeature:rn managed object property')
cucsDomainServerFeatureFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureFltAggr.setDescription('Cisco UCS domain:ServerFeature:fltAggr managed object property')
cucsDomainServerFeatureFunctionalState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 5), CucsDomainFunctionalState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureFunctionalState.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureFunctionalState.setDescription('Cisco UCS domain:ServerFeature:functionalState managed object property')
cucsDomainServerFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureName.setDescription('Cisco UCS domain:ServerFeature:name managed object property')
cucsDomainServerFeatureType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 5, 1, 7), CucsDomainFeatureType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureType.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureType.setDescription('Cisco UCS domain:ServerFeature:type managed object property')
cucsDomainServerFeatureContTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 11), )
if mibBuilder.loadTexts: cucsDomainServerFeatureContTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureContTable.setDescription('Cisco UCS domain:ServerFeatureCont managed object table')
cucsDomainServerFeatureContEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 11, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainServerFeatureContInstanceId"))
if mibBuilder.loadTexts: cucsDomainServerFeatureContEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureContEntry.setDescription('Entry for the cucsDomainServerFeatureContTable table.')
cucsDomainServerFeatureContInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 11, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainServerFeatureContInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureContInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainServerFeatureContDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 11, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureContDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureContDn.setDescription('Cisco UCS domain:ServerFeatureCont:dn managed object property')
cucsDomainServerFeatureContRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 11, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureContRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureContRn.setDescription('Cisco UCS domain:ServerFeatureCont:rn managed object property')
cucsDomainServerFeatureContFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 11, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerFeatureContFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerFeatureContFltAggr.setDescription('Cisco UCS domain:ServerFeatureCont:fltAggr managed object property')
cucsDomainServerParamTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6), )
if mibBuilder.loadTexts: cucsDomainServerParamTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamTable.setDescription('Cisco UCS domain:ServerParam managed object table')
cucsDomainServerParamEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainServerParamInstanceId"))
if mibBuilder.loadTexts: cucsDomainServerParamEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamEntry.setDescription('Entry for the cucsDomainServerParamTable table.')
cucsDomainServerParamInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainServerParamInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainServerParamDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerParamDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamDn.setDescription('Cisco UCS domain:ServerParam:dn managed object property')
cucsDomainServerParamRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerParamRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamRn.setDescription('Cisco UCS domain:ServerParam:rn managed object property')
cucsDomainServerParamFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerParamFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamFltAggr.setDescription('Cisco UCS domain:ServerParam:fltAggr managed object property')
cucsDomainServerParamName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1, 5), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerParamName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamName.setDescription('Cisco UCS domain:ServerParam:name managed object property')
cucsDomainServerParamValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 6, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainServerParamValue.setStatus('current')
if mibBuilder.loadTexts: cucsDomainServerParamValue.setDescription('Cisco UCS domain:ServerParam:value managed object property')
cucsDomainStorageFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7), )
if mibBuilder.loadTexts: cucsDomainStorageFeatureTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureTable.setDescription('Cisco UCS domain:StorageFeature managed object table')
cucsDomainStorageFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainStorageFeatureInstanceId"))
if mibBuilder.loadTexts: cucsDomainStorageFeatureEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureEntry.setDescription('Entry for the cucsDomainStorageFeatureTable table.')
cucsDomainStorageFeatureInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainStorageFeatureInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainStorageFeatureDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureDn.setDescription('Cisco UCS domain:StorageFeature:dn managed object property')
cucsDomainStorageFeatureRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureRn.setDescription('Cisco UCS domain:StorageFeature:rn managed object property')
cucsDomainStorageFeatureFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureFltAggr.setDescription('Cisco UCS domain:StorageFeature:fltAggr managed object property')
cucsDomainStorageFeatureFunctionalState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 5), CucsDomainFunctionalState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureFunctionalState.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureFunctionalState.setDescription('Cisco UCS domain:StorageFeature:functionalState managed object property')
cucsDomainStorageFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureName.setDescription('Cisco UCS domain:StorageFeature:name managed object property')
cucsDomainStorageFeatureType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 7, 1, 7), CucsDomainFeatureType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureType.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureType.setDescription('Cisco UCS domain:StorageFeature:type managed object property')
cucsDomainStorageFeatureContTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 12), )
if mibBuilder.loadTexts: cucsDomainStorageFeatureContTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureContTable.setDescription('Cisco UCS domain:StorageFeatureCont managed object table')
cucsDomainStorageFeatureContEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 12, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainStorageFeatureContInstanceId"))
if mibBuilder.loadTexts: cucsDomainStorageFeatureContEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureContEntry.setDescription('Entry for the cucsDomainStorageFeatureContTable table.')
cucsDomainStorageFeatureContInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 12, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainStorageFeatureContInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureContInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainStorageFeatureContDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 12, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureContDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureContDn.setDescription('Cisco UCS domain:StorageFeatureCont:dn managed object property')
cucsDomainStorageFeatureContRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 12, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureContRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureContRn.setDescription('Cisco UCS domain:StorageFeatureCont:rn managed object property')
cucsDomainStorageFeatureContFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 12, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageFeatureContFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageFeatureContFltAggr.setDescription('Cisco UCS domain:StorageFeatureCont:fltAggr managed object property')
cucsDomainStorageParamTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8), )
if mibBuilder.loadTexts: cucsDomainStorageParamTable.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamTable.setDescription('Cisco UCS domain:StorageParam managed object table')
cucsDomainStorageParamEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", "cucsDomainStorageParamInstanceId"))
if mibBuilder.loadTexts: cucsDomainStorageParamEntry.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamEntry.setDescription('Entry for the cucsDomainStorageParamTable table.')
cucsDomainStorageParamInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsDomainStorageParamInstanceId.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamInstanceId.setDescription('Instance identifier of the managed object.')
cucsDomainStorageParamDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageParamDn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamDn.setDescription('Cisco UCS domain:StorageParam:dn managed object property')
cucsDomainStorageParamRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageParamRn.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamRn.setDescription('Cisco UCS domain:StorageParam:rn managed object property')
cucsDomainStorageParamFltAggr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1, 4), Unsigned64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageParamFltAggr.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamFltAggr.setDescription('Cisco UCS domain:StorageParam:fltAggr managed object property')
cucsDomainStorageParamName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1, 5), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageParamName.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamName.setDescription('Cisco UCS domain:StorageParam:name managed object property')
cucsDomainStorageParamValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 74, 8, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsDomainStorageParamValue.setStatus('current')
if mibBuilder.loadTexts: cucsDomainStorageParamValue.setDescription('Cisco UCS domain:StorageParam:value managed object property')
mibBuilder.exportSymbols("CISCO-UNIFIED-COMPUTING-DOMAIN-MIB", cucsDomainServerFeatureContDn=cucsDomainServerFeatureContDn, cucsDomainServerParamValue=cucsDomainServerParamValue, cucsDomainNetworkFeatureContInstanceId=cucsDomainNetworkFeatureContInstanceId, cucsDomainStorageParamTable=cucsDomainStorageParamTable, cucsDomainStorageParamRn=cucsDomainStorageParamRn, cucsDomainNetworkParamDn=cucsDomainNetworkParamDn, cucsDomainEnvironmentParamValue=cucsDomainEnvironmentParamValue, cucsDomainServerParamDn=cucsDomainServerParamDn, cucsDomainStorageFeatureName=cucsDomainStorageFeatureName, cucsDomainEnvironmentFeatureContEntry=cucsDomainEnvironmentFeatureContEntry, cucsDomainServerParamName=cucsDomainServerParamName, cucsDomainServerParamFltAggr=cucsDomainServerParamFltAggr, cucsDomainNetworkFeatureName=cucsDomainNetworkFeatureName, cucsDomainEnvironmentFeatureFunctionalState=cucsDomainEnvironmentFeatureFunctionalState, cucsDomainNetworkParamValue=cucsDomainNetworkParamValue, cucsDomainStorageFeatureContFltAggr=cucsDomainStorageFeatureContFltAggr, cucsDomainStorageFeatureContEntry=cucsDomainStorageFeatureContEntry, cucsDomainStorageParamFltAggr=cucsDomainStorageParamFltAggr, cucsDomainStorageFeatureRn=cucsDomainStorageFeatureRn, cucsDomainNetworkParamFltAggr=cucsDomainNetworkParamFltAggr, cucsDomainEnvironmentParamName=cucsDomainEnvironmentParamName, cucsDomainEnvironmentFeatureEntry=cucsDomainEnvironmentFeatureEntry, cucsDomainNetworkFeatureContEntry=cucsDomainNetworkFeatureContEntry, cucsDomainServerFeatureDn=cucsDomainServerFeatureDn, cucsDomainServerFeatureContEntry=cucsDomainServerFeatureContEntry, cucsDomainEnvironmentFeatureTable=cucsDomainEnvironmentFeatureTable, cucsDomainServerFeatureContInstanceId=cucsDomainServerFeatureContInstanceId, cucsDomainEnvironmentFeatureContRn=cucsDomainEnvironmentFeatureContRn, cucsDomainNetworkParamName=cucsDomainNetworkParamName, cucsDomainStorageParamEntry=cucsDomainStorageParamEntry, cucsDomainNetworkParamEntry=cucsDomainNetworkParamEntry, cucsDomainServerParamEntry=cucsDomainServerParamEntry, cucsDomainNetworkFeatureRn=cucsDomainNetworkFeatureRn, cucsDomainStorageFeatureDn=cucsDomainStorageFeatureDn, cucsDomainNetworkFeatureContFltAggr=cucsDomainNetworkFeatureContFltAggr, cucsDomainStorageFeatureContTable=cucsDomainStorageFeatureContTable, cucsDomainEnvironmentFeatureType=cucsDomainEnvironmentFeatureType, cucsDomainNetworkFeatureContTable=cucsDomainNetworkFeatureContTable, cucsDomainNetworkFeatureDn=cucsDomainNetworkFeatureDn, cucsDomainEnvironmentParamInstanceId=cucsDomainEnvironmentParamInstanceId, cucsDomainNetworkParamInstanceId=cucsDomainNetworkParamInstanceId, cucsDomainEnvironmentParamDn=cucsDomainEnvironmentParamDn, cucsDomainNetworkParamTable=cucsDomainNetworkParamTable, cucsDomainServerFeatureContFltAggr=cucsDomainServerFeatureContFltAggr, cucsDomainStorageFeatureFunctionalState=cucsDomainStorageFeatureFunctionalState, cucsDomainNetworkFeatureContRn=cucsDomainNetworkFeatureContRn, cucsDomainEnvironmentParamFltAggr=cucsDomainEnvironmentParamFltAggr, cucsDomainServerParamInstanceId=cucsDomainServerParamInstanceId, cucsDomainServerFeatureContRn=cucsDomainServerFeatureContRn, cucsDomainServerParamTable=cucsDomainServerParamTable, cucsDomainStorageParamValue=cucsDomainStorageParamValue, cucsDomainNetworkFeatureFltAggr=cucsDomainNetworkFeatureFltAggr, cucsDomainServerFeatureInstanceId=cucsDomainServerFeatureInstanceId, cucsDomainNetworkFeatureEntry=cucsDomainNetworkFeatureEntry, cucsDomainEnvironmentFeatureFltAggr=cucsDomainEnvironmentFeatureFltAggr, cucsDomainEnvironmentFeatureDn=cucsDomainEnvironmentFeatureDn, cucsDomainEnvironmentParamEntry=cucsDomainEnvironmentParamEntry, cucsDomainNetworkFeatureInstanceId=cucsDomainNetworkFeatureInstanceId, cucsDomainNetworkFeatureType=cucsDomainNetworkFeatureType, cucsDomainNetworkFeatureTable=cucsDomainNetworkFeatureTable, cucsDomainEnvironmentFeatureContInstanceId=cucsDomainEnvironmentFeatureContInstanceId, cucsDomainStorageParamInstanceId=cucsDomainStorageParamInstanceId, cucsDomainServerFeatureEntry=cucsDomainServerFeatureEntry, cucsDomainNetworkFeatureContDn=cucsDomainNetworkFeatureContDn, cucsDomainServerFeatureTable=cucsDomainServerFeatureTable, cucsDomainStorageFeatureFltAggr=cucsDomainStorageFeatureFltAggr, cucsDomainServerFeatureRn=cucsDomainServerFeatureRn, cucsDomainEnvironmentParamRn=cucsDomainEnvironmentParamRn, cucsDomainServerFeatureName=cucsDomainServerFeatureName, cucsDomainNetworkParamRn=cucsDomainNetworkParamRn, cucsDomainNetworkFeatureFunctionalState=cucsDomainNetworkFeatureFunctionalState, cucsDomainServerFeatureFunctionalState=cucsDomainServerFeatureFunctionalState, cucsDomainServerParamRn=cucsDomainServerParamRn, cucsDomainEnvironmentFeatureInstanceId=cucsDomainEnvironmentFeatureInstanceId, cucsDomainStorageFeatureContDn=cucsDomainStorageFeatureContDn, PYSNMP_MODULE_ID=cucsDomainObjects, cucsDomainStorageFeatureContRn=cucsDomainStorageFeatureContRn, cucsDomainStorageFeatureContInstanceId=cucsDomainStorageFeatureContInstanceId, cucsDomainEnvironmentFeatureContTable=cucsDomainEnvironmentFeatureContTable, cucsDomainObjects=cucsDomainObjects, cucsDomainStorageFeatureEntry=cucsDomainStorageFeatureEntry, cucsDomainServerFeatureContTable=cucsDomainServerFeatureContTable, cucsDomainEnvironmentFeatureContFltAggr=cucsDomainEnvironmentFeatureContFltAggr, cucsDomainStorageFeatureInstanceId=cucsDomainStorageFeatureInstanceId, cucsDomainEnvironmentFeatureContDn=cucsDomainEnvironmentFeatureContDn, cucsDomainStorageParamName=cucsDomainStorageParamName, cucsDomainServerFeatureType=cucsDomainServerFeatureType, cucsDomainStorageFeatureTable=cucsDomainStorageFeatureTable, cucsDomainEnvironmentFeatureName=cucsDomainEnvironmentFeatureName, cucsDomainEnvironmentFeatureRn=cucsDomainEnvironmentFeatureRn, cucsDomainStorageParamDn=cucsDomainStorageParamDn, cucsDomainEnvironmentParamTable=cucsDomainEnvironmentParamTable, cucsDomainStorageFeatureType=cucsDomainStorageFeatureType, cucsDomainServerFeatureFltAggr=cucsDomainServerFeatureFltAggr)
|
def test_e1():
a: list[i32]
a = [1, 2, 3]
b: list[str]
b = ['1', '2']
a = b
|
# TODO(kailys): Doc and create examples
class ConfigOption(object):
"A class representing options for ``Config``."
def __init__(self, name, value_map):
self.name = name
self.value_to_code_map = value_map
self.code_to_value_map = {v: k for k, v in value_map.iteritems()}
self.values = value_map.viewkeys()
self.codes = value_map.viewvalues()
def get_code(self, value):
"""
Returns the code corresponding to the given value or the empty string if it
does not exist.
"""
return self.value_to_code_map.get(value, '')
def get_value(self, code):
"""
Returns the value corresponding to the given code or None if it does not
exist.
"""
return self.code_to_value_map.get(code)
def BoolOption(name, code):
"""
A specialized boolean option which uses the provided character code when the
option is on and an empty string when it is off.
"""
return ConfigOption(name, {True: code, False: ''})
class DuplicateCode(Exception):
pass
class InvalidValue(ValueError):
pass
class ConfigAttribute(object):
def __init__(self, option):
self.option = option
def __get__(self, instance, owner):
if instance is None:
return self
return instance._values.get(self.option.name)
def __set__(self, instance, value):
if value not in self.option.values:
raise InvalidValue(value, self.option.name)
instance._values[self.option.name] = value
class BaseConfig(object):
_options = {}
_options_by_code = {}
all_option_codes = ''
def __init__(self):
self._values = {}
def __repr__(self):
return '%s(%r)' % (type(self).__name__, self._values)
def to_code(self):
"""
Render into character codes.
"""
result = []
for key, value in self._values.iteritems():
result.append(self._options[key].get_code(value))
result.sort()
return "".join(result)
@classmethod
def from_code(cls, code):
"""
Render from character codes.
"""
config = cls()
for char in code:
option = cls._options_by_code.get(char)
if not option:
# do not complain; we sometimes want to make subsets of config codes
continue
config._values[option.name] = option.get_value(char)
return config
def find_duplicate(values):
seen = set()
for value in values:
if value in seen:
return value
seen.add(value)
return None
# argument: a list of ConfigOptions. This will return a class that can configure
# the specified options.
def create_configuration(options, base=BaseConfig):
duplicated_code = find_duplicate(
code for option in options for code in option.codes if code)
if duplicated_code:
raise DuplicateCode(duplicated_code)
options_dict = {option.name: option for option in options}
options_by_code = {
code: option for option in options for code in option.codes if code}
class Config(base):
_options = options_dict
_options_by_code = options_by_code
all_option_codes = ''.join(options_by_code)
for option in options:
setattr(Config, option.name, ConfigAttribute(option))
return Config
|
"""
Module: 'crypto' on GPy v1.11
"""
# MCU: (sysname='GPy', nodename='GPy', release='1.20.2.rc7', version='v1.11-6d01270 on 2020-05-04', machine='GPy with ESP32', pybytes='1.4.0')
# Stubber: 1.3.2
class AES:
''
MODE_CBC = 2
MODE_CFB = 3
MODE_CTR = 6
MODE_ECB = 1
SEGMENT_128 = 128
SEGMENT_8 = 8
def generate_rsa_signature():
pass
def getrandbits():
pass
def rsa_decrypt():
pass
def rsa_encrypt():
pass
|
# -*- coding: utf-8 -*-
{
'name': "Product Minimum Order Quantity",
'summary': """
Specify the minimum order quantity of an item""",
'description': """
This module adds the functionality to control the minimum order quantity in a sales order line. The default number is set to 0. You can change this value under the product form for individual product templates. Each product variant will inherit the templates min order quantity. Get in touch with us through [email protected] if you need more help.
""",
'author': "oGecko Solutions",
'website': "http://www.ogecko.com",
'category': 'Sales Management',
#Change the version every release for apps.
'version': '0.1',
# any module necessary for this one to work correctly
'depends': [
'base','sale'
],
# always loaded
'data': [
'views/product_view.xml',
],
# only loaded in demonstration mode
'demo': [
#'demo/demo.xml',
],
# only loaded in test
'test': [
],
}
|
"""
goose : honk pig : 0.05 frog : -8 horse : 1 2 foo 3 duck : "quack quack"
"""
def pydict_to_mxdict(d):
res = []
for k,v in d.items():
res.append(k)
res.append(':')
if type(v) in [list, set, tuple]:
for i in v:
res.append(i)
else:
res.append(v)
return res
def test_pydict_to_mxdict():
d = dict(a='b', c=1.2, d=[1, 2, 34])
assert " ".join(pydict_to_mxdict(d)) == 'a : b c : 1.2 d : 1 2 34'
|
def main():
myList = []
choice = 'a'
while choice != 'x':
if choice == 'a' or choice == 'A':
option1(myList)
elif choice == 'b' or choice == 'B':
option2(myList)
elif choice == 'c' or choice == 'C':
option3(myList)
elif choice == 'd' or choice == 'D':
option4(myList)
elif choice == 'x' or choice == 'X':
break
choice = displayMenu()
print ("\nProgram Exiting!\n\n")
def displayMenu():
myChoice = 0
while myChoice not in ["a","b","c","d","e","x","A","B","C","D","E","X"]:
print("""\n\nPlease choose
A. Add a number to the list/array
B. Print the list/array
C. Display and Separate the Odd and Even Numbers.
D. Print the list/array and sort it in reverse order
X. Quit
""")
myChoice = input("Enter option---> ")
if myChoice not in ["a","b","c","d","e","x","A","B","C","D","E","X"]:
print("Invalid option. Please select again.")
return myChoice
# Option A: Add a number to the list/array
def option1(myList):
num = -1
while num < 0:
num = int(input("\n\nEnter a N integer: "))
if num < 0:
print("Invalid value. Please re-enter.")
myList.append(num)
# Option B: Print the list/array
def option2(myList):
print(sorted(myList))
# Option C: Display and Separate the Odd and Even Numbers.
def option3(myList):
even = []
odd = []
for i in myList:
if (i % 2 == 0):
even.append(i)
else:
odd.append(i)
print("Even lists:", even)
print("Odd lists:", odd)
# Option D: Print the list/array and sort it in reverse order
def option4(myList):
print(sorted(myList, reverse=True))
main() |
reslist = [
-3251,
-1625,
0,
1625,
3251,
4876,
6502,
8127,
9752,
11378,
13003,
] # 1625/1626 increments
def fromcomp(val, bits):
if val >> (bits - 1) == 1:
return 0 - (val ^ (2 ** bits - 1)) - 1
else:
return val
filepath = "out.log"
with open(filepath) as fp:
line = fp.readline()
while line:
if line[32:34] == "TX":
tline = line[-37:]
res = int(tline[15:17] + tline[12:14], 16)
if (res & (1 << 15)) != 0:
res = res - (1 << 16)
elif line[32:34] == "RX":
lines = line[40:]
# print " ".join("%s:%s" % (1+i/2, lines[i:i+2]) for i in range(0, len(lines)-2, 2))
if len(lines) == 98:
# print lines
# 33,34 speed little endian
speed = int(lines[66:68] + lines[64:66], 16)
if (speed & (1 << 15)) != 0:
speed = speed - (1 << 16)
speed = speed / 2.8054 / 100
# Bytes 39, 40 is the force on the wheel to compute the power
force = int(lines[78:80] + lines[76:78], 16)
if (force & (1 << 15)) != 0:
force = force - (1 << 16)
# print "force",force
# byte 13 heart rate?
heartrate = int(lines[24:26], 16)
# cadnce 45,46
cadence = int(lines[90:92] + lines[88:90], 16)
# print "cadence", cadence
# if res in reslist: print res, force
if speed > 10:
print("%s,%s" % (res, force)) # , speed, heartrate
line = fp.readline()
|
# fun from StackOverflow :)
def toFixed(numObj, digits=0):
return f"{numObj:.{digits}f}"
# init
a = int(input("Enter a> "))
b = int(input("Enter b> "))
c = int(input("Enter c> "))
d = int(input("Enter d> "))
# calc
f = toFixed((a+b) / (c+d), 2)
# output
print("(a + b) / (c + d) = ", f)
|
#20 se 100 takk vo print kro jo 2 se devied ho
num=20
while num<=100:
a=num-20
if num%2==0:
print(num)
num+=1 |
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "HW5_FFT.py",
"provenance": [],
"collapsed_sections": [],
"authorship_tag": "ABX9TyOW+hfid580c7DvA724SrbG",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/Patiphan43/2020/blob/master/HW5_FFT.py\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"metadata": {
"id": "oEUz56yG1NyV",
"colab_type": "code",
"colab": {}
},
"source": [
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"\n",
"def gaussian_kernel(size, sigma=1):\n",
" \"\"\"\n",
" Generate 2D Gaussian kernel\n",
" Input: size = size of the Gaussian kernel\n",
" sigma = sigma of the Gaussian function\n",
" Output: 2D array of the Gaussian kernel\n",
" \"\"\"\n",
" n = size//2\n",
" xx, yy = np.meshgrid(range(-n,n+1), range(-n,n+1))\n",
" kernel = np.exp(- (xx**2 + yy**2) / (2*sigma**2))\n",
" kernel = kernel / kernel.sum()\n",
" return kernel\n",
"\n",
"\n",
"def gaussian_blur_fft(image, kernel_size=5, sigma=1):\n",
" \"\"\"\n",
" Perform Gaussian blur on the image using FFT\n",
" Input: image = the original image to perform Gaussian blur on\n",
" kernel_size = size of the Gaussian kernel\n",
" sigma = sigma of the Gaussian function\n",
" Output: Image after applied the Gaussian blur using FFT\n",
" Gaussian kernel in the frequency domain\n",
" Image in the frequency domain\n",
" Convolved image in the frequency domain\n",
" \"\"\"\n",
" kernel = gaussian_kernel(kernel_size, sigma)\n",
" \n",
" pad_height = kernel.shape[0]//2\n",
" pad_width = kernel.shape[1]//2\n",
"\n",
" padded_image = np.pad(image, ((pad_height, pad_height), (pad_width, pad_width), (0, 0)), 'edge')\n",
"\n",
" kernel_fft = np.fft.fft2(kernel, s=padded_image.shape[:2], axes=(0, 1))\n",
"\n",
" image_fft = np.fft.fft2(padded_image, axes=(0, 1))\n",
"\n",
" convolved_fft = kernel_fft[:, :, np.newaxis] * image_fft\n",
"\n",
" #find inverse of fft\n",
" inverse_fft = np.fft.ifft2(convolved_fft)\n",
"\n",
" return inverse_fft, kernel_fft, image_fft, convolved_fft\n",
"\n",
"if __name__ == \"__main__\":\n",
" img = plt.imread('cat.jpg')\n",
" img = img/255.\n",
" img_blur, kernel_fft, image_fft, convolved_fft = gaussian_blur_fft(img)\n",
"\n",
" image_fft_shift = np.log( abs(np.fft.fftshift(image_fft).real) + 1 )\n",
" kernel_fft_shift = np.fft.fftshift(kernel_fft)\n",
" convolved_fft_shift = np.log( abs(np.fft.fftshift(convolved_fft).real) + 1 )\n",
"\n",
" plt.figure()\n",
" plt.subplot(2,3,1)\n",
" plt.imshow(img)\n",
" plt.title('original')\n",
" plt.subplot(2,3,2)\n",
" plt.imshow(img_blur)\n",
" plt.title('blurred image')\n",
" \n",
" plt.subplot(2,3,4)\n",
" plt.imshow(kernel_fft.real)\n",
" plt.title('kernel')\n",
" plt.subplot(2,3,5)\n",
" plt.imshow(kernel_fft_shift.real)\n",
" plt.title('shifted kernel')\n",
" plt.subplot(2,3,6)\n",
" plt.imshow(image_fft_shift / image_fft_shift.max())\n",
" plt.title('shifted image fft magnitude')\n",
" plt.subplot(2,3,3)\n",
" plt.imshow(convolved_fft_shift / convolved_fft_shift.max())\n",
" plt.title('convolved image fft magnitude')\n",
" plt.show()"
],
"execution_count": null,
"outputs": []
}
]
} |
def area_of_rectangle(a,b):
return a * b
a = int(input())
b = int(input())
print(area_of_rectangle(a,b)) |
print('='*5 + 'CASTRO BUY' + '='*5)
preco = float(input('Preço das compras: R$'))
print('FORMAS DE PAGAMENTO:')
op = int(input('[ 1 ] à vista dinheiro/cheque\n'
'[ 2 ] à vista cartão\n'
'[ 3 ] 2x no cartão\n'
'[ 4 ] 3x ou mais no cartão\n'
'Qual a opção?: '))
if op == 1:
total = preco - (preco * 10/100)
print(f'Preço final com 10% de desconto: R${total:.2f}')
elif op == 2:
total = preco - (preco * 5/100)
print(f'Preço final com 5% de desconto: R${total:.2f}')
elif op == 3:
total = preco/2
print(f'Não oferecemos desconto para esta opção...')
print(f'Preço final: 2x R${total:.2f}')
elif op == 4:
tparc = int(input('Deseja parcelar em quantas vezes? '))
total = preco + (preco * 20/100)
parc = total/tparc
print(f'Preço final: {tparc}x R${parc:.2f}, total: R${total:.2f}')
|
t = int(input())
for _ in range(t):
a, b = map(int, input().split())
diff = abs(b-a)
if diff == 0:
print(0)
continue
if diff % 10 == 0:
print(diff//10)
else:
print(diff//10 + 1) |
def sortMolKeys(my_molecules):
if ' and ' not in list(my_molecules.keys())[0]:
my_sort = ['' for i in range(len(my_molecules))]
nums = [int(i.split()[0]) for i in my_molecules]
nums_sorted = ['%i'%i for i in sorted(nums)]
for key in my_molecules:
index = nums_sorted.index(key.split()[0])
my_sort[index] = key
else:
my_sort = []
nums = {}
for i in my_molecules.keys():
mol1 = int(i.split()[0])
mol2 = int(i.split()[-2])
if mol1 not in nums.keys(): nums[mol1] = []
nums[mol1].append(mol2)
for molStart in sorted(nums.keys()):
for molFinish in sorted(nums[molStart]):
for key in my_molecules:
if (key.split()[0] == '%i' % molStart) and (key.split()[-2] == '%i' % molFinish):
my_sort.append(key)
return my_sort
def box_str_to_boxname(name: str):
return 'box' + name
|
#!/usr/bin/env python3
# Copyright 2009-2017 BHG http://bw.org/
# No difference between single and double quotes
x = '''
seven
'''.capitalize()
print('x is {}'.format(x))
print(type(x))
|
x = int(input())
y = int(input())
# the variables `x` and `y` are defined, so just print their sum
print(sum([x, y]))
|
layers_single_good_simulated_response = """{"id": 1474, "url": "https://koordinates.com/services/api/v1/layers/1474/", "type": "layer", "name": "Wellington City Building Footprints", "first_published_at": "2010-06-21T05:05:05.953", "published_at": "2012-05-09T02:11:27.020Z", "description": "Polygons representing building rooftop outlines for urban Wellington including Makara Beach and Makara Village. Each building has an associated elevation above MSL (Wellington 1953). The rooftop elevation does not include above roof structures such as aerials or chimneys. Captured in 1996 and updated in 1998, 1999, 2002, 2006, 2009, 2011 and 2012 in conjunction with aerial photography refly projects.", "description_html": "<p>Polygons representing building rooftop outlines for urban Wellington including Makara Beach and Makara Village. Each building has an associated elevation above MSL (Wellington 1953). The rooftop elevation does not include above roof structures such as aerials or chimneys. Captured in 1996 and updated in 1998, 1999, 2002, 2006, 2009, 2011 and 2012 in conjunction with aerial photography refly projects.</p>", "group": {"id": 119, "url": "https://koordinates.com/services/api/v1/groups/119/", "name": "Wellington City Council", "country": "NZ"}, "data": {"encoding": null, "crs": "EPSG:2193", "primary_key_fields": [], "datasources": [{"id": 65935}], "geometry_field": "GEOMETRY", "fields": [{"name": "GEOMETRY", "type": "geometry"}, {"name": "OBJECTID", "type": "integer"}, {"name": "Shape_Leng", "type": "double"}, {"name": "Shape_Area", "type": "double"}, {"name": "elevation", "type": "double"}, {"name": "feat_code", "type": "string"}, {"name": "source", "type": "string"}]}, "url_html": "https://koordinates.com/layer/1474-wellington-city-building-footprints/", "published_version": "https://koordinates.com/services/api/v1/layers/1474/versions/4067/", "latest_version": "https://koordinates.com/services/api/v1/layers/1474/versions/4067/", "this_version": "https://koordinates.com/services/api/v1/layers/1474/versions/4067/", "kind": "vector", "categories": [{"name": "Cadastral & Property", "slug": "cadastral"}], "tags": ["building", "footprint", "outline", "structure"], "collected_at": ["1996-12-31", "2012-05-01"], "created_at": "2010-06-21T05:05:05.953", "license": {"id": 9, "title": "Creative Commons Attribution 3.0 New Zealand", "type": "cc-by", "jurisdiction": "nz", "version": "3.0", "url": "https://koordinates.com/services/api/v1/licenses/9/", "url_html": "https://koordinates.com/license/attribution-3-0-new-zealand/"}, "metadata": {"iso": "https://koordinates.com/services/api/v1/layers/1474/versions/4067/metadata/iso/", "dc": "https://koordinates.com/services/api/v1/layers/1474/versions/4067/metadata/dc/", "native": "https://koordinates.com/services/api/v1/layers/1474/versions/4067/metadata/"}, "elevation_field": "elevation"}"""
layers_multiple_good_simulated_response = """[{"id": 1474, "url": "https://koordinates.com/services/api/v1/layers/1474/", "type": "layer", "name": "Wellington City Building Footprints", "first_published_at": "2010-06-21T05:05:05.953", "published_at": "2012-05-09T02:11:27.020Z"}, {"id": 1479, "url": "https://koordinates.com/services/api/v1/layers/1479/", "type": "layer", "name": "Wellington City 1m Contours (2009)", "first_published_at": "2010-06-23T06:35:44.803", "published_at": "2010-06-23T06:35:44.803Z"}, {"id": 3185, "url": "https://koordinates.com/services/api/v1/layers/3185/", "type": "layer", "name": "Christchurch Post-Earthquake Aerial Photos (24 Feb 2011)", "first_published_at": "2011-03-24T21:24:30.105", "published_at": "2014-12-08T03:10:27.305Z"}, {"id": 1236, "url": "https://koordinates.com/services/api/v1/layers/1236/", "type": "layer", "name": "NZ Cadastral Parcel Polygons", "first_published_at": "2009-10-19T14:46:22.876", "published_at": "2009-10-19T14:46:22.876Z"}, {"id": 183, "url": "https://koordinates.com/services/api/v1/layers/183/", "type": "layer", "name": "Improved NZ Road Centrelines (August 2011)", "first_published_at": "2008-06-11T00:00:00", "published_at": "2008-06-11T00:00:00Z"}, {"id": 1478, "url": "https://koordinates.com/services/api/v1/layers/1478/", "type": "layer", "name": "Wellington City Council Kerbs", "first_published_at": "2010-06-23T06:10:06.098", "published_at": "2012-05-09T01:55:29.311Z"}, {"id": 754, "url": "https://koordinates.com/services/api/v1/layers/754/", "type": "layer", "name": "DOC Public Conservation Areas", "first_published_at": "2009-05-05T23:23:17.637", "published_at": "2014-11-06T22:13:57.570Z"}, {"id": 1475, "url": "https://koordinates.com/services/api/v1/layers/1475/", "type": "layer", "name": "Wellington City 5m Contours (2004)", "first_published_at": "2010-06-21T21:13:05.280", "published_at": "2010-06-21T21:13:05.280Z"}, {"id": 513, "url": "https://koordinates.com/services/api/v1/layers/513/", "type": "layer", "name": "NZ Landcover (100m)", "first_published_at": "2009-02-09T01:17:42.293", "published_at": "2009-02-09T01:17:42.293Z"}, {"id": 743, "url": "https://koordinates.com/services/api/v1/layers/743/", "type": "layer", "name": "NZ School Zones (Sept 2010)", "first_published_at": "2009-04-25T04:57:35.376", "published_at": "2009-04-25T04:57:35.376Z"}, {"id": 281, "url": "https://koordinates.com/services/api/v1/layers/281/", "type": "layer", "name": "NZ Mainland Contours (Topo, 1 50k)", "first_published_at": "2008-09-02T06:15:20.402", "published_at": "2015-01-13T23:19:57.187Z"}, {"id": 1231, "url": "https://koordinates.com/services/api/v1/layers/1231/", "type": "layer", "name": "NZ Raster Image (Topo50)", "first_published_at": "2009-09-25T16:10:03.092", "published_at": "2015-01-09T19:32:26.673Z"}, {"id": 1066, "url": "https://koordinates.com/services/api/v1/layers/1066/", "type": "layer", "name": "NZ Deprivation Index 2006", "first_published_at": "2009-08-10T05:39:33.726", "published_at": "2009-08-10T05:39:33.726Z"}, {"id": 1431, "url": "https://koordinates.com/services/api/v1/layers/1431/", "type": "layer", "name": "Wellington City Suburbs", "first_published_at": "2010-04-27T01:17:08.579", "published_at": "2010-04-27T01:17:08.579Z"}, {"id": 3774, "url": "https://koordinates.com/services/api/v1/layers/3774/", "type": "layer", "name": "Wellington City 1m Contours (2011)", "first_published_at": "2011-07-25T01:31:00.173", "published_at": "2011-07-25T01:31:00.173Z"}, {"id": 1541, "url": "https://koordinates.com/services/api/v1/layers/1541/", "type": "layer", "name": "New Zealand Region Bathymetry", "first_published_at": "2010-11-02T23:59:30.552", "published_at": "2010-11-02T23:59:30.552Z"}, {"id": 1443, "url": "https://koordinates.com/services/api/v1/layers/1443/", "type": "layer", "name": "Wellington City Wind Zones", "first_published_at": "2010-05-18T04:29:58.694", "published_at": "2012-05-15T00:36:48.756Z"}, {"id": 1331, "url": "https://koordinates.com/services/api/v1/layers/1331/", "type": "layer", "name": "NZ State Highway Centrelines", "first_published_at": "2010-02-21T22:36:20.590", "published_at": "2012-06-20T20:26:32.559Z"}, {"id": 1418, "url": "https://koordinates.com/services/api/v1/layers/1418/", "type": "layer", "name": "NZ 80m Digital Elevation Model", "first_published_at": "2010-03-27T02:46:28.010", "published_at": "2010-03-27T02:46:28.010Z"}, {"id": 1245, "url": "https://koordinates.com/services/api/v1/layers/1245/", "type": "layer", "name": "NZ Area Units (2006 Census)", "first_published_at": "2009-11-13T02:16:23.196", "published_at": "2009-11-13T02:16:23.196Z"}, {"id": 2138, "url": "https://koordinates.com/services/api/v1/layers/2138/", "type": "layer", "name": "Wellington City 1m Digital Elevation Model", "first_published_at": "2011-01-12T04:23:09.875", "published_at": "2011-01-12T04:23:09.875Z"}, {"id": 243, "url": "https://koordinates.com/services/api/v1/layers/243/", "type": "layer", "name": "NZ Schools", "first_published_at": "2008-06-29T00:00:00", "published_at": "2008-06-29T00:00:00Z"}, {"id": 305, "url": "https://koordinates.com/services/api/v1/layers/305/", "type": "layer", "name": "NZ Rainfall", "first_published_at": "2008-09-26T11:55:05.581", "published_at": "2008-09-26T11:55:05.581Z"}, {"id": 413, "url": "https://koordinates.com/services/api/v1/layers/413/", "type": "layer", "name": "NZMS 260 Map Series Index", "first_published_at": "2008-12-02T03:06:00.754", "published_at": "2008-12-02T03:06:00.754Z"}, {"id": 306, "url": "https://koordinates.com/services/api/v1/layers/306/", "type": "layer", "name": "NZ Major Rivers", "first_published_at": "2008-09-26T11:55:10.002", "published_at": "2008-09-26T11:55:10.002Z"}, {"id": 1103, "url": "https://koordinates.com/services/api/v1/layers/1103/", "type": "layer", "name": "World Country Boundaries", "first_published_at": "2009-07-01T06:04:57.642", "published_at": "2009-07-01T06:04:57.642Z"}, {"id": 3903, "url": "https://koordinates.com/services/api/v1/layers/3903/", "type": "layer", "name": "NZ Post Postcode Boundaries (June 2011; licensed only for Mix & Mash 2011)", "first_published_at": "2011-08-26T02:51:11.827", "published_at": "2011-08-26T02:51:11.827Z"}, {"id": 753, "url": "https://koordinates.com/services/api/v1/layers/753/", "type": "layer", "name": "DOC Tracks", "first_published_at": "2009-05-04T01:51:35.509", "published_at": "2014-11-06T22:17:19.869Z"}, {"id": 4320, "url": "https://koordinates.com/services/api/v1/layers/4320/", "type": "layer", "name": "NZTA State Highway 2011-2012 Aerial Imagery, 0.15m", "first_published_at": "2012-07-31T05:58:45.937", "published_at": "2012-07-31T05:58:45.937Z"}, {"id": 518, "url": "https://koordinates.com/services/api/v1/layers/518/", "type": "layer", "name": "NZ Cadastral Titles", "first_published_at": "2009-03-24T08:24:05.908", "published_at": "2009-03-24T08:24:05.908Z"}, {"id": 4068, "url": "https://koordinates.com/services/api/v1/layers/4068/", "type": "layer", "name": "Wellington Region Liquefaction Potential", "first_published_at": "2012-02-23T01:29:39.321", "published_at": "2012-02-23T01:29:39.321Z"}, {"id": 3793, "url": "https://koordinates.com/services/api/v1/layers/3793/", "type": "layer", "name": "Porirua 1m Contours (2005)", "first_published_at": "2011-07-28T22:24:15.023", "published_at": "2011-07-28T22:24:15.023Z"}, {"id": 3658, "url": "https://koordinates.com/services/api/v1/layers/3658/", "type": "layer", "name": "NZ Populated Places - Polygons", "first_published_at": "2011-06-16T10:22:13.529", "published_at": "2011-06-16T10:22:13.529Z"}, {"id": 515, "url": "https://koordinates.com/services/api/v1/layers/515/", "type": "layer", "name": "NZ Greyscale Hillshade (100m)", "first_published_at": "2009-02-09T01:15:19.323", "published_at": "2009-02-09T01:15:19.323Z"}, {"id": 748, "url": "https://koordinates.com/services/api/v1/layers/748/", "type": "layer", "name": "US Airports", "first_published_at": "2009-04-27T00:48:16.085", "published_at": "2009-04-27T00:48:16.085Z"}, {"id": 1285, "url": "https://koordinates.com/services/api/v1/layers/1285/", "type": "layer", "name": "World Urban Areas (1:10 million)", "first_published_at": "2009-12-03T21:15:14.794", "published_at": "2009-12-03T21:15:14.794Z"}, {"id": 3732, "url": "https://koordinates.com/services/api/v1/layers/3732/", "type": "layer", "name": "05 Auckland 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:26:03.746", "published_at": "2011-08-11T21:26:03.746Z"}, {"id": 874, "url": "https://koordinates.com/services/api/v1/layers/874/", "type": "layer", "name": "Oregon Highway Mileposts (2007)", "first_published_at": "2009-05-30T05:43:41.223", "published_at": "2009-05-30T05:43:41.223Z"}, {"id": 1359, "url": "https://koordinates.com/services/api/v1/layers/1359/", "type": "layer", "name": "NZ Residential Areas", "first_published_at": "2010-03-19T07:13:28.231", "published_at": "2010-03-19T07:13:28.231Z"}, {"id": 1156, "url": "https://koordinates.com/services/api/v1/layers/1156/", "type": "layer", "name": "Northland Aerial Photography Acquisition", "first_published_at": "2009-09-09T04:42:27.569", "published_at": "2009-09-09T04:42:27.569Z"}, {"id": 4071, "url": "https://koordinates.com/services/api/v1/layers/4071/", "type": "layer", "name": "Wellington Region Combined Earthquake Hazard", "first_published_at": "2012-03-01T23:43:56.546", "published_at": "2012-03-01T23:43:56.546Z"}, {"id": 152, "url": "https://koordinates.com/services/api/v1/layers/152/", "type": "layer", "name": "NZ Petrol Stations", "first_published_at": "2008-05-21T00:00:00", "published_at": "2012-10-09T21:41:48.247Z"}, {"id": 414, "url": "https://koordinates.com/services/api/v1/layers/414/", "type": "layer", "name": "Parcel Boundaries (Nov 2008)", "first_published_at": "2008-12-14T23:30:19.257", "published_at": "2008-12-14T23:30:19.257Z"}, {"id": 2147, "url": "https://koordinates.com/services/api/v1/layers/2147/", "type": "layer", "name": "NZ Meshblocks (2006 Census)", "first_published_at": "2011-01-18T02:43:43.587", "published_at": "2011-01-18T02:43:43.587Z"}, {"id": 284, "url": "https://koordinates.com/services/api/v1/layers/284/", "type": "layer", "name": "NZ Placenames March 2008", "first_published_at": "2008-09-05T06:37:49.514", "published_at": "2008-09-05T06:37:49.514Z"}, {"id": 197, "url": "https://koordinates.com/services/api/v1/layers/197/", "type": "layer", "name": "NZ Regional Councils (2008 Yearly Pattern)", "first_published_at": "2008-06-20T00:00:00", "published_at": "2008-06-20T00:00:00Z"}, {"id": 4328, "url": "https://koordinates.com/services/api/v1/layers/4328/", "type": "layer", "name": "NZTA State Highway 2009-2010 Aerial Imagery, 0.15m", "first_published_at": "2012-08-13T06:27:04.304", "published_at": "2012-08-13T06:27:04.304Z"}, {"id": 3751, "url": "https://koordinates.com/services/api/v1/layers/3751/", "type": "layer", "name": "23 Christchurch 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:34:48.565", "published_at": "2011-08-11T21:34:48.565Z"}, {"id": 2216, "url": "https://koordinates.com/services/api/v1/layers/2216/", "type": "layer", "name": "Wellington City Park, Reserve or Cemetery", "first_published_at": "2011-01-31T00:01:10.229", "published_at": "2012-05-31T02:53:16.092Z"}, {"id": 1757, "url": "https://koordinates.com/services/api/v1/layers/1757/", "type": "layer", "name": "Wellington City Aerial Imagery (2009)", "first_published_at": "2010-12-15T21:20:27.081", "published_at": "2010-12-15T21:20:27.081Z"}, {"id": 3657, "url": "https://koordinates.com/services/api/v1/layers/3657/", "type": "layer", "name": "NZ Populated Places - Points", "first_published_at": "2011-06-16T10:12:23.259", "published_at": "2011-06-16T10:12:23.259Z"}, {"id": 6676, "url": "https://koordinates.com/services/api/v1/layers/6676/", "type": "layer", "name": "Christchurch City Building Footprints", "first_published_at": "2014-03-26T18:52:28.289", "published_at": "2014-12-29T20:50:27.710Z"}, {"id": 4241, "url": "https://koordinates.com/services/api/v1/layers/4241/", "type": "layer", "name": "NZ Territorial Authorities (2012 Yearly Pattern)", "first_published_at": "2012-05-18T13:13:06.060", "published_at": "2012-05-18T13:13:06.060Z"}, {"id": 4238, "url": "https://koordinates.com/services/api/v1/layers/4238/", "type": "layer", "name": "NZ Meshblocks (2012 Annual Pattern)", "first_published_at": "2012-05-18T02:50:04.930", "published_at": "2012-05-18T02:50:04.930Z"}, {"id": 198, "url": "https://koordinates.com/services/api/v1/layers/198/", "type": "layer", "name": "NZ Territorial Authorities (2008 Yearly Pattern)", "first_published_at": "2008-06-20T00:00:00", "published_at": "2008-06-20T00:00:00Z"}, {"id": 6612, "url": "https://koordinates.com/services/api/v1/layers/6612/", "type": "layer", "name": "Porirua Building Footprints", "first_published_at": "2013-12-16T19:42:35.118", "published_at": "2013-12-16T19:42:35.118Z"}, {"id": 1701, "url": "https://koordinates.com/services/api/v1/layers/1701/", "type": "layer", "name": "Wellington City Tsunami Evacuation Zones", "first_published_at": "2010-11-09T09:05:25.063", "published_at": "2010-11-09T09:05:25.063Z"}, {"id": 3789, "url": "https://koordinates.com/services/api/v1/layers/3789/", "type": "layer", "name": "Porirua 5m Contours (2005)", "first_published_at": "2011-07-28T04:09:53.691", "published_at": "2011-07-28T04:09:53.691Z"}, {"id": 3162, "url": "https://koordinates.com/services/api/v1/layers/3162/", "type": "layer", "name": "Christchurch / Canterbury Address Points (Feb 2011)", "first_published_at": "2011-02-28T21:49:07.721", "published_at": "2011-02-28T21:49:07.721Z"}, {"id": 189, "url": "https://koordinates.com/services/api/v1/layers/189/", "type": "layer", "name": "NZ Supermarkets", "first_published_at": "2008-06-18T00:00:00", "published_at": "2008-06-18T00:00:00Z"}, {"id": 3743, "url": "https://koordinates.com/services/api/v1/layers/3743/", "type": "layer", "name": "16 Wellington 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:33:21.761", "published_at": "2011-08-11T21:33:21.761Z"}, {"id": 297, "url": "https://koordinates.com/services/api/v1/layers/297/", "type": "layer", "name": "NZ SeaCoast (poly)", "first_published_at": "2008-09-26T10:26:19.639", "published_at": "2008-09-26T10:26:19.639Z"}, {"id": 775, "url": "https://koordinates.com/services/api/v1/layers/775/", "type": "layer", "name": "Texas City Limits (2006)", "first_published_at": "2009-05-20T05:58:21.418", "published_at": "2009-05-20T05:58:21.418Z"}, {"id": 791, "url": "https://koordinates.com/services/api/v1/layers/791/", "type": "layer", "name": "Maryland Watersheds", "first_published_at": "2009-05-21T03:00:44.941", "published_at": "2009-05-21T03:00:44.941Z"}, {"id": 242, "url": "https://koordinates.com/services/api/v1/layers/242/", "type": "layer", "name": "NZ Speed Cameras", "first_published_at": "2008-06-25T00:00:00", "published_at": "2008-06-25T00:00:00Z"}, {"id": 514, "url": "https://koordinates.com/services/api/v1/layers/514/", "type": "layer", "name": "NZ Hypsometric Raster (100m)", "first_published_at": "2009-02-09T01:16:46.305", "published_at": "2009-02-09T01:16:46.305Z"}, {"id": 765, "url": "https://koordinates.com/services/api/v1/layers/765/", "type": "layer", "name": "NZ River Polygons (Topo 1:50k)", "first_published_at": "2009-05-18T02:52:38.644", "published_at": "2015-01-08T07:28:14.007Z"}, {"id": 390, "url": "https://koordinates.com/services/api/v1/layers/390/", "type": "layer", "name": "NZ Meshblocks (2008 Yearly Pattern)", "first_published_at": "2008-11-25T00:41:48.949", "published_at": "2008-11-25T00:41:48.949Z"}, {"id": 507, "url": "https://koordinates.com/services/api/v1/layers/507/", "type": "layer", "name": "NZ Payphone Locations", "first_published_at": "2009-01-22T00:58:44.184", "published_at": "2009-01-22T00:58:44.184Z"}, {"id": 412, "url": "https://koordinates.com/services/api/v1/layers/412/", "type": "layer", "name": "NZ Topo 1:50K (Raster Tiles, NZTM)", "first_published_at": "2008-12-08T05:15:38.787", "published_at": "2008-12-08T05:15:38.787Z"}, {"id": 4240, "url": "https://koordinates.com/services/api/v1/layers/4240/", "type": "layer", "name": "NZ Regional Councils (2012 Yearly Pattern)", "first_published_at": "2012-05-18T04:52:35.957", "published_at": "2012-05-18T04:52:35.957Z"}, {"id": 308, "url": "https://koordinates.com/services/api/v1/layers/308/", "type": "layer", "name": "NZ Urban (North)", "first_published_at": "2008-09-26T11:59:44.089", "published_at": "2008-09-26T11:59:44.089Z"}, {"id": 3736, "url": "https://koordinates.com/services/api/v1/layers/3736/", "type": "layer", "name": "09 Taumarunui 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:31:03.606", "published_at": "2011-08-11T21:31:03.606Z"}, {"id": 1720, "url": "https://koordinates.com/services/api/v1/layers/1720/", "type": "layer", "name": "New Zealand 250m Bathymetry Rainbow (2008)", "first_published_at": "2010-12-01T03:26:17.579", "published_at": "2010-12-01T03:26:17.579Z"}, {"id": 749, "url": "https://koordinates.com/services/api/v1/layers/749/", "type": "layer", "name": "US Military Bases", "first_published_at": "2009-04-27T01:39:12.709", "published_at": "2009-04-27T01:39:12.709Z"}, {"id": 1721, "url": "https://koordinates.com/services/api/v1/layers/1721/", "type": "layer", "name": "New Zealand 250m Bathymetry Grid (2008)", "first_published_at": "2010-12-01T03:10:08.093", "published_at": "2010-12-01T03:10:08.093Z"}, {"id": 415, "url": "https://koordinates.com/services/api/v1/layers/415/", "type": "layer", "name": "NZ Topo50 Sheet Index", "first_published_at": "2008-12-03T22:36:16.422", "published_at": "2008-12-03T22:36:16.422Z"}, {"id": 2137, "url": "https://koordinates.com/services/api/v1/layers/2137/", "type": "layer", "name": "Wellington City 5m Digital Elevation Model (2004)", "first_published_at": "2011-01-12T02:32:30.290", "published_at": "2011-01-12T02:32:30.290Z"}, {"id": 18, "url": "https://koordinates.com/services/api/v1/layers/18/", "type": "layer", "name": "NZ Coastlines (Topo 1:50k)", "first_published_at": "2007-12-28T00:00:00", "published_at": "2015-01-12T02:37:42.889Z"}, {"id": 4322, "url": "https://koordinates.com/services/api/v1/layers/4322/", "type": "layer", "name": "NZTA State Highway 2010-2011 Aerial Imagery, 0.15m", "first_published_at": "2012-08-10T02:08:09.980", "published_at": "2012-08-10T02:08:09.980Z"}, {"id": 1164, "url": "https://koordinates.com/services/api/v1/layers/1164/", "type": "layer", "name": "NZ Traffic Lights", "first_published_at": "2009-08-05T11:00:33.141", "published_at": "2009-08-05T11:00:33.141Z"}, {"id": 2136, "url": "https://koordinates.com/services/api/v1/layers/2136/", "type": "layer", "name": "Potential Flood Hazards", "first_published_at": "2011-01-12T00:52:15.291", "published_at": "2012-08-29T01:54:53.822Z"}, {"id": 200, "url": "https://koordinates.com/services/api/v1/layers/200/", "type": "layer", "name": "NZ General Electoral Districts (2007)", "first_published_at": "2008-06-20T00:00:00", "published_at": "2008-06-20T00:00:00Z"}, {"id": 4025, "url": "https://koordinates.com/services/api/v1/layers/4025/", "type": "layer", "name": "Wellington Region Tsunami Evacuation Zones", "first_published_at": "2012-02-10T02:58:36.196", "published_at": "2012-02-10T02:58:36.196Z"}, {"id": 692, "url": "https://koordinates.com/services/api/v1/layers/692/", "type": "layer", "name": "California Hillshade (30m)", "first_published_at": "2009-04-04T04:19:55.254", "published_at": "2009-04-04T04:19:55.254Z"}, {"id": 3875, "url": "https://koordinates.com/services/api/v1/layers/3875/", "type": "layer", "name": "Wellington City Aerial Imagery (2011)", "first_published_at": "2011-08-12T01:28:14.691", "published_at": "2011-08-12T01:28:14.691Z"}, {"id": 801, "url": "https://koordinates.com/services/api/v1/layers/801/", "type": "layer", "name": "Texas Oyster Reefs (Galveston Bay System) (", "first_published_at": "2009-05-21T06:55:45.575", "published_at": "2009-05-21T06:55:45.575Z"}, {"id": 1304, "url": "https://koordinates.com/services/api/v1/layers/1304/", "type": "layer", "name": "NZ Historic Places", "first_published_at": "2009-12-18T00:01:34.745", "published_at": "2009-12-18T00:01:34.745Z"}, {"id": 1336, "url": "https://koordinates.com/services/api/v1/layers/1336/", "type": "layer", "name": "NZTM Sheet Layout 1:10,000", "first_published_at": "2010-03-03T02:58:21.543", "published_at": "2010-03-03T02:58:21.543Z"}, {"id": 4284, "url": "https://koordinates.com/services/api/v1/layers/4284/", "type": "layer", "name": "NZ Area Units (2012 Yearly Pattern, Clipped)", "first_published_at": "2012-06-14T05:13:58.490", "published_at": "2012-06-14T05:13:58.490Z"}, {"id": 1503, "url": "https://koordinates.com/services/api/v1/layers/1503/", "type": "layer", "name": "Spark (formerly Telecom) Cell Sites", "first_published_at": "2010-07-06T03:16:29.131", "published_at": "2014-12-28T21:12:51.212Z"}, {"id": 300, "url": "https://koordinates.com/services/api/v1/layers/300/", "type": "layer", "name": "NZ FSMS6 (North Island)", "first_published_at": "2008-09-26T11:42:50.822", "published_at": "2008-09-26T11:42:50.822Z"}, {"id": 346, "url": "https://koordinates.com/services/api/v1/layers/346/", "type": "layer", "name": "NZ Urban Areas (2008 Yearly Pattern)", "first_published_at": "2008-11-14T23:19:59.396", "published_at": "2008-11-14T23:19:59.396Z"}, {"id": 40, "url": "https://koordinates.com/services/api/v1/layers/40/", "type": "layer", "name": "NZ Road Centrelines (Topo 1:50k)", "first_published_at": "2007-12-29T00:00:00", "published_at": "2015-01-08T07:26:21.316Z"}, {"id": 1483, "url": "https://koordinates.com/services/api/v1/layers/1483/", "type": "layer", "name": "NZ St John Ambulance Stations", "first_published_at": "2010-06-24T21:58:57.355", "published_at": "2010-06-24T21:58:57.355Z"}, {"id": 1184, "url": "https://koordinates.com/services/api/v1/layers/1184/", "type": "layer", "name": "Northland Flood Susceptible Land", "first_published_at": "2009-09-09T04:43:52.244", "published_at": "2009-09-09T04:43:52.244Z"}, {"id": 1247, "url": "https://koordinates.com/services/api/v1/layers/1247/", "type": "layer", "name": "NZ Territorial Authorities (2006 Census)", "first_published_at": "2009-11-13T02:27:01.021", "published_at": "2009-11-13T02:27:01.021Z"}, {"id": 2213, "url": "https://koordinates.com/services/api/v1/layers/2213/", "type": "layer", "name": "NZ Territorial Local Authority Boundaries 2011", "first_published_at": "2011-01-28T03:29:44.942", "published_at": "2011-01-28T03:29:44.942Z"}, {"id": 1291, "url": "https://koordinates.com/services/api/v1/layers/1291/", "type": "layer", "name": "World Bathymetry (1:10 million)", "first_published_at": "2010-01-27T00:47:33.135", "published_at": "2014-01-23T20:02:43.150Z"}, {"id": 4069, "url": "https://koordinates.com/services/api/v1/layers/4069/", "type": "layer", "name": "Wellington Region Earthquake Induced Slope Failure", "first_published_at": "2012-03-01T23:42:03.835", "published_at": "2012-03-01T23:42:03.835Z"}]
"""
sets_multiple_good_simulated_response = """
[{"id": 933, "title": "Ultra Fast Broadband Initiative Coverage", "description": "", "description_html": "", "categories": [], "tags": [], "group": {"id": 141, "url": "https://koordinates.com/services/api/v1/groups/141/", "name": "New Zealand Broadband Map", "country": "NZ"}, "items": ["https://koordinates.com/services/api/v1/layers/4226/", "https://koordinates.com/services/api/v1/layers/4228/", "https://koordinates.com/services/api/v1/layers/4227/", "https://koordinates.com/services/api/v1/layers/4061/", "https://koordinates.com/services/api/v1/layers/4147/", "https://koordinates.com/services/api/v1/layers/4148/"], "url": "https://koordinates.com/services/api/v1/sets/933/", "url_html": "https://koordinates.com/set/933-ultra-fast-broadband-initiative-coverage/", "metadata": null, "created_at": "2012-03-21T21:49:51.420Z"}, {"id": 928, "title": "Fibre Optic Networks and Fibre Optic Coverage", "description": "", "description_html": "", "categories": [], "tags": [], "group": {"id": 141, "url": "https://koordinates.com/services/api/v1/groups/141/", "name": "New Zealand Broadband Map", "country": "NZ"}, "items": ["https://koordinates.com/services/api/v1/layers/4085/", "https://koordinates.com/services/api/v1/layers/4103/", "https://koordinates.com/services/api/v1/layers/4032/", "https://koordinates.com/services/api/v1/layers/4061/", "https://koordinates.com/services/api/v1/layers/4118/", "https://koordinates.com/services/api/v1/layers/4126/", "https://koordinates.com/services/api/v1/layers/4130/", "https://koordinates.com/services/api/v1/layers/4131/", "https://koordinates.com/services/api/v1/layers/4148/", "https://koordinates.com/services/api/v1/layers/4147/", "https://koordinates.com/services/api/v1/layers/4149/", "https://koordinates.com/services/api/v1/layers/4116/", "https://koordinates.com/services/api/v1/layers/4117/", "https://koordinates.com/services/api/v1/layers/4121/", "https://koordinates.com/services/api/v1/layers/4123/", "https://koordinates.com/services/api/v1/layers/4124/", "https://koordinates.com/services/api/v1/layers/4125/", "https://koordinates.com/services/api/v1/layers/4128/", "https://koordinates.com/services/api/v1/layers/4129/", "https://koordinates.com/services/api/v1/layers/4132/"], "url": "https://koordinates.com/services/api/v1/sets/928/", "url_html": "https://koordinates.com/set/928-fibre-optic-networks-and-fibre-optic-coverage/", "metadata": null, "created_at": "2012-03-21T00:27:25.448Z"}, {"id": 936, "title": "Rural Broadband Initiative Coverage 5 Mbps+", "description": "", "description_html": "", "categories": [], "tags": [], "group": {"id": 141, "url": "https://koordinates.com/services/api/v1/groups/141/", "name": "New Zealand Broadband Map", "country": "NZ"}, "items": ["https://koordinates.com/services/api/v1/layers/4188/", "https://koordinates.com/services/api/v1/layers/4086/", "https://koordinates.com/services/api/v1/layers/4084/", "https://koordinates.com/services/api/v1/layers/4187/", "https://koordinates.com/services/api/v1/layers/4186/", "https://koordinates.com/services/api/v1/layers/4083/", "https://koordinates.com/services/api/v1/layers/4196/"], "url": "https://koordinates.com/services/api/v1/sets/936/", "url_html": "https://koordinates.com/set/936-rural-broadband-initiative-coverage-5-mbps/", "metadata": null, "created_at": "2012-03-22T01:26:54.563Z"}, {"id": 927, "title": "Wireless Broadband Providers", "description": "", "description_html": "", "categories": [], "tags": [], "group": {"id": 141, "url": "https://koordinates.com/services/api/v1/groups/141/", "name": "New Zealand Broadband Map", "country": "NZ"}, "items": ["https://koordinates.com/services/api/v1/layers/4043/", "https://koordinates.com/services/api/v1/layers/4042/", "https://koordinates.com/services/api/v1/layers/4067/", "https://koordinates.com/services/api/v1/layers/4066/", "https://koordinates.com/services/api/v1/layers/4084/", "https://koordinates.com/services/api/v1/layers/4047/", "https://koordinates.com/services/api/v1/layers/4049/", "https://koordinates.com/services/api/v1/layers/4086/", "https://koordinates.com/services/api/v1/layers/4083/", "https://koordinates.com/services/api/v1/layers/4041/", "https://koordinates.com/services/api/v1/layers/4040/", "https://koordinates.com/services/api/v1/layers/4022/"], "url": "https://koordinates.com/services/api/v1/sets/927/", "url_html": "https://koordinates.com/set/927-wireless-broadband-providers/", "metadata": null, "created_at": "2012-03-21T00:22:35.415Z"}, {"id": 1563, "title": "Quattroshapes - All Data", "description": "", "description_html": "", "categories": [], "tags": [], "group": {"id": 137, "url": "https://koordinates.com/services/api/v1/groups/137/", "name": "Quattroshapes", "country": "US"}, "items": ["https://koordinates.com/services/api/v1/layers/6237/", "https://koordinates.com/services/api/v1/layers/6236/", "https://koordinates.com/services/api/v1/layers/6233/", "https://koordinates.com/services/api/v1/layers/6232/", "https://koordinates.com/services/api/v1/layers/6231/", "https://koordinates.com/services/api/v1/layers/6227/", "https://koordinates.com/services/api/v1/layers/6230/", "https://koordinates.com/services/api/v1/layers/6226/", "https://koordinates.com/services/api/v1/layers/6225/", "https://koordinates.com/services/api/v1/layers/6235/"], "url": "https://koordinates.com/services/api/v1/sets/1563/", "url_html": "https://koordinates.com/set/1563-quattroshapes-all-data/", "metadata": null, "created_at": "2013-06-14T01:38:56.438Z"}, {"id": 2, "title": "Christchurch Earthquake Layers (LATEST)", "description": "Christchurch City Council Bridge and Road Closures, and Rapid Building Assessments.\n", "description_html": "<p>Christchurch City Council Bridge and Road Closures, and Rapid Building Assessments.<br />\n</p>", "categories": [], "tags": [], "group": {"id": 148, "url": "https://koordinates.com/services/api/v1/groups/148/", "name": "Christchurch Earthquake 2011", "country": "NZ"}, "items": [], "url": "https://koordinates.com/services/api/v1/sets/2/", "url_html": "https://koordinates.com/set/2-christchurch-earthquake-layers-latest/", "metadata": null, "created_at": "2011-02-25T09:28:49.697Z"}, {"id": 1063, "title": "Finland Waterways", "description": "A collection of waterway datasets from the 1:1,000,000 scale topographic database.", "description_html": "<p>A collection of waterway datasets from the 1:1,000,000 scale topographic database.</p>", "categories": [], "tags": [], "group": {"id": 140, "url": "https://koordinates.com/services/api/v1/groups/140/", "name": "National Land Survey of Finland", "country": "FI"}, "items": ["https://koordinates.com/services/api/v1/layers/4262/", "https://koordinates.com/services/api/v1/layers/4277/", "https://koordinates.com/services/api/v1/layers/4259/"], "url": "https://koordinates.com/services/api/v1/sets/1063/", "url_html": "https://koordinates.com/set/1063-finland-waterways/", "metadata": null, "created_at": "2012-05-28T21:51:49.803Z"}, {"id": 230, "title": "TZ Timezones Layers", "description": "Timezone Layers collected from http://efele.net/maps/tz/world/", "description_html": "<p>Timezone Layers collected from <a href=\"http://efele.net/maps/tz/world/\">efele.net/maps/tz/world/</a></p>", "categories": [], "tags": [], "group": {"id": 163, "url": "https://koordinates.com/services/api/v1/groups/163/", "name": "TZ Timezones Maps", "country": "US"}, "items": ["https://koordinates.com/services/api/v1/layers/751/", "https://koordinates.com/services/api/v1/layers/3727/", "https://koordinates.com/services/api/v1/layers/3726/"], "url": "https://koordinates.com/services/api/v1/sets/230/", "url_html": "https://koordinates.com/set/230-tz-timezones-layers/", "metadata": null, "created_at": "2011-07-19T01:30:01.381Z"}, {"id": 1551, "title": "A sample of Triple J modelled radio coverage", "description": "", "description_html": "", "categories": [], "tags": [], "user": {"id": 16042, "url": "https://koordinates.com/services/api/v1/users/16042/", "first_name": "Gov ", "last_name": "Hack", "country": "AU"}, "items": ["https://koordinates.com/services/api/v1/layers/6162/", "https://koordinates.com/services/api/v1/layers/6214/", "https://koordinates.com/services/api/v1/layers/6211/", "https://koordinates.com/services/api/v1/layers/6209/", "https://koordinates.com/services/api/v1/layers/6208/", "https://koordinates.com/services/api/v1/layers/6207/", "https://koordinates.com/services/api/v1/layers/6205/", "https://koordinates.com/services/api/v1/layers/6203/", "https://koordinates.com/services/api/v1/layers/6202/", "https://koordinates.com/services/api/v1/layers/6200/", "https://koordinates.com/services/api/v1/layers/6194/", "https://koordinates.com/services/api/v1/layers/6188/", "https://koordinates.com/services/api/v1/layers/6189/", "https://koordinates.com/services/api/v1/layers/6192/", "https://koordinates.com/services/api/v1/layers/6193/", "https://koordinates.com/services/api/v1/layers/6186/", "https://koordinates.com/services/api/v1/layers/6185/", "https://koordinates.com/services/api/v1/layers/6172/", "https://koordinates.com/services/api/v1/layers/6181/", "https://koordinates.com/services/api/v1/layers/6177/", "https://koordinates.com/services/api/v1/layers/6166/", "https://koordinates.com/services/api/v1/layers/6165/", "https://koordinates.com/services/api/v1/layers/6164/", "https://koordinates.com/services/api/v1/layers/6163/", "https://koordinates.com/services/api/v1/layers/6175/", "https://koordinates.com/services/api/v1/layers/6210/", "https://koordinates.com/services/api/v1/layers/6215/", "https://koordinates.com/services/api/v1/layers/6199/", "https://koordinates.com/services/api/v1/layers/6180/"], "url": "https://koordinates.com/services/api/v1/sets/1551/", "url_html": "https://koordinates.com/set/1551-a-sample-of-triple-j-modelled-radio-coverage/", "metadata": null, "created_at": "2013-06-03T03:51:48.082Z"}]"""
|
hash_table = [0] * 8
def get_key(data):
return hash(data)
def get_address(key):
return key % 8
def save_data(data, value):
key = get_key(data)
addr = get_address(key)
if not hash_table[addr]:
hash_table[addr] = [[key, value]]
else:
for i in range(len(hash_table[addr])):
if hash_table[addr][i][0] == key:
hash_table[addr][i][1] = value
return
hash_table[addr].append([key, value])
def read_data(data):
key = get_key(data)
addr = get_address(key)
if not hash_table[addr]:
return None
else:
for i in range(len(hash_table[addr])):
if hash_table[addr][i][0] == key:
return hash_table[addr][i][1]
return None
|
print('Quantidade de tinta nescessario.')
lar = float(input('Largura da parede: '))
alt = float(input('Altura da Parede: '))
area = lar * alt
tinta = area / 2
print('Sua parede é de {:.2f}m²:'.format(area))
print('Precisa de aprocimadamente {:.3f}l de tinta.'.format(tinta)) |
set_name(0x8012427C, "PresOnlyTestRoutine__Fv", SN_NOWARN)
set_name(0x801242A4, "FeInitBuffer__Fv", SN_NOWARN)
set_name(0x801242CC, "FeAddEntry__Fii8TXT_JUSTiP7FeTableP5CFont", SN_NOWARN)
set_name(0x8012433C, "FeAddTable__FP11FeMenuTablei", SN_NOWARN)
set_name(0x801243BC, "FeDrawBuffer__Fv", SN_NOWARN)
set_name(0x80124874, "FeNewMenu__FP7FeTable", SN_NOWARN)
set_name(0x801248F4, "FePrevMenu__Fv", SN_NOWARN)
set_name(0x80124978, "FeSelUp__Fi", SN_NOWARN)
set_name(0x80124A60, "FeSelDown__Fi", SN_NOWARN)
set_name(0x80124B44, "FeGetCursor__Fv", SN_NOWARN)
set_name(0x80124B58, "FeSelect__Fv", SN_NOWARN)
set_name(0x80124B9C, "FeMainKeyCtrl__FP7CScreen", SN_NOWARN)
set_name(0x80124DA8, "InitDummyMenu__Fv", SN_NOWARN)
set_name(0x80124DB0, "InitFrontEnd__FP9FE_CREATE", SN_NOWARN)
set_name(0x80124E74, "FeInitMainMenu__Fv", SN_NOWARN)
set_name(0x80124ED0, "FeInitNewGameMenu__Fv", SN_NOWARN)
set_name(0x80124F1C, "FeNewGameMenuCtrl__Fv", SN_NOWARN)
set_name(0x80125010, "FeInitPlayer1ClassMenu__Fv", SN_NOWARN)
set_name(0x80125060, "FeInitPlayer2ClassMenu__Fv", SN_NOWARN)
set_name(0x801250B0, "FePlayerClassMenuCtrl__Fv", SN_NOWARN)
set_name(0x801250F8, "FeDrawChrClass__Fv", SN_NOWARN)
set_name(0x80125594, "FeInitNewP1NameMenu__Fv", SN_NOWARN)
set_name(0x801255E4, "FeInitNewP2NameMenu__Fv", SN_NOWARN)
set_name(0x80125634, "FeNewNameMenuCtrl__Fv", SN_NOWARN)
set_name(0x80125B84, "FeCopyPlayerInfoForReturn__Fv", SN_NOWARN)
set_name(0x80125C54, "FeEnterGame__Fv", SN_NOWARN)
set_name(0x80125C7C, "FeInitLoadMemcardSelect__Fv", SN_NOWARN)
set_name(0x80125CE4, "FeInitLoadChar1Menu__Fv", SN_NOWARN)
set_name(0x80125D50, "FeInitLoadChar2Menu__Fv", SN_NOWARN)
set_name(0x80125DBC, "FeInitDifficultyMenu__Fv", SN_NOWARN)
set_name(0x80125E00, "FeDifficultyMenuCtrl__Fv", SN_NOWARN)
set_name(0x80125EB8, "FeInitBackgroundMenu__Fv", SN_NOWARN)
set_name(0x80125F00, "FeInitBook1Menu__Fv", SN_NOWARN)
set_name(0x80125F4C, "FeInitBook2Menu__Fv", SN_NOWARN)
set_name(0x80125F98, "FeBackBookMenuCtrl__Fv", SN_NOWARN)
set_name(0x80126194, "PlayDemo__Fv", SN_NOWARN)
set_name(0x801261A8, "FadeFEOut__FP7CScreen", SN_NOWARN)
set_name(0x8012625C, "FrontEndTask__FP4TASK", SN_NOWARN)
set_name(0x801265C4, "McMainCharKeyCtrl__Fv", SN_NOWARN)
set_name(0x801268F0, "___6Dialog", SN_NOWARN)
set_name(0x80126918, "__6Dialog", SN_NOWARN)
set_name(0x80126974, "___7CScreen", SN_NOWARN)
set_name(0x80127538, "InitCredits__Fv", SN_NOWARN)
set_name(0x80127574, "PrintCredits__FPciiiii", SN_NOWARN)
set_name(0x80127D94, "DrawCreditsTitle__Fiiiii", SN_NOWARN)
set_name(0x80127E60, "DrawCreditsSubTitle__Fiiiii", SN_NOWARN)
set_name(0x80127F3C, "DoCredits__Fv", SN_NOWARN)
set_name(0x801281B0, "PRIM_GetPrim__FPP8POLY_FT4", SN_NOWARN)
set_name(0x8012822C, "GetCharHeight__5CFontc", SN_NOWARN)
set_name(0x80128264, "GetCharWidth__5CFontc", SN_NOWARN)
set_name(0x801282BC, "___7CScreen_addr_801282BC", SN_NOWARN)
set_name(0x801282DC, "GetFr__7TextDati", SN_NOWARN)
set_name(0x8012C8D4, "endian_swap__FPUci", SN_NOWARN)
set_name(0x8012C908, "to_sjis__Fc", SN_NOWARN)
set_name(0x8012C988, "to_ascii__FUs", SN_NOWARN)
set_name(0x8012CA08, "ascii_to_sjis__FPcPUs", SN_NOWARN)
set_name(0x8012CA9C, "sjis_to_ascii__FPUsPc", SN_NOWARN)
set_name(0x8012CB24, "test_hw_event__Fv", SN_NOWARN)
set_name(0x8012CBB4, "read_card_directory__Fi", SN_NOWARN)
set_name(0x8012CDEC, "test_card_format__Fi", SN_NOWARN)
set_name(0x8012CE7C, "checksum_data__FPci", SN_NOWARN)
set_name(0x8012CEB8, "delete_card_file__Fii", SN_NOWARN)
set_name(0x8012CFB0, "read_card_file__FiiiPc", SN_NOWARN)
set_name(0x8012D168, "format_card__Fi", SN_NOWARN)
set_name(0x8012D218, "write_card_file__FiiPcT2PUcPUsiT4", SN_NOWARN)
set_name(0x8012D560, "new_card__Fi", SN_NOWARN)
set_name(0x8012D5DC, "service_card__Fi", SN_NOWARN)
set_name(0x801477D4, "GetFileNumber__FiPc", SN_NOWARN)
set_name(0x80147894, "DoSaveCharacter__FPc", SN_NOWARN)
set_name(0x8014795C, "DoSaveGame__Fv", SN_NOWARN)
set_name(0x80147A1C, "DoLoadGame__Fv", SN_NOWARN)
set_name(0x80147A5C, "DoFrontEndLoadCharacter__FPc", SN_NOWARN)
set_name(0x80147AB8, "McInitLoadCard1Menu__Fv", SN_NOWARN)
set_name(0x80147B04, "McInitLoadCard2Menu__Fv", SN_NOWARN)
set_name(0x80147B50, "ChooseCardLoad__Fv", SN_NOWARN)
set_name(0x80147C04, "McInitLoadCharMenu__Fv", SN_NOWARN)
set_name(0x80147C2C, "McInitLoadGameMenu__Fv", SN_NOWARN)
set_name(0x80147C88, "McMainKeyCtrl__Fv", SN_NOWARN)
set_name(0x80147E44, "ShowAlertBox__Fv", SN_NOWARN)
set_name(0x80147FE4, "GetLoadStatusMessage__FPc", SN_NOWARN)
set_name(0x80148064, "GetSaveStatusMessage__FiPc", SN_NOWARN)
set_name(0x8014813C, "SetRGB__6DialogUcUcUc", SN_NOWARN)
set_name(0x8014815C, "SetBack__6Dialogi", SN_NOWARN)
set_name(0x80148164, "SetBorder__6Dialogi", SN_NOWARN)
set_name(0x8014816C, "SetOTpos__6Dialogi", SN_NOWARN)
set_name(0x80148178, "___6Dialog_addr_80148178", SN_NOWARN)
set_name(0x801481A0, "__6Dialog_addr_801481A0", SN_NOWARN)
set_name(0x801481FC, "ILoad__Fv", SN_NOWARN)
set_name(0x80148250, "LoadQuest__Fi", SN_NOWARN)
set_name(0x80148318, "ISave__Fi", SN_NOWARN)
set_name(0x80148378, "SaveQuest__Fi", SN_NOWARN)
set_name(0x80148444, "PSX_GM_SaveGame__FiPcT1", SN_NOWARN)
set_name(0x801486F8, "PSX_GM_LoadGame__FUcii", SN_NOWARN)
set_name(0x801489F4, "PSX_CH_LoadGame__Fii", SN_NOWARN)
set_name(0x80148B1C, "PSX_CH_SaveGame__FiPcT1", SN_NOWARN)
set_name(0x80148C74, "RestorePads__Fv", SN_NOWARN)
set_name(0x80148D34, "StorePads__Fv", SN_NOWARN)
set_name(0x80126A48, "CreditsTitle", SN_NOWARN)
set_name(0x80126BF0, "CreditsSubTitle", SN_NOWARN)
set_name(0x8012708C, "CreditsText", SN_NOWARN)
set_name(0x801271A4, "CreditsTable", SN_NOWARN)
set_name(0x801283D4, "card_dir", SN_NOWARN)
set_name(0x801288D4, "card_header", SN_NOWARN)
set_name(0x801282F8, "sjis_table", SN_NOWARN)
set_name(0x8012D7D4, "save_buffer", SN_NOWARN)
set_name(0x8012D73C, "McLoadGameMenu", SN_NOWARN)
set_name(0x8012D71C, "CharFileList", SN_NOWARN)
set_name(0x8012D730, "Classes", SN_NOWARN)
set_name(0x8012D758, "McLoadCharMenu", SN_NOWARN)
set_name(0x8012D774, "McLoadCard1Menu", SN_NOWARN)
set_name(0x8012D790, "McLoadCard2Menu", SN_NOWARN)
|
src='2018-5540'
region='box[[181pix,79pix], [681pix,816pix]]'
directory='/Volumes/NARNIA/pilot_cutouts/leakage_corrected/2018-5540/'
imsubimage(imagename='FDF_peakRM_fitted_corrected.fits',outfile='pkrm_smol_temp',region=region,overwrite=True,dropdeg=True)
exportfits(imagename='pkrm_smol_temp',fitsimage='2018-5540_pkrm_forSF.fits',overwrite=True)
imsubimage(imagename='2018-5540_FDF_peakRM_dropdeg.fits',outfile='dd_smol_temp',region=region,overwrite=True,dropdeg=True)
exportfits(imagename='dd_smol_temp',fitsimage='2018-5540_pkrm_dropdeg_forSF.fits',overwrite=True)
imsubimage(imagename='2018-5540_RM_error.fits',outfile='err_smol_temp',region=region,overwrite=True,dropdeg=True)
exportfits(imagename='err_smol_temp',fitsimage='2018-5540_RM_error_forSF.fits',overwrite=True)
os.system("rm -r *_temp") |
# coding=utf-8
BASE_ENDPOINT = "http://sskj.si/?s={}"
MAX_DEFINITIONS = 50
MAX_CACHE_AGE = 43200
class SpecialChars:
TERMINOLOGY = u"\u25CF"
SLANG = u"\u2666"
REPLACEMENTS = {
# no-break space replacement with normal space
"\xa0": " "
}
def remove_num(d):
for n in range(1, MAX_DEFINITIONS):
if str(d).startswith(str(n) + "."):
return str(d).strip(str(n) + ".")
def parse_encoding(data):
for target, replacement in REPLACEMENTS.items():
data = str(data).replace(target, replacement)
return data
strip_chars = [
" ", "\n", "\t",
]
def clean(data):
data = str(data)
for char in strip_chars:
data = data.strip(char)
return data
|
#### Regulation Z
IGNORE_DEFINITIONS_IN_PART_1026 = [
'credit report',
'credit-report',
'Consumer Price Index',
'credit counseling',
'and credit the',
'credit reporting agencies',
'credit history',
'Credit the amount',
'credit to a deposit account',
'Consumer Price level',
'may state',
'and state that',
'could state',
'must state',
'shall state',
'application',
'fail to credit',
'consumer reporting agency',
'states specific',
'act',
'Act',
'deferred interest or similar plan',
]
FR_NOTICE_OVERRIDES_1026 = {
'2015-18239': {
'dates': 'The amendments in this final rule are effective on '
'October 3, 2015. The effective date of 78 FR 79730, '
'79 FR 65299, and 80 FR 8767 has been delayed until '
'October 3, 2015',
}
}
|
class Solution:
def bitwiseComplement(self, N: int) -> int:
X = 1
while N > X: X = X * 2 + 1
return X - N
|
class Constants:
HEADERS = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:70.0) '
'Gecko/20100101 Firefox/70.0'
}
HEADERS = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:70.0) '
'Gecko/20100101 Firefox/70.0',
"Connection": "close"
}
|
# https://programmers.co.kr/learn/courses/30/lessons/77484
# 로또의 최고 순위와 최저 순위
def count_to_rank(count):
return min(6, 7 - count)
def solution(lottos, win_nums):
base = 0
num_joker = 0
for num in lottos:
if num == 0:
num_joker += 1
elif num in win_nums:
base += 1
return count_to_rank(base + num_joker), count_to_rank(base)
print(solution([44, 1, 0, 0, 31, 25], [31, 10, 45, 1, 6, 19]))
|
# You are developing an online booking portal for a bus tour company. On the website, tourists can book in
# groups to come on your company's city bus tour. The company has various buses with different capacities.
# You want to determine, from the list of available bookings, if you can completely fill up a particular bus.
# The golden rule is that you cannot break groups apart and put them on separate buses.
# More formally:
#
# For:
# A bus with capacity: int full_cap
# A list of group bookings, where each element represents a group size: int list group_sizes
# Write a function that returns true iff groupSizes contains a subset that when you sum it up is equal to c.
# That is from the list of group bookings you can completely fill up a bus
#
# Assume:
# capacity full_cap is greater or equal to 0
# each integer in groupSizes is greater than 0
#
# Examples:
# groupSizes = {4, 13, 5, 12, 6, 1, 8}, full_cap = 11 should return true as subset (5, 6) has a sum of 9
# groupSizes = {1, 1, 1}, full_cap = 3 should return true as subset (1, 1, 1) has a sum of 3
# groupSizes = {4, 5, 6, 7}, full_cap = 100 should return false
class FullBusTour:
def __init__(self, group_sizes, full_cap):
self.group_sizes = group_sizes
self.full_cap = full_cap
def fits_exactly(self):
return False
|
'''
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PM4Py is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
'''
class BasicStructureRandomVariable(object):
def __init__(self):
"""
Constructor
"""
self.priority = 0
self.weight = 0
def get_weight(self):
"""
Getter of weight
Returns
----------
weight
Weight of the transition
"""
return self.weight
def set_weight(self, weight):
"""
Setter of weight variable
Parameters
-----------
weight
Weight of the transition
"""
self.weight = weight
def get_priority(self):
"""
Getter of the priority
Returns
-----------
priority
Priority of the transition
"""
return self.priority
def set_priority(self, priority):
"""
Setter of the priority variable
Parameters
------------
priority
Priority of the transition
"""
self.priority = priority
def get_transition_type(self):
"""
Get the type of transition associated to the current distribution
Returns
-----------
transition_type
String representing the type of the transition
"""
return "TIMED"
def get_distribution_type(self):
"""
Get current distribution type
Returns
-----------
distribution_type
String representing the distribution type
"""
return "NORMAL"
def get_distribution_parameters(self):
"""
Get a string representing distribution parameters
Returns
-----------
distribution_parameters
String representing distribution parameters
"""
return "UNDEFINED"
def __str__(self):
"""
Returns a representation of the current object
Returns
----------
repr
Representation of the current object
"""
return self.get_distribution_type() + " " + self.get_distribution_parameters()
def __repr__(self):
"""
Returns a representation of the current object
Returns
----------
repr
Representation of the current object
"""
return self.get_distribution_type() + " " + self.get_distribution_parameters()
def get_value(self):
"""
Get a random value following the distribution
Returns
-----------
value
Value obtained following the distribution
"""
return None
def get_values(self, no_values=400):
"""
Get some random values following the distribution
Parameters
-----------
no_values
Number of values to return
Returns
----------
values
Values extracted according to the probability distribution
"""
return [self.get_value() for i in range(no_values)]
|
# ex02 Faça um Programa que peça um número e então mostre a mensagem O número informado foi [número].
numero = int(input('Digite um número: '))
print(f'O numero informado foi {numero}')
|
#
# PySNMP MIB module SIEMENS-HP4KHIM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SIEMENS-HP4KHIM-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:04:13 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
TimeTicks, enterprises, Counter32, Unsigned32, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, NotificationType, Bits, Counter64, Integer32, iso, ModuleIdentity, MibIdentifier, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "enterprises", "Counter32", "Unsigned32", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "NotificationType", "Bits", "Counter64", "Integer32", "iso", "ModuleIdentity", "MibIdentifier", "IpAddress")
MacAddress, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention", "DisplayString")
siemens = MibIdentifier((1, 3, 6, 1, 4, 1, 4329))
iandcAdmin = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2))
hp4khim = ModuleIdentity((1, 3, 6, 1, 4, 1, 4329, 2, 51))
hp4khim.setRevisions(('2006-06-07 07:47',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: hp4khim.setRevisionsDescriptions(('Initial version.',))
if mibBuilder.loadTexts: hp4khim.setLastUpdated('200611100000Z')
if mibBuilder.loadTexts: hp4khim.setOrganization('Siemens')
if mibBuilder.loadTexts: hp4khim.setContactInfo('David Nemeskey')
if mibBuilder.loadTexts: hp4khim.setDescription('')
class HimPEN(TextualConvention, OctetString):
description = 'Octet String for storing PEN numbers. The format is The PEN is displayed in the following format: [LTG]-[LTU]-[EBT]. LTG: Line/Trunk Group: always 1 LTU: Line/Trunk Unit: a number between 1 and 99 EBT: a three-digit number.'
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 9)
class HimPabxId(TextualConvention, Integer32):
description = 'Textual convention for the Pabx Id.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647)
class HimSwitchNumber(TextualConvention, OctetString):
description = 'Data type of the switch number.'
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 17)
class HimYesNo(TextualConvention, Integer32):
description = 'Boolean data type: 1. no 2. yes The order is set like this to comply with the definition of data leaves in the hicom MIB that use this convention implicitly.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 0))
namedValues = NamedValues(("yes", 1), ("no", 2), ("other", 0))
class DiscoveryStates(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))
namedValues = NamedValues(("done", 1), ("error", 2), ("busy", 3), ("finok", 4), ("finerr", 5), ("kill", 6))
class DiscoveryModes(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 9))
namedValues = NamedValues(("man", 1), ("auto", 2), ("undef", 9))
class HimPhoneNumber(TextualConvention, OctetString):
description = 'Convention that represents phone numbers in a HiPath system.'
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 22)
class HimShelfNWType(TextualConvention, Integer32):
description = 'Network type of the shelf.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 0))
namedValues = NamedValues(("flex", 1), ("local", 2), ("apnw", 3), ("apdl", 4), ("other", 0))
himWelcomePage = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1))
himWelPgTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1), )
if mibBuilder.loadTexts: himWelPgTable.setStatus('current')
if mibBuilder.loadTexts: himWelPgTable.setDescription('')
himWelPgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himWelPgPabxId"))
if mibBuilder.loadTexts: himWelPgEntry.setStatus('current')
if mibBuilder.loadTexts: himWelPgEntry.setDescription('')
himWelPgPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himWelPgPabxId.setStatus('current')
if mibBuilder.loadTexts: himWelPgPabxId.setDescription('')
himWelPgSysNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 2), HimSwitchNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himWelPgSysNo.setStatus('current')
if mibBuilder.loadTexts: himWelPgSysNo.setDescription('This field contains the system number (max. 17 characters).')
himHP4KVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHP4KVersion.setStatus('current')
if mibBuilder.loadTexts: himHP4KVersion.setDescription('This field contains the Hicom/HiPath version number of the system (max. 4 characters).')
himSystemRelease = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSystemRelease.setStatus('current')
if mibBuilder.loadTexts: himSystemRelease.setDescription('This field contains the system release number of the system (max. 2 characters).')
himRevisionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himRevisionLevel.setStatus('current')
if mibBuilder.loadTexts: himRevisionLevel.setDescription('This field contains the revision number of the system software (max. 2 characters).')
himHWArchitecture = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 25))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWArchitecture.setStatus('current')
if mibBuilder.loadTexts: himHWArchitecture.setDescription("This field contains the information on hardware architecture in the format [hw-architecture][system-variant][hw-design] [hw-architecture] Abbreviation describing hardware architecture. F.i '4300', '350E', etc. [system-variant] H40: SYSTEM VARIANT 40 H80: SYSTEM VARIANT 80 H600: SYSTEM VARIANT 600 [hw-design] ECX: HARDWARE DESIGN EXTENDED COMPACT EXTENDED ECDSC: HARDWARE DESIGN EXTENDED COMPACT DSC CXE: HARDWARE DESIGN EXTENDED COMPACT CXE")
himHWArchitectureType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWArchitectureType.setStatus('current')
if mibBuilder.loadTexts: himHWArchitectureType.setDescription('This field contains abbreviation describing hardware architecture type (max. 3 characters).')
himOperationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himOperationMode.setStatus('current')
if mibBuilder.loadTexts: himOperationMode.setDescription('This field contains the operating mode of the system. Possible Values: SIMPLEX: OPERATING MODE SIMPLEX DUPLEX: OPERATING MODE DUPLEX REDUNDANCY')
himSWUProc1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUProc1.setStatus('current')
if mibBuilder.loadTexts: himSWUProc1.setDescription('These fields contains the name of the SWU processor board (max. 8 characters). SWU = Switching Unit Possible values: - CC-A - CC-B')
himSWUMemory1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUMemory1.setStatus('current')
if mibBuilder.loadTexts: himSWUMemory1.setDescription('These fields contain the size of the SWU memory for each processor card. SWU = Switching Unit')
himSWUProc2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUProc2.setStatus('current')
if mibBuilder.loadTexts: himSWUProc2.setDescription('These fields contains the name of the SWU processor board (max. 8 characters). SWU = Switching Unit Possible values: - CC-A - CC-B')
himSWUMemory2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 1, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUMemory2.setStatus('current')
if mibBuilder.loadTexts: himSWUMemory2.setDescription('These fields contain the size of the SWU memory for each processor card. SWU = Switching Unit')
himSwitchData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2))
himTechInfoTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1), )
if mibBuilder.loadTexts: himTechInfoTable.setStatus('current')
if mibBuilder.loadTexts: himTechInfoTable.setDescription('')
himTechInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himTechInfoPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himTechInfoInfoNo"))
if mibBuilder.loadTexts: himTechInfoEntry.setStatus('current')
if mibBuilder.loadTexts: himTechInfoEntry.setDescription('')
himTechInfoPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechInfoPabxId.setStatus('current')
if mibBuilder.loadTexts: himTechInfoPabxId.setDescription('')
himTechInfoInfoNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechInfoInfoNo.setStatus('current')
if mibBuilder.loadTexts: himTechInfoInfoNo.setDescription('This field contains the number of the subsystem. This number can be assigned as required when configuring the subsystem.')
himTechInfoDate = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechInfoDate.setStatus('current')
if mibBuilder.loadTexts: himTechInfoDate.setDescription('This field contains the date on which the subsystem was configured.')
himTechInfoTechnicalData = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechInfoTechnicalData.setStatus('current')
if mibBuilder.loadTexts: himTechInfoTechnicalData.setDescription('This field contains the technical data of the subsystem.')
himTechInfoNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechInfoNumber.setStatus('current')
if mibBuilder.loadTexts: himTechInfoNumber.setDescription('This field contains the number of each subsystem configured.')
himTechInfoExtraText = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechInfoExtraText.setStatus('current')
if mibBuilder.loadTexts: himTechInfoExtraText.setDescription('This field contains additional text.')
himNotepadDataTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 2), )
if mibBuilder.loadTexts: himNotepadDataTable.setStatus('current')
if mibBuilder.loadTexts: himNotepadDataTable.setDescription('This node contains the system data entered in a notepad. The table for notepad entries holds a maximum of 30 data records.')
himNotepadDataEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himNotepadDataPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himNotepadDataInfoNo"))
if mibBuilder.loadTexts: himNotepadDataEntry.setStatus('current')
if mibBuilder.loadTexts: himNotepadDataEntry.setDescription('')
himNotepadDataPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himNotepadDataPabxId.setStatus('current')
if mibBuilder.loadTexts: himNotepadDataPabxId.setDescription('')
himNotepadDataInfoNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 2, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himNotepadDataInfoNo.setStatus('current')
if mibBuilder.loadTexts: himNotepadDataInfoNo.setDescription('This field contains the number of the subsystem. This number is assigned permanently when configuring the subsystem.')
himNotepadDataDate = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himNotepadDataDate.setStatus('current')
if mibBuilder.loadTexts: himNotepadDataDate.setDescription('This field contains the date on which the subsystem was configured.')
himNotepadDataText = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 77))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himNotepadDataText.setStatus('current')
if mibBuilder.loadTexts: himNotepadDataText.setDescription('This field contains the technical data of the subsystem.')
himProjPlanInfoTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 3), )
if mibBuilder.loadTexts: himProjPlanInfoTable.setStatus('current')
if mibBuilder.loadTexts: himProjPlanInfoTable.setDescription('This screen makes it possible to generate a file with project planning data.')
himProjPlanInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 3, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himProjPlanPabxId"))
if mibBuilder.loadTexts: himProjPlanInfoEntry.setStatus('current')
if mibBuilder.loadTexts: himProjPlanInfoEntry.setDescription('')
himProjPlanPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 3, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himProjPlanPabxId.setStatus('current')
if mibBuilder.loadTexts: himProjPlanPabxId.setDescription('')
himProjPlanInfoFile = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 12)).clone('ProjPlan.txt')).setMaxAccess("readonly")
if mibBuilder.loadTexts: himProjPlanInfoFile.setStatus('current')
if mibBuilder.loadTexts: himProjPlanInfoFile.setDescription('This field contains the name of the project planning file.')
himProjPlanInfoCreationDate = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 3, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himProjPlanInfoCreationDate.setStatus('current')
if mibBuilder.loadTexts: himProjPlanInfoCreationDate.setDescription('This field contains the date on which the project planning file was generated.')
himProjPlanInfoCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 2, 3, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himProjPlanInfoCreationTime.setStatus('current')
if mibBuilder.loadTexts: himProjPlanInfoCreationTime.setDescription('This field contains the time at which the project planning file was generated.')
himSpecSwitchData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3))
himSpecShelfDataTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1), )
if mibBuilder.loadTexts: himSpecShelfDataTable.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataTable.setDescription('All subscriber and trunk-related lines are grouped within LTU (Line/Trunk Unit) frames. Each frame has several slots for modules. The frame is connected to the system via the LTUC control board. This table contains the frame configuration.')
himSpecShelfDataEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSpecShelfDataPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSpecShelfDataAddress"))
if mibBuilder.loadTexts: himSpecShelfDataEntry.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataEntry.setDescription('')
himSpecShelfDataPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataPabxId.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataPabxId.setDescription('')
himSpecShelfDataAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataAddress.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataAddress.setDescription('This field contains the address of the shelf in format LTG.LTU. LTG:Line/Trunk Group LTU: Line/Trunk Unit')
himSpecShelfDataFrameType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataFrameType.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataFrameType.setDescription('This field contains the part number of the frame.')
himSpecShelfDataLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0))).clone(namedValues=NamedValues(("preatl", 1), ("cc40f", 2), ("cc80w", 3), ("cc80f", 4), ("l80xf", 5), ("l80xw", 6), ("ltuw", 7), ("inch19", 8), ("ap37009", 9), ("ap370013", 10), ("ext-comp-x", 11), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataLTU.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataLTU.setDescription('This field contains type of LTU (Line/Trunk Unit) frame. Possible values for LTU frame type: - PREATL - frametype for Preatlantic Hicom Types - CC40F - basisframe for 40CMX - CC80W - basisframe for 80CMX - CC80F - basisframe for 80CMX/DSC and CXE - L80XF - for 80CMX/DSC, CXE, 600ECS and AP shelves - L80XW - extension frame for 80CMX/DSC - LTUW - frame for 600ECX and AP shelves Possible values for AP shelf type: - L80XF - for 80CMX/DSC, CXE, 600ECS and AP shelves - LTUW - frame for 600ECX and AP shelves - INCH19 - 19 inch frame for AP shelves')
himSpecShelfDataNetworkType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 5), HimShelfNWType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataNetworkType.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataNetworkType.setDescription('This field contains connection type of LTU frame / AP shelf.')
himSpecShelfDataNetworkAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataNetworkAddress.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataNetworkAddress.setDescription('This field contains network IP address.')
himSpecShelfDataRemote = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataRemote.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataRemote.setDescription('This field shows if frame is remote. Possible values: - yes - frame is remote - no - frame is not remote')
himSpecShelfDataLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataLocation.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataLocation.setDescription('This field contains postal address (city, street, building, ..) , where a FLEX LTU or an AP shelf is located.')
himSpecShelfDataLTUC = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSpecShelfDataLTUC.setStatus('current')
if mibBuilder.loadTexts: himSpecShelfDataLTUC.setDescription('This field contains part number adding LTUC module. LTUC: Line/Trunk Unit Control.')
himSWUBoardTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2), )
if mibBuilder.loadTexts: himSWUBoardTable.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardTable.setDescription('This table contains the configuration of the peripheral boards. Periphery Assemblies Peripheral and ring generator assemblies as well as SIU are configured in the LTU. The board is entered in the SWU database. LTU = Line/Trunk Unit SIU = Signaling Interface Unit SWU = Switching Unit')
himSWUBoardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSWUBoardPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSWUBoardPEN"))
if mibBuilder.loadTexts: himSWUBoardEntry.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardEntry.setDescription('')
himSWUBoardPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardPabxId.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardPabxId.setDescription('')
himSWUBoardPEN = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 2), HimPEN()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardPEN.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardPEN.setDescription('This field contains the name of the board PEN. PEN: Port Equipment Number The PEN is displayed in the following format: [LTG]-[LTU]-[EBT]. LTG: Line/Trunk Group LTU: Line/Trunk Unit EBT: Slot')
himSWUBoardOverlayLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardOverlayLTU.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardOverlayLTU.setDescription('This field contains the name of the overlay LTU (Line/Trunk Unit).')
himSWUBoardType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardType.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardType.setDescription('This field contains the name of the configured board.')
himSWUBoardNominal = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardNominal.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardNominal.setDescription('This field contains the name of the nominal board.')
himSWUBoardActual = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardActual.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardActual.setDescription('This field contains part number of the board that is plugged in.')
hhimSWUBoardFirmware = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hhimSWUBoardFirmware.setStatus('current')
if mibBuilder.loadTexts: hhimSWUBoardFirmware.setDescription('This field contains the name of the firmware.')
himSWUBoardRev = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardRev.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardRev.setDescription('This field contains the revision of the board.')
himSWUBoardFunctId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardFunctId.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardFunctId.setDescription('Function identification number for boards with more than one functions (e.g. SIUX, STMA, SLMO24).')
himSWUBoardMode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardMode.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardMode.setDescription('This field contains the mode of the board. The mode is only displayed for the RG/ACGEN board.')
himSWUBoardLWNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardLWNo.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardLWNo.setDescription('This field contains the number of the loadware.')
himSWUBoardLWInterVer = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardLWInterVer.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardLWInterVer.setDescription('This field contains the interface version of the board.')
himSWUBoardLWName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardLWName.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardLWName.setDescription('This field contains the file name of the loadware file or of the initialization file.')
himSWUBoardLWDate = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 3, 2, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWUBoardLWDate.setStatus('current')
if mibBuilder.loadTexts: himSWUBoardLWDate.setDescription('This field contains the date on which the loadware or the initialization file was generated.')
himSWUPeriphery = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4))
himPSIOAssTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1), )
if mibBuilder.loadTexts: himPSIOAssTable.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssTable.setDescription('This table contains the PSIO assemblies data.')
himPSIOAssEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himPSIOAssPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himPSIOAssPEN"))
if mibBuilder.loadTexts: himPSIOAssEntry.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssEntry.setDescription('')
himPSIOAssPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPSIOAssPabxId.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssPabxId.setDescription('')
himPSIOAssAssembly = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPSIOAssAssembly.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssAssembly.setDescription('This field contains the name of the PSIO board. PSIO: Peripheral Serial Input Output')
himPSIOAssPEN = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1, 1, 2), HimPEN()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPSIOAssPEN.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssPEN.setDescription('This field contains the name of the board PEN. PEN: Port Equipment Number The PEN is displayed in the following format: [LTG]-[LTU]-[EBT]. LTG: Line/Trunk Group LTU: Line/Trunk Unit EBT: Slot')
himPSIOAssActual = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPSIOAssActual.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssActual.setDescription('This field contains the part number of the PSIO board.')
himPSIOAssFirmware = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPSIOAssFirmware.setStatus('current')
if mibBuilder.loadTexts: himPSIOAssFirmware.setDescription('This field contains the firmware name of the PSIO board.')
himSerialLineTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2), )
if mibBuilder.loadTexts: himSerialLineTable.setStatus('current')
if mibBuilder.loadTexts: himSerialLineTable.setDescription('This table contains the serial interfaces data.')
himSerialLineEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSerialLinePabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSerialLineNumber"))
if mibBuilder.loadTexts: himSerialLineEntry.setStatus('current')
if mibBuilder.loadTexts: himSerialLineEntry.setDescription('')
himSerialLinePabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLinePabxId.setStatus('current')
if mibBuilder.loadTexts: himSerialLinePabxId.setDescription('')
himSerialLineBoardType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLineBoardType.setStatus('current')
if mibBuilder.loadTexts: himSerialLineBoardType.setDescription('This field contains abbreviation name of the board type.')
himSerialLineNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(8, 63))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLineNumber.setStatus('current')
if mibBuilder.loadTexts: himSerialLineNumber.setDescription('This field contains the physical line number of the interface. Possible Values: numeric, 8-63')
himSerialLineSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLineSpeed.setStatus('current')
if mibBuilder.loadTexts: himSerialLineSpeed.setDescription('This field contains standardized transmission speed (baud rate). Possible Values: 50, 100, 200, 300, 600, 1200, 2400, 4800, 9600, 19200.')
himSerialLineLogDevName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLineLogDevName.setStatus('current')
if mibBuilder.loadTexts: himSerialLineLogDevName.setDescription('This field contains the logical device name of the line. Possible Values: Value - Description CON1 - LOGICAL DEVICE CONNECTION,TERMINAL 1 CON2 - LOGICAL DEVICE CONNECTION,TERMINAL 2 CON3 - LOGICAL DEVICE CONNECTION,TERMINAL 3 CON4 - LOGICAL DEVICE CONNECTION,TERMINAL 4 CON5 - LOGICAL DEVICE CONNECTION 5 CON6 - LOGICAL DEVICE CONNECTION 6 PR1 - LOGICAL DEVICE:LINE PRINTER 1 PR2 - LOGICAL DEVICE:LINE PRINTER 2 PR3 - LOGICAL DEVICE:LINE PRINTER 3 PR4 - LOGICAL DEVICE:LINE PRINTER 4')
himSerialLineDevType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 18))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLineDevType.setStatus('current')
if mibBuilder.loadTexts: himSerialLineDevType.setDescription('This field contains the device type of the line. Possible Values: Value - Description PT88 - DEVICE TYPE QUOSC - QUME-ONLY-SCREEN QUOPT - QUME-ONLY-PT88 QUSCAPT - QUME-SCREEN-AND-PT88 PCOSC - PC-D-ONLY-SCREEN PCOPT - PC-D-ONLY-PT88 PCSCAPT - PC-D-SCREEN-AND-PT88 ASC - ASCII-CODE EBC - EBCDIC CODE RSV1 - RESERVED DEVICE TYPE 1 RSV2 - RESERVED DEVICE TYPE 2 RSV3 - RESERVED DEVICE TYPE 3')
himSerialLineType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 0))).clone(namedValues=NamedValues(("asy", 1), ("v24", 2), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSerialLineType.setStatus('current')
if mibBuilder.loadTexts: himSerialLineType.setDescription('This field contains the line type (operation of synchronous lines (terminals) connected via V24 modems). Possible values: - ASY: asynchronous line type - V24: ccitt rec v24')
himSCSIDevTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3), )
if mibBuilder.loadTexts: himSCSIDevTable.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevTable.setDescription('This table contains the data for the SCSI devices connected.')
himSCSIDevEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSCSIDevPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSCSIDevId"))
if mibBuilder.loadTexts: himSCSIDevEntry.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevEntry.setDescription('')
himSCSIDevPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSCSIDevPabxId.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevPabxId.setDescription('')
himSCSIDevId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSCSIDevId.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevId.setDescription('This field contains the type of SCSI device.')
himSCSIDevType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 13))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSCSIDevType.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevType.setDescription('This field contains the SCSI ID of the device.')
himSCSIDevName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 25))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSCSIDevName.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevName.setDescription('This field contains the name of the SCSI device in format: [vendor] [product number].')
himSCSIDevFirmware = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSCSIDevFirmware.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevFirmware.setDescription('This field contains the firmware name of the SCSI device.')
himSCSIDevLoadDrive = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 4, 3, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSCSIDevLoadDrive.setStatus('current')
if mibBuilder.loadTexts: himSCSIDevLoadDrive.setDescription('This field displays (if activity is in progress) the device from which the operating system and the database are started.')
himCentralSwitchData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5))
himCabinetTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1), )
if mibBuilder.loadTexts: himCabinetTable.setStatus('current')
if mibBuilder.loadTexts: himCabinetTable.setDescription('This table contains the data for configuring the cabinets and frames in a system. They reflect the physical structure of the system.')
himCabinetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himCabPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himCabAddr"))
if mibBuilder.loadTexts: himCabinetEntry.setStatus('current')
if mibBuilder.loadTexts: himCabinetEntry.setDescription('')
himCabPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabPabxId.setStatus('current')
if mibBuilder.loadTexts: himCabPabxId.setDescription('')
himCabAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabAddr.setStatus('current')
if mibBuilder.loadTexts: himCabAddr.setDescription('This field contains the cabinet address. Structure of cabinet address: P 1 01 | | |__Number of cabinet in cabinet row | |_____Units, position of cabinet row |_______Tens (P=0, Q=1), position of the cabinet')
himCabPhysAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabPhysAddr.setStatus('current')
if mibBuilder.loadTexts: himCabPhysAddr.setDescription('')
himCabCabinet = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabCabinet.setStatus('current')
if mibBuilder.loadTexts: himCabCabinet.setDescription('This field contains the name of the cabinet.')
himCabPartNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabPartNo.setStatus('current')
if mibBuilder.loadTexts: himCabPartNo.setDescription('This field contains the part number of the cabinet.')
himCabShelfNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 14))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabShelfNo.setStatus('current')
if mibBuilder.loadTexts: himCabShelfNo.setDescription('This field contains the number of the shelf.')
himCabFrame = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabFrame.setStatus('current')
if mibBuilder.loadTexts: himCabFrame.setDescription('This field contains the name of the frame.')
himCabPid1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabPid1.setStatus('current')
if mibBuilder.loadTexts: himCabPid1.setDescription('This field contains the processor ID 1.')
himCabPid2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabPid2.setStatus('current')
if mibBuilder.loadTexts: himCabPid2.setDescription('This field contains the processor ID 2.')
himCabPid3 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabPid3.setStatus('current')
if mibBuilder.loadTexts: himCabPid3.setDescription('This field contains the processor ID 2.')
himCabLTUNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 1, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himCabLTUNo.setStatus('current')
if mibBuilder.loadTexts: himCabLTUNo.setDescription('This field contains the number of the LTU (Line/Trunk Unit). The LTU range is divided in two parts: HHS (HICOM Host System) and AP (Access Point). The available values of the ranges are: HHS 1-15 and AP 17-99. The LTU 16 is forbidden. There are existing shelfes which are allowed only in HHS and others which are allowed only in the AP range.')
himMemScalingTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2), )
if mibBuilder.loadTexts: himMemScalingTable.setStatus('current')
if mibBuilder.loadTexts: himMemScalingTable.setDescription('This screen contains the memory parameters for each of the devices or features specified. The values are only displayed in Configuration Management. See also DIMSU parameter list.')
himMemScalingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himMemScalingPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himMemScalingUnit"))
if mibBuilder.loadTexts: himMemScalingEntry.setStatus('current')
if mibBuilder.loadTexts: himMemScalingEntry.setDescription('')
himMemScalingPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingPabxId.setStatus('current')
if mibBuilder.loadTexts: himMemScalingPabxId.setDescription('')
himMemScalingUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingUnit.setStatus('current')
if mibBuilder.loadTexts: himMemScalingUnit.setDescription('This field contains the parameter name (AMO DIMSU).')
himMemScalingUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingUsed.setStatus('current')
if mibBuilder.loadTexts: himMemScalingUsed.setDescription('This value specifies the number of memory elements already used up. The comparison with the value in the Maximum field indicates how much of the allocated memory is still available for configuring devices or features.')
himMemScalingMaxUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingMaxUsed.setStatus('current')
if mibBuilder.loadTexts: himMemScalingMaxUsed.setDescription('This field contains the number of memory elements allocated.')
himMemScalingAllocated = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingAllocated.setStatus('current')
if mibBuilder.loadTexts: himMemScalingAllocated.setDescription("This field displays the maximum number of memory elements that once have been used up during the lifetime of the switch ('high water mark'). It gives an indication how much memory was necessary at one time, so it is advised to not reduce the Maximum value below this value.")
himMemScalingStandard = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingStandard.setStatus('current')
if mibBuilder.loadTexts: himMemScalingStandard.setDescription("Standard is the advised value to be set in the Maximum field, if you don't have special needs to set it to a specific value. If you set all devices and features to the standard values it is guaranteed that you don't run out of DIMSU memory.")
himMemScalingSysMax = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 5, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMemScalingSysMax.setStatus('current')
if mibBuilder.loadTexts: himMemScalingSysMax.setDescription('This field contains the maximum number of possible memory elements.')
himGeneralSwitchData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6))
himDBConfSys = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1))
himDBConfSysTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1), )
if mibBuilder.loadTexts: himDBConfSysTable.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysTable.setDescription('')
himDBConfSysEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himDBConfSysPabxId"))
if mibBuilder.loadTexts: himDBConfSysEntry.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysEntry.setDescription('')
himDBConfSysPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysPabxId.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysPabxId.setDescription('')
himDBConfSysClass1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 12))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysClass1.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysClass1.setDescription('This field contains the name of the system.')
himDBConfSysClass2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysClass2.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysClass2.setDescription('This field contains the coded name of the system.')
himDBConfSysHWAss1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysHWAss1.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysHWAss1.setDescription('This field contains the hardware ID of the system.')
himDBConfSysHWAss2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysHWAss2.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysHWAss2.setDescription('This field contains the shortened hardware ID of the system.')
himDBConfSysDevLine1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 18))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysDevLine1.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysDevLine1.setDescription('This field contains the name of the product line.')
himDBConfSysDevLine2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysDevLine2.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysDevLine2.setDescription('This field contains the shortened name of the product line. Possible values: - H300: EUROPE DEVELOPMENT - HUSA: US DEVELOPMENT')
himDBConfSysOpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 0))).clone(namedValues=NamedValues(("simplex", 1), ("duplex", 2), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysOpMode.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysOpMode.setDescription('This field contains the operating mode of the system. Possible Values: - SIMPLEX: OPERATING MODE SIMPLEX - DUPLEX: OPERATING MODE DUPLEX REDUNDANCY')
himDBConfSysResType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysResType.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysResType.setDescription('This field contains the restart identifier.')
himDBConfSysHWArch = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysHWArch.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysHWArch.setDescription('This field contains the name of the hardware architecture.')
himDBConfSysHWArchType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysHWArchType.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysHWArchType.setDescription('This field contains the name of the hardware architecture type.')
himDBConfSysNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 12), HimSwitchNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysNo.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysNo.setDescription('This field contains the number of the system.')
himDBConfSysLoc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("customer", 1), ("support", 2), ("testlab", 3), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysLoc.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysLoc.setDescription('This field contains the name of the location in which the system is installed. Possible Values: - CUSTOMER (customer) - SUPPORT (support) - TESTLAB (testlab)')
himDBConfSysBaseApp = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysBaseApp.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysBaseApp.setDescription('This field contains the name of the base application.')
himDBConfSysDBApp = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysDBApp.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysDBApp.setDescription('This field contains the name of the database application.')
himDBConfSysID = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 1, 1, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfSysID.setStatus('current')
if mibBuilder.loadTexts: himDBConfSysID.setDescription('This field contains the system identification.')
himDBConfHW = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2))
himDBConfHWTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1), )
if mibBuilder.loadTexts: himDBConfHWTable.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWTable.setDescription('')
himDBConfHWEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himDBConfHWPabxId"))
if mibBuilder.loadTexts: himDBConfHWEntry.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWEntry.setDescription('')
himDBConfHWPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWPabxId.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWPabxId.setDescription('')
himDBConfHWLTG = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWLTG.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWLTG.setDescription('This field contains the number of LTGs in the system. LTG: Line/Trunk Group')
himDBConfHWLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(1, 15), ValueRangeConstraint(17, 99), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWLTU.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWLTU.setDescription('This field contains the number of LTUs in the system. LTU: Line/Trunk Unit')
himDBConfHWLines = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWLines.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWLines.setDescription('This field contains the number of lines in the system.')
himDBConfHWPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWPorts.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWPorts.setDescription('This field contains the number of ports in the system.')
himDBConfHWPBC = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWPBC.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWPBC.setDescription('This field contains the number of peripheral board controllers (PBC) in the system.')
himDBConfHWMTSBdPerGSN = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWMTSBdPerGSN.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWMTSBdPerGSN.setDescription('This field contains the number of memory time switches (MTS) per group switching network (GSN).')
himDBConfHWSIUPPerLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWSIUPPerLTU.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWSIUPPerLTU.setDescription('This field contains the number of SIUP boards per LTU (Line/Trunk Unit).')
himDBConfHWDIUCPerLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWDIUCPerLTU.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWDIUCPerLTU.setDescription('This field contains the number of DIUC boards per LTU (Line/Trunk Unit).')
himDBConfHWHwyPerMTSBd = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWHwyPerMTSBd.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWHwyPerMTSBd.setDescription('This field contains the number highways (HYW) per MTS board.')
himDBConfHWHDLCPerDCL = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWHDLCPerDCL.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWHDLCPerDCL.setDescription('This field contains the number of high level data link control (HDLC) channels per data communication link (DCL).')
himDBConfHWPBCPerDCL = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWPBCPerDCL.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWPBCPerDCL.setDescription('This field contains the number of peripheral board controllers (PBC) per data communication link (DCL).')
himDBConfHWStdSIULine = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWStdSIULine.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWStdSIULine.setDescription('This field contains the number of signaling unit lines. SIU: Signaling-Unit')
himDBConfHWConfLine = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWConfLine.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWConfLine.setDescription('This field contains the number of lines in the CONFERENCE board.')
himDBConfHWDBDim = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWDBDim.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWDBDim.setDescription('This field contains the name of the database dimensioning.')
himDBConfHWTableVer = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 2, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDBConfHWTableVer.setStatus('current')
if mibBuilder.loadTexts: himDBConfHWTableVer.setDescription('This field contains the version of the Conf table.')
himHWData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3))
himHWDataTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1), )
if mibBuilder.loadTexts: himHWDataTable.setStatus('current')
if mibBuilder.loadTexts: himHWDataTable.setDescription('')
himHWDataEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himHWDataPabxId"))
if mibBuilder.loadTexts: himHWDataEntry.setStatus('current')
if mibBuilder.loadTexts: himHWDataEntry.setDescription('')
himHWDataPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWDataPabxId.setStatus('current')
if mibBuilder.loadTexts: himHWDataPabxId.setDescription('')
himHWArch = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 25))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWArch.setReference('Same as himDBConfSysHWArch.')
if mibBuilder.loadTexts: himHWArch.setStatus('current')
if mibBuilder.loadTexts: himHWArch.setDescription('This field contains the name of the hardware architecture.')
himHWArchType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWArchType.setReference('Same as himDBConfSysHWArchType.')
if mibBuilder.loadTexts: himHWArchType.setStatus('current')
if mibBuilder.loadTexts: himHWArchType.setDescription('This field contains the name of the hardware architecture type.')
himHWOpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWOpMode.setReference('Should be the same as himDBConfSysOpMode.')
if mibBuilder.loadTexts: himHWOpMode.setStatus('current')
if mibBuilder.loadTexts: himHWOpMode.setDescription('This field contains the name of the operating mode.')
himHWSWUProc1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWSWUProc1.setStatus('current')
if mibBuilder.loadTexts: himHWSWUProc1.setDescription('These fields contain the name of the SWU processor board (max. 8 characters). SWU = Switching Unit Possible values: - CC-A - CC-B ')
himHWSWUMem1 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWSWUMem1.setStatus('current')
if mibBuilder.loadTexts: himHWSWUMem1.setDescription('These fields contain the size of the SWU memory for each processor board. SWU = Switching Unit')
himHWSWUProc2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWSWUProc2.setStatus('current')
if mibBuilder.loadTexts: himHWSWUProc2.setDescription('These fields contain the name of the SWU processor board (max. 8 characters). SWU = Switching Unit Possible values: - CC-A - CC-B ')
himHWSWUMem2 = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWSWUMem2.setStatus('current')
if mibBuilder.loadTexts: himHWSWUMem2.setDescription('These fields contain the size of the SWU memory for each processor board. SWU = Switching Unit')
himHWADPProc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWADPProc.setStatus('current')
if mibBuilder.loadTexts: himHWADPProc.setDescription('This field contains the name of the ADP processor.')
himHWADPMem = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 3, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himHWADPMem.setStatus('current')
if mibBuilder.loadTexts: himHWADPMem.setDescription('This field contains the size of memory used by the ADP.')
himLWDataOnCB = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4))
himLWDataOnCBTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1), )
if mibBuilder.loadTexts: himLWDataOnCBTable.setStatus('current')
if mibBuilder.loadTexts: himLWDataOnCBTable.setDescription('')
himLWDataOnCBEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himLWDataOnCBPabxId"))
if mibBuilder.loadTexts: himLWDataOnCBEntry.setStatus('current')
if mibBuilder.loadTexts: himLWDataOnCBEntry.setDescription('')
himLWDataOnCBPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWDataOnCBPabxId.setStatus('current')
if mibBuilder.loadTexts: himLWDataOnCBPabxId.setDescription('')
himLWOnCBAss = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCBAss.setStatus('current')
if mibBuilder.loadTexts: himLWOnCBAss.setDescription('This field contains the hardware ID of the board. Note: Certain types of processor boards (e. g. DPC5) are using only firmware. Therefore, no loadware data is displayed and this field remains empty.')
himLWOnCBPBCAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCBPBCAddr.setStatus('current')
if mibBuilder.loadTexts: himLWOnCBPBCAddr.setDescription('This field contains the peripheral board controller (PBC) address of the module. Note: Certain types of processor boards (e. g. DPC5) are using only firmware. Therefore, no loadware data is displayed and this field remains empty.')
himLWOnCBFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCBFileName.setStatus('current')
if mibBuilder.loadTexts: himLWOnCBFileName.setDescription('This field contains the filename of the loadware file. Note: Certain types of processor boards (e. g. DPC5) are using only firmware. Therefore, no loadware data is displayed and this field remains empty.')
himLWOnCBProdTime = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 4, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCBProdTime.setStatus('current')
if mibBuilder.loadTexts: himLWOnCBProdTime.setDescription('This field contains the production date of the loadware. Note:Certain types of processor boards (e. g. DPC5) are using only firmware. Therefore, no loadware data is displayed and this field remains empty.')
himLWDataOnProc = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5))
himLWOnProcTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1), )
if mibBuilder.loadTexts: himLWOnProcTable.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcTable.setDescription('')
himLWOnProcEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himLWOnProcPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himLWOnProcAss"), (0, "SIEMENS-HP4KHIM-MIB", "himLWOnProcInfoType"))
if mibBuilder.loadTexts: himLWOnProcEntry.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcEntry.setDescription('')
himLWOnProcPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnProcPabxId.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcPabxId.setDescription('')
himLWOnProcAss = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnProcAss.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcAss.setDescription('This field contains the name of the directory where the file with information on Loadware resides, e. g. CCA, CCB or ADP (max. 3 characters).')
himLWOnProcInfoType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnProcInfoType.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcInfoType.setDescription('This field contains the boot type. It represents the file name also.')
himLWOnProcLWId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnProcLWId.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcLWId.setDescription('This field contains the name of the loadware.')
himLWOnProcLWIdCMP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnProcLWIdCMP.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcLWIdCMP.setDescription("This field contains the name of the loadware ID for the CMP. This field contains the '-' character if it is not relevant to this board.")
himLWOnProcLWIdLP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 5, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnProcLWIdLP.setStatus('current')
if mibBuilder.loadTexts: himLWOnProcLWIdLP.setDescription("This field contains the name of the loadware ID for the LP. This field contains the '-' character if it is not relevant to this board.")
himLWDataOnCSIU = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6))
himLWOnCSIUTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1), )
if mibBuilder.loadTexts: himLWOnCSIUTable.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUTable.setDescription('This table contains the loadware data on the central SIU (Signaling Interface Unit).')
himLWOnCSIUEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himLWOnCSIUPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himLWOnCSIUNominal"), (0, "SIEMENS-HP4KHIM-MIB", "himLWOnCSIULWNo"))
if mibBuilder.loadTexts: himLWOnCSIUEntry.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUEntry.setDescription('')
himLWOnCSIUPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUPabxId.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUPabxId.setDescription('')
himLWOnCSIUNominal = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUNominal.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUNominal.setDescription('This field contains the name of the nominal SIU (Signaling Interface Unit).')
himLWOnCSIULWNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIULWNo.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIULWNo.setDescription('This field contains the name of the SIU (Signaling Interface Unit) loadware.')
himLWOnCSIUProc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUProc.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUProc.setDescription('This field contains the name of the processor in the SIU (Signaling Interface Unit).')
himLWOnCSIUSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUSlot.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUSlot.setDescription('This field contains the name of the SIU (Signaling Interface Unit) slot.')
himLWOnCSIUActual = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUActual.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUActual.setDescription('This field contains the name of the current SIU (Signaling Interface Unit).')
himLWOnCSIUFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUFileName.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUFileName.setDescription('This field contains the file name of the loadware file or of the initialization file.')
himLWOnCSIUFileProd = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 6, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himLWOnCSIUFileProd.setStatus('current')
if mibBuilder.loadTexts: himLWOnCSIUFileProd.setDescription('This field contains the date on which the loadware or the initialization file was generated.')
himMacAddress = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7))
himMacAddrTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1), )
if mibBuilder.loadTexts: himMacAddrTable.setStatus('current')
if mibBuilder.loadTexts: himMacAddrTable.setDescription('This table contains the C-LAN and IPDA MAC addresses which are read during the boot process.')
himMacAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himMacAddrPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himMacAddrProc"), (0, "SIEMENS-HP4KHIM-MIB", "himMacAddrInfoType"))
if mibBuilder.loadTexts: himMacAddrEntry.setStatus('current')
if mibBuilder.loadTexts: himMacAddrEntry.setDescription('')
himMacAddrPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMacAddrPabxId.setStatus('current')
if mibBuilder.loadTexts: himMacAddrPabxId.setDescription('')
himMacAddrProc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMacAddrProc.setStatus('current')
if mibBuilder.loadTexts: himMacAddrProc.setDescription('This field contains the name of the processor (CCA, CCB or ADP - max 3 characters). It is also the name of the Unix directory where the file with information on MAC address resides.')
himMacAddrInfoType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMacAddrInfoType.setStatus('current')
if mibBuilder.loadTexts: himMacAddrInfoType.setDescription('This field contains the condition on which the mac addresses are available.')
himMacAddrCLan = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1, 1, 4), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMacAddrCLan.setStatus('current')
if mibBuilder.loadTexts: himMacAddrCLan.setDescription("This field contains the MAC address for UW7 part. The format is following: 'xx xx xx xx xx xx'.")
himMacAddrIPDA = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 6, 7, 1, 1, 5), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMacAddrIPDA.setStatus('current')
if mibBuilder.loadTexts: himMacAddrIPDA.setDescription("This field contains the MAC address for RMX part. The format is following: 'xx xx xx xx xx xx'.")
himFeatures = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7))
himMarketingFeatures = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1))
himMarkFeatTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1), )
if mibBuilder.loadTexts: himMarkFeatTable.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatTable.setDescription('')
himMarkFeatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himMarkFeatPabxId"))
if mibBuilder.loadTexts: himMarkFeatEntry.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatEntry.setDescription('')
himMarkFeatPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatPabxId.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatPabxId.setDescription('')
himMarkFeatVer = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatVer.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatVer.setDescription('This field contains the version of the software package. Format explanation: H 2 04 | |__SW version (01=EV1.0; 02=EV2.0; 03=EV3.0; 04=HiPath 4000 V1.0; 05=HiPath 4000 V2.0; 06=HiPath 4000 V3.0) | |_____Marketing concept (1=Old, 2=New)')
himMarkFeatSerNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatSerNo.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatSerNo.setDescription('This field contains the serial number of the software package.')
himMarkFeatHWId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatHWId.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatHWId.setDescription('This field contains the dongle ID of the hardware dongle connected.')
himMarkFeatInstallDate = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatInstallDate.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatInstallDate.setDescription('This field contains the date on which the code word was entered.')
himMarkFeatExpiryDate = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatExpiryDate.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatExpiryDate.setDescription('This field contains the date on which the code word will expire.')
himMarkFeatConfCode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatConfCode.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatConfCode.setDescription('This field contains codeword entry confirmation code.')
himMarkFeatTrialModeAct = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 8), HimYesNo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatTrialModeAct.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatTrialModeAct.setDescription('This field shows whether trial mode is active. Possible values: - yes - trial mode is activated - no - trial mode is not activated')
himMarkFeatTrialRemDays = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himMarkFeatTrialRemDays.setStatus('current')
if mibBuilder.loadTexts: himMarkFeatTrialRemDays.setDescription('This field contains number of remaining days of an active trial mode.')
himSalesFeatTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2), )
if mibBuilder.loadTexts: himSalesFeatTable.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatTable.setDescription('')
himSalesFeatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSalesFeatPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSalesFeatMarketPackId"))
if mibBuilder.loadTexts: himSalesFeatEntry.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatEntry.setDescription('')
himSalesFeatPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatPabxId.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatPabxId.setDescription('')
himSalesFeatMarketPackId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatMarketPackId.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatMarketPackId.setDescription('This column contains the CM ids of the marketing packages.')
himSalesFeatMarketPack = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatMarketPack.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatMarketPack.setDescription('This column contains the names of the marketing packages.')
himSalesFeatContract = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatContract.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatContract.setDescription('This column indicates whether the marketing packages have been purchased.')
himSalesFeatUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatUsed.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatUsed.setDescription('This column indicates whether the marketing packages have been used.')
himSalesFeatFree = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatFree.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatFree.setDescription('This field contains the number of free packages.')
himSalesFeatMarkForTrial = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 1, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSalesFeatMarkForTrial.setStatus('current')
if mibBuilder.loadTexts: himSalesFeatMarkForTrial.setDescription('This field contains the number of packages (entites) marked for trial or blocked (if the trial mode is not active).')
himTechFeatures = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2))
himTechFeatTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2, 1), )
if mibBuilder.loadTexts: himTechFeatTable.setStatus('current')
if mibBuilder.loadTexts: himTechFeatTable.setDescription('')
himTechFeatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himTechFeatPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himTechFeatId"))
if mibBuilder.loadTexts: himTechFeatEntry.setStatus('current')
if mibBuilder.loadTexts: himTechFeatEntry.setDescription('This table contains all enabled and disabled customer-specific features. Use the Object List view to display a list of all features availavle.')
himTechFeatPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechFeatPabxId.setStatus('current')
if mibBuilder.loadTexts: himTechFeatPabxId.setDescription('')
himTechFeatId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechFeatId.setStatus('current')
if mibBuilder.loadTexts: himTechFeatId.setDescription('This field contains the CM id of the customer-specific feature.')
himTechFeatName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 70))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechFeatName.setStatus('current')
if mibBuilder.loadTexts: himTechFeatName.setDescription('This field contains the name of the customer-specific feature.')
himTechFeatState = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 7, 2, 1, 1, 4), HimYesNo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himTechFeatState.setStatus('current')
if mibBuilder.loadTexts: himTechFeatState.setDescription('This field contains the status of the customer-specific feature.')
himAPSPatches = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8))
himSwitchAPS = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1))
himSwitchAPSTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1, 1), )
if mibBuilder.loadTexts: himSwitchAPSTable.setStatus('current')
if mibBuilder.loadTexts: himSwitchAPSTable.setDescription('')
himSwitchAPSEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSwitchAPSPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSwitchAPSName"))
if mibBuilder.loadTexts: himSwitchAPSEntry.setStatus('current')
if mibBuilder.loadTexts: himSwitchAPSEntry.setDescription('')
himSwitchAPSPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSwitchAPSPabxId.setStatus('current')
if mibBuilder.loadTexts: himSwitchAPSPabxId.setDescription('')
himSwitchAPSName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSwitchAPSName.setStatus('current')
if mibBuilder.loadTexts: himSwitchAPSName.setDescription('')
himSwitchAPSCorrVer = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSwitchAPSCorrVer.setStatus('current')
if mibBuilder.loadTexts: himSwitchAPSCorrVer.setDescription('')
himSwitchAPSPartNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSwitchAPSPartNo.setStatus('current')
if mibBuilder.loadTexts: himSwitchAPSPartNo.setDescription('')
himReplacedAMOs = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2))
himReplAMOTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1), )
if mibBuilder.loadTexts: himReplAMOTable.setStatus('current')
if mibBuilder.loadTexts: himReplAMOTable.setDescription('This table displays those AMOs that have been changed since the last system correction version.')
himReplAMOEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himReplAMOPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himReplAMOAPS"), (0, "SIEMENS-HP4KHIM-MIB", "himReplAMOName"))
if mibBuilder.loadTexts: himReplAMOEntry.setStatus('current')
if mibBuilder.loadTexts: himReplAMOEntry.setDescription('')
himReplAMOPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himReplAMOPabxId.setStatus('current')
if mibBuilder.loadTexts: himReplAMOPabxId.setDescription('')
himReplAMOAPS = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himReplAMOAPS.setStatus('current')
if mibBuilder.loadTexts: himReplAMOAPS.setDescription('The APS in which the change has been made.')
himReplAMOName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himReplAMOName.setStatus('current')
if mibBuilder.loadTexts: himReplAMOName.setDescription('This field contains the name of the AMO command.')
himReplAMOInAPSDir = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 22))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himReplAMOInAPSDir.setStatus('current')
if mibBuilder.loadTexts: himReplAMOInAPSDir.setDescription('This field contains the name of the subsystem in the DIR file.')
himReplAMOSubsystem = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 2, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 22))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himReplAMOSubsystem.setStatus('current')
if mibBuilder.loadTexts: himReplAMOSubsystem.setDescription('This field contains the name of the current subsystem.')
himPatchInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3))
himPatchInfoTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1), )
if mibBuilder.loadTexts: himPatchInfoTable.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoTable.setDescription('This table contains information on the software patches that have been implemented.')
himPatchInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himPatchInfoPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himPatchInfoPatchNo"))
if mibBuilder.loadTexts: himPatchInfoEntry.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoEntry.setDescription('')
himPatchInfoPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoPabxId.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoPabxId.setDescription('')
himPatchInfoPatchNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 12))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoPatchNo.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoPatchNo.setDescription('This field contains the number of the patch.')
himPatchInfoPatchGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoPatchGroup.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoPatchGroup.setDescription('This field contains the name of the patch group.')
himPatchInfoOpt = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 4), HimYesNo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoOpt.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoOpt.setDescription('This field represents an indicator that the patch is: - optional: not part of patch packet, - not optional: a part of patch packet (represents the whole list of internal activated/deactivated patches). The purpose of this field is to give user an option to display all patches as well as only optional ones.')
himPatchInfoActHD = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoActHD.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoActHD.setDescription('This field indicates whether the patch is enabled on the hard disk.')
himPatchInfoActADP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoActADP.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoActADP.setDescription('This field indicates whether the patch is enabled on the ADP.')
himPatchInfoActBP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 8, 3, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himPatchInfoActBP.setStatus('current')
if mibBuilder.loadTexts: himPatchInfoActBP.setDescription('This field indicates whether the patch is enabled on the A/B processor.')
himSWVersion = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9))
himSWVerOnProcTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1), )
if mibBuilder.loadTexts: himSWVerOnProcTable.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcTable.setDescription('This table contains data on the software versions loaded on the processor boards.')
himSWVerOnProcEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSWVerOnProcPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSWVerOnProcSrc"))
if mibBuilder.loadTexts: himSWVerOnProcEntry.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcEntry.setDescription('')
himSWVerOnProcPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcPabxId.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcPabxId.setDescription('')
himSWVerOnProcSrc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcSrc.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcSrc.setDescription('This field contains the name of the software source.')
himSWVerOnProcSWVer = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcSWVer.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcSWVer.setDescription('This field contains the name of the software version of the ADP software. The software version is displayed in the following format: [item-code-prefix][hipath-version][release-no][country-id][country-code][revision-no] e. g. P30252N 43 08 B 000 10')
himSWVerOnProcItemCodeNoPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcItemCodeNoPrefix.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcItemCodeNoPrefix.setDescription('This field contains the prefix of the software.')
himSWVerOnProcHP4KVer = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcHP4KVer.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcHP4KVer.setDescription('This field contains the Hicom/HiPath version.')
himSWVerOnProcSysRel = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcSysRel.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcSysRel.setDescription('This field contains the system release number.')
himSWVerOnProcCountry = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcCountry.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcCountry.setDescription('This field contains the country identifier.')
himSWVerOnProcCountryCode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcCountryCode.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcCountryCode.setDescription('This field contains the country encoding.')
himSWVerOnProcRevNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 9, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWVerOnProcRevNo.setStatus('current')
if mibBuilder.loadTexts: himSWVerOnProcRevNo.setDescription('This field contains the revision number of the ADP software.')
himSwPkgVersion = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10))
himSWPkgVerTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1), )
if mibBuilder.loadTexts: himSWPkgVerTable.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerTable.setDescription('This table contains the software versions of the service functions. This data is retrieved using the UNIX command pgkinfo -l.')
himSWPkgVerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSWPkgVerPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSWPkgVerPkgAbbr"))
if mibBuilder.loadTexts: himSWPkgVerEntry.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerEntry.setDescription('')
himSWPkgVerPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWPkgVerPabxId.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerPabxId.setDescription('')
himSWPkgVerPkgAbbr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWPkgVerPkgAbbr.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerPkgAbbr.setDescription('This field contains the abbreviation of the software package.')
himSWPkgVerPkgName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWPkgVerPkgName.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerPkgName.setDescription('This field contains the name of the software package.')
himSWPkgVerVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWPkgVerVersion.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerVersion.setDescription('This field contains the version of the software package.')
himSWPkgVerInstAt = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWPkgVerInstAt.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerInstAt.setDescription('This field contains the date on which the software package was installed.')
himSWPkgVerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 10, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 0))).clone(namedValues=NamedValues(("partial", 1), ("complete", 2), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSWPkgVerStatus.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVerStatus.setDescription('This field contains the status of the software package.')
himSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11))
himSysBasicTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 1), )
if mibBuilder.loadTexts: himSysBasicTable.setStatus('current')
if mibBuilder.loadTexts: himSysBasicTable.setDescription('This table complements the information about the HiPath 4000 system that is stored in the hicomSystem branch of the hicom MIB.')
himSysBasicEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSysBasicPabxId"))
if mibBuilder.loadTexts: himSysBasicEntry.setStatus('current')
if mibBuilder.loadTexts: himSysBasicEntry.setDescription('')
himSysBasicPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysBasicPabxId.setStatus('current')
if mibBuilder.loadTexts: himSysBasicPabxId.setDescription('')
himSysBasicDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysBasicDomain.setStatus('current')
if mibBuilder.loadTexts: himSysBasicDomain.setDescription('This field contains the name of the domain to which the system is belonging.')
himSysBasicNodeNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysBasicNodeNo.setStatus('current')
if mibBuilder.loadTexts: himSysBasicNodeNo.setDescription("HiPath node number. This field contains the globally unique number of your own PABX. This has a hierarchical structure containing different levels in Version V1.0 and later. Up to three values of the format: L2- L1- L0 can be used for numbering a system. - L2: area number in level 2 - L1: area number in level 1 - L0: area number in level 0 or node number in the old sense. If the value '0' is selected for a level, this means that the relevant hierarchical level is not being used for node numbering: '0' is equal to 'nothing' or 'level is not set'. With the help of this new node number format it is now possible to implement node numbers in networks in which - just as with dial numbers - the network hierarchy is reflected in the node numbers. The same numbering level (= number of levels set in the node number) must be used for all nodes in a network. This field will always show a three-level display with leading zeroes for levels not used for systems in Version V1.0 and later. Example: - 0-0-100 for 1-level numbering - 0-1-101 for 2-level numbering - 1-2-300 for 3-level numbering Values: 0-9 and '-' with format 22-111-000 Level 0 (000) 0-999 Level 1 (111) 0-253 Level 2 (22) 0-29 Max. 10 digits")
himSysBasicLEGK = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 1, 1, 4), HimYesNo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysBasicLEGK.setStatus('current')
if mibBuilder.loadTexts: himSysBasicLEGK.setDescription("This field tells if the 'LEGK' feature is activated on the system. LEGK is a process within the call processing of HiPath 4000 with the following functions: - Gate keeper function: IP address resolution mechanism for IP trunking requiring the HG3550 board as hardware. - Resource Management: This function monitors network component usage for controlling IP trunking, IPDA scenarios, HFA and direct media connections. The LEGK can be activated at every HiPath 4000 in the network. Alternatively, it can be configured on a specific HiPath 4000 system only.")
himSysLANCardsTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2), )
if mibBuilder.loadTexts: himSysLANCardsTable.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsTable.setDescription('')
himSysLANCardsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSysLANCardsPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSysLANCardsIPAddr"))
if mibBuilder.loadTexts: himSysLANCardsEntry.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsEntry.setDescription('')
himSysLANCardsPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysLANCardsPabxId.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsPabxId.setDescription('')
himSysLANCardsIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysLANCardsIPAddr.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsIPAddr.setDescription('Unique IP address within the Customer LAN.')
himSysLANCardsNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysLANCardsNetMask.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsNetMask.setDescription('The netmask of the LAN card. It depends on the class of the LAN Card address.')
himSysLANCardsBroadCast = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1, 4), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysLANCardsBroadCast.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsBroadCast.setDescription('The broadcast address is used to send a datagram packet to all hosts of a network or subnetwork, e.g. for address propagation from a router. The broadcast address also depends on the LAN Card address.')
himSysLANCardsType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 0))).clone(namedValues=NamedValues(("ethernet", 1), ("tokenring", 2), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysLANCardsType.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsType.setDescription('Type of the LAN card. Possible values are Ethernet and Token Ring.')
himSysLANCardsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 0))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("stale", 3), ("configured", 4), ("unconfigured", 5), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysLANCardsStatus.setStatus('current')
if mibBuilder.loadTexts: himSysLANCardsStatus.setDescription('The status of the configured LAN card. Can be one of the following: - Unknown (no traffic light lit): The LAN Card is configured, but no reboot has been performed. - Enabled (green traffic light lit): The LAN Card is active. - Disabled (red traffic light lit): The LAN Card is not active.')
himSysHostsTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 3), )
if mibBuilder.loadTexts: himSysHostsTable.setStatus('current')
if mibBuilder.loadTexts: himSysHostsTable.setDescription('')
himSysHostsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 3, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSysHostsPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSysHostsNo"))
if mibBuilder.loadTexts: himSysHostsEntry.setStatus('current')
if mibBuilder.loadTexts: himSysHostsEntry.setDescription('')
himSysHostsPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 3, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysHostsPabxId.setStatus('current')
if mibBuilder.loadTexts: himSysHostsPabxId.setDescription('')
himSysHostsNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysHostsNo.setStatus('current')
if mibBuilder.loadTexts: himSysHostsNo.setDescription('Index of the host entry.')
himSysHostsIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 3, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysHostsIPAddr.setStatus('current')
if mibBuilder.loadTexts: himSysHostsIPAddr.setDescription('The IP address of the host.')
himSysHostsName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 3, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysHostsName.setStatus('current')
if mibBuilder.loadTexts: himSysHostsName.setDescription('Unique name of the host.')
himSysWAMLConn = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4))
himSysWAMLConnTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1), )
if mibBuilder.loadTexts: himSysWAMLConnTable.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnTable.setDescription('')
himSysWAMLConnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnLTG"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnLTU"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnSlot"))
if mibBuilder.loadTexts: himSysWAMLConnEntry.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnEntry.setDescription('')
himSysWAMLConnPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnPabxId.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnPabxId.setDescription('')
himSysWAMLConnLTG = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnLTG.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnLTG.setDescription('Line/trunk group number. Valid values: 1-1')
himSysWAMLConnLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnLTU.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnLTU.setDescription('Line/trunk unit. Valid values: 1-15, for IP Gateway DSP HW of NCUI STMI STMA WAML 1-99, for RG/ACGEN PER DIU SIUP TMD 17-99, for NCUI STMA WAML')
himSysWAMLConnSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 145))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnSlot.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnSlot.setDescription('Slot number of LTU (Line/Trunk Unit). Valid values: 1-121, for STMI, IP gateway, PER, RG, ACGEN, DIU, SIUP, TMD 1-145, for STMA, WAML')
himSysWAMLConnRufNr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 5), HimPhoneNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnRufNr.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnRufNr.setDescription('Phone number of the WAML board.')
himSysWAMLConnBChl = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnBChl.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnBChl.setDescription('Number of b-channels on the WAML board.')
himSysWAMLConnStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnStatus.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnStatus.setDescription('Status of the WAML board.')
himSysWAMLConnIPTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2), )
if mibBuilder.loadTexts: himSysWAMLConnIPTable.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPTable.setDescription('')
himSysWAMLConnIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPLTG"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPLTU"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPSlot"), (0, "SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPIfName"))
if mibBuilder.loadTexts: himSysWAMLConnIPEntry.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPEntry.setDescription('')
himSysWAMLConnIPPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPPabxId.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPPabxId.setDescription('')
himSysWAMLConnIPLTG = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPLTG.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPLTG.setDescription('Line/trunk group number. Valid values: 1-1')
himSysWAMLConnIPLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPLTU.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPLTU.setDescription('Line/trunk unit. Valid values: 1-15, for IP Gateway DSP HW of NCUI STMI STMA WAML 1-99, for RG/ACGEN PER DIU SIUP TMD 17-99, for NCUI STMA WAML')
himSysWAMLConnIPSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 145))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPSlot.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPSlot.setDescription('Slot number of LTU (Line/Trunk Unit). Valid values: 1-121, for STMI, IP gateway, PER, RG, ACGEN, DIU, SIUP, TMD 1-145, for STMA, WAML')
himSysWAMLConnIPIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPIfName.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPIfName.setDescription('Name of the interface.')
himSysWAMLConnIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPAddr.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPAddr.setDescription('IP address of the WAML connection.')
himSysWAMLConnIPNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 11, 4, 2, 1, 7), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSysWAMLConnIPNetMask.setStatus('current')
if mibBuilder.loadTexts: himSysWAMLConnIPNetMask.setDescription('Net mask of the WAML connection.')
himBoards = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12))
himBoardBasicTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1), )
if mibBuilder.loadTexts: himBoardBasicTable.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicTable.setDescription('This table contains the boards that are managed by CM. It can be viewed as an extension of hicomBCSUTable. Please note that the PEN (LTG, LTU, Slot) of LTU boards is different from what is contained in CM, and uses the same format as in the hicom MIB.')
himBoardBasicEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicLTG"), (0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicLTU"), (0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicSlot"))
if mibBuilder.loadTexts: himBoardBasicEntry.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicEntry.setDescription('')
himBoardBasicPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicPabxId.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicPabxId.setDescription('')
himBoardBasicLTG = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicLTG.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicLTG.setDescription('Line/trunk group number. Valid values: 1-1')
himBoardBasicLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicLTU.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicLTU.setDescription('Line/trunk unit. Valid values: 1-15, for IP Gateway DSP HW of NCUI STMI STMA WAML 1-99, for RG/ACGEN PER DIU SIUP TMD 17-99, for NCUI STMA WAML')
himBoardBasicSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 145))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicSlot.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicSlot.setDescription('Slot number of LTU (Line/Trunk Unit). Valid values: 1-121, for STMI, IP gateway, PER, RG, ACGEN, DIU, SIUP, TMD 1-145, for STMA, WAML')
himBoardBasicFuncId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicFuncId.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicFuncId.setDescription('Function ID Valid values: 0-255 2 for SIU type 2 (MFV) 3 for SIU type 3 (MFC) 4 for SIU - RDS functionality 5 for SIU - ANI signaling 6 for SIU - CIS multifrequency (MFS) 7 for SIU - line testing')
himBoardBasicCat = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0))).clone(namedValues=NamedValues(("ltg", 1), ("ltu", 2), ("per", 3), ("perhw", 4), ("acgen", 5), ("diu", 6), ("ipgw", 7), ("rg", 8), ("siup", 9), ("tmd", 10), ("other", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicCat.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicCat.setDescription('Category The board type includes: LTG -- line/trunk group LTU -- line/trunk unit PER -- peripheral module PERHW -- load peripheral hardware ACGEN -- alternating current generator DIU -- digital interface unit IPGW -- IP gateway RG -- ring generator SIUP -- signalling unit periphery TMD -- T1 boards')
himBoardBasicName = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicName.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicName.setDescription('Name of the setup the board is configured to.')
himBoardBasicVOIPSec = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 8), HimYesNo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicVOIPSec.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicVOIPSec.setDescription('')
himBoardBasicLWVar = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicLWVar.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicLWVar.setDescription('The loadware variant. Default value: 0 Valid values: 0-9, A-D')
himBoardBasicNoCirc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardBasicNoCirc.setStatus('current')
if mibBuilder.loadTexts: himBoardBasicNoCirc.setDescription('Number of circuits to be configured. Valid values: 1-255')
himBoardIPTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2), )
if mibBuilder.loadTexts: himBoardIPTable.setStatus('current')
if mibBuilder.loadTexts: himBoardIPTable.setDescription('This table contains the IP address configuration of the boards. Please note that not all fields are used for all boards.')
himBoardIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1), )
himBoardBasicEntry.registerAugmentions(("SIEMENS-HP4KHIM-MIB", "himBoardIPEntry"))
himBoardIPEntry.setIndexNames(*himBoardBasicEntry.getIndexNames())
if mibBuilder.loadTexts: himBoardIPEntry.setStatus('current')
if mibBuilder.loadTexts: himBoardIPEntry.setDescription('')
himBoardIPGwyIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 1), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPGwyIPAddr.setStatus('current')
if mibBuilder.loadTexts: himBoardIPGwyIPAddr.setDescription('IP address of the gateway. Valid for: STMI')
himBoardIPSrcIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPSrcIPAddr.setStatus('current')
if mibBuilder.loadTexts: himBoardIPSrcIPAddr.setDescription('Source IP address of STMI-HFA board. A valid Source IP address must always be specified in order to enable the IP phones to address the system (SWU) Default: 0.0.0.0 Valid for: HFA')
himBoardIPNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPNetMask.setStatus('current')
if mibBuilder.loadTexts: himBoardIPNetMask.setDescription('IP network mask. Valid for: HFA')
himBoardIPDefRouter = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 4), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPDefRouter.setStatus('current')
if mibBuilder.loadTexts: himBoardIPDefRouter.setDescription('IP address of the default router within the LAN segment. The default router takes care of routing forward all packets with a destination address with a network part different from the own LAN segment. Default: 0.0.0.0 Valid for: HFA')
himBoardIPCustLANIP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 5), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPCustLANIP.setStatus('current')
if mibBuilder.loadTexts: himBoardIPCustLANIP.setDescription('IP address of customer LAN. Default: 0.0.0.0 Valid for: IGW, SIP')
himBoardIPSTMI2IGWSubMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPSTMI2IGWSubMask.setStatus('current')
if mibBuilder.loadTexts: himBoardIPSTMI2IGWSubMask.setDescription('IP subnet mask of LAN segment. Default: 0.0.0.0 Valid for: IGW, SIP')
himBoardIPDefGWIP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 7), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPDefGWIP.setStatus('current')
if mibBuilder.loadTexts: himBoardIPDefGWIP.setDescription('Default gateway IP address. Default: 0.0.0.0 Valid for: IGW, SIP')
himBoardIPManStatIP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 8), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPManStatIP.setStatus('current')
if mibBuilder.loadTexts: himBoardIPManStatIP.setDescription('IP address of management station. Default: 0.0.0.0 Valid for: IGW, SIP')
himBoardIPManStatPort = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1024, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPManStatPort.setStatus('current')
if mibBuilder.loadTexts: himBoardIPManStatPort.setDescription('Port number of management station. Valid values: 1024 - 65535 Default: 0 Valid for: IGW, SIP')
himBoardIPBckpServIP = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 10), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPBckpServIP.setStatus('current')
if mibBuilder.loadTexts: himBoardIPBckpServIP.setDescription('IP address of backup server. Default: 0.0.0.0 Valid for: IGW, SIP')
himBoardIPBckpServPort = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardIPBckpServPort.setStatus('current')
if mibBuilder.loadTexts: himBoardIPBckpServPort.setDescription("Port number of backup server. Default: 0 (0 means 'undefined port number') Valid for: IGW, SIP")
himBoardLocTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 3), )
if mibBuilder.loadTexts: himBoardLocTable.setStatus('current')
if mibBuilder.loadTexts: himBoardLocTable.setDescription('This table contains the location data of the boards. It is only available for boards of type DSX, LTUCA, LTUCE and LTUCX.')
himBoardLocEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 3, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicLTG"), (0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicLTU"), (0, "SIEMENS-HP4KHIM-MIB", "himBoardBasicSlot"))
if mibBuilder.loadTexts: himBoardLocEntry.setStatus('current')
if mibBuilder.loadTexts: himBoardLocEntry.setDescription('')
himBoardLocId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 999))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardLocId.setStatus('current')
if mibBuilder.loadTexts: himBoardLocId.setDescription('Describes the location of the switch for the system configurator. Valid values: 0-999')
himBoardLocLoc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 45))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardLocLoc.setStatus('current')
if mibBuilder.loadTexts: himBoardLocLoc.setDescription('Postal address of the LTU (Line/Trunk Unit) shelf. Applies to the Local Connection Type. Valid values: text, up to 45 characters')
himBoardLocPhoneNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 3, 1, 3), HimPhoneNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardLocPhoneNo.setStatus('current')
if mibBuilder.loadTexts: himBoardLocPhoneNo.setDescription('Phone number at the shelf location. Valid values: 0-9, *, #, A-D, up to 22 characters')
himBoardLocFaxNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 12, 3, 1, 4), HimPhoneNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himBoardLocFaxNo.setStatus('current')
if mibBuilder.loadTexts: himBoardLocFaxNo.setDescription('Fax number at the shelf location. Valid values: 0-9, *, #, A-D, up to 22 characters')
himIPDA = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13))
himIPDAGenData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1))
himIPDAGenTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1), )
if mibBuilder.loadTexts: himIPDAGenTable.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenTable.setDescription('General settings that are true for all IPDAs.')
himIPDAGenEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himIPDAGenPabxId"))
if mibBuilder.loadTexts: himIPDAGenEntry.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenEntry.setDescription('')
himIPDAGenPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenPabxId.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenPabxId.setDescription('')
himIPDAGenSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(10, 10), ValueRangeConstraint(100, 100), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenSpeed.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenSpeed.setDescription('Indicates the bit-rate speed. Valid values: 10 Mbits/s; 100 Mbits/s')
himIPDAGenMode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("fullduplex", 1), ("halfduplex", 2), ("other", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenMode.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenMode.setDescription('Indicates the bit-rate mode. Valid values: Full Duplex, Half Duplex')
himIPDAGenPayConn = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenPayConn.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenPayConn.setDescription('TOS for VoIP payload connections to APs (CP). Valid values: 0-255')
himIPDAGenSigConn = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenSigConn.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenSigConn.setDescription('TOS for signalling connections to APs (FA). Valid values: 0-255')
himIPDAGenIPTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2), )
if mibBuilder.loadTexts: himIPDAGenIPTable.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPTable.setDescription('General IP settings that are true for all IPDAs.')
himIPDAGenIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1), )
himIPDAGenEntry.registerAugmentions(("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPEntry"))
himIPDAGenIPEntry.setIndexNames(*himIPDAGenEntry.getIndexNames())
if mibBuilder.loadTexts: himIPDAGenIPEntry.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPEntry.setDescription('')
himIPDAGenIPNetAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1, 1), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenIPNetAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPNetAddr.setDescription('IP net address of HiPath LAN segment.')
himIPDAGenIPNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenIPNetMask.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPNetMask.setDescription('IP net mask of HiPath LAN segment.')
himIPDAGenIPCCAAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenIPCCAAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPCCAAddr.setDescription('Address of the CC-A processor within the HiPath LAN segment.')
himIPDAGenIPCCBAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1, 4), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenIPCCBAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPCCBAddr.setDescription('Address of the CC-B processor within the HiPath LAN segment. Default value: 0.0.0.0')
himIPDAGenIPDefRoutAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1, 5), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenIPDefRoutAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPDefRoutAddr.setDescription('IP address of the default router within the HiPath LAN segment.')
himIPDAGenIPSurvNetAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 1, 2, 1, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAGenIPSurvNetAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAGenIPSurvNetAddr.setDescription('The IP address of the survivability net. Default value: 0.0.0.0')
himIPDAAPData = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2))
himIPDABasicTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1), )
if mibBuilder.loadTexts: himIPDABasicTable.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicTable.setDescription('This table stores IPDA information from CM.')
himIPDABasicEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himIPDABasicPabxId"), (0, "SIEMENS-HP4KHIM-MIB", "himIPDABasicLTU"))
if mibBuilder.loadTexts: himIPDABasicEntry.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicEntry.setDescription('')
himIPDABasicPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDABasicPabxId.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicPabxId.setDescription('')
himIPDABasicLTU = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(17, 99))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDABasicLTU.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicLTU.setDescription('Line/trunk unit. Valid values: 17-99')
himIPDABasicConnType = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1, 1, 3), HimShelfNWType().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(3, 4), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDABasicConnType.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicConnType.setDescription('Connection type of the shelf. Valid values: APDL -- AP shelf via IP - direct linked APNW -- AP shelf via IP - network')
himIPDABasicBChanNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 120))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDABasicBChanNo.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicBChanNo.setDescription('Amount of B-Channels. Valid values: 1- 120')
himIPDABasicConvAMLaw = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 1, 1, 5), HimYesNo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDABasicConvAMLaw.setStatus('current')
if mibBuilder.loadTexts: himIPDABasicConvAMLaw.setDescription('')
himIPDAIPTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2), )
if mibBuilder.loadTexts: himIPDAIPTable.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPTable.setDescription('This table contains the IP address configuration of the IPDAs.')
himIPDAIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1), )
himIPDABasicEntry.registerAugmentions(("SIEMENS-HP4KHIM-MIB", "himIPDAIPEntry"))
himIPDAIPEntry.setIndexNames(*himIPDABasicEntry.getIndexNames())
if mibBuilder.loadTexts: himIPDAIPEntry.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPEntry.setDescription('')
himIPDAIPAccPtAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1, 1), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAIPAccPtAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPAccPtAddr.setDescription('IP address of the access point in the AP network.')
himIPDAIPTAccPtAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAIPTAccPtAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPTAccPtAddr.setDescription('IP address for the TAP/Service PC link at the access point. This IP address must be in the same network as the access point in the AP network.')
himIPDAIPAccPtRoutAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAIPAccPtRoutAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPAccPtRoutAddr.setDescription('IP address of the gateway (IP address of the router in the AP network).')
himIPDAIPNetMaskNW = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1, 4), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAIPNetMaskNW.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPNetMaskNW.setDescription('Netmask of the network to which the respective Access Point in AP network belongs.')
himIPDAIPAccPtPriRoutAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1, 5), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAIPAccPtPriRoutAddr.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPAccPtPriRoutAddr.setDescription('IP address of the primary signalling router for NCUI board (IP address of the router in the HiPath 4000 LAN segment). Required if the connection type is APDL.')
himIPDAIPNetMaskDL = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 2, 1, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDAIPNetMaskDL.setStatus('current')
if mibBuilder.loadTexts: himIPDAIPNetMaskDL.setDescription('Netmask of the network to which the Access Point in AP internal network belongs.')
himIPDALocTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 3), )
if mibBuilder.loadTexts: himIPDALocTable.setStatus('current')
if mibBuilder.loadTexts: himIPDALocTable.setDescription('This table contains the location data of the boards. It is only available for boards of type DSX, LTUCA, LTUCE and LTUCX.')
himIPDALocEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 3, 1), )
himIPDABasicEntry.registerAugmentions(("SIEMENS-HP4KHIM-MIB", "himIPDALocEntry"))
himIPDALocEntry.setIndexNames(*himIPDABasicEntry.getIndexNames())
if mibBuilder.loadTexts: himIPDALocEntry.setStatus('current')
if mibBuilder.loadTexts: himIPDALocEntry.setDescription('')
himIPDALocId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 999))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDALocId.setStatus('current')
if mibBuilder.loadTexts: himIPDALocId.setDescription('Describes the location of the switch for the system configurator. Valid values: 0-999')
himIPDALocLoc = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 45))).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDALocLoc.setStatus('current')
if mibBuilder.loadTexts: himIPDALocLoc.setDescription('Postal address of the LTU (Line/Trunk Unit) shelf. Applies to the Local Connection Type. Valid values: text, up to 45 characters')
himIPDALocPhoneNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 3, 1, 3), HimPhoneNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDALocPhoneNo.setStatus('current')
if mibBuilder.loadTexts: himIPDALocPhoneNo.setDescription('Phone number at the shelf location. Valid values: 0-9, *, #, A-D, up to 22 characters')
himIPDALocFaxNo = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 13, 2, 3, 1, 4), HimPhoneNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himIPDALocFaxNo.setStatus('current')
if mibBuilder.loadTexts: himIPDALocFaxNo.setDescription('Fax number at the shelf location. Valid values: 0-9, *, #, A-D, up to 22 characters')
himInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 14))
himSubagentLastMsgNo = MibScalar((1, 3, 6, 1, 4, 1, 4329, 2, 51, 14, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSubagentLastMsgNo.setStatus('current')
if mibBuilder.loadTexts: himSubagentLastMsgNo.setDescription('The last message, warning or error number issued by the Him subagent.')
himSubagentLastMsgText = MibScalar((1, 3, 6, 1, 4, 1, 4329, 2, 51, 14, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himSubagentLastMsgText.setStatus('current')
if mibBuilder.loadTexts: himSubagentLastMsgText.setDescription('The last message, warning or error text issued by the Him subagent.')
himResultData = MibScalar((1, 3, 6, 1, 4, 1, 4329, 2, 51, 14, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: himResultData.setStatus('current')
if mibBuilder.loadTexts: himResultData.setDescription("Is used for agent internal communication. Contains the PabxId of a Hicom for which the last discovery process was conveyed. Is SET by the discovery agent and indicates the availability of new discovered data. The new data is to be incorporated by the subagent into the subagent's data base.")
himDiscovery = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15))
himChanges = MibScalar((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himChanges.setStatus('current')
if mibBuilder.loadTexts: himChanges.setDescription('Indicates the number of finished HIM discoveries - corresponds to the number of hicomHWDiscovXXX traps sent out.')
himDiscovTable = MibTable((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2), )
if mibBuilder.loadTexts: himDiscovTable.setStatus('current')
if mibBuilder.loadTexts: himDiscovTable.setDescription('The table describing the status concerning discovery of HIM information.')
himDiscovEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1), ).setIndexNames((0, "SIEMENS-HP4KHIM-MIB", "himDiscovPabxId"))
if mibBuilder.loadTexts: himDiscovEntry.setStatus('current')
if mibBuilder.loadTexts: himDiscovEntry.setDescription('The entry describes the status of the discovery process. It is designed to comply with the structure of discovery entries in the hicom MIB, even though data is only provided for one switch.')
himDiscovPabxId = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1, 1), HimPabxId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDiscovPabxId.setStatus('current')
if mibBuilder.loadTexts: himDiscovPabxId.setDescription('Unique identifier of the Hicom being discovered.')
himDiscovPabxMnemonic = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDiscovPabxMnemonic.setStatus('current')
if mibBuilder.loadTexts: himDiscovPabxMnemonic.setDescription('Name of the Hicom system.')
himDiscovStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1, 3), DiscoveryStates()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: himDiscovStatus.setStatus('current')
if mibBuilder.loadTexts: himDiscovStatus.setDescription('Status of discovery process. A managment station may initiate a discovery by setting this variable to value busy. The other values are set by the agent.')
himDiscovMode = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1, 4), DiscoveryModes()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: himDiscovMode.setStatus('current')
if mibBuilder.loadTexts: himDiscovMode.setDescription('Mode of discovery process.')
himDiscovTimDat = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDiscovTimDat.setStatus('current')
if mibBuilder.loadTexts: himDiscovTimDat.setDescription('Date and time (year, month, day, hour, minute, second) the last successful discovery action was performed for the Hicom.')
himDiscovErrTimDat = MibTableColumn((1, 3, 6, 1, 4, 1, 4329, 2, 51, 15, 2, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: himDiscovErrTimDat.setStatus('current')
if mibBuilder.loadTexts: himDiscovErrTimDat.setDescription('Date and time (year, month, day, hour, minute, second) the last failed discovery action was performed for the Hicom.')
himMibConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20))
himMibGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1))
himWelcomePageGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 1)).setObjects(("SIEMENS-HP4KHIM-MIB", "himWelPgPabxId"), ("SIEMENS-HP4KHIM-MIB", "himWelPgSysNo"), ("SIEMENS-HP4KHIM-MIB", "himHP4KVersion"), ("SIEMENS-HP4KHIM-MIB", "himSystemRelease"), ("SIEMENS-HP4KHIM-MIB", "himRevisionLevel"), ("SIEMENS-HP4KHIM-MIB", "himHWArchitecture"), ("SIEMENS-HP4KHIM-MIB", "himHWArchitectureType"), ("SIEMENS-HP4KHIM-MIB", "himOperationMode"), ("SIEMENS-HP4KHIM-MIB", "himSWUProc1"), ("SIEMENS-HP4KHIM-MIB", "himSWUMemory1"), ("SIEMENS-HP4KHIM-MIB", "himSWUProc2"), ("SIEMENS-HP4KHIM-MIB", "himSWUMemory2"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himWelcomePageGroup = himWelcomePageGroup.setStatus('current')
if mibBuilder.loadTexts: himWelcomePageGroup.setDescription('')
himSwitchDataGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 2)).setObjects(("SIEMENS-HP4KHIM-MIB", "himTechInfoPabxId"), ("SIEMENS-HP4KHIM-MIB", "himTechInfoInfoNo"), ("SIEMENS-HP4KHIM-MIB", "himTechInfoDate"), ("SIEMENS-HP4KHIM-MIB", "himTechInfoTechnicalData"), ("SIEMENS-HP4KHIM-MIB", "himTechInfoNumber"), ("SIEMENS-HP4KHIM-MIB", "himTechInfoExtraText"), ("SIEMENS-HP4KHIM-MIB", "himNotepadDataPabxId"), ("SIEMENS-HP4KHIM-MIB", "himNotepadDataInfoNo"), ("SIEMENS-HP4KHIM-MIB", "himNotepadDataDate"), ("SIEMENS-HP4KHIM-MIB", "himNotepadDataText"), ("SIEMENS-HP4KHIM-MIB", "himProjPlanPabxId"), ("SIEMENS-HP4KHIM-MIB", "himProjPlanInfoFile"), ("SIEMENS-HP4KHIM-MIB", "himProjPlanInfoCreationDate"), ("SIEMENS-HP4KHIM-MIB", "himProjPlanInfoCreationTime"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himSwitchDataGroup = himSwitchDataGroup.setStatus('current')
if mibBuilder.loadTexts: himSwitchDataGroup.setDescription('')
himSpecGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 3)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataAddress"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataFrameType"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataLTU"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataNetworkType"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataNetworkAddress"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataRemote"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataLocation"), ("SIEMENS-HP4KHIM-MIB", "himSpecShelfDataLTUC"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardPEN"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardOverlayLTU"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardType"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardNominal"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardActual"), ("SIEMENS-HP4KHIM-MIB", "hhimSWUBoardFirmware"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardRev"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardFunctId"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardMode"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardLWNo"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardLWInterVer"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardLWName"), ("SIEMENS-HP4KHIM-MIB", "himSWUBoardLWDate"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himSpecGroup = himSpecGroup.setStatus('current')
if mibBuilder.loadTexts: himSpecGroup.setDescription('')
himSWUPeripheryGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 4)).setObjects(("SIEMENS-HP4KHIM-MIB", "himPSIOAssPabxId"), ("SIEMENS-HP4KHIM-MIB", "himPSIOAssAssembly"), ("SIEMENS-HP4KHIM-MIB", "himPSIOAssPEN"), ("SIEMENS-HP4KHIM-MIB", "himPSIOAssActual"), ("SIEMENS-HP4KHIM-MIB", "himPSIOAssFirmware"), ("SIEMENS-HP4KHIM-MIB", "himSerialLinePabxId"), ("SIEMENS-HP4KHIM-MIB", "himSerialLineBoardType"), ("SIEMENS-HP4KHIM-MIB", "himSerialLineNumber"), ("SIEMENS-HP4KHIM-MIB", "himSerialLineSpeed"), ("SIEMENS-HP4KHIM-MIB", "himSerialLineLogDevName"), ("SIEMENS-HP4KHIM-MIB", "himSerialLineDevType"), ("SIEMENS-HP4KHIM-MIB", "himSerialLineType"), ("SIEMENS-HP4KHIM-MIB", "himSCSIDevPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSCSIDevId"), ("SIEMENS-HP4KHIM-MIB", "himSCSIDevType"), ("SIEMENS-HP4KHIM-MIB", "himSCSIDevName"), ("SIEMENS-HP4KHIM-MIB", "himSCSIDevFirmware"), ("SIEMENS-HP4KHIM-MIB", "himSCSIDevLoadDrive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himSWUPeripheryGroup = himSWUPeripheryGroup.setStatus('current')
if mibBuilder.loadTexts: himSWUPeripheryGroup.setDescription('')
himCentralSwitchGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 5)).setObjects(("SIEMENS-HP4KHIM-MIB", "himCabPabxId"), ("SIEMENS-HP4KHIM-MIB", "himCabAddr"), ("SIEMENS-HP4KHIM-MIB", "himCabPhysAddr"), ("SIEMENS-HP4KHIM-MIB", "himCabCabinet"), ("SIEMENS-HP4KHIM-MIB", "himCabPartNo"), ("SIEMENS-HP4KHIM-MIB", "himCabShelfNo"), ("SIEMENS-HP4KHIM-MIB", "himCabFrame"), ("SIEMENS-HP4KHIM-MIB", "himCabPid1"), ("SIEMENS-HP4KHIM-MIB", "himCabPid2"), ("SIEMENS-HP4KHIM-MIB", "himCabPid3"), ("SIEMENS-HP4KHIM-MIB", "himCabLTUNo"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingPabxId"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingUnit"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingUsed"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingMaxUsed"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingAllocated"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingStandard"), ("SIEMENS-HP4KHIM-MIB", "himMemScalingSysMax"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himCentralSwitchGroup = himCentralSwitchGroup.setStatus('current')
if mibBuilder.loadTexts: himCentralSwitchGroup.setDescription('')
himGeneralSwitchGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 6)).setObjects(("SIEMENS-HP4KHIM-MIB", "himDBConfSysPabxId"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysClass1"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysClass2"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysHWAss1"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysHWAss2"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysDevLine1"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysDevLine2"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysOpMode"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysResType"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysHWArch"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysHWArchType"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysNo"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysLoc"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysBaseApp"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysDBApp"), ("SIEMENS-HP4KHIM-MIB", "himDBConfSysID"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWPabxId"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWLTG"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWLTU"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWLines"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWPorts"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWPBC"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWMTSBdPerGSN"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWSIUPPerLTU"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWDIUCPerLTU"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWHwyPerMTSBd"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWHDLCPerDCL"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWPBCPerDCL"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWStdSIULine"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWConfLine"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWDBDim"), ("SIEMENS-HP4KHIM-MIB", "himDBConfHWTableVer"), ("SIEMENS-HP4KHIM-MIB", "himHWDataPabxId"), ("SIEMENS-HP4KHIM-MIB", "himHWArch"), ("SIEMENS-HP4KHIM-MIB", "himHWArchType"), ("SIEMENS-HP4KHIM-MIB", "himHWOpMode"), ("SIEMENS-HP4KHIM-MIB", "himHWSWUProc1"), ("SIEMENS-HP4KHIM-MIB", "himHWSWUMem1"), ("SIEMENS-HP4KHIM-MIB", "himHWSWUProc2"), ("SIEMENS-HP4KHIM-MIB", "himHWSWUMem2"), ("SIEMENS-HP4KHIM-MIB", "himHWADPProc"), ("SIEMENS-HP4KHIM-MIB", "himHWADPMem"), ("SIEMENS-HP4KHIM-MIB", "himLWDataOnCBPabxId"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCBAss"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCBPBCAddr"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCBFileName"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCBProdTime"), ("SIEMENS-HP4KHIM-MIB", "himLWOnProcPabxId"), ("SIEMENS-HP4KHIM-MIB", "himLWOnProcAss"), ("SIEMENS-HP4KHIM-MIB", "himLWOnProcInfoType"), ("SIEMENS-HP4KHIM-MIB", "himLWOnProcLWId"), ("SIEMENS-HP4KHIM-MIB", "himLWOnProcLWIdCMP"), ("SIEMENS-HP4KHIM-MIB", "himLWOnProcLWIdLP"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUPabxId"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUProc"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUSlot"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUNominal"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUActual"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIULWNo"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUFileName"), ("SIEMENS-HP4KHIM-MIB", "himLWOnCSIUFileProd"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrPabxId"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrProc"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrInfoType"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrCLan"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrIPDA"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himGeneralSwitchGroup = himGeneralSwitchGroup.setStatus('current')
if mibBuilder.loadTexts: himGeneralSwitchGroup.setDescription('')
himFeaturesGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 7)).setObjects(("SIEMENS-HP4KHIM-MIB", "himMacAddrPabxId"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrProc"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrCLan"), ("SIEMENS-HP4KHIM-MIB", "himMacAddrIPDA"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatPabxId"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatVer"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatSerNo"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatHWId"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatInstallDate"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatExpiryDate"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatConfCode"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatTrialModeAct"), ("SIEMENS-HP4KHIM-MIB", "himMarkFeatTrialRemDays"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatMarketPackId"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatMarketPack"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatContract"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatUsed"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatFree"), ("SIEMENS-HP4KHIM-MIB", "himSalesFeatMarkForTrial"), ("SIEMENS-HP4KHIM-MIB", "himTechFeatPabxId"), ("SIEMENS-HP4KHIM-MIB", "himTechFeatId"), ("SIEMENS-HP4KHIM-MIB", "himTechFeatName"), ("SIEMENS-HP4KHIM-MIB", "himTechFeatState"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himFeaturesGroup = himFeaturesGroup.setStatus('current')
if mibBuilder.loadTexts: himFeaturesGroup.setDescription('')
himAPSPatchesGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 8)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSwitchAPSPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSwitchAPSName"), ("SIEMENS-HP4KHIM-MIB", "himSwitchAPSCorrVer"), ("SIEMENS-HP4KHIM-MIB", "himSwitchAPSPartNo"), ("SIEMENS-HP4KHIM-MIB", "himReplAMOPabxId"), ("SIEMENS-HP4KHIM-MIB", "himReplAMOAPS"), ("SIEMENS-HP4KHIM-MIB", "himReplAMOName"), ("SIEMENS-HP4KHIM-MIB", "himReplAMOInAPSDir"), ("SIEMENS-HP4KHIM-MIB", "himReplAMOSubsystem"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoPabxId"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoPatchNo"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoPatchGroup"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoOpt"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoActHD"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoActADP"), ("SIEMENS-HP4KHIM-MIB", "himPatchInfoActBP"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himAPSPatchesGroup = himAPSPatchesGroup.setStatus('current')
if mibBuilder.loadTexts: himAPSPatchesGroup.setDescription('')
himSWVersionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 9)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcSrc"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcSWVer"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcItemCodeNoPrefix"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcHP4KVer"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcSysRel"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcCountry"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcCountryCode"), ("SIEMENS-HP4KHIM-MIB", "himSWVerOnProcRevNo"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himSWVersionGroup = himSWVersionGroup.setStatus('current')
if mibBuilder.loadTexts: himSWVersionGroup.setDescription('')
himSWPkgVersionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 10)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSWPkgVerPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSWPkgVerPkgAbbr"), ("SIEMENS-HP4KHIM-MIB", "himSWPkgVerPkgName"), ("SIEMENS-HP4KHIM-MIB", "himSWPkgVerVersion"), ("SIEMENS-HP4KHIM-MIB", "himSWPkgVerInstAt"), ("SIEMENS-HP4KHIM-MIB", "himSWPkgVerStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himSWPkgVersionGroup = himSWPkgVersionGroup.setStatus('current')
if mibBuilder.loadTexts: himSWPkgVersionGroup.setDescription('')
himSystemGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 11)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSysBasicPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSysBasicDomain"), ("SIEMENS-HP4KHIM-MIB", "himSysBasicNodeNo"), ("SIEMENS-HP4KHIM-MIB", "himSysBasicLEGK"), ("SIEMENS-HP4KHIM-MIB", "himSysLANCardsPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSysLANCardsIPAddr"), ("SIEMENS-HP4KHIM-MIB", "himSysLANCardsNetMask"), ("SIEMENS-HP4KHIM-MIB", "himSysLANCardsBroadCast"), ("SIEMENS-HP4KHIM-MIB", "himSysLANCardsType"), ("SIEMENS-HP4KHIM-MIB", "himSysLANCardsStatus"), ("SIEMENS-HP4KHIM-MIB", "himSysHostsPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSysHostsNo"), ("SIEMENS-HP4KHIM-MIB", "himSysHostsIPAddr"), ("SIEMENS-HP4KHIM-MIB", "himSysHostsName"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnLTG"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnLTU"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnSlot"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnRufNr"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnBChl"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnStatus"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPPabxId"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPLTG"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPLTU"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPSlot"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPIfName"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPAddr"), ("SIEMENS-HP4KHIM-MIB", "himSysWAMLConnIPNetMask"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himSystemGroup = himSystemGroup.setStatus('current')
if mibBuilder.loadTexts: himSystemGroup.setDescription('')
himBoardsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 12)).setObjects(("SIEMENS-HP4KHIM-MIB", "himBoardBasicPabxId"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicLTG"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicLTU"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicSlot"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicFuncId"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicCat"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicName"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicVOIPSec"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicLWVar"), ("SIEMENS-HP4KHIM-MIB", "himBoardBasicNoCirc"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPGwyIPAddr"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPSrcIPAddr"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPNetMask"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPDefRouter"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPCustLANIP"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPSTMI2IGWSubMask"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPDefGWIP"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPManStatIP"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPManStatPort"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPBckpServIP"), ("SIEMENS-HP4KHIM-MIB", "himBoardIPBckpServPort"), ("SIEMENS-HP4KHIM-MIB", "himBoardLocId"), ("SIEMENS-HP4KHIM-MIB", "himBoardLocLoc"), ("SIEMENS-HP4KHIM-MIB", "himBoardLocPhoneNo"), ("SIEMENS-HP4KHIM-MIB", "himBoardLocFaxNo"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himBoardsGroup = himBoardsGroup.setStatus('current')
if mibBuilder.loadTexts: himBoardsGroup.setDescription('')
himIPDAGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 13)).setObjects(("SIEMENS-HP4KHIM-MIB", "himIPDABasicPabxId"), ("SIEMENS-HP4KHIM-MIB", "himIPDABasicLTU"), ("SIEMENS-HP4KHIM-MIB", "himIPDABasicConnType"), ("SIEMENS-HP4KHIM-MIB", "himIPDABasicBChanNo"), ("SIEMENS-HP4KHIM-MIB", "himIPDABasicConvAMLaw"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenPabxId"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenSpeed"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenMode"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenPayConn"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenSigConn"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPNetAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPNetMask"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPCCAAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPCCBAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPDefRoutAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAGenIPSurvNetAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAIPAccPtAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAIPTAccPtAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAIPAccPtRoutAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAIPNetMaskNW"), ("SIEMENS-HP4KHIM-MIB", "himIPDAIPAccPtPriRoutAddr"), ("SIEMENS-HP4KHIM-MIB", "himIPDAIPNetMaskDL"), ("SIEMENS-HP4KHIM-MIB", "himIPDALocId"), ("SIEMENS-HP4KHIM-MIB", "himIPDALocLoc"), ("SIEMENS-HP4KHIM-MIB", "himIPDALocPhoneNo"), ("SIEMENS-HP4KHIM-MIB", "himIPDALocFaxNo"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himIPDAGroup = himIPDAGroup.setStatus('current')
if mibBuilder.loadTexts: himIPDAGroup.setDescription('')
himInfoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 14)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgNo"), ("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgText"), ("SIEMENS-HP4KHIM-MIB", "himResultData"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himInfoGroup = himInfoGroup.setStatus('current')
if mibBuilder.loadTexts: himInfoGroup.setDescription('')
himDiscoveryGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 15)).setObjects(("SIEMENS-HP4KHIM-MIB", "himChanges"), ("SIEMENS-HP4KHIM-MIB", "himDiscovPabxId"), ("SIEMENS-HP4KHIM-MIB", "himDiscovPabxMnemonic"), ("SIEMENS-HP4KHIM-MIB", "himDiscovStatus"), ("SIEMENS-HP4KHIM-MIB", "himDiscovMode"), ("SIEMENS-HP4KHIM-MIB", "himDiscovTimDat"), ("SIEMENS-HP4KHIM-MIB", "himDiscovErrTimDat"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himDiscoveryGroup = himDiscoveryGroup.setStatus('current')
if mibBuilder.loadTexts: himDiscoveryGroup.setDescription('')
himTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 4329, 2, 51, 20, 1, 16)).setObjects(("SIEMENS-HP4KHIM-MIB", "internalMessageHimSubagent"), ("SIEMENS-HP4KHIM-MIB", "internalWarningHimSubagent"), ("SIEMENS-HP4KHIM-MIB", "internalErrorHimSubagent"), ("SIEMENS-HP4KHIM-MIB", "himDiscovSucc"), ("SIEMENS-HP4KHIM-MIB", "himDiscovErr"), ("SIEMENS-HP4KHIM-MIB", "himDiscovBusy"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
himTrapsGroup = himTrapsGroup.setStatus('current')
if mibBuilder.loadTexts: himTrapsGroup.setDescription('')
himTrapGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21))
himTrapVariables = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 1))
himTrapPabxId = MibScalar((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 1, 1), Integer32())
if mibBuilder.loadTexts: himTrapPabxId.setStatus('current')
if mibBuilder.loadTexts: himTrapPabxId.setDescription('Unique identifier of a Hicom system.')
himTrapPabxMnemonic = MibScalar((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 1, 2), DisplayString())
if mibBuilder.loadTexts: himTrapPabxMnemonic.setStatus('current')
if mibBuilder.loadTexts: himTrapPabxMnemonic.setDescription('Mnemonic name of the Hicom system.')
himTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2))
internalMessageHimSubagent = NotificationType((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2, 0)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgNo"), ("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgText"))
if mibBuilder.loadTexts: internalMessageHimSubagent.setStatus('current')
if mibBuilder.loadTexts: internalMessageHimSubagent.setDescription('An internalMessage trap contains an informational message generated by the subagent.')
internalWarningHimSubagent = NotificationType((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2, 1)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgNo"), ("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgText"))
if mibBuilder.loadTexts: internalWarningHimSubagent.setStatus('current')
if mibBuilder.loadTexts: internalWarningHimSubagent.setDescription('An internalWarning trap contains a warning message generated by a subagent.')
internalErrorHimSubagent = NotificationType((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2, 2)).setObjects(("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgNo"), ("SIEMENS-HP4KHIM-MIB", "himSubagentLastMsgText"))
if mibBuilder.loadTexts: internalErrorHimSubagent.setStatus('current')
if mibBuilder.loadTexts: internalErrorHimSubagent.setDescription('An internalError trap contains an error message generated by a subagent. After issuing this trap, the agent terminates.')
himDiscovSucc = NotificationType((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2, 10)).setObjects(("SIEMENS-HP4KHIM-MIB", "himTrapPabxId"), ("SIEMENS-HP4KHIM-MIB", "himTrapPabxMnemonic"))
if mibBuilder.loadTexts: himDiscovSucc.setStatus('current')
if mibBuilder.loadTexts: himDiscovSucc.setDescription('A himDiscovSucc trap indicates the successful termination of a discovery process.')
himDiscovErr = NotificationType((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2, 11)).setObjects(("SIEMENS-HP4KHIM-MIB", "himTrapPabxId"), ("SIEMENS-HP4KHIM-MIB", "himTrapPabxMnemonic"))
if mibBuilder.loadTexts: himDiscovErr.setStatus('current')
if mibBuilder.loadTexts: himDiscovErr.setDescription('A himDiscovErr trap signifies the unsuccessful termination of a discovery process.')
himDiscovBusy = NotificationType((1, 3, 6, 1, 4, 1, 4329, 2, 51, 21, 2, 19)).setObjects(("SIEMENS-HP4KHIM-MIB", "himTrapPabxId"), ("SIEMENS-HP4KHIM-MIB", "himTrapPabxMnemonic"))
if mibBuilder.loadTexts: himDiscovBusy.setStatus('current')
if mibBuilder.loadTexts: himDiscovBusy.setDescription('A himDiscovBusy trap signifies that a sw discovery process is running.')
mibBuilder.exportSymbols("SIEMENS-HP4KHIM-MIB", himBoardLocEntry=himBoardLocEntry, himIPDABasicLTU=himIPDABasicLTU, himIPDALocId=himIPDALocId, himMemScalingMaxUsed=himMemScalingMaxUsed, himMacAddrEntry=himMacAddrEntry, himSerialLineLogDevName=himSerialLineLogDevName, himIPDAGenIPNetMask=himIPDAGenIPNetMask, himDBConfHWMTSBdPerGSN=himDBConfHWMTSBdPerGSN, internalErrorHimSubagent=internalErrorHimSubagent, himDBConfSysOpMode=himDBConfSysOpMode, himSysHostsTable=himSysHostsTable, himLWOnCSIUEntry=himLWOnCSIUEntry, himIPDAGroup=himIPDAGroup, himDBConfSysLoc=himDBConfSysLoc, himTrapVariables=himTrapVariables, himLWOnProcInfoType=himLWOnProcInfoType, himSpecShelfDataNetworkAddress=himSpecShelfDataNetworkAddress, himProjPlanInfoCreationTime=himProjPlanInfoCreationTime, himDBConfSysID=himDBConfSysID, himTechInfoDate=himTechInfoDate, himSysWAMLConn=himSysWAMLConn, himSysLANCardsNetMask=himSysLANCardsNetMask, himIPDAIPAccPtAddr=himIPDAIPAccPtAddr, himSysWAMLConnPabxId=himSysWAMLConnPabxId, himMemScalingUsed=himMemScalingUsed, himTechInfoInfoNo=himTechInfoInfoNo, himDBConfSysDBApp=himDBConfSysDBApp, himSerialLineDevType=himSerialLineDevType, himMibConformance=himMibConformance, himDiscovPabxId=himDiscovPabxId, himPatchInfoTable=himPatchInfoTable, himBoardIPSrcIPAddr=himBoardIPSrcIPAddr, himSysHostsIPAddr=himSysHostsIPAddr, himHP4KVersion=himHP4KVersion, himSWUPeriphery=himSWUPeriphery, himTechFeatName=himTechFeatName, himDBConfSysClass2=himDBConfSysClass2, himSWVerOnProcEntry=himSWVerOnProcEntry, PYSNMP_MODULE_ID=hp4khim, himSWUBoardLWName=himSWUBoardLWName, himLWOnProcLWId=himLWOnProcLWId, himIPDAIPNetMaskDL=himIPDAIPNetMaskDL, himSWPkgVerPkgAbbr=himSWPkgVerPkgAbbr, himBoardLocTable=himBoardLocTable, himBoardIPBckpServPort=himBoardIPBckpServPort, himDBConfHWPBCPerDCL=himDBConfHWPBCPerDCL, himSpecShelfDataTable=himSpecShelfDataTable, himHWArchitecture=himHWArchitecture, himTechInfoTable=himTechInfoTable, himNotepadDataText=himNotepadDataText, himSWUBoardLWInterVer=himSWUBoardLWInterVer, himIPDABasicEntry=himIPDABasicEntry, himTrapPabxMnemonic=himTrapPabxMnemonic, himBoardIPGwyIPAddr=himBoardIPGwyIPAddr, himNotepadDataDate=himNotepadDataDate, himHWArch=himHWArch, himSWVerOnProcSrc=himSWVerOnProcSrc, himSpecShelfDataPabxId=himSpecShelfDataPabxId, himBoardIPManStatIP=himBoardIPManStatIP, himPSIOAssAssembly=himPSIOAssAssembly, himProjPlanInfoTable=himProjPlanInfoTable, himLWOnCSIUProc=himLWOnCSIUProc, himSWUPeripheryGroup=himSWUPeripheryGroup, himHWArchitectureType=himHWArchitectureType, himTechInfoExtraText=himTechInfoExtraText, himDBConfHWHwyPerMTSBd=himDBConfHWHwyPerMTSBd, himSCSIDevTable=himSCSIDevTable, himLWDataOnCB=himLWDataOnCB, himBoardBasicPabxId=himBoardBasicPabxId, himSWUProc2=himSWUProc2, himMarkFeatTrialRemDays=himMarkFeatTrialRemDays, himSWUBoardType=himSWUBoardType, himMarkFeatPabxId=himMarkFeatPabxId, himSWVerOnProcItemCodeNoPrefix=himSWVerOnProcItemCodeNoPrefix, himIPDABasicConvAMLaw=himIPDABasicConvAMLaw, himSwitchAPSName=himSwitchAPSName, himReplAMOPabxId=himReplAMOPabxId, himBoardBasicName=himBoardBasicName, HimPhoneNumber=HimPhoneNumber, himBoardBasicVOIPSec=himBoardBasicVOIPSec, himLWOnCSIUActual=himLWOnCSIUActual, himSCSIDevEntry=himSCSIDevEntry, himSWPkgVerStatus=himSWPkgVerStatus, himSpecShelfDataRemote=himSpecShelfDataRemote, himPSIOAssPabxId=himPSIOAssPabxId, himLWOnProcTable=himLWOnProcTable, himSalesFeatEntry=himSalesFeatEntry, himSalesFeatMarketPack=himSalesFeatMarketPack, himDBConfSysNo=himDBConfSysNo, himIPDAGenMode=himIPDAGenMode, himIPDAGenIPDefRoutAddr=himIPDAGenIPDefRoutAddr, himSysHostsEntry=himSysHostsEntry, himTechFeatures=himTechFeatures, himGeneralSwitchGroup=himGeneralSwitchGroup, himCabPabxId=himCabPabxId, himSpecShelfDataLTU=himSpecShelfDataLTU, himPatchInfoPatchNo=himPatchInfoPatchNo, himDBConfHWDIUCPerLTU=himDBConfHWDIUCPerLTU, himSWPkgVerTable=himSWPkgVerTable, himInfoGroup=himInfoGroup, himSysWAMLConnIPPabxId=himSysWAMLConnIPPabxId, himProjPlanInfoCreationDate=himProjPlanInfoCreationDate, himSerialLineBoardType=himSerialLineBoardType, himSWVerOnProcRevNo=himSWVerOnProcRevNo, himTechInfoPabxId=himTechInfoPabxId, himDiscovery=himDiscovery, himFeatures=himFeatures, himIPDAGenSpeed=himIPDAGenSpeed, himIPDAIPAccPtPriRoutAddr=himIPDAIPAccPtPriRoutAddr, himDBConfSysEntry=himDBConfSysEntry, himDBConfSysClass1=himDBConfSysClass1, himDBConfSysDevLine2=himDBConfSysDevLine2, himWelPgPabxId=himWelPgPabxId, himMarkFeatVer=himMarkFeatVer, himSysWAMLConnTable=himSysWAMLConnTable, himDBConfHWLTG=himDBConfHWLTG, himReplAMOTable=himReplAMOTable, himMarketingFeatures=himMarketingFeatures, himProjPlanInfoEntry=himProjPlanInfoEntry, himSalesFeatContract=himSalesFeatContract, himGeneralSwitchData=himGeneralSwitchData, himDBConfSysResType=himDBConfSysResType, himDiscovSucc=himDiscovSucc, hhimSWUBoardFirmware=hhimSWUBoardFirmware, himTechFeatEntry=himTechFeatEntry, himHWSWUMem1=himHWSWUMem1, himHWADPProc=himHWADPProc, himOperationMode=himOperationMode, himPSIOAssEntry=himPSIOAssEntry, himSwitchAPSEntry=himSwitchAPSEntry, himSerialLinePabxId=himSerialLinePabxId, himSysLANCardsTable=himSysLANCardsTable, himDBConfSysTable=himDBConfSysTable, himPatchInfoActADP=himPatchInfoActADP, himLWOnCBPBCAddr=himLWOnCBPBCAddr, himIPDABasicTable=himIPDABasicTable, himSCSIDevType=himSCSIDevType, himSWUBoardTable=himSWUBoardTable, himSWPkgVerInstAt=himSWPkgVerInstAt, himIPDALocEntry=himIPDALocEntry, himMarkFeatTable=himMarkFeatTable, himReplAMOSubsystem=himReplAMOSubsystem, himPatchInfoEntry=himPatchInfoEntry, himLWDataOnCBTable=himLWDataOnCBTable, himSysWAMLConnLTG=himSysWAMLConnLTG, himLWOnCSIUPabxId=himLWOnCSIUPabxId, himDBConfHWPBC=himDBConfHWPBC, himDBConfHWPorts=himDBConfHWPorts, himMacAddrInfoType=himMacAddrInfoType, DiscoveryModes=DiscoveryModes, himSysLANCardsIPAddr=himSysLANCardsIPAddr, himLWOnCSIULWNo=himLWOnCSIULWNo, himIPDAIPEntry=himIPDAIPEntry, himSpecShelfDataLocation=himSpecShelfDataLocation, himDBConfSysPabxId=himDBConfSysPabxId, himSpecShelfDataNetworkType=himSpecShelfDataNetworkType, himSWUBoardPEN=himSWUBoardPEN, himSalesFeatFree=himSalesFeatFree, himPatchInfo=himPatchInfo, himSysHostsNo=himSysHostsNo, himSWPkgVerEntry=himSWPkgVerEntry, himDiscovStatus=himDiscovStatus, himReplacedAMOs=himReplacedAMOs, himReplAMOInAPSDir=himReplAMOInAPSDir, himMacAddrProc=himMacAddrProc, himNotepadDataEntry=himNotepadDataEntry, himCabPhysAddr=himCabPhysAddr, himLWOnCSIUFileName=himLWOnCSIUFileName, himWelcomePageGroup=himWelcomePageGroup, himSerialLineNumber=himSerialLineNumber, himLWOnProcAss=himLWOnProcAss, himDBConfSysHWArch=himDBConfSysHWArch, himSWVerOnProcCountry=himSWVerOnProcCountry, himSwitchAPSPartNo=himSwitchAPSPartNo, himIPDAGenTable=himIPDAGenTable, himDBConfHWEntry=himDBConfHWEntry, himDBConfHWTable=himDBConfHWTable, himSCSIDevId=himSCSIDevId, himMacAddrTable=himMacAddrTable, himCabShelfNo=himCabShelfNo, himMemScalingTable=himMemScalingTable, himSWPkgVerPabxId=himSWPkgVerPabxId, himBoardLocLoc=himBoardLocLoc, himIPDAAPData=himIPDAAPData, himIPDAIPTAccPtAddr=himIPDAIPTAccPtAddr, himIPDAGenPabxId=himIPDAGenPabxId, himBoardBasicCat=himBoardBasicCat, himIPDAGenIPCCAAddr=himIPDAGenIPCCAAddr, himTechFeatPabxId=himTechFeatPabxId, himDBConfHWLines=himDBConfHWLines, himMarkFeatInstallDate=himMarkFeatInstallDate, himSysBasicTable=himSysBasicTable, himIPDAGenData=himIPDAGenData, himSysLANCardsEntry=himSysLANCardsEntry, himHWDataPabxId=himHWDataPabxId, himBoardBasicLTG=himBoardBasicLTG, himBoardLocFaxNo=himBoardLocFaxNo, himLWOnProcLWIdLP=himLWOnProcLWIdLP, himMemScalingPabxId=himMemScalingPabxId, himSCSIDevFirmware=himSCSIDevFirmware, himTechInfoNumber=himTechInfoNumber, himSpecGroup=himSpecGroup, himBoardBasicLWVar=himBoardBasicLWVar, himMarkFeatHWId=himMarkFeatHWId, himCabinetTable=himCabinetTable, himSWPkgVersionGroup=himSWPkgVersionGroup, himDBConfSysHWArchType=himDBConfSysHWArchType, himSwPkgVersion=himSwPkgVersion, himSysWAMLConnStatus=himSysWAMLConnStatus, hp4khim=hp4khim, himIPDA=himIPDA, himCabinetEntry=himCabinetEntry, himRevisionLevel=himRevisionLevel, himSWPkgVerVersion=himSWPkgVerVersion, himSpecSwitchData=himSpecSwitchData, himCabFrame=himCabFrame, himSysHostsName=himSysHostsName, himIPDAIPNetMaskNW=himIPDAIPNetMaskNW, himWelPgSysNo=himWelPgSysNo, himSWUBoardMode=himSWUBoardMode, himDiscovTimDat=himDiscovTimDat, himSystemRelease=himSystemRelease, himWelPgEntry=himWelPgEntry, himResultData=himResultData, himSysBasicEntry=himSysBasicEntry, himSerialLineTable=himSerialLineTable, himSysWAMLConnIPLTU=himSysWAMLConnIPLTU, himProjPlanPabxId=himProjPlanPabxId, himSCSIDevName=himSCSIDevName, himMemScalingEntry=himMemScalingEntry, himSysWAMLConnIPAddr=himSysWAMLConnIPAddr, himBoardIPBckpServIP=himBoardIPBckpServIP, himCentralSwitchData=himCentralSwitchData, himTechInfoTechnicalData=himTechInfoTechnicalData, himBoardBasicLTU=himBoardBasicLTU, himDBConfHWTableVer=himDBConfHWTableVer, himPSIOAssActual=himPSIOAssActual, himBoardBasicEntry=himBoardBasicEntry, himPSIOAssTable=himPSIOAssTable, himIPDABasicConnType=himIPDABasicConnType, himSWUBoardPabxId=himSWUBoardPabxId, himSubagentLastMsgNo=himSubagentLastMsgNo, himSWPkgVerPkgName=himSWPkgVerPkgName, himDBConfSysHWAss2=himDBConfSysHWAss2, himHWSWUProc2=himHWSWUProc2, internalMessageHimSubagent=internalMessageHimSubagent, himHWADPMem=himHWADPMem, HimPEN=HimPEN, himPSIOAssPEN=himPSIOAssPEN, himPatchInfoActHD=himPatchInfoActHD, himSalesFeatMarketPackId=himSalesFeatMarketPackId, himSalesFeatPabxId=himSalesFeatPabxId, himIPDAGenIPCCBAddr=himIPDAGenIPCCBAddr, himCentralSwitchGroup=himCentralSwitchGroup)
mibBuilder.exportSymbols("SIEMENS-HP4KHIM-MIB", himSWUBoardActual=himSWUBoardActual, himTechFeatTable=himTechFeatTable, himSWUBoardOverlayLTU=himSWUBoardOverlayLTU, himBoardBasicNoCirc=himBoardBasicNoCirc, himSysLANCardsStatus=himSysLANCardsStatus, himIPDAGenPayConn=himIPDAGenPayConn, himSWUBoardLWNo=himSWUBoardLWNo, himLWOnProcEntry=himLWOnProcEntry, himSystemGroup=himSystemGroup, himSpecShelfDataFrameType=himSpecShelfDataFrameType, himLWDataOnProc=himLWDataOnProc, himLWOnCBAss=himLWOnCBAss, himDBConfHWLTU=himDBConfHWLTU, himSwitchAPSCorrVer=himSwitchAPSCorrVer, himDiscovErr=himDiscovErr, himSwitchAPSPabxId=himSwitchAPSPabxId, himIPDAGenIPTable=himIPDAGenIPTable, himBoardBasicTable=himBoardBasicTable, himSwitchData=himSwitchData, himIPDAGenIPNetAddr=himIPDAGenIPNetAddr, himSysBasicPabxId=himSysBasicPabxId, himIPDALocTable=himIPDALocTable, himMemScalingUnit=himMemScalingUnit, himPatchInfoPabxId=himPatchInfoPabxId, himSysLANCardsPabxId=himSysLANCardsPabxId, himIPDALocLoc=himIPDALocLoc, himPSIOAssFirmware=himPSIOAssFirmware, himSysWAMLConnIPTable=himSysWAMLConnIPTable, himPatchInfoPatchGroup=himPatchInfoPatchGroup, himDBConfHWHDLCPerDCL=himDBConfHWHDLCPerDCL, himReplAMOAPS=himReplAMOAPS, himSysLANCardsType=himSysLANCardsType, himCabPid3=himCabPid3, himBoardIPNetMask=himBoardIPNetMask, himLWOnCSIUTable=himLWOnCSIUTable, himPatchInfoOpt=himPatchInfoOpt, himBoardBasicSlot=himBoardBasicSlot, himIPDALocPhoneNo=himIPDALocPhoneNo, himBoardIPDefGWIP=himBoardIPDefGWIP, himIPDAGenEntry=himIPDAGenEntry, himMacAddress=himMacAddress, himLWOnCSIUSlot=himLWOnCSIUSlot, himMarkFeatExpiryDate=himMarkFeatExpiryDate, himHWSWUMem2=himHWSWUMem2, himBoardIPEntry=himBoardIPEntry, himSWVersionGroup=himSWVersionGroup, himSpecShelfDataLTUC=himSpecShelfDataLTUC, himIPDAGenIPEntry=himIPDAGenIPEntry, siemens=siemens, himMibGroups=himMibGroups, himBoards=himBoards, himLWDataOnCBPabxId=himLWDataOnCBPabxId, HimYesNo=HimYesNo, himIPDABasicBChanNo=himIPDABasicBChanNo, himSCSIDevLoadDrive=himSCSIDevLoadDrive, himSWVerOnProcSysRel=himSWVerOnProcSysRel, himSWVerOnProcSWVer=himSWVerOnProcSWVer, himSWUBoardLWDate=himSWUBoardLWDate, himDBConfSysBaseApp=himDBConfSysBaseApp, himSwitchAPS=himSwitchAPS, himInfo=himInfo, himWelcomePage=himWelcomePage, himSWUProc1=himSWUProc1, himSysWAMLConnRufNr=himSysWAMLConnRufNr, himLWOnCSIUFileProd=himLWOnCSIUFileProd, himIPDAGenSigConn=himIPDAGenSigConn, himSysWAMLConnIPNetMask=himSysWAMLConnIPNetMask, himSWVerOnProcTable=himSWVerOnProcTable, himCabPartNo=himCabPartNo, himSalesFeatTable=himSalesFeatTable, himSysWAMLConnIPEntry=himSysWAMLConnIPEntry, himNotepadDataPabxId=himNotepadDataPabxId, iandcAdmin=iandcAdmin, internalWarningHimSubagent=internalWarningHimSubagent, himSWUBoardNominal=himSWUBoardNominal, himSysWAMLConnIPLTG=himSysWAMLConnIPLTG, himHWDataEntry=himHWDataEntry, himSysWAMLConnEntry=himSysWAMLConnEntry, himDiscovErrTimDat=himDiscovErrTimDat, himHWData=himHWData, himLWDataOnCBEntry=himLWDataOnCBEntry, himIPDALocFaxNo=himIPDALocFaxNo, himMacAddrIPDA=himMacAddrIPDA, himBoardBasicFuncId=himBoardBasicFuncId, himSysBasicDomain=himSysBasicDomain, himSysBasicNodeNo=himSysBasicNodeNo, himMacAddrPabxId=himMacAddrPabxId, himMarkFeatTrialModeAct=himMarkFeatTrialModeAct, himSysBasicLEGK=himSysBasicLEGK, himDBConfHWStdSIULine=himDBConfHWStdSIULine, himIPDAGenIPSurvNetAddr=himIPDAGenIPSurvNetAddr, himBoardsGroup=himBoardsGroup, himSalesFeatUsed=himSalesFeatUsed, himBoardIPCustLANIP=himBoardIPCustLANIP, himTechFeatId=himTechFeatId, himIPDAIPAccPtRoutAddr=himIPDAIPAccPtRoutAddr, himBoardIPSTMI2IGWSubMask=himBoardIPSTMI2IGWSubMask, himFeaturesGroup=himFeaturesGroup, himCabLTUNo=himCabLTUNo, himCabAddr=himCabAddr, himDiscovTable=himDiscovTable, himMemScalingStandard=himMemScalingStandard, himLWOnCBProdTime=himLWOnCBProdTime, himDBConfHWSIUPPerLTU=himDBConfHWSIUPPerLTU, himHWSWUProc1=himHWSWUProc1, himNotepadDataInfoNo=himNotepadDataInfoNo, himAPSPatchesGroup=himAPSPatchesGroup, himSWUBoardFunctId=himSWUBoardFunctId, himReplAMOEntry=himReplAMOEntry, himLWDataOnCSIU=himLWDataOnCSIU, himSpecShelfDataAddress=himSpecShelfDataAddress, himSysWAMLConnIPSlot=himSysWAMLConnIPSlot, himTrapPabxId=himTrapPabxId, himSubagentLastMsgText=himSubagentLastMsgText, himSWVerOnProcCountryCode=himSWVerOnProcCountryCode, himSpecShelfDataEntry=himSpecShelfDataEntry, himMacAddrCLan=himMacAddrCLan, himSwitchAPSTable=himSwitchAPSTable, himDBConfSysHWAss1=himDBConfSysHWAss1, himSWVersion=himSWVersion, himChanges=himChanges, himMarkFeatEntry=himMarkFeatEntry, himMemScalingAllocated=himMemScalingAllocated, himLWOnCBFileName=himLWOnCBFileName, himSWUBoardEntry=himSWUBoardEntry, himLWOnCSIUNominal=himLWOnCSIUNominal, himSCSIDevPabxId=himSCSIDevPabxId, himCabPid1=himCabPid1, himSerialLineType=himSerialLineType, HimShelfNWType=HimShelfNWType, himSysLANCardsBroadCast=himSysLANCardsBroadCast, himSysWAMLConnBChl=himSysWAMLConnBChl, himDBConfSysDevLine1=himDBConfSysDevLine1, himDiscovMode=himDiscovMode, himSerialLineSpeed=himSerialLineSpeed, himBoardLocPhoneNo=himBoardLocPhoneNo, DiscoveryStates=DiscoveryStates, himSalesFeatMarkForTrial=himSalesFeatMarkForTrial, himSysHostsPabxId=himSysHostsPabxId, himDBConfHWConfLine=himDBConfHWConfLine, himCabCabinet=himCabCabinet, himLWOnProcPabxId=himLWOnProcPabxId, himIPDAIPTable=himIPDAIPTable, himSWVerOnProcHP4KVer=himSWVerOnProcHP4KVer, himDBConfHWPabxId=himDBConfHWPabxId, himTraps=himTraps, himBoardIPManStatPort=himBoardIPManStatPort, himDBConfSys=himDBConfSys, himReplAMOName=himReplAMOName, himSerialLineEntry=himSerialLineEntry, himSWUBoardRev=himSWUBoardRev, himTechInfoEntry=himTechInfoEntry, himMemScalingSysMax=himMemScalingSysMax, himDiscovBusy=himDiscovBusy, himWelPgTable=himWelPgTable, himSWUMemory2=himSWUMemory2, himHWArchType=himHWArchType, himSysWAMLConnIPIfName=himSysWAMLConnIPIfName, himCabPid2=himCabPid2, himProjPlanInfoFile=himProjPlanInfoFile, HimPabxId=HimPabxId, himSysWAMLConnLTU=himSysWAMLConnLTU, himIPDABasicPabxId=himIPDABasicPabxId, HimSwitchNumber=HimSwitchNumber, himSystem=himSystem, himSysWAMLConnSlot=himSysWAMLConnSlot, himBoardIPTable=himBoardIPTable, himSWUMemory1=himSWUMemory1, himTrapsGroup=himTrapsGroup, himSwitchDataGroup=himSwitchDataGroup, himDiscoveryGroup=himDiscoveryGroup, himHWDataTable=himHWDataTable, himTrapGroup=himTrapGroup, himSWVerOnProcPabxId=himSWVerOnProcPabxId, himDBConfHWDBDim=himDBConfHWDBDim, himAPSPatches=himAPSPatches, himTechFeatState=himTechFeatState, himNotepadDataTable=himNotepadDataTable, himMarkFeatConfCode=himMarkFeatConfCode, himHWOpMode=himHWOpMode, himMarkFeatSerNo=himMarkFeatSerNo, himLWOnProcLWIdCMP=himLWOnProcLWIdCMP, himDBConfHW=himDBConfHW, himDiscovEntry=himDiscovEntry, himDiscovPabxMnemonic=himDiscovPabxMnemonic, himBoardIPDefRouter=himBoardIPDefRouter, himPatchInfoActBP=himPatchInfoActBP, himBoardLocId=himBoardLocId)
|
def _list_of_n(lst, n):
"""For assignment to (list, ...) - make this list the right size"""
if lst is None or (hasattr(lst, 'isHash') and lst.isHash) or not (isinstance(lst, collections.abc.Sequence) and not isinstance(lst, str)):
lst = [lst]
la = len(lst)
if la == n:
return lst
if la > n:
return lst[:n]
return list(lst) + [None for _ in range(n-la)]
|
'''
/profissional-de-saude/{idprofissional}/gerar-consulta/{dateTime}{
blueprint:paciente
template:profissionalDesSaudeGerarConsulta.html
dados:{
consulta{
nomeProfissional,
especialidade,
dateTime,
valor
}
}
*******pagseguro
}
''' |
# -*- coding: utf-8 -*-
"""
Created on Sat May 2 17:07:59 2020
@author: teja
"""
# Stack
l = [1, 2, 3, 4]
l.append(10)
print(l.pop())
print(l)
#Queue
l = [1, 2, 3, 4]
l.append(20)
l.pop(0)
print(l) |
# https://easily-champion-frog.dataos.io:7432/depot/collection
connection_regex = r"^(http|https):\/\/([\w.-]+(?:\:\d+)?(?:,[\w.-]+(?:\:\d+)?)*)(\/\w+)?(\/\w+)?(\?[\w.-]+=[\w.-]+(?:&[\w.-]+=[\w.-]+)*)?$"
apikey_regex = "\\w+"
|
"""A simple example for how to replace the provided artifact macro"""
load("@mabel//rules/maven_deps:mabel.bzl", "artifact")
def g_artifact(coordinate, type = "auto"):
return artifact(coordinate, repositories = ["https://maven.google.com/"], type = type)
|
# -*- coding: utf-8 -*-
# 商户信用分服务
class ShopcreditscoreService:
__client = None
def __init__(self, client):
self.__client = client
def batch_query_shop_credit_scores(self, shop_ids):
"""
连锁店根据商户ID集合批量查询商户信用分信息
:param shopIds:商户ID集合
"""
return self.__client.call("eleme.shopCreditScore.chain.batchQueryShopCreditScores", {"shopIds": shop_ids})
def batch_query_shop_equity_rules(self, shop_ids):
"""
连锁店根据商户ID集合批量查询店铺权益规则
:param shopIds:商户ID集合
"""
return self.__client.call("eleme.shopCreditScore.chain.batchQueryShopEquityRules", {"shopIds": shop_ids})
def batch_query_shop_punish_rules(self, shop_ids):
"""
连锁店根据商户ID集合批量查询店铺扣罚规则
:param shopIds:商户ID集合
"""
return self.__client.call("eleme.shopCreditScore.chain.batchQueryShopPunishRules", {"shopIds": shop_ids})
def batch_query_shop_credit_score_records(self, shop_ids):
"""
连锁店根据商户ID集合批量查询查询商户信用分变更记录
:param shopIds:商户ID集合
"""
return self.__client.call("eleme.shopCreditScore.chain.batchQueryShopCreditScoreRecords", {"shopIds": shop_ids})
def get_shop_credit_score(self, shop_id):
"""
根据商户ID查询商户信用分信息
:param shopId:商户ID
"""
return self.__client.call("eleme.shopCreditScore.single.getShopCreditScore", {"shopId": shop_id})
def get_shop_equity_rules(self, shop_id):
"""
根据商户ID查询店铺权益规则
:param shopId:商户ID
"""
return self.__client.call("eleme.shopCreditScore.single.getShopEquityRules", {"shopId": shop_id})
def get_shop_punish_rules(self, shop_id):
"""
根据商户ID查询店铺扣罚规则
:param shopId:商户ID
"""
return self.__client.call("eleme.shopCreditScore.single.getShopPunishRules", {"shopId": shop_id})
def get_shop_credit_score_record(self, shop_id):
"""
查询商户信用分变更记录
:param shopId:商户ID
"""
return self.__client.call("eleme.shopCreditScore.single.getShopCreditScoreRecord", {"shopId": shop_id})
|
'''
94. Binary Tree Inorder Traversal
Medium
1231
51
Favorite
Share
Given a binary tree, return the inorder traversal of its nodes' values.
Example:
Input: [1,null,2,3]
1
\
2
/
3
Output: [1,3,2]
Follow up: Recursive solution is trivial, could you do it iteratively?
'''
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
def inorderTraversal(self, root):
"""
:type root: TreeNode
:rtype: List[int]
"""
if not root:
return []
stack = []
current = root
vals = []
while stack or current:
while current:
stack.append(current)
current = current.left
current = stack.pop()
vals.append(current.val)
current = current.right
return vals |
class Inventory:
def add(item, slot, stat, bag):
bag = {
"slot": str(slot),
"stat": int(stat)
}
return bag; |
BASE_URL = "https://www.booking.com/"
HEADERS = [
"Hotel Name",
"Type",
"Location",
"Date Range",
"adults",
"rooms",
"Score",
"price",
]
|
# This file is part of ranger, the console file manager.
# License: GNU GPL version 3, see the file "AUTHORS" for details.
CONTEXT_KEYS = ['reset', 'error', 'badinfo',
'in_browser', 'in_statusbar', 'in_titlebar', 'in_console',
'in_pager', 'in_taskview',
'active_pane', 'inactive_pane',
'directory', 'file', 'hostname',
'executable', 'media', 'link', 'fifo', 'socket', 'device',
'video', 'audio', 'image', 'media', 'document', 'container',
'selected', 'empty', 'main_column', 'message', 'background',
'good', 'bad',
'space', 'permissions', 'owner', 'group', 'mtime', 'nlink',
'scroll', 'all', 'bot', 'top', 'percentage', 'filter',
'flat', 'marked', 'tagged', 'tag_marker', 'cut', 'copied',
'help_markup', # COMPAT
'seperator', 'key', 'special', 'border', # COMPAT
'title', 'text', 'highlight', 'bars', 'quotes', 'tab', 'loaded',
'keybuffer',
'infostring',
'vcsfile', 'vcsremote', 'vcsinfo', 'vcscommit', 'vcsdate',
'vcsconflict', 'vcschanged', 'vcsunknown', 'vcsignored',
'vcsstaged', 'vcssync', 'vcsnone', 'vcsbehind', 'vcsahead', 'vcsdiverged']
class Context(object):
def __init__(self, keys):
# set all given keys to True
d = self.__dict__
for key in keys:
d[key] = True
# set all keys to False
for key in CONTEXT_KEYS:
setattr(Context, key, False)
|
class UnauthorizedEvalError(ValueError):
pass
class UnauthorizedNameAccess(UnauthorizedEvalError, NameError):
pass
class UnauthorizedCall(UnauthorizedEvalError):
pass
class UnauthorizedAttributeAccess(UnauthorizedEvalError):
pass
class UnauthorizedSubscript(UnauthorizedEvalError):
pass
|
class Macro:
def __init__(self, actions, check_sticky):
self.actions = actions
self.check_sticky = check_sticky
def step(self, current_sticky_actions):
while len(self.actions) > 0:
action = self.actions.pop(0)
if self.check_sticky and action not in current_sticky_actions:
return action
elif not self.check_sticky:
return action
return None
class MacroList:
def __init__(self, game_cache):
self.macros = []
self.gc = game_cache
def step(self):
if len(self.macros) == 0:
return None
action = self.macros[0].step(self.gc.current_obs["sticky_actions"])
if action is None:
del self.macros[0]
return action
def add_macro(self, actions, check_sticky):
self.macros.append(Macro(list(actions), check_sticky))
return self.step()
|
n1 = int(input('digite um número:'))
n2 = n1 + 1
n3 = n1 - 1
print('O número que você digitou é {} o seu sucesor é {} e o seu antecessor é {}.'.format(n1, n2, n3))
t1 = int(input('digite outro número:'))
print('O número que você digitou é {} o seu antecessor é {} e o seu sucessor é {}'.format(t1, t1 - 1, t1 + 1))
|
# 两个链表的公共节点
# 输入一个复杂链表(每个节点中有节点值,以及两个指针,一个指向下一个节点,另一个特殊指针random指向一个随机节点),
# 请对此链表进行深拷贝,并返回拷贝后的头结点。(注意,输出结果中请不要返回参数中的节点引用,否则判题程序会直接返回空)
class Solution:
# 第一个参数给比较短的链表,第二个参数给长链表的值
# def findEqual(self,):
def FindFirstCommonNode(self, pHead1, pHead2):
# 假设输入的两个链表,是同一个链表
if pHead1 == pHead2:
return pHead1
pTmp1 = pHead1
pTmp2 = pHead2
# 我们通过循环,让其中一个节点走到最后
while pTmp1 and pTmp2:
pTmp1 = pTmp1.next
pTmp2 = pTmp2.next
# 判断哪个链表先走到最后
# 假设pTmp1,还没有走完,说明pTmp2是更短的
if pTmp1:
k = 0
# 寻找链表长度之间的差值
while pTmp1:
pTmp1 = pTmp1.next
k += 1
# 我们让pTmp1先跳N步
pTmp2 = pHead2
pTmp1 = pHead1
for i in range(k):
pTmp1 = pTmp1.next
# 当找到节点相等的时候,也就是说明该节点是公共节点
while pTmp1 != pTmp2:
pTmp1 = pTmp1.next
pTmp2 = pTmp2.next
return pTmp1
# 假设pTmp2,还没有走完,说明pTmp1是更短的
if pTmp2:
k = 0
while pTmp2:
pTmp2 = pTmp2.next
k += 1
# 我们让pTmp2先跳N步
pTmp2 = pHead2
pTmp1 = pHead1
for i in range(k):
pTmp2 = pTmp2.next
while pTmp1 != pTmp2:
pTmp1 = pTmp1.next
pTmp2 = pTmp2.next
return pTmp1
if __name__ == '__main__':
print()
|
# this program caluclate the sum from 1 to a given number
target_number = int(input("Enter a number up to which you wan to calculate the sum from 1: "))
sum_of_numbers = target_number
for n in range(1,target_number):
sum_of_numbers += n
print(f"The total sum of 1 to {target_number} is {sum_of_numbers}")
|
class Solution:
def solve(self, s):
last_char = ""
cur_streak_length = 0
best_ans = 0
for i in range(len(s)):
cur_char = s[i]
if cur_char == last_char:
cur_streak_length += 1
else:
cur_streak_length = 1
last_char = cur_char
best_ans = max(best_ans, cur_streak_length)
return best_ans
|
"""
Compare two version numbers version1 and version2.
If version1 > version2 return 1, if version1 < version2 return -1, otherwise
return 0.
You may assume that the version strings are non-empty and contain only digits
and the . character.
The . character does not represent a decimal point and is used to separate
number sequences.
For instance, 2.5 is not "two and a half" or "half way to version three", it is
the fifth second-level revision of the second first-level revision.
Here is an example of version numbers ordering:
0.1 < 1.1 < 1.2 < 13.37
Credits:
Special thanks to @ts for adding this problem and creating all test
cases.
"""
class Solution(object):
def compareVersion(self, version1, version2):
"""
:type version1: str
:type version2: str
:rtype: int
"""
array1=version1.split('.')
array1=[int(c) for c in array1]
while len(array1)>0 and array1[-1]==0:
array1.pop()
array2=version2.split('.')
array2=[int(c) for c in array2]
while len(array2)>0 and array2[-1]==0:
array2.pop()
l1=len(array1)
l2=len(array2)
for i in range(min(l1,l2)):
if array1[i]<array2[i]:
return -1
elif array1[i]>array2[i]:
return 1
if l1>l2:
return 1
elif l1==l2:
return 0
else:
return -1
|
n, q = map(int, input().split())
root = [[] for i in range(n + 1)]
for i in range(n - 1):
a, b = map(int, input().split())
root[a].append(b)
root[b].append(a)
d = [10**8] * (n + 1)
d[1] = 0
seen = [0] * (n + 1)
ind = [0] * (n + 1)
# record=[[] for i in range(n+1)] # 変数の情報記録
def tree_search(n, G, s, func1, func2, func3):
#n...頂点の数
#G...G[v]は頂点vから行ける頂点の配列
#s...sが根
#func1(now)...ある頂点に初めて訪れた時、その頂点のみでする処理。ない場合は0
#func2(now,next)...nowからnextに移動する時に行う処理。ない場合は0
#func3(now)...nowを去る時にする処理。なければ0
search = [s]
while search:
now = search[-1]
if seen[now] == 0 and func1 != 0: func1(now)
seen[now] = 1
if len(G[now]) > ind[now]:
next = G[now][ind[now]]
ind[now] += 1
if seen[next] > 0: continue
if func2 != 0: func2(now, next)
search.append(next)
else:
if func3 != 0: func3(now)
search.pop()
def f2(x, y):
d[y] = d[x] + 1
tree_search(n, root, 1, 0, f2, 0)
for i in range(q):
a, b = map(int, input().split())
ans = d[a] - d[b]
ans %= 2
if ans == 0: print("Town")
else: print("Road")
|
#
# PySNMP MIB module STN-POLICY-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/STN-POLICY-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:11:31 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, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint")
InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, Gauge32, TimeTicks, Integer32, Counter64, ObjectIdentity, iso, IpAddress, MibIdentifier, Counter32, NotificationType, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "Gauge32", "TimeTicks", "Integer32", "Counter64", "ObjectIdentity", "iso", "IpAddress", "MibIdentifier", "Counter32", "NotificationType", "Bits")
TextualConvention, TruthValue, RowStatus, DisplayString, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TruthValue", "RowStatus", "DisplayString", "TimeStamp")
stnSystems, = mibBuilder.importSymbols("SPRING-TIDE-NETWORKS-SMI", "stnSystems")
stnRouterIndex, = mibBuilder.importSymbols("STN-ROUTER-MIB", "stnRouterIndex")
stnPm = ModuleIdentity((1, 3, 6, 1, 4, 1, 3551, 2, 11))
stnPm.setRevisions(('1900-05-12 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: stnPm.setRevisionsDescriptions(('This MIB module describes managed objects of Spring Tide Networks policy module .',))
if mibBuilder.loadTexts: stnPm.setLastUpdated('0012060000Z')
if mibBuilder.loadTexts: stnPm.setOrganization('Spring Tide Networks, Inc.')
if mibBuilder.loadTexts: stnPm.setContactInfo(' Spring Tide Networks, Inc. Customer Service Postal: 3 Clock Tower Place Maynard, MA 01754 Tel: 1 888-786-4357 Email: [email protected] ')
if mibBuilder.loadTexts: stnPm.setDescription('Added stnPmClassTable')
stnPmObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1))
stnPmMibConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 2))
stnPmService = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1))
stnPmPolicy = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2))
stnPmPreference = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3))
stnPmIPsec = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4))
stnPmEncaps = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5))
stnPmManualSa = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6))
stnPmMarker = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7))
stnPmProfile = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8))
stnPmQueue = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9))
stnPmTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10))
stnPmFirewall = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11))
stnPmFirewallAction = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12))
stnPmServiceList = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13))
stnPmSLService = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14))
stnPmClass = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15))
stnPMProxyTunnel = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 16))
stnPmFirewallTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 1))
stnPmQosTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2))
stnPmFirewallTrapVars = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 1, 1))
stnPmFirewallNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 1, 2))
stnPmFirewallNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 1, 2, 0))
stnPmQosTrapVars = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 1))
stnPmQosNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 2))
stnPmQosNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 2, 0))
class StnPmPolicyMatchType(TextualConvention, Integer32):
description = 'Types of match criteria for policy'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))
namedValues = NamedValues(("any", 1), ("single", 2), ("range", 3), ("dynamic", 4), ("subnet", 5))
class StnPmSelectorType(TextualConvention, Integer32):
description = 'Selector type to use for connection'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("policy", 1), ("packet", 2))
class StnPmAuthAlg(TextualConvention, Integer32):
description = 'Types of authentication algorithms'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("none", 1), ("hmac-md5", 2), ("hmac-sha", 3))
class StnPmEncrAlg(TextualConvention, Integer32):
description = 'Types of encryption algorithms'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("none", 1), ("des", 2), ("des3", 3))
class StnPmDirection(TextualConvention, Integer32):
description = 'Types of directions'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("inbound", 1), ("outbound", 2))
class StnPmBitRate(TextualConvention, Integer32):
description = 'A data rate in bits/second.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647)
stnPmServiceTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1), )
if mibBuilder.loadTexts: stnPmServiceTable.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceTable.setDescription('A list of PM service entries.')
stnPmServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmServiceIndex"))
if mibBuilder.loadTexts: stnPmServiceEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceEntry.setDescription('Entry contains information about a particular policy manager service.')
stnPmServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceIndex.setDescription('Index into service table')
stnPmServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceName.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceName.setDescription('Name of service')
stnPmServiceIdleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceIdleTimeout.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceIdleTimeout.setDescription('Idle timeout for service')
stnPmServiceNumPolicies = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceNumPolicies.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceNumPolicies.setDescription('Number of policies in this service')
stnPmServiceEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 5), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceEnabled.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceEnabled.setDescription('Flag to indicate if service is enabled')
stnPmServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vpn", 1), ("firewall", 2), ("ip-fileter", 3), ("forwarding", 4), ("qos", 5), ("mpls", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceType.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceType.setDescription('Type of service')
stnPmServiceFirewallID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceFirewallID.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceFirewallID.setDescription("Instance of service's firewall record")
stnPmPolicyTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1), )
if mibBuilder.loadTexts: stnPmPolicyTable.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyTable.setDescription('A list of policy entries.')
stnPmPolicyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmPolicyServiceIndex"), (0, "STN-POLICY-MIB", "stnPmPolicyIndex"))
if mibBuilder.loadTexts: stnPmPolicyEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyEntry.setDescription('Entry contains information about a particular policy.')
stnPmPolicyServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyServiceIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyServiceIndex.setDescription('Service index of policy')
stnPmPolicyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyIndex.setDescription('Policy index of policy')
stnPmPolicyName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyName.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyName.setDescription('Policy name')
stnPmPolicySrcAddrMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 4), StnPmPolicyMatchType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcAddrMatchType.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcAddrMatchType.setDescription('Type of match for source address')
stnPmPolicySrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 5), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcAddr.setDescription('Source address to match')
stnPmPolicySrcMask = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcMask.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcMask.setDescription('Source IP netmask to match')
stnPmPolicySrcEndAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 7), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcEndAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcEndAddr.setDescription('End of source address range to match')
stnPmPolicyDestAddrMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 8), StnPmPolicyMatchType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestAddrMatchType.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestAddrMatchType.setDescription('Type of match for source address')
stnPmPolicyDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 9), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestAddr.setDescription('Source address to match')
stnPmPolicyDestMask = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 10), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestMask.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestMask.setDescription('Source IP netmask to match')
stnPmPolicyDestEndAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 11), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestEndAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestEndAddr.setDescription('End of source address range to match')
stnPmPolicySrcPortMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 12), StnPmPolicyMatchType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcPortMatchType.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcPortMatchType.setDescription('Type of match for source port')
stnPmPolicySrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcPort.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcPort.setDescription('Source port to match')
stnPmPolicySrcEndPort = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcEndPort.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcEndPort.setDescription('End of source port range to match')
stnPmPolicyDestPortMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 15), StnPmPolicyMatchType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestPortMatchType.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestPortMatchType.setDescription('Type of match for destination port')
stnPmPolicyDestPort = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestPort.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestPort.setDescription('Destination port to match')
stnPmPolicyDestEndPort = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestEndPort.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestEndPort.setDescription('End of destination port range to match')
stnPmPolicyProtocolMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 18), StnPmPolicyMatchType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyProtocolMatchType.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyProtocolMatchType.setDescription('Type of match for protocol')
stnPmPolicyProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 6, 17, 50, 51, 108))).clone(namedValues=NamedValues(("icmp", 1), ("tcp", 6), ("udp", 17), ("esp", 50), ("ah", 51), ("ipcomp", 108)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyProtocol.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyProtocol.setDescription('Protocol to match')
stnPmPolicyAction = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("deny", 1), ("permit", 2), ("secure", 3), ("encaps", 4), ("reject", 5), ("fec", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyAction.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyAction.setDescription('Type of action to take upon policy match')
stnPmPolicyActionID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyActionID.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyActionID.setDescription('Configuration ID of action record')
stnPmPolicyDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 22), StnPmDirection()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDirection.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDirection.setDescription('Direction of policy')
stnPmPolicyCreateMirror = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 23), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyCreateMirror.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyCreateMirror.setDescription('Mirror policy flag')
stnPmPolicySrcAddrSelector = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 24), StnPmSelectorType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicySrcAddrSelector.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicySrcAddrSelector.setDescription('Source selector to choose for policy matching')
stnPmPolicyDestAddrSelector = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 25), StnPmSelectorType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyDestAddrSelector.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyDestAddrSelector.setDescription('Destination selector to choose for policy matching')
stnPmPolicyEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 26), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyEnabled.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyEnabled.setDescription('Flag to indicate if policy is enabled')
stnPmPolicyMatches = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyMatches.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyMatches.setDescription('Number of times policy search matched this policy')
stnPmPolicyMisses = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyMisses.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyMisses.setDescription('Number of times policy search did not match this policy')
stnPmPolicyMarkedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 29), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyMarkedOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyMarkedOctets.setDescription('Number of octets that have been marked for this policy.')
stnPmPolicyMarkedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 30), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyMarkedPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyMarkedPkts.setDescription('Number of packets that have been marked for this policy.')
stnPmPolicyIcmpTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 31), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyIcmpTypes.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyIcmpTypes.setDescription('ICMP Types matching the policy entry expressed as bit-map.')
stnPmPolicyTosByteMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 32), StnPmPolicyMatchType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyTosByteMatchType.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyTosByteMatchType.setDescription('Type of match for TOS Byte')
stnPmPolicyTosByteValue = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 33), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyTosByteValue.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyTosByteValue.setDescription('Value containing bits to set in TOS Byte')
stnPmPolicyTosByteMask = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 34), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyTosByteMask.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyTosByteMask.setDescription('Mask indicating bits to match in TOS byte')
stnPmPolicyMarkerID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 35), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyMarkerID.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyMarkerID.setDescription('Configuration ID of marker to apply')
stnPmPolicyTxclassID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 2, 1, 1, 36), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPolicyTxclassID.setStatus('current')
if mibBuilder.loadTexts: stnPmPolicyTxclassID.setDescription('Configuration ID of transmit class to assign packet to')
stnPmPreferenceTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1), )
if mibBuilder.loadTexts: stnPmPreferenceTable.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceTable.setDescription('Entry contains information about a particular preference entry.')
stnPmPreferenceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmPreferenceIndex"))
if mibBuilder.loadTexts: stnPmPreferenceEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceEntry.setDescription('Entry contains information about a particular preference.')
stnPmPreferenceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceIndex.setDescription('Preference index')
stnPmPreferenceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceNum.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceNum.setDescription('Preference number')
stnPmPreferenceAhAlg = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 3), StnPmAuthAlg()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceAhAlg.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceAhAlg.setDescription('AH authentication algorithm')
stnPmPreferenceEspAuthAlg = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 4), StnPmAuthAlg()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceEspAuthAlg.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceEspAuthAlg.setDescription('ESP authentication algorithm')
stnPmPreferenceEspEncrAlg = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 5), StnPmEncrAlg()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceEspEncrAlg.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceEspEncrAlg.setDescription('ESP encryption algorithm')
stnPmPreferenceLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceLifeTime.setDescription('Life time in minutes')
stnPmPreferenceLifeBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceLifeBytes.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceLifeBytes.setDescription('Life value in kilobytes')
stnPmPreferenceIPsecID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceIPsecID.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceIPsecID.setDescription('ID of corresponding IPSEC record')
stnPmPreferencePFSGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 5))).clone(namedValues=NamedValues(("group1", 1), ("group2", 2), ("group5", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferencePFSGroup.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferencePFSGroup.setDescription('ESP encryption algorithm')
stnPmPreferenceDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 3, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmPreferenceDescription.setStatus('current')
if mibBuilder.loadTexts: stnPmPreferenceDescription.setDescription('Description of preference')
stnPmIPsecTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1), )
if mibBuilder.loadTexts: stnPmIPsecTable.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecTable.setDescription('Entry contains information about a particular IPsec entry.')
stnPmIPsecEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmIPsecIndex"))
if mibBuilder.loadTexts: stnPmIPsecEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecEntry.setDescription('Entry contains information about a particular IPsec entry.')
stnPmIPsecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecIndex.setDescription('IPsec index')
stnPmIPsecPeerIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecPeerIpAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecPeerIpAddr.setDescription('IP address of peer for tunnel endpoint')
stnPmIPsecLocalIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecLocalIpAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecLocalIpAddr.setDescription('Local IP address for tunnel endpoint')
stnPmIPsecMode = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("tunnel", 1), ("transport", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecMode.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecMode.setDescription('Type of IPsec connection to create')
stnPmIPsecKeyNegType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ike", 1), ("manual", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecKeyNegType.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecKeyNegType.setDescription('Key negotiation method for IPsec Sa')
stnPmIPsecName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecName.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecName.setDescription('Description of IPsec entry')
stnPmIPsecNumManualSAs = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecNumManualSAs.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecNumManualSAs.setDescription('Number of manual SAs assigned to this IPsec record')
stnPmIPsecNumPreferences = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecNumPreferences.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecNumPreferences.setDescription('Number of preferences assigned to this IPsec record')
stnPmIPsecReplayDetectionEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 4, 1, 1, 9), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIPsecReplayDetectionEnabled.setStatus('current')
if mibBuilder.loadTexts: stnPmIPsecReplayDetectionEnabled.setDescription('Enable Replay detection.')
stnPmEncapsTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1), )
if mibBuilder.loadTexts: stnPmEncapsTable.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsTable.setDescription('Entry contains information about a particular Encaps entry.')
stnPmEncapsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmEncapsIndex"))
if mibBuilder.loadTexts: stnPmEncapsEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsEntry.setDescription('Entry contains information about a particular Encaps entry.')
stnPmEncapsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmEncapsIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsIndex.setDescription('Encaps index')
stnPmEncapsPeerIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmEncapsPeerIpAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsPeerIpAddr.setDescription('IP address of peer for tunnel endpoint')
stnPmEncapsLocalIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmEncapsLocalIpAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsLocalIpAddr.setDescription('Local IP address for tunnel endpoint')
stnPmEncapsType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ip-ip", 1), ("ip-gre", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmEncapsType.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsType.setDescription('Type of Encaps connection to create')
stnPmEncapsGREKey = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmEncapsGREKey.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsGREKey.setDescription('GRE key')
stnPmEncapsName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 5, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmEncapsName.setStatus('current')
if mibBuilder.loadTexts: stnPmEncapsName.setDescription('Description of Encaps entry')
stnPmManualSaTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1), )
if mibBuilder.loadTexts: stnPmManualSaTable.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaTable.setDescription('Entry contains information about a particular ManualSa entry.')
stnPmManualSaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmManualSaIndex"))
if mibBuilder.loadTexts: stnPmManualSaEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaEntry.setDescription('Entry contains information about a particular ManualSa entry.')
stnPmManualSaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaIndex.setDescription('ManualSa index')
stnPmManualSaPeerIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaPeerIpAddr.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaPeerIpAddr.setDescription('IP address of peer for tunnel endpoint')
stnPmManualSaDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 3), StnPmDirection()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaDirection.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaDirection.setDescription('Direction of manual SA')
stnPmManualSaSPI = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaSPI.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaSPI.setDescription('SPI of manual SA')
stnPmManualSaAhAlg = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 5), StnPmAuthAlg()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaAhAlg.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaAhAlg.setDescription('AH authentication algorithm')
stnPmManualSaAhKey = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaAhKey.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaAhKey.setDescription('Authentication key for AH protocol')
stnPmManualSaEspAuthAlg = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 7), StnPmAuthAlg()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaEspAuthAlg.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaEspAuthAlg.setDescription('ESP authentication algorithm')
stnPmManualSaEspAuthKey = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaEspAuthKey.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaEspAuthKey.setDescription('Authentication key for ESP protocol')
stnPmManualSaEspEncrAlg = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 9), StnPmEncrAlg()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaEspEncrAlg.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaEspEncrAlg.setDescription('ESP encryption algorithm')
stnPmManualSaEspEncrKey = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaEspEncrKey.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaEspEncrKey.setDescription('Encryption key for ESP protocol')
stnPmManualSaIPsecID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaIPsecID.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaIPsecID.setDescription('Index or corresponding IPsec record')
stnPmManualSaDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 6, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmManualSaDescription.setStatus('current')
if mibBuilder.loadTexts: stnPmManualSaDescription.setDescription('Description of manual SA entry')
stnPmQosLatestFlowCB = MibScalar((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQosLatestFlowCB.setStatus('current')
if mibBuilder.loadTexts: stnPmQosLatestFlowCB.setDescription('Value of the FlowCB Created')
stnPmQosLastDroppedPacket = MibScalar((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQosLastDroppedPacket.setStatus('current')
if mibBuilder.loadTexts: stnPmQosLastDroppedPacket.setDescription('Value of a dropped packet')
stnPmQosFlowCBCreated = NotificationType((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 2, 0, 1)).setObjects(("STN-ROUTER-MIB", "stnRouterIndex"), ("STN-POLICY-MIB", "stnPmQosLatestFlowCB"))
if mibBuilder.loadTexts: stnPmQosFlowCBCreated.setStatus('current')
if mibBuilder.loadTexts: stnPmQosFlowCBCreated.setDescription("This trap is generated by Policy manager's QoS subsystem. This SNMP trap is generated in response to QoS creating and installing a flow.")
stnPmQosFlowCBRemoved = NotificationType((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 2, 0, 2)).setObjects(("STN-ROUTER-MIB", "stnRouterIndex"), ("STN-POLICY-MIB", "stnPmQosLatestFlowCB"))
if mibBuilder.loadTexts: stnPmQosFlowCBRemoved.setStatus('current')
if mibBuilder.loadTexts: stnPmQosFlowCBRemoved.setDescription("This trap is generated by Policy manager's QoS subsystem. This SNMP trap is generated in response to QoS removing a flow.")
stnPmQosShapingPacketDiscard = NotificationType((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 2, 0, 3)).setObjects(("STN-ROUTER-MIB", "stnRouterIndex"), ("STN-POLICY-MIB", "stnPmQosLastDroppedPacket"))
if mibBuilder.loadTexts: stnPmQosShapingPacketDiscard.setStatus('current')
if mibBuilder.loadTexts: stnPmQosShapingPacketDiscard.setDescription("This trap is generated by Policy manager's QoS subsystem. This SNMP trap is generated in response to QoS dropping a packet due to rate shaping.")
stnPmQosThresholdPacketDiscard = NotificationType((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 2, 2, 0, 4)).setObjects(("STN-ROUTER-MIB", "stnRouterIndex"), ("STN-POLICY-MIB", "stnPmQosLastDroppedPacket"))
if mibBuilder.loadTexts: stnPmQosThresholdPacketDiscard.setStatus('current')
if mibBuilder.loadTexts: stnPmQosThresholdPacketDiscard.setDescription("This trap is generated by Policy manager's QoS subsystem. This SNMP trap is generated in response to QoS dropping a packet due to exceeding a threshold.")
stnPmMarkerTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1), )
if mibBuilder.loadTexts: stnPmMarkerTable.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerTable.setDescription('Entry contains information about a particular Marker entry.')
stnPmMarkerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmMarkerIndex"))
if mibBuilder.loadTexts: stnPmMarkerEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerEntry.setDescription('Entry contains information about a particular Marker entry.')
stnPmMarkerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmMarkerIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerIndex.setDescription('Marker index')
stnPmMarkerName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmMarkerName.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerName.setDescription('Description of Marker entry')
stnPmMarkerByteValue = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmMarkerByteValue.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerByteValue.setDescription('Value that the masked TOS byte must match')
stnPmMarkerByteMask = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmMarkerByteMask.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerByteMask.setDescription('Mask applied to TOS byte for match')
stnPmMarkerMarkedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmMarkerMarkedOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerMarkedOctets.setDescription('Number of octets marked by this Marker.')
stnPmMarkerMarkedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 7, 1, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmMarkerMarkedPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmMarkerMarkedPkts.setDescription('Number of packets marked by this Marker.')
stnPmProfileTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1), )
if mibBuilder.loadTexts: stnPmProfileTable.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileTable.setDescription('Entry contains information about a particular Profile entry.')
stnPmProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmProfileIndex"))
if mibBuilder.loadTexts: stnPmProfileEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileEntry.setDescription('Entry contains information about a particular Profile entry.')
stnPmProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileIndex.setDescription('Profile index')
stnPmProfileEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileEnabled.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileEnabled.setDescription('Flag to indicate if profile is enabled')
stnPmProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileName.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileName.setDescription('Description of Profile entry')
stnPmProfileCommittedRate = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileCommittedRate.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileCommittedRate.setDescription('Rate in kbits per second the user or network is committed to transmit.')
stnPmProfileCommittedBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileCommittedBurst.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileCommittedBurst.setDescription('Maximum number of kbytes in a single transmission burst')
stnPmProfileExcessRate = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileExcessRate.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileExcessRate.setDescription('Maximum acceptable rate in kbits per second the user or network is committed to transmit')
stnPmProfileExcessBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileExcessBurst.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileExcessBurst.setDescription('Maximum number of bytes in a single maximum transmission burst')
stnPmProfileConformAction = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("deny", 1), ("permit", 2), ("markandforward", 3), ("shape", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileConformAction.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileConformAction.setDescription('Type of action to take for conformant frames')
stnPmProfileConformActionID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileConformActionID.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileConformActionID.setDescription('Configuration ID of conform action record')
stnPmProfileCautionAction = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("deny", 1), ("permit", 2), ("markandforward", 3), ("shape", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileCautionAction.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileCautionAction.setDescription('Type of action to take for caution frames')
stnPmProfileConformOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileConformOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileConformOctets.setDescription('Number of octets in conformant frames that have arrived.')
stnPmProfileConformPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileConformPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileConformPkts.setDescription('Number of conformant frames that have arrived.')
stnPmProfileCautionActionID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileCautionActionID.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileCautionActionID.setDescription('Configuration ID of caution action record')
stnPmProfileExceedAction = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("deny", 1), ("permit", 2), ("markandforward", 3), ("shape", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileExceedAction.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileExceedAction.setDescription('Type of action to take for exceeding frames')
stnPmProfileCautionOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileCautionOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileCautionOctets.setDescription('Number of octets in caution frames that have arrived.')
stnPmProfileCautionPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileCautionPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileCautionPkts.setDescription('Number of caution frames that have arrived.')
stnPmProfileExceedActionID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileExceedActionID.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileExceedActionID.setDescription('Configuration ID of exceeding action record')
stnPmProfileExceedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileExceedOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileExceedOctets.setDescription('Number of octets in exceeding frames that have arrived.')
stnPmProfileExceedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 8, 1, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmProfileExceedPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmProfileExceedPkts.setDescription('Number of exceeding frames that have arrived.')
stnPmQueueTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1), )
if mibBuilder.loadTexts: stnPmQueueTable.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueTable.setDescription('Entry contains information about a particular Queue entry.')
stnPmQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmQueueIndex"))
if mibBuilder.loadTexts: stnPmQueueEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueEntry.setDescription('Entry contains information about a particular Queue entry.')
stnPmQueueIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueIndex.setDescription('Queue index')
stnPmQueueName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueName.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueName.setDescription('Description of Queue entry')
stnPmQueueThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueThreshold.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueThreshold.setDescription('Queue Drop Threshold')
stnPmQueueDropType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("tailDrop", 2), ("headDrop", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueDropType.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueDropType.setDescription('Type of algorithm used to drop packets when threshold is reached')
stnPmQueueDropHCOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueDropHCOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueDropHCOctets.setDescription('Number of octets that have been dropped this queue.')
stnPmQueueDropHCPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueDropHCPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueDropHCPkts.setDescription('Number of packets that have been dropped this queue.')
stnPmQueueQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueQueueLen.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueQueueLen.setDescription('Number of packets currently in the queue.')
stnPmQueueMaxQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 9, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmQueueMaxQueueLen.setStatus('current')
if mibBuilder.loadTexts: stnPmQueueMaxQueueLen.setDescription('Maximum number of packets in queue since last statistics reset.')
stnPmFirewallEventLogMsg = MibScalar((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallEventLogMsg.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallEventLogMsg.setDescription('Describes SNMP Trap generated by STN Firewall')
stnPmFirewallLog = NotificationType((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 10, 1, 2, 0, 1)).setObjects(("STN-ROUTER-MIB", "stnRouterIndex"), ("STN-POLICY-MIB", "stnPmServiceIndex"), ("STN-POLICY-MIB", "stnPmPolicyIndex"), ("STN-POLICY-MIB", "stnPmFirewallEventLogMsg"))
if mibBuilder.loadTexts: stnPmFirewallLog.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallLog.setDescription("This trap is generated by Policy manager's Firewall subsystem. This SNMP trap is generated in response to firewall event logging.")
stnPmFirewallTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1), )
if mibBuilder.loadTexts: stnPmFirewallTable.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTable.setDescription('Entry contains information about a particular Firewall entry.')
stnPmFirewallEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmFirewallIndex"))
if mibBuilder.loadTexts: stnPmFirewallEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallEntry.setDescription('Entry contains information about a particular Firewall entry.')
stnPmFirewallIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallIndex.setDescription('Firewall index')
stnPmFirewallName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallName.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallName.setDescription('Description of firewall entry')
stnPmFirewallAcceptOtherIPOptions = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 3), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallAcceptOtherIPOptions.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallAcceptOtherIPOptions.setDescription('Accept packets with other IP options (non source routing).')
stnPmFirewallAcceptSourceRouting = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 4), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallAcceptSourceRouting.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallAcceptSourceRouting.setDescription('Accept packets with source routing options')
stnPmFirewallTcpAckLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallTcpAckLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTcpAckLifeTime.setDescription('TCP ACK lifetime')
stnPmFirewallTcpSynLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallTcpSynLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTcpSynLifeTime.setDescription('TCP SYN lifetime')
stnPmFirewallTcpFinLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallTcpFinLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTcpFinLifeTime.setDescription('TCP FIN lifetime')
stnPmFirewallTcpRstLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallTcpRstLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTcpRstLifeTime.setDescription('TCP RST lifetime')
stnPmFirewallTcpInactivityLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallTcpInactivityLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTcpInactivityLifeTime.setDescription('TCP inactivity lifetime')
stnPmFirewallUdpInactivityLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallUdpInactivityLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallUdpInactivityLifeTime.setDescription('UDP inactivity lifetime')
stnPmFirewallSynAttackDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 11), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallSynAttackDetection.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallSynAttackDetection.setDescription('Enable SYN attack detection')
stnPmFirewallLandAttackDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 12), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallLandAttackDetection.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallLandAttackDetection.setDescription('Enable Land attack detection')
stnPmFirewallPingFloodingDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 13), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallPingFloodingDetection.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallPingFloodingDetection.setDescription('Enable ping flooding attack detection')
stnPmFirewallPingOfDeathDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 14), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallPingOfDeathDetection.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallPingOfDeathDetection.setDescription('Enable ping of death attack detection')
stnPmFirewallPortScanDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 15), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallPortScanDetection.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallPortScanDetection.setDescription('Enable port scan attack detection')
stnPmFirewallPingScanDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 16), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallPingScanDetection.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallPingScanDetection.setDescription('Enable ping scan/sweep attack detection')
stnPmFirewallTcpSynBacklogQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallTcpSynBacklogQueueSize.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallTcpSynBacklogQueueSize.setDescription('Size of the SYN backlog queue')
stnPmFirewallPingsPerMinute = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallPingsPerMinute.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallPingsPerMinute.setDescription('Maximum number of pings allowed per minute')
stnPmFirewallMaxPingSize = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallMaxPingSize.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallMaxPingSize.setDescription('Maximum allowable size for ping')
stnPmFirewallEnableDynamicPortApps = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 20), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallEnableDynamicPortApps.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallEnableDynamicPortApps.setDescription('Enabled Dynamic port applications expressed as bit-map.')
stnPmFirewallMaxDynHashTableSize = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallMaxDynHashTableSize.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallMaxDynHashTableSize.setDescription('Max dynamic hash table size - must be a power of 2.')
stnPmFirewallMinLogPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 11, 1, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallMinLogPeriod.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallMinLogPeriod.setDescription('Minimim period between event logs')
stnPmFirewallActionTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1), )
if mibBuilder.loadTexts: stnPmFirewallActionTable.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionTable.setDescription('Entry contains information about a particular Firewall Action entry.')
stnPmFirewallActionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmFirewallActionIndex"))
if mibBuilder.loadTexts: stnPmFirewallActionEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionEntry.setDescription('Entry contains information about a particular Firewall Action entry.')
stnPmFirewallActionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallActionIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionIndex.setDescription('Firewall Action index')
stnPmFirewallActionName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallActionName.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionName.setDescription('Description of firewall entry')
stnPmFirewallActionTrackingType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("short", 2), ("long", 3), ("trap", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallActionTrackingType.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionTrackingType.setDescription('TCP ACK lifetime')
stnPmFirewallActionStateful = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1, 4), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallActionStateful.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionStateful.setDescription('Perform stateful processing')
stnPmFirewallActionInactivityLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallActionInactivityLifeTime.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionInactivityLifeTime.setDescription('Inactivity lifetime')
stnPmFirewallActionRejectAction = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 12, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("icmpUnreachPort", 2), ("tcpReset", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmFirewallActionRejectAction.setStatus('current')
if mibBuilder.loadTexts: stnPmFirewallActionRejectAction.setDescription('Firewall policy reject action.')
stnPmServiceListTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1), )
if mibBuilder.loadTexts: stnPmServiceListTable.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListTable.setDescription('Entry contains information about a particular Firewall Action entry.')
stnPmServiceListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmServiceListIndex"))
if mibBuilder.loadTexts: stnPmServiceListEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListEntry.setDescription('Entry contains information about a particular Firewall Action entry.')
stnPmServiceListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceListIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListIndex.setDescription('Service List Action index')
stnPmServiceListName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceListName.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListName.setDescription('Description of service list entry')
stnPmServiceListConnIdleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceListConnIdleTimeout.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListConnIdleTimeout.setDescription('Idle timeout')
stnPmServiceListNumServices = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceListNumServices.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListNumServices.setDescription('Number of services in this serviceList')
stnPmServiceListEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 13, 1, 1, 5), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmServiceListEnabled.setStatus('current')
if mibBuilder.loadTexts: stnPmServiceListEnabled.setDescription('Flag to indicate if service is enabled')
stnPmSLServiceTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1), )
if mibBuilder.loadTexts: stnPmSLServiceTable.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceTable.setDescription('A list of PM service entries.')
stnPmSLServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmSLIndex"), (0, "STN-POLICY-MIB", "stnPmSLServiceIndex"))
if mibBuilder.loadTexts: stnPmSLServiceEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceEntry.setDescription('Entry contains information about a particular policy manager service.')
stnPmSLIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmSLIndex.setDescription('Index into service-list table')
stnPmSLServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceIndex.setDescription('Index into service table')
stnPmSLServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceName.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceName.setDescription('Name of service')
stnPmSLServiceIdleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceIdleTimeout.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceIdleTimeout.setDescription('Idle timeout for service')
stnPmSLServiceNumPolicies = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceNumPolicies.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceNumPolicies.setDescription('Number of policies in this service')
stnPmSLServiceEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 6), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceEnabled.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceEnabled.setDescription('Flag to indicate if service is enabled')
stnPmSLServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vpn", 1), ("firewall", 2), ("ip-fileter", 3), ("forwarding", 4), ("qos", 5), ("mpls", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceType.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceType.setDescription('Type of service')
stnPmSLServiceFirewallID = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 14, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmSLServiceFirewallID.setStatus('current')
if mibBuilder.loadTexts: stnPmSLServiceFirewallID.setDescription("Instance of service's firewall record")
stnPmClassTable = MibTable((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1), )
if mibBuilder.loadTexts: stnPmClassTable.setStatus('current')
if mibBuilder.loadTexts: stnPmClassTable.setDescription("This table is a 'flattened' version of a hierarchical class trees that specify the bandwidth allocation for the CBQ interfaces of the system. Each tree is rooted at an interface. A class may either be a leaf, meaning it has no children, or it may be an interior class which has children. As packets are forwarded out an interface, they are compared to the 'flow definition' of each class down the tree until a matching leaf is found or until all classes are traversed. Once a matching class is found, the packet is transmitted or not based on the constraints configured for the class, most importantly the allocated bandwidth as identified by stnPmClassRate. If no matching class is found, the packet is dropped.")
stnPmClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1), ).setIndexNames((0, "STN-POLICY-MIB", "stnPmIfIndex"), (0, "STN-POLICY-MIB", "stnPmTxclassInstance"))
if mibBuilder.loadTexts: stnPmClassEntry.setStatus('current')
if mibBuilder.loadTexts: stnPmClassEntry.setDescription("Information about a single traffic class. Traffic classes are identified by their associated interface's ifIndex and their name. (Which means class names must be unique for a particular interface.) Finally, the following objects cannot be modified once the row is active: stnPmClassParent, and stnPmClassQueueElasticityFactor.")
stnPmIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmIfIndex.setStatus('current')
if mibBuilder.loadTexts: stnPmIfIndex.setDescription('A sequence number that identifies a particular interface the class has been installed on.')
stnPmTxclassInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmTxclassInstance.setStatus('current')
if mibBuilder.loadTexts: stnPmTxclassInstance.setDescription('The instance of the configuration record for the tranmsit class that the interface is using.')
stnPmClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassName.setStatus('current')
if mibBuilder.loadTexts: stnPmClassName.setDescription("A user-defined name for the traffic class. This is the unique identifier for the class within the scope of the interface. For example, the class that defines the IP address range for a particular customer might be 'Customer Fred Co.'")
stnPmClassParent = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64)).clone('interface')).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassParent.setStatus('current')
if mibBuilder.loadTexts: stnPmClassParent.setDescription('Name of class parent')
stnPmClassRate = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 5), StnPmBitRate()).setUnits('bits per second').setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassRate.setStatus('current')
if mibBuilder.loadTexts: stnPmClassRate.setDescription("A fraction of the bandwidth of the root interface to be allocated to this traffic class. Note that specifying 0 bits/second effectively filters all traffic that matches this class' flow specification. Also note that the sum of bit rates for all classes defined under the same class must be less than or equal to stnPmClassRate of the parent.")
stnPmClassPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(3)).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassPriority.setStatus('current')
if mibBuilder.loadTexts: stnPmClassPriority.setDescription('The priority for this class. The smaller the value, the higher the priority. Delay-sensitive flows (such as video or audio) should be given higher priority values.')
stnPmClassMaxIdle = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 7), Integer32()).setUnits('tens of nanoseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassMaxIdle.setStatus('current')
if mibBuilder.loadTexts: stnPmClassMaxIdle.setDescription("An upper bound for the average idle time (see the DESCRIPTION of stnPmClassStatsIdle). Thus, stnPmClassMaxIdle limits the 'credit' given to a class that has recently been under its allocation.")
stnPmClassMinIdle = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 8), Integer32()).setUnits('tens of nanoseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassMinIdle.setStatus('current')
if mibBuilder.loadTexts: stnPmClassMinIdle.setDescription("The negative lower bound of the average idle. Thus, a negative minidle lets the router 'remember' that a class has recently used more than its allocated bandwidth.")
stnPmClassMaxQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200)).clone(100)).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassMaxQueueLen.setStatus('current')
if mibBuilder.loadTexts: stnPmClassMaxQueueLen.setDescription('A factor used to influence whether this traffic class gets a proportionally larger or smaller queue size than other classes. Other factors in the queue size include the percent bandwidth allocated to this class and the priority.')
stnPmClassOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("downConflict", 3), ("autoClassActive", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassOperStatus.setStatus('current')
if mibBuilder.loadTexts: stnPmClassOperStatus.setDescription("The actual operational status of the traffic class. The value 'up(1)' means this traffic class is in use, the value 'down(2)' indicates the traffic class is not in use either due to an internal problem or because it (or an ancestor) is administratively disabled, and the value 'downConflict(3)' indicates the class definition conflicts with those of its siblings. The value autoClassActive(4) means that the class is a dynamically created AutoClass, which may not be modified in any way until it is saved to Non-Volatile configuration memory. After an AutoClass is saved to NVRAM, it's operational status will transistion to up (1).")
stnPmClassBwUse = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("atLimit", 1), ("underLimit", 2), ("overLimit", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassBwUse.setStatus('current')
if mibBuilder.loadTexts: stnPmClassBwUse.setDescription("An indication of whether this traffic class has used its allocated bandwidth, has not used its allocated bandwidth or has used more than its allocated bandwidth and is therefore 'atLimit(1)', 'underLimit(2)', or 'overLimit(3)' respectively.")
stnPmClassUnsatisfied = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 12), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassUnsatisfied.setStatus('current')
if mibBuilder.loadTexts: stnPmClassUnsatisfied.setDescription("An indication of whether this traffic class is 'unsatisfied'. The value of this object is 'true(1)' if it is underLimit and has a persistent backlog, meaning it has packets waiting in its queue. The value is 'false(1)' otherwise. Note that a class can be considered satisfied if it is underLimit and it just hasn't had anything to transmit. The presence of an unsatisfied class indicates that some other class is overLimit and 'hogging' bandwidth. Persistently unsatisfied classes indicate that tuning some of the parameters (such as stnPmClassMaxIdle or stnPmClassBounded) may be necessary.")
stnPmClassQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 13), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassQueueSize.setStatus('current')
if mibBuilder.loadTexts: stnPmClassQueueSize.setDescription('The size of the queue associated with this traffic class. This is the maximum number of packets that can be in the queue, not the number that are currently queued (see stnPmClassStatsQueuedPkts).')
stnPmClassMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 14), StnPmBitRate()).setUnits('bits per second').setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassMaxRate.setStatus('current')
if mibBuilder.loadTexts: stnPmClassMaxRate.setDescription("The maximum bandwidth the class may achieve, including bandwidth allocated to this class, and any bandwidth that may be borrowed. A value of zero (0) indicates that this feature is not being used. The stnPmClassMaxRate must be set to a value higher than the stnPmClassRate, but may also exceed the parent class's stnPmClassRate.")
stnPmClassDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassDescription.setStatus('current')
if mibBuilder.loadTexts: stnPmClassDescription.setDescription('Textual name associated with this class.')
stnPmClassStatsHighWater = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsHighWater.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsHighWater.setDescription('The historical maximum number of packets that were queued for this class since the system was last reinitialized.')
stnPmClassStatsIdle = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 17), Integer32()).setUnits('tens of nanoseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsIdle.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsIdle.setDescription('The difference between the desired time and the measured actual time between the most recent packet transmissions for the last two packets sent from this class. When the connection is sending perfectly at its allocated rate, then stnPmClassIdle is zero. When the connection is sending more than its allocated bandwidth, then stnPmClassIdle is negative.')
stnPmClassStatsQueuedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 18), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsQueuedPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsQueuedPkts.setDescription("The current number of packets in the class' queue.")
stnPmClassStatsOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsOctets.setDescription("The number of bytes transmitted for this traffic class. Note that a class with a configured stnPmClassRate of 0 bits/second will never transmit any octets and therefore this object's value will be 0. These filtered octets will be counted as part of stnPmClassStatsDroppedOctets.")
stnPmClassStatsPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsPkts.setDescription("The number of packets transmitted for this traffic class. Note that a class with a configured stnPmClassRate of 0 bits/second will never transmit any packets and therefore this object's value will be 0. These filtered packets will be counted as part of stnPmClassStatsDroppedPkts.")
stnPmClassStatsOverLimits = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsOverLimits.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsOverLimits.setDescription('A count of the number of times the class used more than its allocated bandwidth.')
stnPmClassStatsBorrowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsBorrowAttempts.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsBorrowAttempts.setDescription("A count of the number of times the class attempted to 'borrow' bandwidth from another class.")
stnPmClassStatsDroppedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsDroppedOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsDroppedOctets.setDescription('A count of the number of octets dropped for this class because of lack of buffer space in the queue or because the class exceeded its allocated bandwidth.')
stnPmClassStatsDroppedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsDroppedPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsDroppedPkts.setDescription('A count of the number of packets dropped for this class because of lack of buffer space in the queue or because the class exceeded its allocated bandwidth.')
stnPmClassStatsThrottles = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsThrottles.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsThrottles.setDescription('A count of the number of times the class was throttled (not allowed to transmit packets) by the link-sharing algorithm.')
stnPmClassStatsUnsatisfieds = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsUnsatisfieds.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsUnsatisfieds.setDescription('A count of the number of times the class was unsatisfied, as indicated by the stnPmClassUnsatisfied object.')
stnPmClassStatsAggrOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsAggrOctets.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsAggrOctets.setDescription('The aggregate number of bytes transmitted by the children of this traffic class.')
stnPmClassStatsAggrPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3551, 2, 11, 1, 15, 1, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stnPmClassStatsAggrPkts.setStatus('current')
if mibBuilder.loadTexts: stnPmClassStatsAggrPkts.setDescription('The aggregate number of packets transmitted by the children of this traffic class.')
mibBuilder.exportSymbols("STN-POLICY-MIB", stnPmManualSaEspAuthKey=stnPmManualSaEspAuthKey, stnPmFirewallPingFloodingDetection=stnPmFirewallPingFloodingDetection, stnPmSLServiceTable=stnPmSLServiceTable, stnPmPreferenceLifeTime=stnPmPreferenceLifeTime, stnPmProfileExceedOctets=stnPmProfileExceedOctets, stnPmMibConformance=stnPmMibConformance, stnPmServiceName=stnPmServiceName, stnPmFirewallMaxDynHashTableSize=stnPmFirewallMaxDynHashTableSize, stnPmPolicyDirection=stnPmPolicyDirection, stnPmQueueEntry=stnPmQueueEntry, stnPmPolicyTosByteValue=stnPmPolicyTosByteValue, stnPmMarkerByteValue=stnPmMarkerByteValue, stnPmServiceEntry=stnPmServiceEntry, stnPmClass=stnPmClass, stnPmPolicyDestMask=stnPmPolicyDestMask, stnPmFirewallActionName=stnPmFirewallActionName, stnPmClassStatsAggrOctets=stnPmClassStatsAggrOctets, stnPmEncapsEntry=stnPmEncapsEntry, stnPmPolicyMarkedOctets=stnPmPolicyMarkedOctets, stnPmManualSaEspEncrAlg=stnPmManualSaEspEncrAlg, stnPmFirewallSynAttackDetection=stnPmFirewallSynAttackDetection, stnPmQosLastDroppedPacket=stnPmQosLastDroppedPacket, stnPmManualSaTable=stnPmManualSaTable, stnPmServiceListTable=stnPmServiceListTable, stnPmServiceType=stnPmServiceType, stnPmFirewallActionInactivityLifeTime=stnPmFirewallActionInactivityLifeTime, stnPmClassRate=stnPmClassRate, stnPmProfileIndex=stnPmProfileIndex, stnPmPolicyMatches=stnPmPolicyMatches, stnPmMarkerName=stnPmMarkerName, stnPmFirewallActionIndex=stnPmFirewallActionIndex, stnPmServiceFirewallID=stnPmServiceFirewallID, stnPmPolicyName=stnPmPolicyName, stnPmPolicyProtocol=stnPmPolicyProtocol, stnPmPolicyMisses=stnPmPolicyMisses, stnPmManualSaIPsecID=stnPmManualSaIPsecID, stnPmQosLatestFlowCB=stnPmQosLatestFlowCB, stnPmClassMaxQueueLen=stnPmClassMaxQueueLen, stnPmServiceTable=stnPmServiceTable, PYSNMP_MODULE_ID=stnPm, stnPmPolicySrcAddrSelector=stnPmPolicySrcAddrSelector, stnPmPreferenceEspEncrAlg=stnPmPreferenceEspEncrAlg, stnPmQueueDropHCOctets=stnPmQueueDropHCOctets, stnPmClassStatsThrottles=stnPmClassStatsThrottles, stnPmSLServiceIdleTimeout=stnPmSLServiceIdleTimeout, stnPmManualSaIndex=stnPmManualSaIndex, stnPmQosFlowCBCreated=stnPmQosFlowCBCreated, stnPmFirewallPingScanDetection=stnPmFirewallPingScanDetection, stnPmManualSaEntry=stnPmManualSaEntry, stnPmEncapsGREKey=stnPmEncapsGREKey, stnPmPreferenceEntry=stnPmPreferenceEntry, stnPmProfileCommittedRate=stnPmProfileCommittedRate, stnPmServiceListName=stnPmServiceListName, stnPmPolicySrcEndAddr=stnPmPolicySrcEndAddr, stnPmPolicyMarkerID=stnPmPolicyMarkerID, stnPmManualSaAhAlg=stnPmManualSaAhAlg, stnPmManualSaAhKey=stnPmManualSaAhKey, stnPmProfileExceedAction=stnPmProfileExceedAction, stnPmProfileExceedActionID=stnPmProfileExceedActionID, stnPmQueueMaxQueueLen=stnPmQueueMaxQueueLen, stnPmClassStatsPkts=stnPmClassStatsPkts, stnPmClassStatsDroppedPkts=stnPmClassStatsDroppedPkts, stnPmFirewallTable=stnPmFirewallTable, stnPmFirewallEntry=stnPmFirewallEntry, stnPmFirewallActionTrackingType=stnPmFirewallActionTrackingType, stnPmClassMinIdle=stnPmClassMinIdle, stnPmPolicyDestAddrMatchType=stnPmPolicyDestAddrMatchType, stnPMProxyTunnel=stnPMProxyTunnel, stnPmFirewallName=stnPmFirewallName, stnPmPolicyActionID=stnPmPolicyActionID, StnPmAuthAlg=StnPmAuthAlg, stnPmServiceIndex=stnPmServiceIndex, stnPmMarkerEntry=stnPmMarkerEntry, stnPmSLServiceEntry=stnPmSLServiceEntry, stnPmPolicySrcPortMatchType=stnPmPolicySrcPortMatchType, stnPmPolicySrcEndPort=stnPmPolicySrcEndPort, stnPmIPsecEntry=stnPmIPsecEntry, stnPmManualSaSPI=stnPmManualSaSPI, stnPmQueueDropType=stnPmQueueDropType, stnPmPolicySrcMask=stnPmPolicySrcMask, stnPmPreferenceLifeBytes=stnPmPreferenceLifeBytes, stnPmPolicyTosByteMatchType=stnPmPolicyTosByteMatchType, stnPmPolicy=stnPmPolicy, stnPmEncapsLocalIpAddr=stnPmEncapsLocalIpAddr, stnPmProfileEnabled=stnPmProfileEnabled, stnPmPolicyDestPortMatchType=stnPmPolicyDestPortMatchType, stnPmFirewallActionStateful=stnPmFirewallActionStateful, stnPmFirewallAction=stnPmFirewallAction, stnPmPolicyTable=stnPmPolicyTable, stnPmPreferenceDescription=stnPmPreferenceDescription, stnPmProfileCommittedBurst=stnPmProfileCommittedBurst, stnPmQueueDropHCPkts=stnPmQueueDropHCPkts, stnPmFirewallMaxPingSize=stnPmFirewallMaxPingSize, stnPmProfileCautionActionID=stnPmProfileCautionActionID, stnPmMarker=stnPmMarker, stnPmManualSaEspAuthAlg=stnPmManualSaEspAuthAlg, stnPmIPsecName=stnPmIPsecName, stnPmClassUnsatisfied=stnPmClassUnsatisfied, stnPmPreferenceIndex=stnPmPreferenceIndex, stnPmServiceNumPolicies=stnPmServiceNumPolicies, stnPmIPsecPeerIpAddr=stnPmIPsecPeerIpAddr, stnPmFirewallEventLogMsg=stnPmFirewallEventLogMsg, stnPmClassStatsBorrowAttempts=stnPmClassStatsBorrowAttempts, stnPmFirewallAcceptSourceRouting=stnPmFirewallAcceptSourceRouting, stnPmPolicyDestAddrSelector=stnPmPolicyDestAddrSelector, stnPmIfIndex=stnPmIfIndex, stnPmFirewallTcpInactivityLifeTime=stnPmFirewallTcpInactivityLifeTime, stnPmManualSaEspEncrKey=stnPmManualSaEspEncrKey, stnPmFirewallMinLogPeriod=stnPmFirewallMinLogPeriod, stnPmQueueThreshold=stnPmQueueThreshold, stnPmFirewallActionTable=stnPmFirewallActionTable, stnPmSLService=stnPmSLService, stnPmClassParent=stnPmClassParent, stnPmQosShapingPacketDiscard=stnPmQosShapingPacketDiscard, stnPmProfileName=stnPmProfileName, stnPmProfileConformPkts=stnPmProfileConformPkts, stnPmFirewallEnableDynamicPortApps=stnPmFirewallEnableDynamicPortApps, stnPmPolicyDestEndPort=stnPmPolicyDestEndPort, stnPmPreferencePFSGroup=stnPmPreferencePFSGroup, stnPmServiceListEntry=stnPmServiceListEntry, stnPmPolicyProtocolMatchType=stnPmPolicyProtocolMatchType, stnPmMarkerByteMask=stnPmMarkerByteMask, stnPmPolicySrcPort=stnPmPolicySrcPort, stnPmSLIndex=stnPmSLIndex, stnPmFirewallNotification=stnPmFirewallNotification, stnPmServiceEnabled=stnPmServiceEnabled, stnPmService=stnPmService, stnPmEncapsPeerIpAddr=stnPmEncapsPeerIpAddr, stnPmQueueIndex=stnPmQueueIndex, stnPmFirewallPortScanDetection=stnPmFirewallPortScanDetection, stnPmFirewallTcpSynBacklogQueueSize=stnPmFirewallTcpSynBacklogQueueSize, stnPmPreferenceAhAlg=stnPmPreferenceAhAlg, stnPmEncapsTable=stnPmEncapsTable, stnPmFirewallLog=stnPmFirewallLog, stnPmFirewallAcceptOtherIPOptions=stnPmFirewallAcceptOtherIPOptions, stnPmClassMaxRate=stnPmClassMaxRate, stnPmClassEntry=stnPmClassEntry, stnPmServiceListEnabled=stnPmServiceListEnabled, stnPmManualSa=stnPmManualSa, stnPmPreferenceNum=stnPmPreferenceNum, stnPmPreferenceIPsecID=stnPmPreferenceIPsecID, stnPmFirewallActionRejectAction=stnPmFirewallActionRejectAction, stnPm=stnPm, stnPmIPsec=stnPmIPsec, stnPmEncaps=stnPmEncaps, stnPmFirewallTrapVars=stnPmFirewallTrapVars, stnPmIPsecMode=stnPmIPsecMode, stnPmQueueQueueLen=stnPmQueueQueueLen, stnPmClassStatsIdle=stnPmClassStatsIdle, StnPmEncrAlg=StnPmEncrAlg, stnPmIPsecIndex=stnPmIPsecIndex, stnPmTxclassInstance=stnPmTxclassInstance, stnPmQosTrapVars=stnPmQosTrapVars, stnPmServiceList=stnPmServiceList, stnPmClassPriority=stnPmClassPriority, stnPmSLServiceName=stnPmSLServiceName, stnPmQueueTable=stnPmQueueTable, stnPmSLServiceFirewallID=stnPmSLServiceFirewallID, stnPmPolicyAction=stnPmPolicyAction, StnPmSelectorType=StnPmSelectorType, stnPmPolicySrcAddr=stnPmPolicySrcAddr, stnPmEncapsType=stnPmEncapsType, stnPmFirewallTcpFinLifeTime=stnPmFirewallTcpFinLifeTime, stnPmServiceIdleTimeout=stnPmServiceIdleTimeout, StnPmBitRate=StnPmBitRate, stnPmClassStatsHighWater=stnPmClassStatsHighWater, stnPmPolicyDestAddr=stnPmPolicyDestAddr, stnPmPolicyServiceIndex=stnPmPolicyServiceIndex, stnPmPolicyIndex=stnPmPolicyIndex, stnPmPolicyIcmpTypes=stnPmPolicyIcmpTypes, stnPmFirewallPingOfDeathDetection=stnPmFirewallPingOfDeathDetection, stnPmClassBwUse=stnPmClassBwUse, stnPmEncapsName=stnPmEncapsName, stnPmMarkerMarkedPkts=stnPmMarkerMarkedPkts, stnPmPolicyTxclassID=stnPmPolicyTxclassID, stnPmServiceListConnIdleTimeout=stnPmServiceListConnIdleTimeout, StnPmDirection=StnPmDirection, stnPmPolicyEntry=stnPmPolicyEntry, stnPmPreferenceEspAuthAlg=stnPmPreferenceEspAuthAlg, stnPmQueueName=stnPmQueueName, stnPmFirewallActionEntry=stnPmFirewallActionEntry, stnPmIPsecNumPreferences=stnPmIPsecNumPreferences, stnPmClassStatsAggrPkts=stnPmClassStatsAggrPkts, stnPmFirewallTrap=stnPmFirewallTrap, stnPmPolicyEnabled=stnPmPolicyEnabled, stnPmTraps=stnPmTraps, stnPmProfileEntry=stnPmProfileEntry, stnPmFirewallIndex=stnPmFirewallIndex, stnPmClassDescription=stnPmClassDescription, stnPmFirewallTcpAckLifeTime=stnPmFirewallTcpAckLifeTime, stnPmClassQueueSize=stnPmClassQueueSize, stnPmPolicyTosByteMask=stnPmPolicyTosByteMask, stnPmPolicyDestEndAddr=stnPmPolicyDestEndAddr, stnPmIPsecTable=stnPmIPsecTable, stnPmFirewallUdpInactivityLifeTime=stnPmFirewallUdpInactivityLifeTime, stnPmProfileCautionAction=stnPmProfileCautionAction, stnPmClassName=stnPmClassName, stnPmQueue=stnPmQueue, stnPmQosFlowCBRemoved=stnPmQosFlowCBRemoved, stnPmManualSaDescription=stnPmManualSaDescription, stnPmProfileConformAction=stnPmProfileConformAction, stnPmServiceListIndex=stnPmServiceListIndex, stnPmFirewall=stnPmFirewall, stnPmProfileExcessRate=stnPmProfileExcessRate, stnPmMarkerMarkedOctets=stnPmMarkerMarkedOctets, stnPmProfileExcessBurst=stnPmProfileExcessBurst, stnPmQosTrap=stnPmQosTrap, stnPmFirewallTcpSynLifeTime=stnPmFirewallTcpSynLifeTime, stnPmFirewallPingsPerMinute=stnPmFirewallPingsPerMinute, stnPmPreferenceTable=stnPmPreferenceTable, stnPmManualSaPeerIpAddr=stnPmManualSaPeerIpAddr, stnPmIPsecReplayDetectionEnabled=stnPmIPsecReplayDetectionEnabled, stnPmFirewallTcpRstLifeTime=stnPmFirewallTcpRstLifeTime, stnPmIPsecKeyNegType=stnPmIPsecKeyNegType, stnPmClassStatsOverLimits=stnPmClassStatsOverLimits, stnPmPreference=stnPmPreference, stnPmIPsecNumManualSAs=stnPmIPsecNumManualSAs, stnPmPolicyMarkedPkts=stnPmPolicyMarkedPkts, stnPmFirewallNotificationPrefix=stnPmFirewallNotificationPrefix, stnPmIPsecLocalIpAddr=stnPmIPsecLocalIpAddr, stnPmPolicyDestPort=stnPmPolicyDestPort, stnPmFirewallLandAttackDetection=stnPmFirewallLandAttackDetection, stnPmSLServiceEnabled=stnPmSLServiceEnabled, stnPmMarkerIndex=stnPmMarkerIndex, stnPmPolicySrcAddrMatchType=stnPmPolicySrcAddrMatchType, stnPmMarkerTable=stnPmMarkerTable, stnPmObjects=stnPmObjects, stnPmEncapsIndex=stnPmEncapsIndex, stnPmProfileCautionPkts=stnPmProfileCautionPkts, stnPmProfileConformActionID=stnPmProfileConformActionID, stnPmQosNotificationPrefix=stnPmQosNotificationPrefix, stnPmServiceListNumServices=stnPmServiceListNumServices, stnPmQosThresholdPacketDiscard=stnPmQosThresholdPacketDiscard, stnPmClassStatsQueuedPkts=stnPmClassStatsQueuedPkts, stnPmProfileExceedPkts=stnPmProfileExceedPkts, stnPmProfile=stnPmProfile, stnPmQosNotification=stnPmQosNotification, stnPmSLServiceType=stnPmSLServiceType, stnPmClassStatsDroppedOctets=stnPmClassStatsDroppedOctets, StnPmPolicyMatchType=StnPmPolicyMatchType, stnPmProfileTable=stnPmProfileTable, stnPmClassMaxIdle=stnPmClassMaxIdle, stnPmProfileCautionOctets=stnPmProfileCautionOctets, stnPmClassTable=stnPmClassTable, stnPmClassStatsOctets=stnPmClassStatsOctets, stnPmClassStatsUnsatisfieds=stnPmClassStatsUnsatisfieds, stnPmSLServiceIndex=stnPmSLServiceIndex, stnPmClassOperStatus=stnPmClassOperStatus, stnPmPolicyCreateMirror=stnPmPolicyCreateMirror, stnPmProfileConformOctets=stnPmProfileConformOctets, stnPmManualSaDirection=stnPmManualSaDirection, stnPmSLServiceNumPolicies=stnPmSLServiceNumPolicies)
|
def main():
# input
N, M = map(int, input().split())
scs = [list(map(int, input().split())) for _ in range(M)]
# compute
if N == 1:
numbers = range(0, 10)
elif N == 2:
numbers = range(10, 100)
else:
numbers = range(100, 1000)
for i in numbers:
flag = True
number = list(map(int, str(i)))
for s,c in scs:
if number[s-1] == c:
pass
else:
flag = False
if flag:
print(''.join(list(map(str, number))))
exit()
else:
pass
# output
print(-1)
if __name__ == '__main__':
main()
|
#Crie um programa que diga 'Hello World'
msg = 'Hello World!'
print( msg )
|
class car:
def __init__(self):
self.__fuelling()
def drive(self):
print("Driving..!!")
def __fuelling(self):
print("Refilling Gas")
volvo=car()
volvo.drive()
volvo._car__fuelling() |
s = 0
t = 0
while True:
n = int(input('Número: '))
if n == 999:
break
s += n
t += 1
print(f'Soma: {s}')
print(f'Total: {t}')
|
def dump_vector(x):
return ",".join(map(str, x))
def dump_matrix(xs):
vs = map(dump_vector, xs)
return "{0}#{1}#{2}".format(xs.shape[0], xs.shape[1], "|".join(vs))
def dump_pca(pca):
return "{0}\n{1}".format(dump_matrix(pca.components_.T), dump_vector(pca.mean_))
def dump_mlp(mlp):
activation = mlp.activation
layers = []
for c, b in zip(mlp.coefs_, mlp.intercepts_):
layers.append(dump_matrix(c.T))
layers.append(dump_vector(b))
return "{0}\n{1}\n{2}".format(activation, int(len(layers) / 2), "\n".join(layers))
def save_pca(pca, path):
with open(path, "w") as f:
f.write(dump_pca(pca))
f.close()
def save_mlp(mlp, path):
with open(path, "w") as f:
f.write(dump_mlp(mlp))
f.close()
|
galera = list()
dados = list()
maior = list()
menor = list()
contador = 0
while True:
dados.append(str(input('Nome: ')))
dados.append(float(input('Peso: ')))
galera.append(dados[:])
dados.clear()
continuar = str(input('Deseja continuar? [S/N]')).strip().upper()[0]
if continuar in 'N': break
print('-' * 15)
for p in galera:
contador +=1
if contador == 1:
maior.append(p[0])
menor.append(p[0])
menor.append(p[1])
maior.append(p[1])
elif p[1] >= maior[1]:
if p[1] > maior[-1]: maior.clear()
maior.append(p[0])
maior.append(p[1])
elif p[1] <= menor[1]:
if p[1] < menor[-1]: menor.clear()
menor.append(p[0])
menor.append(p[1])
print(f'Ao todo você cadastrou {contador} pessoas')
print(f'O maior peso foi de {maior[1]:.2f}kg. Peso de {maior[0::2]}')
print(f'O menor peso foi de {menor[1]:.2f}kg. Peso de {menor[0::2]}') |
def meets_criteria(number):
num_str = str(number)
# check to see if two number are the same next to each other
i = 1
previous = num_str[0]
while i < 6 :
if previous == num_str[i]:
break
previous = num_str[i]
i+=1
if i == 6:
return 0
# no more than 2 of the same number in a group
i = 1
found_double = 0
same = 0
previous = num_str[0]
while i < 6:
if previous == num_str[i]:
if same == 0:
same = 2
else:
same += 1
else:
if same == 2:
found_double = 1
same = 0
previous = num_str[i]
i += 1
#print ("Most same: {} Same: {}".format(found_double, same))
if same == 2:
found_double = 1
if not found_double:
return 0
i = 1
previous = num_str[0]
while i < 6 :
if previous > num_str[i]:
return 0
previous = num_str[i]
i+=1
return 1
min = 245318
max = 765747
valid = 0
for n in range(min, max):
if meets_criteria(n):
valid += 1
print('possible valid passwords: {}'.format(valid)) |
___assertEqual(+False, 0)
___assertIsNot(+False, False)
___assertEqual(-False, 0)
___assertIsNot(-False, False)
___assertEqual(abs(False), 0)
___assertIsNot(abs(False), False)
___assertEqual(+True, 1)
___assertIsNot(+True, True)
___assertEqual(-True, -1)
___assertEqual(abs(True), 1)
___assertIsNot(abs(True), True)
___assertEqual(~False, -1)
___assertEqual(~True, -2)
___assertEqual(False+2, 2)
___assertEqual(True+2, 3)
___assertEqual(2+False, 2)
___assertEqual(2+True, 3)
___assertEqual(False+False, 0)
___assertIsNot(False+False, False)
___assertEqual(False+True, 1)
___assertIsNot(False+True, True)
___assertEqual(True+False, 1)
___assertIsNot(True+False, True)
___assertEqual(True+True, 2)
___assertEqual(True-True, 0)
___assertIsNot(True-True, False)
___assertEqual(False-False, 0)
___assertIsNot(False-False, False)
___assertEqual(True-False, 1)
___assertIsNot(True-False, True)
___assertEqual(False-True, -1)
___assertEqual(True*1, 1)
___assertEqual(False*1, 0)
___assertIsNot(False*1, False)
___assertEqual(True/1, 1)
___assertIsNot(True/1, True)
___assertEqual(False/1, 0)
___assertIsNot(False/1, False)
|
# Will keep track of all the variables and their values
class SymbolTable:
def __init__(self):
self.symbols = {}
def get(self, name):
value = self.symbols.get(name, None)
return value
def set(self, name, value):
self.symbols[name] = value
def remove(self, name):
del self.symbols[name]
|
class BoidRuleAvoid:
fear_factor = None
object = None
use_predict = None
|
#!/usr/bin/env python
# Whites/Pastels
snow = (255, 250, 250)
snow2 = (238, 233, 233)
snow3 = (205, 201, 201)
snow4 = (139, 137, 137)
ghost_white = (248, 248, 255)
white_smoke = (245, 245, 245)
gainsboro = (220, 220, 220)
white = (255, 255, 255)
# Grays
black = (0, 0, 0)
dark_slate_black = (49, 79, 79)
dim_gray = (105, 105, 105)
slate_gray = (112, 138, 144)
light_slate_gray = (119, 136, 153)
gray = (190, 190, 190)
light_gray = (211, 211, 211)
# Blues
cornflower_blue = (100, 149, 237)
dodger_blue = (30, 144, 255)
deep_sky_blue = (0, 191, 255)
sky_blue = (135, 206, 250)
blue = (0, 0, 255)
# Greens
green = (50, 205, 50)
pale_green = (152, 251, 152)
lime_green = (50, 205, 50)
# Yellows
# Browns
firebrick = (178, 34, 34)
# Oranges
red = (255, 0, 0)
pastels = ("snow",
"snow2",
"snow3",
"snow4",
"ghost_white"
"white_smoke",
"gainsboro",
"floral_white",
"old_lace",
"linen",
"antique_white",
"antique_white2",
"antique_white3",
"antique_white4",
"papaya_whip",
"balanced_almond",
"bisque",
"bisque2",
"bisque3",
"bisque4",
"peach_puff",
"peach_puff2",
"peach_puff3",
"peach_puff4",
"navajo_white",
"moccassin",
"cornsilk",
"cornsilk2",
"cornsilk3",
"cornsilk4",
"ivory",
"ivory2",
"ivory3",
"ivory4",
"lemon_chiffon",
"seashell",
"seashell2",
"seashell3",
"seashell4",
"honeydew",
"honeydew2",
"honeydew3",
"honeydew4",
"mint_cream",
"azure",
"alice_blue",
"lavender",
"lavender_blush",
"misty_rose",
"white")
grays = ("black",
"dark_slate_gray",
"dim_gray",
"slate_gray",
"light_slate_gray",
"gray",
"light_gray")
blues = ("cornflower_blue",
"dodger_blue",
"deep_sky_blue",
"sky_blue",
"blue")
|
"""
This is the core of deep learning: (1) Take an input and desired output, (2) Search for their correlation
"""
def compute_error(b, m, coordinates):
"""
m is the coefficient and b is the constant for prediction
The goal is to find a combination of m and b where the error is as small as possible
coordinates are the locations
"""
totalError = 0
for i in range(0, len(coordinates)):
x = coordinates[i][0]
y = coordinates[i][1]
totalError += (y - (m * x + b)) ** 2
return totalError / float(len(coordinates))
# Example
error = compute_error(1, 2, [[3, 6], [6, 9], [12, 18]])
print(error)
|
hashicorp_base_url = "https://releases.hashicorp.com"
def _terraform_download_impl(ctx):
platform = _detect_platform(ctx)
version = ctx.attr.version
# First get SHA256SUMS file so we can get all of the individual zip SHAs
ctx.report_progress("Downloading and extracting SHA256SUMS file")
sha256sums_url = "{base}/terraform/{version}/terraform_{version}_SHA256SUMS".format(
base = hashicorp_base_url,
version = version,
)
ctx.download(
url = sha256sums_url,
sha256 = ctx.attr.sha256,
output = "terraform_sha256sums",
)
sha_content = ctx.read("terraform_sha256sums")
sha_by_zip = _parse_sha_file(sha_content)
# Terraform does not provide darwin_arm64 binaries before version
# 1.0.2 or so. Also, many provider versions do not provide
# darwin_arm64. Therefore, if the current platform is darwin_arm64
# and we can't find a SHA for that platform, we fall back to
# darwin_amd64 and depend on Rosetta.
zip = "terraform_{version}_{platform}.zip".format(
version = version,
platform = platform,
)
if platform == "darwin_arm64" and zip not in sha_by_zip:
platform = "darwin_amd64"
zip = "terraform_{version}_{platform}.zip".format(
version = version,
platform = platform,
)
sha256 = sha_by_zip[zip]
url = "{base}/terraform/{version}/{zip}".format(
base = hashicorp_base_url,
version = version,
zip = zip,
)
# Now download actual Terraform zip
ctx.report_progress("Downloading and extracting Terraform")
ctx.download_and_extract(
url = url,
sha256 = sha256,
output = "terraform",
type = "zip",
)
# Put a BUILD file here so we can use the resulting binary in other bazel
# rules.
ctx.file("BUILD.bazel",
"""load("@rules_terraform//:defs.bzl", "terraform_binary")
terraform_binary(
name = "terraform",
binary = "terraform/terraform",
version = "{version}",
visibility = ["//visibility:public"],
)
""".format(
version = version,
),
executable=False
)
def _detect_platform(ctx):
if ctx.os.name == "linux":
os = "linux"
elif ctx.os.name == "mac os x":
os = "darwin"
else:
fail("Unsupported operating system: " + ctx.os.name)
uname_res = ctx.execute(["uname", "-m"])
if uname_res.return_code == 0:
uname = uname_res.stdout.strip()
if uname == "x86_64":
arch = "amd64"
elif uname == "arm64":
arch = "arm64"
else:
fail("Unable to determing processor architecture.")
else:
fail("Unable to determing processor architecture.")
return "{}_{}".format(os, arch)
def _parse_sha_file(file_content):
"""Parses terraform SHA256SUMS file and returns map from zip to SHA.
Args:
file_content: Content of a SHA256SUMS file (see example below)
Returns:
A dict from a TF zip (e.g. terraform_1.1.2_darwin_amd64.zip) to zip SHA
Here is an example couple lines from a SHA256SUMS file:
214da2e97f95389ba7557b8fcb11fe05a23d877e0fd67cd97fcbc160560078f1 terraform_1.1.2_darwin_amd64.zip
734efa82e2d0d3df8f239ce17f7370dabd38e535d21e64d35c73e45f35dfa95c terraform_1.1.2_linux_amd64.zip
"""
sha_by_zip = {}
for line in file_content.splitlines():
sha, _, zip = line.partition(" ")
sha_by_zip[zip] = sha
return sha_by_zip
terraform_download = repository_rule(
implementation = _terraform_download_impl,
attrs = {
"sha256": attr.string(
mandatory = True,
doc = "Expected SHA-256 sum of the downloaded archive",
),
"version": attr.string(
mandatory = True,
doc = "Version of Terraform",
),
},
doc = "Downloads a Terraform binary",
)
TerraformBinaryInfo = provider(
"Provider for the terraform_binary rule",
fields={
"binary": "Path to Terraform binary",
"version": "Version of Terraform for binary",
})
def _terraform_binary_impl(ctx):
"""Wraps a downloaded Terraform binary as an executable.
Copies the terraform binary so we can declare it as an output and mark it as
executable. We can't just mark the existing binary as executable,
unfortunately.
"""
output = ctx.actions.declare_file("terraform_{}".format(ctx.attr.version))
ctx.actions.run_shell(
command = "cp '{}' '{}'".format(ctx.file.binary.path, output.path),
tools = [ctx.file.binary],
outputs = [output],
)
return [
DefaultInfo(
files = depset([output]),
executable = output,
),
TerraformBinaryInfo(
binary = output,
version = ctx.attr.version,
),
]
terraform_binary = rule(
implementation = _terraform_binary_impl,
attrs = {
"binary": attr.label(
mandatory = True,
allow_single_file = True,
executable = True,
cfg = "host",
doc = "Path to downloaded Terraform binary",
),
"version": attr.string(
mandatory = True,
doc = "Version of Terraform",
),
},
executable = True,
)
def download_terraform_versions(versions):
"""Downloads multiple terraform versions.
Args:
versions: dict from terraform version to sha256 of SHA56SUMS file for that version.
"""
for version, sha in versions.items():
version_str = version.replace(".", "_")
terraform_download(
name = "terraform_{}".format(version_str),
version = version,
sha256 = sha,
)
def _terraform_provider_download_impl(ctx):
name = ctx.attr.provider_name
platform = _detect_platform(ctx)
version = ctx.attr.version
# First get SHA256SUMS file so we can get all of the individual zip SHAs
ctx.report_progress("Downloading and extracting SHA256SUMS file")
sha256sums_url = "{base}/terraform-provider-{name}/{version}/terraform-provider-{name}_{version}_SHA256SUMS".format(
base = hashicorp_base_url,
name = name,
version = version,
)
ctx.download(
url = sha256sums_url,
sha256 = ctx.attr.sha256,
output = "terraform_provider_sha256sums",
)
sha_content = ctx.read("terraform_provider_sha256sums")
sha_by_zip = _parse_sha_file(sha_content)
# Terraform does not provide darwin_arm64 binaries before version
# 1.0.2 or so. Also, many provider versions do not provide
# darwin_arm64. Therefore, if the current platform is darwin_arm64
# and we can't find a SHA for that platform, we fall back to
# darwin_amd64 and depend on Rosetta.
zip = "terraform-provider-{name}_{version}_{platform}.zip".format(
name = name,
version = version,
platform = platform,
)
if platform == "darwin_arm64" and zip not in sha_by_zip:
platform = "darwin_amd64"
zip = "terraform-provider-{name}_{version}_{platform}.zip".format(
name = name,
version = version,
platform = platform,
)
sha256 = sha_by_zip[zip]
url = "{base}/terraform-provider-{name}/{version}/{zip}".format(
base = hashicorp_base_url,
name = name,
version = version,
zip = zip,
)
# Now download actual Terraform zip
ctx.report_progress("Downloading and extracting Terraform provider {}".format(name))
ctx.download_and_extract(
url = url,
sha256 = sha256,
type = "zip",
)
# Put a BUILD file here so we can use the resulting binary in other bazel
# rules.
ctx.file("BUILD.bazel",
"""load("@rules_terraform//:defs.bzl", "terraform_provider")
terraform_provider(
name = "provider",
provider = glob(["terraform-provider-{name}_v{version}_x*"])[0],
provider_name = "{name}",
version = "{version}",
source = "{source}",
sha = "{sha}",
platform = "{platform}",
visibility = ["//visibility:public"]
)
""".format(
name = name,
version = version,
source = ctx.attr.source,
sha = sha256,
platform = platform,
),
executable=False
)
terraform_provider_download = repository_rule(
implementation = _terraform_provider_download_impl,
attrs = {
"provider_name": attr.string(
mandatory = True,
),
"sha256": attr.string(
mandatory = True,
doc = "Expected SHA-256 sum of the downloaded archive",
),
"version": attr.string(
mandatory = True,
doc = "Version of the Terraform provider",
),
"source": attr.string(
mandatory = True,
doc = "Source for provider used in required_providers block",
),
},
doc = "Downloads a Terraform provider",
)
TerraformProviderInfo = provider(
"Provider for the terraform_provider rule",
fields={
"provider": "Path to Terraform provider",
"provider_name": "Name of provider",
"version": "Version of Terraform provider",
"source": "Source for provider used in required_providers block",
"sha": "SHA of Terraform provider binary",
"platform": "Platform of Terraform provider binary, like linux_amd64",
})
def _terraform_provider_impl(ctx):
return [
DefaultInfo(
files = depset([ctx.file.provider]),
),
TerraformProviderInfo(
provider = ctx.file.provider,
provider_name = ctx.attr.provider_name,
version = ctx.attr.version,
source = ctx.attr.source,
sha = ctx.attr.sha,
platform = ctx.attr.platform,
),
]
terraform_provider = rule(
implementation = _terraform_provider_impl,
attrs = {
"provider": attr.label(
mandatory = True,
allow_single_file = True,
doc = "Path to downloaded Terraform provider",
),
"provider_name": attr.string(
mandatory = True,
doc = "Name of Terraform provider",
),
"version": attr.string(
mandatory = True,
doc = "Version of Terraform provider",
),
"source": attr.string(
mandatory = True,
doc = "Source for provider used in required_providers block",
),
"sha": attr.string(
mandatory = True,
doc = "SHA of Terraform provider binary",
),
"platform": attr.string(
mandatory = True,
doc = "Platform of Terraform provider binary, like linux_amd64",
),
},
)
def download_terraform_provider_versions(provider_name, source, versions):
"""Downloads multiple terraform provider versions.
Args:
provider_name: string name for provider
source: Source for provider, like registry.terraform.io/hashicorp/local
versions: dict from terraform version to sha256 of SHA56SUMS file for that version.
"""
for version, sha in versions.items():
version_str = version.replace(".", "_")
terraform_provider_download(
name = "terraform_provider_{name}_{version_str}".format(
name = provider_name,
version_str = version_str,
),
provider_name = provider_name,
version = version,
source = source,
sha256 = sha,
)
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements; and to You under the Apache License, Version 2.0.
"""OpenWhisk "Hello world" in Python.
// Licensed to the Apache Software Foundation (ASF) under one or more contributor
// license agreements; and to You under the Apache License, Version 2.0.
"""
def main(dict):
"""Hello world."""
if 'name' in dict:
name = dict['name']
else:
name = "stranger"
if 'place' in dict:
place = dict['place']
else:
place = "unknown"
msg = "Hello, " + name + " from " + place
return {"greeting": msg}
|
# -*- coding: utf-8 -*-
# @ Time : 2020/9/8 14:56
# @ Author : Redtree
# @ File : config.py
# @ Desc :
VERSION = 'V0.1'
'''
database_setting
'''
DIALCT = "mysql"
DRIVER = "pymysql"
USERNAME = "mysql-username"
PASSWORD = "123456"
HOST = "数据库连接地址"
PORT = "数据库服务端口"
DATABASE = "testdb"
DB_URI = "{}+{}://{}:{}@{}:{}/{}?charset=utf8".format(DIALCT,DRIVER,USERNAME,PASSWORD,HOST,PORT,DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI
SQLALCHEMY_POOL_SIZE = 5
SQLALCHEMY_POOL_TIMEOUT = 30
SQLALCHEMY_POOL_RECYCLE = 3600
SQLALCHEMY_MAX_OVERFLOW = 5
SQLALCHEMY_TRACK_MODIFICATIONS = False
'''
Flask-SQLAlchemy有自己的事件通知系统,该系统在SQLAlchemy之上分层。为此,它跟踪对SQLAlchemy会话的修改。
这会占用额外的资源,因此该选项SQLALCHEMY_TRACK_MODIFICATIONS允许你禁用修改跟踪系统。
当前,该选项默认为True,但将来该默认值将更改为False,从而禁用事件系统。
'''
'''
WEB SETTINT
'''
WEB_IP = 'localhost'
WEB_PORT = '5000'
#字符串编码格式
STRING_CODE = 'utf-8'
#加密方式名
ENCRYPTION_SHA1 = 'sha1'
#token过期时间配置(默认一周 604800/测试的时候5分钟)
TOKEN_EXPIRE = 604800
'''
db-select-habit
'''
USER_SALT_LENGTH = 4
PAGE_LIMIT = 10
DEFAULT_PAGE = 1 |
# OSEK Builder Global Variables (OB Globals)
# ------------------------------------------
# list of column titles in TASK tab of OSEX-Builder.xlsx
TaskParams = ["Task Name", "PRIORITY", "SCHEDULE", "ACTIVATION", "AUTOSTART",
"RESOURCE", "EVENT", "MESSAGE", "STACK_SIZE"]
TNMI = 0
PRII = 1
SCHI = 2
ACTI = 3
ATSI = 4
RESI = 5
EVTI = 6
MSGI = 7
STSZ = 8
# list of column titles in TASK tab of OSEX-Builder.xlsx
CntrParams = ["Counter Name", "MINCYCLE", "MAXALLOWEDVALUE", "TICKSPERBASE",
"TICKDURATION"]
CNME = 0
# Column titles for Alarms
AlarmParams = ["Alarm Name", "COUNTER", "Action-Type", "arg1", "arg2", "IsAutostart",
"ALARMTIME", "CYCLETIME", "APPMODE[]" ]
ANME = 0
ACNT = 1
AAAT = 2
AAT1 = 3
AAT2 = 4
AIAS = 5
ATIM = 6
ACYT = 7
AAPM = 8
# Column titles for ISRs
ISR_Params = ["ISR Name", "IRQn", "CATEGORY", "RESOURCE", "MESSAGE"]
# FreeOSEK Parameters
OSEK_Params = ["STATUS", "STARTUPHOOK", "ERRORHOOK", "SHUTDOWNHOOK", "PRETASKHOOK", "POSTTASKHOOK",
"USEGETSERVICEID", "USEPARAMETERACCESS", "USERESSCHEDULER"]
FreeOSEK_Params = ["OS_STACK_SIZE", "OS_CTX_SAVE_SZ", "IRQ_STACK_SIZE", "TASK_STACK_SIZE"]
if __name__ == '__main__':
print("OSEK Builder Globals")
|
# -*- coding: utf-8 -*-
{
'name': 'Chapter 14 code for the mail template recipe',
'depends': ['mail', 'report_py3o'],
'data': [
'views/library_book.xml',
'views/library_member.xml',
'data/py3o_server.xml',
'reports/book_loan_report.xml'
],
'demo': ['demo/demo.xml'],
}
|
#Write a Python program to remove duplicates from a list.
sample_list = [10, 20, 30, 20, 10, 50, 60, 40, 80, 50, 40]
duplicate_items =set()
unique_list = []
for num in sample_list:
if num not in duplicate_items:
unique_list.append(num)
duplicate_items.add(num)
print(unique_list) |
"""
Utils for URLs (to avoid circular imports)
"""
DASHBOARD_URL = '/dashboard/'
PROFILE_URL = '/profile/'
PROFILE_PERSONAL_URL = '{}personal/?'.format(PROFILE_URL)
PROFILE_EDUCATION_URL = '{}education/?'.format(PROFILE_URL)
PROFILE_EMPLOYMENT_URL = '{}professional/?'.format(PROFILE_URL)
SETTINGS_URL = "/settings/"
SEARCH_URL = "/learners/"
ORDER_SUMMARY = "/order_summary/"
EMAIL_URL = "/automaticemails/"
DASHBOARD_URLS = [
DASHBOARD_URL,
PROFILE_URL,
PROFILE_PERSONAL_URL,
PROFILE_EDUCATION_URL,
PROFILE_EMPLOYMENT_URL,
SETTINGS_URL,
SEARCH_URL,
ORDER_SUMMARY,
EMAIL_URL,
]
|
class Solution(object):
def longestCommonPrefix(self, strs):
"""
:type strs: List[str]
:rtype: str
"""
if not strs:
return ''
res=""
strs.sort()
for i in xrange(len(strs[0])):
if strs[0][i]==strs[-1][i]:
res+=strs[0][i]
else:
break
return res
|
# coding: utf-8
class CartesianProduct:
def extract(self,val,row):
if isinstance(val, list):
for v in val:
row.append(v)
else:
row.append(val)
def combi(self,x, y, result):
#print("combi before",x,y,result)
row = []
for i in x:
for j in y:
self.extract(i,row)
row.append(j)
#print("row", row)
result.append(row)
row=[]
#print("result", result)
def execute(self,matrix,result):
for idx, x in enumerate(matrix):
if (idx == 0):
#print("0 times")
self.combi(matrix[idx], matrix[idx+1], result)
#print("result=",result)
elif (idx < len(matrix)-1):
#print("{0} times", idx)
tmp=[]
self.combi(result, matrix[idx+1], tmp)
#print("tmp=",tmp)
result = tmp
#print("exec() result=",result)
return result
#for r in result:
# print("result", r)
def to_csv(self,result):
for idx, r in enumerate(result):
print(idx, ":", r)
#print(idx, ":", split(r))
|
def keywordMatching(amazonTitle,wallmartTitles,wallmartPrices,wallmartIds):
#whitelist of letters
whitelist = set('abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ')
amazonTitle = ''.join(filter(whitelist.__contains__, amazonTitle))
titles = []
commonalities = []
for i in wallmartTitles:
#amount of words in common
commonWords = 0
wallmartTitle = ''.join(filter(whitelist.__contains__, i))
for x in wallmartTitle.split():
for y in amazonTitle.split():
if x == y:
commonWords += 1
titles.append(wallmartTitle)
commonalities.append(commonWords)
matchingTitleIndex = commonalities.index(max(commonalities))
wallmartMatchingProduct = {
'title': wallmartTitles[matchingTitleIndex],
'price': wallmartPrices[matchingTitleIndex],
'id': wallmartIds[matchingTitleIndex]
}
return wallmartMatchingProduct
|
# -*- coding: utf-8 -*-
'''
File name: code\gozinta_chains\sol_548.py
Author: Vaidic Joshi
Date created: Oct 20, 2018
Python Version: 3.x
'''
# Solution to Project Euler Problem #548 :: Gozinta Chains
#
# For more information see:
# https://projecteuler.net/problem=548
# Problem Statement
'''
A gozinta chain for n is a sequence {1,a,b,...,n} where each element properly divides the next.
There are eight gozinta chains for 12:
{1,12} ,{1,2,12}, {1,2,4,12}, {1,2,6,12}, {1,3,12}, {1,3,6,12}, {1,4,12} and {1,6,12}.
Let g(n) be the number of gozinta chains for n, so g(12)=8.
g(48)=48 and g(120)=132.
Find the sum of the numbers n not exceeding 1016 for which g(n)=n.
'''
# Solution
# Solution Approach
'''
'''
|
class RandomVariable:
def __init__(self):
self._parametrization = None
def sample(self):
pass
def as_tensor(self):
pass
def make_parametrization(self):
pass
class Parametrization:
def __init__(self):
self._free_vars = []
self._trainable_params = []
self._observation = None
def log_prob(self, value, **vars):
pass
def forward(self, **free_vars):
pass
def backward(self, observed):
return NotImplemented
class DirectParametrization:
def __init__(self, dist):
self._dist = dist
self._free_vars = []
self._trainable_params = []
def log_prob(self, observed):
return self._dist.log_prob(observed)
class TransformedParametrization:
def __init__(self, dist, bijector):
self._bijector = bijector
self._dist = dist
def log_prob(self, observed):
raise NotImplementedError
|
lines = [l.strip() for l in open('input.txt', 'r').readlines()]
p1, p2, first_player = [], [], True
for line in lines:
if 'Player 2' in line:
first_player = False
if not line or 'Player' in line:
continue
if first_player:
p1.append(int(line))
else:
p2.append(int(line))
def determine_winner(p1, p2):
memory = []
while len(p1) > 0 and len(p2) > 0:
if (p1, p2) in memory:
return p1, []
else:
memory.append((p1[:], p2[:]))
p1_card, p2_card = p1.pop(0), p2.pop(0)
if p1_card <= len(p1) and p2_card <= len(p2):
p1_sub, p2_sub = determine_winner(p1[:p1_card], p2[:p2_card])
if len(p1_sub) > 0:
p1 += [p1_card, p2_card]
else:
p2 += [p2_card, p1_card]
elif p1_card > p2_card:
p1 += [p1_card, p2_card]
else:
p2 += [p2_card, p1_card]
return p1, p2
p1, p2 = determine_winner(p1, p2)
winner = p1 if len(p1) > 0 else p2
print(sum([(len(winner) - i) * card for i, card in enumerate(winner)]))
|
# -*- coding: utf-8 -*-
{
'name': 'Slovak - Accounting',
'version': '1.0',
'author': '26HOUSE',
'website': 'http://www.26house.com',
'category': 'Accounting/Localizations/Account Charts',
'description': """
Slovakia accounting chart and localization: Chart of Accounts 2020, basic VAT rates +
fiscal positions.
Tento modul definuje:
• Slovenskú účtovú osnovu za rok 2020
• Základné sadzby pre DPH z predaja a nákupu
• Základné fiškálne pozície pre slovenskú legislatívu
Pre viac informácií kontaktujte [email protected] alebo navštívte https://www.26house.com.
""",
'depends': [
'account',
'base_iban',
'base_vat',
],
'data': [
'data/l10n_sk_coa_data.xml',
'data/account.account.template.csv',
'data/account.group.template.csv',
'data/l10n_sk_coa_post_data.xml',
'data/account_data.xml',
'data/account_tax_data.xml',
'data/account_fiscal_position_data.xml',
'data/account_chart_template_data.xml'
],
'demo': ['data/demo_company.xml'],
'license': 'LGPL-3',
}
|
"""
Prácticas de Redes de comunicaciones 2
Autores:
Miguel Arconada Manteca
Mario García Pascual
credenciales:
Este fichero contiene los credenciales que utilizamos para usar
SecureBox.
"""
my_token = '7E4DA9B6a2C0beF3'
my_nia = '361902'
|
# fibonacci: int -> int
# calcula el n-esimo numero de la sucesion de fibonacci
# ejemplo: fibonacci(7) debe dar 13
def fibonacci(n):
assert type(n) == int and n>=0
if n<2:
# caso base
return n
else:
# caso recursivo
return fibonacci(n-1) + fibonacci(n-2)
# test:
assert fibonacci(0) == 0
assert fibonacci(1) == 1
assert fibonacci(2) == 1
assert fibonacci(7) == 13
|
# Given a non-empty string, encode the string such that its encoded length is the shortest.
# The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets
# is being repeated exactly k times.
# Note:
# k will be a positive integer and encoded string will not be empty or have extra space.
# You may assume that the input string contains only lowercase English letters.
# The string's length is at most 160.
# If an encoding process does not make the string shorter, then do not encode it.
# If there are several solutions, return any of them is fine.
# Example 1:
# Input: "aaa"
# Output: "aaa"
# Explanation: There is no way to encode it such that it is shorter than the input string,
# so we do not encode it.
# Example 2:
# Input: "aaaaa"
# Output: "5[a]"
# Explanation: "5[a]" is shorter than "aaaaa" by 1 character.
# Example 3:
# Input: "aaaaaaaaaa"
# Output: "10[a]"
# Explanation: "a9[a]" or "9[a]a" are also valid solutions, both of them have the same length = 5, which is the same as "10[a]".
# Example 4:
# Input: "aabcaabcd"
# Output: "2[aabc]d"
# Explanation: "aabc" occurs twice, so one answer can be "2[aabc]d".
# Example 5:
# Input: "abbbabbbcabbbabbbc"
# Output: "2[2[abbb]c]"
# Explanation: "abbbabbbc" occurs twice, but "abbbabbbc" can also be encoded to "2[abbb]c",
# so one answer can be "2[2[abbb]c]".
class Solution(object):
def encode(self, s):
"""
:type s: str
:rtype: str
"""
# https://www.cnblogs.com/grandyang/p/6194403.html
# 建立一个二维的DP数组,其中dp[i][j]表示s在[i, j]范围内的字符串的缩写形式
# (如果缩写形式长度大于子字符串,那么还是保留子字符串),
# 那么如果s字符串的长度是n,最终我们需要的结果就保存在dp[0][n-1]中,
# 然后我们需要遍历s的所有子字符串,对于任意一段子字符串[i, j],
# 我们以中间任意位置k来拆分成两段,比较dp[i][k]加上dp[k+1][j]的总长度和dp[i][j]的长度,
# 将长度较小的字符串赋给dp[i][j],然后我们要做的就是在s中取出[i, j]范围内的子字符串t进行合并。
# 合并的方法是我们在取出的字符串t后面再加上一个t,然后在这里面寻找子字符串t的第二个起始位置,
# 如果第二个起始位置小于t的长度的话,说明t包含重复字符串,
# 举个例子吧,比如 t = "abab", 那么t+t = "abababab",我们在里面找第二个t出现的位置为2,小于t的长度4,
# 说明t中有重复出现,重复的个数为t.size()/pos = 2个,
# 那么我们就要把重复的地方放入中括号中,注意中括号里不能直接放这个子字符串,
# 而是应该从dp中取出对应位置的字符串,因为重复的部分有可能已经写成缩写形式了,
# 比如题目中的例子5。再看一个例子,如果t = "abc",那么t+t = "abcabc",
# 我们在里面找第二个t出现的位置为3,等于t的长度3,说明t中没有重复出现,那么replace就还是t。
# 然后我们比较我们得到的replace和dp[i][j]中的字符串长度,把长度较小的赋给dp[i][j]即可,
# 时间复杂度为O(n^3),空间复杂度为O(n^2)。
n = len(s)
dp = [['' for j in range(n)] for i in range(n)]
for j in range(n):
dp[j][j] = s[j]
for p in range(j):
dp[p][j] = dp[p][j-1] + dp[j][j]
i = j - 1
while i + 1 >= j - i:
sub = s[i+1:j+1]
k = i - (j - i) + 1
while k >= 0 and sub == s[k:j-i+k]:
dst = ('%d' % ((j + 1 - k) / (j - i))) + '[' + dp[i+1][j] + ']'
if len(dst) < len(dp[k][j]):
dp[k][j] = dst
for p in range(k):
if len(dp[p][k-1]) + len(dst) < len(dp[p][j]):
dp[p][j] = dp[p][k-1] + dst
k -= j - i
i -= 1
return dp[0][n-1] |
def get_gnn_config(parser):
parser.add_argument('--ggnn_keep_prob', type=float, default=0.8)
parser.add_argument('--t_step', type=int, default=3)
parser.add_argument('--embed_layer', type=int, default=1)
parser.add_argument('--embed_neuron', type=int, default=256)
parser.add_argument('--prop_layer', type=int, default=1)
parser.add_argument('--prop_neuron', type=int, default=1024)
parser.add_argument('--output_layer', type=int, default=1)
parser.add_argument('--output_neuron', type=int, default=1024)
parser.add_argument('--prop_normalize', action='store_true')
parser.add_argument('--d_output', action='store_true')
parser.add_argument('--d_bins', type=int, default=51)
return parser
|
X = int(input())
Y = float(input())
consumoMédio = X / Y
print('{:.3f} km/l'.format(consumoMédio))
|
"""Package management"""
# Copy paste this at the top of a file to have it work with with both modulare
# imports and running as a direct script
# import os
# import sys
#
# sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/../') |
BLACK = 0x000000
WHITE = 0xFFFFFF
GRAY = 0x888888
DARKGRAY = 0x484848
ORANGE = 0xFF8800
DARKORANGE = 0xF18701
LIGHTBLUE = 0x5C92D1
BLUE = 0x0000C0
GREEN = 0x00FF00
PASTEL_GREEN = 0x19DF82
SMOKY_GREEN = 0x03876D
PINK = 0xD643BB
PURPLE = 0x952489
DEEP_PURPLE = 0x890C32
YELLOW = 0xF4ED06
# RED = 0xC80A24
RED = 0xDE0A07
BROWN = 0x9B3E25
|
# pytools/recursion/subsets.py
#
# Author: Daniel Clark, 2016
'''
This module contains functions to return all of the subsets of a given
set
'''
def subsets_reduce(input_set):
'''
Reduce function method for returning all subsets of a set
'''
return reduce(lambda z, x: z + [y + [x] for y in z],
input_set, [[]])
def subsets(input_set):
'''
Return all subsets of a given set by returning a generator
'''
# Init list set
list_set = list(input_set)
# If it's < 1, yield itself and break
if len(list_set) < 1:
yield list_set
return
# Return last element from list as a list of 1
el = [list_set.pop()]
# We can iterate over a generator
for sub in subsets(list_set):
yield sub
yield sub+el
def subsets_binary(input_set):
'''
Iterate through all combinations of yes/no for each item in set
via a bit mask combination
'''
# Init maximum subset size
max_num = 1 << len(input_set)
all_subsets = []
# For each subset
for num in range(max_num):
# Init subset
subset = []
mask = num
idx = 0
# While mask has some 1's in it
while mask > 0:
# If LSB is set, grab set at idx
if (mask & 1) > 0:
subset.append(input_set[idx])
# Shift mask down one
mask >>= 1
# Reflect mask shift by incrementing index we'll grab next time
idx += 1
# And add newly compounded subset to output
all_subsets.append(subset)
# Return all subsets found
return all_subsets
|
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
##f1(node) be the value of maximum money we can rob from the subtree with node as root ( we can rob node if necessary).
##f2(node) be the value of maximum money we can rob from the subtree with node as root but without robbing node.
##Then we have
##f2(node) = f1(node.left) + f1(node.right) and
##f1(node) = max( f2(node.left)+f2(node.right)+node.value, f2(node) ).
class Solution:
def rob(self, root):
"""
:type root: TreeNode
:rtype: int
"""
def robDFS(node):
if node is None:
return (0, 0)
ll= robDFS(node.left)
rr = robDFS(node.right)
return (ll[1] + rr[1], max(ll[1] + rr[1], ll[0] + rr[0] + node.val))
return robDFS(root)[1];
|
number_grid = [ [1, 2, 4],
[2, 5, 6],
[3, 4, 6] ]
print(number_grid[0][0])
print(number_grid[2][2])
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.