content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# (regname, regsize, is_big_endian, arch_name, branches)
# PowerPC CPU REGS
PPCREGS = [[], 4, True, "ppc", ["bl "]]
for i in range(32):
PPCREGS[0].append("r"+str(i))
for i in range(32):
PPCREGS[0].append(None)
PPCREGS[0].append("lr")
PPCREGS[0].append("ctr")
for i in range(8):
PPCREGS[0].append("cr"+str(i))
# Aarch64 CPU REGS
AARCH64REGS = [[], 8, False, "aarch64", ["bl ", "blx "]]
for i in range(8):
AARCH64REGS[0].append(None)
for i in range(32):
AARCH64REGS[0].append("x"+str(i))
#AARCH64REGS[0][8+29] = "fp"
AARCH64REGS[0][8+31] = "sp"
AARCH64REGS[0].append("pc")
# MIPS CPU REGS
MIPSREGLIST = ['$zero', '$at', '$v0', '$v1', '$a0', '$a1', '$a2', '$a3']
for i in range(8):
MIPSREGLIST.append('$t'+str(i))
for i in range(8):
MIPSREGLIST.append('$s'+str(i))
MIPSREGLIST.append('$t8')
MIPSREGLIST.append('$t9')
MIPSREGLIST.append('$k0')
MIPSREGLIST.append('$k1')
MIPSREGLIST.append('$gp')
MIPSREGLIST.append('$sp')
MIPSREGLIST.append('$fp')
MIPSREGLIST.append('$ra')
MIPSREGLIST.append('$pc')
MIPSREGS = [MIPSREGLIST, 4, True, "mips", ["jal\t","jr\t","jal","jr"]]
# ARM CPU REGS
ARMREGS = [['R0','R1','R2','R3','R4','R5','R6','R7','R8','R9','R10','R11','IP','SP','LR','PC'], 4, False, "arm"] # FP = R7 If THUMB2 Mode enabled, & R11 If not.
# Intel x86 CPU REGS
X86REGS = [['EAX', 'ECX', 'EDX', 'EBX', 'ESP', 'EBP', 'ESI', 'EDI', 'EIP'], 4, False, "i386"]
# x86_64 CPU REGS
X64REGS = [['RAX', 'RCX', 'RDX', 'RBX', 'RSP', 'RBP', 'RSI', 'RDI', "R8", "R9", "R10", "R11", "R12", "R13", "R14", "R15", 'RIP'], 8, False, "x86-64"]
| ppcregs = [[], 4, True, 'ppc', ['bl ']]
for i in range(32):
PPCREGS[0].append('r' + str(i))
for i in range(32):
PPCREGS[0].append(None)
PPCREGS[0].append('lr')
PPCREGS[0].append('ctr')
for i in range(8):
PPCREGS[0].append('cr' + str(i))
aarch64_regs = [[], 8, False, 'aarch64', ['bl ', 'blx ']]
for i in range(8):
AARCH64REGS[0].append(None)
for i in range(32):
AARCH64REGS[0].append('x' + str(i))
AARCH64REGS[0][8 + 31] = 'sp'
AARCH64REGS[0].append('pc')
mipsreglist = ['$zero', '$at', '$v0', '$v1', '$a0', '$a1', '$a2', '$a3']
for i in range(8):
MIPSREGLIST.append('$t' + str(i))
for i in range(8):
MIPSREGLIST.append('$s' + str(i))
MIPSREGLIST.append('$t8')
MIPSREGLIST.append('$t9')
MIPSREGLIST.append('$k0')
MIPSREGLIST.append('$k1')
MIPSREGLIST.append('$gp')
MIPSREGLIST.append('$sp')
MIPSREGLIST.append('$fp')
MIPSREGLIST.append('$ra')
MIPSREGLIST.append('$pc')
mipsregs = [MIPSREGLIST, 4, True, 'mips', ['jal\t', 'jr\t', 'jal', 'jr']]
armregs = [['R0', 'R1', 'R2', 'R3', 'R4', 'R5', 'R6', 'R7', 'R8', 'R9', 'R10', 'R11', 'IP', 'SP', 'LR', 'PC'], 4, False, 'arm']
x86_regs = [['EAX', 'ECX', 'EDX', 'EBX', 'ESP', 'EBP', 'ESI', 'EDI', 'EIP'], 4, False, 'i386']
x64_regs = [['RAX', 'RCX', 'RDX', 'RBX', 'RSP', 'RBP', 'RSI', 'RDI', 'R8', 'R9', 'R10', 'R11', 'R12', 'R13', 'R14', 'R15', 'RIP'], 8, False, 'x86-64'] |
""" Swagger documentation for comment resources """
class CommentResourceDoc:
""" Comment resources swagger documentation """
@staticmethod
def get_by_id_docs():
""" Get by id endpoint documentation """
return {
'tags': ['comment'],
'description': 'Returns json',
'parameters': [
{
'name': 'Comment id',
'description': 'Comment id',
'in': 'path',
'type': 'UUID'
}
],
'responses': {
'200': {
'description': 'Comment',
'examples': {
'application/json': {
'id': '22e4b4a8-f0b3-46ce-984f-75699ba337d0',
'created_at': '2018-01-16 13:45:54',
'text': 'My comment'
}
}
}
}
}
| """ Swagger documentation for comment resources """
class Commentresourcedoc:
""" Comment resources swagger documentation """
@staticmethod
def get_by_id_docs():
""" Get by id endpoint documentation """
return {'tags': ['comment'], 'description': 'Returns json', 'parameters': [{'name': 'Comment id', 'description': 'Comment id', 'in': 'path', 'type': 'UUID'}], 'responses': {'200': {'description': 'Comment', 'examples': {'application/json': {'id': '22e4b4a8-f0b3-46ce-984f-75699ba337d0', 'created_at': '2018-01-16 13:45:54', 'text': 'My comment'}}}}} |
# -*- coding: utf8 -*
'''
A Simple Extractor Key Note for SPED Fiscal
created by Matheus Tavares
'''
# Abrindo arquivo Sped para ler e Criando arquivo com notas separadas
sped = open("sped.txt", "r")
noteLine =[]
# Encontrando linhas C100 e salvando em Lista
for line in sped:
if line[0:6] == '|C100|':
noteLine.append(line)
# Separa os dados da nota pelos pipes e salva em array
sepNote = []
for line in noteLine:
sepNote.append(line.split('|'))
# Salvando as chaves das notas em arquivo
keyNotes = open("./keys.txt", "w")
for i in sepNote:
if (len(i[9]) > 0):
keyNotes.write(i[9] + '\n')
sped.close()
keyNotes.close() | """
A Simple Extractor Key Note for SPED Fiscal
created by Matheus Tavares
"""
sped = open('sped.txt', 'r')
note_line = []
for line in sped:
if line[0:6] == '|C100|':
noteLine.append(line)
sep_note = []
for line in noteLine:
sepNote.append(line.split('|'))
key_notes = open('./keys.txt', 'w')
for i in sepNote:
if len(i[9]) > 0:
keyNotes.write(i[9] + '\n')
sped.close()
keyNotes.close() |
DATA_FOLDER = 'data'
DATA_INPUT_ZIP = 'stanford-dogs-dataset.zip'
DATA_OUTPUT_ZIP = 'dataset_unzipped'
DATASET_FOLDER = 'dataset'
IMAGES_LIST_FILE_NAME = 'images.txt'
INDEX_FILE_NAME = 'index.nmslib'
INPUT_IMAGE_FILE_NAME = 'input_image.jpg'
OUTPUT_IMAGE_FILE_NAME = 'output_image.jpg'
DEFAULT_IMAGES_PER_RACE = 1
IMAGE_SIZE = (224, 224)
IMAGE_CHANNELS = 3
| data_folder = 'data'
data_input_zip = 'stanford-dogs-dataset.zip'
data_output_zip = 'dataset_unzipped'
dataset_folder = 'dataset'
images_list_file_name = 'images.txt'
index_file_name = 'index.nmslib'
input_image_file_name = 'input_image.jpg'
output_image_file_name = 'output_image.jpg'
default_images_per_race = 1
image_size = (224, 224)
image_channels = 3 |
class Solution:
def threeSumClosest(self, nums: [int], target: int) -> int:
nums = sorted(nums)
visited = []
difference = float('inf')
result = 0
for i, num_1 in enumerate(nums):
if num_1 in visited:
continue
else:
visited.append(num_1)
j = i + 1
k = len(nums) - 1
while j < k:
num_2 = nums[j]
num_3 = nums[k]
sum_three = num_1 + num_2 + num_3
if sum_three == target:
return target
elif abs(sum_three - target) < difference:
difference = abs(sum_three - target)
result = sum_three
if sum_three < target:
j += 1
else:
k -= 1
return result
s = Solution()
print(s.threeSumClosest([6,-18,-20,-7,-15,9,18,10,1,-20,-17,-19,-3,-5,-19,10,6,-11,1,-17,-15,6,17,-18,-3,16,19,-20,-3,-17,-15,-3,12,1,-9,4,1,12,-2,14,4,-4,19,-20,6,0,-19,18,14,1,-15,-5,14,12,-4,0,-10,6,6,-6,20,-8,-6,5,0,3,10,7,-2,17,20,12,19,-13,-1,10,-1,14,0,7,-3,10,14,14,11,0,-4,-15,-8,3,2,-5,9,10,16,-4,-3,-9,-8,-14,10,6,2,-12,-7,-16,-6,10], -52)) | class Solution:
def three_sum_closest(self, nums: [int], target: int) -> int:
nums = sorted(nums)
visited = []
difference = float('inf')
result = 0
for (i, num_1) in enumerate(nums):
if num_1 in visited:
continue
else:
visited.append(num_1)
j = i + 1
k = len(nums) - 1
while j < k:
num_2 = nums[j]
num_3 = nums[k]
sum_three = num_1 + num_2 + num_3
if sum_three == target:
return target
elif abs(sum_three - target) < difference:
difference = abs(sum_three - target)
result = sum_three
if sum_three < target:
j += 1
else:
k -= 1
return result
s = solution()
print(s.threeSumClosest([6, -18, -20, -7, -15, 9, 18, 10, 1, -20, -17, -19, -3, -5, -19, 10, 6, -11, 1, -17, -15, 6, 17, -18, -3, 16, 19, -20, -3, -17, -15, -3, 12, 1, -9, 4, 1, 12, -2, 14, 4, -4, 19, -20, 6, 0, -19, 18, 14, 1, -15, -5, 14, 12, -4, 0, -10, 6, 6, -6, 20, -8, -6, 5, 0, 3, 10, 7, -2, 17, 20, 12, 19, -13, -1, 10, -1, 14, 0, 7, -3, 10, 14, 14, 11, 0, -4, -15, -8, 3, 2, -5, 9, 10, 16, -4, -3, -9, -8, -14, 10, 6, 2, -12, -7, -16, -6, 10], -52)) |
class Note(object):
def __init__(self, content = None):
self.content = content
def write_content(self, content):
self.content = content
def remove_all(self):
self.content=""
def __str__(self):
return self.content
class NoteBook(object):
def __init__(self, title):
self.title = title
self.page_number = 1
self.notes = {}
def add_note(self, note, page=0):
if self.page_number < 300:
if page == 0:
self.notes[self.page_number] = note
self.page_number += 1
else:
self.notes = {page : note}
self.page_number += 1
else:
print("Page is full")
def remove_note(self, page_number):
if page_number in self.notes.keys():
return self.notes.pop(page_number)
else:
print("Invalid Page")
def get_number_of_pages(self):
return len(self.notes.keys())
| class Note(object):
def __init__(self, content=None):
self.content = content
def write_content(self, content):
self.content = content
def remove_all(self):
self.content = ''
def __str__(self):
return self.content
class Notebook(object):
def __init__(self, title):
self.title = title
self.page_number = 1
self.notes = {}
def add_note(self, note, page=0):
if self.page_number < 300:
if page == 0:
self.notes[self.page_number] = note
self.page_number += 1
else:
self.notes = {page: note}
self.page_number += 1
else:
print('Page is full')
def remove_note(self, page_number):
if page_number in self.notes.keys():
return self.notes.pop(page_number)
else:
print('Invalid Page')
def get_number_of_pages(self):
return len(self.notes.keys()) |
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2019 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
"""Invenio search errors."""
class IndexAlreadyExistsError(Exception):
"""Raised when an index or alias already exists during index creation."""
| """Invenio search errors."""
class Indexalreadyexistserror(Exception):
"""Raised when an index or alias already exists during index creation.""" |
USER_ALREADY_EXISTS = "USER_ALREADY_EXISTS"
USER_SIGNUP_SUCCESSFUL = "USER_SIGNUP_SUCCESSFUL"
CREDENTIALS_INCORRECT = "CREDENTIALS_INCORRECT"
USER_UNREGISTERED = "USER_UNREGISTERED"
ROLL_NUMBER_REQUIRED = "ROLL_NUMBER_REQUIRED"
PASSWORD_REQUIRED = "PASSWORD_REQUIRED"
| user_already_exists = 'USER_ALREADY_EXISTS'
user_signup_successful = 'USER_SIGNUP_SUCCESSFUL'
credentials_incorrect = 'CREDENTIALS_INCORRECT'
user_unregistered = 'USER_UNREGISTERED'
roll_number_required = 'ROLL_NUMBER_REQUIRED'
password_required = 'PASSWORD_REQUIRED' |
class Node:
def __init__(self, val):
self.val = val
self.left = None
self.right = None
def has_path(root, stack, x):
if not root:
return False
stack.append(root.val)
if root.val == x:
return True
if has_path(root.left, stack, x) or has_path(root.right, stack, x):
return True
stack.pop()
return False
def print_path(root, x):
arr = []
if has_path(root, arr, x):
for i in arr:
print(i, end=' ')
else:
print('Path not present')
| class Node:
def __init__(self, val):
self.val = val
self.left = None
self.right = None
def has_path(root, stack, x):
if not root:
return False
stack.append(root.val)
if root.val == x:
return True
if has_path(root.left, stack, x) or has_path(root.right, stack, x):
return True
stack.pop()
return False
def print_path(root, x):
arr = []
if has_path(root, arr, x):
for i in arr:
print(i, end=' ')
else:
print('Path not present') |
def add(x, y):
return x + y
def sub(x, y):
return x - y
# as we implemented new multiply method is started showing error
# crashing our python project
# so testing in python is important
def multiply(x, y):
"""Function to perform multiply"""
return x * (-1 * y)
# return x * y
def division(x, y):
"""Function to perform division"""
if y == 0:
raise ValueError("Can;t divide by zero")
return x / y
def eq(x, y):
"""Function to perform (x+y)*x+(x+y)*y"""
sum = add(x, y)
mult = multiply(sum, x) + multiply(sum, y)
return mult
def boolNot(num):
""" return True if num is not 0 """
return num != 0
def TestIn(num):
"""Return 3 times value of num"""
return num * 3
def GreaterEqual(num):
""" Return Twice the num"""
return num * 2
class Arithmatic:
"""class with add function"""
def __init__(self, *args):
self.foo = list(args)
def add(self, num, foo):
return num + foo
def __repr__(self):
return "Arithmatic: {}".format(self.foo)
def __str__(self):
self.foo = [str(item) for item in self.foo]
return "Arithmatic(string): {}".format(", ".join(self.foo))
def HasAttr(object, method):
"""method should be String"""
if hasattr(object, method):
print("{} has attr {}".format(object, method))
else:
print("{} hasn't attr {}".format(object, method))
h = Arithmatic(10, 20, 30)
result = h.add(10, 20)
string = "Penan"
foo = "ABCD"
bar = "Hello World"
# bar = 1234
a = 10
b = 20
email = "chetanrajput2777c@gmail.com"
| def add(x, y):
return x + y
def sub(x, y):
return x - y
def multiply(x, y):
"""Function to perform multiply"""
return x * (-1 * y)
def division(x, y):
"""Function to perform division"""
if y == 0:
raise value_error('Can;t divide by zero')
return x / y
def eq(x, y):
"""Function to perform (x+y)*x+(x+y)*y"""
sum = add(x, y)
mult = multiply(sum, x) + multiply(sum, y)
return mult
def bool_not(num):
""" return True if num is not 0 """
return num != 0
def test_in(num):
"""Return 3 times value of num"""
return num * 3
def greater_equal(num):
""" Return Twice the num"""
return num * 2
class Arithmatic:
"""class with add function"""
def __init__(self, *args):
self.foo = list(args)
def add(self, num, foo):
return num + foo
def __repr__(self):
return 'Arithmatic: {}'.format(self.foo)
def __str__(self):
self.foo = [str(item) for item in self.foo]
return 'Arithmatic(string): {}'.format(', '.join(self.foo))
def has_attr(object, method):
"""method should be String"""
if hasattr(object, method):
print('{} has attr {}'.format(object, method))
else:
print("{} hasn't attr {}".format(object, method))
h = arithmatic(10, 20, 30)
result = h.add(10, 20)
string = 'Penan'
foo = 'ABCD'
bar = 'Hello World'
a = 10
b = 20
email = 'chetanrajput2777c@gmail.com' |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
# O(h) time | O(h) space - where h is the height of tree
def deleteNode(self, root: Optional[TreeNode], key: int) -> Optional[TreeNode]:
if root is None:
return root
if key > root.val:
root.right = self.deleteNode(root.right, key)
elif key < root.val:
root.left = self.deleteNode(root.left, key)
else:
if root.left is not None and root.right is not None:
min = root.right
while min.left is not None: min = min.left
root.val = min.val
root.right = self.deleteNode(root.right, min.val)
else:
return root.right if root.left is None else root.left
return root
| class Solution:
def delete_node(self, root: Optional[TreeNode], key: int) -> Optional[TreeNode]:
if root is None:
return root
if key > root.val:
root.right = self.deleteNode(root.right, key)
elif key < root.val:
root.left = self.deleteNode(root.left, key)
elif root.left is not None and root.right is not None:
min = root.right
while min.left is not None:
min = min.left
root.val = min.val
root.right = self.deleteNode(root.right, min.val)
else:
return root.right if root.left is None else root.left
return root |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class BSTIterator:
def __init__(self, root: Optional[TreeNode]):
self.nodes_sorted = []
self.index = -1
self._inorder(root)
def _inorder(self, root):
if not root:
return
self._inorder(root.left)
self.nodes_sorted.append(root.val)
self._inorder(root.right)
def next(self) -> int:
self.index += 1
return self.nodes_sorted[self.index]
def hasNext(self) -> bool:
return self.index + 1 < len(self.nodes_sorted)
# Your BSTIterator object will be instantiated and called as such:
# obj = BSTIterator(root)
# param_1 = obj.next()
# param_2 = obj.hasNext() | class Bstiterator:
def __init__(self, root: Optional[TreeNode]):
self.nodes_sorted = []
self.index = -1
self._inorder(root)
def _inorder(self, root):
if not root:
return
self._inorder(root.left)
self.nodes_sorted.append(root.val)
self._inorder(root.right)
def next(self) -> int:
self.index += 1
return self.nodes_sorted[self.index]
def has_next(self) -> bool:
return self.index + 1 < len(self.nodes_sorted) |
class Solution:
def isValidSequence(self, root: TreeNode, arr: List[int]) -> bool:
if len(arr) == 1:
return root and root.val == arr[0] and not root.left and not root.right
if not root or root.val != arr[0]:
return False
return self.isValidSequence(root.left, arr[1:]) or self.isValidSequence(root.right, arr[1:])
| class Solution:
def is_valid_sequence(self, root: TreeNode, arr: List[int]) -> bool:
if len(arr) == 1:
return root and root.val == arr[0] and (not root.left) and (not root.right)
if not root or root.val != arr[0]:
return False
return self.isValidSequence(root.left, arr[1:]) or self.isValidSequence(root.right, arr[1:]) |
#import osgeo._gdal
#import osgeo._gdalconst
#import osgeo._ogr
#import osgeo._osr
#import osgeo
#import gdal
#import gdalconst
#import ogr
#import osr
#
#cnt = ogr.GetDriverCount()
#for i in xrange(cnt):
# print ogr.GetDriver(i).GetName()
#
#import os1_hw
pass
| pass |
class Solution:
def numberOfSteps(self, ans: int) -> int:
steps = 0
while ans != 0:
if ans % 2 == 0:
ans = ans / 2
steps += 1
else:
ans -= 1
steps += 1
return steps
| class Solution:
def number_of_steps(self, ans: int) -> int:
steps = 0
while ans != 0:
if ans % 2 == 0:
ans = ans / 2
steps += 1
else:
ans -= 1
steps += 1
return steps |
class MaxStack:
def __init__(self):
# do intialization if necessary
self.St = []
self.maxSt = []
"""
@param: number: An integer
@return: nothing
"""
def push(self, x):
# write your code here
self.St.append(x)
if not self.maxSt or x >= self.maxSt[-1]:
self.maxSt.append(x)
"""
@return: An integer
"""
def pop(self):
# write your code here
val = self.St.pop()
if val == self.maxSt[-1]:
self.maxSt.pop()
return val
"""
@return: An integer
"""
def top(self):
# write your code here
return self.St[-1]
"""
@return: An integer
"""
def peekMax(self):
# write your code here
return self.maxSt[-1]
"""
@return: An integer
"""
def popMax(self):
# write your code here
val = self.maxSt.pop()
temp = []
while self.St[-1] != val:
temp.append(self.St.pop())
self.St.pop()
self.St.extend(temp)
return val
| class Maxstack:
def __init__(self):
self.St = []
self.maxSt = []
'\n @param: number: An integer\n @return: nothing\n '
def push(self, x):
self.St.append(x)
if not self.maxSt or x >= self.maxSt[-1]:
self.maxSt.append(x)
'\n @return: An integer\n '
def pop(self):
val = self.St.pop()
if val == self.maxSt[-1]:
self.maxSt.pop()
return val
'\n @return: An integer\n '
def top(self):
return self.St[-1]
'\n @return: An integer\n '
def peek_max(self):
return self.maxSt[-1]
'\n @return: An integer\n '
def pop_max(self):
val = self.maxSt.pop()
temp = []
while self.St[-1] != val:
temp.append(self.St.pop())
self.St.pop()
self.St.extend(temp)
return val |
"""
This state module is used to manage Wordpress installations
:depends: wp binary from http://wp-cli.org/
"""
def __virtual__():
if "wordpress.show_plugin" in __salt__:
return True
return (False, "wordpress module could not be loaded")
def installed(name, user, admin_user, admin_password, admin_email, title, url):
"""
Run the initial setup of wordpress
name
path to the wordpress installation
user
user that owns the files for the wordpress installation
admin_user
username for wordpress website administrator user
admin_password
password for wordpress website administrator user
admin_email
email for wordpress website administrator user
title
title for the wordpress website
url
url for the wordpress website
.. code-block:: yaml
/var/www/html:
wordpress.installed:
- title: Daniel's Awesome Blog
- user: apache
- admin_user: dwallace
- admin_email: dwallace@example.com
- admin_password: password123
- url: https://blog.dwallace.com
"""
ret = {"name": name, "changes": {}, "comment": "", "result": False}
check = __salt__["wordpress.is_installed"](name, user)
if check:
ret["result"] = True
ret["comment"] = "Wordpress is already installed: {}".format(name)
return ret
elif __opts__["test"]:
ret["result"] = None
ret["comment"] = "Wordpress will be installed: {}".format(name)
return ret
resp = __salt__["wordpress.install"](
name, user, admin_user, admin_password, admin_email, title, url
)
if resp:
ret["result"] = True
ret["comment"] = "Wordpress Installed: {}".format(name)
ret["changes"] = {"new": resp}
else:
ret["comment"] = "Failed to install wordpress: {}".format(name)
return ret
def activated(name, path, user):
"""
Activate wordpress plugins
name
name of plugin to activate
path
path to wordpress installation
user
user who should own the files in the wordpress installation
.. code-block:: yaml
HyperDB:
wordpress.activated:
- path: /var/www/html
- user: apache
"""
ret = {"name": name, "changes": {}, "comment": "", "result": False}
check = __salt__["wordpress.show_plugin"](name, path, user)
if check["status"] == "active":
ret["result"] = True
ret["comment"] = "Plugin already activated: {}".format(name)
return ret
elif __opts__["test"]:
ret["result"] = None
ret["comment"] = "Plugin will be activated: {}".format(name)
return ret
resp = __salt__["wordpress.activate"](name, path, user)
if resp is True:
ret["result"] = True
ret["comment"] = "Plugin activated: {}".format(name)
ret["changes"] = {
"old": check,
"new": __salt__["wordpress.show_plugin"](name, path, user),
}
elif resp is None:
ret["result"] = True
ret["comment"] = "Plugin already activated: {}".format(name)
ret["changes"] = {
"old": check,
"new": __salt__["wordpress.show_plugin"](name, path, user),
}
else:
ret["comment"] = "Plugin failed to activate: {}".format(name)
return ret
def deactivated(name, path, user):
"""
Deactivate wordpress plugins
name
name of plugin to deactivate
path
path to wordpress installation
user
user who should own the files in the wordpress installation
.. code-block:: yaml
HyperDB:
wordpress.deactivated:
- path: /var/www/html
- user: apache
"""
ret = {"name": name, "changes": {}, "comment": "", "result": False}
check = __salt__["wordpress.show_plugin"](name, path, user)
if check["status"] == "inactive":
ret["result"] = True
ret["comment"] = "Plugin already deactivated: {}".format(name)
return ret
elif __opts__["test"]:
ret["result"] = None
ret["comment"] = "Plugin will be deactivated: {}".format(name)
return ret
resp = __salt__["wordpress.deactivate"](name, path, user)
if resp is True:
ret["result"] = True
ret["comment"] = "Plugin deactivated: {}".format(name)
ret["changes"] = {
"old": check,
"new": __salt__["wordpress.show_plugin"](name, path, user),
}
elif resp is None:
ret["result"] = True
ret["comment"] = "Plugin already deactivated: {}".format(name)
ret["changes"] = {
"old": check,
"new": __salt__["wordpress.show_plugin"](name, path, user),
}
else:
ret["comment"] = "Plugin failed to deactivate: {}".format(name)
return ret
| """
This state module is used to manage Wordpress installations
:depends: wp binary from http://wp-cli.org/
"""
def __virtual__():
if 'wordpress.show_plugin' in __salt__:
return True
return (False, 'wordpress module could not be loaded')
def installed(name, user, admin_user, admin_password, admin_email, title, url):
"""
Run the initial setup of wordpress
name
path to the wordpress installation
user
user that owns the files for the wordpress installation
admin_user
username for wordpress website administrator user
admin_password
password for wordpress website administrator user
admin_email
email for wordpress website administrator user
title
title for the wordpress website
url
url for the wordpress website
.. code-block:: yaml
/var/www/html:
wordpress.installed:
- title: Daniel's Awesome Blog
- user: apache
- admin_user: dwallace
- admin_email: dwallace@example.com
- admin_password: password123
- url: https://blog.dwallace.com
"""
ret = {'name': name, 'changes': {}, 'comment': '', 'result': False}
check = __salt__['wordpress.is_installed'](name, user)
if check:
ret['result'] = True
ret['comment'] = 'Wordpress is already installed: {}'.format(name)
return ret
elif __opts__['test']:
ret['result'] = None
ret['comment'] = 'Wordpress will be installed: {}'.format(name)
return ret
resp = __salt__['wordpress.install'](name, user, admin_user, admin_password, admin_email, title, url)
if resp:
ret['result'] = True
ret['comment'] = 'Wordpress Installed: {}'.format(name)
ret['changes'] = {'new': resp}
else:
ret['comment'] = 'Failed to install wordpress: {}'.format(name)
return ret
def activated(name, path, user):
"""
Activate wordpress plugins
name
name of plugin to activate
path
path to wordpress installation
user
user who should own the files in the wordpress installation
.. code-block:: yaml
HyperDB:
wordpress.activated:
- path: /var/www/html
- user: apache
"""
ret = {'name': name, 'changes': {}, 'comment': '', 'result': False}
check = __salt__['wordpress.show_plugin'](name, path, user)
if check['status'] == 'active':
ret['result'] = True
ret['comment'] = 'Plugin already activated: {}'.format(name)
return ret
elif __opts__['test']:
ret['result'] = None
ret['comment'] = 'Plugin will be activated: {}'.format(name)
return ret
resp = __salt__['wordpress.activate'](name, path, user)
if resp is True:
ret['result'] = True
ret['comment'] = 'Plugin activated: {}'.format(name)
ret['changes'] = {'old': check, 'new': __salt__['wordpress.show_plugin'](name, path, user)}
elif resp is None:
ret['result'] = True
ret['comment'] = 'Plugin already activated: {}'.format(name)
ret['changes'] = {'old': check, 'new': __salt__['wordpress.show_plugin'](name, path, user)}
else:
ret['comment'] = 'Plugin failed to activate: {}'.format(name)
return ret
def deactivated(name, path, user):
"""
Deactivate wordpress plugins
name
name of plugin to deactivate
path
path to wordpress installation
user
user who should own the files in the wordpress installation
.. code-block:: yaml
HyperDB:
wordpress.deactivated:
- path: /var/www/html
- user: apache
"""
ret = {'name': name, 'changes': {}, 'comment': '', 'result': False}
check = __salt__['wordpress.show_plugin'](name, path, user)
if check['status'] == 'inactive':
ret['result'] = True
ret['comment'] = 'Plugin already deactivated: {}'.format(name)
return ret
elif __opts__['test']:
ret['result'] = None
ret['comment'] = 'Plugin will be deactivated: {}'.format(name)
return ret
resp = __salt__['wordpress.deactivate'](name, path, user)
if resp is True:
ret['result'] = True
ret['comment'] = 'Plugin deactivated: {}'.format(name)
ret['changes'] = {'old': check, 'new': __salt__['wordpress.show_plugin'](name, path, user)}
elif resp is None:
ret['result'] = True
ret['comment'] = 'Plugin already deactivated: {}'.format(name)
ret['changes'] = {'old': check, 'new': __salt__['wordpress.show_plugin'](name, path, user)}
else:
ret['comment'] = 'Plugin failed to deactivate: {}'.format(name)
return ret |
SEQUENCE = [
'webhooktarget_extra_state',
'webhooktarget_extra_data_null',
'manytomanyfield_rm_null',
]
| sequence = ['webhooktarget_extra_state', 'webhooktarget_extra_data_null', 'manytomanyfield_rm_null'] |
# https://www.codewars.com/kata/5868b2de442e3fb2bb000119
def closest(strng):
if not strng:
return []
arr = [i for i in strng.split()]
arr_num = []
for i in arr:
sum_num = 0
for j in i:
sum_num += int(j)
arr_num.append(sum_num)
arr = [int(i) for i in arr]
n = len(arr)
new_arr = sorted(list(zip(arr_num, range(n), arr)), key=lambda x: x[0])
c = []
i = 0
while i + 1 < n:
c.append(new_arr[i + 1][0] - new_arr[i][0])
i += 1
pos = c.index(min(c))
return [[*new_arr[pos]], [*new_arr[pos + 1]]]
| def closest(strng):
if not strng:
return []
arr = [i for i in strng.split()]
arr_num = []
for i in arr:
sum_num = 0
for j in i:
sum_num += int(j)
arr_num.append(sum_num)
arr = [int(i) for i in arr]
n = len(arr)
new_arr = sorted(list(zip(arr_num, range(n), arr)), key=lambda x: x[0])
c = []
i = 0
while i + 1 < n:
c.append(new_arr[i + 1][0] - new_arr[i][0])
i += 1
pos = c.index(min(c))
return [[*new_arr[pos]], [*new_arr[pos + 1]]] |
#
# PySNMP MIB module PCSYSTEMSMIF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PCSYSTEMSMIF-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:37:55 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
IpAddress, Bits, NotificationType, enterprises, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, TimeTicks, Counter64, Unsigned32, ModuleIdentity, ObjectIdentity, Integer32, iso, Counter32, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Bits", "NotificationType", "enterprises", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "TimeTicks", "Counter64", "Unsigned32", "ModuleIdentity", "ObjectIdentity", "Integer32", "iso", "Counter32", "Gauge32")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
class DmiCounter(Integer32):
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 4294967295)
class DmiInteger(Integer32):
pass
class DmiInteger64(Integer32):
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(-18446744073709551615, 18446744073709551615)
class DmiOctetstring(OctetString):
pass
class DmiDisplaystring(DisplayString):
pass
class DmiDate(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(28, 28)
fixedLength = 28
class DmiComponentIndex(Integer32):
pass
ibm = MibIdentifier((1, 3, 6, 1, 4, 1, 2))
ibmProd = MibIdentifier((1, 3, 6, 1, 4, 1, 2, 6))
netFinity = MibIdentifier((1, 3, 6, 1, 4, 1, 2, 6, 71))
dmiMibs = MibIdentifier((1, 3, 6, 1, 4, 1, 2, 6, 71, 200))
netFinitySystemsMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1))
dmtfGroups1 = MibIdentifier((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1))
tComponentid1 = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1), )
if mibBuilder.loadTexts: tComponentid1.setStatus('mandatory')
if mibBuilder.loadTexts: tComponentid1.setDescription('This group defines the attributes common to all components. This group is required.')
eComponentid1 = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eComponentid1.setStatus('mandatory')
if mibBuilder.loadTexts: eComponentid1.setDescription('')
a1Manufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 1), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a1Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts: a1Manufacturer.setDescription('Manufacturer of this system described by this component.')
a1Product = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a1Product.setStatus('mandatory')
if mibBuilder.loadTexts: a1Product.setDescription('Product name for the system described by this component.')
a1Version = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a1Version.setStatus('mandatory')
if mibBuilder.loadTexts: a1Version.setDescription('Version number of this component.')
a1SerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a1SerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a1SerialNumber.setDescription('Serial number for the system described by this component.')
tGeneralInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2), )
if mibBuilder.loadTexts: tGeneralInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tGeneralInformation.setDescription('This group defines general information about this system.')
eGeneralInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eGeneralInformation.setStatus('mandatory')
if mibBuilder.loadTexts: eGeneralInformation.setDescription('')
a2SystemName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 1), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a2SystemName.setStatus('mandatory')
if mibBuilder.loadTexts: a2SystemName.setDescription('A name to identify this system.')
a2SystemLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 2), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a2SystemLocation.setStatus('mandatory')
if mibBuilder.loadTexts: a2SystemLocation.setDescription('The physical location of this system.')
a2SystemPrimaryUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 3), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a2SystemPrimaryUserName.setStatus('mandatory')
if mibBuilder.loadTexts: a2SystemPrimaryUserName.setDescription('The name of the primary user or owner of this system.')
a2SystemPrimaryUserPhone = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 4), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a2SystemPrimaryUserPhone.setStatus('mandatory')
if mibBuilder.loadTexts: a2SystemPrimaryUserPhone.setDescription('The phone number of the primary user of this system.')
a2SystemBootUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 5), DmiDate()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a2SystemBootUpTime.setStatus('mandatory')
if mibBuilder.loadTexts: a2SystemBootUpTime.setDescription('The time at which the system was last booted')
a2SystemDateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 6), DmiDate()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a2SystemDateTime.setStatus('mandatory')
if mibBuilder.loadTexts: a2SystemDateTime.setDescription('This attribute returns the actual system date and time.')
tOperatingSystem = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3), )
if mibBuilder.loadTexts: tOperatingSystem.setStatus('mandatory')
if mibBuilder.loadTexts: tOperatingSystem.setDescription('This group defines general information about operating systems installed on this system.')
eOperatingSystem = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a3OperatingSystemIndex"))
if mibBuilder.loadTexts: eOperatingSystem.setStatus('mandatory')
if mibBuilder.loadTexts: eOperatingSystem.setDescription('')
a3OperatingSystemIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemIndex.setDescription('The index into the operating system table.')
a3OperatingSystemName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemName.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemName.setDescription('The name of this operating system.')
a3OperatingSystemVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemVersion.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemVersion.setDescription('The version number of this operating system.')
a3PrimaryOperatingSystem = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3PrimaryOperatingSystem.setStatus('mandatory')
if mibBuilder.loadTexts: a3PrimaryOperatingSystem.setDescription('If true, this is the primary operating system.')
a3OperatingSystemBootDeviceStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vHard-disk", 3), ("vFloppy-disk", 4), ("vOptical-rom", 5), ("vOptical-worm", 6), ("vOptical-rw", 7), ("vCompact-disk", 8), ("vFlash-disk", 9), ("vBernoulli", 10), ("vOpticalFloppyDisk", 11)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemBootDeviceStorageType.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemBootDeviceStorageType.setDescription('An index into the Disks Table to indicate the device from which this operating system was booted. To fully access the Disks Table, this index must be combined with the attribute Boot Device Index')
a3OperatingSystemBootDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemBootDeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemBootDeviceIndex.setDescription('An index into the Disks Table')
a3OperatingSystemBootPartitionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemBootPartitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemBootPartitionIndex.setDescription('An index into the Partition table indicating the partition from which this operating system booted.')
a3OperatingSystemDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 8), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a3OperatingSystemDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a3OperatingSystemDescription.setDescription('A description of this operating system.')
tSystemBios = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4), )
if mibBuilder.loadTexts: tSystemBios.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemBios.setDescription('This group defines the attributes for the System BIOS.')
eSystemBios = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a4BiosIndex"))
if mibBuilder.loadTexts: eSystemBios.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemBios.setDescription('')
a4BiosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4BiosIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a4BiosIndex.setDescription('The index into the system BIOS table.')
a4Manufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts: a4Manufacturer.setDescription('The name of the company that wrote this System BIOS.')
a4Version = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4Version.setStatus('mandatory')
if mibBuilder.loadTexts: a4Version.setDescription('The version number or version string of this BIOS.')
a4BiosRomSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4BiosRomSize.setStatus('mandatory')
if mibBuilder.loadTexts: a4BiosRomSize.setDescription('The physical size of this BIOS ROM device in Kilo Bytes')
a4StartingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 5), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4StartingAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a4StartingAddress.setDescription('The starting physical address for the memory which the BIOS occupies')
a4EndingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 6), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4EndingAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a4EndingAddress.setDescription('The ending physical address for the memory which the BIOS occupies')
a4LoaderVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 7), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4LoaderVersion.setStatus('mandatory')
if mibBuilder.loadTexts: a4LoaderVersion.setDescription('The BIOS flash loader version number or string.')
a4BiosReleaseDate = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 8), DmiDate()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4BiosReleaseDate.setStatus('mandatory')
if mibBuilder.loadTexts: a4BiosReleaseDate.setDescription('The BIOS release date.')
a4PrimaryBios = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a4PrimaryBios.setStatus('mandatory')
if mibBuilder.loadTexts: a4PrimaryBios.setDescription('If true, this is the primary System BIOS.')
tSystemBiosCharacteristic = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5), )
if mibBuilder.loadTexts: tSystemBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemBiosCharacteristic.setDescription('This group defines the characteristics for the System BIOS.')
eSystemBiosCharacteristic = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a5BiosCharacteristicsIndex"), (0, "PCSYSTEMSMIF-MIB", "a5BiosNumber"))
if mibBuilder.loadTexts: eSystemBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemBiosCharacteristic.setDescription('')
a5BiosCharacteristicsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a5BiosCharacteristicsIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a5BiosCharacteristicsIndex.setDescription('This is an index into the BIOS Characteristics table. ')
a5BiosNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a5BiosNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a5BiosNumber.setDescription('This field refers to the BIOS number, which correlates to the System BIOS Index. ')
a5BiosCharacteristics = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vUnsupported", 3), ("vIsa-support", 4), ("vMca-support", 5), ("vEisa-support", 6), ("vPci-support", 7), ("vPcmcia-support", 8), ("vPnp-support", 9), ("vApmSupport", 10), ("vUpgradeable-bios", 11), ("vBios-shadowing-allowed", 12), ("vVl-vesa-support", 13), ("vEscdSupport", 14)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a5BiosCharacteristics.setStatus('mandatory')
if mibBuilder.loadTexts: a5BiosCharacteristics.setDescription('The different attributes supported by this version of the BIOS')
a5BiosCharacteristicsDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a5BiosCharacteristicsDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a5BiosCharacteristicsDescription.setDescription('An expanded description of this BIOS Characteristic.')
tProcessor = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6), )
if mibBuilder.loadTexts: tProcessor.setStatus('mandatory')
if mibBuilder.loadTexts: tProcessor.setDescription('This group defines the attributes for each and every processor installed in this system.')
eProcessor = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a6ProcessorIndex"))
if mibBuilder.loadTexts: eProcessor.setStatus('mandatory')
if mibBuilder.loadTexts: eProcessor.setDescription('')
a6ProcessorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6ProcessorIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a6ProcessorIndex.setDescription('An index into the processor table.')
a6Type = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vCentralProcessor", 3), ("vMath-processor", 4), ("vDsp-processor", 5), ("vVideo-processor", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6Type.setStatus('mandatory')
if mibBuilder.loadTexts: a6Type.setDescription('The type of processor currently in the system.')
a6ProcessorFamily = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 32, 48, 64, 80, 96, 112, 128, 144))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("v8086", 3), ("v80286", 4), ("v80386", 5), ("v80486", 6), ("v8087", 7), ("v80287", 8), ("v80387", 9), ("v80487", 10), ("vPentiumFamily", 11), ("vPowerPcFamily", 32), ("vAlphaFamily", 48), ("vMipsFamily", 64), ("vSparcFamily", 80), ("v68040Family", 96), ("vHobbitFamily", 112), ("vWeitek", 128), ("vPa-riscFamily", 144)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6ProcessorFamily.setStatus('mandatory')
if mibBuilder.loadTexts: a6ProcessorFamily.setDescription('The family of processors to which this processor belongs.')
a6VersionInformation = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6VersionInformation.setStatus('mandatory')
if mibBuilder.loadTexts: a6VersionInformation.setDescription('The version number or string for this processor.')
a6MaximumSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6MaximumSpeed.setStatus('mandatory')
if mibBuilder.loadTexts: a6MaximumSpeed.setDescription('The maximum speed (in MHz) of this processor.')
a6CurrentSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6CurrentSpeed.setStatus('mandatory')
if mibBuilder.loadTexts: a6CurrentSpeed.setDescription('The current speed (in MHz) of this processor.')
a6ProcessorUpgrade = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vDaughterBoard", 3), ("vZifSocket", 4), ("vReplacementpiggyBack", 5), ("vNone", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6ProcessorUpgrade.setStatus('mandatory')
if mibBuilder.loadTexts: a6ProcessorUpgrade.setDescription('The method by which this processor can be upgraded, if upgrades are supported. ')
a6FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a6FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a6OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 9), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a6OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a6OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tMotherboard = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7), )
if mibBuilder.loadTexts: tMotherboard.setStatus('mandatory')
if mibBuilder.loadTexts: tMotherboard.setDescription('This group defines attributes for the mother board')
eMotherboard = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eMotherboard.setStatus('mandatory')
if mibBuilder.loadTexts: eMotherboard.setDescription('')
a7NumberOfExpansionSlots = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a7NumberOfExpansionSlots.setStatus('mandatory')
if mibBuilder.loadTexts: a7NumberOfExpansionSlots.setDescription('This attribute indicates the total number of expansion slots which physically exist on the motherboard whether occupied or not (See System Slots groups)')
a7FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a7FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a7FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a7OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a7OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a7OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tPhysicalMemory = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8), )
if mibBuilder.loadTexts: tPhysicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts: tPhysicalMemory.setDescription('This group defines the physical attributes for system memory and any add- on memory installed in this system.')
ePhysicalMemory = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a8PhysicalMemoryIndex"))
if mibBuilder.loadTexts: ePhysicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts: ePhysicalMemory.setDescription('')
a8PhysicalMemoryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8PhysicalMemoryIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a8PhysicalMemoryIndex.setDescription('An index into the physical memory table.')
a8PhysicalMemoryLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vSystemBoardOrMotherBoard", 3), ("vIsaAddOnCard", 4), ("vEisaAddOnCard", 5), ("vPciAddOnCard", 6), ("vMcaAddOnCard", 7), ("vPcmciaAddOnCard", 8), ("vProprietaryAddOnCard", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8PhysicalMemoryLocation.setStatus('mandatory')
if mibBuilder.loadTexts: a8PhysicalMemoryLocation.setDescription('The location of the memory modules, whether on the system board or an add on board.')
a8MemoryStartingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 3), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8MemoryStartingAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a8MemoryStartingAddress.setDescription('This is the starting physical address mapped by this memory component')
a8MemoryEndingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 4), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8MemoryEndingAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a8MemoryEndingAddress.setDescription('This is the ending physical address mapped by this memory component')
a8MemoryUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vSystemMemory", 3), ("vVideoMemory", 4), ("vFlashMemory", 5), ("vNonVolatileRam", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8MemoryUsage.setStatus('mandatory')
if mibBuilder.loadTexts: a8MemoryUsage.setDescription('What this memory component is used for.')
a8MaximumMemoryCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8MaximumMemoryCapacity.setStatus('mandatory')
if mibBuilder.loadTexts: a8MaximumMemoryCapacity.setDescription('The maximum memory capacity, in MegaBytes on this device.')
a8NumberOfSimmSlots = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8NumberOfSimmSlots.setStatus('mandatory')
if mibBuilder.loadTexts: a8NumberOfSimmSlots.setDescription('The number of SIMM slots available for this type of memory on this device.')
a8NumberOfSimmSlotsUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8NumberOfSimmSlotsUsed.setStatus('mandatory')
if mibBuilder.loadTexts: a8NumberOfSimmSlotsUsed.setDescription('The number of SIMM slots in use for this type of memory on this device')
a8MemorySpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 9), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8MemorySpeed.setStatus('mandatory')
if mibBuilder.loadTexts: a8MemorySpeed.setDescription('The speed of this memory component in nano seconds')
a8MemoryErrorCorrection = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vNone", 3), ("vParity", 4), ("vSingleBitEcc", 5), ("vMultibitEcc", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8MemoryErrorCorrection.setStatus('mandatory')
if mibBuilder.loadTexts: a8MemoryErrorCorrection.setDescription('The main type of error correction scheme supported by this memory component.')
a8FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 11), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a8FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a8OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 12), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a8OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a8OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tLogicalMemory = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9), )
if mibBuilder.loadTexts: tLogicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts: tLogicalMemory.setDescription('This group defines the logical memory attributes for system memory and any add-on memory installed in this system.')
eLogicalMemory = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eLogicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts: eLogicalMemory.setDescription('')
a9BaseMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9BaseMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a9BaseMemorySize.setDescription('The total size of the base memory in Kilo Bytes.')
a9FreeBaseMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9FreeBaseMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a9FreeBaseMemorySize.setDescription('The size of free base memory in Kilo Bytes.')
a9ExtendedMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExtendedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExtendedMemorySize.setDescription('The total size of the extended memory in Kilo Bytes.')
a9FreeExtendedMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9FreeExtendedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a9FreeExtendedMemorySize.setDescription('The size of free extended memory in Kilo Bytes.')
a9ExtendedMemoryManagerName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 5), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExtendedMemoryManagerName.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExtendedMemoryManagerName.setDescription('The name of the extended memory manager.')
a9ExtendedMemoryManagerVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 6), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExtendedMemoryManagerVersion.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExtendedMemoryManagerVersion.setDescription('The version information of the extended memory manager.')
a9ExpandedMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExpandedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExpandedMemorySize.setDescription('The total size of the expanded memory in Kilo Bytes.')
a9FreeExpandedMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9FreeExpandedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a9FreeExpandedMemorySize.setDescription('The size of free expanded memory in Kilo Bytes.')
a9ExpandedMemoryManagerName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 9), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExpandedMemoryManagerName.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExpandedMemoryManagerName.setDescription('The name of the expanded memory manager.')
a9ExpandedMemoryManagerVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 10), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExpandedMemoryManagerVersion.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExpandedMemoryManagerVersion.setDescription('The version information of the expanded memory manager.')
a9ExpandedMemoryPageFrameAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 11), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExpandedMemoryPageFrameAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExpandedMemoryPageFrameAddress.setDescription('The starting physical address of the expanded memory page frame.')
a9ExpandedMemoryPageFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 12), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExpandedMemoryPageFrameSize.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExpandedMemoryPageFrameSize.setDescription('The size in Kilo Bytes of the expanded memory page frame.')
a9ExpandedMemoryPageSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 13), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a9ExpandedMemoryPageSize.setStatus('mandatory')
if mibBuilder.loadTexts: a9ExpandedMemoryPageSize.setDescription('The size in Kilo Bytes of an expanded memory page, as opposed to the expanded memory page frame, which consists of a number of memory pages.')
tSystemCache = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10), )
if mibBuilder.loadTexts: tSystemCache.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemCache.setDescription('This group defines the attributes for different System Caches installed in this system.')
eSystemCache = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a10SystemCacheIndex"))
if mibBuilder.loadTexts: eSystemCache.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemCache.setDescription('')
a10SystemCacheIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10SystemCacheIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a10SystemCacheIndex.setDescription('An index into the System Cache table.')
a10SystemCacheLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vPrimary", 3), ("vSecondary", 4), ("vTertiary", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10SystemCacheLevel.setStatus('mandatory')
if mibBuilder.loadTexts: a10SystemCacheLevel.setDescription('Defines primary or secondary System Cache, or a subsidiary cache.')
a10SystemCacheSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10SystemCacheSpeed.setStatus('mandatory')
if mibBuilder.loadTexts: a10SystemCacheSpeed.setDescription('The speed of this System Cache module in nano seconds')
a10SystemCacheSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10SystemCacheSize.setStatus('mandatory')
if mibBuilder.loadTexts: a10SystemCacheSize.setDescription('The size of this System Cache module in Kilo Bytes.')
a10SystemCacheWritePolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vWriteBack", 3), ("vWriteThrough", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10SystemCacheWritePolicy.setStatus('mandatory')
if mibBuilder.loadTexts: a10SystemCacheWritePolicy.setDescription('Is this a write-back or a write-through cache?')
a10SystemCacheErrorCorrection = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vNone", 3), ("vParity", 4), ("vSingleBitEcc", 5), ("vMultibitEcc", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10SystemCacheErrorCorrection.setStatus('mandatory')
if mibBuilder.loadTexts: a10SystemCacheErrorCorrection.setDescription('This field describes the main type of error correction scheme supported by thiscache component.')
a10FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a10FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides an index into the FRU table.A Value = -1 means that the group is not a FRU')
a10OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a10OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a10OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tParallelPorts = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11), )
if mibBuilder.loadTexts: tParallelPorts.setStatus('mandatory')
if mibBuilder.loadTexts: tParallelPorts.setDescription('This group defines the attributes for parallel ports in this system.')
eParallelPorts = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a11ParallelPortIndex"))
if mibBuilder.loadTexts: eParallelPorts.setStatus('mandatory')
if mibBuilder.loadTexts: eParallelPorts.setDescription('')
a11ParallelPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11ParallelPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a11ParallelPortIndex.setDescription('An index into the parallel ports table.')
a11ParallelBaseIoAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 2), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11ParallelBaseIoAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a11ParallelBaseIoAddress.setDescription('Base I/O address for this parallel port.')
a11IrqUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11IrqUsed.setStatus('mandatory')
if mibBuilder.loadTexts: a11IrqUsed.setDescription('IRQ number that is being used by this parallel port.')
a11LogicalName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11LogicalName.setStatus('mandatory')
if mibBuilder.loadTexts: a11LogicalName.setDescription('The logical name of the I/O device on this parallel port, under this operating environment.')
a11ConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vDb-25Female", 3), ("vDb-25Male", 4), ("vCentronics", 5), ("vMini-centronics", 6), ("vProprietary", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11ConnectorType.setStatus('mandatory')
if mibBuilder.loadTexts: a11ConnectorType.setDescription('The connector used to interface with this I/O device on this parallel port.')
a11ConnectorPinout = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vXtat", 3), ("vPs2", 4), ("vIeee1284", 5), ("vProprietary", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11ConnectorPinout.setStatus('mandatory')
if mibBuilder.loadTexts: a11ConnectorPinout.setDescription('The pinout used by the I/O device on this parallel port.')
a11DmaSupport = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11DmaSupport.setStatus('mandatory')
if mibBuilder.loadTexts: a11DmaSupport.setDescription('If true, DMA is supported.')
a11ParallelPortCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11ParallelPortCapabilities.setStatus('mandatory')
if mibBuilder.loadTexts: a11ParallelPortCapabilities.setDescription('Capabilities of this parallel port. This is a bit field mask with the bits defined as follows: Bit 0 set = XT/AT compatible Bit 1 set = PS/2 compatible Bit 2 set = ECP Bit 3 set = EPP')
a11OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 9), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a11OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a11OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tSerialPorts = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12), )
if mibBuilder.loadTexts: tSerialPorts.setStatus('mandatory')
if mibBuilder.loadTexts: tSerialPorts.setDescription('This group defines the attributes for serial ports in this system.')
eSerialPorts = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a12SerialPortIndex"))
if mibBuilder.loadTexts: eSerialPorts.setStatus('mandatory')
if mibBuilder.loadTexts: eSerialPorts.setDescription('')
a12SerialPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12SerialPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a12SerialPortIndex.setDescription('An index into the serial ports table.')
a12SerialBaseIo = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 2), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12SerialBaseIo.setStatus('mandatory')
if mibBuilder.loadTexts: a12SerialBaseIo.setDescription('Base I/O address for this serial port.')
a12IrqUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12IrqUsed.setStatus('mandatory')
if mibBuilder.loadTexts: a12IrqUsed.setDescription('IRQ number that is being used by this serial port.')
a12LogicalName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12LogicalName.setStatus('mandatory')
if mibBuilder.loadTexts: a12LogicalName.setDescription('The logical name of this serial port under this operating environment.')
a12ConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vDb-9PinMale", 3), ("vDb-9PinFemale", 4), ("vDb-25PinMale", 5), ("vDb-25PinFemale", 6), ("vRj-11", 7), ("vRj-45", 8), ("vProprietary", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12ConnectorType.setStatus('mandatory')
if mibBuilder.loadTexts: a12ConnectorType.setDescription('The connector used to interface with the I/O device on this serial port.')
a12MaximumSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12MaximumSpeed.setStatus('mandatory')
if mibBuilder.loadTexts: a12MaximumSpeed.setDescription('Maximum transfer speed of the device on this serial port in bits per second.')
a12SerialPortCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vXtatCcompatible", 3), ("v16450Compatible", 4), ("v16550Compatible", 5), ("v16550aCompatible", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12SerialPortCapabilities.setStatus('mandatory')
if mibBuilder.loadTexts: a12SerialPortCapabilities.setDescription('The capabilities of this Serial port.')
a12OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a12OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a12OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tIrq = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13), )
if mibBuilder.loadTexts: tIrq.setStatus('mandatory')
if mibBuilder.loadTexts: tIrq.setDescription('This groups defines attributes for IRQs in this system.')
eIrq = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a13IrqNumber"))
if mibBuilder.loadTexts: eIrq.setStatus('mandatory')
if mibBuilder.loadTexts: eIrq.setDescription('')
a13IrqNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a13IrqNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a13IrqNumber.setDescription('The current IRQ number for this IRQ.')
a13AvailabilityOfIrq = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vAvailable", 3), ("vInUse", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a13AvailabilityOfIrq.setStatus('mandatory')
if mibBuilder.loadTexts: a13AvailabilityOfIrq.setDescription('Is this IRQ available or in use.')
a13IrqTriggerType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vLevel", 3), ("vEdge", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a13IrqTriggerType.setStatus('mandatory')
if mibBuilder.loadTexts: a13IrqTriggerType.setDescription('The attribute indicates the trigger type of the IRQ')
a13IrqShareable = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a13IrqShareable.setStatus('mandatory')
if mibBuilder.loadTexts: a13IrqShareable.setDescription('If true, this IRQ is shareable.')
a13IrqDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 5), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a13IrqDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a13IrqDescription.setDescription('The name of the logical device name that is currently using this IRQ.')
tDma = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14), )
if mibBuilder.loadTexts: tDma.setStatus('mandatory')
if mibBuilder.loadTexts: tDma.setDescription('This group defines various attributes for the various DMA channels in this system.')
eDma = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a14DmaNumber"))
if mibBuilder.loadTexts: eDma.setStatus('mandatory')
if mibBuilder.loadTexts: eDma.setDescription('')
a14DmaNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a14DmaNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a14DmaNumber.setDescription('The current DMA channel number.')
a14AvailabilityOfDma = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a14AvailabilityOfDma.setStatus('mandatory')
if mibBuilder.loadTexts: a14AvailabilityOfDma.setDescription('If true, this DMA channel is available.')
a14DmaBurstMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a14DmaBurstMode.setStatus('mandatory')
if mibBuilder.loadTexts: a14DmaBurstMode.setDescription('If true, this DMA channel supports burst mode.')
a14DmaDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a14DmaDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a14DmaDescription.setDescription('The name of the logical device that is currently using this DMA channel.')
tMemoryMappedIo = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15), )
if mibBuilder.loadTexts: tMemoryMappedIo.setStatus('mandatory')
if mibBuilder.loadTexts: tMemoryMappedIo.setDescription('This group defines various attributes for memory mapped I/O on this system.')
eMemoryMappedIo = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a15MemoryMappedIoStartingAddress"))
if mibBuilder.loadTexts: eMemoryMappedIo.setStatus('mandatory')
if mibBuilder.loadTexts: eMemoryMappedIo.setDescription('')
a15MemoryMappedIoStartingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1, 1), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a15MemoryMappedIoStartingAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a15MemoryMappedIoStartingAddress.setDescription('The starting address of a contiguous System memory mapped I/O region.')
a15MemoryMappedIoEndingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1, 2), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a15MemoryMappedIoEndingAddress.setStatus('mandatory')
if mibBuilder.loadTexts: a15MemoryMappedIoEndingAddress.setDescription('The ending address of a contiguous System memory mapped I/O region.')
a15MemoryMappedIoDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a15MemoryMappedIoDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a15MemoryMappedIoDescription.setDescription('The name of the logical device currently using this Memory Mapped I/O.')
tSystemEnclosure = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16), )
if mibBuilder.loadTexts: tSystemEnclosure.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemEnclosure.setDescription('This group defines the attributes for the system enclosure.')
eSystemEnclosure = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eSystemEnclosure.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemEnclosure.setDescription('')
a16EnclosureOrChassis = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vDesktop", 3), ("vLowProfileDesktop", 4), ("vPizzaBox", 5), ("vMiniTower", 6), ("vTower", 7), ("vPortable", 8), ("vLaptop", 9), ("vNotebook", 10), ("vHandHeld", 11), ("vDockingStation", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16EnclosureOrChassis.setStatus('mandatory')
if mibBuilder.loadTexts: a16EnclosureOrChassis.setDescription('The type of Enclosure.')
a16AssetTag = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 2), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a16AssetTag.setStatus('mandatory')
if mibBuilder.loadTexts: a16AssetTag.setDescription('The system asset tag number or string')
a16ChassisLockPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16ChassisLockPresent.setStatus('mandatory')
if mibBuilder.loadTexts: a16ChassisLockPresent.setDescription('If true, a chassis lock is present.')
a16BootUpState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vSafe", 3), ("vWarning", 4), ("vCritical", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16BootUpState.setStatus('mandatory')
if mibBuilder.loadTexts: a16BootUpState.setDescription('The current state of this system when it booted.')
a16PowerState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vSafe", 3), ("vWarning", 4), ("vCritical", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16PowerState.setStatus('mandatory')
if mibBuilder.loadTexts: a16PowerState.setDescription('The current state of the power supply state for this system.')
a16ThermalState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vSafe", 3), ("vWarning", 4), ("vCritical", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16ThermalState.setStatus('mandatory')
if mibBuilder.loadTexts: a16ThermalState.setDescription('The current thermal state of this system.')
a16FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a16FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a16OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a16OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a16OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tPowerSupply = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17), )
if mibBuilder.loadTexts: tPowerSupply.setStatus('mandatory')
if mibBuilder.loadTexts: tPowerSupply.setDescription('This group defines various attributes for power supplies in this system.')
ePowerSupply = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a17PowerSupplyIndex"))
if mibBuilder.loadTexts: ePowerSupply.setStatus('mandatory')
if mibBuilder.loadTexts: ePowerSupply.setDescription('')
a17PowerSupplyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a17PowerSupplyIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a17PowerSupplyIndex.setDescription('The index number of the current power supply.')
a17FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a17FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a17FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a17OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a17OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a17OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tCoolingDevice = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18), )
if mibBuilder.loadTexts: tCoolingDevice.setStatus('mandatory')
if mibBuilder.loadTexts: tCoolingDevice.setDescription('This group defines various attributes for cooling devices in this system.')
eCoolingDevice = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a18CoolingDeviceIndex"))
if mibBuilder.loadTexts: eCoolingDevice.setStatus('mandatory')
if mibBuilder.loadTexts: eCoolingDevice.setDescription('')
a18CoolingDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a18CoolingDeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a18CoolingDeviceIndex.setDescription('An index into the cooling device table.')
a18FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a18FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a18FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a18OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a18OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a18OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
tSystemSlots = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19), )
if mibBuilder.loadTexts: tSystemSlots.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemSlots.setDescription('This group defines the attributes for the different system expansion slots supported in this system.')
eSystemSlots = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a19SlotIndex"))
if mibBuilder.loadTexts: eSystemSlots.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemSlots.setDescription('')
a19SlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a19SlotIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a19SlotIndex.setDescription('An index into the system slot table. This is the hardware ID number for each expansion slot, whether it is occupied or not (starting with 1)')
a19SlotType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 18, 20, 24))).clone(namedValues=NamedValues(("vUnknown", 1), ("vIsa", 2), ("vEisa", 4), ("vMca", 8), ("vPci", 16), ("vPciIsa", 18), ("vPciEisa", 20), ("vPciMca", 24)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a19SlotType.setStatus('mandatory')
if mibBuilder.loadTexts: a19SlotType.setDescription('The bus type supported in this slot. This is a bit field with the following definitions.Bit 0, if set, means it is a long-length card; if 0, it is a short-length cardBit 1, if set, is ISA, Bit 2 is EISA, Bit 3 is MCA, Bit 4 is PCI, Bit 5 is VL, and Bit 6 is PCMCIA.')
a19SlotWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("v8BitCard", 3), ("v16BitCard", 4), ("v32BitCard", 5), ("v64BitCard", 6), ("v128BitCard", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a19SlotWidth.setStatus('mandatory')
if mibBuilder.loadTexts: a19SlotWidth.setDescription('The maximum bus width of cards accepted in this slot.')
a19CurrentUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vAvailable", 3), ("vInUse1", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a19CurrentUsage.setStatus('mandatory')
if mibBuilder.loadTexts: a19CurrentUsage.setDescription('Is this slot is currently in use?')
a19SlotDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 5), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a19SlotDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a19SlotDescription.setDescription('The field describes the card currently occupying this slot.')
tVideo = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20), )
if mibBuilder.loadTexts: tVideo.setStatus('mandatory')
if mibBuilder.loadTexts: tVideo.setDescription('This group defines the attributes of video devices in this system.')
eVideo = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a20VideoIndex"))
if mibBuilder.loadTexts: eVideo.setStatus('mandatory')
if mibBuilder.loadTexts: eVideo.setDescription('')
a20VideoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20VideoIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a20VideoIndex.setDescription('An index into the video table.')
a20VideoType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vCga", 3), ("vEga", 4), ("vVga", 5), ("vSvga", 6), ("vMda", 7), ("vHgc", 8), ("vMcga", 9), ("v8514a", 10), ("vXga", 11), ("vLinearFrameBuffer", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20VideoType.setStatus('mandatory')
if mibBuilder.loadTexts: a20VideoType.setDescription('The architecture of the video subsystem in this system.')
a20CurrentVideoMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentVideoMode.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentVideoMode.setDescription('The current video mode in this system')
a20MinimumRefreshRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20MinimumRefreshRate.setStatus('mandatory')
if mibBuilder.loadTexts: a20MinimumRefreshRate.setDescription('The minimum refresh rate for this video subsystem in Hz.')
a20MaximumRefreshRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20MaximumRefreshRate.setStatus('mandatory')
if mibBuilder.loadTexts: a20MaximumRefreshRate.setDescription('The maximum refresh rate for this video subsystem in Hz.')
a20VideoMemoryType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vVram", 3), ("vDram", 4), ("vSram", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20VideoMemoryType.setStatus('mandatory')
if mibBuilder.loadTexts: a20VideoMemoryType.setDescription('The type of Video Memory for this adapter.')
a20VideoRamMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20VideoRamMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts: a20VideoRamMemorySize.setDescription('Video adapter memory size in Kilo Bytes.')
a20ScanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vInterlaced", 3), ("vNonInterlaced", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20ScanMode.setStatus('mandatory')
if mibBuilder.loadTexts: a20ScanMode.setDescription('The scan mode for this video device.')
a20VideoPhysicalLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vIntegrated", 3), ("vAddOnCard", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20VideoPhysicalLocation.setStatus('mandatory')
if mibBuilder.loadTexts: a20VideoPhysicalLocation.setDescription('The location of the video controller circuitry.')
a20CurrentVerticalResolution = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 10), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentVerticalResolution.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentVerticalResolution.setDescription('The current number of vertical pixels.')
a20CurrentHorizontalResolution = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 11), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentHorizontalResolution.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentHorizontalResolution.setDescription('The current number of horizontal pixels.')
a20CurrentNumberOfBitsPerPixel = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 12), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentNumberOfBitsPerPixel.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentNumberOfBitsPerPixel.setDescription('The number of bits used to display each pixel for this video device.')
a20CurrentNumberOfRows = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 13), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentNumberOfRows.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentNumberOfRows.setDescription('The number of rows in character mode for this video device.')
a20CurrentNumberOfColumns = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 14), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentNumberOfColumns.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentNumberOfColumns.setDescription('The number of columns in character mode for this video device.')
a20CurrentRefreshRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 15), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20CurrentRefreshRate.setStatus('mandatory')
if mibBuilder.loadTexts: a20CurrentRefreshRate.setDescription('The current refresh rate in Hz for this video device.')
a20FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 16), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a20FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another RU, this provides an index into the FRU table. A value = -1 means that the group is not a FRU.')
a20OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 17), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a20OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a20OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
tVideoBios = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21), )
if mibBuilder.loadTexts: tVideoBios.setStatus('mandatory')
if mibBuilder.loadTexts: tVideoBios.setDescription('This group defines the attributes for the Video BIOS.')
eVideoBios = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a21VideoBiosIndex"))
if mibBuilder.loadTexts: eVideoBios.setStatus('mandatory')
if mibBuilder.loadTexts: eVideoBios.setDescription('')
a21VideoBiosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a21VideoBiosIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a21VideoBiosIndex.setDescription('The index into the Video BIOS table.')
a21VideoBiosManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a21VideoBiosManufacturer.setStatus('mandatory')
if mibBuilder.loadTexts: a21VideoBiosManufacturer.setDescription('The name of the company that wrote this Video BIOS.')
a21VideoBiosVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a21VideoBiosVersion.setStatus('mandatory')
if mibBuilder.loadTexts: a21VideoBiosVersion.setDescription('The version number or version string of this Video BIOS.')
a21VideoBiosReleaseDate = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 4), DmiDate()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a21VideoBiosReleaseDate.setStatus('mandatory')
if mibBuilder.loadTexts: a21VideoBiosReleaseDate.setDescription('The Video BIOS release date.')
a21VideoBiosShadowingState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a21VideoBiosShadowingState.setStatus('mandatory')
if mibBuilder.loadTexts: a21VideoBiosShadowingState.setDescription('If true, the Video BIOS is currently being shadowed ')
tVideoBiosCharacteristic = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22), )
if mibBuilder.loadTexts: tVideoBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts: tVideoBiosCharacteristic.setDescription('This group defines the characteristics for the Video BIOS.')
eVideoBiosCharacteristic = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a22VideoBiosCharacteristicsIndex"), (0, "PCSYSTEMSMIF-MIB", "a22VideoBiosNumber"))
if mibBuilder.loadTexts: eVideoBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts: eVideoBiosCharacteristic.setDescription('')
a22VideoBiosCharacteristicsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a22VideoBiosCharacteristicsIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a22VideoBiosCharacteristicsIndex.setDescription('This is an index into the Video BIOS Characteristics table. ')
a22VideoBiosNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a22VideoBiosNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a22VideoBiosNumber.setDescription('This is the Video BIOS number which correlates to the Video BIOS Index. ')
a22VideoBiosCharacteristics = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vUnsupported", 3), ("vStandardVideoBios", 4), ("vVesaBiosExtensionsSupported", 5), ("vVesaPowerManagementSupported", 6), ("vVesaDisplayDataChannelSupported", 7), ("vVideoBios-shadowing-allowed", 8), ("vVideoBiosUpgradable", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a22VideoBiosCharacteristics.setStatus('mandatory')
if mibBuilder.loadTexts: a22VideoBiosCharacteristics.setDescription('The attributes and extensions supported by this version of the Video BIOS')
a22VideoBiosCharacteristicsDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a22VideoBiosCharacteristicsDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a22VideoBiosCharacteristicsDescription.setDescription('Expanded description of this VIDEO BIOS Characteristic.')
tDiskDrives = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23), )
if mibBuilder.loadTexts: tDiskDrives.setStatus('mandatory')
if mibBuilder.loadTexts: tDiskDrives.setDescription('This group defines the physical attributes of disk mass storage devices in this system.')
eDiskDrives = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a23StorageType"), (0, "PCSYSTEMSMIF-MIB", "a23DiskIndex"))
if mibBuilder.loadTexts: eDiskDrives.setStatus('mandatory')
if mibBuilder.loadTexts: eDiskDrives.setDescription('')
a23StorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vHard-disk", 3), ("vFloppy-disk", 4), ("vOptical-rom", 5), ("vOptical-worm", 6), ("vOptical-rw", 7), ("vCompact-disk", 8), ("vFlash-disk", 9), ("vBernoulli", 10), ("vOpticalFloppyDisk", 11)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23StorageType.setStatus('mandatory')
if mibBuilder.loadTexts: a23StorageType.setDescription('The type of this mass storage device')
a23DiskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23DiskIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a23DiskIndex.setDescription('An index into the disk table.')
a23StorageInterfaceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vScsi", 3), ("vEsdi", 4), ("vIde", 5), ("vCmd", 6), ("vIpi", 7), ("vSt506", 8), ("vDssi", 9), ("vParallel-port", 10), ("vHippi", 11), ("vQic2", 12), ("vFloppy-disk-interface", 13), ("vPcmcia", 14), ("vEnhancedAtaide", 15)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23StorageInterfaceType.setStatus('mandatory')
if mibBuilder.loadTexts: a23StorageInterfaceType.setDescription('The interface used by this mass storage device')
a23InterfaceDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23InterfaceDescription.setStatus('mandatory')
if mibBuilder.loadTexts: a23InterfaceDescription.setDescription('A longer description of the mass storage interface.For Example, SCSI2 fast wide')
a23MediaLoaded = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23MediaLoaded.setStatus('mandatory')
if mibBuilder.loadTexts: a23MediaLoaded.setDescription('If true, the media is loaded')
a23RemovableMedia = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23RemovableMedia.setStatus('mandatory')
if mibBuilder.loadTexts: a23RemovableMedia.setDescription('If true, the media in this drive is removable')
a23DeviceId = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23DeviceId.setStatus('mandatory')
if mibBuilder.loadTexts: a23DeviceId.setDescription('The SCSI address of this device')
a23LogicalUnitNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23LogicalUnitNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a23LogicalUnitNumber.setDescription('The logical unit number of this SCSI device. ')
a23NumberOfPhysicalCylinders = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 9), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23NumberOfPhysicalCylinders.setStatus('mandatory')
if mibBuilder.loadTexts: a23NumberOfPhysicalCylinders.setDescription('The number of reported Physical Cylinders on this device')
a23NumberOfPhysicalSectorsPerTrack = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 10), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23NumberOfPhysicalSectorsPerTrack.setStatus('mandatory')
if mibBuilder.loadTexts: a23NumberOfPhysicalSectorsPerTrack.setDescription('The number of reported Physical sectors per track for this device')
a23NumberOfPhysicalHeads = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 11), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23NumberOfPhysicalHeads.setStatus('mandatory')
if mibBuilder.loadTexts: a23NumberOfPhysicalHeads.setDescription('The number of reported Physical heads for this device')
a23SectorSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 12), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23SectorSize.setStatus('mandatory')
if mibBuilder.loadTexts: a23SectorSize.setDescription('The Size in bytes of the physical disk sector as reported by the disk. ')
a23TotalPhysicalSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 13), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23TotalPhysicalSize.setStatus('mandatory')
if mibBuilder.loadTexts: a23TotalPhysicalSize.setDescription('The total size in KiloBytes (1024 bytes) of this device. ')
a23Partitions = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 14), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23Partitions.setStatus('mandatory')
if mibBuilder.loadTexts: a23Partitions.setDescription('The number of partitions on this storage unit')
a23FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 15), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a23FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a23FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this provides an index into the FRU table. A value = -1 means that the group is not a FRU.')
tDiskMappingTable = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24), )
if mibBuilder.loadTexts: tDiskMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts: tDiskMappingTable.setDescription('A table relating disks to partitions. May have an instance of a disk or partition more than once')
eDiskMappingTable = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a24StorageType"), (0, "PCSYSTEMSMIF-MIB", "a24DiskIndex"), (0, "PCSYSTEMSMIF-MIB", "a24PartitionIndex"))
if mibBuilder.loadTexts: eDiskMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts: eDiskMappingTable.setDescription('')
a24StorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vHard-disk", 3), ("vFloppy-disk", 4), ("vOptical-rom", 5), ("vOptical-worm", 6), ("vOptical-rw", 7), ("vCompact-disk", 8), ("vFlash-disk", 9), ("vBernoulli", 10), ("vOpticalFloppyDisk", 11)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a24StorageType.setStatus('mandatory')
if mibBuilder.loadTexts: a24StorageType.setDescription('An index value into the Disk Table')
a24DiskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a24DiskIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a24DiskIndex.setDescription('An index value into the Disk Table')
a24PartitionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a24PartitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a24PartitionIndex.setDescription('An index value into the partition table')
tPartition = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25), )
if mibBuilder.loadTexts: tPartition.setStatus('mandatory')
if mibBuilder.loadTexts: tPartition.setDescription('This group describes the partitions on particular disks.')
ePartition = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a25PartitionIndex"))
if mibBuilder.loadTexts: ePartition.setStatus('mandatory')
if mibBuilder.loadTexts: ePartition.setDescription('')
a25PartitionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25PartitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a25PartitionIndex.setDescription('The index into the partition table.')
a25PartitionName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25PartitionName.setStatus('mandatory')
if mibBuilder.loadTexts: a25PartitionName.setDescription('The name used by the system to identify the partition. This is normally the drive letter.')
a25PartitionSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 3), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25PartitionSize.setStatus('mandatory')
if mibBuilder.loadTexts: a25PartitionSize.setDescription('The size of this partition in Kilo Bytes.')
a25FreeSpace = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 4), DmiInteger64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25FreeSpace.setStatus('mandatory')
if mibBuilder.loadTexts: a25FreeSpace.setDescription('The number of free Kilo Bytes on this partition')
a25PartitionLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 5), DmiOctetstring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25PartitionLabel.setStatus('mandatory')
if mibBuilder.loadTexts: a25PartitionLabel.setDescription('The Partition label or the unique volume label field for this physical volume. (For DOS, this is the volume label plus the 32 bit Volume ID field if available.)')
a25FileSystem = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vFat", 3), ("vHpfs", 4), ("vNtfs", 5), ("vOfs", 6), ("vMfs", 7), ("vHfs", 8), ("vVxfs", 9), ("vSfs", 10), ("vS5", 11), ("vS52k", 12), ("vUfs", 13), ("vFfs", 14), ("vNetware286", 15), ("vNetware386", 16)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25FileSystem.setStatus('mandatory')
if mibBuilder.loadTexts: a25FileSystem.setDescription('')
a25Compressed = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25Compressed.setStatus('mandatory')
if mibBuilder.loadTexts: a25Compressed.setDescription('If true, this partition is compressed')
a25Encrypted = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vFalse", 0), ("vTrue", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25Encrypted.setStatus('mandatory')
if mibBuilder.loadTexts: a25Encrypted.setDescription('If true, this partition is encrypted')
a25NumberOfDisksOccupied = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 9), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a25NumberOfDisksOccupied.setStatus('mandatory')
if mibBuilder.loadTexts: a25NumberOfDisksOccupied.setDescription('The number of disks this partition occupies')
tDiskController = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26), )
if mibBuilder.loadTexts: tDiskController.setStatus('mandatory')
if mibBuilder.loadTexts: tDiskController.setDescription('This group defines the disk controller in this system.')
eDiskController = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a26DiskControllerIndex"))
if mibBuilder.loadTexts: eDiskController.setStatus('mandatory')
if mibBuilder.loadTexts: eDiskController.setDescription('')
a26DiskControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a26DiskControllerIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a26DiskControllerIndex.setDescription('Index value used by the system to identify the disk controller')
a26FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a26FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a26FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this provides an index into the FRU table. A value = -1 means that the group is not a FRU')
a26OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a26OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a26OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
tLogicalDrives = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27), )
if mibBuilder.loadTexts: tLogicalDrives.setStatus('mandatory')
if mibBuilder.loadTexts: tLogicalDrives.setDescription('')
eLogicalDrives = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a27LogicalDriveIndex"))
if mibBuilder.loadTexts: eLogicalDrives.setStatus('mandatory')
if mibBuilder.loadTexts: eLogicalDrives.setDescription('')
a27LogicalDriveIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a27LogicalDriveIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a27LogicalDriveIndex.setDescription('An index into the Logical Drives Table')
a27LogicalDriveName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a27LogicalDriveName.setStatus('mandatory')
if mibBuilder.loadTexts: a27LogicalDriveName.setDescription('Name used by the system to identify this logical driveFor DOS, this could be the logical drive letter (A,B,C...)')
a27LogicalDriveType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vFixedDrive", 3), ("vRemovableDrive", 4), ("vRemoteDrive", 5), ("vCdrom", 6), ("vFloppyDrive", 7), ("vRamDrive", 8), ("vDriveArray", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a27LogicalDriveType.setStatus('mandatory')
if mibBuilder.loadTexts: a27LogicalDriveType.setDescription('This defines the Logical Drive type')
a27LogicalDriveSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a27LogicalDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts: a27LogicalDriveSize.setDescription('The size of this Logical Drive in Kilo Bytes')
a27FreeLogicalDriveSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a27FreeLogicalDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts: a27FreeLogicalDriveSize.setDescription('The remaining space on this Logical Drive in Kilo Bytes')
a27LogicalDrivePath = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 6), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a27LogicalDrivePath.setStatus('mandatory')
if mibBuilder.loadTexts: a27LogicalDrivePath.setDescription('The path used to access this Logical Drive (for remote drives)')
tMouse = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28), )
if mibBuilder.loadTexts: tMouse.setStatus('mandatory')
if mibBuilder.loadTexts: tMouse.setDescription('')
eMouse = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eMouse.setStatus('mandatory')
if mibBuilder.loadTexts: eMouse.setDescription('')
a28MouseInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vSerial", 3), ("vPs2", 4), ("vInfrared", 5), ("vHp-hil", 6), ("vBusMouse", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28MouseInterface.setStatus('mandatory')
if mibBuilder.loadTexts: a28MouseInterface.setDescription('The interface type of this mouse.')
a28MouseIrq = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28MouseIrq.setStatus('mandatory')
if mibBuilder.loadTexts: a28MouseIrq.setDescription('The IRQ number used by this mouse.')
a28MouseButtons = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28MouseButtons.setStatus('mandatory')
if mibBuilder.loadTexts: a28MouseButtons.setDescription('The number of mouse buttons on this mouse.')
a28MousePortName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28MousePortName.setStatus('mandatory')
if mibBuilder.loadTexts: a28MousePortName.setDescription('The name of the port currently being used by this mouse.')
a28MouseDriverName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 5), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28MouseDriverName.setStatus('mandatory')
if mibBuilder.loadTexts: a28MouseDriverName.setDescription('The name of the mouse driver.')
a28MouseDriverVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 6), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28MouseDriverVersion.setStatus('mandatory')
if mibBuilder.loadTexts: a28MouseDriverVersion.setDescription('The version number of the mouse driver.')
a28FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a28FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this attribute provides an index into the FRU table. A value = -1 means that the group is not a FRU')
a28OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 8), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a28OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a28OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
tKeyboard = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29), )
if mibBuilder.loadTexts: tKeyboard.setStatus('mandatory')
if mibBuilder.loadTexts: tKeyboard.setDescription('This group defines the characteristics of the PC keyboard')
eKeyboard = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eKeyboard.setStatus('mandatory')
if mibBuilder.loadTexts: eKeyboard.setDescription('')
a29KeyboardLayout = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 1), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a29KeyboardLayout.setStatus('mandatory')
if mibBuilder.loadTexts: a29KeyboardLayout.setDescription('A description of the layout description of this keyboard.')
a29KeyboardType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a29KeyboardType.setStatus('mandatory')
if mibBuilder.loadTexts: a29KeyboardType.setDescription('The type description of this keyboard.')
a29KeyboardConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vMini-din", 3), ("vMicro-din", 4), ("vPs2", 5), ("vInfrared", 6), ("vHp-hil", 7), ("vDb-9", 8), ("vAccessbus", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a29KeyboardConnectorType.setStatus('mandatory')
if mibBuilder.loadTexts: a29KeyboardConnectorType.setDescription('The type description of the keyboard connector used by this keyboard.')
a29FruGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a29FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a29FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this provides an FRU index into the FRU table. A value = -1 means that the group is not a FRU')
a29OperationalGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a29OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a29OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
tFieldReplacableUnit = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30), )
if mibBuilder.loadTexts: tFieldReplacableUnit.setStatus('mandatory')
if mibBuilder.loadTexts: tFieldReplacableUnit.setDescription("An FRU, or Field Replaceable Unit, is defined as a hardware component which is designed to be separately removable for replacement or repair. For the purposes of this definition, a motherboard and a fixed hard disk are FRU's, whereas a fixed hard disk platter or a chip fixed in place on the motherboard are not FRU's since they are not designed to be separately removable. Each instance within the FRU table should contain the device group and instance data for the associated hardware component")
eFieldReplacableUnit = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a30FruIndex"))
if mibBuilder.loadTexts: eFieldReplacableUnit.setStatus('mandatory')
if mibBuilder.loadTexts: eFieldReplacableUnit.setDescription('')
a30FruIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a30FruIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a30FruIndex.setDescription('The index into the FRU table')
a30DeviceGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a30DeviceGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a30DeviceGroupIndex.setDescription('The group ID of the group referencing this FRU instance')
a30Description = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 3), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a30Description.setStatus('mandatory')
if mibBuilder.loadTexts: a30Description.setDescription('A clear description of this FRU')
a30Manufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 4), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a30Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts: a30Manufacturer.setDescription('The name of the company manufacturing or providing this FRU')
a30Model = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 5), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a30Model.setStatus('mandatory')
if mibBuilder.loadTexts: a30Model.setDescription("The manufacturer's model number for this FRU")
a30PartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 6), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a30PartNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a30PartNumber.setDescription('A part number by which a replacement part can be ordered for this FRU')
a30FruSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 7), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a30FruSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a30FruSerialNumber.setDescription("The manufacturer's serial number for this FRU")
a30RevisionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 8), DmiDisplaystring()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: a30RevisionLevel.setStatus('mandatory')
if mibBuilder.loadTexts: a30RevisionLevel.setDescription('The revision level of this FRU')
tOperationalState = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31), )
if mibBuilder.loadTexts: tOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts: tOperationalState.setDescription('This group provides the operational state, usage, and availabili y status, and administrative state indicators for specific Device Group instance .')
eOperationalState = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a31OperationalStateInstanceIndex"))
if mibBuilder.loadTexts: eOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts: eOperationalState.setDescription('')
a31OperationalStateInstanceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31OperationalStateInstanceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a31OperationalStateInstanceIndex.setDescription('The Index into the Operational State table')
a31DeviceGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31DeviceGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a31DeviceGroupIndex.setDescription('The group ID of the group referencing this instance')
a31OperationalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vEnabled", 3), ("vDisabled", 4), ("vNotApplicable", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31OperationalStatus.setStatus('mandatory')
if mibBuilder.loadTexts: a31OperationalStatus.setDescription('The operational status of the Device group instance')
a31UsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vIdle", 3), ("vActive", 4), ("vBusy", 5), ("vNotApplicable1", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31UsageState.setStatus('mandatory')
if mibBuilder.loadTexts: a31UsageState.setDescription('The usage state of the Device Group instance')
a31AvailabilityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vRunning", 3), ("vWarning", 4), ("vInTest", 5), ("vNotApplicable", 6), ("vPowerOff", 7), ("vOffLine", 8), ("vOffDuty", 9), ("vDegraded", 10), ("vNotInstalled", 11), ("vInstallError", 12), ("vPowerSave", 13)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31AvailabilityStatus.setStatus('mandatory')
if mibBuilder.loadTexts: a31AvailabilityStatus.setDescription('The availability status of the Device Group instance')
a31AdministrativeState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vLocked", 3), ("vUnlocked", 4), ("vNotApplicable", 5), ("vShuttingDown", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31AdministrativeState.setStatus('mandatory')
if mibBuilder.loadTexts: a31AdministrativeState.setDescription('The administrative state of the Device Group instance')
a31FatalErrorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 7), DmiCounter()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31FatalErrorCount.setStatus('mandatory')
if mibBuilder.loadTexts: a31FatalErrorCount.setDescription('The accumulated fatal error count for this Device Group Instance')
a31MajorErrorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 8), DmiCounter()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31MajorErrorCount.setStatus('mandatory')
if mibBuilder.loadTexts: a31MajorErrorCount.setDescription('The accumulated major error count for this Device Group Instance')
a31WarningErrorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 9), DmiCounter()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a31WarningErrorCount.setStatus('mandatory')
if mibBuilder.loadTexts: a31WarningErrorCount.setDescription('The accumulated warning error count for this Device Group Instance')
tSystemResourcesDescription = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32), )
if mibBuilder.loadTexts: tSystemResourcesDescription.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemResourcesDescription.setDescription('The System Resources Description group describes the number of entries in the System Resources Group. ')
eSystemResourcesDescription = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a32DeviceCount"))
if mibBuilder.loadTexts: eSystemResourcesDescription.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemResourcesDescription.setDescription('')
a32DeviceCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a32DeviceCount.setStatus('mandatory')
if mibBuilder.loadTexts: a32DeviceCount.setDescription('A counter of the number of different hardware devices represente in this table.')
a32SystemResourceCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a32SystemResourceCount.setStatus('mandatory')
if mibBuilder.loadTexts: a32SystemResourceCount.setDescription('A count of the total number of system resources on this sytemins ances in this table.')
tSystemResources = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33), )
if mibBuilder.loadTexts: tSystemResources.setStatus('mandatory')
if mibBuilder.loadTexts: tSystemResources.setDescription('The System Resources group contains hardware descriptions which are commonly used in PC style computers such as IRQs, IO ports and memory address ranges.')
eSystemResources = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a33ResourceInstance"), (0, "PCSYSTEMSMIF-MIB", "a33ResourceParentGroupIndex"))
if mibBuilder.loadTexts: eSystemResources.setStatus('mandatory')
if mibBuilder.loadTexts: eSystemResources.setDescription('')
a33ResourceInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a33ResourceInstance.setStatus('mandatory')
if mibBuilder.loadTexts: a33ResourceInstance.setDescription('Instance identifier for a group in this table.')
a33ResourceParentGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a33ResourceParentGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a33ResourceParentGroupIndex.setDescription('The group ID of the group referencing this instance in the table')
a33ResourceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("vOther", 1), ("vUnknown", 2), ("vMemoryRange", 3), ("vIoPort", 4), ("vIrq", 5), ("vDma", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a33ResourceType.setStatus('mandatory')
if mibBuilder.loadTexts: a33ResourceType.setDescription('The type of system resource represented by this entry.')
a33ResourceBase = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a33ResourceBase.setStatus('mandatory')
if mibBuilder.loadTexts: a33ResourceBase.setDescription('The starting address of the system resource in the appropriatead ress space.')
a33ResourceSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a33ResourceSize.setStatus('mandatory')
if mibBuilder.loadTexts: a33ResourceSize.setDescription('The size of the system resource.')
a33ResourceFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a33ResourceFlags.setStatus('mandatory')
if mibBuilder.loadTexts: a33ResourceFlags.setDescription('This attribute contains fields representing the status of this resource entry. The meaning of this field varies according to the the Resource Type field in this group.')
tNetfinityDmiInstall = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 34), )
if mibBuilder.loadTexts: tNetfinityDmiInstall.setStatus('mandatory')
if mibBuilder.loadTexts: tNetfinityDmiInstall.setDescription("This group uniquely identifies NetFinity's instrumentation of this PC Systems MIF.")
eNetfinityDmiInstall = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 34, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"))
if mibBuilder.loadTexts: eNetfinityDmiInstall.setStatus('mandatory')
if mibBuilder.loadTexts: eNetfinityDmiInstall.setDescription('')
a34ProductName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 34, 1, 1), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a34ProductName.setStatus('mandatory')
if mibBuilder.loadTexts: a34ProductName.setDescription('Name of this product')
tMicrochannelAdapterInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35), )
if mibBuilder.loadTexts: tMicrochannelAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tMicrochannelAdapterInformation.setDescription('This group provides detailed information about the Microchannel devices detected in your system')
eMicrochannelAdapterInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a35AdapterIndex"))
if mibBuilder.loadTexts: eMicrochannelAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts: eMicrochannelAdapterInformation.setDescription('')
a35AdapterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a35AdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a35AdapterIndex.setDescription('Index into the MCA adapter table ')
a35SlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a35SlotNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a35SlotNumber.setDescription('The slot in which the adapter was detected.')
a35AdapterId = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a35AdapterId.setStatus('mandatory')
if mibBuilder.loadTexts: a35AdapterId.setDescription('The unique number that identifies the adapter.')
a35PosData = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a35PosData.setStatus('mandatory')
if mibBuilder.loadTexts: a35PosData.setDescription('This is Programmable Option Select data used to automatically configure the system.')
a35AdapterName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 5), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a35AdapterName.setStatus('mandatory')
if mibBuilder.loadTexts: a35AdapterName.setDescription('The name of this adapter.')
tPciDeviceInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36), )
if mibBuilder.loadTexts: tPciDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tPciDeviceInformation.setDescription('This group provides detailed information about the PCI devices detected in your system')
ePciDeviceInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a36DeviceIndex"))
if mibBuilder.loadTexts: ePciDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts: ePciDeviceInformation.setDescription('')
a36DeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36DeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a36DeviceIndex.setDescription('Index into the PCI device table ')
a36ClassCode = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36ClassCode.setStatus('mandatory')
if mibBuilder.loadTexts: a36ClassCode.setDescription('Number that identifies the base class, sub-class, and programmin interface')
a36PciDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36PciDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: a36PciDeviceName.setDescription('Description of device that includes manufacturer and device function')
a36VendorId = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36VendorId.setStatus('mandatory')
if mibBuilder.loadTexts: a36VendorId.setDescription('Number that uniquely identifies the manufacturer')
a36DeviceId = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 5), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36DeviceId.setStatus('mandatory')
if mibBuilder.loadTexts: a36DeviceId.setDescription('Number assigned by the manufacturer that uniquely identifes the device')
a36BusNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36BusNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a36BusNumber.setDescription('PCI bus that this device is on')
a36DeviceNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 7), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36DeviceNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a36DeviceNumber.setDescription('Number in the range 0..31 that uniquely selects a device on a PCI bus')
a36RevisionId = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 8), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a36RevisionId.setStatus('mandatory')
if mibBuilder.loadTexts: a36RevisionId.setDescription('')
tEisaDeviceInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37), )
if mibBuilder.loadTexts: tEisaDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tEisaDeviceInformation.setDescription('This group provides detailed information about the EISA devices detected in your system')
eEisaDeviceInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a37DeviceIndex"))
if mibBuilder.loadTexts: eEisaDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts: eEisaDeviceInformation.setDescription('')
a37DeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37DeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a37DeviceIndex.setDescription('Index into the EISA device table ')
a37ProductId = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 2), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37ProductId.setStatus('mandatory')
if mibBuilder.loadTexts: a37ProductId.setDescription('Number that uniquely identifies the device')
a37EisaDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 3), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37EisaDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: a37EisaDeviceName.setDescription('Description of device')
a37Manufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 4), DmiDisplaystring()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts: a37Manufacturer.setDescription('Name of manufacturer of the system board or adapter')
a37SlotLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37SlotLocation.setStatus('mandatory')
if mibBuilder.loadTexts: a37SlotLocation.setDescription('The physical or logical slot number in the system of the device. Thesystem board is always slot 0. Slots 1-15 are physical slots. Slots 16-64 are for virtual devices.')
a37SlotType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("vExpansionSlot", 0), ("vEmbeddedDevice", 1), ("vVirtual", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37SlotType.setStatus('mandatory')
if mibBuilder.loadTexts: a37SlotType.setDescription('An expansion slot is a physical slot. An embedded device is an EISA I/O device integrated onto the system board. A virtual device is generally a software driver that may needsystem resources.')
a37NumberOfDeviceFunctions = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 7), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37NumberOfDeviceFunctions.setStatus('mandatory')
if mibBuilder.loadTexts: a37NumberOfDeviceFunctions.setDescription('Number of device functions associated with the device (i.e. memory function, serial function, parallel function, etc).')
a37IdType = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("vReadable", 0), ("vNotReadable", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a37IdType.setStatus('mandatory')
if mibBuilder.loadTexts: a37IdType.setDescription('An EISA system may have EISA and ISA adapters. ISA adapters will nothave readable IDs')
tRaidAdapterInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38), )
if mibBuilder.loadTexts: tRaidAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tRaidAdapterInformation.setDescription('This group provides detailed information about the RAID adapters in your system')
eRaidAdapterInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a38RaidAdapterIndex"))
if mibBuilder.loadTexts: eRaidAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts: eRaidAdapterInformation.setDescription('')
a38RaidAdapterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a38RaidAdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a38RaidAdapterIndex.setDescription('Index into the RAID Adapter table ')
a38NumberOfLogicalVolumes = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a38NumberOfLogicalVolumes.setStatus('mandatory')
if mibBuilder.loadTexts: a38NumberOfLogicalVolumes.setDescription('Number of Logical Volumes for this adapter')
a38NumberOfPhysicalDevices = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a38NumberOfPhysicalDevices.setStatus('mandatory')
if mibBuilder.loadTexts: a38NumberOfPhysicalDevices.setDescription('Number of Physical Devices for this adapter')
a38NumberOfPhysicalDrivesOffline = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a38NumberOfPhysicalDrivesOffline.setStatus('mandatory')
if mibBuilder.loadTexts: a38NumberOfPhysicalDrivesOffline.setDescription('Name of Physical Drives Offline for this adapter')
a38NumberOfCriticalVirtualDrives = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a38NumberOfCriticalVirtualDrives.setStatus('mandatory')
if mibBuilder.loadTexts: a38NumberOfCriticalVirtualDrives.setDescription('Number of Critical Virtual Drives for this adapter')
a38NumberOfDefunctPhysicalDrives = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 6), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a38NumberOfDefunctPhysicalDrives.setStatus('mandatory')
if mibBuilder.loadTexts: a38NumberOfDefunctPhysicalDrives.setDescription('Number of Defunct Physical Drives for this adapter')
tRaidVirtualDrivesInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39), )
if mibBuilder.loadTexts: tRaidVirtualDrivesInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tRaidVirtualDrivesInformation.setDescription('This group provides detailed information about the RAID Virtual drivesin your system')
eRaidVirtualDrivesInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a39RaidVirtualDriveIndex"), (0, "PCSYSTEMSMIF-MIB", "a39RaidAdapterIndex"))
if mibBuilder.loadTexts: eRaidVirtualDrivesInformation.setStatus('mandatory')
if mibBuilder.loadTexts: eRaidVirtualDrivesInformation.setDescription('')
a39RaidVirtualDriveIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a39RaidVirtualDriveIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a39RaidVirtualDriveIndex.setDescription('Index into the RAID Virtual Drives table ')
a39RaidAdapterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a39RaidAdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a39RaidAdapterIndex.setDescription('Index into RAID Adapter Table')
a39VirtualDriveState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("vOnline", 0), ("vOffline", 1), ("vCritical", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a39VirtualDriveState.setStatus('mandatory')
if mibBuilder.loadTexts: a39VirtualDriveState.setDescription('State of Virtual Drive')
a39VirtualDriveSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a39VirtualDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts: a39VirtualDriveSize.setDescription('Size of Virtual Drive in Kilobytes')
tRaidPhysicalDriveInformation = MibTable((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40), )
if mibBuilder.loadTexts: tRaidPhysicalDriveInformation.setStatus('mandatory')
if mibBuilder.loadTexts: tRaidPhysicalDriveInformation.setDescription('This group provides detailed information about the RAID physical drivesin your system')
eRaidPhysicalDriveInformation = MibTableRow((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1), ).setIndexNames((0, "PCSYSTEMSMIF-MIB", "DmiComponentIndex"), (0, "PCSYSTEMSMIF-MIB", "a40RaidPhysicalDriveIndex"), (0, "PCSYSTEMSMIF-MIB", "a40RaidAdapterIndex"))
if mibBuilder.loadTexts: eRaidPhysicalDriveInformation.setStatus('mandatory')
if mibBuilder.loadTexts: eRaidPhysicalDriveInformation.setDescription('')
a40RaidPhysicalDriveIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 1), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a40RaidPhysicalDriveIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a40RaidPhysicalDriveIndex.setDescription('Index into the RAID Physical Drives table ')
a40RaidAdapterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 2), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a40RaidAdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts: a40RaidAdapterIndex.setDescription('Index into RAID Adapter Table')
a40PhysicalDriveSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 3), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a40PhysicalDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts: a40PhysicalDriveSize.setDescription('Size of Physical Drive in Kilobytes')
a40ChannelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 4), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a40ChannelNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a40ChannelNumber.setDescription('Channel on RAID Adapter on which this physical drive is located')
a40TargetNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 5), DmiInteger()).setMaxAccess("readonly")
if mibBuilder.loadTexts: a40TargetNumber.setStatus('mandatory')
if mibBuilder.loadTexts: a40TargetNumber.setDescription('Target number on RAID Adapter on which this physical drive is located')
a40RaidPhysicalDeviceState = MibTableColumn((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("vOnline", 0), ("vOffline", 1), ("vDefunct", 2), ("vHotspare", 3), ("vStandbyHotspare", 4), ("vDeadHotspare", 5), ("vReady", 6), ("vRebuild", 7), ("vStandby", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: a40RaidPhysicalDeviceState.setStatus('mandatory')
if mibBuilder.loadTexts: a40RaidPhysicalDeviceState.setDescription('Device state of the Physical Drive')
mibBuilder.exportSymbols("PCSYSTEMSMIF-MIB", a1SerialNumber=a1SerialNumber, a30FruSerialNumber=a30FruSerialNumber, ePartition=ePartition, a10SystemCacheLevel=a10SystemCacheLevel, a4Manufacturer=a4Manufacturer, a2SystemLocation=a2SystemLocation, a30Model=a30Model, a31AdministrativeState=a31AdministrativeState, a32SystemResourceCount=a32SystemResourceCount, a30RevisionLevel=a30RevisionLevel, a33ResourceParentGroupIndex=a33ResourceParentGroupIndex, tPowerSupply=tPowerSupply, a3OperatingSystemBootPartitionIndex=a3OperatingSystemBootPartitionIndex, a14DmaDescription=a14DmaDescription, a38NumberOfPhysicalDevices=a38NumberOfPhysicalDevices, tMemoryMappedIo=tMemoryMappedIo, a6CurrentSpeed=a6CurrentSpeed, a24StorageType=a24StorageType, a40RaidPhysicalDeviceState=a40RaidPhysicalDeviceState, eComponentid1=eComponentid1, a8MemoryErrorCorrection=a8MemoryErrorCorrection, a12MaximumSpeed=a12MaximumSpeed, tMicrochannelAdapterInformation=tMicrochannelAdapterInformation, a36PciDeviceName=a36PciDeviceName, a9ExpandedMemorySize=a9ExpandedMemorySize, tLogicalDrives=tLogicalDrives, a2SystemName=a2SystemName, a38RaidAdapterIndex=a38RaidAdapterIndex, a3OperatingSystemDescription=a3OperatingSystemDescription, a40RaidAdapterIndex=a40RaidAdapterIndex, tMotherboard=tMotherboard, a25NumberOfDisksOccupied=a25NumberOfDisksOccupied, a30Manufacturer=a30Manufacturer, tCoolingDevice=tCoolingDevice, eNetfinityDmiInstall=eNetfinityDmiInstall, a36DeviceId=a36DeviceId, eSystemCache=eSystemCache, a37IdType=a37IdType, tFieldReplacableUnit=tFieldReplacableUnit, tSerialPorts=tSerialPorts, a39VirtualDriveState=a39VirtualDriveState, tPhysicalMemory=tPhysicalMemory, a36BusNumber=a36BusNumber, a37ProductId=a37ProductId, a9FreeExtendedMemorySize=a9FreeExtendedMemorySize, a8MemoryEndingAddress=a8MemoryEndingAddress, a1Product=a1Product, a8FruGroupIndex=a8FruGroupIndex, a29KeyboardLayout=a29KeyboardLayout, a23StorageInterfaceType=a23StorageInterfaceType, a30PartNumber=a30PartNumber, a18CoolingDeviceIndex=a18CoolingDeviceIndex, a38NumberOfPhysicalDrivesOffline=a38NumberOfPhysicalDrivesOffline, tVideoBiosCharacteristic=tVideoBiosCharacteristic, eProcessor=eProcessor, a15MemoryMappedIoDescription=a15MemoryMappedIoDescription, a31UsageState=a31UsageState, a8MemorySpeed=a8MemorySpeed, a37EisaDeviceName=a37EisaDeviceName, a33ResourceFlags=a33ResourceFlags, a25PartitionSize=a25PartitionSize, a21VideoBiosReleaseDate=a21VideoBiosReleaseDate, eOperatingSystem=eOperatingSystem, a23NumberOfPhysicalHeads=a23NumberOfPhysicalHeads, a36ClassCode=a36ClassCode, a9ExpandedMemoryPageFrameAddress=a9ExpandedMemoryPageFrameAddress, eMotherboard=eMotherboard, a3OperatingSystemBootDeviceIndex=a3OperatingSystemBootDeviceIndex, a5BiosNumber=a5BiosNumber, a36RevisionId=a36RevisionId, eKeyboard=eKeyboard, a39VirtualDriveSize=a39VirtualDriveSize, eDma=eDma, a13IrqNumber=a13IrqNumber, ePowerSupply=ePowerSupply, eSystemBiosCharacteristic=eSystemBiosCharacteristic, a16PowerState=a16PowerState, eEisaDeviceInformation=eEisaDeviceInformation, a25FileSystem=a25FileSystem, a32DeviceCount=a32DeviceCount, a22VideoBiosNumber=a22VideoBiosNumber, ibmProd=ibmProd, a29OperationalGroupIndex=a29OperationalGroupIndex, a8MemoryStartingAddress=a8MemoryStartingAddress, a31OperationalStatus=a31OperationalStatus, tPartition=tPartition, tRaidPhysicalDriveInformation=tRaidPhysicalDriveInformation, a31FatalErrorCount=a31FatalErrorCount, a37SlotLocation=a37SlotLocation, eSystemResourcesDescription=eSystemResourcesDescription, eRaidAdapterInformation=eRaidAdapterInformation, a36DeviceNumber=a36DeviceNumber, a15MemoryMappedIoStartingAddress=a15MemoryMappedIoStartingAddress, a11ParallelBaseIoAddress=a11ParallelBaseIoAddress, a25Encrypted=a25Encrypted, a37SlotType=a37SlotType, a21VideoBiosVersion=a21VideoBiosVersion, a9ExtendedMemoryManagerName=a9ExtendedMemoryManagerName, a4PrimaryBios=a4PrimaryBios, a9ExpandedMemoryManagerName=a9ExpandedMemoryManagerName, tVideoBios=tVideoBios, netFinitySystemsMIB=netFinitySystemsMIB, a28MouseInterface=a28MouseInterface, a11ConnectorType=a11ConnectorType, a20CurrentHorizontalResolution=a20CurrentHorizontalResolution, tRaidVirtualDrivesInformation=tRaidVirtualDrivesInformation, eSerialPorts=eSerialPorts, a2SystemDateTime=a2SystemDateTime, a1Version=a1Version, a16FruGroupIndex=a16FruGroupIndex, tSystemResources=tSystemResources, a4BiosReleaseDate=a4BiosReleaseDate, DmiOctetstring=DmiOctetstring, tLogicalMemory=tLogicalMemory, a12OperationalGroupIndex=a12OperationalGroupIndex, a20CurrentNumberOfRows=a20CurrentNumberOfRows, eRaidVirtualDrivesInformation=eRaidVirtualDrivesInformation, a9ExpandedMemoryPageSize=a9ExpandedMemoryPageSize, eMicrochannelAdapterInformation=eMicrochannelAdapterInformation, a20MinimumRefreshRate=a20MinimumRefreshRate, a16ChassisLockPresent=a16ChassisLockPresent, a6FruGroupIndex=a6FruGroupIndex, a39RaidVirtualDriveIndex=a39RaidVirtualDriveIndex, a23DiskIndex=a23DiskIndex, DmiInteger64=DmiInteger64, eDiskMappingTable=eDiskMappingTable, a38NumberOfCriticalVirtualDrives=a38NumberOfCriticalVirtualDrives, a23Partitions=a23Partitions, a16AssetTag=a16AssetTag, a23LogicalUnitNumber=a23LogicalUnitNumber, a6VersionInformation=a6VersionInformation, eOperationalState=eOperationalState, a20VideoRamMemorySize=a20VideoRamMemorySize, eVideoBios=eVideoBios, a6ProcessorIndex=a6ProcessorIndex, a14DmaBurstMode=a14DmaBurstMode, eDiskDrives=eDiskDrives, a21VideoBiosManufacturer=a21VideoBiosManufacturer, a28OperationalGroupIndex=a28OperationalGroupIndex, tOperationalState=tOperationalState, a24DiskIndex=a24DiskIndex, a17OperationalGroupIndex=a17OperationalGroupIndex, a9ExtendedMemorySize=a9ExtendedMemorySize, eSystemBios=eSystemBios, a40ChannelNumber=a40ChannelNumber, a11LogicalName=a11LogicalName, DmiCounter=DmiCounter, a22VideoBiosCharacteristicsIndex=a22VideoBiosCharacteristicsIndex, a2SystemPrimaryUserName=a2SystemPrimaryUserName, a40RaidPhysicalDriveIndex=a40RaidPhysicalDriveIndex, a37NumberOfDeviceFunctions=a37NumberOfDeviceFunctions, a30DeviceGroupIndex=a30DeviceGroupIndex, a28MouseDriverVersion=a28MouseDriverVersion, a8MemoryUsage=a8MemoryUsage, a20CurrentVerticalResolution=a20CurrentVerticalResolution, a31MajorErrorCount=a31MajorErrorCount, DmiComponentIndex=DmiComponentIndex, a6ProcessorFamily=a6ProcessorFamily, a35SlotNumber=a35SlotNumber, a13IrqShareable=a13IrqShareable, ePhysicalMemory=ePhysicalMemory, a23SectorSize=a23SectorSize, a29FruGroupIndex=a29FruGroupIndex, a20VideoType=a20VideoType, DmiDate=DmiDate, a27LogicalDriveType=a27LogicalDriveType, dmiMibs=dmiMibs, a40PhysicalDriveSize=a40PhysicalDriveSize, a27LogicalDrivePath=a27LogicalDrivePath, eLogicalDrives=eLogicalDrives, eMemoryMappedIo=eMemoryMappedIo, a12ConnectorType=a12ConnectorType, a26OperationalGroupIndex=a26OperationalGroupIndex, a4EndingAddress=a4EndingAddress, tOperatingSystem=tOperatingSystem, a11OperationalGroupIndex=a11OperationalGroupIndex, a35AdapterId=a35AdapterId, a23DeviceId=a23DeviceId, a8NumberOfSimmSlotsUsed=a8NumberOfSimmSlotsUsed, eFieldReplacableUnit=eFieldReplacableUnit, a27LogicalDriveName=a27LogicalDriveName, eMouse=eMouse, tSystemBios=tSystemBios, a20VideoPhysicalLocation=a20VideoPhysicalLocation, a16ThermalState=a16ThermalState, a37DeviceIndex=a37DeviceIndex, a9BaseMemorySize=a9BaseMemorySize, tRaidAdapterInformation=tRaidAdapterInformation, a31OperationalStateInstanceIndex=a31OperationalStateInstanceIndex, a12LogicalName=a12LogicalName, a10SystemCacheIndex=a10SystemCacheIndex, a14AvailabilityOfDma=a14AvailabilityOfDma, a12SerialBaseIo=a12SerialBaseIo, a35AdapterIndex=a35AdapterIndex, eCoolingDevice=eCoolingDevice, a12SerialPortCapabilities=a12SerialPortCapabilities, a27LogicalDriveSize=a27LogicalDriveSize, a11IrqUsed=a11IrqUsed, tMouse=tMouse, a37Manufacturer=a37Manufacturer, a31AvailabilityStatus=a31AvailabilityStatus, eVideo=eVideo, a5BiosCharacteristicsDescription=a5BiosCharacteristicsDescription, a13IrqDescription=a13IrqDescription, a23TotalPhysicalSize=a23TotalPhysicalSize, a27FreeLogicalDriveSize=a27FreeLogicalDriveSize, tIrq=tIrq, ibm=ibm, a8PhysicalMemoryLocation=a8PhysicalMemoryLocation, a24PartitionIndex=a24PartitionIndex, a33ResourceBase=a33ResourceBase, tKeyboard=tKeyboard, a23MediaLoaded=a23MediaLoaded, a19SlotIndex=a19SlotIndex, tNetfinityDmiInstall=tNetfinityDmiInstall, a30Description=a30Description, a13IrqTriggerType=a13IrqTriggerType, a23InterfaceDescription=a23InterfaceDescription, eSystemEnclosure=eSystemEnclosure, tGeneralInformation=tGeneralInformation, a15MemoryMappedIoEndingAddress=a15MemoryMappedIoEndingAddress, a20CurrentNumberOfColumns=a20CurrentNumberOfColumns, a6MaximumSpeed=a6MaximumSpeed, a14DmaNumber=a14DmaNumber, a4LoaderVersion=a4LoaderVersion, eSystemResources=eSystemResources, a33ResourceSize=a33ResourceSize, a31WarningErrorCount=a31WarningErrorCount, a6OperationalGroupIndex=a6OperationalGroupIndex, a1Manufacturer=a1Manufacturer, a28MousePortName=a28MousePortName, eVideoBiosCharacteristic=eVideoBiosCharacteristic, a6ProcessorUpgrade=a6ProcessorUpgrade, a33ResourceType=a33ResourceType, a8MaximumMemoryCapacity=a8MaximumMemoryCapacity, a3OperatingSystemVersion=a3OperatingSystemVersion, a22VideoBiosCharacteristics=a22VideoBiosCharacteristics, a36DeviceIndex=a36DeviceIndex, a11DmaSupport=a11DmaSupport, a20FruGroupIndex=a20FruGroupIndex, a25PartitionName=a25PartitionName, a5BiosCharacteristics=a5BiosCharacteristics, a9ExtendedMemoryManagerVersion=a9ExtendedMemoryManagerVersion, a28MouseButtons=a28MouseButtons, a21VideoBiosIndex=a21VideoBiosIndex, a20CurrentRefreshRate=a20CurrentRefreshRate, a11ParallelPortIndex=a11ParallelPortIndex, tDma=tDma, a10SystemCacheSpeed=a10SystemCacheSpeed, a23NumberOfPhysicalSectorsPerTrack=a23NumberOfPhysicalSectorsPerTrack, tProcessor=tProcessor, tSystemEnclosure=tSystemEnclosure, tVideo=tVideo, a7OperationalGroupIndex=a7OperationalGroupIndex)
mibBuilder.exportSymbols("PCSYSTEMSMIF-MIB", a3OperatingSystemBootDeviceStorageType=a3OperatingSystemBootDeviceStorageType, a20VideoMemoryType=a20VideoMemoryType, a10FruGroupIndex=a10FruGroupIndex, a9FreeBaseMemorySize=a9FreeBaseMemorySize, a8NumberOfSimmSlots=a8NumberOfSimmSlots, a12IrqUsed=a12IrqUsed, a9ExpandedMemoryPageFrameSize=a9ExpandedMemoryPageFrameSize, a27LogicalDriveIndex=a27LogicalDriveIndex, eRaidPhysicalDriveInformation=eRaidPhysicalDriveInformation, a6Type=a6Type, a28MouseIrq=a28MouseIrq, a35PosData=a35PosData, a10SystemCacheSize=a10SystemCacheSize, tSystemCache=tSystemCache, a11ParallelPortCapabilities=a11ParallelPortCapabilities, a34ProductName=a34ProductName, a26DiskControllerIndex=a26DiskControllerIndex, a19CurrentUsage=a19CurrentUsage, a20ScanMode=a20ScanMode, a2SystemBootUpTime=a2SystemBootUpTime, a25FreeSpace=a25FreeSpace, a8OperationalGroupIndex=a8OperationalGroupIndex, a20OperationalGroupIndex=a20OperationalGroupIndex, a23RemovableMedia=a23RemovableMedia, a29KeyboardConnectorType=a29KeyboardConnectorType, eIrq=eIrq, a31DeviceGroupIndex=a31DeviceGroupIndex, a30FruIndex=a30FruIndex, dmtfGroups1=dmtfGroups1, a2SystemPrimaryUserPhone=a2SystemPrimaryUserPhone, a29KeyboardType=a29KeyboardType, a8PhysicalMemoryIndex=a8PhysicalMemoryIndex, a3OperatingSystemName=a3OperatingSystemName, netFinity=netFinity, a25Compressed=a25Compressed, a25PartitionIndex=a25PartitionIndex, tPciDeviceInformation=tPciDeviceInformation, tEisaDeviceInformation=tEisaDeviceInformation, a18FruGroupIndex=a18FruGroupIndex, a23NumberOfPhysicalCylinders=a23NumberOfPhysicalCylinders, a9ExpandedMemoryManagerVersion=a9ExpandedMemoryManagerVersion, a35AdapterName=a35AdapterName, a36VendorId=a36VendorId, a17PowerSupplyIndex=a17PowerSupplyIndex, tComponentid1=tComponentid1, a20MaximumRefreshRate=a20MaximumRefreshRate, a7FruGroupIndex=a7FruGroupIndex, a9FreeExpandedMemorySize=a9FreeExpandedMemorySize, eDiskController=eDiskController, a38NumberOfDefunctPhysicalDrives=a38NumberOfDefunctPhysicalDrives, a4StartingAddress=a4StartingAddress, a3PrimaryOperatingSystem=a3PrimaryOperatingSystem, a10SystemCacheErrorCorrection=a10SystemCacheErrorCorrection, eGeneralInformation=eGeneralInformation, eSystemSlots=eSystemSlots, a22VideoBiosCharacteristicsDescription=a22VideoBiosCharacteristicsDescription, a13AvailabilityOfIrq=a13AvailabilityOfIrq, tDiskMappingTable=tDiskMappingTable, a4Version=a4Version, a21VideoBiosShadowingState=a21VideoBiosShadowingState, a11ConnectorPinout=a11ConnectorPinout, a10OperationalGroupIndex=a10OperationalGroupIndex, a25PartitionLabel=a25PartitionLabel, tDiskDrives=tDiskDrives, eParallelPorts=eParallelPorts, tSystemSlots=tSystemSlots, a3OperatingSystemIndex=a3OperatingSystemIndex, DmiInteger=DmiInteger, a20VideoIndex=a20VideoIndex, a26FruGroupIndex=a26FruGroupIndex, a19SlotType=a19SlotType, a19SlotWidth=a19SlotWidth, ePciDeviceInformation=ePciDeviceInformation, DmiDisplaystring=DmiDisplaystring, a20CurrentNumberOfBitsPerPixel=a20CurrentNumberOfBitsPerPixel, a28FruGroupIndex=a28FruGroupIndex, a23StorageType=a23StorageType, a20CurrentVideoMode=a20CurrentVideoMode, a18OperationalGroupIndex=a18OperationalGroupIndex, a10SystemCacheWritePolicy=a10SystemCacheWritePolicy, tParallelPorts=tParallelPorts, tDiskController=tDiskController, a40TargetNumber=a40TargetNumber, a38NumberOfLogicalVolumes=a38NumberOfLogicalVolumes, tSystemResourcesDescription=tSystemResourcesDescription, a5BiosCharacteristicsIndex=a5BiosCharacteristicsIndex, a39RaidAdapterIndex=a39RaidAdapterIndex, a17FruGroupIndex=a17FruGroupIndex, a16BootUpState=a16BootUpState, eLogicalMemory=eLogicalMemory, a23FruGroupIndex=a23FruGroupIndex, a12SerialPortIndex=a12SerialPortIndex, a4BiosIndex=a4BiosIndex, a19SlotDescription=a19SlotDescription, a28MouseDriverName=a28MouseDriverName, a33ResourceInstance=a33ResourceInstance, a16EnclosureOrChassis=a16EnclosureOrChassis, a16OperationalGroupIndex=a16OperationalGroupIndex, tSystemBiosCharacteristic=tSystemBiosCharacteristic, a7NumberOfExpansionSlots=a7NumberOfExpansionSlots, a4BiosRomSize=a4BiosRomSize)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, constraints_union, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(ip_address, bits, notification_type, enterprises, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, time_ticks, counter64, unsigned32, module_identity, object_identity, integer32, iso, counter32, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'Bits', 'NotificationType', 'enterprises', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'TimeTicks', 'Counter64', 'Unsigned32', 'ModuleIdentity', 'ObjectIdentity', 'Integer32', 'iso', 'Counter32', 'Gauge32')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
class Dmicounter(Integer32):
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 4294967295)
class Dmiinteger(Integer32):
pass
class Dmiinteger64(Integer32):
subtype_spec = Integer32.subtypeSpec + value_range_constraint(-18446744073709551615, 18446744073709551615)
class Dmioctetstring(OctetString):
pass
class Dmidisplaystring(DisplayString):
pass
class Dmidate(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(28, 28)
fixed_length = 28
class Dmicomponentindex(Integer32):
pass
ibm = mib_identifier((1, 3, 6, 1, 4, 1, 2))
ibm_prod = mib_identifier((1, 3, 6, 1, 4, 1, 2, 6))
net_finity = mib_identifier((1, 3, 6, 1, 4, 1, 2, 6, 71))
dmi_mibs = mib_identifier((1, 3, 6, 1, 4, 1, 2, 6, 71, 200))
net_finity_systems_mib = mib_identifier((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1))
dmtf_groups1 = mib_identifier((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1))
t_componentid1 = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1))
if mibBuilder.loadTexts:
tComponentid1.setStatus('mandatory')
if mibBuilder.loadTexts:
tComponentid1.setDescription('This group defines the attributes common to all components. This group is required.')
e_componentid1 = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eComponentid1.setStatus('mandatory')
if mibBuilder.loadTexts:
eComponentid1.setDescription('')
a1_manufacturer = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 1), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a1Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts:
a1Manufacturer.setDescription('Manufacturer of this system described by this component.')
a1_product = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a1Product.setStatus('mandatory')
if mibBuilder.loadTexts:
a1Product.setDescription('Product name for the system described by this component.')
a1_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a1Version.setStatus('mandatory')
if mibBuilder.loadTexts:
a1Version.setDescription('Version number of this component.')
a1_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 1, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a1SerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a1SerialNumber.setDescription('Serial number for the system described by this component.')
t_general_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2))
if mibBuilder.loadTexts:
tGeneralInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tGeneralInformation.setDescription('This group defines general information about this system.')
e_general_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eGeneralInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
eGeneralInformation.setDescription('')
a2_system_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 1), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a2SystemName.setStatus('mandatory')
if mibBuilder.loadTexts:
a2SystemName.setDescription('A name to identify this system.')
a2_system_location = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 2), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a2SystemLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
a2SystemLocation.setDescription('The physical location of this system.')
a2_system_primary_user_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 3), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a2SystemPrimaryUserName.setStatus('mandatory')
if mibBuilder.loadTexts:
a2SystemPrimaryUserName.setDescription('The name of the primary user or owner of this system.')
a2_system_primary_user_phone = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 4), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a2SystemPrimaryUserPhone.setStatus('mandatory')
if mibBuilder.loadTexts:
a2SystemPrimaryUserPhone.setDescription('The phone number of the primary user of this system.')
a2_system_boot_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 5), dmi_date()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a2SystemBootUpTime.setStatus('mandatory')
if mibBuilder.loadTexts:
a2SystemBootUpTime.setDescription('The time at which the system was last booted')
a2_system_date_time = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 2, 1, 6), dmi_date()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a2SystemDateTime.setStatus('mandatory')
if mibBuilder.loadTexts:
a2SystemDateTime.setDescription('This attribute returns the actual system date and time.')
t_operating_system = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3))
if mibBuilder.loadTexts:
tOperatingSystem.setStatus('mandatory')
if mibBuilder.loadTexts:
tOperatingSystem.setDescription('This group defines general information about operating systems installed on this system.')
e_operating_system = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a3OperatingSystemIndex'))
if mibBuilder.loadTexts:
eOperatingSystem.setStatus('mandatory')
if mibBuilder.loadTexts:
eOperatingSystem.setDescription('')
a3_operating_system_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemIndex.setDescription('The index into the operating system table.')
a3_operating_system_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemName.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemName.setDescription('The name of this operating system.')
a3_operating_system_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemVersion.setDescription('The version number of this operating system.')
a3_primary_operating_system = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3PrimaryOperatingSystem.setStatus('mandatory')
if mibBuilder.loadTexts:
a3PrimaryOperatingSystem.setDescription('If true, this is the primary operating system.')
a3_operating_system_boot_device_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vHard-disk', 3), ('vFloppy-disk', 4), ('vOptical-rom', 5), ('vOptical-worm', 6), ('vOptical-rw', 7), ('vCompact-disk', 8), ('vFlash-disk', 9), ('vBernoulli', 10), ('vOpticalFloppyDisk', 11)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemBootDeviceStorageType.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemBootDeviceStorageType.setDescription('An index into the Disks Table to indicate the device from which this operating system was booted. To fully access the Disks Table, this index must be combined with the attribute Boot Device Index')
a3_operating_system_boot_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemBootDeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemBootDeviceIndex.setDescription('An index into the Disks Table')
a3_operating_system_boot_partition_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemBootPartitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemBootPartitionIndex.setDescription('An index into the Partition table indicating the partition from which this operating system booted.')
a3_operating_system_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 3, 1, 8), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a3OperatingSystemDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a3OperatingSystemDescription.setDescription('A description of this operating system.')
t_system_bios = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4))
if mibBuilder.loadTexts:
tSystemBios.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemBios.setDescription('This group defines the attributes for the System BIOS.')
e_system_bios = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a4BiosIndex'))
if mibBuilder.loadTexts:
eSystemBios.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemBios.setDescription('')
a4_bios_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4BiosIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a4BiosIndex.setDescription('The index into the system BIOS table.')
a4_manufacturer = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts:
a4Manufacturer.setDescription('The name of the company that wrote this System BIOS.')
a4_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4Version.setStatus('mandatory')
if mibBuilder.loadTexts:
a4Version.setDescription('The version number or version string of this BIOS.')
a4_bios_rom_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4BiosRomSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a4BiosRomSize.setDescription('The physical size of this BIOS ROM device in Kilo Bytes')
a4_starting_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 5), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4StartingAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a4StartingAddress.setDescription('The starting physical address for the memory which the BIOS occupies')
a4_ending_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 6), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4EndingAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a4EndingAddress.setDescription('The ending physical address for the memory which the BIOS occupies')
a4_loader_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 7), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4LoaderVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
a4LoaderVersion.setDescription('The BIOS flash loader version number or string.')
a4_bios_release_date = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 8), dmi_date()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4BiosReleaseDate.setStatus('mandatory')
if mibBuilder.loadTexts:
a4BiosReleaseDate.setDescription('The BIOS release date.')
a4_primary_bios = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a4PrimaryBios.setStatus('mandatory')
if mibBuilder.loadTexts:
a4PrimaryBios.setDescription('If true, this is the primary System BIOS.')
t_system_bios_characteristic = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5))
if mibBuilder.loadTexts:
tSystemBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemBiosCharacteristic.setDescription('This group defines the characteristics for the System BIOS.')
e_system_bios_characteristic = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a5BiosCharacteristicsIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a5BiosNumber'))
if mibBuilder.loadTexts:
eSystemBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemBiosCharacteristic.setDescription('')
a5_bios_characteristics_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a5BiosCharacteristicsIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a5BiosCharacteristicsIndex.setDescription('This is an index into the BIOS Characteristics table. ')
a5_bios_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a5BiosNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a5BiosNumber.setDescription('This field refers to the BIOS number, which correlates to the System BIOS Index. ')
a5_bios_characteristics = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vUnsupported', 3), ('vIsa-support', 4), ('vMca-support', 5), ('vEisa-support', 6), ('vPci-support', 7), ('vPcmcia-support', 8), ('vPnp-support', 9), ('vApmSupport', 10), ('vUpgradeable-bios', 11), ('vBios-shadowing-allowed', 12), ('vVl-vesa-support', 13), ('vEscdSupport', 14)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a5BiosCharacteristics.setStatus('mandatory')
if mibBuilder.loadTexts:
a5BiosCharacteristics.setDescription('The different attributes supported by this version of the BIOS')
a5_bios_characteristics_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 5, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a5BiosCharacteristicsDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a5BiosCharacteristicsDescription.setDescription('An expanded description of this BIOS Characteristic.')
t_processor = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6))
if mibBuilder.loadTexts:
tProcessor.setStatus('mandatory')
if mibBuilder.loadTexts:
tProcessor.setDescription('This group defines the attributes for each and every processor installed in this system.')
e_processor = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a6ProcessorIndex'))
if mibBuilder.loadTexts:
eProcessor.setStatus('mandatory')
if mibBuilder.loadTexts:
eProcessor.setDescription('')
a6_processor_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6ProcessorIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a6ProcessorIndex.setDescription('An index into the processor table.')
a6_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vCentralProcessor', 3), ('vMath-processor', 4), ('vDsp-processor', 5), ('vVideo-processor', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6Type.setStatus('mandatory')
if mibBuilder.loadTexts:
a6Type.setDescription('The type of processor currently in the system.')
a6_processor_family = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 32, 48, 64, 80, 96, 112, 128, 144))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('v8086', 3), ('v80286', 4), ('v80386', 5), ('v80486', 6), ('v8087', 7), ('v80287', 8), ('v80387', 9), ('v80487', 10), ('vPentiumFamily', 11), ('vPowerPcFamily', 32), ('vAlphaFamily', 48), ('vMipsFamily', 64), ('vSparcFamily', 80), ('v68040Family', 96), ('vHobbitFamily', 112), ('vWeitek', 128), ('vPa-riscFamily', 144)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6ProcessorFamily.setStatus('mandatory')
if mibBuilder.loadTexts:
a6ProcessorFamily.setDescription('The family of processors to which this processor belongs.')
a6_version_information = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6VersionInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
a6VersionInformation.setDescription('The version number or string for this processor.')
a6_maximum_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6MaximumSpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
a6MaximumSpeed.setDescription('The maximum speed (in MHz) of this processor.')
a6_current_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6CurrentSpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
a6CurrentSpeed.setDescription('The current speed (in MHz) of this processor.')
a6_processor_upgrade = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vDaughterBoard', 3), ('vZifSocket', 4), ('vReplacementpiggyBack', 5), ('vNone', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6ProcessorUpgrade.setStatus('mandatory')
if mibBuilder.loadTexts:
a6ProcessorUpgrade.setDescription('The method by which this processor can be upgraded, if upgrades are supported. ')
a6_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a6FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a6_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 6, 1, 9), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a6OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a6OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_motherboard = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7))
if mibBuilder.loadTexts:
tMotherboard.setStatus('mandatory')
if mibBuilder.loadTexts:
tMotherboard.setDescription('This group defines attributes for the mother board')
e_motherboard = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eMotherboard.setStatus('mandatory')
if mibBuilder.loadTexts:
eMotherboard.setDescription('')
a7_number_of_expansion_slots = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a7NumberOfExpansionSlots.setStatus('mandatory')
if mibBuilder.loadTexts:
a7NumberOfExpansionSlots.setDescription('This attribute indicates the total number of expansion slots which physically exist on the motherboard whether occupied or not (See System Slots groups)')
a7_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a7FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a7FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a7_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 7, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a7OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a7OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_physical_memory = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8))
if mibBuilder.loadTexts:
tPhysicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts:
tPhysicalMemory.setDescription('This group defines the physical attributes for system memory and any add- on memory installed in this system.')
e_physical_memory = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a8PhysicalMemoryIndex'))
if mibBuilder.loadTexts:
ePhysicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts:
ePhysicalMemory.setDescription('')
a8_physical_memory_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8PhysicalMemoryIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a8PhysicalMemoryIndex.setDescription('An index into the physical memory table.')
a8_physical_memory_location = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vSystemBoardOrMotherBoard', 3), ('vIsaAddOnCard', 4), ('vEisaAddOnCard', 5), ('vPciAddOnCard', 6), ('vMcaAddOnCard', 7), ('vPcmciaAddOnCard', 8), ('vProprietaryAddOnCard', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8PhysicalMemoryLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
a8PhysicalMemoryLocation.setDescription('The location of the memory modules, whether on the system board or an add on board.')
a8_memory_starting_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 3), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8MemoryStartingAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a8MemoryStartingAddress.setDescription('This is the starting physical address mapped by this memory component')
a8_memory_ending_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 4), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8MemoryEndingAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a8MemoryEndingAddress.setDescription('This is the ending physical address mapped by this memory component')
a8_memory_usage = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vSystemMemory', 3), ('vVideoMemory', 4), ('vFlashMemory', 5), ('vNonVolatileRam', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8MemoryUsage.setStatus('mandatory')
if mibBuilder.loadTexts:
a8MemoryUsage.setDescription('What this memory component is used for.')
a8_maximum_memory_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8MaximumMemoryCapacity.setStatus('mandatory')
if mibBuilder.loadTexts:
a8MaximumMemoryCapacity.setDescription('The maximum memory capacity, in MegaBytes on this device.')
a8_number_of_simm_slots = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8NumberOfSimmSlots.setStatus('mandatory')
if mibBuilder.loadTexts:
a8NumberOfSimmSlots.setDescription('The number of SIMM slots available for this type of memory on this device.')
a8_number_of_simm_slots_used = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8NumberOfSimmSlotsUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
a8NumberOfSimmSlotsUsed.setDescription('The number of SIMM slots in use for this type of memory on this device')
a8_memory_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 9), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8MemorySpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
a8MemorySpeed.setDescription('The speed of this memory component in nano seconds')
a8_memory_error_correction = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vNone', 3), ('vParity', 4), ('vSingleBitEcc', 5), ('vMultibitEcc', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8MemoryErrorCorrection.setStatus('mandatory')
if mibBuilder.loadTexts:
a8MemoryErrorCorrection.setDescription('The main type of error correction scheme supported by this memory component.')
a8_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 11), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a8FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a8_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 8, 1, 12), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a8OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a8OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_logical_memory = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9))
if mibBuilder.loadTexts:
tLogicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts:
tLogicalMemory.setDescription('This group defines the logical memory attributes for system memory and any add-on memory installed in this system.')
e_logical_memory = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eLogicalMemory.setStatus('mandatory')
if mibBuilder.loadTexts:
eLogicalMemory.setDescription('')
a9_base_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9BaseMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9BaseMemorySize.setDescription('The total size of the base memory in Kilo Bytes.')
a9_free_base_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9FreeBaseMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9FreeBaseMemorySize.setDescription('The size of free base memory in Kilo Bytes.')
a9_extended_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExtendedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExtendedMemorySize.setDescription('The total size of the extended memory in Kilo Bytes.')
a9_free_extended_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9FreeExtendedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9FreeExtendedMemorySize.setDescription('The size of free extended memory in Kilo Bytes.')
a9_extended_memory_manager_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 5), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExtendedMemoryManagerName.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExtendedMemoryManagerName.setDescription('The name of the extended memory manager.')
a9_extended_memory_manager_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 6), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExtendedMemoryManagerVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExtendedMemoryManagerVersion.setDescription('The version information of the extended memory manager.')
a9_expanded_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExpandedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExpandedMemorySize.setDescription('The total size of the expanded memory in Kilo Bytes.')
a9_free_expanded_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9FreeExpandedMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9FreeExpandedMemorySize.setDescription('The size of free expanded memory in Kilo Bytes.')
a9_expanded_memory_manager_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 9), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExpandedMemoryManagerName.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExpandedMemoryManagerName.setDescription('The name of the expanded memory manager.')
a9_expanded_memory_manager_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 10), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExpandedMemoryManagerVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExpandedMemoryManagerVersion.setDescription('The version information of the expanded memory manager.')
a9_expanded_memory_page_frame_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 11), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExpandedMemoryPageFrameAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExpandedMemoryPageFrameAddress.setDescription('The starting physical address of the expanded memory page frame.')
a9_expanded_memory_page_frame_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 12), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExpandedMemoryPageFrameSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExpandedMemoryPageFrameSize.setDescription('The size in Kilo Bytes of the expanded memory page frame.')
a9_expanded_memory_page_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 9, 1, 13), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a9ExpandedMemoryPageSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a9ExpandedMemoryPageSize.setDescription('The size in Kilo Bytes of an expanded memory page, as opposed to the expanded memory page frame, which consists of a number of memory pages.')
t_system_cache = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10))
if mibBuilder.loadTexts:
tSystemCache.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemCache.setDescription('This group defines the attributes for different System Caches installed in this system.')
e_system_cache = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a10SystemCacheIndex'))
if mibBuilder.loadTexts:
eSystemCache.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemCache.setDescription('')
a10_system_cache_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10SystemCacheIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a10SystemCacheIndex.setDescription('An index into the System Cache table.')
a10_system_cache_level = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vPrimary', 3), ('vSecondary', 4), ('vTertiary', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10SystemCacheLevel.setStatus('mandatory')
if mibBuilder.loadTexts:
a10SystemCacheLevel.setDescription('Defines primary or secondary System Cache, or a subsidiary cache.')
a10_system_cache_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10SystemCacheSpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
a10SystemCacheSpeed.setDescription('The speed of this System Cache module in nano seconds')
a10_system_cache_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10SystemCacheSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a10SystemCacheSize.setDescription('The size of this System Cache module in Kilo Bytes.')
a10_system_cache_write_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vWriteBack', 3), ('vWriteThrough', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10SystemCacheWritePolicy.setStatus('mandatory')
if mibBuilder.loadTexts:
a10SystemCacheWritePolicy.setDescription('Is this a write-back or a write-through cache?')
a10_system_cache_error_correction = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vNone', 3), ('vParity', 4), ('vSingleBitEcc', 5), ('vMultibitEcc', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10SystemCacheErrorCorrection.setStatus('mandatory')
if mibBuilder.loadTexts:
a10SystemCacheErrorCorrection.setDescription('This field describes the main type of error correction scheme supported by thiscache component.')
a10_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a10FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides an index into the FRU table.A Value = -1 means that the group is not a FRU')
a10_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 10, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a10OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a10OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_parallel_ports = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11))
if mibBuilder.loadTexts:
tParallelPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
tParallelPorts.setDescription('This group defines the attributes for parallel ports in this system.')
e_parallel_ports = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a11ParallelPortIndex'))
if mibBuilder.loadTexts:
eParallelPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
eParallelPorts.setDescription('')
a11_parallel_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11ParallelPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a11ParallelPortIndex.setDescription('An index into the parallel ports table.')
a11_parallel_base_io_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 2), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11ParallelBaseIoAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a11ParallelBaseIoAddress.setDescription('Base I/O address for this parallel port.')
a11_irq_used = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11IrqUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
a11IrqUsed.setDescription('IRQ number that is being used by this parallel port.')
a11_logical_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11LogicalName.setStatus('mandatory')
if mibBuilder.loadTexts:
a11LogicalName.setDescription('The logical name of the I/O device on this parallel port, under this operating environment.')
a11_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vDb-25Female', 3), ('vDb-25Male', 4), ('vCentronics', 5), ('vMini-centronics', 6), ('vProprietary', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11ConnectorType.setStatus('mandatory')
if mibBuilder.loadTexts:
a11ConnectorType.setDescription('The connector used to interface with this I/O device on this parallel port.')
a11_connector_pinout = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vXtat', 3), ('vPs2', 4), ('vIeee1284', 5), ('vProprietary', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11ConnectorPinout.setStatus('mandatory')
if mibBuilder.loadTexts:
a11ConnectorPinout.setDescription('The pinout used by the I/O device on this parallel port.')
a11_dma_support = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11DmaSupport.setStatus('mandatory')
if mibBuilder.loadTexts:
a11DmaSupport.setDescription('If true, DMA is supported.')
a11_parallel_port_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11ParallelPortCapabilities.setStatus('mandatory')
if mibBuilder.loadTexts:
a11ParallelPortCapabilities.setDescription('Capabilities of this parallel port. This is a bit field mask with the bits defined as follows: Bit 0 set = XT/AT compatible Bit 1 set = PS/2 compatible Bit 2 set = ECP Bit 3 set = EPP')
a11_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 11, 1, 9), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a11OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a11OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_serial_ports = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12))
if mibBuilder.loadTexts:
tSerialPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
tSerialPorts.setDescription('This group defines the attributes for serial ports in this system.')
e_serial_ports = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a12SerialPortIndex'))
if mibBuilder.loadTexts:
eSerialPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
eSerialPorts.setDescription('')
a12_serial_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12SerialPortIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a12SerialPortIndex.setDescription('An index into the serial ports table.')
a12_serial_base_io = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 2), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12SerialBaseIo.setStatus('mandatory')
if mibBuilder.loadTexts:
a12SerialBaseIo.setDescription('Base I/O address for this serial port.')
a12_irq_used = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12IrqUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
a12IrqUsed.setDescription('IRQ number that is being used by this serial port.')
a12_logical_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12LogicalName.setStatus('mandatory')
if mibBuilder.loadTexts:
a12LogicalName.setDescription('The logical name of this serial port under this operating environment.')
a12_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vDb-9PinMale', 3), ('vDb-9PinFemale', 4), ('vDb-25PinMale', 5), ('vDb-25PinFemale', 6), ('vRj-11', 7), ('vRj-45', 8), ('vProprietary', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12ConnectorType.setStatus('mandatory')
if mibBuilder.loadTexts:
a12ConnectorType.setDescription('The connector used to interface with the I/O device on this serial port.')
a12_maximum_speed = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12MaximumSpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
a12MaximumSpeed.setDescription('Maximum transfer speed of the device on this serial port in bits per second.')
a12_serial_port_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vXtatCcompatible', 3), ('v16450Compatible', 4), ('v16550Compatible', 5), ('v16550aCompatible', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12SerialPortCapabilities.setStatus('mandatory')
if mibBuilder.loadTexts:
a12SerialPortCapabilities.setDescription('The capabilities of this Serial port.')
a12_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 12, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a12OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a12OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_irq = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13))
if mibBuilder.loadTexts:
tIrq.setStatus('mandatory')
if mibBuilder.loadTexts:
tIrq.setDescription('This groups defines attributes for IRQs in this system.')
e_irq = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a13IrqNumber'))
if mibBuilder.loadTexts:
eIrq.setStatus('mandatory')
if mibBuilder.loadTexts:
eIrq.setDescription('')
a13_irq_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a13IrqNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a13IrqNumber.setDescription('The current IRQ number for this IRQ.')
a13_availability_of_irq = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vAvailable', 3), ('vInUse', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a13AvailabilityOfIrq.setStatus('mandatory')
if mibBuilder.loadTexts:
a13AvailabilityOfIrq.setDescription('Is this IRQ available or in use.')
a13_irq_trigger_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vLevel', 3), ('vEdge', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a13IrqTriggerType.setStatus('mandatory')
if mibBuilder.loadTexts:
a13IrqTriggerType.setDescription('The attribute indicates the trigger type of the IRQ')
a13_irq_shareable = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a13IrqShareable.setStatus('mandatory')
if mibBuilder.loadTexts:
a13IrqShareable.setDescription('If true, this IRQ is shareable.')
a13_irq_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 13, 1, 5), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a13IrqDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a13IrqDescription.setDescription('The name of the logical device name that is currently using this IRQ.')
t_dma = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14))
if mibBuilder.loadTexts:
tDma.setStatus('mandatory')
if mibBuilder.loadTexts:
tDma.setDescription('This group defines various attributes for the various DMA channels in this system.')
e_dma = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a14DmaNumber'))
if mibBuilder.loadTexts:
eDma.setStatus('mandatory')
if mibBuilder.loadTexts:
eDma.setDescription('')
a14_dma_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a14DmaNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a14DmaNumber.setDescription('The current DMA channel number.')
a14_availability_of_dma = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a14AvailabilityOfDma.setStatus('mandatory')
if mibBuilder.loadTexts:
a14AvailabilityOfDma.setDescription('If true, this DMA channel is available.')
a14_dma_burst_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a14DmaBurstMode.setStatus('mandatory')
if mibBuilder.loadTexts:
a14DmaBurstMode.setDescription('If true, this DMA channel supports burst mode.')
a14_dma_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 14, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a14DmaDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a14DmaDescription.setDescription('The name of the logical device that is currently using this DMA channel.')
t_memory_mapped_io = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15))
if mibBuilder.loadTexts:
tMemoryMappedIo.setStatus('mandatory')
if mibBuilder.loadTexts:
tMemoryMappedIo.setDescription('This group defines various attributes for memory mapped I/O on this system.')
e_memory_mapped_io = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a15MemoryMappedIoStartingAddress'))
if mibBuilder.loadTexts:
eMemoryMappedIo.setStatus('mandatory')
if mibBuilder.loadTexts:
eMemoryMappedIo.setDescription('')
a15_memory_mapped_io_starting_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1, 1), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a15MemoryMappedIoStartingAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a15MemoryMappedIoStartingAddress.setDescription('The starting address of a contiguous System memory mapped I/O region.')
a15_memory_mapped_io_ending_address = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1, 2), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a15MemoryMappedIoEndingAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
a15MemoryMappedIoEndingAddress.setDescription('The ending address of a contiguous System memory mapped I/O region.')
a15_memory_mapped_io_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 15, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a15MemoryMappedIoDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a15MemoryMappedIoDescription.setDescription('The name of the logical device currently using this Memory Mapped I/O.')
t_system_enclosure = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16))
if mibBuilder.loadTexts:
tSystemEnclosure.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemEnclosure.setDescription('This group defines the attributes for the system enclosure.')
e_system_enclosure = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eSystemEnclosure.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemEnclosure.setDescription('')
a16_enclosure_or_chassis = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vDesktop', 3), ('vLowProfileDesktop', 4), ('vPizzaBox', 5), ('vMiniTower', 6), ('vTower', 7), ('vPortable', 8), ('vLaptop', 9), ('vNotebook', 10), ('vHandHeld', 11), ('vDockingStation', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16EnclosureOrChassis.setStatus('mandatory')
if mibBuilder.loadTexts:
a16EnclosureOrChassis.setDescription('The type of Enclosure.')
a16_asset_tag = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 2), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a16AssetTag.setStatus('mandatory')
if mibBuilder.loadTexts:
a16AssetTag.setDescription('The system asset tag number or string')
a16_chassis_lock_present = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16ChassisLockPresent.setStatus('mandatory')
if mibBuilder.loadTexts:
a16ChassisLockPresent.setDescription('If true, a chassis lock is present.')
a16_boot_up_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vSafe', 3), ('vWarning', 4), ('vCritical', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16BootUpState.setStatus('mandatory')
if mibBuilder.loadTexts:
a16BootUpState.setDescription('The current state of this system when it booted.')
a16_power_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vSafe', 3), ('vWarning', 4), ('vCritical', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16PowerState.setStatus('mandatory')
if mibBuilder.loadTexts:
a16PowerState.setDescription('The current state of the power supply state for this system.')
a16_thermal_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vSafe', 3), ('vWarning', 4), ('vCritical', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16ThermalState.setStatus('mandatory')
if mibBuilder.loadTexts:
a16ThermalState.setDescription('The current thermal state of this system.')
a16_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a16FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a16_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 16, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a16OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a16OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_power_supply = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17))
if mibBuilder.loadTexts:
tPowerSupply.setStatus('mandatory')
if mibBuilder.loadTexts:
tPowerSupply.setDescription('This group defines various attributes for power supplies in this system.')
e_power_supply = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a17PowerSupplyIndex'))
if mibBuilder.loadTexts:
ePowerSupply.setStatus('mandatory')
if mibBuilder.loadTexts:
ePowerSupply.setDescription('')
a17_power_supply_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a17PowerSupplyIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a17PowerSupplyIndex.setDescription('The index number of the current power supply.')
a17_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a17FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a17FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a17_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 17, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a17OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a17OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_cooling_device = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18))
if mibBuilder.loadTexts:
tCoolingDevice.setStatus('mandatory')
if mibBuilder.loadTexts:
tCoolingDevice.setDescription('This group defines various attributes for cooling devices in this system.')
e_cooling_device = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a18CoolingDeviceIndex'))
if mibBuilder.loadTexts:
eCoolingDevice.setStatus('mandatory')
if mibBuilder.loadTexts:
eCoolingDevice.setDescription('')
a18_cooling_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a18CoolingDeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a18CoolingDeviceIndex.setDescription('An index into the cooling device table.')
a18_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a18FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a18FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is partof another FRU, this provides index into the FRU table.A Value = -1 means that the group is not a FRU')
a18_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 18, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a18OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a18OperationalGroupIndex.setDescription('The index into the Operational State Table for this device if applicable')
t_system_slots = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19))
if mibBuilder.loadTexts:
tSystemSlots.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemSlots.setDescription('This group defines the attributes for the different system expansion slots supported in this system.')
e_system_slots = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a19SlotIndex'))
if mibBuilder.loadTexts:
eSystemSlots.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemSlots.setDescription('')
a19_slot_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a19SlotIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a19SlotIndex.setDescription('An index into the system slot table. This is the hardware ID number for each expansion slot, whether it is occupied or not (starting with 1)')
a19_slot_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 16, 18, 20, 24))).clone(namedValues=named_values(('vUnknown', 1), ('vIsa', 2), ('vEisa', 4), ('vMca', 8), ('vPci', 16), ('vPciIsa', 18), ('vPciEisa', 20), ('vPciMca', 24)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a19SlotType.setStatus('mandatory')
if mibBuilder.loadTexts:
a19SlotType.setDescription('The bus type supported in this slot. This is a bit field with the following definitions.Bit 0, if set, means it is a long-length card; if 0, it is a short-length cardBit 1, if set, is ISA, Bit 2 is EISA, Bit 3 is MCA, Bit 4 is PCI, Bit 5 is VL, and Bit 6 is PCMCIA.')
a19_slot_width = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('v8BitCard', 3), ('v16BitCard', 4), ('v32BitCard', 5), ('v64BitCard', 6), ('v128BitCard', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a19SlotWidth.setStatus('mandatory')
if mibBuilder.loadTexts:
a19SlotWidth.setDescription('The maximum bus width of cards accepted in this slot.')
a19_current_usage = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vAvailable', 3), ('vInUse1', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a19CurrentUsage.setStatus('mandatory')
if mibBuilder.loadTexts:
a19CurrentUsage.setDescription('Is this slot is currently in use?')
a19_slot_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 19, 1, 5), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a19SlotDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a19SlotDescription.setDescription('The field describes the card currently occupying this slot.')
t_video = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20))
if mibBuilder.loadTexts:
tVideo.setStatus('mandatory')
if mibBuilder.loadTexts:
tVideo.setDescription('This group defines the attributes of video devices in this system.')
e_video = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a20VideoIndex'))
if mibBuilder.loadTexts:
eVideo.setStatus('mandatory')
if mibBuilder.loadTexts:
eVideo.setDescription('')
a20_video_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20VideoIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a20VideoIndex.setDescription('An index into the video table.')
a20_video_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vCga', 3), ('vEga', 4), ('vVga', 5), ('vSvga', 6), ('vMda', 7), ('vHgc', 8), ('vMcga', 9), ('v8514a', 10), ('vXga', 11), ('vLinearFrameBuffer', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20VideoType.setStatus('mandatory')
if mibBuilder.loadTexts:
a20VideoType.setDescription('The architecture of the video subsystem in this system.')
a20_current_video_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentVideoMode.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentVideoMode.setDescription('The current video mode in this system')
a20_minimum_refresh_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20MinimumRefreshRate.setStatus('mandatory')
if mibBuilder.loadTexts:
a20MinimumRefreshRate.setDescription('The minimum refresh rate for this video subsystem in Hz.')
a20_maximum_refresh_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20MaximumRefreshRate.setStatus('mandatory')
if mibBuilder.loadTexts:
a20MaximumRefreshRate.setDescription('The maximum refresh rate for this video subsystem in Hz.')
a20_video_memory_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vVram', 3), ('vDram', 4), ('vSram', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20VideoMemoryType.setStatus('mandatory')
if mibBuilder.loadTexts:
a20VideoMemoryType.setDescription('The type of Video Memory for this adapter.')
a20_video_ram_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20VideoRamMemorySize.setStatus('mandatory')
if mibBuilder.loadTexts:
a20VideoRamMemorySize.setDescription('Video adapter memory size in Kilo Bytes.')
a20_scan_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vInterlaced', 3), ('vNonInterlaced', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20ScanMode.setStatus('mandatory')
if mibBuilder.loadTexts:
a20ScanMode.setDescription('The scan mode for this video device.')
a20_video_physical_location = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vIntegrated', 3), ('vAddOnCard', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20VideoPhysicalLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
a20VideoPhysicalLocation.setDescription('The location of the video controller circuitry.')
a20_current_vertical_resolution = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 10), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentVerticalResolution.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentVerticalResolution.setDescription('The current number of vertical pixels.')
a20_current_horizontal_resolution = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 11), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentHorizontalResolution.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentHorizontalResolution.setDescription('The current number of horizontal pixels.')
a20_current_number_of_bits_per_pixel = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 12), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentNumberOfBitsPerPixel.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentNumberOfBitsPerPixel.setDescription('The number of bits used to display each pixel for this video device.')
a20_current_number_of_rows = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 13), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentNumberOfRows.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentNumberOfRows.setDescription('The number of rows in character mode for this video device.')
a20_current_number_of_columns = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 14), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentNumberOfColumns.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentNumberOfColumns.setDescription('The number of columns in character mode for this video device.')
a20_current_refresh_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 15), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20CurrentRefreshRate.setStatus('mandatory')
if mibBuilder.loadTexts:
a20CurrentRefreshRate.setDescription('The current refresh rate in Hz for this video device.')
a20_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 16), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a20FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another RU, this provides an index into the FRU table. A value = -1 means that the group is not a FRU.')
a20_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 20, 1, 17), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a20OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a20OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
t_video_bios = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21))
if mibBuilder.loadTexts:
tVideoBios.setStatus('mandatory')
if mibBuilder.loadTexts:
tVideoBios.setDescription('This group defines the attributes for the Video BIOS.')
e_video_bios = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a21VideoBiosIndex'))
if mibBuilder.loadTexts:
eVideoBios.setStatus('mandatory')
if mibBuilder.loadTexts:
eVideoBios.setDescription('')
a21_video_bios_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a21VideoBiosIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a21VideoBiosIndex.setDescription('The index into the Video BIOS table.')
a21_video_bios_manufacturer = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a21VideoBiosManufacturer.setStatus('mandatory')
if mibBuilder.loadTexts:
a21VideoBiosManufacturer.setDescription('The name of the company that wrote this Video BIOS.')
a21_video_bios_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a21VideoBiosVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
a21VideoBiosVersion.setDescription('The version number or version string of this Video BIOS.')
a21_video_bios_release_date = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 4), dmi_date()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a21VideoBiosReleaseDate.setStatus('mandatory')
if mibBuilder.loadTexts:
a21VideoBiosReleaseDate.setDescription('The Video BIOS release date.')
a21_video_bios_shadowing_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 21, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a21VideoBiosShadowingState.setStatus('mandatory')
if mibBuilder.loadTexts:
a21VideoBiosShadowingState.setDescription('If true, the Video BIOS is currently being shadowed ')
t_video_bios_characteristic = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22))
if mibBuilder.loadTexts:
tVideoBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts:
tVideoBiosCharacteristic.setDescription('This group defines the characteristics for the Video BIOS.')
e_video_bios_characteristic = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a22VideoBiosCharacteristicsIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a22VideoBiosNumber'))
if mibBuilder.loadTexts:
eVideoBiosCharacteristic.setStatus('mandatory')
if mibBuilder.loadTexts:
eVideoBiosCharacteristic.setDescription('')
a22_video_bios_characteristics_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a22VideoBiosCharacteristicsIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a22VideoBiosCharacteristicsIndex.setDescription('This is an index into the Video BIOS Characteristics table. ')
a22_video_bios_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a22VideoBiosNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a22VideoBiosNumber.setDescription('This is the Video BIOS number which correlates to the Video BIOS Index. ')
a22_video_bios_characteristics = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vUnsupported', 3), ('vStandardVideoBios', 4), ('vVesaBiosExtensionsSupported', 5), ('vVesaPowerManagementSupported', 6), ('vVesaDisplayDataChannelSupported', 7), ('vVideoBios-shadowing-allowed', 8), ('vVideoBiosUpgradable', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a22VideoBiosCharacteristics.setStatus('mandatory')
if mibBuilder.loadTexts:
a22VideoBiosCharacteristics.setDescription('The attributes and extensions supported by this version of the Video BIOS')
a22_video_bios_characteristics_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 22, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a22VideoBiosCharacteristicsDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a22VideoBiosCharacteristicsDescription.setDescription('Expanded description of this VIDEO BIOS Characteristic.')
t_disk_drives = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23))
if mibBuilder.loadTexts:
tDiskDrives.setStatus('mandatory')
if mibBuilder.loadTexts:
tDiskDrives.setDescription('This group defines the physical attributes of disk mass storage devices in this system.')
e_disk_drives = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a23StorageType'), (0, 'PCSYSTEMSMIF-MIB', 'a23DiskIndex'))
if mibBuilder.loadTexts:
eDiskDrives.setStatus('mandatory')
if mibBuilder.loadTexts:
eDiskDrives.setDescription('')
a23_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vHard-disk', 3), ('vFloppy-disk', 4), ('vOptical-rom', 5), ('vOptical-worm', 6), ('vOptical-rw', 7), ('vCompact-disk', 8), ('vFlash-disk', 9), ('vBernoulli', 10), ('vOpticalFloppyDisk', 11)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23StorageType.setStatus('mandatory')
if mibBuilder.loadTexts:
a23StorageType.setDescription('The type of this mass storage device')
a23_disk_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23DiskIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a23DiskIndex.setDescription('An index into the disk table.')
a23_storage_interface_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vScsi', 3), ('vEsdi', 4), ('vIde', 5), ('vCmd', 6), ('vIpi', 7), ('vSt506', 8), ('vDssi', 9), ('vParallel-port', 10), ('vHippi', 11), ('vQic2', 12), ('vFloppy-disk-interface', 13), ('vPcmcia', 14), ('vEnhancedAtaide', 15)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23StorageInterfaceType.setStatus('mandatory')
if mibBuilder.loadTexts:
a23StorageInterfaceType.setDescription('The interface used by this mass storage device')
a23_interface_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23InterfaceDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
a23InterfaceDescription.setDescription('A longer description of the mass storage interface.For Example, SCSI2 fast wide')
a23_media_loaded = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23MediaLoaded.setStatus('mandatory')
if mibBuilder.loadTexts:
a23MediaLoaded.setDescription('If true, the media is loaded')
a23_removable_media = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23RemovableMedia.setStatus('mandatory')
if mibBuilder.loadTexts:
a23RemovableMedia.setDescription('If true, the media in this drive is removable')
a23_device_id = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23DeviceId.setStatus('mandatory')
if mibBuilder.loadTexts:
a23DeviceId.setDescription('The SCSI address of this device')
a23_logical_unit_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23LogicalUnitNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a23LogicalUnitNumber.setDescription('The logical unit number of this SCSI device. ')
a23_number_of_physical_cylinders = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 9), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23NumberOfPhysicalCylinders.setStatus('mandatory')
if mibBuilder.loadTexts:
a23NumberOfPhysicalCylinders.setDescription('The number of reported Physical Cylinders on this device')
a23_number_of_physical_sectors_per_track = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 10), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23NumberOfPhysicalSectorsPerTrack.setStatus('mandatory')
if mibBuilder.loadTexts:
a23NumberOfPhysicalSectorsPerTrack.setDescription('The number of reported Physical sectors per track for this device')
a23_number_of_physical_heads = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 11), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23NumberOfPhysicalHeads.setStatus('mandatory')
if mibBuilder.loadTexts:
a23NumberOfPhysicalHeads.setDescription('The number of reported Physical heads for this device')
a23_sector_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 12), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23SectorSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a23SectorSize.setDescription('The Size in bytes of the physical disk sector as reported by the disk. ')
a23_total_physical_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 13), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23TotalPhysicalSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a23TotalPhysicalSize.setDescription('The total size in KiloBytes (1024 bytes) of this device. ')
a23_partitions = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 14), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23Partitions.setStatus('mandatory')
if mibBuilder.loadTexts:
a23Partitions.setDescription('The number of partitions on this storage unit')
a23_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 23, 1, 15), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a23FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a23FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this provides an index into the FRU table. A value = -1 means that the group is not a FRU.')
t_disk_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24))
if mibBuilder.loadTexts:
tDiskMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts:
tDiskMappingTable.setDescription('A table relating disks to partitions. May have an instance of a disk or partition more than once')
e_disk_mapping_table = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a24StorageType'), (0, 'PCSYSTEMSMIF-MIB', 'a24DiskIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a24PartitionIndex'))
if mibBuilder.loadTexts:
eDiskMappingTable.setStatus('mandatory')
if mibBuilder.loadTexts:
eDiskMappingTable.setDescription('')
a24_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vHard-disk', 3), ('vFloppy-disk', 4), ('vOptical-rom', 5), ('vOptical-worm', 6), ('vOptical-rw', 7), ('vCompact-disk', 8), ('vFlash-disk', 9), ('vBernoulli', 10), ('vOpticalFloppyDisk', 11)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a24StorageType.setStatus('mandatory')
if mibBuilder.loadTexts:
a24StorageType.setDescription('An index value into the Disk Table')
a24_disk_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a24DiskIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a24DiskIndex.setDescription('An index value into the Disk Table')
a24_partition_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 24, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a24PartitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a24PartitionIndex.setDescription('An index value into the partition table')
t_partition = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25))
if mibBuilder.loadTexts:
tPartition.setStatus('mandatory')
if mibBuilder.loadTexts:
tPartition.setDescription('This group describes the partitions on particular disks.')
e_partition = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a25PartitionIndex'))
if mibBuilder.loadTexts:
ePartition.setStatus('mandatory')
if mibBuilder.loadTexts:
ePartition.setDescription('')
a25_partition_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25PartitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a25PartitionIndex.setDescription('The index into the partition table.')
a25_partition_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25PartitionName.setStatus('mandatory')
if mibBuilder.loadTexts:
a25PartitionName.setDescription('The name used by the system to identify the partition. This is normally the drive letter.')
a25_partition_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 3), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25PartitionSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a25PartitionSize.setDescription('The size of this partition in Kilo Bytes.')
a25_free_space = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 4), dmi_integer64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25FreeSpace.setStatus('mandatory')
if mibBuilder.loadTexts:
a25FreeSpace.setDescription('The number of free Kilo Bytes on this partition')
a25_partition_label = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 5), dmi_octetstring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25PartitionLabel.setStatus('mandatory')
if mibBuilder.loadTexts:
a25PartitionLabel.setDescription('The Partition label or the unique volume label field for this physical volume. (For DOS, this is the volume label plus the 32 bit Volume ID field if available.)')
a25_file_system = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vFat', 3), ('vHpfs', 4), ('vNtfs', 5), ('vOfs', 6), ('vMfs', 7), ('vHfs', 8), ('vVxfs', 9), ('vSfs', 10), ('vS5', 11), ('vS52k', 12), ('vUfs', 13), ('vFfs', 14), ('vNetware286', 15), ('vNetware386', 16)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25FileSystem.setStatus('mandatory')
if mibBuilder.loadTexts:
a25FileSystem.setDescription('')
a25_compressed = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25Compressed.setStatus('mandatory')
if mibBuilder.loadTexts:
a25Compressed.setDescription('If true, this partition is compressed')
a25_encrypted = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vFalse', 0), ('vTrue', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25Encrypted.setStatus('mandatory')
if mibBuilder.loadTexts:
a25Encrypted.setDescription('If true, this partition is encrypted')
a25_number_of_disks_occupied = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 25, 1, 9), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a25NumberOfDisksOccupied.setStatus('mandatory')
if mibBuilder.loadTexts:
a25NumberOfDisksOccupied.setDescription('The number of disks this partition occupies')
t_disk_controller = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26))
if mibBuilder.loadTexts:
tDiskController.setStatus('mandatory')
if mibBuilder.loadTexts:
tDiskController.setDescription('This group defines the disk controller in this system.')
e_disk_controller = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a26DiskControllerIndex'))
if mibBuilder.loadTexts:
eDiskController.setStatus('mandatory')
if mibBuilder.loadTexts:
eDiskController.setDescription('')
a26_disk_controller_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a26DiskControllerIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a26DiskControllerIndex.setDescription('Index value used by the system to identify the disk controller')
a26_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a26FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a26FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this provides an index into the FRU table. A value = -1 means that the group is not a FRU')
a26_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 26, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a26OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a26OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
t_logical_drives = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27))
if mibBuilder.loadTexts:
tLogicalDrives.setStatus('mandatory')
if mibBuilder.loadTexts:
tLogicalDrives.setDescription('')
e_logical_drives = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a27LogicalDriveIndex'))
if mibBuilder.loadTexts:
eLogicalDrives.setStatus('mandatory')
if mibBuilder.loadTexts:
eLogicalDrives.setDescription('')
a27_logical_drive_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a27LogicalDriveIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a27LogicalDriveIndex.setDescription('An index into the Logical Drives Table')
a27_logical_drive_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a27LogicalDriveName.setStatus('mandatory')
if mibBuilder.loadTexts:
a27LogicalDriveName.setDescription('Name used by the system to identify this logical driveFor DOS, this could be the logical drive letter (A,B,C...)')
a27_logical_drive_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vFixedDrive', 3), ('vRemovableDrive', 4), ('vRemoteDrive', 5), ('vCdrom', 6), ('vFloppyDrive', 7), ('vRamDrive', 8), ('vDriveArray', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a27LogicalDriveType.setStatus('mandatory')
if mibBuilder.loadTexts:
a27LogicalDriveType.setDescription('This defines the Logical Drive type')
a27_logical_drive_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a27LogicalDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a27LogicalDriveSize.setDescription('The size of this Logical Drive in Kilo Bytes')
a27_free_logical_drive_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a27FreeLogicalDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a27FreeLogicalDriveSize.setDescription('The remaining space on this Logical Drive in Kilo Bytes')
a27_logical_drive_path = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 27, 1, 6), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a27LogicalDrivePath.setStatus('mandatory')
if mibBuilder.loadTexts:
a27LogicalDrivePath.setDescription('The path used to access this Logical Drive (for remote drives)')
t_mouse = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28))
if mibBuilder.loadTexts:
tMouse.setStatus('mandatory')
if mibBuilder.loadTexts:
tMouse.setDescription('')
e_mouse = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eMouse.setStatus('mandatory')
if mibBuilder.loadTexts:
eMouse.setDescription('')
a28_mouse_interface = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vSerial', 3), ('vPs2', 4), ('vInfrared', 5), ('vHp-hil', 6), ('vBusMouse', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28MouseInterface.setStatus('mandatory')
if mibBuilder.loadTexts:
a28MouseInterface.setDescription('The interface type of this mouse.')
a28_mouse_irq = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28MouseIrq.setStatus('mandatory')
if mibBuilder.loadTexts:
a28MouseIrq.setDescription('The IRQ number used by this mouse.')
a28_mouse_buttons = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28MouseButtons.setStatus('mandatory')
if mibBuilder.loadTexts:
a28MouseButtons.setDescription('The number of mouse buttons on this mouse.')
a28_mouse_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28MousePortName.setStatus('mandatory')
if mibBuilder.loadTexts:
a28MousePortName.setDescription('The name of the port currently being used by this mouse.')
a28_mouse_driver_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 5), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28MouseDriverName.setStatus('mandatory')
if mibBuilder.loadTexts:
a28MouseDriverName.setDescription('The name of the mouse driver.')
a28_mouse_driver_version = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 6), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28MouseDriverVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
a28MouseDriverVersion.setDescription('The version number of the mouse driver.')
a28_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a28FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this attribute provides an index into the FRU table. A value = -1 means that the group is not a FRU')
a28_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 28, 1, 8), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a28OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a28OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
t_keyboard = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29))
if mibBuilder.loadTexts:
tKeyboard.setStatus('mandatory')
if mibBuilder.loadTexts:
tKeyboard.setDescription('This group defines the characteristics of the PC keyboard')
e_keyboard = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eKeyboard.setStatus('mandatory')
if mibBuilder.loadTexts:
eKeyboard.setDescription('')
a29_keyboard_layout = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 1), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a29KeyboardLayout.setStatus('mandatory')
if mibBuilder.loadTexts:
a29KeyboardLayout.setDescription('A description of the layout description of this keyboard.')
a29_keyboard_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a29KeyboardType.setStatus('mandatory')
if mibBuilder.loadTexts:
a29KeyboardType.setDescription('The type description of this keyboard.')
a29_keyboard_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vMini-din', 3), ('vMicro-din', 4), ('vPs2', 5), ('vInfrared', 6), ('vHp-hil', 7), ('vDb-9', 8), ('vAccessbus', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a29KeyboardConnectorType.setStatus('mandatory')
if mibBuilder.loadTexts:
a29KeyboardConnectorType.setDescription('The type description of the keyboard connector used by this keyboard.')
a29_fru_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a29FruGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a29FruGroupIndex.setDescription('If this is a Field Replaceable Unit or if it is part of another FRU, this provides an FRU index into the FRU table. A value = -1 means that the group is not a FRU')
a29_operational_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 29, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a29OperationalGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a29OperationalGroupIndex.setDescription('The index into the Operational State Table for this device')
t_field_replacable_unit = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30))
if mibBuilder.loadTexts:
tFieldReplacableUnit.setStatus('mandatory')
if mibBuilder.loadTexts:
tFieldReplacableUnit.setDescription("An FRU, or Field Replaceable Unit, is defined as a hardware component which is designed to be separately removable for replacement or repair. For the purposes of this definition, a motherboard and a fixed hard disk are FRU's, whereas a fixed hard disk platter or a chip fixed in place on the motherboard are not FRU's since they are not designed to be separately removable. Each instance within the FRU table should contain the device group and instance data for the associated hardware component")
e_field_replacable_unit = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a30FruIndex'))
if mibBuilder.loadTexts:
eFieldReplacableUnit.setStatus('mandatory')
if mibBuilder.loadTexts:
eFieldReplacableUnit.setDescription('')
a30_fru_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a30FruIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a30FruIndex.setDescription('The index into the FRU table')
a30_device_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a30DeviceGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a30DeviceGroupIndex.setDescription('The group ID of the group referencing this FRU instance')
a30_description = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 3), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a30Description.setStatus('mandatory')
if mibBuilder.loadTexts:
a30Description.setDescription('A clear description of this FRU')
a30_manufacturer = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 4), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a30Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts:
a30Manufacturer.setDescription('The name of the company manufacturing or providing this FRU')
a30_model = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 5), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a30Model.setStatus('mandatory')
if mibBuilder.loadTexts:
a30Model.setDescription("The manufacturer's model number for this FRU")
a30_part_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 6), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a30PartNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a30PartNumber.setDescription('A part number by which a replacement part can be ordered for this FRU')
a30_fru_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 7), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a30FruSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a30FruSerialNumber.setDescription("The manufacturer's serial number for this FRU")
a30_revision_level = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 30, 1, 8), dmi_displaystring()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
a30RevisionLevel.setStatus('mandatory')
if mibBuilder.loadTexts:
a30RevisionLevel.setDescription('The revision level of this FRU')
t_operational_state = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31))
if mibBuilder.loadTexts:
tOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts:
tOperationalState.setDescription('This group provides the operational state, usage, and availabili y status, and administrative state indicators for specific Device Group instance .')
e_operational_state = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a31OperationalStateInstanceIndex'))
if mibBuilder.loadTexts:
eOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts:
eOperationalState.setDescription('')
a31_operational_state_instance_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31OperationalStateInstanceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a31OperationalStateInstanceIndex.setDescription('The Index into the Operational State table')
a31_device_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31DeviceGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a31DeviceGroupIndex.setDescription('The group ID of the group referencing this instance')
a31_operational_status = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vEnabled', 3), ('vDisabled', 4), ('vNotApplicable', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31OperationalStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
a31OperationalStatus.setDescription('The operational status of the Device group instance')
a31_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vIdle', 3), ('vActive', 4), ('vBusy', 5), ('vNotApplicable1', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31UsageState.setStatus('mandatory')
if mibBuilder.loadTexts:
a31UsageState.setDescription('The usage state of the Device Group instance')
a31_availability_status = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vRunning', 3), ('vWarning', 4), ('vInTest', 5), ('vNotApplicable', 6), ('vPowerOff', 7), ('vOffLine', 8), ('vOffDuty', 9), ('vDegraded', 10), ('vNotInstalled', 11), ('vInstallError', 12), ('vPowerSave', 13)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31AvailabilityStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
a31AvailabilityStatus.setDescription('The availability status of the Device Group instance')
a31_administrative_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vLocked', 3), ('vUnlocked', 4), ('vNotApplicable', 5), ('vShuttingDown', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31AdministrativeState.setStatus('mandatory')
if mibBuilder.loadTexts:
a31AdministrativeState.setDescription('The administrative state of the Device Group instance')
a31_fatal_error_count = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 7), dmi_counter()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31FatalErrorCount.setStatus('mandatory')
if mibBuilder.loadTexts:
a31FatalErrorCount.setDescription('The accumulated fatal error count for this Device Group Instance')
a31_major_error_count = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 8), dmi_counter()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31MajorErrorCount.setStatus('mandatory')
if mibBuilder.loadTexts:
a31MajorErrorCount.setDescription('The accumulated major error count for this Device Group Instance')
a31_warning_error_count = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 31, 1, 9), dmi_counter()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a31WarningErrorCount.setStatus('mandatory')
if mibBuilder.loadTexts:
a31WarningErrorCount.setDescription('The accumulated warning error count for this Device Group Instance')
t_system_resources_description = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32))
if mibBuilder.loadTexts:
tSystemResourcesDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemResourcesDescription.setDescription('The System Resources Description group describes the number of entries in the System Resources Group. ')
e_system_resources_description = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a32DeviceCount'))
if mibBuilder.loadTexts:
eSystemResourcesDescription.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemResourcesDescription.setDescription('')
a32_device_count = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a32DeviceCount.setStatus('mandatory')
if mibBuilder.loadTexts:
a32DeviceCount.setDescription('A counter of the number of different hardware devices represente in this table.')
a32_system_resource_count = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 32, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a32SystemResourceCount.setStatus('mandatory')
if mibBuilder.loadTexts:
a32SystemResourceCount.setDescription('A count of the total number of system resources on this sytemins ances in this table.')
t_system_resources = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33))
if mibBuilder.loadTexts:
tSystemResources.setStatus('mandatory')
if mibBuilder.loadTexts:
tSystemResources.setDescription('The System Resources group contains hardware descriptions which are commonly used in PC style computers such as IRQs, IO ports and memory address ranges.')
e_system_resources = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a33ResourceInstance'), (0, 'PCSYSTEMSMIF-MIB', 'a33ResourceParentGroupIndex'))
if mibBuilder.loadTexts:
eSystemResources.setStatus('mandatory')
if mibBuilder.loadTexts:
eSystemResources.setDescription('')
a33_resource_instance = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a33ResourceInstance.setStatus('mandatory')
if mibBuilder.loadTexts:
a33ResourceInstance.setDescription('Instance identifier for a group in this table.')
a33_resource_parent_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a33ResourceParentGroupIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a33ResourceParentGroupIndex.setDescription('The group ID of the group referencing this instance in the table')
a33_resource_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('vOther', 1), ('vUnknown', 2), ('vMemoryRange', 3), ('vIoPort', 4), ('vIrq', 5), ('vDma', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a33ResourceType.setStatus('mandatory')
if mibBuilder.loadTexts:
a33ResourceType.setDescription('The type of system resource represented by this entry.')
a33_resource_base = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a33ResourceBase.setStatus('mandatory')
if mibBuilder.loadTexts:
a33ResourceBase.setDescription('The starting address of the system resource in the appropriatead ress space.')
a33_resource_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a33ResourceSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a33ResourceSize.setDescription('The size of the system resource.')
a33_resource_flags = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 33, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a33ResourceFlags.setStatus('mandatory')
if mibBuilder.loadTexts:
a33ResourceFlags.setDescription('This attribute contains fields representing the status of this resource entry. The meaning of this field varies according to the the Resource Type field in this group.')
t_netfinity_dmi_install = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 34))
if mibBuilder.loadTexts:
tNetfinityDmiInstall.setStatus('mandatory')
if mibBuilder.loadTexts:
tNetfinityDmiInstall.setDescription("This group uniquely identifies NetFinity's instrumentation of this PC Systems MIF.")
e_netfinity_dmi_install = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 34, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'))
if mibBuilder.loadTexts:
eNetfinityDmiInstall.setStatus('mandatory')
if mibBuilder.loadTexts:
eNetfinityDmiInstall.setDescription('')
a34_product_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 34, 1, 1), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a34ProductName.setStatus('mandatory')
if mibBuilder.loadTexts:
a34ProductName.setDescription('Name of this product')
t_microchannel_adapter_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35))
if mibBuilder.loadTexts:
tMicrochannelAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tMicrochannelAdapterInformation.setDescription('This group provides detailed information about the Microchannel devices detected in your system')
e_microchannel_adapter_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a35AdapterIndex'))
if mibBuilder.loadTexts:
eMicrochannelAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
eMicrochannelAdapterInformation.setDescription('')
a35_adapter_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a35AdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a35AdapterIndex.setDescription('Index into the MCA adapter table ')
a35_slot_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a35SlotNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a35SlotNumber.setDescription('The slot in which the adapter was detected.')
a35_adapter_id = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a35AdapterId.setStatus('mandatory')
if mibBuilder.loadTexts:
a35AdapterId.setDescription('The unique number that identifies the adapter.')
a35_pos_data = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a35PosData.setStatus('mandatory')
if mibBuilder.loadTexts:
a35PosData.setDescription('This is Programmable Option Select data used to automatically configure the system.')
a35_adapter_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 35, 1, 5), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a35AdapterName.setStatus('mandatory')
if mibBuilder.loadTexts:
a35AdapterName.setDescription('The name of this adapter.')
t_pci_device_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36))
if mibBuilder.loadTexts:
tPciDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tPciDeviceInformation.setDescription('This group provides detailed information about the PCI devices detected in your system')
e_pci_device_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a36DeviceIndex'))
if mibBuilder.loadTexts:
ePciDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
ePciDeviceInformation.setDescription('')
a36_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36DeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a36DeviceIndex.setDescription('Index into the PCI device table ')
a36_class_code = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36ClassCode.setStatus('mandatory')
if mibBuilder.loadTexts:
a36ClassCode.setDescription('Number that identifies the base class, sub-class, and programmin interface')
a36_pci_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36PciDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
a36PciDeviceName.setDescription('Description of device that includes manufacturer and device function')
a36_vendor_id = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36VendorId.setStatus('mandatory')
if mibBuilder.loadTexts:
a36VendorId.setDescription('Number that uniquely identifies the manufacturer')
a36_device_id = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 5), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36DeviceId.setStatus('mandatory')
if mibBuilder.loadTexts:
a36DeviceId.setDescription('Number assigned by the manufacturer that uniquely identifes the device')
a36_bus_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36BusNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a36BusNumber.setDescription('PCI bus that this device is on')
a36_device_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 7), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36DeviceNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a36DeviceNumber.setDescription('Number in the range 0..31 that uniquely selects a device on a PCI bus')
a36_revision_id = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 36, 1, 8), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a36RevisionId.setStatus('mandatory')
if mibBuilder.loadTexts:
a36RevisionId.setDescription('')
t_eisa_device_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37))
if mibBuilder.loadTexts:
tEisaDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tEisaDeviceInformation.setDescription('This group provides detailed information about the EISA devices detected in your system')
e_eisa_device_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a37DeviceIndex'))
if mibBuilder.loadTexts:
eEisaDeviceInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
eEisaDeviceInformation.setDescription('')
a37_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37DeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a37DeviceIndex.setDescription('Index into the EISA device table ')
a37_product_id = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 2), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37ProductId.setStatus('mandatory')
if mibBuilder.loadTexts:
a37ProductId.setDescription('Number that uniquely identifies the device')
a37_eisa_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 3), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37EisaDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
a37EisaDeviceName.setDescription('Description of device')
a37_manufacturer = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 4), dmi_displaystring()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37Manufacturer.setStatus('mandatory')
if mibBuilder.loadTexts:
a37Manufacturer.setDescription('Name of manufacturer of the system board or adapter')
a37_slot_location = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37SlotLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
a37SlotLocation.setDescription('The physical or logical slot number in the system of the device. Thesystem board is always slot 0. Slots 1-15 are physical slots. Slots 16-64 are for virtual devices.')
a37_slot_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('vExpansionSlot', 0), ('vEmbeddedDevice', 1), ('vVirtual', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37SlotType.setStatus('mandatory')
if mibBuilder.loadTexts:
a37SlotType.setDescription('An expansion slot is a physical slot. An embedded device is an EISA I/O device integrated onto the system board. A virtual device is generally a software driver that may needsystem resources.')
a37_number_of_device_functions = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 7), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37NumberOfDeviceFunctions.setStatus('mandatory')
if mibBuilder.loadTexts:
a37NumberOfDeviceFunctions.setDescription('Number of device functions associated with the device (i.e. memory function, serial function, parallel function, etc).')
a37_id_type = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 37, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('vReadable', 0), ('vNotReadable', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a37IdType.setStatus('mandatory')
if mibBuilder.loadTexts:
a37IdType.setDescription('An EISA system may have EISA and ISA adapters. ISA adapters will nothave readable IDs')
t_raid_adapter_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38))
if mibBuilder.loadTexts:
tRaidAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tRaidAdapterInformation.setDescription('This group provides detailed information about the RAID adapters in your system')
e_raid_adapter_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a38RaidAdapterIndex'))
if mibBuilder.loadTexts:
eRaidAdapterInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
eRaidAdapterInformation.setDescription('')
a38_raid_adapter_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a38RaidAdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a38RaidAdapterIndex.setDescription('Index into the RAID Adapter table ')
a38_number_of_logical_volumes = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a38NumberOfLogicalVolumes.setStatus('mandatory')
if mibBuilder.loadTexts:
a38NumberOfLogicalVolumes.setDescription('Number of Logical Volumes for this adapter')
a38_number_of_physical_devices = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a38NumberOfPhysicalDevices.setStatus('mandatory')
if mibBuilder.loadTexts:
a38NumberOfPhysicalDevices.setDescription('Number of Physical Devices for this adapter')
a38_number_of_physical_drives_offline = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a38NumberOfPhysicalDrivesOffline.setStatus('mandatory')
if mibBuilder.loadTexts:
a38NumberOfPhysicalDrivesOffline.setDescription('Name of Physical Drives Offline for this adapter')
a38_number_of_critical_virtual_drives = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a38NumberOfCriticalVirtualDrives.setStatus('mandatory')
if mibBuilder.loadTexts:
a38NumberOfCriticalVirtualDrives.setDescription('Number of Critical Virtual Drives for this adapter')
a38_number_of_defunct_physical_drives = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 38, 1, 6), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a38NumberOfDefunctPhysicalDrives.setStatus('mandatory')
if mibBuilder.loadTexts:
a38NumberOfDefunctPhysicalDrives.setDescription('Number of Defunct Physical Drives for this adapter')
t_raid_virtual_drives_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39))
if mibBuilder.loadTexts:
tRaidVirtualDrivesInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tRaidVirtualDrivesInformation.setDescription('This group provides detailed information about the RAID Virtual drivesin your system')
e_raid_virtual_drives_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a39RaidVirtualDriveIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a39RaidAdapterIndex'))
if mibBuilder.loadTexts:
eRaidVirtualDrivesInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
eRaidVirtualDrivesInformation.setDescription('')
a39_raid_virtual_drive_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a39RaidVirtualDriveIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a39RaidVirtualDriveIndex.setDescription('Index into the RAID Virtual Drives table ')
a39_raid_adapter_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a39RaidAdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a39RaidAdapterIndex.setDescription('Index into RAID Adapter Table')
a39_virtual_drive_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('vOnline', 0), ('vOffline', 1), ('vCritical', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a39VirtualDriveState.setStatus('mandatory')
if mibBuilder.loadTexts:
a39VirtualDriveState.setDescription('State of Virtual Drive')
a39_virtual_drive_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 39, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a39VirtualDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a39VirtualDriveSize.setDescription('Size of Virtual Drive in Kilobytes')
t_raid_physical_drive_information = mib_table((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40))
if mibBuilder.loadTexts:
tRaidPhysicalDriveInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
tRaidPhysicalDriveInformation.setDescription('This group provides detailed information about the RAID physical drivesin your system')
e_raid_physical_drive_information = mib_table_row((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1)).setIndexNames((0, 'PCSYSTEMSMIF-MIB', 'DmiComponentIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a40RaidPhysicalDriveIndex'), (0, 'PCSYSTEMSMIF-MIB', 'a40RaidAdapterIndex'))
if mibBuilder.loadTexts:
eRaidPhysicalDriveInformation.setStatus('mandatory')
if mibBuilder.loadTexts:
eRaidPhysicalDriveInformation.setDescription('')
a40_raid_physical_drive_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 1), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a40RaidPhysicalDriveIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a40RaidPhysicalDriveIndex.setDescription('Index into the RAID Physical Drives table ')
a40_raid_adapter_index = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 2), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a40RaidAdapterIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
a40RaidAdapterIndex.setDescription('Index into RAID Adapter Table')
a40_physical_drive_size = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 3), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a40PhysicalDriveSize.setStatus('mandatory')
if mibBuilder.loadTexts:
a40PhysicalDriveSize.setDescription('Size of Physical Drive in Kilobytes')
a40_channel_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 4), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a40ChannelNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a40ChannelNumber.setDescription('Channel on RAID Adapter on which this physical drive is located')
a40_target_number = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 5), dmi_integer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a40TargetNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
a40TargetNumber.setDescription('Target number on RAID Adapter on which this physical drive is located')
a40_raid_physical_device_state = mib_table_column((1, 3, 6, 1, 4, 1, 2, 6, 71, 200, 1, 1, 40, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('vOnline', 0), ('vOffline', 1), ('vDefunct', 2), ('vHotspare', 3), ('vStandbyHotspare', 4), ('vDeadHotspare', 5), ('vReady', 6), ('vRebuild', 7), ('vStandby', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
a40RaidPhysicalDeviceState.setStatus('mandatory')
if mibBuilder.loadTexts:
a40RaidPhysicalDeviceState.setDescription('Device state of the Physical Drive')
mibBuilder.exportSymbols('PCSYSTEMSMIF-MIB', a1SerialNumber=a1SerialNumber, a30FruSerialNumber=a30FruSerialNumber, ePartition=ePartition, a10SystemCacheLevel=a10SystemCacheLevel, a4Manufacturer=a4Manufacturer, a2SystemLocation=a2SystemLocation, a30Model=a30Model, a31AdministrativeState=a31AdministrativeState, a32SystemResourceCount=a32SystemResourceCount, a30RevisionLevel=a30RevisionLevel, a33ResourceParentGroupIndex=a33ResourceParentGroupIndex, tPowerSupply=tPowerSupply, a3OperatingSystemBootPartitionIndex=a3OperatingSystemBootPartitionIndex, a14DmaDescription=a14DmaDescription, a38NumberOfPhysicalDevices=a38NumberOfPhysicalDevices, tMemoryMappedIo=tMemoryMappedIo, a6CurrentSpeed=a6CurrentSpeed, a24StorageType=a24StorageType, a40RaidPhysicalDeviceState=a40RaidPhysicalDeviceState, eComponentid1=eComponentid1, a8MemoryErrorCorrection=a8MemoryErrorCorrection, a12MaximumSpeed=a12MaximumSpeed, tMicrochannelAdapterInformation=tMicrochannelAdapterInformation, a36PciDeviceName=a36PciDeviceName, a9ExpandedMemorySize=a9ExpandedMemorySize, tLogicalDrives=tLogicalDrives, a2SystemName=a2SystemName, a38RaidAdapterIndex=a38RaidAdapterIndex, a3OperatingSystemDescription=a3OperatingSystemDescription, a40RaidAdapterIndex=a40RaidAdapterIndex, tMotherboard=tMotherboard, a25NumberOfDisksOccupied=a25NumberOfDisksOccupied, a30Manufacturer=a30Manufacturer, tCoolingDevice=tCoolingDevice, eNetfinityDmiInstall=eNetfinityDmiInstall, a36DeviceId=a36DeviceId, eSystemCache=eSystemCache, a37IdType=a37IdType, tFieldReplacableUnit=tFieldReplacableUnit, tSerialPorts=tSerialPorts, a39VirtualDriveState=a39VirtualDriveState, tPhysicalMemory=tPhysicalMemory, a36BusNumber=a36BusNumber, a37ProductId=a37ProductId, a9FreeExtendedMemorySize=a9FreeExtendedMemorySize, a8MemoryEndingAddress=a8MemoryEndingAddress, a1Product=a1Product, a8FruGroupIndex=a8FruGroupIndex, a29KeyboardLayout=a29KeyboardLayout, a23StorageInterfaceType=a23StorageInterfaceType, a30PartNumber=a30PartNumber, a18CoolingDeviceIndex=a18CoolingDeviceIndex, a38NumberOfPhysicalDrivesOffline=a38NumberOfPhysicalDrivesOffline, tVideoBiosCharacteristic=tVideoBiosCharacteristic, eProcessor=eProcessor, a15MemoryMappedIoDescription=a15MemoryMappedIoDescription, a31UsageState=a31UsageState, a8MemorySpeed=a8MemorySpeed, a37EisaDeviceName=a37EisaDeviceName, a33ResourceFlags=a33ResourceFlags, a25PartitionSize=a25PartitionSize, a21VideoBiosReleaseDate=a21VideoBiosReleaseDate, eOperatingSystem=eOperatingSystem, a23NumberOfPhysicalHeads=a23NumberOfPhysicalHeads, a36ClassCode=a36ClassCode, a9ExpandedMemoryPageFrameAddress=a9ExpandedMemoryPageFrameAddress, eMotherboard=eMotherboard, a3OperatingSystemBootDeviceIndex=a3OperatingSystemBootDeviceIndex, a5BiosNumber=a5BiosNumber, a36RevisionId=a36RevisionId, eKeyboard=eKeyboard, a39VirtualDriveSize=a39VirtualDriveSize, eDma=eDma, a13IrqNumber=a13IrqNumber, ePowerSupply=ePowerSupply, eSystemBiosCharacteristic=eSystemBiosCharacteristic, a16PowerState=a16PowerState, eEisaDeviceInformation=eEisaDeviceInformation, a25FileSystem=a25FileSystem, a32DeviceCount=a32DeviceCount, a22VideoBiosNumber=a22VideoBiosNumber, ibmProd=ibmProd, a29OperationalGroupIndex=a29OperationalGroupIndex, a8MemoryStartingAddress=a8MemoryStartingAddress, a31OperationalStatus=a31OperationalStatus, tPartition=tPartition, tRaidPhysicalDriveInformation=tRaidPhysicalDriveInformation, a31FatalErrorCount=a31FatalErrorCount, a37SlotLocation=a37SlotLocation, eSystemResourcesDescription=eSystemResourcesDescription, eRaidAdapterInformation=eRaidAdapterInformation, a36DeviceNumber=a36DeviceNumber, a15MemoryMappedIoStartingAddress=a15MemoryMappedIoStartingAddress, a11ParallelBaseIoAddress=a11ParallelBaseIoAddress, a25Encrypted=a25Encrypted, a37SlotType=a37SlotType, a21VideoBiosVersion=a21VideoBiosVersion, a9ExtendedMemoryManagerName=a9ExtendedMemoryManagerName, a4PrimaryBios=a4PrimaryBios, a9ExpandedMemoryManagerName=a9ExpandedMemoryManagerName, tVideoBios=tVideoBios, netFinitySystemsMIB=netFinitySystemsMIB, a28MouseInterface=a28MouseInterface, a11ConnectorType=a11ConnectorType, a20CurrentHorizontalResolution=a20CurrentHorizontalResolution, tRaidVirtualDrivesInformation=tRaidVirtualDrivesInformation, eSerialPorts=eSerialPorts, a2SystemDateTime=a2SystemDateTime, a1Version=a1Version, a16FruGroupIndex=a16FruGroupIndex, tSystemResources=tSystemResources, a4BiosReleaseDate=a4BiosReleaseDate, DmiOctetstring=DmiOctetstring, tLogicalMemory=tLogicalMemory, a12OperationalGroupIndex=a12OperationalGroupIndex, a20CurrentNumberOfRows=a20CurrentNumberOfRows, eRaidVirtualDrivesInformation=eRaidVirtualDrivesInformation, a9ExpandedMemoryPageSize=a9ExpandedMemoryPageSize, eMicrochannelAdapterInformation=eMicrochannelAdapterInformation, a20MinimumRefreshRate=a20MinimumRefreshRate, a16ChassisLockPresent=a16ChassisLockPresent, a6FruGroupIndex=a6FruGroupIndex, a39RaidVirtualDriveIndex=a39RaidVirtualDriveIndex, a23DiskIndex=a23DiskIndex, DmiInteger64=DmiInteger64, eDiskMappingTable=eDiskMappingTable, a38NumberOfCriticalVirtualDrives=a38NumberOfCriticalVirtualDrives, a23Partitions=a23Partitions, a16AssetTag=a16AssetTag, a23LogicalUnitNumber=a23LogicalUnitNumber, a6VersionInformation=a6VersionInformation, eOperationalState=eOperationalState, a20VideoRamMemorySize=a20VideoRamMemorySize, eVideoBios=eVideoBios, a6ProcessorIndex=a6ProcessorIndex, a14DmaBurstMode=a14DmaBurstMode, eDiskDrives=eDiskDrives, a21VideoBiosManufacturer=a21VideoBiosManufacturer, a28OperationalGroupIndex=a28OperationalGroupIndex, tOperationalState=tOperationalState, a24DiskIndex=a24DiskIndex, a17OperationalGroupIndex=a17OperationalGroupIndex, a9ExtendedMemorySize=a9ExtendedMemorySize, eSystemBios=eSystemBios, a40ChannelNumber=a40ChannelNumber, a11LogicalName=a11LogicalName, DmiCounter=DmiCounter, a22VideoBiosCharacteristicsIndex=a22VideoBiosCharacteristicsIndex, a2SystemPrimaryUserName=a2SystemPrimaryUserName, a40RaidPhysicalDriveIndex=a40RaidPhysicalDriveIndex, a37NumberOfDeviceFunctions=a37NumberOfDeviceFunctions, a30DeviceGroupIndex=a30DeviceGroupIndex, a28MouseDriverVersion=a28MouseDriverVersion, a8MemoryUsage=a8MemoryUsage, a20CurrentVerticalResolution=a20CurrentVerticalResolution, a31MajorErrorCount=a31MajorErrorCount, DmiComponentIndex=DmiComponentIndex, a6ProcessorFamily=a6ProcessorFamily, a35SlotNumber=a35SlotNumber, a13IrqShareable=a13IrqShareable, ePhysicalMemory=ePhysicalMemory, a23SectorSize=a23SectorSize, a29FruGroupIndex=a29FruGroupIndex, a20VideoType=a20VideoType, DmiDate=DmiDate, a27LogicalDriveType=a27LogicalDriveType, dmiMibs=dmiMibs, a40PhysicalDriveSize=a40PhysicalDriveSize, a27LogicalDrivePath=a27LogicalDrivePath, eLogicalDrives=eLogicalDrives, eMemoryMappedIo=eMemoryMappedIo, a12ConnectorType=a12ConnectorType, a26OperationalGroupIndex=a26OperationalGroupIndex, a4EndingAddress=a4EndingAddress, tOperatingSystem=tOperatingSystem, a11OperationalGroupIndex=a11OperationalGroupIndex, a35AdapterId=a35AdapterId, a23DeviceId=a23DeviceId, a8NumberOfSimmSlotsUsed=a8NumberOfSimmSlotsUsed, eFieldReplacableUnit=eFieldReplacableUnit, a27LogicalDriveName=a27LogicalDriveName, eMouse=eMouse, tSystemBios=tSystemBios, a20VideoPhysicalLocation=a20VideoPhysicalLocation, a16ThermalState=a16ThermalState, a37DeviceIndex=a37DeviceIndex, a9BaseMemorySize=a9BaseMemorySize, tRaidAdapterInformation=tRaidAdapterInformation, a31OperationalStateInstanceIndex=a31OperationalStateInstanceIndex, a12LogicalName=a12LogicalName, a10SystemCacheIndex=a10SystemCacheIndex, a14AvailabilityOfDma=a14AvailabilityOfDma, a12SerialBaseIo=a12SerialBaseIo, a35AdapterIndex=a35AdapterIndex, eCoolingDevice=eCoolingDevice, a12SerialPortCapabilities=a12SerialPortCapabilities, a27LogicalDriveSize=a27LogicalDriveSize, a11IrqUsed=a11IrqUsed, tMouse=tMouse, a37Manufacturer=a37Manufacturer, a31AvailabilityStatus=a31AvailabilityStatus, eVideo=eVideo, a5BiosCharacteristicsDescription=a5BiosCharacteristicsDescription, a13IrqDescription=a13IrqDescription, a23TotalPhysicalSize=a23TotalPhysicalSize, a27FreeLogicalDriveSize=a27FreeLogicalDriveSize, tIrq=tIrq, ibm=ibm, a8PhysicalMemoryLocation=a8PhysicalMemoryLocation, a24PartitionIndex=a24PartitionIndex, a33ResourceBase=a33ResourceBase, tKeyboard=tKeyboard, a23MediaLoaded=a23MediaLoaded, a19SlotIndex=a19SlotIndex, tNetfinityDmiInstall=tNetfinityDmiInstall, a30Description=a30Description, a13IrqTriggerType=a13IrqTriggerType, a23InterfaceDescription=a23InterfaceDescription, eSystemEnclosure=eSystemEnclosure, tGeneralInformation=tGeneralInformation, a15MemoryMappedIoEndingAddress=a15MemoryMappedIoEndingAddress, a20CurrentNumberOfColumns=a20CurrentNumberOfColumns, a6MaximumSpeed=a6MaximumSpeed, a14DmaNumber=a14DmaNumber, a4LoaderVersion=a4LoaderVersion, eSystemResources=eSystemResources, a33ResourceSize=a33ResourceSize, a31WarningErrorCount=a31WarningErrorCount, a6OperationalGroupIndex=a6OperationalGroupIndex, a1Manufacturer=a1Manufacturer, a28MousePortName=a28MousePortName, eVideoBiosCharacteristic=eVideoBiosCharacteristic, a6ProcessorUpgrade=a6ProcessorUpgrade, a33ResourceType=a33ResourceType, a8MaximumMemoryCapacity=a8MaximumMemoryCapacity, a3OperatingSystemVersion=a3OperatingSystemVersion, a22VideoBiosCharacteristics=a22VideoBiosCharacteristics, a36DeviceIndex=a36DeviceIndex, a11DmaSupport=a11DmaSupport, a20FruGroupIndex=a20FruGroupIndex, a25PartitionName=a25PartitionName, a5BiosCharacteristics=a5BiosCharacteristics, a9ExtendedMemoryManagerVersion=a9ExtendedMemoryManagerVersion, a28MouseButtons=a28MouseButtons, a21VideoBiosIndex=a21VideoBiosIndex, a20CurrentRefreshRate=a20CurrentRefreshRate, a11ParallelPortIndex=a11ParallelPortIndex, tDma=tDma, a10SystemCacheSpeed=a10SystemCacheSpeed, a23NumberOfPhysicalSectorsPerTrack=a23NumberOfPhysicalSectorsPerTrack, tProcessor=tProcessor, tSystemEnclosure=tSystemEnclosure, tVideo=tVideo, a7OperationalGroupIndex=a7OperationalGroupIndex)
mibBuilder.exportSymbols('PCSYSTEMSMIF-MIB', a3OperatingSystemBootDeviceStorageType=a3OperatingSystemBootDeviceStorageType, a20VideoMemoryType=a20VideoMemoryType, a10FruGroupIndex=a10FruGroupIndex, a9FreeBaseMemorySize=a9FreeBaseMemorySize, a8NumberOfSimmSlots=a8NumberOfSimmSlots, a12IrqUsed=a12IrqUsed, a9ExpandedMemoryPageFrameSize=a9ExpandedMemoryPageFrameSize, a27LogicalDriveIndex=a27LogicalDriveIndex, eRaidPhysicalDriveInformation=eRaidPhysicalDriveInformation, a6Type=a6Type, a28MouseIrq=a28MouseIrq, a35PosData=a35PosData, a10SystemCacheSize=a10SystemCacheSize, tSystemCache=tSystemCache, a11ParallelPortCapabilities=a11ParallelPortCapabilities, a34ProductName=a34ProductName, a26DiskControllerIndex=a26DiskControllerIndex, a19CurrentUsage=a19CurrentUsage, a20ScanMode=a20ScanMode, a2SystemBootUpTime=a2SystemBootUpTime, a25FreeSpace=a25FreeSpace, a8OperationalGroupIndex=a8OperationalGroupIndex, a20OperationalGroupIndex=a20OperationalGroupIndex, a23RemovableMedia=a23RemovableMedia, a29KeyboardConnectorType=a29KeyboardConnectorType, eIrq=eIrq, a31DeviceGroupIndex=a31DeviceGroupIndex, a30FruIndex=a30FruIndex, dmtfGroups1=dmtfGroups1, a2SystemPrimaryUserPhone=a2SystemPrimaryUserPhone, a29KeyboardType=a29KeyboardType, a8PhysicalMemoryIndex=a8PhysicalMemoryIndex, a3OperatingSystemName=a3OperatingSystemName, netFinity=netFinity, a25Compressed=a25Compressed, a25PartitionIndex=a25PartitionIndex, tPciDeviceInformation=tPciDeviceInformation, tEisaDeviceInformation=tEisaDeviceInformation, a18FruGroupIndex=a18FruGroupIndex, a23NumberOfPhysicalCylinders=a23NumberOfPhysicalCylinders, a9ExpandedMemoryManagerVersion=a9ExpandedMemoryManagerVersion, a35AdapterName=a35AdapterName, a36VendorId=a36VendorId, a17PowerSupplyIndex=a17PowerSupplyIndex, tComponentid1=tComponentid1, a20MaximumRefreshRate=a20MaximumRefreshRate, a7FruGroupIndex=a7FruGroupIndex, a9FreeExpandedMemorySize=a9FreeExpandedMemorySize, eDiskController=eDiskController, a38NumberOfDefunctPhysicalDrives=a38NumberOfDefunctPhysicalDrives, a4StartingAddress=a4StartingAddress, a3PrimaryOperatingSystem=a3PrimaryOperatingSystem, a10SystemCacheErrorCorrection=a10SystemCacheErrorCorrection, eGeneralInformation=eGeneralInformation, eSystemSlots=eSystemSlots, a22VideoBiosCharacteristicsDescription=a22VideoBiosCharacteristicsDescription, a13AvailabilityOfIrq=a13AvailabilityOfIrq, tDiskMappingTable=tDiskMappingTable, a4Version=a4Version, a21VideoBiosShadowingState=a21VideoBiosShadowingState, a11ConnectorPinout=a11ConnectorPinout, a10OperationalGroupIndex=a10OperationalGroupIndex, a25PartitionLabel=a25PartitionLabel, tDiskDrives=tDiskDrives, eParallelPorts=eParallelPorts, tSystemSlots=tSystemSlots, a3OperatingSystemIndex=a3OperatingSystemIndex, DmiInteger=DmiInteger, a20VideoIndex=a20VideoIndex, a26FruGroupIndex=a26FruGroupIndex, a19SlotType=a19SlotType, a19SlotWidth=a19SlotWidth, ePciDeviceInformation=ePciDeviceInformation, DmiDisplaystring=DmiDisplaystring, a20CurrentNumberOfBitsPerPixel=a20CurrentNumberOfBitsPerPixel, a28FruGroupIndex=a28FruGroupIndex, a23StorageType=a23StorageType, a20CurrentVideoMode=a20CurrentVideoMode, a18OperationalGroupIndex=a18OperationalGroupIndex, a10SystemCacheWritePolicy=a10SystemCacheWritePolicy, tParallelPorts=tParallelPorts, tDiskController=tDiskController, a40TargetNumber=a40TargetNumber, a38NumberOfLogicalVolumes=a38NumberOfLogicalVolumes, tSystemResourcesDescription=tSystemResourcesDescription, a5BiosCharacteristicsIndex=a5BiosCharacteristicsIndex, a39RaidAdapterIndex=a39RaidAdapterIndex, a17FruGroupIndex=a17FruGroupIndex, a16BootUpState=a16BootUpState, eLogicalMemory=eLogicalMemory, a23FruGroupIndex=a23FruGroupIndex, a12SerialPortIndex=a12SerialPortIndex, a4BiosIndex=a4BiosIndex, a19SlotDescription=a19SlotDescription, a28MouseDriverName=a28MouseDriverName, a33ResourceInstance=a33ResourceInstance, a16EnclosureOrChassis=a16EnclosureOrChassis, a16OperationalGroupIndex=a16OperationalGroupIndex, tSystemBiosCharacteristic=tSystemBiosCharacteristic, a7NumberOfExpansionSlots=a7NumberOfExpansionSlots, a4BiosRomSize=a4BiosRomSize) |
# output: ok
count = 0
total = 0
last = 0
for i in (1, 2, 3):
count += 1
total += i
last = i
assert count == 3
assert total == 6
assert last == 3
count = 0
total = 0
last = 0
i = 1
while i <= 3:
count += 1
total += i
last = i
i += 1
assert count == 3
assert total == 6
assert last == 3
count = 0
total = 0
last = 0
for i in (1, 2, 3):
count += 1
total += i
last = i
if i == 2:
break
assert count == 2
assert total == 3
assert last == 2
count = 0
total = 0
last = 0
i = 1
while i <= 3:
count += 1
total += i
last = i
if i == 2:
break
i += 1
assert count == 2
assert total == 3
assert last == 2
count = 0
total = 0
last = 0
for i in (1, 2, 3):
if i == 2:
continue
count += 1
total += i
last = i
assert count == 2
assert total == 4
assert last == 3
count = 0
total = 0
last = 0
i = 1
while i <= 3:
if i == 2:
i += 1
continue
count += 1
total += i
last = i
i += 1
assert count == 2
assert total == 4
assert last == 3
f = 0
for i in (1, 2, 3):
try:
if i == 2:
break
finally:
f = i
assert f == 2
f = 0
for i in (1, 2, 3):
try:
try:
try:
if i == 1:
break
finally:
f += 1
except Exception:
pass
finally:
f += 1
assert f == 2
f = 0
for i in (1, 2, 3):
try:
if i == 2:
continue
finally:
f += 1
assert f == 3
# else clause
didElse = False
for i in []:
pass
else:
didElse = True
assert(didElse)
didElse = False
for i in (1, 2, 3):
pass
else:
didElse = True
assert(didElse)
didElse = False
for i in (1, 2, 3):
if i == 3:
continue
else:
didElse = True
assert(didElse)
didElse = False
for i in (1, 2, 3):
if i == 3:
break
else:
didElse = True
assert(not didElse)
class OwnSequence:
def __init__(self, wrapped):
self.wrapped = wrapped
def __getitem__(self, index):
return self.wrapped[index]
count = 0
total = 0
last = 0
for i in OwnSequence([1, 2, 3]):
count += 1
total += i
last = i
assert count == 3
assert total == 6
assert last == 3
print('ok')
| count = 0
total = 0
last = 0
for i in (1, 2, 3):
count += 1
total += i
last = i
assert count == 3
assert total == 6
assert last == 3
count = 0
total = 0
last = 0
i = 1
while i <= 3:
count += 1
total += i
last = i
i += 1
assert count == 3
assert total == 6
assert last == 3
count = 0
total = 0
last = 0
for i in (1, 2, 3):
count += 1
total += i
last = i
if i == 2:
break
assert count == 2
assert total == 3
assert last == 2
count = 0
total = 0
last = 0
i = 1
while i <= 3:
count += 1
total += i
last = i
if i == 2:
break
i += 1
assert count == 2
assert total == 3
assert last == 2
count = 0
total = 0
last = 0
for i in (1, 2, 3):
if i == 2:
continue
count += 1
total += i
last = i
assert count == 2
assert total == 4
assert last == 3
count = 0
total = 0
last = 0
i = 1
while i <= 3:
if i == 2:
i += 1
continue
count += 1
total += i
last = i
i += 1
assert count == 2
assert total == 4
assert last == 3
f = 0
for i in (1, 2, 3):
try:
if i == 2:
break
finally:
f = i
assert f == 2
f = 0
for i in (1, 2, 3):
try:
try:
try:
if i == 1:
break
finally:
f += 1
except Exception:
pass
finally:
f += 1
assert f == 2
f = 0
for i in (1, 2, 3):
try:
if i == 2:
continue
finally:
f += 1
assert f == 3
did_else = False
for i in []:
pass
else:
did_else = True
assert didElse
did_else = False
for i in (1, 2, 3):
pass
else:
did_else = True
assert didElse
did_else = False
for i in (1, 2, 3):
if i == 3:
continue
else:
did_else = True
assert didElse
did_else = False
for i in (1, 2, 3):
if i == 3:
break
else:
did_else = True
assert not didElse
class Ownsequence:
def __init__(self, wrapped):
self.wrapped = wrapped
def __getitem__(self, index):
return self.wrapped[index]
count = 0
total = 0
last = 0
for i in own_sequence([1, 2, 3]):
count += 1
total += i
last = i
assert count == 3
assert total == 6
assert last == 3
print('ok') |
"""
A module implementing package-specific exceptions
"""
class OutputValidationError(Exception):
""" This exception is raised whenever there is something wrong with the submitted output
""" | """
A module implementing package-specific exceptions
"""
class Outputvalidationerror(Exception):
""" This exception is raised whenever there is something wrong with the submitted output
""" |
"""
Tower of Hanoi
Problem:
Given three rods and disks
The objective of the puzzle is to move the
entire stack of disks to another rod.
The following rules needs to be followed:
*Only one disk can be moved at a time.
*Each move consists of taking the upper disk from one of the stacks and placing it on top
of another stack i.e. a disk can only be moved if it is the uppermost disk on a stack.
*No disk may be placed on top of a smaller disk.
Input:
n_disks : number of disks
Output:
result: stack of disks moved from one rod to
another based on the rules
"""
#function for tower of hanoi
#we have three rods source , auxilary and target
#putting n_disk from source rod to the target rod using auxiallary rod
def tower_of_hanoi(n_disks, source, auxiliary, target):
#if only one disk is on the rod
if(n_disks == 1):
print('Move disk 1 from rod {} to rod {}.'.format(source, target))
return
# move one disc from source to target
tower_of_hanoi(n_disks - 1, source, target, auxiliary)
print('Move disk {} from rod {} to rod {}.'.format(n_disks, source, target))
# move `N-1` discs from auxiliary to target using
#the source as an intermediate pole
tower_of_hanoi(n_disks - 1, auxiliary, source, target)
if __name__ == "__main__":
# here source is X, auxiliary is Y and target is Z
n_disks = int(input('Enter the number of disks: '))
tower_of_hanoi(n_disks, 'X', 'Y', 'Z')
"""
Sample Input/Output
Enter the number of disks: 3
Move disk 1 from rod X to rod Z.
Move disk 2 from rod X to rod Y.
Move disk 1 from rod Z to rod Y.
Move disk 3 from rod X to rod Z.
Move disk 1 from rod Y to rod X.
Move disk 2 from rod Y to rod Z.
Move disk 1 from rod X to rod Z.
number of moves 2n - 1.
Time Complexity O(2^n)
"""
| """
Tower of Hanoi
Problem:
Given three rods and disks
The objective of the puzzle is to move the
entire stack of disks to another rod.
The following rules needs to be followed:
*Only one disk can be moved at a time.
*Each move consists of taking the upper disk from one of the stacks and placing it on top
of another stack i.e. a disk can only be moved if it is the uppermost disk on a stack.
*No disk may be placed on top of a smaller disk.
Input:
n_disks : number of disks
Output:
result: stack of disks moved from one rod to
another based on the rules
"""
def tower_of_hanoi(n_disks, source, auxiliary, target):
if n_disks == 1:
print('Move disk 1 from rod {} to rod {}.'.format(source, target))
return
tower_of_hanoi(n_disks - 1, source, target, auxiliary)
print('Move disk {} from rod {} to rod {}.'.format(n_disks, source, target))
tower_of_hanoi(n_disks - 1, auxiliary, source, target)
if __name__ == '__main__':
n_disks = int(input('Enter the number of disks: '))
tower_of_hanoi(n_disks, 'X', 'Y', 'Z')
' \nSample Input/Output\n\nEnter the number of disks: 3\n\nMove disk 1 from rod X to rod Z.\nMove disk 2 from rod X to rod Y.\nMove disk 1 from rod Z to rod Y.\nMove disk 3 from rod X to rod Z.\nMove disk 1 from rod Y to rod X.\nMove disk 2 from rod Y to rod Z.\nMove disk 1 from rod X to rod Z.\n\nnumber of moves 2n - 1.\nTime Complexity O(2^n) \n' |
ix.enable_command_history()
ix.api.SdkHelpers.create_shading_layer_for_items_selected(ix.application, 3)
ix.disable_command_history() | ix.enable_command_history()
ix.api.SdkHelpers.create_shading_layer_for_items_selected(ix.application, 3)
ix.disable_command_history() |
# If we list all the natural numbers below 10 that are multiples
# of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
#
# Find the sum of all the multiples of 3 or 5 below 1000.
if __name__ == "__main__":
numbers = [ n for n in range(1,1000) if n % 3 == 0 or n % 5 == 0 ]
print(sum(numbers))
| if __name__ == '__main__':
numbers = [n for n in range(1, 1000) if n % 3 == 0 or n % 5 == 0]
print(sum(numbers)) |
class Solver:
def __init__(self, cells):
self.cells = cells
def determine_cell_possibilities(self):
for cell in self.cells:
candidates = list(range(1, 10))
for association in cell.get_unique_associations():
if association.number is not None:
if association.number in candidates:
candidates.remove(association.number)
cell.possibilities = candidates
def assign_cells_having_single_possibility(self):
for cell in self.cells:
if len(cell.possibilities) == 1:
cell.number = cell.possibilities[0]
def get_empty_cell_count(self):
empty = 0
for cell in self.cells:
if cell.number is None:
empty += 1
return empty
def solution_alpha(self):
while True:
prelim_empty_cells = self.get_empty_cell_count()
self.determine_cell_possibilities()
self.assign_cells_having_single_possibility()
has_changed = prelim_empty_cells > self.get_empty_cell_count()
if not has_changed or self.get_empty_cell_count() == 0:
break
# def determine_single_option_in_row_for_number(self):
# for row_seed in range(0, 9): # Loop through each row
# for num in range(1, 10): # Loop through each number 1-9
# options = []
# for row_iterator in range(row_seed * 9, row_seed * 9 + 8): # Loop through each cell in the row testing for the number
# if num in self.cells[row_iterator].possibilities:
# options.append(self.cells[row_iterator])
# if len(options) == 1:
# options[0].number = num
# def solution_beta(self):
# self.determine_cell_possibilities()
# self.determine_single_option_in_row_for_number()
def solve(self):
self.solution_alpha()
# if self.get_empty_cell_count() > 0:
# self.solution_beta()
| class Solver:
def __init__(self, cells):
self.cells = cells
def determine_cell_possibilities(self):
for cell in self.cells:
candidates = list(range(1, 10))
for association in cell.get_unique_associations():
if association.number is not None:
if association.number in candidates:
candidates.remove(association.number)
cell.possibilities = candidates
def assign_cells_having_single_possibility(self):
for cell in self.cells:
if len(cell.possibilities) == 1:
cell.number = cell.possibilities[0]
def get_empty_cell_count(self):
empty = 0
for cell in self.cells:
if cell.number is None:
empty += 1
return empty
def solution_alpha(self):
while True:
prelim_empty_cells = self.get_empty_cell_count()
self.determine_cell_possibilities()
self.assign_cells_having_single_possibility()
has_changed = prelim_empty_cells > self.get_empty_cell_count()
if not has_changed or self.get_empty_cell_count() == 0:
break
def solve(self):
self.solution_alpha() |
n = int(input())
arr = []
i = list(map(int, input().split()))
arr = list(range(i[0], i[1]+1))
for each in range(n - 1):
i = list(map(int, input().split()))
for c,every in enumerate(arr):
if every < i[0]:
arr[c] = -1
elif every > i[1]:
arr[c] = -1
if sum(arr) == (-1*len(arr)):
print("edward is right")
else:
print("gunilla has a point")
| n = int(input())
arr = []
i = list(map(int, input().split()))
arr = list(range(i[0], i[1] + 1))
for each in range(n - 1):
i = list(map(int, input().split()))
for (c, every) in enumerate(arr):
if every < i[0]:
arr[c] = -1
elif every > i[1]:
arr[c] = -1
if sum(arr) == -1 * len(arr):
print('edward is right')
else:
print('gunilla has a point') |
# __author__ = 'tusharmakkar08'
class Wallet:
def __init__(self):
self.amount = 0 # TODO: get init amount on the basis of user name from db
def load_money(self, amount):
self.amount += amount
def deduct_money(self, amount):
self.amount -= amount
def get_money(self):
return self.amount
| class Wallet:
def __init__(self):
self.amount = 0
def load_money(self, amount):
self.amount += amount
def deduct_money(self, amount):
self.amount -= amount
def get_money(self):
return self.amount |
r_TPC = 0.664
r_FSWires = 0.668
r_FSGuards = 0.680
path_main = '/dali/lgrandi/peres/efieldsim/'
path_cache = path_main + 'cache/'
path_root_files = path_main + '/solved_outputs/EField_SR0/' | r_tpc = 0.664
r_fs_wires = 0.668
r_fs_guards = 0.68
path_main = '/dali/lgrandi/peres/efieldsim/'
path_cache = path_main + 'cache/'
path_root_files = path_main + '/solved_outputs/EField_SR0/' |
# The following is used as a global constant to represent
# the contribution rate.
CONTRIBUTION_RATE = 0.05
def main():
gross_pay = float(input('Enter the gross pay: '))
bonus = float(input('Enter the amount of bonuses: '))
show_pay_contrib(gross_pay)
show_bonus_contrib(bonus)
# The show_pay_contrib function accepts the gross
# pay as an argument and displays the retirement
# contribution for that amount of pay.
def show_pay_contrib(gross):
contrib = gross * CONTRIBUTION_RATE
print('Contribution for gross pay: $', \
format(contrib, ',.2f'), \
sep='')
# The show_bonus_contrib function accepts the
# bonus amount as an argument and displays the
# retirement contribution for that amount of pay.
def show_bonus_contrib(bonus):
contrib = bonus * CONTRIBUTION_RATE
print('Contribution for bonuses: $', \
format(contrib, ',.2f'), \
sep='')
# Call the main function.
main()
| contribution_rate = 0.05
def main():
gross_pay = float(input('Enter the gross pay: '))
bonus = float(input('Enter the amount of bonuses: '))
show_pay_contrib(gross_pay)
show_bonus_contrib(bonus)
def show_pay_contrib(gross):
contrib = gross * CONTRIBUTION_RATE
print('Contribution for gross pay: $', format(contrib, ',.2f'), sep='')
def show_bonus_contrib(bonus):
contrib = bonus * CONTRIBUTION_RATE
print('Contribution for bonuses: $', format(contrib, ',.2f'), sep='')
main() |
'''
Created on 1.12.2016
@author: Darren
''''''
Given a collection of integers that might contain duplicates, nums, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not contain duplicate subsets.
For example,
If nums = [1,2,2], a solution is:
[
[2],
[1],
[1,2,2],
[2,2],
[1,2],
[]
]
"
'''
class Solution(object):
def subsetsWithDup(self, nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
res=[[]]
if not nums:
return res
nums=sorted(nums)
pre=[]
for index,num in enumerate(nums):
if index>0 and num==nums[index-1]:
seeds=pre
else:
seeds=res
new_items=[]
for item in seeds:
new_items.append(item+[num])
res+=new_items
pre=new_items
return res | """
Created on 1.12.2016
@author: Darren
Given a collection of integers that might contain duplicates, nums, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not contain duplicate subsets.
For example,
If nums = [1,2,2], a solution is:
[
[2],
[1],
[1,2,2],
[2,2],
[1,2],
[]
]
"
"""
class Solution(object):
def subsets_with_dup(self, nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
res = [[]]
if not nums:
return res
nums = sorted(nums)
pre = []
for (index, num) in enumerate(nums):
if index > 0 and num == nums[index - 1]:
seeds = pre
else:
seeds = res
new_items = []
for item in seeds:
new_items.append(item + [num])
res += new_items
pre = new_items
return res |
def test_create_stat_table():
pass
def test_get_latest_successful_ts():
pass
def test_update_latest_successful_ts():
pass
| def test_create_stat_table():
pass
def test_get_latest_successful_ts():
pass
def test_update_latest_successful_ts():
pass |
books = int(input("How many books do you want to buy? "))
amount = int(input("How much do you have? "))
amount_required = 100
if books == amount_required > amount:
print("you can purchase the books")
else:
print("You donot have sufficient funds to buy the books")
print(f"You will need {amount} to buy the book.") | books = int(input('How many books do you want to buy? '))
amount = int(input('How much do you have? '))
amount_required = 100
if books == amount_required > amount:
print('you can purchase the books')
else:
print('You donot have sufficient funds to buy the books')
print(f'You will need {amount} to buy the book.') |
class i18n(object):
def __init__(self):
# Default domain
self._domain = 'idn'
def domain(self, country):
self._domain = country
def translate(self, domain):
dic = {}
dic['idn'] = {
# Month
'Januari': 'January',
'Februari': 'February',
'Maret': 'March',
'April': 'April',
'Mei': 'May',
'Juni': 'June',
'Juli': 'July',
'Agustus': 'August',
'September': 'September',
'Oktober': 'October',
'November': 'November',
'Desember': 'December',
# Month abbrevation
'Jan': 'Jan',
'Feb': 'Feb',
'Mar': 'Mar',
'Apr': 'Apr',
'Mei': 'May',
'Jun': 'Jun',
'Jul': 'Jul',
'Agt': 'Aug',
'Sep': 'Sep',
'Okt': 'Oct',
'Nov': 'Nov',
'Des': 'Dec',
}
return dic[domain] if domain in dic else {}
def __call__(self, string):
t = self.translate(self._domain)
if string in t:
return t[string]
return string
| class I18N(object):
def __init__(self):
self._domain = 'idn'
def domain(self, country):
self._domain = country
def translate(self, domain):
dic = {}
dic['idn'] = {'Januari': 'January', 'Februari': 'February', 'Maret': 'March', 'April': 'April', 'Mei': 'May', 'Juni': 'June', 'Juli': 'July', 'Agustus': 'August', 'September': 'September', 'Oktober': 'October', 'November': 'November', 'Desember': 'December', 'Jan': 'Jan', 'Feb': 'Feb', 'Mar': 'Mar', 'Apr': 'Apr', 'Mei': 'May', 'Jun': 'Jun', 'Jul': 'Jul', 'Agt': 'Aug', 'Sep': 'Sep', 'Okt': 'Oct', 'Nov': 'Nov', 'Des': 'Dec'}
return dic[domain] if domain in dic else {}
def __call__(self, string):
t = self.translate(self._domain)
if string in t:
return t[string]
return string |
#
# @lc app=leetcode.cn id=1700 lang=python3
#
# [1700] minimum-deletion-cost-to-avoid-repeating-letters
#
None
# @lc code=end | None |
"""Rules to load archives for Bazel plugins."""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def rules_docker_archives(version, sha256):
http_archive(
name = "io_bazel_rules_docker",
sha256 = sha256,
strip_prefix = "rules_docker-%s" % version,
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v%s/rules_docker-v%s.tar.gz" % (version, version)],
)
def rules_k8s_archives(version, sha256):
http_archive(
name = "io_bazel_rules_k8s",
sha256 = sha256,
strip_prefix = "rules_k8s-%s" % version,
urls = ["https://github.com/bazelbuild/rules_k8s/archive/v%s.tar.gz" % version],
)
def rules_go_archives(version, sha256):
http_archive(
name = "io_bazel_rules_go",
sha256 = sha256,
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v%s/rules_go-v%s.zip" % (version, version),
"https://github.com/bazelbuild/rules_go/releases/download/v%s/rules_go-v%s.zip" % (version, version),
],
)
def gazelle_archives(version, sha256):
http_archive(
name = "bazel_gazelle",
sha256 = sha256,
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v%s/bazel-gazelle-v%s.tar.gz" % (version, version),
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v%s/bazel-gazelle-v%s.tar.gz" % (version, version),
],
)
def rules_proto_archives(version, sha256):
http_archive(
name = "rules_proto",
sha256 = sha256,
strip_prefix = "rules_proto-%s" % version,
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/refs/tags/%s.tar.gz" % version,
"https://github.com/bazelbuild/rules_proto/archive/refs/tags/%s.tar.gz" % version,
],
)
| """Rules to load archives for Bazel plugins."""
load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive')
def rules_docker_archives(version, sha256):
http_archive(name='io_bazel_rules_docker', sha256=sha256, strip_prefix='rules_docker-%s' % version, urls=['https://github.com/bazelbuild/rules_docker/releases/download/v%s/rules_docker-v%s.tar.gz' % (version, version)])
def rules_k8s_archives(version, sha256):
http_archive(name='io_bazel_rules_k8s', sha256=sha256, strip_prefix='rules_k8s-%s' % version, urls=['https://github.com/bazelbuild/rules_k8s/archive/v%s.tar.gz' % version])
def rules_go_archives(version, sha256):
http_archive(name='io_bazel_rules_go', sha256=sha256, urls=['https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v%s/rules_go-v%s.zip' % (version, version), 'https://github.com/bazelbuild/rules_go/releases/download/v%s/rules_go-v%s.zip' % (version, version)])
def gazelle_archives(version, sha256):
http_archive(name='bazel_gazelle', sha256=sha256, urls=['https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v%s/bazel-gazelle-v%s.tar.gz' % (version, version), 'https://github.com/bazelbuild/bazel-gazelle/releases/download/v%s/bazel-gazelle-v%s.tar.gz' % (version, version)])
def rules_proto_archives(version, sha256):
http_archive(name='rules_proto', sha256=sha256, strip_prefix='rules_proto-%s' % version, urls=['https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/refs/tags/%s.tar.gz' % version, 'https://github.com/bazelbuild/rules_proto/archive/refs/tags/%s.tar.gz' % version]) |
'''
Created on 2009-09-16
@author: beaudoin
A Python version of the C++ Observable class found in Utils
'''
class Observable(object):
def __init__(self):
self._observers = []
self._hasChanged = False
self._batchChangeDepth = 0
def setChanged(self):
"""Protected. Indicate that the object has changed."""
self._hasChanged = True
def clearChanged(self):
"""Protected. Indicate that the object changes have been sent to every observer."""
self._hasChanged = False
def notifyObservers(self, data = None):
"""Protected. Notify observers that a change has occurred.
Doesn't notify if a batch change is going on."""
self.setChanged()
self.notifyObserversIfChanged( data )
def notifyObserversIfChanged(self, data = None ):
"""Protected. Notify observers only if the object has been modified.
Doesn't notify if a batch change is going on."""
if not self.isDoingBatchChanges() and self.hasChanged():
for observer in self._observers:
observer.update( data )
self.clearChanged()
def hasChanged(self):
"""Return true if this object has changed since last notification."""
return self._hasChanged
def isDoingBatchChanges(self):
"""Returns true if this object is currently going through a batch of changes."""
return self._batchChangeDepth > 0
def beginBatchChanges(self):
"""Indicates that we want to begin performing batch changes on this object.
Every call to beginBatchChanges() should be matched by a call to endBatchChanges(),
observers will only be notified when the first begin is closed by the last end.
The call to endBatchChanges() should usually be in a finally clause."""
self._batchChangeDepth += 1
def endBatchChanges(self):
"""Indicates that we want to end performing batch changes on this object.
Every call to beginBatchChanges() should be matched by a call to endBatchChanges(),
observers will only be notified when the first begin is closed by the last end.
The call to endBatchChanges() should usually be in a finally clause."""
self._batchChangeDepth -= 1
self.notifyObserversIfChanged()
def addObserver(self, observer):
"""Adds an observer to this object. Observers need to have a method:
update( observable, data = None )
Where observable is an observable object and data is an arbitrary data object."""
self._observers.append( observer )
def deleteObserver(self, observer):
"""Removes the specified observer from the list of observers."""
self._observers.remove(observer)
def countObservers(self):
"""Returns the number of observers of this object."""
return len( self._observers )
@classmethod
def typeName(cls):
"""Returns the name of the class."""
return cls.__name__
| """
Created on 2009-09-16
@author: beaudoin
A Python version of the C++ Observable class found in Utils
"""
class Observable(object):
def __init__(self):
self._observers = []
self._hasChanged = False
self._batchChangeDepth = 0
def set_changed(self):
"""Protected. Indicate that the object has changed."""
self._hasChanged = True
def clear_changed(self):
"""Protected. Indicate that the object changes have been sent to every observer."""
self._hasChanged = False
def notify_observers(self, data=None):
"""Protected. Notify observers that a change has occurred.
Doesn't notify if a batch change is going on."""
self.setChanged()
self.notifyObserversIfChanged(data)
def notify_observers_if_changed(self, data=None):
"""Protected. Notify observers only if the object has been modified.
Doesn't notify if a batch change is going on."""
if not self.isDoingBatchChanges() and self.hasChanged():
for observer in self._observers:
observer.update(data)
self.clearChanged()
def has_changed(self):
"""Return true if this object has changed since last notification."""
return self._hasChanged
def is_doing_batch_changes(self):
"""Returns true if this object is currently going through a batch of changes."""
return self._batchChangeDepth > 0
def begin_batch_changes(self):
"""Indicates that we want to begin performing batch changes on this object.
Every call to beginBatchChanges() should be matched by a call to endBatchChanges(),
observers will only be notified when the first begin is closed by the last end.
The call to endBatchChanges() should usually be in a finally clause."""
self._batchChangeDepth += 1
def end_batch_changes(self):
"""Indicates that we want to end performing batch changes on this object.
Every call to beginBatchChanges() should be matched by a call to endBatchChanges(),
observers will only be notified when the first begin is closed by the last end.
The call to endBatchChanges() should usually be in a finally clause."""
self._batchChangeDepth -= 1
self.notifyObserversIfChanged()
def add_observer(self, observer):
"""Adds an observer to this object. Observers need to have a method:
update( observable, data = None )
Where observable is an observable object and data is an arbitrary data object."""
self._observers.append(observer)
def delete_observer(self, observer):
"""Removes the specified observer from the list of observers."""
self._observers.remove(observer)
def count_observers(self):
"""Returns the number of observers of this object."""
return len(self._observers)
@classmethod
def type_name(cls):
"""Returns the name of the class."""
return cls.__name__ |
#
# Code property of Jared Scarito
#
testCases = int(input())
outCases = []
for i in range(testCases):
weights = []
dataSet = str(input())
case = dataSet.split(" ")[0]
maxWeight = int(dataSet.split(" ")[1])
for weightIndex in range(len(dataSet.split(" "))):
if int(weightIndex) > 1:
weight = dataSet.split(" ")[int(weightIndex)]
weights.append(int(weight))
outCases.append("NO")
sum = 0
#sorted(weights, key=int) # Don't think it actually needs to be sorted...
for weight in weights:
sum += weight
if sum > maxWeight:
sum -= weight
if sum == maxWeight:
outCases[i] = "YES"
break
else:
outCases[i] = "NO"
for caseNum in range(len(outCases)):
print(str(caseNum + 1), str(outCases[caseNum]))
| test_cases = int(input())
out_cases = []
for i in range(testCases):
weights = []
data_set = str(input())
case = dataSet.split(' ')[0]
max_weight = int(dataSet.split(' ')[1])
for weight_index in range(len(dataSet.split(' '))):
if int(weightIndex) > 1:
weight = dataSet.split(' ')[int(weightIndex)]
weights.append(int(weight))
outCases.append('NO')
sum = 0
for weight in weights:
sum += weight
if sum > maxWeight:
sum -= weight
if sum == maxWeight:
outCases[i] = 'YES'
break
else:
outCases[i] = 'NO'
for case_num in range(len(outCases)):
print(str(caseNum + 1), str(outCases[caseNum])) |
SMS_setting = {
'secretId':'',
'secretKey':'',
'req_Appid':'',
'req_Sign':'',
'req_SessionContext':'',
'req_NumberSet':[],
'req_TemplateID':'',
'req_TemplateParmSet':[],
}
| sms_setting = {'secretId': '', 'secretKey': '', 'req_Appid': '', 'req_Sign': '', 'req_SessionContext': '', 'req_NumberSet': [], 'req_TemplateID': '', 'req_TemplateParmSet': []} |
LEFT = 0
UP = 1
RIGHT = 2
DOWN = 3
vectors = [(-1, 0), (0, 1), (1, 0), (0, -1)]
class Laser:
def __init__(self, board, x, y):
self.board = board
class Board:
def __init__(self, size):
self.size = size
self.real = [[False for _ in range(size)] for _ in range(size)]
def set_mirror(self, x, y):
self.real[x][y] = True
def has_mirror(self, x, y):
return x >= 0 and x < self.size and y >= 0 and y < self.size and self.real[x][y]
def debug(self):
for y, row in self.real[-1::-1]:
print(" ".join(["()" if v else "__" for v in row]))
| left = 0
up = 1
right = 2
down = 3
vectors = [(-1, 0), (0, 1), (1, 0), (0, -1)]
class Laser:
def __init__(self, board, x, y):
self.board = board
class Board:
def __init__(self, size):
self.size = size
self.real = [[False for _ in range(size)] for _ in range(size)]
def set_mirror(self, x, y):
self.real[x][y] = True
def has_mirror(self, x, y):
return x >= 0 and x < self.size and (y >= 0) and (y < self.size) and self.real[x][y]
def debug(self):
for (y, row) in self.real[-1::-1]:
print(' '.join(['()' if v else '__' for v in row])) |
#!/usr/bin/env python3
# Based on the code in
# https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html
# by Rob Pike.
def match(regexp, text):
if regexp and regexp[0] == '^':
return match_here(regexp[1:], text)
while text:
print('\nmatch({!r}, {!r})'.format(regexp, text))
if match_here(regexp, text):
return True
text = text[1:]
return False
def match_here(regexp, text):
print('match_here({!r}, {!r})'.format(regexp, text))
if not regexp:
return True
if len(regexp) > 1 and regexp[1] == '*':
return match_star(regexp[0], regexp[2:], text)
if len(regexp) == 1 and regexp[0] == '$':
return len(text) == 0
if text and regexp and (regexp[0] in ['.', text[0]]):
return match_here(regexp[1:], text[1:]) # consuming memory
return False
def match_star(c, regexp, text):
while True:
print('match_star({!r}, {!r}, {!r})'.format(c, regexp, text))
if match_here(regexp, text):
return True
if c not in ['.', text[0]]:
break
text = text[1:] # consuming memory
return False
| def match(regexp, text):
if regexp and regexp[0] == '^':
return match_here(regexp[1:], text)
while text:
print('\nmatch({!r}, {!r})'.format(regexp, text))
if match_here(regexp, text):
return True
text = text[1:]
return False
def match_here(regexp, text):
print('match_here({!r}, {!r})'.format(regexp, text))
if not regexp:
return True
if len(regexp) > 1 and regexp[1] == '*':
return match_star(regexp[0], regexp[2:], text)
if len(regexp) == 1 and regexp[0] == '$':
return len(text) == 0
if text and regexp and (regexp[0] in ['.', text[0]]):
return match_here(regexp[1:], text[1:])
return False
def match_star(c, regexp, text):
while True:
print('match_star({!r}, {!r}, {!r})'.format(c, regexp, text))
if match_here(regexp, text):
return True
if c not in ['.', text[0]]:
break
text = text[1:]
return False |
expected_output = {
'socket_connections': {
'total_socket_connections': 4,
'sockets_in_listen_state': ['Tunnel1-head-0', 'Tunnel2-head-0', 'Tunnel3-head-0', 'Tunnel20-head-0'],
'Tu1': {
'peers': {
'remote_ip': '10.0.0.2',
'local_ip': '85.45.1.1'
},
'local_ident': {
'protocol': 47,
'mask': '255.255.255.255',
'port': 0,
'address': '85.45.1.1'
},
'remote_ident': {
'protocol': 47,
'mask': '255.255.255.255',
'port': 0,
'address': '10.0.0.2'
},
'socket_state': 'Open',
'ipsec_profile': 'star',
'client_state': 'Active',
'client_name': 'TUNNEL SEC'
},
'Tu2': {
'peers': {
'remote_ip': '10.0.0.2',
'local_ip': '85.45.2.1'
},
'local_ident': {
'protocol': 47,
'mask': '255.255.255.255',
'port': 0,
'address': '85.45.2.1'
},
'remote_ident': {
'protocol': 47,
'mask': '255.255.255.255',
'port': 0,
'address': '10.0.0.2'
},
'socket_state': 'Open',
'ipsec_profile': 'star',
'client_state': 'Active',
'client_name': 'TUNNEL SEC'
},
'Tu3': {
'peers': {
'remote_ip': '10.0.0.2',
'local_ip': '85.45.3.1'
},
'local_ident': {
'protocol': 47,
'mask': '255.255.255.255',
'port': 0,
'address': '85.45.3.1'
},
'remote_ident': {
'protocol': 47,
'mask': '255.255.255.255',
'port': 0,
'address': '10.0.0.2'
},
'socket_state': 'Open',
'ipsec_profile': 'star',
'client_state': 'Active',
'client_name': 'TUNNEL SEC',
'true_ident': ['0.0.0.0/0.0.0.0/0/0 -> 0.0.0.0/0.0.0.0/0/0', '::/0/0/0 -> ::/0/0/0']
},
'Tu20': {
'peers': {
'remote_ip': '22.1.1.1',
'local_ip': '21.1.1.1'
},
'local_ident': {
'protocol': 0,
'mask': '0.0.0.0',
'port': 0,
'address': '0.0.0.0'
},
'remote_ident': {
'protocol': 0,
'mask': '0.0.0.0',
'port': 0,
'address': '0.0.0.0'
},
'socket_state': 'Open',
'ipsec_profile': 'IPSEC_PROFILE',
'client_state': 'Active',
'client_name': 'TUNNEL SEC',
'true_ident': ['172.18.1.0/255.255.255.0/0/0 -> 10.4.0.0/255.255.255.0/0/0',
'172.17.1.0/255.255.255.0/0/0 -> 10.4.0.0/255.255.255.0/0/0',
'172.17.1.0/255.255.255.0/0/0 -> 10.1.0.0/255.255.255.0/0/0',
'172.16.1.0/255.255.255.0/0/0 -> 10.1.0.0/255.255.255.0/0/0',
'6664:3038:6162:6364::/64/0/0 -> 6664:3038:6665:6564::/64/0/0']
}
}
} | expected_output = {'socket_connections': {'total_socket_connections': 4, 'sockets_in_listen_state': ['Tunnel1-head-0', 'Tunnel2-head-0', 'Tunnel3-head-0', 'Tunnel20-head-0'], 'Tu1': {'peers': {'remote_ip': '10.0.0.2', 'local_ip': '85.45.1.1'}, 'local_ident': {'protocol': 47, 'mask': '255.255.255.255', 'port': 0, 'address': '85.45.1.1'}, 'remote_ident': {'protocol': 47, 'mask': '255.255.255.255', 'port': 0, 'address': '10.0.0.2'}, 'socket_state': 'Open', 'ipsec_profile': 'star', 'client_state': 'Active', 'client_name': 'TUNNEL SEC'}, 'Tu2': {'peers': {'remote_ip': '10.0.0.2', 'local_ip': '85.45.2.1'}, 'local_ident': {'protocol': 47, 'mask': '255.255.255.255', 'port': 0, 'address': '85.45.2.1'}, 'remote_ident': {'protocol': 47, 'mask': '255.255.255.255', 'port': 0, 'address': '10.0.0.2'}, 'socket_state': 'Open', 'ipsec_profile': 'star', 'client_state': 'Active', 'client_name': 'TUNNEL SEC'}, 'Tu3': {'peers': {'remote_ip': '10.0.0.2', 'local_ip': '85.45.3.1'}, 'local_ident': {'protocol': 47, 'mask': '255.255.255.255', 'port': 0, 'address': '85.45.3.1'}, 'remote_ident': {'protocol': 47, 'mask': '255.255.255.255', 'port': 0, 'address': '10.0.0.2'}, 'socket_state': 'Open', 'ipsec_profile': 'star', 'client_state': 'Active', 'client_name': 'TUNNEL SEC', 'true_ident': ['0.0.0.0/0.0.0.0/0/0 -> 0.0.0.0/0.0.0.0/0/0', '::/0/0/0 -> ::/0/0/0']}, 'Tu20': {'peers': {'remote_ip': '22.1.1.1', 'local_ip': '21.1.1.1'}, 'local_ident': {'protocol': 0, 'mask': '0.0.0.0', 'port': 0, 'address': '0.0.0.0'}, 'remote_ident': {'protocol': 0, 'mask': '0.0.0.0', 'port': 0, 'address': '0.0.0.0'}, 'socket_state': 'Open', 'ipsec_profile': 'IPSEC_PROFILE', 'client_state': 'Active', 'client_name': 'TUNNEL SEC', 'true_ident': ['172.18.1.0/255.255.255.0/0/0 -> 10.4.0.0/255.255.255.0/0/0', '172.17.1.0/255.255.255.0/0/0 -> 10.4.0.0/255.255.255.0/0/0', '172.17.1.0/255.255.255.0/0/0 -> 10.1.0.0/255.255.255.0/0/0', '172.16.1.0/255.255.255.0/0/0 -> 10.1.0.0/255.255.255.0/0/0', '6664:3038:6162:6364::/64/0/0 -> 6664:3038:6665:6564::/64/0/0']}}} |
def list_function(x):
return x
n = [3, 5, 7]
print(list_function(n))
| def list_function(x):
return x
n = [3, 5, 7]
print(list_function(n)) |
t = int(input())
for i in range(t):
n = int(input())
m = n-1
arr = []
# print(arr)
uparr = list(range(1,n)) + list(range(n-1,0,-1))
down = 2
up = 0
# print(uparr)
start = 1
for j in range(n):
if j>0:
start += down
down += 1
temp = []
temp2 = start
for k in range(n):
if k==0:
temp.append(temp2)
else:
temp2 += uparr[j+k-1]
temp.append(temp2)
arr.append(temp)
# print(arr)
for j in arr:
for k in range(len(j)):
if k!=(len(j)-1):
print(j[k],end=' ')
else:
print(j[k]) | t = int(input())
for i in range(t):
n = int(input())
m = n - 1
arr = []
uparr = list(range(1, n)) + list(range(n - 1, 0, -1))
down = 2
up = 0
start = 1
for j in range(n):
if j > 0:
start += down
down += 1
temp = []
temp2 = start
for k in range(n):
if k == 0:
temp.append(temp2)
else:
temp2 += uparr[j + k - 1]
temp.append(temp2)
arr.append(temp)
for j in arr:
for k in range(len(j)):
if k != len(j) - 1:
print(j[k], end=' ')
else:
print(j[k]) |
def sum(a , b):
return a + b
def getAllData():
listOfCategory = [
{
'id': 1,
'cat_name': 'Cell phone',
'products': [
{
'product_id': 1,
'product_name': 'iPhone 12 Pro Max'
},
{
'product_id': 2,
'product_name': 'iPhone 11 Pro'
},
{
'product_id': 3,
'product_name': 'iPhone XS'
}
]
},
{
'id': 2,
'cate_name': 'Tablet'
}
]
return listOfCategory | def sum(a, b):
return a + b
def get_all_data():
list_of_category = [{'id': 1, 'cat_name': 'Cell phone', 'products': [{'product_id': 1, 'product_name': 'iPhone 12 Pro Max'}, {'product_id': 2, 'product_name': 'iPhone 11 Pro'}, {'product_id': 3, 'product_name': 'iPhone XS'}]}, {'id': 2, 'cate_name': 'Tablet'}]
return listOfCategory |
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 23 14:42:54 2016
@author: ktritz
"""
def currentshot(self):
return self._connections[0].get('current_shot("nstx")').value
| """
Created on Thu Jun 23 14:42:54 2016
@author: ktritz
"""
def currentshot(self):
return self._connections[0].get('current_shot("nstx")').value |
if __name__ == "__main__":
"""
('f', 'f', 'f')
('l', 'l', 'l')
('o', 'o', 'i')
('w', 'w', 'g')
"""
nums = ['flower','flow','flight'] # each string is regarded as a tuple
for i in zip(*nums):
print(i)
"""
The list elements are connected in sequence
"""
l = ['a', 'b', 'c', 'd', 'e','f']
print(l)
print(list(zip(l[:-1],l[1:])))
| if __name__ == '__main__':
"\n ('f', 'f', 'f')\n ('l', 'l', 'l')\n ('o', 'o', 'i')\n ('w', 'w', 'g')\n "
nums = ['flower', 'flow', 'flight']
for i in zip(*nums):
print(i)
'\n The list elements are connected in sequence\n '
l = ['a', 'b', 'c', 'd', 'e', 'f']
print(l)
print(list(zip(l[:-1], l[1:]))) |
class MULT18X18():
def __init__(self, clk=True, site=None, **kwargs):
self.inst = inst("MULT18X18SIO", site, **kwargs)
self.setcfgs({
"AREG": "0",
"BREG": "0",
"B_INPUT": "DIRECT",
"CEAINV": "CEA",
"CEBINV": "CEB",
"CEPINV": "CEP",
"CLKINV": "CLK",
"PREG": "0",
"PREG_CLKINVERSION": "0",
"RSTAINV": "RSTA",
"RSTBINV": "RSTB",
"RSTPINV": "RSTP"
})
if clk is not None:
if clk is True:
clk = clock()
wire(clk, self.inst.CLK)
A, B = [], []
for i in xrange(18):
A += [self.inst.getpin("A%d" % i)]
B += [self.inst.getpin("B%d" % i)]
self.I = [[A], [B]]
self.O = []
for i in xrange(36):
self.O += [self.inst.getpin("P%d" % i)]
| class Mult18X18:
def __init__(self, clk=True, site=None, **kwargs):
self.inst = inst('MULT18X18SIO', site, **kwargs)
self.setcfgs({'AREG': '0', 'BREG': '0', 'B_INPUT': 'DIRECT', 'CEAINV': 'CEA', 'CEBINV': 'CEB', 'CEPINV': 'CEP', 'CLKINV': 'CLK', 'PREG': '0', 'PREG_CLKINVERSION': '0', 'RSTAINV': 'RSTA', 'RSTBINV': 'RSTB', 'RSTPINV': 'RSTP'})
if clk is not None:
if clk is True:
clk = clock()
wire(clk, self.inst.CLK)
(a, b) = ([], [])
for i in xrange(18):
a += [self.inst.getpin('A%d' % i)]
b += [self.inst.getpin('B%d' % i)]
self.I = [[A], [B]]
self.O = []
for i in xrange(36):
self.O += [self.inst.getpin('P%d' % i)] |
# NBA Game Predictor
# File: baseline.py
# Authors: Tarmily Wen & Andrew Petrosky
#
# A baseline predictor based purely of winning percentage
def model(train_x, train_y, test_x, test_y):
# Train test
print("Testing on training data...")
correct = 0.0
total = 0.0
for i in range(len(train_x)):
t = 0 if train_x[i][-2] < train_x[i][-1] else 1
if t == train_y[i]:
correct += 1.0
total += 1.0
acc = correct / total
print("Training Accuracy = " + str(acc))
print("Testing on test data...")
correct = 0.0
total = 0.0
for i in range(len(test_x)):
t = 0 if test_x[i][-2] < test_x[i][-1] else 1
if t == test_y[i]:
correct += 1.0
total += 1.0
acc = correct / total
print("Testing Accuracy = " + str(acc))
| def model(train_x, train_y, test_x, test_y):
print('Testing on training data...')
correct = 0.0
total = 0.0
for i in range(len(train_x)):
t = 0 if train_x[i][-2] < train_x[i][-1] else 1
if t == train_y[i]:
correct += 1.0
total += 1.0
acc = correct / total
print('Training Accuracy = ' + str(acc))
print('Testing on test data...')
correct = 0.0
total = 0.0
for i in range(len(test_x)):
t = 0 if test_x[i][-2] < test_x[i][-1] else 1
if t == test_y[i]:
correct += 1.0
total += 1.0
acc = correct / total
print('Testing Accuracy = ' + str(acc)) |
def name_file(fmt, nbr, start):
if not isinstance(nbr, int) or not isinstance(start, int) or nbr <= 0:
return []
filename = fmt.replace('<index_no>', '{0}').format
return [filename(a) for a in xrange(start, start + nbr)]
| def name_file(fmt, nbr, start):
if not isinstance(nbr, int) or not isinstance(start, int) or nbr <= 0:
return []
filename = fmt.replace('<index_no>', '{0}').format
return [filename(a) for a in xrange(start, start + nbr)] |
# import numpy as np
def add(x, y):
"""
This function sums up two numbers.
Parameters
----------
x : float
The first number to be added.
y : float
The second number to be added.
Returns
-------
sum : float
The sum of x and y.
"""
sum = x + y
return sum
| def add(x, y):
"""
This function sums up two numbers.
Parameters
----------
x : float
The first number to be added.
y : float
The second number to be added.
Returns
-------
sum : float
The sum of x and y.
"""
sum = x + y
return sum |
SHARD_COUNT = 2**10 # 1024
EPOCH_LENGTH = 2**6 # 64 slots, 6.4 minutes
TARGET_COMMITTEE_SIZE = 2**8 # 256 validators
| shard_count = 2 ** 10
epoch_length = 2 ** 6
target_committee_size = 2 ** 8 |
class Stack:
'''Visual FX Stack'''
def __init__(self, layers=[]):
self.layers = layers
def apply(self, frame):
'''Return the frame with the fx layers applied.'''
output = frame.copy()
for layer in self.layers:
if layer.active:
output = layer.apply(output)
return output
def userInput(self, key):
'''Pass the user input to the fx layers.'''
for i in range(len(self.layers)):
if key == ord(str(i + 1)):
self.layers[i].active = not self.layers[i].active
for layer in self.layers:
if layer.active:
layer.userInput(key)
def getTooltips(self):
tooltips = ["Press 'Q' to quit",
"Press 'R' to record",
"Press 'I' to take a snapshot"]
for layer in self.layers:
if layer.active:
try:
for tooltip in layer.tooltips:
if tooltip not in tooltips:
tooltips.append(tooltip)
except:
continue
return tooltips
def getReadouts(self):
readouts = []
for layer in self.layers:
if layer.active:
try:
for readout in layer.readouts:
if readout not in readouts:
readouts.append(readout)
except:
continue
return readouts
def getLayerNames(self):
layerNames = []
for l in range(len(self.layers)):
if self.layers[l].active:
status = "ON"
else:
status = "OFF"
layerNames.append(
"{}-{} {}".format(l + 1, self.layers[l].type, status))
return layerNames
| class Stack:
"""Visual FX Stack"""
def __init__(self, layers=[]):
self.layers = layers
def apply(self, frame):
"""Return the frame with the fx layers applied."""
output = frame.copy()
for layer in self.layers:
if layer.active:
output = layer.apply(output)
return output
def user_input(self, key):
"""Pass the user input to the fx layers."""
for i in range(len(self.layers)):
if key == ord(str(i + 1)):
self.layers[i].active = not self.layers[i].active
for layer in self.layers:
if layer.active:
layer.userInput(key)
def get_tooltips(self):
tooltips = ["Press 'Q' to quit", "Press 'R' to record", "Press 'I' to take a snapshot"]
for layer in self.layers:
if layer.active:
try:
for tooltip in layer.tooltips:
if tooltip not in tooltips:
tooltips.append(tooltip)
except:
continue
return tooltips
def get_readouts(self):
readouts = []
for layer in self.layers:
if layer.active:
try:
for readout in layer.readouts:
if readout not in readouts:
readouts.append(readout)
except:
continue
return readouts
def get_layer_names(self):
layer_names = []
for l in range(len(self.layers)):
if self.layers[l].active:
status = 'ON'
else:
status = 'OFF'
layerNames.append('{}-{} {}'.format(l + 1, self.layers[l].type, status))
return layerNames |
class Solution:
def searchRange(self, nums: list[int], target: int) -> list[int]:
first,last = -1,-1
def search(lo,hi):
nonlocal first,last
if nums[lo]<=target<=nums[hi]:
mid = (lo+hi)//2
if nums[mid]==target:
if first==-1:
first = mid
else : first = min(first,mid)
last = max(last,mid)
if lo!=hi:
search(lo,mid-1)
search(mid+1,hi)
search(0,len(nums)-1)
return [first,last]
if __name__=="__main__":
sol = Solution()
nums = [5,7,7,8,8,10]
target = 8
print(sol.searchRange(nums,target)) | class Solution:
def search_range(self, nums: list[int], target: int) -> list[int]:
(first, last) = (-1, -1)
def search(lo, hi):
nonlocal first, last
if nums[lo] <= target <= nums[hi]:
mid = (lo + hi) // 2
if nums[mid] == target:
if first == -1:
first = mid
else:
first = min(first, mid)
last = max(last, mid)
if lo != hi:
search(lo, mid - 1)
search(mid + 1, hi)
search(0, len(nums) - 1)
return [first, last]
if __name__ == '__main__':
sol = solution()
nums = [5, 7, 7, 8, 8, 10]
target = 8
print(sol.searchRange(nums, target)) |
regions = {'jp': 'amazon.co.jp',
'uk': 'amazon.co.uk',
'de': 'amazon.de',
'eu': 'amazon.co.uk',
'us': 'amazon.com',
'na': 'amazon.com'}
| regions = {'jp': 'amazon.co.jp', 'uk': 'amazon.co.uk', 'de': 'amazon.de', 'eu': 'amazon.co.uk', 'us': 'amazon.com', 'na': 'amazon.com'} |
""" Exception classes for panzer """
class PanzerError(Exception):
""" base class for all panzer exceptions """
pass
class SetupError(PanzerError):
""" error in the setup phase """
pass
class BadASTError(PanzerError):
""" malformatted AST encountered (e.g. C or T fields missing) """
pass
class BadArgsFormat(PanzerError):
""" args field for item in run list has incorrect format """
pass
class NoArgsAllowed(PanzerError):
""" no command line arguments allowed to be passed to lua filters """
pass
class MissingField(PanzerError):
""" looked for metadata field, did not find it """
pass
class WrongType(PanzerError):
""" looked for value of a type, encountered different type """
pass
class InternalError(PanzerError):
""" function invoked with invalid parameters """
pass
class StrictModeError(PanzerError):
"""
An error on `---strict` mode that causes panzer to exit
- On `--strict` mode: exception raised if any error of level 'ERROR' or
above is logged
- Without `--strict` mode: exception never raised
"""
pass
| """ Exception classes for panzer """
class Panzererror(Exception):
""" base class for all panzer exceptions """
pass
class Setuperror(PanzerError):
""" error in the setup phase """
pass
class Badasterror(PanzerError):
""" malformatted AST encountered (e.g. C or T fields missing) """
pass
class Badargsformat(PanzerError):
""" args field for item in run list has incorrect format """
pass
class Noargsallowed(PanzerError):
""" no command line arguments allowed to be passed to lua filters """
pass
class Missingfield(PanzerError):
""" looked for metadata field, did not find it """
pass
class Wrongtype(PanzerError):
""" looked for value of a type, encountered different type """
pass
class Internalerror(PanzerError):
""" function invoked with invalid parameters """
pass
class Strictmodeerror(PanzerError):
"""
An error on `---strict` mode that causes panzer to exit
- On `--strict` mode: exception raised if any error of level 'ERROR' or
above is logged
- Without `--strict` mode: exception never raised
"""
pass |
# coding: utf-8
n, m = [int(i) for i in input().split()]
d = {}
for i in range(m):
tmp = input().split()
d[tmp[0]] = tmp[1]
s = input().split()
for i in range(n):
if len(s[i])>len(d[s[i]]):
s[i] = d[s[i]]
print(' '.join(s))
| (n, m) = [int(i) for i in input().split()]
d = {}
for i in range(m):
tmp = input().split()
d[tmp[0]] = tmp[1]
s = input().split()
for i in range(n):
if len(s[i]) > len(d[s[i]]):
s[i] = d[s[i]]
print(' '.join(s)) |
#MergeSort.py
# 20 Oct 2017
#written by Amin dehghan
#DS & Algorithms With Python
def merge(seq,start,mid,stop):
lst=[]
i=start
j=mid
while i<mid and j<stop:
if seq[i]<seq[j]:
lst.append(seq[i])
i+=1
else:
lst.append(seq[j])
j+=1
while i<mid:
lst.append(seq[i])
i+=1
for i in range(len(lst)):
seq[start+i]=lst[i]
def mergerecursion(seq,start,stop):
if start>stop-1:
return
mid = (start+stop)//2
mergerecursion(seq,start,mid)
mergerecursion(seq,mid,stop)
merge(seq,start,mid,stop)
def mergeSort(seq):
mergerecursion(seq,0,len(seq))
| def merge(seq, start, mid, stop):
lst = []
i = start
j = mid
while i < mid and j < stop:
if seq[i] < seq[j]:
lst.append(seq[i])
i += 1
else:
lst.append(seq[j])
j += 1
while i < mid:
lst.append(seq[i])
i += 1
for i in range(len(lst)):
seq[start + i] = lst[i]
def mergerecursion(seq, start, stop):
if start > stop - 1:
return
mid = (start + stop) // 2
mergerecursion(seq, start, mid)
mergerecursion(seq, mid, stop)
merge(seq, start, mid, stop)
def merge_sort(seq):
mergerecursion(seq, 0, len(seq)) |
class ReactionZone:
"""
Store a block of 9 reactions.
"""
def __init__(self, indexes, reactions_array):
self.reactions_array = reactions_array
self.contained_indexes = indexes
def getFields(self):
list_of_fields = []
for index in self.contained_indexes:
list_of_fields.append(self.reactions_array[index])
return list_of_fields
| class Reactionzone:
"""
Store a block of 9 reactions.
"""
def __init__(self, indexes, reactions_array):
self.reactions_array = reactions_array
self.contained_indexes = indexes
def get_fields(self):
list_of_fields = []
for index in self.contained_indexes:
list_of_fields.append(self.reactions_array[index])
return list_of_fields |
"""Student data in a dictionary"""
student = {}
for i in range(3):
name = input("Enter name: ")
age = input("Enter age: ")
reg = input("Enter registration number: ")
student[name] = f"{age}, {reg}"
dict(student)
print(student) | """Student data in a dictionary"""
student = {}
for i in range(3):
name = input('Enter name: ')
age = input('Enter age: ')
reg = input('Enter registration number: ')
student[name] = f'{age}, {reg}'
dict(student)
print(student) |
# A Dynamic Programming based Python Program for the Egg Dropping Puzzle
INT_MAX = 32767
# Function to get minimum number of trials needed in worst
# case with n eggs and k floors
def eggDrop(n, k):
# A 2D table where entery eggFloor[i][j] will represent minimum
# number of trials needed for i eggs and j floors.
eggFloor = [[0 for x in range(k + 1)] for x in range(n + 1)]
# We need one trial for one floor and0 trials for 0 floors
for i in range(1, n + 1):
eggFloor[i][1] = 1
eggFloor[i][0] = 0
# We always need j trials for one egg and j floors.
for j in range(1, k + 1):
eggFloor[1][j] = j
# Fill rest of the entries in table using optimal substructure
# property
for i in range(2, n + 1):
for j in range(2, k + 1):
eggFloor[i][j] = INT_MAX
for x in range(1, j + 1):
res = 1 + max(eggFloor[i - 1][x - 1], eggFloor[i][j - x])
if res < eggFloor[i][j]:
eggFloor[i][j] = res
# eggFloor[n][k] holds the result
return eggFloor[n][k]
# Python3 program to find minimum
# number of trials in worst case.
# Find sum of binomial coefficients
# xCi (where i varies from 1 to n).
# If the sum becomes more than K
def binomialCoeff(x, n, k):
sum = 0
term = 1
i = 1
while i <= n and sum < k:
term *= x - i + 1
term /= i
sum += term
i += 1
return sum
# Do binary search to find minimum
# number of trials in worst case.
def minTrials(n, k):
# Initialize low and high as
# 1st and last floors
low = 1
high = k
# Do binary search, for every
# mid, find sum of binomial
# coefficients and check if
# the sum is greater than k or not.
while low < high:
mid = int((low + high) / 2)
if binomialCoeff(mid, n, k) < k:
low = mid + 1
else:
high = mid
return int(low)
# Driver program to test to pront printDups
n = 2
k = 10
print(
"Minimum number of trials in worst case with"
+ str(n)
+ "eggs and "
+ str(k)
+ " floors is "
+ str(eggDrop(n, k))
)
# Driver Code
print(minTrials(n, k))
| int_max = 32767
def egg_drop(n, k):
egg_floor = [[0 for x in range(k + 1)] for x in range(n + 1)]
for i in range(1, n + 1):
eggFloor[i][1] = 1
eggFloor[i][0] = 0
for j in range(1, k + 1):
eggFloor[1][j] = j
for i in range(2, n + 1):
for j in range(2, k + 1):
eggFloor[i][j] = INT_MAX
for x in range(1, j + 1):
res = 1 + max(eggFloor[i - 1][x - 1], eggFloor[i][j - x])
if res < eggFloor[i][j]:
eggFloor[i][j] = res
return eggFloor[n][k]
def binomial_coeff(x, n, k):
sum = 0
term = 1
i = 1
while i <= n and sum < k:
term *= x - i + 1
term /= i
sum += term
i += 1
return sum
def min_trials(n, k):
low = 1
high = k
while low < high:
mid = int((low + high) / 2)
if binomial_coeff(mid, n, k) < k:
low = mid + 1
else:
high = mid
return int(low)
n = 2
k = 10
print('Minimum number of trials in worst case with' + str(n) + 'eggs and ' + str(k) + ' floors is ' + str(egg_drop(n, k)))
print(min_trials(n, k)) |
def my_map(transformation_function, sequence):
for elt in sequence:
yield transformation_function(elt)
powers_of_two = my_map(lambda x: x**2, range(1,11))
print(powers_of_two)
print(next(powers_of_two))
print(list(powers_of_two)) | def my_map(transformation_function, sequence):
for elt in sequence:
yield transformation_function(elt)
powers_of_two = my_map(lambda x: x ** 2, range(1, 11))
print(powers_of_two)
print(next(powers_of_two))
print(list(powers_of_two)) |
class Node:
def __init__(self, value):
self.value = value
self.next = None
def __repr__(self):
return f'{self.value}'
class Stack:
def __init__(self):
self.top = None
self.bottom = None
self.length = 0
def isEmpty(self):
return self.top == None
def push(self, value):
node = Node(value)
node.next = self.top
self.top = node
self.length += 1
def pop(self):
if self.length <= 0:
print('nothing to pop')
return
temp = self.top
self.top = self.top.next
popped = temp.value
self.length -= 1
return popped
def peek(self):
if self.length <= 0:
print('nothing to peek')
return
print(self.top.value)
return self.top.value
class Queue:
def __init__(self):
self.front = None
self.rear = None
self.length = 0
def isEmpty(self):
return self.front == None
def enqueue(self, value):
self.length += 1
new_node = Node(value)
if self.rear == None:
self.front = self.rear = new_node
return
self.rear.next = new_node
self.rear = new_node
def dequeue(self):
self.length -= 1
if self.isEmpty():
self.queue = []
print('queue is empty')
return self.queue
temp = self.front
self.front = temp.next
if self.front == None:
self.rear = None
return str(temp.value)
def peek(self):
return self.front.value
| class Node:
def __init__(self, value):
self.value = value
self.next = None
def __repr__(self):
return f'{self.value}'
class Stack:
def __init__(self):
self.top = None
self.bottom = None
self.length = 0
def is_empty(self):
return self.top == None
def push(self, value):
node = node(value)
node.next = self.top
self.top = node
self.length += 1
def pop(self):
if self.length <= 0:
print('nothing to pop')
return
temp = self.top
self.top = self.top.next
popped = temp.value
self.length -= 1
return popped
def peek(self):
if self.length <= 0:
print('nothing to peek')
return
print(self.top.value)
return self.top.value
class Queue:
def __init__(self):
self.front = None
self.rear = None
self.length = 0
def is_empty(self):
return self.front == None
def enqueue(self, value):
self.length += 1
new_node = node(value)
if self.rear == None:
self.front = self.rear = new_node
return
self.rear.next = new_node
self.rear = new_node
def dequeue(self):
self.length -= 1
if self.isEmpty():
self.queue = []
print('queue is empty')
return self.queue
temp = self.front
self.front = temp.next
if self.front == None:
self.rear = None
return str(temp.value)
def peek(self):
return self.front.value |
#
# PySNMP MIB module HPN-ICF-LswQos-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-LswQos-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:27:47 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion")
hpnicflswCommon, = mibBuilder.importSymbols("HPN-ICF-OID-MIB", "hpnicflswCommon")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
ObjectIdentity, Counter64, iso, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, ModuleIdentity, TimeTicks, Bits, Unsigned32, Integer32, Counter32, NotificationType, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Counter64", "iso", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "ModuleIdentity", "TimeTicks", "Bits", "Unsigned32", "Integer32", "Counter32", "NotificationType", "Gauge32")
RowStatus, DisplayString, MacAddress, TextualConvention, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "MacAddress", "TextualConvention", "TruthValue")
hpnicfLswQosAclMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16))
hpnicfLswQosAclMib.setRevisions(('2002-11-19 00:00',))
if mibBuilder.loadTexts: hpnicfLswQosAclMib.setLastUpdated('200211190000Z')
if mibBuilder.loadTexts: hpnicfLswQosAclMib.setOrganization('')
class HpnicfMirrorOrMonitorType(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("port", 1), ("board", 2))
hpnicfLswQosMibObject = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2))
hpnicfPriorityTrustMode = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 0), ("dscp", 1), ("ipprecedence", 2), ("cos", 3), ("localprecedence", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPriorityTrustMode.setStatus('current')
hpnicfPortMonitorBothIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortMonitorBothIfIndex.setStatus('current')
hpnicfQueueTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3), )
if mibBuilder.loadTexts: hpnicfQueueTable.setStatus('current')
hpnicfQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfQueueIfIndex"))
if mibBuilder.loadTexts: hpnicfQueueEntry.setStatus('current')
hpnicfQueueIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfQueueIfIndex.setStatus('current')
hpnicfQueueScheduleMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("sp", 1), ("wrr", 2), ("wrr-max-delay", 3), ("sc-0", 4), ("sc-1", 5), ("sc-2", 6), ("rr", 7), ("wfq", 8), ("hq-wrr", 9))).clone('sp')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueScheduleMode.setStatus('current')
hpnicfQueueWeight1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight1.setStatus('current')
hpnicfQueueWeight2 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight2.setStatus('current')
hpnicfQueueWeight3 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight3.setStatus('current')
hpnicfQueueWeight4 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight4.setStatus('current')
hpnicfQueueMaxDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueMaxDelay.setStatus('current')
hpnicfQueueWeight5 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight5.setStatus('current')
hpnicfQueueWeight6 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight6.setStatus('current')
hpnicfQueueWeight7 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight7.setStatus('current')
hpnicfQueueWeight8 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfQueueWeight8.setStatus('current')
hpnicfRateLimitTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4), )
if mibBuilder.loadTexts: hpnicfRateLimitTable.setStatus('current')
hpnicfRateLimitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfRateLimitAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRateLimitIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRateLimitVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRateLimitDirection"))
if mibBuilder.loadTexts: hpnicfRateLimitEntry.setStatus('current')
hpnicfRateLimitAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitAclIndex.setStatus('current')
hpnicfRateLimitIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitIfIndex.setStatus('current')
hpnicfRateLimitVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitVlanID.setStatus('current')
hpnicfRateLimitDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitDirection.setStatus('current')
hpnicfRateLimitUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitUserAclNum.setStatus('current')
hpnicfRateLimitUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitUserAclRule.setStatus('current')
hpnicfRateLimitIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitIpAclNum.setStatus('current')
hpnicfRateLimitIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitIpAclRule.setStatus('current')
hpnicfRateLimitLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitLinkAclNum.setStatus('current')
hpnicfRateLimitLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitLinkAclRule.setStatus('current')
hpnicfRateLimitTargetRateMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 11), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitTargetRateMbps.setStatus('current')
hpnicfRateLimitTargetRateKbps = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 12), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitTargetRateKbps.setStatus('current')
hpnicfRateLimitPeakRate = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(64, 8388608), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitPeakRate.setStatus('current')
hpnicfRateLimitCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 34120000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitCIR.setStatus('current')
hpnicfRateLimitCBS = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitCBS.setStatus('current')
hpnicfRateLimitEBS = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitEBS.setStatus('current')
hpnicfRateLimitPIR = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 34120000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitPIR.setStatus('current')
hpnicfRateLimitConformLocalPre = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 18), Integer32().clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitConformLocalPre.setStatus('current')
hpnicfRateLimitConformActionType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 0), ("remark-cos", 1), ("remark-drop-priority", 2), ("remark-cos-drop-priority", 3), ("remark-policed-service", 4), ("remark-dscp", 5))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitConformActionType.setStatus('current')
hpnicfRateLimitExceedActionType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 0), ("forward", 1), ("drop", 2), ("remarkdscp", 3), ("exceed-cos", 4))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitExceedActionType.setStatus('current')
hpnicfRateLimitExceedDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitExceedDscp.setStatus('current')
hpnicfRateLimitRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 22), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfRateLimitRuntime.setStatus('current')
hpnicfRateLimitRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 23), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitRowStatus.setStatus('current')
hpnicfRateLimitExceedCos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 24), Integer32().clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitExceedCos.setStatus('current')
hpnicfRateLimitConformCos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitConformCos.setStatus('current')
hpnicfRateLimitConformDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitConformDscp.setStatus('current')
hpnicfRateLimitMeterStatByteCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 27), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfRateLimitMeterStatByteCount.setStatus('current')
hpnicfRateLimitMeterStatByteXCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 28), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfRateLimitMeterStatByteXCount.setStatus('current')
hpnicfRateLimitMeterStatState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("set", 1), ("unDo", 2), ("reset", 3), ("running", 4), ("notRunning", 5)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRateLimitMeterStatState.setStatus('current')
hpnicfPriorityTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5), )
if mibBuilder.loadTexts: hpnicfPriorityTable.setStatus('current')
hpnicfPriorityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfPriorityAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfPriorityIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfPriorityVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfPriorityDirection"))
if mibBuilder.loadTexts: hpnicfPriorityEntry.setStatus('current')
hpnicfPriorityAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityAclIndex.setStatus('current')
hpnicfPriorityIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityIfIndex.setStatus('current')
hpnicfPriorityVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityVlanID.setStatus('current')
hpnicfPriorityDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityDirection.setStatus('current')
hpnicfPriorityUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityUserAclNum.setStatus('current')
hpnicfPriorityUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityUserAclRule.setStatus('current')
hpnicfPriorityIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityIpAclNum.setStatus('current')
hpnicfPriorityIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityIpAclRule.setStatus('current')
hpnicfPriorityLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityLinkAclNum.setStatus('current')
hpnicfPriorityLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityLinkAclRule.setStatus('current')
hpnicfPriorityDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityDscp.setStatus('current')
hpnicfPriorityIpPre = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityIpPre.setStatus('current')
hpnicfPriorityIpPreFromCos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 13), TruthValue().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityIpPreFromCos.setStatus('current')
hpnicfPriorityCos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityCos.setStatus('current')
hpnicfPriorityCosFromIpPre = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 15), TruthValue().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityCosFromIpPre.setStatus('current')
hpnicfPriorityLocalPre = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityLocalPre.setStatus('current')
hpnicfPriorityPolicedServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 0), ("auto", 1), ("trust-dscp", 2), ("new-dscp", 3), ("untrusted", 4)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityPolicedServiceType.setStatus('current')
hpnicfPriorityPolicedServiceDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityPolicedServiceDscp.setStatus('current')
hpnicfPriorityPolicedServiceExp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityPolicedServiceExp.setStatus('current')
hpnicfPriorityPolicedServiceCos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityPolicedServiceCos.setStatus('current')
hpnicfPriorityPolicedServiceLoaclPre = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityPolicedServiceLoaclPre.setStatus('current')
hpnicfPriorityPolicedServiceDropPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 2), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityPolicedServiceDropPriority.setStatus('current')
hpnicfPriorityRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 23), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfPriorityRuntime.setStatus('current')
hpnicfPriorityRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 24), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPriorityRowStatus.setStatus('current')
hpnicfRedirectTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6), )
if mibBuilder.loadTexts: hpnicfRedirectTable.setStatus('current')
hpnicfRedirectEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfRedirectAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRedirectIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRedirectVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRedirectDirection"))
if mibBuilder.loadTexts: hpnicfRedirectEntry.setStatus('current')
hpnicfRedirectAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectAclIndex.setStatus('current')
hpnicfRedirectIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectIfIndex.setStatus('current')
hpnicfRedirectVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectVlanID.setStatus('current')
hpnicfRedirectDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectDirection.setStatus('current')
hpnicfRedirectUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectUserAclNum.setStatus('current')
hpnicfRedirectUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectUserAclRule.setStatus('current')
hpnicfRedirectIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectIpAclNum.setStatus('current')
hpnicfRedirectIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectIpAclRule.setStatus('current')
hpnicfRedirectLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectLinkAclNum.setStatus('current')
hpnicfRedirectLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectLinkAclRule.setStatus('current')
hpnicfRedirectToCpu = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 11), TruthValue().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToCpu.setStatus('current')
hpnicfRedirectToIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 12), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToIfIndex.setStatus('current')
hpnicfRedirectToNextHop1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 13), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToNextHop1.setStatus('current')
hpnicfRedirectToNextHop2 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 14), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToNextHop2.setStatus('current')
hpnicfRedirectRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 15), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfRedirectRuntime.setStatus('current')
hpnicfRedirectRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 16), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectRowStatus.setStatus('current')
hpnicfRedirectToSlotNo = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToSlotNo.setStatus('current')
hpnicfRedirectRemarkedDSCP = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectRemarkedDSCP.setStatus('current')
hpnicfRedirectRemarkedPri = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectRemarkedPri.setStatus('current')
hpnicfRedirectRemarkedTos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 15), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectRemarkedTos.setStatus('current')
hpnicfRedirectToNextHop3 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 21), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToNextHop3.setStatus('current')
hpnicfRedirectTargetVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectTargetVlanID.setStatus('current')
hpnicfRedirectMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("strict-priority", 1), ("load-balance", 2))).clone('strict-priority')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectMode.setStatus('current')
hpnicfRedirectToNestedVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 24), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToNestedVlanID.setStatus('current')
hpnicfRedirectToModifiedVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 25), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedirectToModifiedVlanID.setStatus('current')
hpnicfStatisticTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7), )
if mibBuilder.loadTexts: hpnicfStatisticTable.setStatus('current')
hpnicfStatisticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfStatisticAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfStatisticIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfStatisticVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfStatisticDirection"))
if mibBuilder.loadTexts: hpnicfStatisticEntry.setStatus('current')
hpnicfStatisticAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticAclIndex.setStatus('current')
hpnicfStatisticIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticIfIndex.setStatus('current')
hpnicfStatisticVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticVlanID.setStatus('current')
hpnicfStatisticDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticDirection.setStatus('current')
hpnicfStatisticUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticUserAclNum.setStatus('current')
hpnicfStatisticUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticUserAclRule.setStatus('current')
hpnicfStatisticIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticIpAclNum.setStatus('current')
hpnicfStatisticIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticIpAclRule.setStatus('current')
hpnicfStatisticLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticLinkAclNum.setStatus('current')
hpnicfStatisticLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticLinkAclRule.setStatus('current')
hpnicfStatisticRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 11), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfStatisticRuntime.setStatus('current')
hpnicfStatisticPacketCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfStatisticPacketCount.setStatus('current')
hpnicfStatisticByteCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfStatisticByteCount.setStatus('current')
hpnicfStatisticCountClear = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cleared", 1), ("nouse", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfStatisticCountClear.setStatus('current')
hpnicfStatisticRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 15), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfStatisticRowStatus.setStatus('current')
hpnicfStatisticPacketXCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfStatisticPacketXCount.setStatus('current')
hpnicfStatisticByteXCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfStatisticByteXCount.setStatus('current')
hpnicfMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8), )
if mibBuilder.loadTexts: hpnicfMirrorTable.setStatus('current')
hpnicfMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirrorAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfMirrorIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfMirrorVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfMirrorDirection"))
if mibBuilder.loadTexts: hpnicfMirrorEntry.setStatus('current')
hpnicfMirrorAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorAclIndex.setStatus('current')
hpnicfMirrorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorIfIndex.setStatus('current')
hpnicfMirrorVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorVlanID.setStatus('current')
hpnicfMirrorDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorDirection.setStatus('current')
hpnicfMirrorUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorUserAclNum.setStatus('current')
hpnicfMirrorUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorUserAclRule.setStatus('current')
hpnicfMirrorIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorIpAclNum.setStatus('current')
hpnicfMirrorIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorIpAclRule.setStatus('current')
hpnicfMirrorLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorLinkAclNum.setStatus('current')
hpnicfMirrorLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorLinkAclRule.setStatus('current')
hpnicfMirrorToIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 11), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorToIfIndex.setStatus('current')
hpnicfMirrorToCpu = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 12), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorToCpu.setStatus('current')
hpnicfMirrorRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 13), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfMirrorRuntime.setStatus('current')
hpnicfMirrorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 14), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorRowStatus.setStatus('current')
hpnicfMirrorToGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 15), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorToGroup.setStatus('current')
hpnicfPortMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9), )
if mibBuilder.loadTexts: hpnicfPortMirrorTable.setStatus('current')
hpnicfPortMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfPortMirrorIfIndex"))
if mibBuilder.loadTexts: hpnicfPortMirrorEntry.setStatus('current')
hpnicfPortMirrorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPortMirrorIfIndex.setStatus('current')
hpnicfPortMirrorDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("in", 1), ("out", 2), ("both", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPortMirrorDirection.setStatus('current')
hpnicfPortMirrorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfPortMirrorRowStatus.setStatus('current')
hpnicfLineRateTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10), )
if mibBuilder.loadTexts: hpnicfLineRateTable.setStatus('current')
hpnicfLineRateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfLineRateIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfLineRateDirection"))
if mibBuilder.loadTexts: hpnicfLineRateEntry.setStatus('current')
hpnicfLineRateIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfLineRateIfIndex.setStatus('current')
hpnicfLineRateDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("in", 1), ("out", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfLineRateDirection.setStatus('current')
hpnicfLineRateValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 3), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfLineRateValue.setStatus('current')
hpnicfLineRateRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfLineRateRowStatus.setStatus('current')
hpnicfBandwidthTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11), )
if mibBuilder.loadTexts: hpnicfBandwidthTable.setStatus('current')
hpnicfBandwidthEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfBandwidthAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfBandwidthIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfBandwidthVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfBandwidthDirection"))
if mibBuilder.loadTexts: hpnicfBandwidthEntry.setStatus('current')
hpnicfBandwidthAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthAclIndex.setStatus('current')
hpnicfBandwidthIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthIfIndex.setStatus('current')
hpnicfBandwidthVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthVlanID.setStatus('current')
hpnicfBandwidthDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("invalid", 0), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthDirection.setStatus('current')
hpnicfBandwidthIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthIpAclNum.setStatus('current')
hpnicfBandwidthIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthIpAclRule.setStatus('current')
hpnicfBandwidthLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthLinkAclNum.setStatus('current')
hpnicfBandwidthLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfBandwidthLinkAclRule.setStatus('current')
hpnicfBandwidthMinGuaranteedWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8388608))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfBandwidthMinGuaranteedWidth.setStatus('current')
hpnicfBandwidthMaxGuaranteedWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8388608))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfBandwidthMaxGuaranteedWidth.setStatus('current')
hpnicfBandwidthWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfBandwidthWeight.setStatus('current')
hpnicfBandwidthRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 12), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfBandwidthRuntime.setStatus('current')
hpnicfBandwidthRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 13), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfBandwidthRowStatus.setStatus('current')
hpnicfRedTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12), )
if mibBuilder.loadTexts: hpnicfRedTable.setStatus('current')
hpnicfRedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfRedAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRedIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRedVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRedDirection"))
if mibBuilder.loadTexts: hpnicfRedEntry.setStatus('current')
hpnicfRedAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedAclIndex.setStatus('current')
hpnicfRedIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedIfIndex.setStatus('current')
hpnicfRedVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedVlanID.setStatus('current')
hpnicfRedDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("invalid", 0), ("output", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedDirection.setStatus('current')
hpnicfRedIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedIpAclNum.setStatus('current')
hpnicfRedIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedIpAclRule.setStatus('current')
hpnicfRedLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedLinkAclNum.setStatus('current')
hpnicfRedLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRedLinkAclRule.setStatus('current')
hpnicfRedStartQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 262128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfRedStartQueueLen.setStatus('current')
hpnicfRedStopQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 262128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfRedStopQueueLen.setStatus('current')
hpnicfRedProbability = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfRedProbability.setStatus('current')
hpnicfRedRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 12), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfRedRuntime.setStatus('current')
hpnicfRedRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 13), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfRedRowStatus.setStatus('current')
hpnicfMirrorGroupTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13), )
if mibBuilder.loadTexts: hpnicfMirrorGroupTable.setStatus('current')
hpnicfMirrorGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirrorGroupID"))
if mibBuilder.loadTexts: hpnicfMirrorGroupEntry.setStatus('current')
hpnicfMirrorGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfMirrorGroupID.setStatus('current')
hpnicfMirrorGroupDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("input", 1), ("output", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfMirrorGroupDirection.setStatus('current')
hpnicfMirrorGroupMirrorIfIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 257))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfMirrorGroupMirrorIfIndexList.setStatus('current')
hpnicfMirrorGroupMonitorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfMirrorGroupMonitorIfIndex.setStatus('current')
hpnicfMirrorGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 5), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfMirrorGroupRowStatus.setStatus('current')
hpnicfFlowtempTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14), )
if mibBuilder.loadTexts: hpnicfFlowtempTable.setStatus('current')
hpnicfFlowtempEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfFlowtempIndex"))
if mibBuilder.loadTexts: hpnicfFlowtempEntry.setStatus('current')
hpnicfFlowtempIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("user-defined", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfFlowtempIndex.setStatus('current')
hpnicfFlowtempIpProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 2), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempIpProtocol.setStatus('current')
hpnicfFlowtempTcpFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 3), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempTcpFlag.setStatus('current')
hpnicfFlowtempSPort = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 4), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempSPort.setStatus('current')
hpnicfFlowtempDPort = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 5), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempDPort.setStatus('current')
hpnicfFlowtempIcmpType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 6), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempIcmpType.setStatus('current')
hpnicfFlowtempIcmpCode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 7), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempIcmpCode.setStatus('current')
hpnicfFlowtempFragment = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 8), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempFragment.setStatus('current')
hpnicfFlowtempDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 9), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempDscp.setStatus('current')
hpnicfFlowtempIpPre = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 10), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempIpPre.setStatus('current')
hpnicfFlowtempTos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 11), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempTos.setStatus('current')
hpnicfFlowtempSIp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 12), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempSIp.setStatus('current')
hpnicfFlowtempSIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 13), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempSIpMask.setStatus('current')
hpnicfFlowtempDIp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 14), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempDIp.setStatus('current')
hpnicfFlowtempDIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 15), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempDIpMask.setStatus('current')
hpnicfFlowtempEthProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 16), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempEthProtocol.setStatus('current')
hpnicfFlowtempSMac = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 17), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempSMac.setStatus('current')
hpnicfFlowtempSMacMask = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 18), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempSMacMask.setStatus('current')
hpnicfFlowtempDMac = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 19), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempDMac.setStatus('current')
hpnicfFlowtempDMacMask = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 20), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempDMacMask.setStatus('current')
hpnicfFlowtempVpn = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 21), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempVpn.setStatus('current')
hpnicfFlowtempRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 22), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempRowStatus.setStatus('current')
hpnicfFlowtempVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 23), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempVlanId.setStatus('current')
hpnicfFlowtempCos = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 24), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempCos.setStatus('current')
hpnicfFlowtempEnableTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15), )
if mibBuilder.loadTexts: hpnicfFlowtempEnableTable.setStatus('current')
hpnicfFlowtempEnableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfFlowtempEnableIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfFlowtempEnableVlanID"))
if mibBuilder.loadTexts: hpnicfFlowtempEnableEntry.setStatus('current')
hpnicfFlowtempEnableIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempEnableIfIndex.setStatus('current')
hpnicfFlowtempEnableVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfFlowtempEnableVlanID.setStatus('current')
hpnicfFlowtempEnableFlowtempIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("user-defined", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfFlowtempEnableFlowtempIndex.setStatus('current')
hpnicfTrafficShapeTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16), )
if mibBuilder.loadTexts: hpnicfTrafficShapeTable.setStatus('current')
hpnicfTrafficShapeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfTrafficShapeIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfTrafficShapeQueueId"))
if mibBuilder.loadTexts: hpnicfTrafficShapeEntry.setStatus('current')
hpnicfTrafficShapeIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfTrafficShapeIfIndex.setStatus('current')
hpnicfTrafficShapeQueueId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfTrafficShapeQueueId.setStatus('current')
hpnicfTrafficShapeMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 3), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfTrafficShapeMaxRate.setStatus('current')
hpnicfTrafficShapeBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 4), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfTrafficShapeBurstSize.setStatus('current')
hpnicfTrafficShapeBufferLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(16, 8000), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfTrafficShapeBufferLimit.setStatus('current')
hpnicfTrafficShapeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfTrafficShapeRowStatus.setStatus('current')
hpnicfPortQueueTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17), )
if mibBuilder.loadTexts: hpnicfPortQueueTable.setStatus('current')
hpnicfPortQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfPortQueueIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfPortQueueQueueID"))
if mibBuilder.loadTexts: hpnicfPortQueueEntry.setStatus('current')
hpnicfPortQueueIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfPortQueueIfIndex.setStatus('current')
hpnicfPortQueueQueueID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfPortQueueQueueID.setStatus('current')
hpnicfPortQueueWrrPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("sp", 1), ("wrr-high-priority", 2), ("wrr-low-priority", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortQueueWrrPriority.setStatus('current')
hpnicfPortQueueWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 255), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortQueueWeight.setStatus('current')
hpnicfDropModeTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18), )
if mibBuilder.loadTexts: hpnicfDropModeTable.setStatus('current')
hpnicfDropModeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfDropModeIfIndex"))
if mibBuilder.loadTexts: hpnicfDropModeEntry.setStatus('current')
hpnicfDropModeIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDropModeIfIndex.setStatus('current')
hpnicfDropModeMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("random-detect", 1), ("tail-drop", 2))).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDropModeMode.setStatus('current')
hpnicfDropModeWredIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDropModeWredIndex.setStatus('current')
hpnicfWredTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19), )
if mibBuilder.loadTexts: hpnicfWredTable.setStatus('current')
hpnicfWredEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfWredIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfWredQueueId"))
if mibBuilder.loadTexts: hpnicfWredEntry.setStatus('current')
hpnicfWredIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfWredIndex.setStatus('current')
hpnicfWredQueueId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfWredQueueId.setStatus('current')
hpnicfWredGreenMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredGreenMinThreshold.setStatus('current')
hpnicfWredGreenMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredGreenMaxThreshold.setStatus('current')
hpnicfWredGreenMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredGreenMaxProb.setStatus('current')
hpnicfWredYellowMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredYellowMinThreshold.setStatus('current')
hpnicfWredYellowMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredYellowMaxThreshold.setStatus('current')
hpnicfWredYellowMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredYellowMaxProb.setStatus('current')
hpnicfWredRedMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredRedMinThreshold.setStatus('current')
hpnicfWredRedMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredRedMaxThreshold.setStatus('current')
hpnicfWredRedMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredRedMaxProb.setStatus('current')
hpnicfWredExponent = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(9)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfWredExponent.setStatus('current')
hpnicfCosToLocalPrecedenceMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20), )
if mibBuilder.loadTexts: hpnicfCosToLocalPrecedenceMapTable.setStatus('current')
hpnicfCosToLocalPrecedenceMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfCosToLocalPrecedenceMapCosIndex"))
if mibBuilder.loadTexts: hpnicfCosToLocalPrecedenceMapEntry.setStatus('current')
hpnicfCosToLocalPrecedenceMapCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfCosToLocalPrecedenceMapCosIndex.setStatus('current')
hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue.setStatus('current')
hpnicfCosToDropPrecedenceMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21), )
if mibBuilder.loadTexts: hpnicfCosToDropPrecedenceMapTable.setStatus('current')
hpnicfCosToDropPrecedenceMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfCosToDropPrecedenceMapCosIndex"))
if mibBuilder.loadTexts: hpnicfCosToDropPrecedenceMapEntry.setStatus('current')
hpnicfCosToDropPrecedenceMapCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfCosToDropPrecedenceMapCosIndex.setStatus('current')
hpnicfCosToDropPrecedenceMapDropPrecedenceValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfCosToDropPrecedenceMapDropPrecedenceValue.setStatus('current')
hpnicfDscpMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22), )
if mibBuilder.loadTexts: hpnicfDscpMapTable.setStatus('current')
hpnicfDscpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfDscpMapConformLevel"), (0, "HPN-ICF-LswQos-MIB", "hpnicfDscpMapDscpIndex"))
if mibBuilder.loadTexts: hpnicfDscpMapEntry.setStatus('current')
hpnicfDscpMapConformLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDscpMapConformLevel.setStatus('current')
hpnicfDscpMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDscpMapDscpIndex.setStatus('current')
hpnicfDscpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpMapDscpValue.setStatus('current')
hpnicfDscpMapExpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpMapExpValue.setStatus('current')
hpnicfDscpMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpMapCosValue.setStatus('current')
hpnicfDscpMapLocalPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpMapLocalPrecedence.setStatus('current')
hpnicfDscpMapDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpMapDropPrecedence.setStatus('current')
hpnicfExpMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23), )
if mibBuilder.loadTexts: hpnicfExpMapTable.setStatus('current')
hpnicfExpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfExpMapConformLevel"), (0, "HPN-ICF-LswQos-MIB", "hpnicfExpMapExpIndex"))
if mibBuilder.loadTexts: hpnicfExpMapEntry.setStatus('current')
hpnicfExpMapConformLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfExpMapConformLevel.setStatus('current')
hpnicfExpMapExpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfExpMapExpIndex.setStatus('current')
hpnicfExpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfExpMapDscpValue.setStatus('current')
hpnicfExpMapExpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfExpMapExpValue.setStatus('current')
hpnicfExpMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfExpMapCosValue.setStatus('current')
hpnicfExpMapLocalPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfExpMapLocalPrecedence.setStatus('current')
hpnicfExpMapDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfExpMapDropPrecedence.setStatus('current')
hpnicfLocalPrecedenceMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24), )
if mibBuilder.loadTexts: hpnicfLocalPrecedenceMapTable.setStatus('current')
hpnicfLocalPrecedenceMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfLocalPrecedenceMapConformLevel"), (0, "HPN-ICF-LswQos-MIB", "hpnicfLocalPrecedenceMapLocalPrecedenceIndex"))
if mibBuilder.loadTexts: hpnicfLocalPrecedenceMapEntry.setStatus('current')
hpnicfLocalPrecedenceMapConformLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfLocalPrecedenceMapConformLevel.setStatus('current')
hpnicfLocalPrecedenceMapLocalPrecedenceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfLocalPrecedenceMapLocalPrecedenceIndex.setStatus('current')
hpnicfLocalPrecedenceMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfLocalPrecedenceMapCosValue.setStatus('current')
hpnicfPortWredTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25), )
if mibBuilder.loadTexts: hpnicfPortWredTable.setStatus('current')
hpnicfPortWredEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfPortWredIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfPortWredQueueID"))
if mibBuilder.loadTexts: hpnicfPortWredEntry.setStatus('current')
hpnicfPortWredIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfPortWredIfIndex.setStatus('current')
hpnicfPortWredQueueID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfPortWredQueueID.setStatus('current')
hpnicfPortWredQueueStartLength = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2047))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortWredQueueStartLength.setStatus('current')
hpnicfPortWredQueueProbability = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortWredQueueProbability.setStatus('current')
hpnicfMirroringGroupTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26), )
if mibBuilder.loadTexts: hpnicfMirroringGroupTable.setStatus('current')
hpnicfMirroringGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"))
if mibBuilder.loadTexts: hpnicfMirroringGroupEntry.setStatus('current')
hpnicfMirroringGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20)))
if mibBuilder.loadTexts: hpnicfMirroringGroupID.setStatus('current')
hpnicfMirroringGroupType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("local", 1), ("remote-source", 2), ("remote-destination", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupType.setStatus('current')
hpnicfMirroringGroupStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfMirroringGroupStatus.setStatus('current')
hpnicfMirroringGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupRowStatus.setStatus('current')
hpnicfMirroringGroupMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27), )
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorTable.setStatus('current')
hpnicfMirroringGroupMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"))
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorEntry.setStatus('current')
hpnicfMirroringGroupMirrorInboundIfIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 1), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorInboundIfIndexList.setStatus('current')
hpnicfMirroringGroupMirrorOutboundIfIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 2), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorOutboundIfIndexList.setStatus('current')
hpnicfMirroringGroupMirrorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorRowStatus.setStatus('current')
hpnicfMirroringGroupMirrorInTypeList = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 4), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorInTypeList.setStatus('current')
hpnicfMirroringGroupMirrorOutTypeList = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 5), OctetString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorOutTypeList.setStatus('current')
hpnicfMirroringGroupMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28), )
if mibBuilder.loadTexts: hpnicfMirroringGroupMonitorTable.setStatus('current')
hpnicfMirroringGroupMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"))
if mibBuilder.loadTexts: hpnicfMirroringGroupMonitorEntry.setStatus('current')
hpnicfMirroringGroupMonitorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMonitorIfIndex.setStatus('current')
hpnicfMirroringGroupMonitorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMonitorRowStatus.setStatus('current')
hpnicfMirroringGroupMonitorType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1, 3), HpnicfMirrorOrMonitorType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMonitorType.setStatus('current')
hpnicfMirroringGroupReflectorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29), )
if mibBuilder.loadTexts: hpnicfMirroringGroupReflectorTable.setStatus('current')
hpnicfMirroringGroupReflectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"))
if mibBuilder.loadTexts: hpnicfMirroringGroupReflectorEntry.setStatus('current')
hpnicfMirroringGroupReflectorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupReflectorIfIndex.setStatus('current')
hpnicfMirroringGroupReflectorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupReflectorRowStatus.setStatus('current')
hpnicfMirroringGroupRprobeVlanTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30), )
if mibBuilder.loadTexts: hpnicfMirroringGroupRprobeVlanTable.setStatus('current')
hpnicfMirroringGroupRprobeVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"))
if mibBuilder.loadTexts: hpnicfMirroringGroupRprobeVlanEntry.setStatus('current')
hpnicfMirroringGroupRprobeVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupRprobeVlanID.setStatus('current')
hpnicfMirroringGroupRprobeVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupRprobeVlanRowStatus.setStatus('current')
hpnicfMirroringGroupMirrorMacTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31), )
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorMacTable.setStatus('current')
hpnicfMirroringGroupMirrorMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupMirrorMacSeq"))
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorMacEntry.setStatus('current')
hpnicfMirroringGroupMirrorMacSeq = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 1), Integer32())
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorMacSeq.setStatus('current')
hpnicfMirroringGroupMirrorMac = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 2), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorMac.setStatus('current')
hpnicfMirrorMacVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirrorMacVlanID.setStatus('current')
hpnicfMirroringGroupMirroMacStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirroMacStatus.setStatus('current')
hpnicfMirroringGroupMirrorVlanTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32), )
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorVlanTable.setStatus('current')
hpnicfMirroringGroupMirrorVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfMirroringGroupMirrorVlanSeq"))
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorVlanEntry.setStatus('current')
hpnicfMirroringGroupMirrorVlanSeq = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 1), Integer32())
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorVlanSeq.setStatus('current')
hpnicfMirroringGroupMirrorVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorVlanID.setStatus('current')
hpnicfMirroringGroupMirrorVlanDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inbound", 1), ("outbound", 2), ("both", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirrorVlanDirection.setStatus('current')
hpnicfMirroringGroupMirroVlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfMirroringGroupMirroVlanStatus.setStatus('current')
hpnicfPortTrustTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33), )
if mibBuilder.loadTexts: hpnicfPortTrustTable.setStatus('current')
hpnicfPortTrustEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfPortTrustIfIndex"))
if mibBuilder.loadTexts: hpnicfPortTrustEntry.setStatus('current')
hpnicfPortTrustIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 1), Integer32())
if mibBuilder.loadTexts: hpnicfPortTrustIfIndex.setStatus('current')
hpnicfPortTrustTrustType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("port", 1), ("cos", 2), ("dscp", 3))).clone('port')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortTrustTrustType.setStatus('current')
hpnicfPortTrustOvercastType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOvercast", 1), ("overcastDSCP", 2), ("overcastCOS", 3))).clone('noOvercast')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortTrustOvercastType.setStatus('current')
hpnicfPortTrustReset = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfPortTrustReset.setStatus('current')
hpnicfRemarkVlanIDTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34), )
if mibBuilder.loadTexts: hpnicfRemarkVlanIDTable.setStatus('current')
hpnicfRemarkVlanIDEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfRemarkVlanIDAclIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRemarkVlanIDIfIndex"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRemarkVlanIDVlanID"), (0, "HPN-ICF-LswQos-MIB", "hpnicfRemarkVlanIDDirection"))
if mibBuilder.loadTexts: hpnicfRemarkVlanIDEntry.setStatus('current')
hpnicfRemarkVlanIDAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999)))
if mibBuilder.loadTexts: hpnicfRemarkVlanIDAclIndex.setStatus('current')
hpnicfRemarkVlanIDIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 2), Integer32())
if mibBuilder.loadTexts: hpnicfRemarkVlanIDIfIndex.setStatus('current')
hpnicfRemarkVlanIDVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094)))
if mibBuilder.loadTexts: hpnicfRemarkVlanIDVlanID.setStatus('current')
hpnicfRemarkVlanIDDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2))))
if mibBuilder.loadTexts: hpnicfRemarkVlanIDDirection.setStatus('current')
hpnicfRemarkVlanIDUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDUserAclNum.setStatus('current')
hpnicfRemarkVlanIDUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDUserAclRule.setStatus('current')
hpnicfRemarkVlanIDIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDIpAclNum.setStatus('current')
hpnicfRemarkVlanIDIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDIpAclRule.setStatus('current')
hpnicfRemarkVlanIDLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDLinkAclNum.setStatus('current')
hpnicfRemarkVlanIDLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDLinkAclRule.setStatus('current')
hpnicfRemarkVlanIDRemarkVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDRemarkVlanID.setStatus('current')
hpnicfRemarkVlanIDPacketType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("all", 1), ("tagged", 2), ("untagged", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDPacketType.setStatus('current')
hpnicfRemarkVlanIDRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 13), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfRemarkVlanIDRowStatus.setStatus('current')
hpnicfCosToDscpMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35), )
if mibBuilder.loadTexts: hpnicfCosToDscpMapTable.setStatus('current')
hpnicfCosToDscpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfCosToDscpMapCosIndex"))
if mibBuilder.loadTexts: hpnicfCosToDscpMapEntry.setStatus('current')
hpnicfCosToDscpMapCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)))
if mibBuilder.loadTexts: hpnicfCosToDscpMapCosIndex.setStatus('current')
hpnicfCosToDscpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfCosToDscpMapDscpValue.setStatus('current')
hpnicfCosToDscpMapReSet = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfCosToDscpMapReSet.setStatus('current')
hpnicfDscpToLocalPreMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36), )
if mibBuilder.loadTexts: hpnicfDscpToLocalPreMapTable.setStatus('current')
hpnicfDscpToLocalPreMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfDscpToLocalPreMapDscpIndex"))
if mibBuilder.loadTexts: hpnicfDscpToLocalPreMapEntry.setStatus('current')
hpnicfDscpToLocalPreMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63)))
if mibBuilder.loadTexts: hpnicfDscpToLocalPreMapDscpIndex.setStatus('current')
hpnicfDscpToLocalPreMapLocalPreVal = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToLocalPreMapLocalPreVal.setStatus('current')
hpnicfDscpToLocalPreMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToLocalPreMapReset.setStatus('current')
hpnicfDscpToDropPreMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37), )
if mibBuilder.loadTexts: hpnicfDscpToDropPreMapTable.setStatus('current')
hpnicfDscpToDropPreMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfDscpToDropPreMapDscpIndex"))
if mibBuilder.loadTexts: hpnicfDscpToDropPreMapEntry.setStatus('current')
hpnicfDscpToDropPreMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63)))
if mibBuilder.loadTexts: hpnicfDscpToDropPreMapDscpIndex.setStatus('current')
hpnicfDscpToDropPreMapDropPreVal = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToDropPreMapDropPreVal.setStatus('current')
hpnicfDscpToDropPreMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToDropPreMapReset.setStatus('current')
hpnicfDscpToCosMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38), )
if mibBuilder.loadTexts: hpnicfDscpToCosMapTable.setStatus('current')
hpnicfDscpToCosMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfDscpToCosMapDscpIndex"))
if mibBuilder.loadTexts: hpnicfDscpToCosMapEntry.setStatus('current')
hpnicfDscpToCosMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63)))
if mibBuilder.loadTexts: hpnicfDscpToCosMapDscpIndex.setStatus('current')
hpnicfDscpToCosMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToCosMapCosValue.setStatus('current')
hpnicfDscpToCosMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToCosMapReset.setStatus('current')
hpnicfDscpToDscpMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39), )
if mibBuilder.loadTexts: hpnicfDscpToDscpMapTable.setStatus('current')
hpnicfDscpToDscpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1), ).setIndexNames((0, "HPN-ICF-LswQos-MIB", "hpnicfDscpToDscpMapDscpIndex"))
if mibBuilder.loadTexts: hpnicfDscpToDscpMapEntry.setStatus('current')
hpnicfDscpToDscpMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63)))
if mibBuilder.loadTexts: hpnicfDscpToDscpMapDscpIndex.setStatus('current')
hpnicfDscpToDscpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToDscpMapDscpValue.setStatus('current')
hpnicfDscpToDscpMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpnicfDscpToDscpMapReset.setStatus('current')
mibBuilder.exportSymbols("HPN-ICF-LswQos-MIB", hpnicfFlowtempEnableFlowtempIndex=hpnicfFlowtempEnableFlowtempIndex, hpnicfRedProbability=hpnicfRedProbability, hpnicfRedirectToNextHop3=hpnicfRedirectToNextHop3, hpnicfMirroringGroupMirrorRowStatus=hpnicfMirroringGroupMirrorRowStatus, hpnicfRedirectAclIndex=hpnicfRedirectAclIndex, hpnicfFlowtempTcpFlag=hpnicfFlowtempTcpFlag, hpnicfPriorityPolicedServiceType=hpnicfPriorityPolicedServiceType, hpnicfRateLimitAclIndex=hpnicfRateLimitAclIndex, hpnicfPortTrustEntry=hpnicfPortTrustEntry, hpnicfPortTrustOvercastType=hpnicfPortTrustOvercastType, hpnicfPortTrustTable=hpnicfPortTrustTable, hpnicfPortQueueIfIndex=hpnicfPortQueueIfIndex, hpnicfWredGreenMinThreshold=hpnicfWredGreenMinThreshold, hpnicfDscpMapDscpIndex=hpnicfDscpMapDscpIndex, hpnicfMirroringGroupReflectorEntry=hpnicfMirroringGroupReflectorEntry, hpnicfWredRedMaxThreshold=hpnicfWredRedMaxThreshold, hpnicfMirrorUserAclRule=hpnicfMirrorUserAclRule, hpnicfMirrorVlanID=hpnicfMirrorVlanID, hpnicfLineRateRowStatus=hpnicfLineRateRowStatus, hpnicfRateLimitUserAclNum=hpnicfRateLimitUserAclNum, hpnicfMirrorIfIndex=hpnicfMirrorIfIndex, hpnicfCosToDscpMapTable=hpnicfCosToDscpMapTable, hpnicfFlowtempSIpMask=hpnicfFlowtempSIpMask, hpnicfQueueWeight3=hpnicfQueueWeight3, hpnicfDscpMapDscpValue=hpnicfDscpMapDscpValue, hpnicfTrafficShapeTable=hpnicfTrafficShapeTable, hpnicfDscpToDropPreMapReset=hpnicfDscpToDropPreMapReset, hpnicfStatisticIfIndex=hpnicfStatisticIfIndex, hpnicfDscpMapCosValue=hpnicfDscpMapCosValue, hpnicfPortQueueWrrPriority=hpnicfPortQueueWrrPriority, hpnicfRateLimitCIR=hpnicfRateLimitCIR, hpnicfStatisticByteXCount=hpnicfStatisticByteXCount, hpnicfMirrorEntry=hpnicfMirrorEntry, hpnicfRedirectLinkAclRule=hpnicfRedirectLinkAclRule, hpnicfStatisticAclIndex=hpnicfStatisticAclIndex, hpnicfFlowtempSPort=hpnicfFlowtempSPort, HpnicfMirrorOrMonitorType=HpnicfMirrorOrMonitorType, hpnicfRedVlanID=hpnicfRedVlanID, hpnicfBandwidthIfIndex=hpnicfBandwidthIfIndex, hpnicfMirroringGroupMirrorVlanSeq=hpnicfMirroringGroupMirrorVlanSeq, hpnicfRateLimitVlanID=hpnicfRateLimitVlanID, hpnicfFlowtempEthProtocol=hpnicfFlowtempEthProtocol, hpnicfMirroringGroupMirrorInTypeList=hpnicfMirroringGroupMirrorInTypeList, hpnicfRateLimitConformCos=hpnicfRateLimitConformCos, hpnicfFlowtempDIpMask=hpnicfFlowtempDIpMask, hpnicfRateLimitPIR=hpnicfRateLimitPIR, hpnicfStatisticEntry=hpnicfStatisticEntry, hpnicfDscpToLocalPreMapReset=hpnicfDscpToLocalPreMapReset, hpnicfMirroringGroupType=hpnicfMirroringGroupType, hpnicfLocalPrecedenceMapEntry=hpnicfLocalPrecedenceMapEntry, hpnicfFlowtempIndex=hpnicfFlowtempIndex, hpnicfRedirectEntry=hpnicfRedirectEntry, hpnicfCosToDropPrecedenceMapEntry=hpnicfCosToDropPrecedenceMapEntry, hpnicfExpMapDscpValue=hpnicfExpMapDscpValue, hpnicfTrafficShapeBurstSize=hpnicfTrafficShapeBurstSize, hpnicfExpMapExpValue=hpnicfExpMapExpValue, hpnicfRateLimitTable=hpnicfRateLimitTable, hpnicfCosToLocalPrecedenceMapCosIndex=hpnicfCosToLocalPrecedenceMapCosIndex, hpnicfRedirectVlanID=hpnicfRedirectVlanID, hpnicfMirroringGroupMirrorOutboundIfIndexList=hpnicfMirroringGroupMirrorOutboundIfIndexList, hpnicfMirroringGroupRprobeVlanID=hpnicfMirroringGroupRprobeVlanID, hpnicfLocalPrecedenceMapTable=hpnicfLocalPrecedenceMapTable, hpnicfStatisticTable=hpnicfStatisticTable, hpnicfMirroringGroupMirrorVlanEntry=hpnicfMirroringGroupMirrorVlanEntry, hpnicfStatisticUserAclNum=hpnicfStatisticUserAclNum, hpnicfRateLimitMeterStatByteCount=hpnicfRateLimitMeterStatByteCount, hpnicfRedirectRemarkedTos=hpnicfRedirectRemarkedTos, hpnicfPortMirrorIfIndex=hpnicfPortMirrorIfIndex, hpnicfPriorityRuntime=hpnicfPriorityRuntime, hpnicfDropModeMode=hpnicfDropModeMode, hpnicfPortQueueWeight=hpnicfPortQueueWeight, hpnicfMirrorGroupRowStatus=hpnicfMirrorGroupRowStatus, hpnicfMirroringGroupMonitorTable=hpnicfMirroringGroupMonitorTable, hpnicfMirroringGroupRprobeVlanTable=hpnicfMirroringGroupRprobeVlanTable, hpnicfQueueWeight2=hpnicfQueueWeight2, hpnicfRedStartQueueLen=hpnicfRedStartQueueLen, hpnicfRemarkVlanIDIpAclNum=hpnicfRemarkVlanIDIpAclNum, hpnicfPortTrustIfIndex=hpnicfPortTrustIfIndex, hpnicfQueueMaxDelay=hpnicfQueueMaxDelay, hpnicfRemarkVlanIDLinkAclRule=hpnicfRemarkVlanIDLinkAclRule, hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue=hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue, hpnicfPriorityCos=hpnicfPriorityCos, hpnicfBandwidthTable=hpnicfBandwidthTable, hpnicfQueueWeight4=hpnicfQueueWeight4, hpnicfPriorityPolicedServiceDscp=hpnicfPriorityPolicedServiceDscp, hpnicfFlowtempDMac=hpnicfFlowtempDMac, hpnicfRateLimitLinkAclRule=hpnicfRateLimitLinkAclRule, hpnicfWredRedMinThreshold=hpnicfWredRedMinThreshold, hpnicfMirroringGroupMirrorOutTypeList=hpnicfMirroringGroupMirrorOutTypeList, hpnicfStatisticByteCount=hpnicfStatisticByteCount, hpnicfMirrorRowStatus=hpnicfMirrorRowStatus, hpnicfBandwidthWeight=hpnicfBandwidthWeight, hpnicfPriorityEntry=hpnicfPriorityEntry, hpnicfDscpToDscpMapReset=hpnicfDscpToDscpMapReset, hpnicfWredYellowMinThreshold=hpnicfWredYellowMinThreshold, hpnicfDscpToLocalPreMapTable=hpnicfDscpToLocalPreMapTable, hpnicfMirrorToIfIndex=hpnicfMirrorToIfIndex, hpnicfRedIpAclNum=hpnicfRedIpAclNum, hpnicfStatisticUserAclRule=hpnicfStatisticUserAclRule, hpnicfRemarkVlanIDUserAclNum=hpnicfRemarkVlanIDUserAclNum, hpnicfMirrorUserAclNum=hpnicfMirrorUserAclNum, hpnicfFlowtempIcmpType=hpnicfFlowtempIcmpType, hpnicfWredEntry=hpnicfWredEntry, hpnicfMirroringGroupID=hpnicfMirroringGroupID, hpnicfDropModeEntry=hpnicfDropModeEntry, hpnicfPortQueueTable=hpnicfPortQueueTable, hpnicfWredYellowMaxProb=hpnicfWredYellowMaxProb, hpnicfPriorityRowStatus=hpnicfPriorityRowStatus, hpnicfFlowtempEntry=hpnicfFlowtempEntry, hpnicfMirroringGroupMonitorType=hpnicfMirroringGroupMonitorType, hpnicfExpMapDropPrecedence=hpnicfExpMapDropPrecedence, hpnicfExpMapConformLevel=hpnicfExpMapConformLevel, hpnicfRedirectRemarkedPri=hpnicfRedirectRemarkedPri, hpnicfRedirectToNextHop1=hpnicfRedirectToNextHop1, hpnicfRateLimitPeakRate=hpnicfRateLimitPeakRate, hpnicfPriorityAclIndex=hpnicfPriorityAclIndex, hpnicfRedirectRowStatus=hpnicfRedirectRowStatus, hpnicfRateLimitIpAclNum=hpnicfRateLimitIpAclNum, hpnicfStatisticPacketCount=hpnicfStatisticPacketCount, hpnicfDscpToDropPreMapTable=hpnicfDscpToDropPreMapTable, hpnicfPortWredTable=hpnicfPortWredTable, hpnicfMirroringGroupMirrorVlanID=hpnicfMirroringGroupMirrorVlanID, hpnicfMirrorAclIndex=hpnicfMirrorAclIndex, hpnicfQueueWeight1=hpnicfQueueWeight1, hpnicfRateLimitTargetRateKbps=hpnicfRateLimitTargetRateKbps, hpnicfTrafficShapeIfIndex=hpnicfTrafficShapeIfIndex, hpnicfDscpToLocalPreMapLocalPreVal=hpnicfDscpToLocalPreMapLocalPreVal, hpnicfQueueScheduleMode=hpnicfQueueScheduleMode, hpnicfBandwidthIpAclRule=hpnicfBandwidthIpAclRule, hpnicfRedirectUserAclNum=hpnicfRedirectUserAclNum, hpnicfBandwidthDirection=hpnicfBandwidthDirection, hpnicfTrafficShapeBufferLimit=hpnicfTrafficShapeBufferLimit, hpnicfBandwidthRowStatus=hpnicfBandwidthRowStatus, hpnicfFlowtempIcmpCode=hpnicfFlowtempIcmpCode, hpnicfCosToDscpMapDscpValue=hpnicfCosToDscpMapDscpValue, hpnicfRemarkVlanIDRowStatus=hpnicfRemarkVlanIDRowStatus, hpnicfFlowtempSMac=hpnicfFlowtempSMac, hpnicfRedStopQueueLen=hpnicfRedStopQueueLen, hpnicfMirroringGroupReflectorRowStatus=hpnicfMirroringGroupReflectorRowStatus, hpnicfFlowtempDscp=hpnicfFlowtempDscp, hpnicfLineRateDirection=hpnicfLineRateDirection, hpnicfMirroringGroupEntry=hpnicfMirroringGroupEntry, hpnicfRedirectUserAclRule=hpnicfRedirectUserAclRule, hpnicfMirrorGroupMirrorIfIndexList=hpnicfMirrorGroupMirrorIfIndexList, hpnicfPriorityCosFromIpPre=hpnicfPriorityCosFromIpPre, hpnicfFlowtempEnableEntry=hpnicfFlowtempEnableEntry, hpnicfCosToLocalPrecedenceMapTable=hpnicfCosToLocalPrecedenceMapTable, hpnicfRedirectTable=hpnicfRedirectTable, hpnicfCosToDropPrecedenceMapDropPrecedenceValue=hpnicfCosToDropPrecedenceMapDropPrecedenceValue, hpnicfLswQosAclMib=hpnicfLswQosAclMib, hpnicfRedirectRemarkedDSCP=hpnicfRedirectRemarkedDSCP, hpnicfDscpMapEntry=hpnicfDscpMapEntry, hpnicfExpMapEntry=hpnicfExpMapEntry, hpnicfDscpToDropPreMapEntry=hpnicfDscpToDropPreMapEntry, hpnicfRateLimitConformDscp=hpnicfRateLimitConformDscp, hpnicfRedIfIndex=hpnicfRedIfIndex, hpnicfMirrorDirection=hpnicfMirrorDirection, hpnicfDscpToDscpMapTable=hpnicfDscpToDscpMapTable, hpnicfBandwidthLinkAclRule=hpnicfBandwidthLinkAclRule, hpnicfDscpToCosMapCosValue=hpnicfDscpToCosMapCosValue, hpnicfLineRateTable=hpnicfLineRateTable, hpnicfPortWredQueueStartLength=hpnicfPortWredQueueStartLength, hpnicfPortMirrorTable=hpnicfPortMirrorTable, hpnicfRemarkVlanIDEntry=hpnicfRemarkVlanIDEntry, hpnicfTrafficShapeQueueId=hpnicfTrafficShapeQueueId, hpnicfCosToDscpMapReSet=hpnicfCosToDscpMapReSet, hpnicfRemarkVlanIDAclIndex=hpnicfRemarkVlanIDAclIndex, hpnicfRedirectDirection=hpnicfRedirectDirection, hpnicfWredExponent=hpnicfWredExponent, hpnicfFlowtempVlanId=hpnicfFlowtempVlanId, hpnicfDscpToLocalPreMapEntry=hpnicfDscpToLocalPreMapEntry, hpnicfDscpMapConformLevel=hpnicfDscpMapConformLevel, hpnicfBandwidthAclIndex=hpnicfBandwidthAclIndex, hpnicfPriorityLinkAclRule=hpnicfPriorityLinkAclRule, hpnicfLocalPrecedenceMapCosValue=hpnicfLocalPrecedenceMapCosValue, hpnicfExpMapTable=hpnicfExpMapTable, hpnicfBandwidthLinkAclNum=hpnicfBandwidthLinkAclNum, hpnicfMirrorMacVlanID=hpnicfMirrorMacVlanID, hpnicfRemarkVlanIDLinkAclNum=hpnicfRemarkVlanIDLinkAclNum, hpnicfRateLimitEntry=hpnicfRateLimitEntry, hpnicfFlowtempEnableVlanID=hpnicfFlowtempEnableVlanID, hpnicfRedirectToCpu=hpnicfRedirectToCpu, hpnicfBandwidthMinGuaranteedWidth=hpnicfBandwidthMinGuaranteedWidth, hpnicfMirroringGroupReflectorTable=hpnicfMirroringGroupReflectorTable, hpnicfPriorityPolicedServiceExp=hpnicfPriorityPolicedServiceExp, hpnicfStatisticRowStatus=hpnicfStatisticRowStatus, hpnicfMirroringGroupMirrorVlanTable=hpnicfMirroringGroupMirrorVlanTable, hpnicfPriorityIpAclRule=hpnicfPriorityIpAclRule, hpnicfMirrorIpAclRule=hpnicfMirrorIpAclRule, hpnicfMirroringGroupMirrorMac=hpnicfMirroringGroupMirrorMac, hpnicfRemarkVlanIDRemarkVlanID=hpnicfRemarkVlanIDRemarkVlanID, hpnicfPriorityDirection=hpnicfPriorityDirection, hpnicfPortMirrorRowStatus=hpnicfPortMirrorRowStatus, hpnicfDscpToDscpMapDscpValue=hpnicfDscpToDscpMapDscpValue, hpnicfRateLimitConformActionType=hpnicfRateLimitConformActionType, hpnicfMirroringGroupMirrorMacTable=hpnicfMirroringGroupMirrorMacTable, hpnicfRedirectRuntime=hpnicfRedirectRuntime, hpnicfRateLimitExceedActionType=hpnicfRateLimitExceedActionType, hpnicfMirrorGroupMonitorIfIndex=hpnicfMirrorGroupMonitorIfIndex, hpnicfPriorityIpPre=hpnicfPriorityIpPre, hpnicfRateLimitMeterStatState=hpnicfRateLimitMeterStatState, hpnicfMirroringGroupStatus=hpnicfMirroringGroupStatus, hpnicfQueueEntry=hpnicfQueueEntry, hpnicfPortMonitorBothIfIndex=hpnicfPortMonitorBothIfIndex, hpnicfRateLimitTargetRateMbps=hpnicfRateLimitTargetRateMbps, hpnicfStatisticDirection=hpnicfStatisticDirection, hpnicfMirroringGroupMirroVlanStatus=hpnicfMirroringGroupMirroVlanStatus, hpnicfPriorityPolicedServiceLoaclPre=hpnicfPriorityPolicedServiceLoaclPre, hpnicfRedLinkAclNum=hpnicfRedLinkAclNum, hpnicfExpMapLocalPrecedence=hpnicfExpMapLocalPrecedence, hpnicfFlowtempCos=hpnicfFlowtempCos, hpnicfRedirectIpAclRule=hpnicfRedirectIpAclRule, hpnicfRateLimitRuntime=hpnicfRateLimitRuntime, hpnicfMirrorGroupID=hpnicfMirrorGroupID, hpnicfMirroringGroupRowStatus=hpnicfMirroringGroupRowStatus, hpnicfMirroringGroupMirrorMacEntry=hpnicfMirroringGroupMirrorMacEntry, hpnicfMirroringGroupMirrorMacSeq=hpnicfMirroringGroupMirrorMacSeq, hpnicfMirroringGroupMonitorRowStatus=hpnicfMirroringGroupMonitorRowStatus, hpnicfWredGreenMaxProb=hpnicfWredGreenMaxProb, hpnicfStatisticCountClear=hpnicfStatisticCountClear, hpnicfMirrorToGroup=hpnicfMirrorToGroup, hpnicfBandwidthMaxGuaranteedWidth=hpnicfBandwidthMaxGuaranteedWidth, hpnicfDscpMapDropPrecedence=hpnicfDscpMapDropPrecedence, hpnicfMirrorIpAclNum=hpnicfMirrorIpAclNum, hpnicfStatisticIpAclRule=hpnicfStatisticIpAclRule, hpnicfBandwidthIpAclNum=hpnicfBandwidthIpAclNum, hpnicfRedRuntime=hpnicfRedRuntime, hpnicfMirrorTable=hpnicfMirrorTable, hpnicfFlowtempDPort=hpnicfFlowtempDPort, hpnicfPriorityVlanID=hpnicfPriorityVlanID, hpnicfDropModeIfIndex=hpnicfDropModeIfIndex, hpnicfMirrorLinkAclRule=hpnicfMirrorLinkAclRule, hpnicfPriorityTrustMode=hpnicfPriorityTrustMode, hpnicfRemarkVlanIDVlanID=hpnicfRemarkVlanIDVlanID, hpnicfRedirectToNestedVlanID=hpnicfRedirectToNestedVlanID, hpnicfRedirectMode=hpnicfRedirectMode, PYSNMP_MODULE_ID=hpnicfLswQosAclMib, hpnicfStatisticLinkAclRule=hpnicfStatisticLinkAclRule, hpnicfLocalPrecedenceMapLocalPrecedenceIndex=hpnicfLocalPrecedenceMapLocalPrecedenceIndex, hpnicfCosToLocalPrecedenceMapEntry=hpnicfCosToLocalPrecedenceMapEntry, hpnicfLineRateEntry=hpnicfLineRateEntry, hpnicfPriorityLocalPre=hpnicfPriorityLocalPre, hpnicfPortMirrorDirection=hpnicfPortMirrorDirection, hpnicfRemarkVlanIDUserAclRule=hpnicfRemarkVlanIDUserAclRule, hpnicfDscpToDropPreMapDscpIndex=hpnicfDscpToDropPreMapDscpIndex, hpnicfPriorityUserAclRule=hpnicfPriorityUserAclRule, hpnicfExpMapExpIndex=hpnicfExpMapExpIndex, hpnicfBandwidthVlanID=hpnicfBandwidthVlanID, hpnicfCosToDscpMapEntry=hpnicfCosToDscpMapEntry, hpnicfRedirectToSlotNo=hpnicfRedirectToSlotNo, hpnicfRateLimitIpAclRule=hpnicfRateLimitIpAclRule, hpnicfMirrorToCpu=hpnicfMirrorToCpu, hpnicfRedEntry=hpnicfRedEntry, hpnicfRemarkVlanIDPacketType=hpnicfRemarkVlanIDPacketType)
mibBuilder.exportSymbols("HPN-ICF-LswQos-MIB", hpnicfRedDirection=hpnicfRedDirection, hpnicfFlowtempDIp=hpnicfFlowtempDIp, hpnicfRedirectTargetVlanID=hpnicfRedirectTargetVlanID, hpnicfMirroringGroupTable=hpnicfMirroringGroupTable, hpnicfRateLimitConformLocalPre=hpnicfRateLimitConformLocalPre, hpnicfMirroringGroupMonitorEntry=hpnicfMirroringGroupMonitorEntry, hpnicfRateLimitLinkAclNum=hpnicfRateLimitLinkAclNum, hpnicfQueueWeight8=hpnicfQueueWeight8, hpnicfFlowtempSIp=hpnicfFlowtempSIp, hpnicfWredGreenMaxThreshold=hpnicfWredGreenMaxThreshold, hpnicfDscpToCosMapEntry=hpnicfDscpToCosMapEntry, hpnicfPriorityIpAclNum=hpnicfPriorityIpAclNum, hpnicfQueueWeight6=hpnicfQueueWeight6, hpnicfDscpToDscpMapDscpIndex=hpnicfDscpToDscpMapDscpIndex, hpnicfPriorityTable=hpnicfPriorityTable, hpnicfMirroringGroupMirrorInboundIfIndexList=hpnicfMirroringGroupMirrorInboundIfIndexList, hpnicfPriorityDscp=hpnicfPriorityDscp, hpnicfRateLimitMeterStatByteXCount=hpnicfRateLimitMeterStatByteXCount, hpnicfDscpToDropPreMapDropPreVal=hpnicfDscpToDropPreMapDropPreVal, hpnicfRedirectIfIndex=hpnicfRedirectIfIndex, hpnicfMirrorLinkAclNum=hpnicfMirrorLinkAclNum, hpnicfPortQueueQueueID=hpnicfPortQueueQueueID, hpnicfMirrorGroupDirection=hpnicfMirrorGroupDirection, hpnicfFlowtempVpn=hpnicfFlowtempVpn, hpnicfPortWredEntry=hpnicfPortWredEntry, hpnicfDscpToCosMapDscpIndex=hpnicfDscpToCosMapDscpIndex, hpnicfRemarkVlanIDTable=hpnicfRemarkVlanIDTable, hpnicfFlowtempRowStatus=hpnicfFlowtempRowStatus, hpnicfCosToDropPrecedenceMapCosIndex=hpnicfCosToDropPrecedenceMapCosIndex, hpnicfRemarkVlanIDIfIndex=hpnicfRemarkVlanIDIfIndex, hpnicfPortWredQueueID=hpnicfPortWredQueueID, hpnicfExpMapCosValue=hpnicfExpMapCosValue, hpnicfDscpMapLocalPrecedence=hpnicfDscpMapLocalPrecedence, hpnicfPriorityIpPreFromCos=hpnicfPriorityIpPreFromCos, hpnicfDropModeTable=hpnicfDropModeTable, hpnicfMirroringGroupRprobeVlanRowStatus=hpnicfMirroringGroupRprobeVlanRowStatus, hpnicfPriorityUserAclNum=hpnicfPriorityUserAclNum, hpnicfPortTrustTrustType=hpnicfPortTrustTrustType, hpnicfFlowtempEnableIfIndex=hpnicfFlowtempEnableIfIndex, hpnicfPortTrustReset=hpnicfPortTrustReset, hpnicfMirrorGroupEntry=hpnicfMirrorGroupEntry, hpnicfFlowtempIpPre=hpnicfFlowtempIpPre, hpnicfPriorityPolicedServiceCos=hpnicfPriorityPolicedServiceCos, hpnicfMirroringGroupMonitorIfIndex=hpnicfMirroringGroupMonitorIfIndex, hpnicfFlowtempEnableTable=hpnicfFlowtempEnableTable, hpnicfCosToDropPrecedenceMapTable=hpnicfCosToDropPrecedenceMapTable, hpnicfStatisticIpAclNum=hpnicfStatisticIpAclNum, hpnicfStatisticPacketXCount=hpnicfStatisticPacketXCount, hpnicfFlowtempFragment=hpnicfFlowtempFragment, hpnicfTrafficShapeEntry=hpnicfTrafficShapeEntry, hpnicfRedirectLinkAclNum=hpnicfRedirectLinkAclNum, hpnicfWredRedMaxProb=hpnicfWredRedMaxProb, hpnicfMirroringGroupMirrorEntry=hpnicfMirroringGroupMirrorEntry, hpnicfTrafficShapeRowStatus=hpnicfTrafficShapeRowStatus, hpnicfStatisticLinkAclNum=hpnicfStatisticLinkAclNum, hpnicfDscpToCosMapTable=hpnicfDscpToCosMapTable, hpnicfRateLimitExceedDscp=hpnicfRateLimitExceedDscp, hpnicfLineRateValue=hpnicfLineRateValue, hpnicfRemarkVlanIDIpAclRule=hpnicfRemarkVlanIDIpAclRule, hpnicfMirroringGroupReflectorIfIndex=hpnicfMirroringGroupReflectorIfIndex, hpnicfStatisticRuntime=hpnicfStatisticRuntime, hpnicfRateLimitCBS=hpnicfRateLimitCBS, hpnicfRedRowStatus=hpnicfRedRowStatus, hpnicfRemarkVlanIDDirection=hpnicfRemarkVlanIDDirection, hpnicfStatisticVlanID=hpnicfStatisticVlanID, hpnicfQueueIfIndex=hpnicfQueueIfIndex, hpnicfLswQosMibObject=hpnicfLswQosMibObject, hpnicfLocalPrecedenceMapConformLevel=hpnicfLocalPrecedenceMapConformLevel, hpnicfRateLimitRowStatus=hpnicfRateLimitRowStatus, hpnicfPriorityIfIndex=hpnicfPriorityIfIndex, hpnicfRateLimitIfIndex=hpnicfRateLimitIfIndex, hpnicfRateLimitEBS=hpnicfRateLimitEBS, hpnicfMirroringGroupMirroMacStatus=hpnicfMirroringGroupMirroMacStatus, hpnicfRateLimitDirection=hpnicfRateLimitDirection, hpnicfPortQueueEntry=hpnicfPortQueueEntry, hpnicfCosToDscpMapCosIndex=hpnicfCosToDscpMapCosIndex, hpnicfFlowtempSMacMask=hpnicfFlowtempSMacMask, hpnicfRedirectIpAclNum=hpnicfRedirectIpAclNum, hpnicfRedTable=hpnicfRedTable, hpnicfFlowtempTable=hpnicfFlowtempTable, hpnicfPortWredIfIndex=hpnicfPortWredIfIndex, hpnicfRedIpAclRule=hpnicfRedIpAclRule, hpnicfWredTable=hpnicfWredTable, hpnicfRedLinkAclRule=hpnicfRedLinkAclRule, hpnicfDscpMapTable=hpnicfDscpMapTable, hpnicfWredYellowMaxThreshold=hpnicfWredYellowMaxThreshold, hpnicfDscpToDscpMapEntry=hpnicfDscpToDscpMapEntry, hpnicfFlowtempIpProtocol=hpnicfFlowtempIpProtocol, hpnicfQueueWeight7=hpnicfQueueWeight7, hpnicfDscpToLocalPreMapDscpIndex=hpnicfDscpToLocalPreMapDscpIndex, hpnicfMirroringGroupMirrorVlanDirection=hpnicfMirroringGroupMirrorVlanDirection, hpnicfRateLimitExceedCos=hpnicfRateLimitExceedCos, hpnicfPortMirrorEntry=hpnicfPortMirrorEntry, hpnicfRedirectToModifiedVlanID=hpnicfRedirectToModifiedVlanID, hpnicfDscpMapExpValue=hpnicfDscpMapExpValue, hpnicfPriorityPolicedServiceDropPriority=hpnicfPriorityPolicedServiceDropPriority, hpnicfMirrorGroupTable=hpnicfMirrorGroupTable, hpnicfRedirectToIfIndex=hpnicfRedirectToIfIndex, hpnicfQueueTable=hpnicfQueueTable, hpnicfRedirectToNextHop2=hpnicfRedirectToNextHop2, hpnicfRateLimitUserAclRule=hpnicfRateLimitUserAclRule, hpnicfFlowtempDMacMask=hpnicfFlowtempDMacMask, hpnicfWredIndex=hpnicfWredIndex, hpnicfDropModeWredIndex=hpnicfDropModeWredIndex, hpnicfWredQueueId=hpnicfWredQueueId, hpnicfLineRateIfIndex=hpnicfLineRateIfIndex, hpnicfBandwidthRuntime=hpnicfBandwidthRuntime, hpnicfDscpToCosMapReset=hpnicfDscpToCosMapReset, hpnicfQueueWeight5=hpnicfQueueWeight5, hpnicfMirroringGroupMirrorTable=hpnicfMirroringGroupMirrorTable, hpnicfPriorityLinkAclNum=hpnicfPriorityLinkAclNum, hpnicfPortWredQueueProbability=hpnicfPortWredQueueProbability, hpnicfBandwidthEntry=hpnicfBandwidthEntry, hpnicfTrafficShapeMaxRate=hpnicfTrafficShapeMaxRate, hpnicfMirroringGroupRprobeVlanEntry=hpnicfMirroringGroupRprobeVlanEntry, hpnicfRedAclIndex=hpnicfRedAclIndex, hpnicfFlowtempTos=hpnicfFlowtempTos, hpnicfMirrorRuntime=hpnicfMirrorRuntime)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, value_range_constraint, constraints_intersection, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion')
(hpnicflsw_common,) = mibBuilder.importSymbols('HPN-ICF-OID-MIB', 'hpnicflswCommon')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(object_identity, counter64, iso, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, module_identity, time_ticks, bits, unsigned32, integer32, counter32, notification_type, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Counter64', 'iso', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'ModuleIdentity', 'TimeTicks', 'Bits', 'Unsigned32', 'Integer32', 'Counter32', 'NotificationType', 'Gauge32')
(row_status, display_string, mac_address, textual_convention, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'DisplayString', 'MacAddress', 'TextualConvention', 'TruthValue')
hpnicf_lsw_qos_acl_mib = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16))
hpnicfLswQosAclMib.setRevisions(('2002-11-19 00:00',))
if mibBuilder.loadTexts:
hpnicfLswQosAclMib.setLastUpdated('200211190000Z')
if mibBuilder.loadTexts:
hpnicfLswQosAclMib.setOrganization('')
class Hpnicfmirrorormonitortype(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('port', 1), ('board', 2))
hpnicf_lsw_qos_mib_object = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2))
hpnicf_priority_trust_mode = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('default', 0), ('dscp', 1), ('ipprecedence', 2), ('cos', 3), ('localprecedence', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPriorityTrustMode.setStatus('current')
hpnicf_port_monitor_both_if_index = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortMonitorBothIfIndex.setStatus('current')
hpnicf_queue_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3))
if mibBuilder.loadTexts:
hpnicfQueueTable.setStatus('current')
hpnicf_queue_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfQueueIfIndex'))
if mibBuilder.loadTexts:
hpnicfQueueEntry.setStatus('current')
hpnicf_queue_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfQueueIfIndex.setStatus('current')
hpnicf_queue_schedule_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('sp', 1), ('wrr', 2), ('wrr-max-delay', 3), ('sc-0', 4), ('sc-1', 5), ('sc-2', 6), ('rr', 7), ('wfq', 8), ('hq-wrr', 9))).clone('sp')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueScheduleMode.setStatus('current')
hpnicf_queue_weight1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight1.setStatus('current')
hpnicf_queue_weight2 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight2.setStatus('current')
hpnicf_queue_weight3 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight3.setStatus('current')
hpnicf_queue_weight4 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight4.setStatus('current')
hpnicf_queue_max_delay = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueMaxDelay.setStatus('current')
hpnicf_queue_weight5 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 8), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight5.setStatus('current')
hpnicf_queue_weight6 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight6.setStatus('current')
hpnicf_queue_weight7 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight7.setStatus('current')
hpnicf_queue_weight8 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 3, 1, 11), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfQueueWeight8.setStatus('current')
hpnicf_rate_limit_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4))
if mibBuilder.loadTexts:
hpnicfRateLimitTable.setStatus('current')
hpnicf_rate_limit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfRateLimitAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRateLimitIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRateLimitVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRateLimitDirection'))
if mibBuilder.loadTexts:
hpnicfRateLimitEntry.setStatus('current')
hpnicf_rate_limit_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitAclIndex.setStatus('current')
hpnicf_rate_limit_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitIfIndex.setStatus('current')
hpnicf_rate_limit_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitVlanID.setStatus('current')
hpnicf_rate_limit_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitDirection.setStatus('current')
hpnicf_rate_limit_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitUserAclNum.setStatus('current')
hpnicf_rate_limit_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitUserAclRule.setStatus('current')
hpnicf_rate_limit_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitIpAclNum.setStatus('current')
hpnicf_rate_limit_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitIpAclRule.setStatus('current')
hpnicf_rate_limit_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitLinkAclNum.setStatus('current')
hpnicf_rate_limit_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitLinkAclRule.setStatus('current')
hpnicf_rate_limit_target_rate_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 11), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitTargetRateMbps.setStatus('current')
hpnicf_rate_limit_target_rate_kbps = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 12), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitTargetRateKbps.setStatus('current')
hpnicf_rate_limit_peak_rate = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 13), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(64, 8388608)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitPeakRate.setStatus('current')
hpnicf_rate_limit_cir = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 34120000))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitCIR.setStatus('current')
hpnicf_rate_limit_cbs = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 1048575))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitCBS.setStatus('current')
hpnicf_rate_limit_ebs = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitEBS.setStatus('current')
hpnicf_rate_limit_pir = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 34120000))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitPIR.setStatus('current')
hpnicf_rate_limit_conform_local_pre = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 18), integer32().clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitConformLocalPre.setStatus('current')
hpnicf_rate_limit_conform_action_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 0), ('remark-cos', 1), ('remark-drop-priority', 2), ('remark-cos-drop-priority', 3), ('remark-policed-service', 4), ('remark-dscp', 5))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitConformActionType.setStatus('current')
hpnicf_rate_limit_exceed_action_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 0), ('forward', 1), ('drop', 2), ('remarkdscp', 3), ('exceed-cos', 4))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitExceedActionType.setStatus('current')
hpnicf_rate_limit_exceed_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 21), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitExceedDscp.setStatus('current')
hpnicf_rate_limit_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 22), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfRateLimitRuntime.setStatus('current')
hpnicf_rate_limit_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 23), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitRowStatus.setStatus('current')
hpnicf_rate_limit_exceed_cos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 24), integer32().clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitExceedCos.setStatus('current')
hpnicf_rate_limit_conform_cos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 25), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitConformCos.setStatus('current')
hpnicf_rate_limit_conform_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 26), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitConformDscp.setStatus('current')
hpnicf_rate_limit_meter_stat_byte_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 27), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfRateLimitMeterStatByteCount.setStatus('current')
hpnicf_rate_limit_meter_stat_byte_x_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 28), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfRateLimitMeterStatByteXCount.setStatus('current')
hpnicf_rate_limit_meter_stat_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 4, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('set', 1), ('unDo', 2), ('reset', 3), ('running', 4), ('notRunning', 5)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRateLimitMeterStatState.setStatus('current')
hpnicf_priority_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5))
if mibBuilder.loadTexts:
hpnicfPriorityTable.setStatus('current')
hpnicf_priority_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfPriorityAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfPriorityIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfPriorityVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfPriorityDirection'))
if mibBuilder.loadTexts:
hpnicfPriorityEntry.setStatus('current')
hpnicf_priority_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityAclIndex.setStatus('current')
hpnicf_priority_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityIfIndex.setStatus('current')
hpnicf_priority_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityVlanID.setStatus('current')
hpnicf_priority_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityDirection.setStatus('current')
hpnicf_priority_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityUserAclNum.setStatus('current')
hpnicf_priority_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityUserAclRule.setStatus('current')
hpnicf_priority_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityIpAclNum.setStatus('current')
hpnicf_priority_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityIpAclRule.setStatus('current')
hpnicf_priority_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityLinkAclNum.setStatus('current')
hpnicf_priority_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityLinkAclRule.setStatus('current')
hpnicf_priority_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 11), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityDscp.setStatus('current')
hpnicf_priority_ip_pre = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 12), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityIpPre.setStatus('current')
hpnicf_priority_ip_pre_from_cos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 13), truth_value().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityIpPreFromCos.setStatus('current')
hpnicf_priority_cos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 14), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityCos.setStatus('current')
hpnicf_priority_cos_from_ip_pre = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 15), truth_value().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityCosFromIpPre.setStatus('current')
hpnicf_priority_local_pre = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 16), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityLocalPre.setStatus('current')
hpnicf_priority_policed_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 0), ('auto', 1), ('trust-dscp', 2), ('new-dscp', 3), ('untrusted', 4)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityPolicedServiceType.setStatus('current')
hpnicf_priority_policed_service_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 18), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityPolicedServiceDscp.setStatus('current')
hpnicf_priority_policed_service_exp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 19), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityPolicedServiceExp.setStatus('current')
hpnicf_priority_policed_service_cos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 20), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityPolicedServiceCos.setStatus('current')
hpnicf_priority_policed_service_loacl_pre = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityPolicedServiceLoaclPre.setStatus('current')
hpnicf_priority_policed_service_drop_priority = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 22), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 2), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityPolicedServiceDropPriority.setStatus('current')
hpnicf_priority_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 23), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfPriorityRuntime.setStatus('current')
hpnicf_priority_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 5, 1, 24), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPriorityRowStatus.setStatus('current')
hpnicf_redirect_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6))
if mibBuilder.loadTexts:
hpnicfRedirectTable.setStatus('current')
hpnicf_redirect_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedirectAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedirectIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedirectVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedirectDirection'))
if mibBuilder.loadTexts:
hpnicfRedirectEntry.setStatus('current')
hpnicf_redirect_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectAclIndex.setStatus('current')
hpnicf_redirect_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectIfIndex.setStatus('current')
hpnicf_redirect_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectVlanID.setStatus('current')
hpnicf_redirect_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectDirection.setStatus('current')
hpnicf_redirect_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectUserAclNum.setStatus('current')
hpnicf_redirect_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectUserAclRule.setStatus('current')
hpnicf_redirect_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectIpAclNum.setStatus('current')
hpnicf_redirect_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectIpAclRule.setStatus('current')
hpnicf_redirect_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectLinkAclNum.setStatus('current')
hpnicf_redirect_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectLinkAclRule.setStatus('current')
hpnicf_redirect_to_cpu = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 11), truth_value().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToCpu.setStatus('current')
hpnicf_redirect_to_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 12), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToIfIndex.setStatus('current')
hpnicf_redirect_to_next_hop1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 13), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToNextHop1.setStatus('current')
hpnicf_redirect_to_next_hop2 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 14), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToNextHop2.setStatus('current')
hpnicf_redirect_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 15), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfRedirectRuntime.setStatus('current')
hpnicf_redirect_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 16), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectRowStatus.setStatus('current')
hpnicf_redirect_to_slot_no = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToSlotNo.setStatus('current')
hpnicf_redirect_remarked_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 18), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectRemarkedDSCP.setStatus('current')
hpnicf_redirect_remarked_pri = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 19), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectRemarkedPri.setStatus('current')
hpnicf_redirect_remarked_tos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 20), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 15), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectRemarkedTos.setStatus('current')
hpnicf_redirect_to_next_hop3 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 21), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToNextHop3.setStatus('current')
hpnicf_redirect_target_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectTargetVlanID.setStatus('current')
hpnicf_redirect_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('strict-priority', 1), ('load-balance', 2))).clone('strict-priority')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectMode.setStatus('current')
hpnicf_redirect_to_nested_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 24), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToNestedVlanID.setStatus('current')
hpnicf_redirect_to_modified_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 6, 1, 25), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedirectToModifiedVlanID.setStatus('current')
hpnicf_statistic_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7))
if mibBuilder.loadTexts:
hpnicfStatisticTable.setStatus('current')
hpnicf_statistic_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfStatisticAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfStatisticIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfStatisticVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfStatisticDirection'))
if mibBuilder.loadTexts:
hpnicfStatisticEntry.setStatus('current')
hpnicf_statistic_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticAclIndex.setStatus('current')
hpnicf_statistic_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticIfIndex.setStatus('current')
hpnicf_statistic_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticVlanID.setStatus('current')
hpnicf_statistic_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticDirection.setStatus('current')
hpnicf_statistic_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticUserAclNum.setStatus('current')
hpnicf_statistic_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticUserAclRule.setStatus('current')
hpnicf_statistic_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticIpAclNum.setStatus('current')
hpnicf_statistic_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticIpAclRule.setStatus('current')
hpnicf_statistic_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticLinkAclNum.setStatus('current')
hpnicf_statistic_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticLinkAclRule.setStatus('current')
hpnicf_statistic_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 11), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfStatisticRuntime.setStatus('current')
hpnicf_statistic_packet_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 12), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfStatisticPacketCount.setStatus('current')
hpnicf_statistic_byte_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 13), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfStatisticByteCount.setStatus('current')
hpnicf_statistic_count_clear = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('cleared', 1), ('nouse', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfStatisticCountClear.setStatus('current')
hpnicf_statistic_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 15), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfStatisticRowStatus.setStatus('current')
hpnicf_statistic_packet_x_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 16), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfStatisticPacketXCount.setStatus('current')
hpnicf_statistic_byte_x_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 7, 1, 17), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfStatisticByteXCount.setStatus('current')
hpnicf_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8))
if mibBuilder.loadTexts:
hpnicfMirrorTable.setStatus('current')
hpnicf_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirrorAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirrorIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirrorVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirrorDirection'))
if mibBuilder.loadTexts:
hpnicfMirrorEntry.setStatus('current')
hpnicf_mirror_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorAclIndex.setStatus('current')
hpnicf_mirror_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorIfIndex.setStatus('current')
hpnicf_mirror_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorVlanID.setStatus('current')
hpnicf_mirror_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorDirection.setStatus('current')
hpnicf_mirror_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorUserAclNum.setStatus('current')
hpnicf_mirror_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorUserAclRule.setStatus('current')
hpnicf_mirror_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorIpAclNum.setStatus('current')
hpnicf_mirror_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorIpAclRule.setStatus('current')
hpnicf_mirror_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorLinkAclNum.setStatus('current')
hpnicf_mirror_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorLinkAclRule.setStatus('current')
hpnicf_mirror_to_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 11), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorToIfIndex.setStatus('current')
hpnicf_mirror_to_cpu = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 12), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorToCpu.setStatus('current')
hpnicf_mirror_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 13), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfMirrorRuntime.setStatus('current')
hpnicf_mirror_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 14), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorRowStatus.setStatus('current')
hpnicf_mirror_to_group = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 8, 1, 15), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorToGroup.setStatus('current')
hpnicf_port_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9))
if mibBuilder.loadTexts:
hpnicfPortMirrorTable.setStatus('current')
hpnicf_port_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfPortMirrorIfIndex'))
if mibBuilder.loadTexts:
hpnicfPortMirrorEntry.setStatus('current')
hpnicf_port_mirror_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPortMirrorIfIndex.setStatus('current')
hpnicf_port_mirror_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('in', 1), ('out', 2), ('both', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPortMirrorDirection.setStatus('current')
hpnicf_port_mirror_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 9, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfPortMirrorRowStatus.setStatus('current')
hpnicf_line_rate_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10))
if mibBuilder.loadTexts:
hpnicfLineRateTable.setStatus('current')
hpnicf_line_rate_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfLineRateIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfLineRateDirection'))
if mibBuilder.loadTexts:
hpnicfLineRateEntry.setStatus('current')
hpnicf_line_rate_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfLineRateIfIndex.setStatus('current')
hpnicf_line_rate_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('in', 1), ('out', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfLineRateDirection.setStatus('current')
hpnicf_line_rate_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 3), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfLineRateValue.setStatus('current')
hpnicf_line_rate_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 10, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfLineRateRowStatus.setStatus('current')
hpnicf_bandwidth_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11))
if mibBuilder.loadTexts:
hpnicfBandwidthTable.setStatus('current')
hpnicf_bandwidth_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfBandwidthAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfBandwidthIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfBandwidthVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfBandwidthDirection'))
if mibBuilder.loadTexts:
hpnicfBandwidthEntry.setStatus('current')
hpnicf_bandwidth_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthAclIndex.setStatus('current')
hpnicf_bandwidth_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthIfIndex.setStatus('current')
hpnicf_bandwidth_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthVlanID.setStatus('current')
hpnicf_bandwidth_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2))).clone(namedValues=named_values(('invalid', 0), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthDirection.setStatus('current')
hpnicf_bandwidth_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthIpAclNum.setStatus('current')
hpnicf_bandwidth_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthIpAclRule.setStatus('current')
hpnicf_bandwidth_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthLinkAclNum.setStatus('current')
hpnicf_bandwidth_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfBandwidthLinkAclRule.setStatus('current')
hpnicf_bandwidth_min_guaranteed_width = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 8388608))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfBandwidthMinGuaranteedWidth.setStatus('current')
hpnicf_bandwidth_max_guaranteed_width = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 8388608))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfBandwidthMaxGuaranteedWidth.setStatus('current')
hpnicf_bandwidth_weight = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfBandwidthWeight.setStatus('current')
hpnicf_bandwidth_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 12), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfBandwidthRuntime.setStatus('current')
hpnicf_bandwidth_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 11, 1, 13), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfBandwidthRowStatus.setStatus('current')
hpnicf_red_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12))
if mibBuilder.loadTexts:
hpnicfRedTable.setStatus('current')
hpnicf_red_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRedDirection'))
if mibBuilder.loadTexts:
hpnicfRedEntry.setStatus('current')
hpnicf_red_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedAclIndex.setStatus('current')
hpnicf_red_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 2), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedIfIndex.setStatus('current')
hpnicf_red_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedVlanID.setStatus('current')
hpnicf_red_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2))).clone(namedValues=named_values(('invalid', 0), ('output', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedDirection.setStatus('current')
hpnicf_red_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedIpAclNum.setStatus('current')
hpnicf_red_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedIpAclRule.setStatus('current')
hpnicf_red_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedLinkAclNum.setStatus('current')
hpnicf_red_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRedLinkAclRule.setStatus('current')
hpnicf_red_start_queue_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 262128))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfRedStartQueueLen.setStatus('current')
hpnicf_red_stop_queue_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 262128))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfRedStopQueueLen.setStatus('current')
hpnicf_red_probability = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfRedProbability.setStatus('current')
hpnicf_red_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 12), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfRedRuntime.setStatus('current')
hpnicf_red_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 12, 1, 13), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfRedRowStatus.setStatus('current')
hpnicf_mirror_group_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13))
if mibBuilder.loadTexts:
hpnicfMirrorGroupTable.setStatus('current')
hpnicf_mirror_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirrorGroupID'))
if mibBuilder.loadTexts:
hpnicfMirrorGroupEntry.setStatus('current')
hpnicf_mirror_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfMirrorGroupID.setStatus('current')
hpnicf_mirror_group_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('input', 1), ('output', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfMirrorGroupDirection.setStatus('current')
hpnicf_mirror_group_mirror_if_index_list = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(1, 257))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfMirrorGroupMirrorIfIndexList.setStatus('current')
hpnicf_mirror_group_monitor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfMirrorGroupMonitorIfIndex.setStatus('current')
hpnicf_mirror_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 13, 1, 5), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfMirrorGroupRowStatus.setStatus('current')
hpnicf_flowtemp_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14))
if mibBuilder.loadTexts:
hpnicfFlowtempTable.setStatus('current')
hpnicf_flowtemp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfFlowtempIndex'))
if mibBuilder.loadTexts:
hpnicfFlowtempEntry.setStatus('current')
hpnicf_flowtemp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('user-defined', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfFlowtempIndex.setStatus('current')
hpnicf_flowtemp_ip_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 2), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempIpProtocol.setStatus('current')
hpnicf_flowtemp_tcp_flag = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 3), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempTcpFlag.setStatus('current')
hpnicf_flowtemp_s_port = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 4), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempSPort.setStatus('current')
hpnicf_flowtemp_d_port = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 5), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempDPort.setStatus('current')
hpnicf_flowtemp_icmp_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 6), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempIcmpType.setStatus('current')
hpnicf_flowtemp_icmp_code = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 7), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempIcmpCode.setStatus('current')
hpnicf_flowtemp_fragment = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 8), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempFragment.setStatus('current')
hpnicf_flowtemp_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 9), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempDscp.setStatus('current')
hpnicf_flowtemp_ip_pre = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 10), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempIpPre.setStatus('current')
hpnicf_flowtemp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 11), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempTos.setStatus('current')
hpnicf_flowtemp_s_ip = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 12), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempSIp.setStatus('current')
hpnicf_flowtemp_s_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 13), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempSIpMask.setStatus('current')
hpnicf_flowtemp_d_ip = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 14), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempDIp.setStatus('current')
hpnicf_flowtemp_d_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 15), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempDIpMask.setStatus('current')
hpnicf_flowtemp_eth_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 16), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempEthProtocol.setStatus('current')
hpnicf_flowtemp_s_mac = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 17), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempSMac.setStatus('current')
hpnicf_flowtemp_s_mac_mask = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 18), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempSMacMask.setStatus('current')
hpnicf_flowtemp_d_mac = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 19), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempDMac.setStatus('current')
hpnicf_flowtemp_d_mac_mask = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 20), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempDMacMask.setStatus('current')
hpnicf_flowtemp_vpn = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 21), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempVpn.setStatus('current')
hpnicf_flowtemp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 22), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempRowStatus.setStatus('current')
hpnicf_flowtemp_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 23), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempVlanId.setStatus('current')
hpnicf_flowtemp_cos = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 14, 1, 24), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempCos.setStatus('current')
hpnicf_flowtemp_enable_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15))
if mibBuilder.loadTexts:
hpnicfFlowtempEnableTable.setStatus('current')
hpnicf_flowtemp_enable_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfFlowtempEnableIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfFlowtempEnableVlanID'))
if mibBuilder.loadTexts:
hpnicfFlowtempEnableEntry.setStatus('current')
hpnicf_flowtemp_enable_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempEnableIfIndex.setStatus('current')
hpnicf_flowtemp_enable_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfFlowtempEnableVlanID.setStatus('current')
hpnicf_flowtemp_enable_flowtemp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 15, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('user-defined', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfFlowtempEnableFlowtempIndex.setStatus('current')
hpnicf_traffic_shape_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16))
if mibBuilder.loadTexts:
hpnicfTrafficShapeTable.setStatus('current')
hpnicf_traffic_shape_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfTrafficShapeIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfTrafficShapeQueueId'))
if mibBuilder.loadTexts:
hpnicfTrafficShapeEntry.setStatus('current')
hpnicf_traffic_shape_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfTrafficShapeIfIndex.setStatus('current')
hpnicf_traffic_shape_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfTrafficShapeQueueId.setStatus('current')
hpnicf_traffic_shape_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 3), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfTrafficShapeMaxRate.setStatus('current')
hpnicf_traffic_shape_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 4), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfTrafficShapeBurstSize.setStatus('current')
hpnicf_traffic_shape_buffer_limit = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(16, 8000)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfTrafficShapeBufferLimit.setStatus('current')
hpnicf_traffic_shape_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 16, 1, 6), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfTrafficShapeRowStatus.setStatus('current')
hpnicf_port_queue_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17))
if mibBuilder.loadTexts:
hpnicfPortQueueTable.setStatus('current')
hpnicf_port_queue_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfPortQueueIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfPortQueueQueueID'))
if mibBuilder.loadTexts:
hpnicfPortQueueEntry.setStatus('current')
hpnicf_port_queue_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfPortQueueIfIndex.setStatus('current')
hpnicf_port_queue_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfPortQueueQueueID.setStatus('current')
hpnicf_port_queue_wrr_priority = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('sp', 1), ('wrr-high-priority', 2), ('wrr-low-priority', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortQueueWrrPriority.setStatus('current')
hpnicf_port_queue_weight = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 17, 1, 4), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 255)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortQueueWeight.setStatus('current')
hpnicf_drop_mode_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18))
if mibBuilder.loadTexts:
hpnicfDropModeTable.setStatus('current')
hpnicf_drop_mode_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfDropModeIfIndex'))
if mibBuilder.loadTexts:
hpnicfDropModeEntry.setStatus('current')
hpnicf_drop_mode_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDropModeIfIndex.setStatus('current')
hpnicf_drop_mode_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('random-detect', 1), ('tail-drop', 2))).clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDropModeMode.setStatus('current')
hpnicf_drop_mode_wred_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 18, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDropModeWredIndex.setStatus('current')
hpnicf_wred_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19))
if mibBuilder.loadTexts:
hpnicfWredTable.setStatus('current')
hpnicf_wred_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfWredIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfWredQueueId'))
if mibBuilder.loadTexts:
hpnicfWredEntry.setStatus('current')
hpnicf_wred_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfWredIndex.setStatus('current')
hpnicf_wred_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfWredQueueId.setStatus('current')
hpnicf_wred_green_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredGreenMinThreshold.setStatus('current')
hpnicf_wred_green_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredGreenMaxThreshold.setStatus('current')
hpnicf_wred_green_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredGreenMaxProb.setStatus('current')
hpnicf_wred_yellow_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredYellowMinThreshold.setStatus('current')
hpnicf_wred_yellow_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredYellowMaxThreshold.setStatus('current')
hpnicf_wred_yellow_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredYellowMaxProb.setStatus('current')
hpnicf_wred_red_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredRedMinThreshold.setStatus('current')
hpnicf_wred_red_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredRedMaxThreshold.setStatus('current')
hpnicf_wred_red_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredRedMaxProb.setStatus('current')
hpnicf_wred_exponent = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 19, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(9)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfWredExponent.setStatus('current')
hpnicf_cos_to_local_precedence_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20))
if mibBuilder.loadTexts:
hpnicfCosToLocalPrecedenceMapTable.setStatus('current')
hpnicf_cos_to_local_precedence_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfCosToLocalPrecedenceMapCosIndex'))
if mibBuilder.loadTexts:
hpnicfCosToLocalPrecedenceMapEntry.setStatus('current')
hpnicf_cos_to_local_precedence_map_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfCosToLocalPrecedenceMapCosIndex.setStatus('current')
hpnicf_cos_to_local_precedence_map_local_precedence_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 20, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue.setStatus('current')
hpnicf_cos_to_drop_precedence_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21))
if mibBuilder.loadTexts:
hpnicfCosToDropPrecedenceMapTable.setStatus('current')
hpnicf_cos_to_drop_precedence_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfCosToDropPrecedenceMapCosIndex'))
if mibBuilder.loadTexts:
hpnicfCosToDropPrecedenceMapEntry.setStatus('current')
hpnicf_cos_to_drop_precedence_map_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfCosToDropPrecedenceMapCosIndex.setStatus('current')
hpnicf_cos_to_drop_precedence_map_drop_precedence_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 21, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfCosToDropPrecedenceMapDropPrecedenceValue.setStatus('current')
hpnicf_dscp_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22))
if mibBuilder.loadTexts:
hpnicfDscpMapTable.setStatus('current')
hpnicf_dscp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfDscpMapConformLevel'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfDscpMapDscpIndex'))
if mibBuilder.loadTexts:
hpnicfDscpMapEntry.setStatus('current')
hpnicf_dscp_map_conform_level = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDscpMapConformLevel.setStatus('current')
hpnicf_dscp_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDscpMapDscpIndex.setStatus('current')
hpnicf_dscp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpMapDscpValue.setStatus('current')
hpnicf_dscp_map_exp_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpMapExpValue.setStatus('current')
hpnicf_dscp_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpMapCosValue.setStatus('current')
hpnicf_dscp_map_local_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpMapLocalPrecedence.setStatus('current')
hpnicf_dscp_map_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 22, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpMapDropPrecedence.setStatus('current')
hpnicf_exp_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23))
if mibBuilder.loadTexts:
hpnicfExpMapTable.setStatus('current')
hpnicf_exp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfExpMapConformLevel'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfExpMapExpIndex'))
if mibBuilder.loadTexts:
hpnicfExpMapEntry.setStatus('current')
hpnicf_exp_map_conform_level = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfExpMapConformLevel.setStatus('current')
hpnicf_exp_map_exp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfExpMapExpIndex.setStatus('current')
hpnicf_exp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfExpMapDscpValue.setStatus('current')
hpnicf_exp_map_exp_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfExpMapExpValue.setStatus('current')
hpnicf_exp_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfExpMapCosValue.setStatus('current')
hpnicf_exp_map_local_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfExpMapLocalPrecedence.setStatus('current')
hpnicf_exp_map_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 23, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfExpMapDropPrecedence.setStatus('current')
hpnicf_local_precedence_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24))
if mibBuilder.loadTexts:
hpnicfLocalPrecedenceMapTable.setStatus('current')
hpnicf_local_precedence_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfLocalPrecedenceMapConformLevel'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfLocalPrecedenceMapLocalPrecedenceIndex'))
if mibBuilder.loadTexts:
hpnicfLocalPrecedenceMapEntry.setStatus('current')
hpnicf_local_precedence_map_conform_level = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfLocalPrecedenceMapConformLevel.setStatus('current')
hpnicf_local_precedence_map_local_precedence_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfLocalPrecedenceMapLocalPrecedenceIndex.setStatus('current')
hpnicf_local_precedence_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 24, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfLocalPrecedenceMapCosValue.setStatus('current')
hpnicf_port_wred_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25))
if mibBuilder.loadTexts:
hpnicfPortWredTable.setStatus('current')
hpnicf_port_wred_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfPortWredIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfPortWredQueueID'))
if mibBuilder.loadTexts:
hpnicfPortWredEntry.setStatus('current')
hpnicf_port_wred_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfPortWredIfIndex.setStatus('current')
hpnicf_port_wred_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfPortWredQueueID.setStatus('current')
hpnicf_port_wred_queue_start_length = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2047))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortWredQueueStartLength.setStatus('current')
hpnicf_port_wred_queue_probability = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 25, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortWredQueueProbability.setStatus('current')
hpnicf_mirroring_group_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26))
if mibBuilder.loadTexts:
hpnicfMirroringGroupTable.setStatus('current')
hpnicf_mirroring_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupEntry.setStatus('current')
hpnicf_mirroring_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 20)))
if mibBuilder.loadTexts:
hpnicfMirroringGroupID.setStatus('current')
hpnicf_mirroring_group_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('local', 1), ('remote-source', 2), ('remote-destination', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupType.setStatus('current')
hpnicf_mirroring_group_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfMirroringGroupStatus.setStatus('current')
hpnicf_mirroring_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 26, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupRowStatus.setStatus('current')
hpnicf_mirroring_group_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorTable.setStatus('current')
hpnicf_mirroring_group_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorEntry.setStatus('current')
hpnicf_mirroring_group_mirror_inbound_if_index_list = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 1), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorInboundIfIndexList.setStatus('current')
hpnicf_mirroring_group_mirror_outbound_if_index_list = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 2), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorOutboundIfIndexList.setStatus('current')
hpnicf_mirroring_group_mirror_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorRowStatus.setStatus('current')
hpnicf_mirroring_group_mirror_in_type_list = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 4), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorInTypeList.setStatus('current')
hpnicf_mirroring_group_mirror_out_type_list = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 27, 1, 5), octet_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorOutTypeList.setStatus('current')
hpnicf_mirroring_group_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMonitorTable.setStatus('current')
hpnicf_mirroring_group_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMonitorEntry.setStatus('current')
hpnicf_mirroring_group_monitor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMonitorIfIndex.setStatus('current')
hpnicf_mirroring_group_monitor_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMonitorRowStatus.setStatus('current')
hpnicf_mirroring_group_monitor_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 28, 1, 3), hpnicf_mirror_or_monitor_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMonitorType.setStatus('current')
hpnicf_mirroring_group_reflector_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29))
if mibBuilder.loadTexts:
hpnicfMirroringGroupReflectorTable.setStatus('current')
hpnicf_mirroring_group_reflector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupReflectorEntry.setStatus('current')
hpnicf_mirroring_group_reflector_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupReflectorIfIndex.setStatus('current')
hpnicf_mirroring_group_reflector_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 29, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupReflectorRowStatus.setStatus('current')
hpnicf_mirroring_group_rprobe_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30))
if mibBuilder.loadTexts:
hpnicfMirroringGroupRprobeVlanTable.setStatus('current')
hpnicf_mirroring_group_rprobe_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupRprobeVlanEntry.setStatus('current')
hpnicf_mirroring_group_rprobe_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupRprobeVlanID.setStatus('current')
hpnicf_mirroring_group_rprobe_vlan_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 30, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupRprobeVlanRowStatus.setStatus('current')
hpnicf_mirroring_group_mirror_mac_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorMacTable.setStatus('current')
hpnicf_mirroring_group_mirror_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupMirrorMacSeq'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorMacEntry.setStatus('current')
hpnicf_mirroring_group_mirror_mac_seq = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 1), integer32())
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorMacSeq.setStatus('current')
hpnicf_mirroring_group_mirror_mac = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 2), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorMac.setStatus('current')
hpnicf_mirror_mac_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirrorMacVlanID.setStatus('current')
hpnicf_mirroring_group_mirro_mac_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 31, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirroMacStatus.setStatus('current')
hpnicf_mirroring_group_mirror_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorVlanTable.setStatus('current')
hpnicf_mirroring_group_mirror_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfMirroringGroupMirrorVlanSeq'))
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorVlanEntry.setStatus('current')
hpnicf_mirroring_group_mirror_vlan_seq = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 1), integer32())
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorVlanSeq.setStatus('current')
hpnicf_mirroring_group_mirror_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorVlanID.setStatus('current')
hpnicf_mirroring_group_mirror_vlan_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inbound', 1), ('outbound', 2), ('both', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirrorVlanDirection.setStatus('current')
hpnicf_mirroring_group_mirro_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 32, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfMirroringGroupMirroVlanStatus.setStatus('current')
hpnicf_port_trust_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33))
if mibBuilder.loadTexts:
hpnicfPortTrustTable.setStatus('current')
hpnicf_port_trust_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfPortTrustIfIndex'))
if mibBuilder.loadTexts:
hpnicfPortTrustEntry.setStatus('current')
hpnicf_port_trust_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 1), integer32())
if mibBuilder.loadTexts:
hpnicfPortTrustIfIndex.setStatus('current')
hpnicf_port_trust_trust_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('port', 1), ('cos', 2), ('dscp', 3))).clone('port')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortTrustTrustType.setStatus('current')
hpnicf_port_trust_overcast_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('noOvercast', 1), ('overcastDSCP', 2), ('overcastCOS', 3))).clone('noOvercast')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortTrustOvercastType.setStatus('current')
hpnicf_port_trust_reset = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 33, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfPortTrustReset.setStatus('current')
hpnicf_remark_vlan_id_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34))
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDTable.setStatus('current')
hpnicf_remark_vlan_id_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfRemarkVlanIDAclIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRemarkVlanIDIfIndex'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRemarkVlanIDVlanID'), (0, 'HPN-ICF-LswQos-MIB', 'hpnicfRemarkVlanIDDirection'))
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDEntry.setStatus('current')
hpnicf_remark_vlan_id_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999)))
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDAclIndex.setStatus('current')
hpnicf_remark_vlan_id_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 2), integer32())
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDIfIndex.setStatus('current')
hpnicf_remark_vlan_id_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094)))
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDVlanID.setStatus('current')
hpnicf_remark_vlan_id_direction = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2))))
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDDirection.setStatus('current')
hpnicf_remark_vlan_id_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDUserAclNum.setStatus('current')
hpnicf_remark_vlan_id_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDUserAclRule.setStatus('current')
hpnicf_remark_vlan_id_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDIpAclNum.setStatus('current')
hpnicf_remark_vlan_id_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDIpAclRule.setStatus('current')
hpnicf_remark_vlan_id_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDLinkAclNum.setStatus('current')
hpnicf_remark_vlan_id_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDLinkAclRule.setStatus('current')
hpnicf_remark_vlan_id_remark_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDRemarkVlanID.setStatus('current')
hpnicf_remark_vlan_id_packet_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('all', 1), ('tagged', 2), ('untagged', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDPacketType.setStatus('current')
hpnicf_remark_vlan_id_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 34, 1, 13), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfRemarkVlanIDRowStatus.setStatus('current')
hpnicf_cos_to_dscp_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35))
if mibBuilder.loadTexts:
hpnicfCosToDscpMapTable.setStatus('current')
hpnicf_cos_to_dscp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfCosToDscpMapCosIndex'))
if mibBuilder.loadTexts:
hpnicfCosToDscpMapEntry.setStatus('current')
hpnicf_cos_to_dscp_map_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)))
if mibBuilder.loadTexts:
hpnicfCosToDscpMapCosIndex.setStatus('current')
hpnicf_cos_to_dscp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfCosToDscpMapDscpValue.setStatus('current')
hpnicf_cos_to_dscp_map_re_set = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 35, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfCosToDscpMapReSet.setStatus('current')
hpnicf_dscp_to_local_pre_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36))
if mibBuilder.loadTexts:
hpnicfDscpToLocalPreMapTable.setStatus('current')
hpnicf_dscp_to_local_pre_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfDscpToLocalPreMapDscpIndex'))
if mibBuilder.loadTexts:
hpnicfDscpToLocalPreMapEntry.setStatus('current')
hpnicf_dscp_to_local_pre_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63)))
if mibBuilder.loadTexts:
hpnicfDscpToLocalPreMapDscpIndex.setStatus('current')
hpnicf_dscp_to_local_pre_map_local_pre_val = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToLocalPreMapLocalPreVal.setStatus('current')
hpnicf_dscp_to_local_pre_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 36, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToLocalPreMapReset.setStatus('current')
hpnicf_dscp_to_drop_pre_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37))
if mibBuilder.loadTexts:
hpnicfDscpToDropPreMapTable.setStatus('current')
hpnicf_dscp_to_drop_pre_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfDscpToDropPreMapDscpIndex'))
if mibBuilder.loadTexts:
hpnicfDscpToDropPreMapEntry.setStatus('current')
hpnicf_dscp_to_drop_pre_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63)))
if mibBuilder.loadTexts:
hpnicfDscpToDropPreMapDscpIndex.setStatus('current')
hpnicf_dscp_to_drop_pre_map_drop_pre_val = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToDropPreMapDropPreVal.setStatus('current')
hpnicf_dscp_to_drop_pre_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 37, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToDropPreMapReset.setStatus('current')
hpnicf_dscp_to_cos_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38))
if mibBuilder.loadTexts:
hpnicfDscpToCosMapTable.setStatus('current')
hpnicf_dscp_to_cos_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfDscpToCosMapDscpIndex'))
if mibBuilder.loadTexts:
hpnicfDscpToCosMapEntry.setStatus('current')
hpnicf_dscp_to_cos_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63)))
if mibBuilder.loadTexts:
hpnicfDscpToCosMapDscpIndex.setStatus('current')
hpnicf_dscp_to_cos_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToCosMapCosValue.setStatus('current')
hpnicf_dscp_to_cos_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 38, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToCosMapReset.setStatus('current')
hpnicf_dscp_to_dscp_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39))
if mibBuilder.loadTexts:
hpnicfDscpToDscpMapTable.setStatus('current')
hpnicf_dscp_to_dscp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1)).setIndexNames((0, 'HPN-ICF-LswQos-MIB', 'hpnicfDscpToDscpMapDscpIndex'))
if mibBuilder.loadTexts:
hpnicfDscpToDscpMapEntry.setStatus('current')
hpnicf_dscp_to_dscp_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63)))
if mibBuilder.loadTexts:
hpnicfDscpToDscpMapDscpIndex.setStatus('current')
hpnicf_dscp_to_dscp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToDscpMapDscpValue.setStatus('current')
hpnicf_dscp_to_dscp_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 8, 35, 16, 2, 39, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpnicfDscpToDscpMapReset.setStatus('current')
mibBuilder.exportSymbols('HPN-ICF-LswQos-MIB', hpnicfFlowtempEnableFlowtempIndex=hpnicfFlowtempEnableFlowtempIndex, hpnicfRedProbability=hpnicfRedProbability, hpnicfRedirectToNextHop3=hpnicfRedirectToNextHop3, hpnicfMirroringGroupMirrorRowStatus=hpnicfMirroringGroupMirrorRowStatus, hpnicfRedirectAclIndex=hpnicfRedirectAclIndex, hpnicfFlowtempTcpFlag=hpnicfFlowtempTcpFlag, hpnicfPriorityPolicedServiceType=hpnicfPriorityPolicedServiceType, hpnicfRateLimitAclIndex=hpnicfRateLimitAclIndex, hpnicfPortTrustEntry=hpnicfPortTrustEntry, hpnicfPortTrustOvercastType=hpnicfPortTrustOvercastType, hpnicfPortTrustTable=hpnicfPortTrustTable, hpnicfPortQueueIfIndex=hpnicfPortQueueIfIndex, hpnicfWredGreenMinThreshold=hpnicfWredGreenMinThreshold, hpnicfDscpMapDscpIndex=hpnicfDscpMapDscpIndex, hpnicfMirroringGroupReflectorEntry=hpnicfMirroringGroupReflectorEntry, hpnicfWredRedMaxThreshold=hpnicfWredRedMaxThreshold, hpnicfMirrorUserAclRule=hpnicfMirrorUserAclRule, hpnicfMirrorVlanID=hpnicfMirrorVlanID, hpnicfLineRateRowStatus=hpnicfLineRateRowStatus, hpnicfRateLimitUserAclNum=hpnicfRateLimitUserAclNum, hpnicfMirrorIfIndex=hpnicfMirrorIfIndex, hpnicfCosToDscpMapTable=hpnicfCosToDscpMapTable, hpnicfFlowtempSIpMask=hpnicfFlowtempSIpMask, hpnicfQueueWeight3=hpnicfQueueWeight3, hpnicfDscpMapDscpValue=hpnicfDscpMapDscpValue, hpnicfTrafficShapeTable=hpnicfTrafficShapeTable, hpnicfDscpToDropPreMapReset=hpnicfDscpToDropPreMapReset, hpnicfStatisticIfIndex=hpnicfStatisticIfIndex, hpnicfDscpMapCosValue=hpnicfDscpMapCosValue, hpnicfPortQueueWrrPriority=hpnicfPortQueueWrrPriority, hpnicfRateLimitCIR=hpnicfRateLimitCIR, hpnicfStatisticByteXCount=hpnicfStatisticByteXCount, hpnicfMirrorEntry=hpnicfMirrorEntry, hpnicfRedirectLinkAclRule=hpnicfRedirectLinkAclRule, hpnicfStatisticAclIndex=hpnicfStatisticAclIndex, hpnicfFlowtempSPort=hpnicfFlowtempSPort, HpnicfMirrorOrMonitorType=HpnicfMirrorOrMonitorType, hpnicfRedVlanID=hpnicfRedVlanID, hpnicfBandwidthIfIndex=hpnicfBandwidthIfIndex, hpnicfMirroringGroupMirrorVlanSeq=hpnicfMirroringGroupMirrorVlanSeq, hpnicfRateLimitVlanID=hpnicfRateLimitVlanID, hpnicfFlowtempEthProtocol=hpnicfFlowtempEthProtocol, hpnicfMirroringGroupMirrorInTypeList=hpnicfMirroringGroupMirrorInTypeList, hpnicfRateLimitConformCos=hpnicfRateLimitConformCos, hpnicfFlowtempDIpMask=hpnicfFlowtempDIpMask, hpnicfRateLimitPIR=hpnicfRateLimitPIR, hpnicfStatisticEntry=hpnicfStatisticEntry, hpnicfDscpToLocalPreMapReset=hpnicfDscpToLocalPreMapReset, hpnicfMirroringGroupType=hpnicfMirroringGroupType, hpnicfLocalPrecedenceMapEntry=hpnicfLocalPrecedenceMapEntry, hpnicfFlowtempIndex=hpnicfFlowtempIndex, hpnicfRedirectEntry=hpnicfRedirectEntry, hpnicfCosToDropPrecedenceMapEntry=hpnicfCosToDropPrecedenceMapEntry, hpnicfExpMapDscpValue=hpnicfExpMapDscpValue, hpnicfTrafficShapeBurstSize=hpnicfTrafficShapeBurstSize, hpnicfExpMapExpValue=hpnicfExpMapExpValue, hpnicfRateLimitTable=hpnicfRateLimitTable, hpnicfCosToLocalPrecedenceMapCosIndex=hpnicfCosToLocalPrecedenceMapCosIndex, hpnicfRedirectVlanID=hpnicfRedirectVlanID, hpnicfMirroringGroupMirrorOutboundIfIndexList=hpnicfMirroringGroupMirrorOutboundIfIndexList, hpnicfMirroringGroupRprobeVlanID=hpnicfMirroringGroupRprobeVlanID, hpnicfLocalPrecedenceMapTable=hpnicfLocalPrecedenceMapTable, hpnicfStatisticTable=hpnicfStatisticTable, hpnicfMirroringGroupMirrorVlanEntry=hpnicfMirroringGroupMirrorVlanEntry, hpnicfStatisticUserAclNum=hpnicfStatisticUserAclNum, hpnicfRateLimitMeterStatByteCount=hpnicfRateLimitMeterStatByteCount, hpnicfRedirectRemarkedTos=hpnicfRedirectRemarkedTos, hpnicfPortMirrorIfIndex=hpnicfPortMirrorIfIndex, hpnicfPriorityRuntime=hpnicfPriorityRuntime, hpnicfDropModeMode=hpnicfDropModeMode, hpnicfPortQueueWeight=hpnicfPortQueueWeight, hpnicfMirrorGroupRowStatus=hpnicfMirrorGroupRowStatus, hpnicfMirroringGroupMonitorTable=hpnicfMirroringGroupMonitorTable, hpnicfMirroringGroupRprobeVlanTable=hpnicfMirroringGroupRprobeVlanTable, hpnicfQueueWeight2=hpnicfQueueWeight2, hpnicfRedStartQueueLen=hpnicfRedStartQueueLen, hpnicfRemarkVlanIDIpAclNum=hpnicfRemarkVlanIDIpAclNum, hpnicfPortTrustIfIndex=hpnicfPortTrustIfIndex, hpnicfQueueMaxDelay=hpnicfQueueMaxDelay, hpnicfRemarkVlanIDLinkAclRule=hpnicfRemarkVlanIDLinkAclRule, hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue=hpnicfCosToLocalPrecedenceMapLocalPrecedenceValue, hpnicfPriorityCos=hpnicfPriorityCos, hpnicfBandwidthTable=hpnicfBandwidthTable, hpnicfQueueWeight4=hpnicfQueueWeight4, hpnicfPriorityPolicedServiceDscp=hpnicfPriorityPolicedServiceDscp, hpnicfFlowtempDMac=hpnicfFlowtempDMac, hpnicfRateLimitLinkAclRule=hpnicfRateLimitLinkAclRule, hpnicfWredRedMinThreshold=hpnicfWredRedMinThreshold, hpnicfMirroringGroupMirrorOutTypeList=hpnicfMirroringGroupMirrorOutTypeList, hpnicfStatisticByteCount=hpnicfStatisticByteCount, hpnicfMirrorRowStatus=hpnicfMirrorRowStatus, hpnicfBandwidthWeight=hpnicfBandwidthWeight, hpnicfPriorityEntry=hpnicfPriorityEntry, hpnicfDscpToDscpMapReset=hpnicfDscpToDscpMapReset, hpnicfWredYellowMinThreshold=hpnicfWredYellowMinThreshold, hpnicfDscpToLocalPreMapTable=hpnicfDscpToLocalPreMapTable, hpnicfMirrorToIfIndex=hpnicfMirrorToIfIndex, hpnicfRedIpAclNum=hpnicfRedIpAclNum, hpnicfStatisticUserAclRule=hpnicfStatisticUserAclRule, hpnicfRemarkVlanIDUserAclNum=hpnicfRemarkVlanIDUserAclNum, hpnicfMirrorUserAclNum=hpnicfMirrorUserAclNum, hpnicfFlowtempIcmpType=hpnicfFlowtempIcmpType, hpnicfWredEntry=hpnicfWredEntry, hpnicfMirroringGroupID=hpnicfMirroringGroupID, hpnicfDropModeEntry=hpnicfDropModeEntry, hpnicfPortQueueTable=hpnicfPortQueueTable, hpnicfWredYellowMaxProb=hpnicfWredYellowMaxProb, hpnicfPriorityRowStatus=hpnicfPriorityRowStatus, hpnicfFlowtempEntry=hpnicfFlowtempEntry, hpnicfMirroringGroupMonitorType=hpnicfMirroringGroupMonitorType, hpnicfExpMapDropPrecedence=hpnicfExpMapDropPrecedence, hpnicfExpMapConformLevel=hpnicfExpMapConformLevel, hpnicfRedirectRemarkedPri=hpnicfRedirectRemarkedPri, hpnicfRedirectToNextHop1=hpnicfRedirectToNextHop1, hpnicfRateLimitPeakRate=hpnicfRateLimitPeakRate, hpnicfPriorityAclIndex=hpnicfPriorityAclIndex, hpnicfRedirectRowStatus=hpnicfRedirectRowStatus, hpnicfRateLimitIpAclNum=hpnicfRateLimitIpAclNum, hpnicfStatisticPacketCount=hpnicfStatisticPacketCount, hpnicfDscpToDropPreMapTable=hpnicfDscpToDropPreMapTable, hpnicfPortWredTable=hpnicfPortWredTable, hpnicfMirroringGroupMirrorVlanID=hpnicfMirroringGroupMirrorVlanID, hpnicfMirrorAclIndex=hpnicfMirrorAclIndex, hpnicfQueueWeight1=hpnicfQueueWeight1, hpnicfRateLimitTargetRateKbps=hpnicfRateLimitTargetRateKbps, hpnicfTrafficShapeIfIndex=hpnicfTrafficShapeIfIndex, hpnicfDscpToLocalPreMapLocalPreVal=hpnicfDscpToLocalPreMapLocalPreVal, hpnicfQueueScheduleMode=hpnicfQueueScheduleMode, hpnicfBandwidthIpAclRule=hpnicfBandwidthIpAclRule, hpnicfRedirectUserAclNum=hpnicfRedirectUserAclNum, hpnicfBandwidthDirection=hpnicfBandwidthDirection, hpnicfTrafficShapeBufferLimit=hpnicfTrafficShapeBufferLimit, hpnicfBandwidthRowStatus=hpnicfBandwidthRowStatus, hpnicfFlowtempIcmpCode=hpnicfFlowtempIcmpCode, hpnicfCosToDscpMapDscpValue=hpnicfCosToDscpMapDscpValue, hpnicfRemarkVlanIDRowStatus=hpnicfRemarkVlanIDRowStatus, hpnicfFlowtempSMac=hpnicfFlowtempSMac, hpnicfRedStopQueueLen=hpnicfRedStopQueueLen, hpnicfMirroringGroupReflectorRowStatus=hpnicfMirroringGroupReflectorRowStatus, hpnicfFlowtempDscp=hpnicfFlowtempDscp, hpnicfLineRateDirection=hpnicfLineRateDirection, hpnicfMirroringGroupEntry=hpnicfMirroringGroupEntry, hpnicfRedirectUserAclRule=hpnicfRedirectUserAclRule, hpnicfMirrorGroupMirrorIfIndexList=hpnicfMirrorGroupMirrorIfIndexList, hpnicfPriorityCosFromIpPre=hpnicfPriorityCosFromIpPre, hpnicfFlowtempEnableEntry=hpnicfFlowtempEnableEntry, hpnicfCosToLocalPrecedenceMapTable=hpnicfCosToLocalPrecedenceMapTable, hpnicfRedirectTable=hpnicfRedirectTable, hpnicfCosToDropPrecedenceMapDropPrecedenceValue=hpnicfCosToDropPrecedenceMapDropPrecedenceValue, hpnicfLswQosAclMib=hpnicfLswQosAclMib, hpnicfRedirectRemarkedDSCP=hpnicfRedirectRemarkedDSCP, hpnicfDscpMapEntry=hpnicfDscpMapEntry, hpnicfExpMapEntry=hpnicfExpMapEntry, hpnicfDscpToDropPreMapEntry=hpnicfDscpToDropPreMapEntry, hpnicfRateLimitConformDscp=hpnicfRateLimitConformDscp, hpnicfRedIfIndex=hpnicfRedIfIndex, hpnicfMirrorDirection=hpnicfMirrorDirection, hpnicfDscpToDscpMapTable=hpnicfDscpToDscpMapTable, hpnicfBandwidthLinkAclRule=hpnicfBandwidthLinkAclRule, hpnicfDscpToCosMapCosValue=hpnicfDscpToCosMapCosValue, hpnicfLineRateTable=hpnicfLineRateTable, hpnicfPortWredQueueStartLength=hpnicfPortWredQueueStartLength, hpnicfPortMirrorTable=hpnicfPortMirrorTable, hpnicfRemarkVlanIDEntry=hpnicfRemarkVlanIDEntry, hpnicfTrafficShapeQueueId=hpnicfTrafficShapeQueueId, hpnicfCosToDscpMapReSet=hpnicfCosToDscpMapReSet, hpnicfRemarkVlanIDAclIndex=hpnicfRemarkVlanIDAclIndex, hpnicfRedirectDirection=hpnicfRedirectDirection, hpnicfWredExponent=hpnicfWredExponent, hpnicfFlowtempVlanId=hpnicfFlowtempVlanId, hpnicfDscpToLocalPreMapEntry=hpnicfDscpToLocalPreMapEntry, hpnicfDscpMapConformLevel=hpnicfDscpMapConformLevel, hpnicfBandwidthAclIndex=hpnicfBandwidthAclIndex, hpnicfPriorityLinkAclRule=hpnicfPriorityLinkAclRule, hpnicfLocalPrecedenceMapCosValue=hpnicfLocalPrecedenceMapCosValue, hpnicfExpMapTable=hpnicfExpMapTable, hpnicfBandwidthLinkAclNum=hpnicfBandwidthLinkAclNum, hpnicfMirrorMacVlanID=hpnicfMirrorMacVlanID, hpnicfRemarkVlanIDLinkAclNum=hpnicfRemarkVlanIDLinkAclNum, hpnicfRateLimitEntry=hpnicfRateLimitEntry, hpnicfFlowtempEnableVlanID=hpnicfFlowtempEnableVlanID, hpnicfRedirectToCpu=hpnicfRedirectToCpu, hpnicfBandwidthMinGuaranteedWidth=hpnicfBandwidthMinGuaranteedWidth, hpnicfMirroringGroupReflectorTable=hpnicfMirroringGroupReflectorTable, hpnicfPriorityPolicedServiceExp=hpnicfPriorityPolicedServiceExp, hpnicfStatisticRowStatus=hpnicfStatisticRowStatus, hpnicfMirroringGroupMirrorVlanTable=hpnicfMirroringGroupMirrorVlanTable, hpnicfPriorityIpAclRule=hpnicfPriorityIpAclRule, hpnicfMirrorIpAclRule=hpnicfMirrorIpAclRule, hpnicfMirroringGroupMirrorMac=hpnicfMirroringGroupMirrorMac, hpnicfRemarkVlanIDRemarkVlanID=hpnicfRemarkVlanIDRemarkVlanID, hpnicfPriorityDirection=hpnicfPriorityDirection, hpnicfPortMirrorRowStatus=hpnicfPortMirrorRowStatus, hpnicfDscpToDscpMapDscpValue=hpnicfDscpToDscpMapDscpValue, hpnicfRateLimitConformActionType=hpnicfRateLimitConformActionType, hpnicfMirroringGroupMirrorMacTable=hpnicfMirroringGroupMirrorMacTable, hpnicfRedirectRuntime=hpnicfRedirectRuntime, hpnicfRateLimitExceedActionType=hpnicfRateLimitExceedActionType, hpnicfMirrorGroupMonitorIfIndex=hpnicfMirrorGroupMonitorIfIndex, hpnicfPriorityIpPre=hpnicfPriorityIpPre, hpnicfRateLimitMeterStatState=hpnicfRateLimitMeterStatState, hpnicfMirroringGroupStatus=hpnicfMirroringGroupStatus, hpnicfQueueEntry=hpnicfQueueEntry, hpnicfPortMonitorBothIfIndex=hpnicfPortMonitorBothIfIndex, hpnicfRateLimitTargetRateMbps=hpnicfRateLimitTargetRateMbps, hpnicfStatisticDirection=hpnicfStatisticDirection, hpnicfMirroringGroupMirroVlanStatus=hpnicfMirroringGroupMirroVlanStatus, hpnicfPriorityPolicedServiceLoaclPre=hpnicfPriorityPolicedServiceLoaclPre, hpnicfRedLinkAclNum=hpnicfRedLinkAclNum, hpnicfExpMapLocalPrecedence=hpnicfExpMapLocalPrecedence, hpnicfFlowtempCos=hpnicfFlowtempCos, hpnicfRedirectIpAclRule=hpnicfRedirectIpAclRule, hpnicfRateLimitRuntime=hpnicfRateLimitRuntime, hpnicfMirrorGroupID=hpnicfMirrorGroupID, hpnicfMirroringGroupRowStatus=hpnicfMirroringGroupRowStatus, hpnicfMirroringGroupMirrorMacEntry=hpnicfMirroringGroupMirrorMacEntry, hpnicfMirroringGroupMirrorMacSeq=hpnicfMirroringGroupMirrorMacSeq, hpnicfMirroringGroupMonitorRowStatus=hpnicfMirroringGroupMonitorRowStatus, hpnicfWredGreenMaxProb=hpnicfWredGreenMaxProb, hpnicfStatisticCountClear=hpnicfStatisticCountClear, hpnicfMirrorToGroup=hpnicfMirrorToGroup, hpnicfBandwidthMaxGuaranteedWidth=hpnicfBandwidthMaxGuaranteedWidth, hpnicfDscpMapDropPrecedence=hpnicfDscpMapDropPrecedence, hpnicfMirrorIpAclNum=hpnicfMirrorIpAclNum, hpnicfStatisticIpAclRule=hpnicfStatisticIpAclRule, hpnicfBandwidthIpAclNum=hpnicfBandwidthIpAclNum, hpnicfRedRuntime=hpnicfRedRuntime, hpnicfMirrorTable=hpnicfMirrorTable, hpnicfFlowtempDPort=hpnicfFlowtempDPort, hpnicfPriorityVlanID=hpnicfPriorityVlanID, hpnicfDropModeIfIndex=hpnicfDropModeIfIndex, hpnicfMirrorLinkAclRule=hpnicfMirrorLinkAclRule, hpnicfPriorityTrustMode=hpnicfPriorityTrustMode, hpnicfRemarkVlanIDVlanID=hpnicfRemarkVlanIDVlanID, hpnicfRedirectToNestedVlanID=hpnicfRedirectToNestedVlanID, hpnicfRedirectMode=hpnicfRedirectMode, PYSNMP_MODULE_ID=hpnicfLswQosAclMib, hpnicfStatisticLinkAclRule=hpnicfStatisticLinkAclRule, hpnicfLocalPrecedenceMapLocalPrecedenceIndex=hpnicfLocalPrecedenceMapLocalPrecedenceIndex, hpnicfCosToLocalPrecedenceMapEntry=hpnicfCosToLocalPrecedenceMapEntry, hpnicfLineRateEntry=hpnicfLineRateEntry, hpnicfPriorityLocalPre=hpnicfPriorityLocalPre, hpnicfPortMirrorDirection=hpnicfPortMirrorDirection, hpnicfRemarkVlanIDUserAclRule=hpnicfRemarkVlanIDUserAclRule, hpnicfDscpToDropPreMapDscpIndex=hpnicfDscpToDropPreMapDscpIndex, hpnicfPriorityUserAclRule=hpnicfPriorityUserAclRule, hpnicfExpMapExpIndex=hpnicfExpMapExpIndex, hpnicfBandwidthVlanID=hpnicfBandwidthVlanID, hpnicfCosToDscpMapEntry=hpnicfCosToDscpMapEntry, hpnicfRedirectToSlotNo=hpnicfRedirectToSlotNo, hpnicfRateLimitIpAclRule=hpnicfRateLimitIpAclRule, hpnicfMirrorToCpu=hpnicfMirrorToCpu, hpnicfRedEntry=hpnicfRedEntry, hpnicfRemarkVlanIDPacketType=hpnicfRemarkVlanIDPacketType)
mibBuilder.exportSymbols('HPN-ICF-LswQos-MIB', hpnicfRedDirection=hpnicfRedDirection, hpnicfFlowtempDIp=hpnicfFlowtempDIp, hpnicfRedirectTargetVlanID=hpnicfRedirectTargetVlanID, hpnicfMirroringGroupTable=hpnicfMirroringGroupTable, hpnicfRateLimitConformLocalPre=hpnicfRateLimitConformLocalPre, hpnicfMirroringGroupMonitorEntry=hpnicfMirroringGroupMonitorEntry, hpnicfRateLimitLinkAclNum=hpnicfRateLimitLinkAclNum, hpnicfQueueWeight8=hpnicfQueueWeight8, hpnicfFlowtempSIp=hpnicfFlowtempSIp, hpnicfWredGreenMaxThreshold=hpnicfWredGreenMaxThreshold, hpnicfDscpToCosMapEntry=hpnicfDscpToCosMapEntry, hpnicfPriorityIpAclNum=hpnicfPriorityIpAclNum, hpnicfQueueWeight6=hpnicfQueueWeight6, hpnicfDscpToDscpMapDscpIndex=hpnicfDscpToDscpMapDscpIndex, hpnicfPriorityTable=hpnicfPriorityTable, hpnicfMirroringGroupMirrorInboundIfIndexList=hpnicfMirroringGroupMirrorInboundIfIndexList, hpnicfPriorityDscp=hpnicfPriorityDscp, hpnicfRateLimitMeterStatByteXCount=hpnicfRateLimitMeterStatByteXCount, hpnicfDscpToDropPreMapDropPreVal=hpnicfDscpToDropPreMapDropPreVal, hpnicfRedirectIfIndex=hpnicfRedirectIfIndex, hpnicfMirrorLinkAclNum=hpnicfMirrorLinkAclNum, hpnicfPortQueueQueueID=hpnicfPortQueueQueueID, hpnicfMirrorGroupDirection=hpnicfMirrorGroupDirection, hpnicfFlowtempVpn=hpnicfFlowtempVpn, hpnicfPortWredEntry=hpnicfPortWredEntry, hpnicfDscpToCosMapDscpIndex=hpnicfDscpToCosMapDscpIndex, hpnicfRemarkVlanIDTable=hpnicfRemarkVlanIDTable, hpnicfFlowtempRowStatus=hpnicfFlowtempRowStatus, hpnicfCosToDropPrecedenceMapCosIndex=hpnicfCosToDropPrecedenceMapCosIndex, hpnicfRemarkVlanIDIfIndex=hpnicfRemarkVlanIDIfIndex, hpnicfPortWredQueueID=hpnicfPortWredQueueID, hpnicfExpMapCosValue=hpnicfExpMapCosValue, hpnicfDscpMapLocalPrecedence=hpnicfDscpMapLocalPrecedence, hpnicfPriorityIpPreFromCos=hpnicfPriorityIpPreFromCos, hpnicfDropModeTable=hpnicfDropModeTable, hpnicfMirroringGroupRprobeVlanRowStatus=hpnicfMirroringGroupRprobeVlanRowStatus, hpnicfPriorityUserAclNum=hpnicfPriorityUserAclNum, hpnicfPortTrustTrustType=hpnicfPortTrustTrustType, hpnicfFlowtempEnableIfIndex=hpnicfFlowtempEnableIfIndex, hpnicfPortTrustReset=hpnicfPortTrustReset, hpnicfMirrorGroupEntry=hpnicfMirrorGroupEntry, hpnicfFlowtempIpPre=hpnicfFlowtempIpPre, hpnicfPriorityPolicedServiceCos=hpnicfPriorityPolicedServiceCos, hpnicfMirroringGroupMonitorIfIndex=hpnicfMirroringGroupMonitorIfIndex, hpnicfFlowtempEnableTable=hpnicfFlowtempEnableTable, hpnicfCosToDropPrecedenceMapTable=hpnicfCosToDropPrecedenceMapTable, hpnicfStatisticIpAclNum=hpnicfStatisticIpAclNum, hpnicfStatisticPacketXCount=hpnicfStatisticPacketXCount, hpnicfFlowtempFragment=hpnicfFlowtempFragment, hpnicfTrafficShapeEntry=hpnicfTrafficShapeEntry, hpnicfRedirectLinkAclNum=hpnicfRedirectLinkAclNum, hpnicfWredRedMaxProb=hpnicfWredRedMaxProb, hpnicfMirroringGroupMirrorEntry=hpnicfMirroringGroupMirrorEntry, hpnicfTrafficShapeRowStatus=hpnicfTrafficShapeRowStatus, hpnicfStatisticLinkAclNum=hpnicfStatisticLinkAclNum, hpnicfDscpToCosMapTable=hpnicfDscpToCosMapTable, hpnicfRateLimitExceedDscp=hpnicfRateLimitExceedDscp, hpnicfLineRateValue=hpnicfLineRateValue, hpnicfRemarkVlanIDIpAclRule=hpnicfRemarkVlanIDIpAclRule, hpnicfMirroringGroupReflectorIfIndex=hpnicfMirroringGroupReflectorIfIndex, hpnicfStatisticRuntime=hpnicfStatisticRuntime, hpnicfRateLimitCBS=hpnicfRateLimitCBS, hpnicfRedRowStatus=hpnicfRedRowStatus, hpnicfRemarkVlanIDDirection=hpnicfRemarkVlanIDDirection, hpnicfStatisticVlanID=hpnicfStatisticVlanID, hpnicfQueueIfIndex=hpnicfQueueIfIndex, hpnicfLswQosMibObject=hpnicfLswQosMibObject, hpnicfLocalPrecedenceMapConformLevel=hpnicfLocalPrecedenceMapConformLevel, hpnicfRateLimitRowStatus=hpnicfRateLimitRowStatus, hpnicfPriorityIfIndex=hpnicfPriorityIfIndex, hpnicfRateLimitIfIndex=hpnicfRateLimitIfIndex, hpnicfRateLimitEBS=hpnicfRateLimitEBS, hpnicfMirroringGroupMirroMacStatus=hpnicfMirroringGroupMirroMacStatus, hpnicfRateLimitDirection=hpnicfRateLimitDirection, hpnicfPortQueueEntry=hpnicfPortQueueEntry, hpnicfCosToDscpMapCosIndex=hpnicfCosToDscpMapCosIndex, hpnicfFlowtempSMacMask=hpnicfFlowtempSMacMask, hpnicfRedirectIpAclNum=hpnicfRedirectIpAclNum, hpnicfRedTable=hpnicfRedTable, hpnicfFlowtempTable=hpnicfFlowtempTable, hpnicfPortWredIfIndex=hpnicfPortWredIfIndex, hpnicfRedIpAclRule=hpnicfRedIpAclRule, hpnicfWredTable=hpnicfWredTable, hpnicfRedLinkAclRule=hpnicfRedLinkAclRule, hpnicfDscpMapTable=hpnicfDscpMapTable, hpnicfWredYellowMaxThreshold=hpnicfWredYellowMaxThreshold, hpnicfDscpToDscpMapEntry=hpnicfDscpToDscpMapEntry, hpnicfFlowtempIpProtocol=hpnicfFlowtempIpProtocol, hpnicfQueueWeight7=hpnicfQueueWeight7, hpnicfDscpToLocalPreMapDscpIndex=hpnicfDscpToLocalPreMapDscpIndex, hpnicfMirroringGroupMirrorVlanDirection=hpnicfMirroringGroupMirrorVlanDirection, hpnicfRateLimitExceedCos=hpnicfRateLimitExceedCos, hpnicfPortMirrorEntry=hpnicfPortMirrorEntry, hpnicfRedirectToModifiedVlanID=hpnicfRedirectToModifiedVlanID, hpnicfDscpMapExpValue=hpnicfDscpMapExpValue, hpnicfPriorityPolicedServiceDropPriority=hpnicfPriorityPolicedServiceDropPriority, hpnicfMirrorGroupTable=hpnicfMirrorGroupTable, hpnicfRedirectToIfIndex=hpnicfRedirectToIfIndex, hpnicfQueueTable=hpnicfQueueTable, hpnicfRedirectToNextHop2=hpnicfRedirectToNextHop2, hpnicfRateLimitUserAclRule=hpnicfRateLimitUserAclRule, hpnicfFlowtempDMacMask=hpnicfFlowtempDMacMask, hpnicfWredIndex=hpnicfWredIndex, hpnicfDropModeWredIndex=hpnicfDropModeWredIndex, hpnicfWredQueueId=hpnicfWredQueueId, hpnicfLineRateIfIndex=hpnicfLineRateIfIndex, hpnicfBandwidthRuntime=hpnicfBandwidthRuntime, hpnicfDscpToCosMapReset=hpnicfDscpToCosMapReset, hpnicfQueueWeight5=hpnicfQueueWeight5, hpnicfMirroringGroupMirrorTable=hpnicfMirroringGroupMirrorTable, hpnicfPriorityLinkAclNum=hpnicfPriorityLinkAclNum, hpnicfPortWredQueueProbability=hpnicfPortWredQueueProbability, hpnicfBandwidthEntry=hpnicfBandwidthEntry, hpnicfTrafficShapeMaxRate=hpnicfTrafficShapeMaxRate, hpnicfMirroringGroupRprobeVlanEntry=hpnicfMirroringGroupRprobeVlanEntry, hpnicfRedAclIndex=hpnicfRedAclIndex, hpnicfFlowtempTos=hpnicfFlowtempTos, hpnicfMirrorRuntime=hpnicfMirrorRuntime) |
class Solution:
def permute(self, nums: List[int]) -> List[List[int]]:
res = []
self.bt(nums, [], res)
return res
def bt(self, nums, tempList, res):
if len(tempList) == len(nums):
res.append(tempList)
return
for i in range(len(nums)):
if nums[i] in tempList:
continue
self.bt(nums, tempList+[nums[i]], res) | class Solution:
def permute(self, nums: List[int]) -> List[List[int]]:
res = []
self.bt(nums, [], res)
return res
def bt(self, nums, tempList, res):
if len(tempList) == len(nums):
res.append(tempList)
return
for i in range(len(nums)):
if nums[i] in tempList:
continue
self.bt(nums, tempList + [nums[i]], res) |
"""Learners"""
NAME = "Model"
DESCRIPTION = "Prediction."
BACKGROUND = "#FAC1D9"
ICON = "icons/Category-Model.svg"
PRIORITY = 4
| """Learners"""
name = 'Model'
description = 'Prediction.'
background = '#FAC1D9'
icon = 'icons/Category-Model.svg'
priority = 4 |
"""
Specification of canopies
"""
class Canopy(object):
def __init__(self, **kwargs):
self.d = kwargs.get('d', None)
self._check()
def _check(self):
assert self.d is not None, 'Vegetation height needs to be given'
class OneLayer(Canopy):
"""
define a homogeneous one layer canopy
"""
def __init__(self, **kwargs):
super(OneLayer, self).__init__(**kwargs)
self.ke_h = kwargs.get('ke_h', None)
self.ke_v = kwargs.get('ke_v', None)
assert self.ke_h is not None
assert self.ke_v is not None
self.ks_h = kwargs.get('ks_h', None)
self.ks_v = kwargs.get('ks_v', None)
assert self.ks_h is not None
assert self.ks_v is not None
| """
Specification of canopies
"""
class Canopy(object):
def __init__(self, **kwargs):
self.d = kwargs.get('d', None)
self._check()
def _check(self):
assert self.d is not None, 'Vegetation height needs to be given'
class Onelayer(Canopy):
"""
define a homogeneous one layer canopy
"""
def __init__(self, **kwargs):
super(OneLayer, self).__init__(**kwargs)
self.ke_h = kwargs.get('ke_h', None)
self.ke_v = kwargs.get('ke_v', None)
assert self.ke_h is not None
assert self.ke_v is not None
self.ks_h = kwargs.get('ks_h', None)
self.ks_v = kwargs.get('ks_v', None)
assert self.ks_h is not None
assert self.ks_v is not None |
def bubble_sort(alist):
for _ in range(len(alist)-1,0,-1):
for i in range(_):
if alist[i] > alist[i+1]:
alist[i+1],alist[i] = alist[i],alist[i+1]
return alist
print(bubble_sort([1,4,2,3,9,0]))
| def bubble_sort(alist):
for _ in range(len(alist) - 1, 0, -1):
for i in range(_):
if alist[i] > alist[i + 1]:
(alist[i + 1], alist[i]) = (alist[i], alist[i + 1])
return alist
print(bubble_sort([1, 4, 2, 3, 9, 0])) |
(n, k) = map(int, input().split())
cnt = 0
arr = [0 for _ in range(0, n + 1)]
for i in range(2, n + 1):
for j in range(i, n + 1, i):
if arr[j] != 0:
continue
arr[j] = 1
cnt += 1
if cnt == k:
print(j)
exit(0) | (n, k) = map(int, input().split())
cnt = 0
arr = [0 for _ in range(0, n + 1)]
for i in range(2, n + 1):
for j in range(i, n + 1, i):
if arr[j] != 0:
continue
arr[j] = 1
cnt += 1
if cnt == k:
print(j)
exit(0) |
def strangeCounter(t):
initial = 3
j = 3 + 1
time = 0
while True:
time += 1
j -= 1
if t > time -1 + initial:
time += initial -1
initial = initial * 2
j = initial + 1
continue
return j - (t - time)
if __name__ == "__main__":
print(strangeCounter(17)) | def strange_counter(t):
initial = 3
j = 3 + 1
time = 0
while True:
time += 1
j -= 1
if t > time - 1 + initial:
time += initial - 1
initial = initial * 2
j = initial + 1
continue
return j - (t - time)
if __name__ == '__main__':
print(strange_counter(17)) |
'''
Description: exercise: day old bread
Version: 1.0.1.20210114
Author: Arvin Zhao
Date: 2021-01-13 06:12:15
Last Editors: Arvin Zhao
LastEditTime: 2021-01-14 03:49:47
'''
def print_receipt(loaf_num: int, regular_per_price: float, discount_rate: float) -> None:
'''
Calculate and print the regular price for loaves of bread, as well as the discount and the actual price for the day old bread.
Parameters
----------
loaf_num : the number of loaves of day old bread
regular_per_price : the regular price for loaves of bread for each
discount_rate : the rate of the discount for the day old bread
'''
regular_price = loaf_num * regular_per_price # Calculate the regular price for loaves of bread.
discount = regular_price * discount_rate # Calculate the discount for the bread because of a day old.
total_price = regular_price - discount # Calculate the actual price for the day old bread.
print('Regular price:', '%.2f' % regular_price)
print('Discount:', '- %.2f' % discount)
print('Total price:', '%.2f' % total_price)
if __name__ == '__main__':
while True:
loaf_num = input('Enter the number of loaves of day old bread being purchased: ')
if loaf_num.isdigit():
print_receipt(int(loaf_num), 3.49, 0.6)
break
else:
print('Error! Non-negative integer please!') | """
Description: exercise: day old bread
Version: 1.0.1.20210114
Author: Arvin Zhao
Date: 2021-01-13 06:12:15
Last Editors: Arvin Zhao
LastEditTime: 2021-01-14 03:49:47
"""
def print_receipt(loaf_num: int, regular_per_price: float, discount_rate: float) -> None:
"""
Calculate and print the regular price for loaves of bread, as well as the discount and the actual price for the day old bread.
Parameters
----------
loaf_num : the number of loaves of day old bread
regular_per_price : the regular price for loaves of bread for each
discount_rate : the rate of the discount for the day old bread
"""
regular_price = loaf_num * regular_per_price
discount = regular_price * discount_rate
total_price = regular_price - discount
print('Regular price:', '%.2f' % regular_price)
print('Discount:', '- %.2f' % discount)
print('Total price:', '%.2f' % total_price)
if __name__ == '__main__':
while True:
loaf_num = input('Enter the number of loaves of day old bread being purchased: ')
if loaf_num.isdigit():
print_receipt(int(loaf_num), 3.49, 0.6)
break
else:
print('Error! Non-negative integer please!') |
{
"includes": [
"../../common.gypi"
],
'target_defaults': {
'default_configuration': 'Release',
'cflags':[
'-std=c99'
],
'configurations': {
'Debug': {
'defines': [ 'DEBUG', '_DEBUG' ],
},
'Release': {
'defines': [ 'NDEBUG' ],
}
},
'conditions': [
['OS == "win"', {
'defines': [
'WIN32'
],
}]
],
},
'targets': [
{
'target_name': 'libsqlite',
'type': 'static_library',
'include_dirs': [ './sqlite' ],
'sources': [
'./sqlite/sqlite3.c'
],
'direct_dependent_settings': {
'include_dirs': [ './sqlite' ],
'defines': [
'SQLITE_THREADSAFE=1',
'HAVE_USLEEP=1',
'SQLITE_ENABLE_FTS3',
'SQLITE_ENABLE_FTS4',
'SQLITE_ENABLE_FTS5',
'SQLITE_ENABLE_JSON1',
'SQLITE_ENABLE_RTREE'
],
},
'cflags_cc': [
'-Wno-unused-value'
],
'defines': [
'_REENTRANT=1',
'SQLITE_THREADSAFE=1',
'HAVE_USLEEP=1',
'SQLITE_ENABLE_FTS3',
'SQLITE_ENABLE_FTS4',
'SQLITE_ENABLE_FTS5',
'SQLITE_ENABLE_JSON1',
'SQLITE_ENABLE_RTREE'
]
}
]
}
| {'includes': ['../../common.gypi'], 'target_defaults': {'default_configuration': 'Release', 'cflags': ['-std=c99'], 'configurations': {'Debug': {'defines': ['DEBUG', '_DEBUG']}, 'Release': {'defines': ['NDEBUG']}}, 'conditions': [['OS == "win"', {'defines': ['WIN32']}]]}, 'targets': [{'target_name': 'libsqlite', 'type': 'static_library', 'include_dirs': ['./sqlite'], 'sources': ['./sqlite/sqlite3.c'], 'direct_dependent_settings': {'include_dirs': ['./sqlite'], 'defines': ['SQLITE_THREADSAFE=1', 'HAVE_USLEEP=1', 'SQLITE_ENABLE_FTS3', 'SQLITE_ENABLE_FTS4', 'SQLITE_ENABLE_FTS5', 'SQLITE_ENABLE_JSON1', 'SQLITE_ENABLE_RTREE']}, 'cflags_cc': ['-Wno-unused-value'], 'defines': ['_REENTRANT=1', 'SQLITE_THREADSAFE=1', 'HAVE_USLEEP=1', 'SQLITE_ENABLE_FTS3', 'SQLITE_ENABLE_FTS4', 'SQLITE_ENABLE_FTS5', 'SQLITE_ENABLE_JSON1', 'SQLITE_ENABLE_RTREE']}]} |
#!/usr/bin/python3
""" This challenge is as follows:
Given an int n, return the absolute difference
between n and 21, except return double the
absolute difference if n is over 21.
Expected Results:
19 -> 2
10 -> 11
21 -> 0 """
def diff21(n):
# This part is where the challenge is supposed to be solved
return (n - 21)*2 if n > 21 else (21 - n)
if __name__ == '__main__':
# This part is only to test if challenge is a success
print("Scenario 1: 19: {}".format("success" if diff21(19) == 2 else "fail"))
print("Scenario 2: 10: {}".format("success" if diff21(10) == 11 else "fail"))
print("Scenario 3: 21: {}".format("success" if diff21(21) == 0 else "fail"))
print("Scenario 4: 22: {}".format("success" if diff21(22) == 2 else "fail"))
print("Scenario 5: -2: {}".format("success" if diff21(-2) == 23 else "fail"))
print("Scenario 6: 50: {}".format("success" if diff21(50) == 58 else "fail"))
| """ This challenge is as follows:
Given an int n, return the absolute difference
between n and 21, except return double the
absolute difference if n is over 21.
Expected Results:
19 -> 2
10 -> 11
21 -> 0 """
def diff21(n):
return (n - 21) * 2 if n > 21 else 21 - n
if __name__ == '__main__':
print('Scenario 1: 19: {}'.format('success' if diff21(19) == 2 else 'fail'))
print('Scenario 2: 10: {}'.format('success' if diff21(10) == 11 else 'fail'))
print('Scenario 3: 21: {}'.format('success' if diff21(21) == 0 else 'fail'))
print('Scenario 4: 22: {}'.format('success' if diff21(22) == 2 else 'fail'))
print('Scenario 5: -2: {}'.format('success' if diff21(-2) == 23 else 'fail'))
print('Scenario 6: 50: {}'.format('success' if diff21(50) == 58 else 'fail')) |
data = [
["Total Bill","Tip","Payer Gender","Payer Smoker","Day of Week","Meal","Party Size"],
[16.99,1.01,"Female","Non-Smoker","Sunday","Dinner",2],
[10.34,1.66,"Male","Non-Smoker","Sunday","Dinner",3],
[21.01,3.5,"Male","Non-Smoker","Sunday","Dinner",3],
[23.68,3.31,"Male","Non-Smoker","Sunday","Dinner",2],
[24.59,3.61,"Female","Non-Smoker","Sunday","Dinner",4],
[25.29,4.71,"Male","Non-Smoker","Sunday","Dinner",4],
[8.77,2,"Male","Non-Smoker","Sunday","Dinner",2],
[26.88,3.12,"Male","Non-Smoker","Sunday","Dinner",4],
[15.04,1.96,"Male","Non-Smoker","Sunday","Dinner",2],
[14.78,3.23,"Male","Non-Smoker","Sunday","Dinner",2],
[10.27,1.71,"Male","Non-Smoker","Sunday","Dinner",2],
[35.26,5,"Female","Non-Smoker","Sunday","Dinner",4],
[15.42,1.57,"Male","Non-Smoker","Sunday","Dinner",2],
[18.43,3,"Male","Non-Smoker","Sunday","Dinner",4],
[14.83,3.02,"Female","Non-Smoker","Sunday","Dinner",2],
[21.58,3.92,"Male","Non-Smoker","Sunday","Dinner",2],
[10.33,1.67,"Female","Non-Smoker","Sunday","Dinner",3],
[16.29,3.71,"Male","Non-Smoker","Sunday","Dinner",3],
[16.97,3.5,"Female","Non-Smoker","Sunday","Dinner",3],
[20.65,3.35,"Male","Non-Smoker","Saturday","Dinner",3],
[17.92,4.08,"Male","Non-Smoker","Saturday","Dinner",2],
[20.29,2.75,"Female","Non-Smoker","Saturday","Dinner",2],
[15.77,2.23,"Female","Non-Smoker","Saturday","Dinner",2],
[39.42,7.58,"Male","Non-Smoker","Saturday","Dinner",4],
[19.82,3.18,"Male","Non-Smoker","Saturday","Dinner",2],
[17.81,2.34,"Male","Non-Smoker","Saturday","Dinner",4],
[13.37,2,"Male","Non-Smoker","Saturday","Dinner",2],
[12.69,2,"Male","Non-Smoker","Saturday","Dinner",2],
[21.7,4.3,"Male","Non-Smoker","Saturday","Dinner",2],
[19.65,3,"Female","Non-Smoker","Saturday","Dinner",2],
[9.55,1.45,"Male","Non-Smoker","Saturday","Dinner",2],
[18.35,2.5,"Male","Non-Smoker","Saturday","Dinner",4],
[15.06,3,"Female","Non-Smoker","Saturday","Dinner",2],
[20.69,2.45,"Female","Non-Smoker","Saturday","Dinner",4],
[17.78,3.27,"Male","Non-Smoker","Saturday","Dinner",2],
[24.06,3.6,"Male","Non-Smoker","Saturday","Dinner",3],
[16.31,2,"Male","Non-Smoker","Saturday","Dinner",3],
[16.93,3.07,"Female","Non-Smoker","Saturday","Dinner",3],
[18.69,2.31,"Male","Non-Smoker","Saturday","Dinner",3],
[31.27,5,"Male","Non-Smoker","Saturday","Dinner",3],
[16.04,2.24,"Male","Non-Smoker","Saturday","Dinner",3],
[17.46,2.54,"Male","Non-Smoker","Sunday","Dinner",2],
[13.94,3.06,"Male","Non-Smoker","Sunday","Dinner",2],
[9.68,1.32,"Male","Non-Smoker","Sunday","Dinner",2],
[30.4,5.6,"Male","Non-Smoker","Sunday","Dinner",4],
[18.29,3,"Male","Non-Smoker","Sunday","Dinner",2],
[22.23,5,"Male","Non-Smoker","Sunday","Dinner",2],
[32.4,6,"Male","Non-Smoker","Sunday","Dinner",4],
[28.55,2.05,"Male","Non-Smoker","Sunday","Dinner",3],
[18.04,3,"Male","Non-Smoker","Sunday","Dinner",2],
[12.54,2.5,"Male","Non-Smoker","Sunday","Dinner",2],
[10.29,2.6,"Female","Non-Smoker","Sunday","Dinner",2],
[34.81,5.2,"Female","Non-Smoker","Sunday","Dinner",4],
[9.94,1.56,"Male","Non-Smoker","Sunday","Dinner",2],
[25.56,4.34,"Male","Non-Smoker","Sunday","Dinner",4],
[19.49,3.51,"Male","Non-Smoker","Sunday","Dinner",2],
[38.01,3,"Male","Smoker","Saturday","Dinner",4],
[26.41,1.5,"Female","Non-Smoker","Saturday","Dinner",2],
[11.24,1.76,"Male","Smoker","Saturday","Dinner",2],
[48.27,6.73,"Male","Non-Smoker","Saturday","Dinner",4],
[20.29,3.21,"Male","Smoker","Saturday","Dinner",2],
[13.81,2,"Male","Smoker","Saturday","Dinner",2],
[11.02,1.98,"Male","Smoker","Saturday","Dinner",2],
[18.29,3.76,"Male","Smoker","Saturday","Dinner",4],
[17.59,2.64,"Male","Non-Smoker","Saturday","Dinner",3],
[20.08,3.15,"Male","Non-Smoker","Saturday","Dinner",3],
[16.45,2.47,"Female","Non-Smoker","Saturday","Dinner",2],
[3.07,1,"Female","Smoker","Saturday","Dinner",1],
[20.23,2.01,"Male","Non-Smoker","Saturday","Dinner",2],
[15.01,2.09,"Male","Smoker","Saturday","Dinner",2],
[12.02,1.97,"Male","Non-Smoker","Saturday","Dinner",2],
[17.07,3,"Female","Non-Smoker","Saturday","Dinner",3],
[26.86,3.14,"Female","Smoker","Saturday","Dinner",2],
[25.28,5,"Female","Smoker","Saturday","Dinner",2],
[14.73,2.2,"Female","Non-Smoker","Saturday","Dinner",2],
[10.51,1.25,"Male","Non-Smoker","Saturday","Dinner",2],
[17.92,3.08,"Male","Smoker","Saturday","Dinner",2],
[27.2,4,"Male","Non-Smoker","Thursday","Lunch",4],
[22.76,3,"Male","Non-Smoker","Thursday","Lunch",2],
[17.29,2.71,"Male","Non-Smoker","Thursday","Lunch",2],
[19.44,3,"Male","Smoker","Thursday","Lunch",2],
[16.66,3.4,"Male","Non-Smoker","Thursday","Lunch",2],
[10.07,1.83,"Female","Non-Smoker","Thursday","Lunch",1],
[32.68,5,"Male","Smoker","Thursday","Lunch",2],
[15.98,2.03,"Male","Non-Smoker","Thursday","Lunch",2],
[34.83,5.17,"Female","Non-Smoker","Thursday","Lunch",4],
[13.03,2,"Male","Non-Smoker","Thursday","Lunch",2],
[18.28,4,"Male","Non-Smoker","Thursday","Lunch",2],
[24.71,5.85,"Male","Non-Smoker","Thursday","Lunch",2],
[21.16,3,"Male","Non-Smoker","Thursday","Lunch",2],
[28.97,3,"Male","Smoker","Friday","Dinner",2],
[22.49,3.5,"Male","Non-Smoker","Friday","Dinner",2],
[5.75,1,"Female","Smoker","Friday","Dinner",2],
[16.32,4.3,"Female","Smoker","Friday","Dinner",2],
[22.75,3.25,"Female","Non-Smoker","Friday","Dinner",2],
[40.17,4.73,"Male","Smoker","Friday","Dinner",4],
[27.28,4,"Male","Smoker","Friday","Dinner",2],
[12.03,1.5,"Male","Smoker","Friday","Dinner",2],
[21.01,3,"Male","Smoker","Friday","Dinner",2],
[12.46,1.5,"Male","Non-Smoker","Friday","Dinner",2],
[11.35,2.5,"Female","Smoker","Friday","Dinner",2],
[15.38,3,"Female","Smoker","Friday","Dinner",2],
[44.3,2.5,"Female","Smoker","Saturday","Dinner",3],
[22.42,3.48,"Female","Smoker","Saturday","Dinner",2],
[20.92,4.08,"Female","Non-Smoker","Saturday","Dinner",2],
[15.36,1.64,"Male","Smoker","Saturday","Dinner",2],
[20.49,4.06,"Male","Smoker","Saturday","Dinner",2],
[25.21,4.29,"Male","Smoker","Saturday","Dinner",2],
[18.24,3.76,"Male","Non-Smoker","Saturday","Dinner",2],
[14.31,4,"Female","Smoker","Saturday","Dinner",2],
[14,3,"Male","Non-Smoker","Saturday","Dinner",2],
[7.25,1,"Female","Non-Smoker","Saturday","Dinner",1],
[38.07,4,"Male","Non-Smoker","Sunday","Dinner",3],
[23.95,2.55,"Male","Non-Smoker","Sunday","Dinner",2],
[25.71,4,"Female","Non-Smoker","Sunday","Dinner",3],
[17.31,3.5,"Female","Non-Smoker","Sunday","Dinner",2],
[29.93,5.07,"Male","Non-Smoker","Sunday","Dinner",4],
[10.65,1.5,"Female","Non-Smoker","Thursday","Lunch",2],
[12.43,1.8,"Female","Non-Smoker","Thursday","Lunch",2],
[24.08,2.92,"Female","Non-Smoker","Thursday","Lunch",4],
[11.69,2.31,"Male","Non-Smoker","Thursday","Lunch",2],
[13.42,1.68,"Female","Non-Smoker","Thursday","Lunch",2],
[14.26,2.5,"Male","Non-Smoker","Thursday","Lunch",2],
[15.95,2,"Male","Non-Smoker","Thursday","Lunch",2],
[12.48,2.52,"Female","Non-Smoker","Thursday","Lunch",2],
[29.8,4.2,"Female","Non-Smoker","Thursday","Lunch",6],
[8.52,1.48,"Male","Non-Smoker","Thursday","Lunch",2],
[14.52,2,"Female","Non-Smoker","Thursday","Lunch",2],
[11.38,2,"Female","Non-Smoker","Thursday","Lunch",2],
[22.82,2.18,"Male","Non-Smoker","Thursday","Lunch",3],
[19.08,1.5,"Male","Non-Smoker","Thursday","Lunch",2],
[20.27,2.83,"Female","Non-Smoker","Thursday","Lunch",2],
[11.17,1.5,"Female","Non-Smoker","Thursday","Lunch",2],
[12.26,2,"Female","Non-Smoker","Thursday","Lunch",2],
[18.26,3.25,"Female","Non-Smoker","Thursday","Lunch",2],
[8.51,1.25,"Female","Non-Smoker","Thursday","Lunch",2],
[10.33,2,"Female","Non-Smoker","Thursday","Lunch",2],
[14.15,2,"Female","Non-Smoker","Thursday","Lunch",2],
[16,2,"Male","Smoker","Thursday","Lunch",2],
[13.16,2.75,"Female","Non-Smoker","Thursday","Lunch",2],
[17.47,3.5,"Female","Non-Smoker","Thursday","Lunch",2],
[34.3,6.7,"Male","Non-Smoker","Thursday","Lunch",6],
[41.19,5,"Male","Non-Smoker","Thursday","Lunch",5],
[27.05,5,"Female","Non-Smoker","Thursday","Lunch",6],
[16.43,2.3,"Female","Non-Smoker","Thursday","Lunch",2],
[8.35,1.5,"Female","Non-Smoker","Thursday","Lunch",2],
[18.64,1.36,"Female","Non-Smoker","Thursday","Lunch",3],
[11.87,1.63,"Female","Non-Smoker","Thursday","Lunch",2],
[9.78,1.73,"Male","Non-Smoker","Thursday","Lunch",2],
[7.51,2,"Male","Non-Smoker","Thursday","Lunch",2],
[14.07,2.5,"Male","Non-Smoker","Sunday","Dinner",2],
[13.13,2,"Male","Non-Smoker","Sunday","Dinner",2],
[17.26,2.74,"Male","Non-Smoker","Sunday","Dinner",3],
[24.55,2,"Male","Non-Smoker","Sunday","Dinner",4],
[19.77,2,"Male","Non-Smoker","Sunday","Dinner",4],
[29.85,5.14,"Female","Non-Smoker","Sunday","Dinner",5],
[48.17,5,"Male","Non-Smoker","Sunday","Dinner",6],
[25,3.75,"Female","Non-Smoker","Sunday","Dinner",4],
[13.39,2.61,"Female","Non-Smoker","Sunday","Dinner",2],
[16.49,2,"Male","Non-Smoker","Sunday","Dinner",4],
[21.5,3.5,"Male","Non-Smoker","Sunday","Dinner",4],
[12.66,2.5,"Male","Non-Smoker","Sunday","Dinner",2],
[16.21,2,"Female","Non-Smoker","Sunday","Dinner",3],
[13.81,2,"Male","Non-Smoker","Sunday","Dinner",2],
[17.51,3,"Female","Smoker","Sunday","Dinner",2],
[24.52,3.48,"Male","Non-Smoker","Sunday","Dinner",3],
[20.76,2.24,"Male","Non-Smoker","Sunday","Dinner",2],
[31.71,4.5,"Male","Non-Smoker","Sunday","Dinner",4],
[10.59,1.61,"Female","Smoker","Saturday","Dinner",2],
[10.63,2,"Female","Smoker","Saturday","Dinner",2],
[50.81,10,"Male","Smoker","Saturday","Dinner",3],
[15.81,3.16,"Male","Smoker","Saturday","Dinner",2],
[7.25,5.15,"Male","Smoker","Sunday","Dinner",2],
[31.85,3.18,"Male","Smoker","Sunday","Dinner",2],
[16.82,4,"Male","Smoker","Sunday","Dinner",2],
[32.9,3.11,"Male","Smoker","Sunday","Dinner",2],
[17.89,2,"Male","Smoker","Sunday","Dinner",2],
[14.48,2,"Male","Smoker","Sunday","Dinner",2],
[9.6,4,"Female","Smoker","Sunday","Dinner",2],
[34.63,3.55,"Male","Smoker","Sunday","Dinner",2],
[34.65,3.68,"Male","Smoker","Sunday","Dinner",4],
[23.33,5.65,"Male","Smoker","Sunday","Dinner",2],
[45.35,3.5,"Male","Smoker","Sunday","Dinner",3],
[23.17,6.5,"Male","Smoker","Sunday","Dinner",4],
[40.55,3,"Male","Smoker","Sunday","Dinner",2],
[20.69,5,"Male","Non-Smoker","Sunday","Dinner",5],
[20.9,3.5,"Female","Smoker","Sunday","Dinner",3],
[30.46,2,"Male","Smoker","Sunday","Dinner",5],
[18.15,3.5,"Female","Smoker","Sunday","Dinner",3],
[23.1,4,"Male","Smoker","Sunday","Dinner",3],
[15.69,1.5,"Male","Smoker","Sunday","Dinner",2],
[19.81,4.19,"Female","Smoker","Thursday","Lunch",2],
[28.44,2.56,"Male","Smoker","Thursday","Lunch",2],
[15.48,2.02,"Male","Smoker","Thursday","Lunch",2],
[16.58,4,"Male","Smoker","Thursday","Lunch",2],
[7.56,1.44,"Male","Non-Smoker","Thursday","Lunch",2],
[10.34,2,"Male","Smoker","Thursday","Lunch",2],
[43.11,5,"Female","Smoker","Thursday","Lunch",4],
[13,2,"Female","Smoker","Thursday","Lunch",2],
[13.51,2,"Male","Smoker","Thursday","Lunch",2],
[18.71,4,"Male","Smoker","Thursday","Lunch",3],
[12.74,2.01,"Female","Smoker","Thursday","Lunch",2],
[13,2,"Female","Smoker","Thursday","Lunch",2],
[16.4,2.5,"Female","Smoker","Thursday","Lunch",2],
[20.53,4,"Male","Smoker","Thursday","Lunch",4],
[16.47,3.23,"Female","Smoker","Thursday","Lunch",3],
[26.59,3.41,"Male","Smoker","Saturday","Dinner",3],
[38.73,3,"Male","Smoker","Saturday","Dinner",4],
[24.27,2.03,"Male","Smoker","Saturday","Dinner",2],
[12.76,2.23,"Female","Smoker","Saturday","Dinner",2],
[30.06,2,"Male","Smoker","Saturday","Dinner",3],
[25.89,5.16,"Male","Smoker","Saturday","Dinner",4],
[48.33,9,"Male","Non-Smoker","Saturday","Dinner",4],
[13.27,2.5,"Female","Smoker","Saturday","Dinner",2],
[28.17,6.5,"Female","Smoker","Saturday","Dinner",3],
[12.9,1.1,"Female","Smoker","Saturday","Dinner",2],
[28.15,3,"Male","Smoker","Saturday","Dinner",5],
[11.59,1.5,"Male","Smoker","Saturday","Dinner",2],
[7.74,1.44,"Male","Smoker","Saturday","Dinner",2],
[30.14,3.09,"Female","Smoker","Saturday","Dinner",4],
[12.16,2.2,"Male","Smoker","Friday","Lunch",2],
[13.42,3.48,"Female","Smoker","Friday","Lunch",2],
[8.58,1.92,"Male","Smoker","Friday","Lunch",1],
[15.98,3,"Female","Non-Smoker","Friday","Lunch",3],
[13.42,1.58,"Male","Smoker","Friday","Lunch",2],
[16.27,2.5,"Female","Smoker","Friday","Lunch",2],
[10.09,2,"Female","Smoker","Friday","Lunch",2],
[20.45,3,"Male","Non-Smoker","Saturday","Dinner",4],
[13.28,2.72,"Male","Non-Smoker","Saturday","Dinner",2],
[22.12,2.88,"Female","Smoker","Saturday","Dinner",2],
[24.01,2,"Male","Smoker","Saturday","Dinner",4],
[15.69,3,"Male","Smoker","Saturday","Dinner",3],
[11.61,3.39,"Male","Non-Smoker","Saturday","Dinner",2],
[10.77,1.47,"Male","Non-Smoker","Saturday","Dinner",2],
[15.53,3,"Male","Smoker","Saturday","Dinner",2],
[10.07,1.25,"Male","Non-Smoker","Saturday","Dinner",2],
[12.6,1,"Male","Smoker","Saturday","Dinner",2],
[32.83,1.17,"Male","Smoker","Saturday","Dinner",2],
[35.83,4.67,"Female","Non-Smoker","Saturday","Dinner",3],
[29.03,5.92,"Male","Non-Smoker","Saturday","Dinner",3],
[27.18,2,"Female","Smoker","Saturday","Dinner",2],
[22.67,2,"Male","Smoker","Saturday","Dinner",2],
[17.82,1.75,"Male","Non-Smoker","Saturday","Dinner",2],
[18.78,3,"Female","Non-Smoker","Thursday","Dinner",2]
] | data = [['Total Bill', 'Tip', 'Payer Gender', 'Payer Smoker', 'Day of Week', 'Meal', 'Party Size'], [16.99, 1.01, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 2], [10.34, 1.66, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [21.01, 3.5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [23.68, 3.31, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [24.59, 3.61, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 4], [25.29, 4.71, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [8.77, 2, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [26.88, 3.12, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [15.04, 1.96, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [14.78, 3.23, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [10.27, 1.71, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [35.26, 5, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 4], [15.42, 1.57, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [18.43, 3, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [14.83, 3.02, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 2], [21.58, 3.92, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [10.33, 1.67, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 3], [16.29, 3.71, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [16.97, 3.5, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 3], [20.65, 3.35, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [17.92, 4.08, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [20.29, 2.75, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [15.77, 2.23, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [39.42, 7.58, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 4], [19.82, 3.18, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [17.81, 2.34, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 4], [13.37, 2, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [12.69, 2, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [21.7, 4.3, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [19.65, 3, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [9.55, 1.45, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [18.35, 2.5, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 4], [15.06, 3, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [20.69, 2.45, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 4], [17.78, 3.27, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [24.06, 3.6, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [16.31, 2, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [16.93, 3.07, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 3], [18.69, 2.31, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [31.27, 5, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [16.04, 2.24, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [17.46, 2.54, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [13.94, 3.06, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [9.68, 1.32, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [30.4, 5.6, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [18.29, 3, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [22.23, 5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [32.4, 6, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [28.55, 2.05, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [18.04, 3, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [12.54, 2.5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [10.29, 2.6, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 2], [34.81, 5.2, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 4], [9.94, 1.56, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [25.56, 4.34, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [19.49, 3.51, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [38.01, 3, 'Male', 'Smoker', 'Saturday', 'Dinner', 4], [26.41, 1.5, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [11.24, 1.76, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [48.27, 6.73, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 4], [20.29, 3.21, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [13.81, 2, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [11.02, 1.98, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [18.29, 3.76, 'Male', 'Smoker', 'Saturday', 'Dinner', 4], [17.59, 2.64, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [20.08, 3.15, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [16.45, 2.47, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [3.07, 1, 'Female', 'Smoker', 'Saturday', 'Dinner', 1], [20.23, 2.01, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [15.01, 2.09, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [12.02, 1.97, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [17.07, 3, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 3], [26.86, 3.14, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [25.28, 5, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [14.73, 2.2, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [10.51, 1.25, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [17.92, 3.08, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [27.2, 4, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 4], [22.76, 3, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [17.29, 2.71, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [19.44, 3, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [16.66, 3.4, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [10.07, 1.83, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 1], [32.68, 5, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [15.98, 2.03, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [34.83, 5.17, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 4], [13.03, 2, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [18.28, 4, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [24.71, 5.85, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [21.16, 3, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [28.97, 3, 'Male', 'Smoker', 'Friday', 'Dinner', 2], [22.49, 3.5, 'Male', 'Non-Smoker', 'Friday', 'Dinner', 2], [5.75, 1, 'Female', 'Smoker', 'Friday', 'Dinner', 2], [16.32, 4.3, 'Female', 'Smoker', 'Friday', 'Dinner', 2], [22.75, 3.25, 'Female', 'Non-Smoker', 'Friday', 'Dinner', 2], [40.17, 4.73, 'Male', 'Smoker', 'Friday', 'Dinner', 4], [27.28, 4, 'Male', 'Smoker', 'Friday', 'Dinner', 2], [12.03, 1.5, 'Male', 'Smoker', 'Friday', 'Dinner', 2], [21.01, 3, 'Male', 'Smoker', 'Friday', 'Dinner', 2], [12.46, 1.5, 'Male', 'Non-Smoker', 'Friday', 'Dinner', 2], [11.35, 2.5, 'Female', 'Smoker', 'Friday', 'Dinner', 2], [15.38, 3, 'Female', 'Smoker', 'Friday', 'Dinner', 2], [44.3, 2.5, 'Female', 'Smoker', 'Saturday', 'Dinner', 3], [22.42, 3.48, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [20.92, 4.08, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 2], [15.36, 1.64, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [20.49, 4.06, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [25.21, 4.29, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [18.24, 3.76, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [14.31, 4, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [14, 3, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [7.25, 1, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 1], [38.07, 4, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [23.95, 2.55, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [25.71, 4, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 3], [17.31, 3.5, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 2], [29.93, 5.07, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [10.65, 1.5, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [12.43, 1.8, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [24.08, 2.92, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 4], [11.69, 2.31, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [13.42, 1.68, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [14.26, 2.5, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [15.95, 2, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [12.48, 2.52, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [29.8, 4.2, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 6], [8.52, 1.48, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [14.52, 2, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [11.38, 2, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [22.82, 2.18, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 3], [19.08, 1.5, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [20.27, 2.83, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [11.17, 1.5, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [12.26, 2, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [18.26, 3.25, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [8.51, 1.25, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [10.33, 2, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [14.15, 2, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [16, 2, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [13.16, 2.75, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [17.47, 3.5, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [34.3, 6.7, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 6], [41.19, 5, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 5], [27.05, 5, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 6], [16.43, 2.3, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [8.35, 1.5, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [18.64, 1.36, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 3], [11.87, 1.63, 'Female', 'Non-Smoker', 'Thursday', 'Lunch', 2], [9.78, 1.73, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [7.51, 2, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [14.07, 2.5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [13.13, 2, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [17.26, 2.74, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [24.55, 2, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [19.77, 2, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [29.85, 5.14, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 5], [48.17, 5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 6], [25, 3.75, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 4], [13.39, 2.61, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 2], [16.49, 2, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [21.5, 3.5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [12.66, 2.5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [16.21, 2, 'Female', 'Non-Smoker', 'Sunday', 'Dinner', 3], [13.81, 2, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [17.51, 3, 'Female', 'Smoker', 'Sunday', 'Dinner', 2], [24.52, 3.48, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 3], [20.76, 2.24, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 2], [31.71, 4.5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 4], [10.59, 1.61, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [10.63, 2, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [50.81, 10, 'Male', 'Smoker', 'Saturday', 'Dinner', 3], [15.81, 3.16, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [7.25, 5.15, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [31.85, 3.18, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [16.82, 4, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [32.9, 3.11, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [17.89, 2, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [14.48, 2, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [9.6, 4, 'Female', 'Smoker', 'Sunday', 'Dinner', 2], [34.63, 3.55, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [34.65, 3.68, 'Male', 'Smoker', 'Sunday', 'Dinner', 4], [23.33, 5.65, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [45.35, 3.5, 'Male', 'Smoker', 'Sunday', 'Dinner', 3], [23.17, 6.5, 'Male', 'Smoker', 'Sunday', 'Dinner', 4], [40.55, 3, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [20.69, 5, 'Male', 'Non-Smoker', 'Sunday', 'Dinner', 5], [20.9, 3.5, 'Female', 'Smoker', 'Sunday', 'Dinner', 3], [30.46, 2, 'Male', 'Smoker', 'Sunday', 'Dinner', 5], [18.15, 3.5, 'Female', 'Smoker', 'Sunday', 'Dinner', 3], [23.1, 4, 'Male', 'Smoker', 'Sunday', 'Dinner', 3], [15.69, 1.5, 'Male', 'Smoker', 'Sunday', 'Dinner', 2], [19.81, 4.19, 'Female', 'Smoker', 'Thursday', 'Lunch', 2], [28.44, 2.56, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [15.48, 2.02, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [16.58, 4, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [7.56, 1.44, 'Male', 'Non-Smoker', 'Thursday', 'Lunch', 2], [10.34, 2, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [43.11, 5, 'Female', 'Smoker', 'Thursday', 'Lunch', 4], [13, 2, 'Female', 'Smoker', 'Thursday', 'Lunch', 2], [13.51, 2, 'Male', 'Smoker', 'Thursday', 'Lunch', 2], [18.71, 4, 'Male', 'Smoker', 'Thursday', 'Lunch', 3], [12.74, 2.01, 'Female', 'Smoker', 'Thursday', 'Lunch', 2], [13, 2, 'Female', 'Smoker', 'Thursday', 'Lunch', 2], [16.4, 2.5, 'Female', 'Smoker', 'Thursday', 'Lunch', 2], [20.53, 4, 'Male', 'Smoker', 'Thursday', 'Lunch', 4], [16.47, 3.23, 'Female', 'Smoker', 'Thursday', 'Lunch', 3], [26.59, 3.41, 'Male', 'Smoker', 'Saturday', 'Dinner', 3], [38.73, 3, 'Male', 'Smoker', 'Saturday', 'Dinner', 4], [24.27, 2.03, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [12.76, 2.23, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [30.06, 2, 'Male', 'Smoker', 'Saturday', 'Dinner', 3], [25.89, 5.16, 'Male', 'Smoker', 'Saturday', 'Dinner', 4], [48.33, 9, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 4], [13.27, 2.5, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [28.17, 6.5, 'Female', 'Smoker', 'Saturday', 'Dinner', 3], [12.9, 1.1, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [28.15, 3, 'Male', 'Smoker', 'Saturday', 'Dinner', 5], [11.59, 1.5, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [7.74, 1.44, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [30.14, 3.09, 'Female', 'Smoker', 'Saturday', 'Dinner', 4], [12.16, 2.2, 'Male', 'Smoker', 'Friday', 'Lunch', 2], [13.42, 3.48, 'Female', 'Smoker', 'Friday', 'Lunch', 2], [8.58, 1.92, 'Male', 'Smoker', 'Friday', 'Lunch', 1], [15.98, 3, 'Female', 'Non-Smoker', 'Friday', 'Lunch', 3], [13.42, 1.58, 'Male', 'Smoker', 'Friday', 'Lunch', 2], [16.27, 2.5, 'Female', 'Smoker', 'Friday', 'Lunch', 2], [10.09, 2, 'Female', 'Smoker', 'Friday', 'Lunch', 2], [20.45, 3, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 4], [13.28, 2.72, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [22.12, 2.88, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [24.01, 2, 'Male', 'Smoker', 'Saturday', 'Dinner', 4], [15.69, 3, 'Male', 'Smoker', 'Saturday', 'Dinner', 3], [11.61, 3.39, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [10.77, 1.47, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [15.53, 3, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [10.07, 1.25, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [12.6, 1, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [32.83, 1.17, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [35.83, 4.67, 'Female', 'Non-Smoker', 'Saturday', 'Dinner', 3], [29.03, 5.92, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 3], [27.18, 2, 'Female', 'Smoker', 'Saturday', 'Dinner', 2], [22.67, 2, 'Male', 'Smoker', 'Saturday', 'Dinner', 2], [17.82, 1.75, 'Male', 'Non-Smoker', 'Saturday', 'Dinner', 2], [18.78, 3, 'Female', 'Non-Smoker', 'Thursday', 'Dinner', 2]] |
# Definition for a binary tree node.
class TreeNode(object):
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution(object):
def findBottomLeftValue(self, root):
"""
:type root: TreeNode
:rtype: int
"""
if not root:
return []
a = [(root)]
leftv = root.val
while a:
b = []
leftv = a[0].val
for n in a:
if n.left:
b.append(n.left)
if n.right:
b.append(n.right)
a = b
b = []
return leftv
def test_find_bottom_left_value():
a = TreeNode(2)
b = TreeNode(1)
c = TreeNode(3)
a.left = b
a.right = c
assert 1 == Solution().findBottomLeftValue(a)
a = TreeNode(1)
b = TreeNode(2)
c = TreeNode(3)
d = TreeNode(4)
e = TreeNode(5)
f = TreeNode(6)
g = TreeNode(7)
a.left = b
a.right = c
b.left = d
c.left = e
c.right = f
e.left = g
assert 7 == Solution().findBottomLeftValue(a)
| class Treenode(object):
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution(object):
def find_bottom_left_value(self, root):
"""
:type root: TreeNode
:rtype: int
"""
if not root:
return []
a = [root]
leftv = root.val
while a:
b = []
leftv = a[0].val
for n in a:
if n.left:
b.append(n.left)
if n.right:
b.append(n.right)
a = b
b = []
return leftv
def test_find_bottom_left_value():
a = tree_node(2)
b = tree_node(1)
c = tree_node(3)
a.left = b
a.right = c
assert 1 == solution().findBottomLeftValue(a)
a = tree_node(1)
b = tree_node(2)
c = tree_node(3)
d = tree_node(4)
e = tree_node(5)
f = tree_node(6)
g = tree_node(7)
a.left = b
a.right = c
b.left = d
c.left = e
c.right = f
e.left = g
assert 7 == solution().findBottomLeftValue(a) |
discord_token = 'NDQyNTQ3OTY0MDI0NzE3MzEy.DdAacQ._iDLpBSxzKb8T5rZDh4De9A1sXc'
user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'
goat_url = 'https://2fwotdvm2o-dsn.algolia.net/1/indexes/ProductTemplateSearch/query'
stockx_url = 'https://xw7sbct9v6-dsn.algolia.net/1/indexes/products/query'
| discord_token = 'NDQyNTQ3OTY0MDI0NzE3MzEy.DdAacQ._iDLpBSxzKb8T5rZDh4De9A1sXc'
user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'
goat_url = 'https://2fwotdvm2o-dsn.algolia.net/1/indexes/ProductTemplateSearch/query'
stockx_url = 'https://xw7sbct9v6-dsn.algolia.net/1/indexes/products/query' |
lista=[]
for i in range(1,101):
if(i%7!=0):
lista.append(i)
print(lista)
| lista = []
for i in range(1, 101):
if i % 7 != 0:
lista.append(i)
print(lista) |
def fizz_buzz(fizz, buzz, highest):
result = []
for i in range(1, highest + 1):
letter = ''
# If divisible by fizz or buzz, add F or B appropriately.
if i % fizz == 0:
letter += 'F'
if i % buzz == 0:
letter += 'B'
# If neither F or B has been labeled, it's just the digit.
if letter == '':
letter = str(i)
result.append(letter)
return " ".join(result) | def fizz_buzz(fizz, buzz, highest):
result = []
for i in range(1, highest + 1):
letter = ''
if i % fizz == 0:
letter += 'F'
if i % buzz == 0:
letter += 'B'
if letter == '':
letter = str(i)
result.append(letter)
return ' '.join(result) |
""" Implements some convenience logic for specifying item embedding dependencies.
In the context of invalidation scope, it is imperative that we embed all fields used in
default embeds (display_title). The hope is DependencyEmbedder will make it easy to do so, allowing
one to specify the dependencies in only one place and call the method in others.
"""
class DependencyEmbedderError(Exception):
pass
class DependencyEmbedder:
""" Utility class intended to be used to produce the embedded list necessary for a default embed
of a given type. This class is intended to be used by calling the `embed_defaults_for_type` method.
Note that the type mappings are specified in EMBED_MAPPER and that 'compound' embeds are
specified verbosely ie: bio_feature embeds an ontology_term
"""
# Note that these match item_type field in the type definition!
FAMILY = 'Family'
INDIVIDUAL = 'Individual'
FILE = 'File'
EMBED_MAPPER = {
FAMILY: [
'accession',
'title',
'family_id'
],
INDIVIDUAL: [
'accession',
],
FILE: [
'file_format.file_format',
'accession',
]
}
@classmethod
def embed_defaults_for_type(cls, *, base_path, t):
""" Embeds the fields necessary for a default embed of the given type and base_path
:param base_path: path to linkTo
:param t: item type this embed is for
:return: list of embeds
"""
if t not in cls.EMBED_MAPPER:
raise DependencyEmbedderError('Type %s is not mapped! Types mapped: %s' % (t, cls.EMBED_MAPPER.keys()))
return ['.'.join([base_path, e]) for e in cls.EMBED_MAPPER[t]]
@classmethod
def embed_for_type(cls, *, base_path, t, additional_embeds: list):
""" Embeds the defaults for the given type, plus any additional embeds.
NOTE: additional_embeds are not validated against the schema!
:param base_path: path to linkTo
:param t: type to embed
:param additional_embeds: fields other than those needed for default linkTo to be embedded.
:return: list of embeds
"""
if not isinstance(additional_embeds, list):
raise DependencyEmbedderError('Invalid type for additional embeds! Gave: %s, of type %s' %
(additional_embeds, type(additional_embeds)))
return cls.embed_defaults_for_type(base_path=base_path, t=t) + ['.'.join([base_path, e])
for e in additional_embeds]
| """ Implements some convenience logic for specifying item embedding dependencies.
In the context of invalidation scope, it is imperative that we embed all fields used in
default embeds (display_title). The hope is DependencyEmbedder will make it easy to do so, allowing
one to specify the dependencies in only one place and call the method in others.
"""
class Dependencyembeddererror(Exception):
pass
class Dependencyembedder:
""" Utility class intended to be used to produce the embedded list necessary for a default embed
of a given type. This class is intended to be used by calling the `embed_defaults_for_type` method.
Note that the type mappings are specified in EMBED_MAPPER and that 'compound' embeds are
specified verbosely ie: bio_feature embeds an ontology_term
"""
family = 'Family'
individual = 'Individual'
file = 'File'
embed_mapper = {FAMILY: ['accession', 'title', 'family_id'], INDIVIDUAL: ['accession'], FILE: ['file_format.file_format', 'accession']}
@classmethod
def embed_defaults_for_type(cls, *, base_path, t):
""" Embeds the fields necessary for a default embed of the given type and base_path
:param base_path: path to linkTo
:param t: item type this embed is for
:return: list of embeds
"""
if t not in cls.EMBED_MAPPER:
raise dependency_embedder_error('Type %s is not mapped! Types mapped: %s' % (t, cls.EMBED_MAPPER.keys()))
return ['.'.join([base_path, e]) for e in cls.EMBED_MAPPER[t]]
@classmethod
def embed_for_type(cls, *, base_path, t, additional_embeds: list):
""" Embeds the defaults for the given type, plus any additional embeds.
NOTE: additional_embeds are not validated against the schema!
:param base_path: path to linkTo
:param t: type to embed
:param additional_embeds: fields other than those needed for default linkTo to be embedded.
:return: list of embeds
"""
if not isinstance(additional_embeds, list):
raise dependency_embedder_error('Invalid type for additional embeds! Gave: %s, of type %s' % (additional_embeds, type(additional_embeds)))
return cls.embed_defaults_for_type(base_path=base_path, t=t) + ['.'.join([base_path, e]) for e in additional_embeds] |
class Solution:
def maxProfit(self, prices: List[int]) -> int:
maxProfit = 0
minValue = 10**5
for price in prices:
minValue = min(price, minValue)
maxProfit = max(price - minValue, maxProfit)
return maxProfit | class Solution:
def max_profit(self, prices: List[int]) -> int:
max_profit = 0
min_value = 10 ** 5
for price in prices:
min_value = min(price, minValue)
max_profit = max(price - minValue, maxProfit)
return maxProfit |
steps = []
def do_action(name):
steps.append(name)
WAREHOUSE_PHONE = '<phone number here e.g. +44712345678>'
SECRET_CODE = '<paste here>'
def handle_purchase():
"""
Here are the actions you can trigger:
calculate_price - Calculates total cost of the order
check_inventory - Checks that the product is available in the warehouse
finish_purchase - Ends the purchasing process
inform_warehouse - Informs the warehouse team on the number above that an order has been made
notify_customer - Notifies the purchaser that the order was successful
start_purchase - Starts the purchasing process
take_payment - Takes payment from the customer
update_sales_tracker - Updates the sales tracker to log this successful purchase
To trigger an action use, do_action and the label above, in quotes.
"""
do_action('start_purchase')
do_action('take_payment')
do_action('finish_purchase') | steps = []
def do_action(name):
steps.append(name)
warehouse_phone = '<phone number here e.g. +44712345678>'
secret_code = '<paste here>'
def handle_purchase():
"""
Here are the actions you can trigger:
calculate_price - Calculates total cost of the order
check_inventory - Checks that the product is available in the warehouse
finish_purchase - Ends the purchasing process
inform_warehouse - Informs the warehouse team on the number above that an order has been made
notify_customer - Notifies the purchaser that the order was successful
start_purchase - Starts the purchasing process
take_payment - Takes payment from the customer
update_sales_tracker - Updates the sales tracker to log this successful purchase
To trigger an action use, do_action and the label above, in quotes.
"""
do_action('start_purchase')
do_action('take_payment')
do_action('finish_purchase') |
class Node:
def __init__(self, element):
self.item = element
self.next_link = None
self.prev_link = None
class DoubleLinkedList:
def __init__(self):
self.first_node = None
def is_empty(self):
if self.first_node is None:
print("Error! The list is empty!")
return True
else:
return False
def search_item(self, element):
if not DoubleLinkedList.is_empty(self):
node = self.first_node
while node is not None:
if node.item == element:
return True
node = node.next_link
return False
def print_list(self):
if not DoubleLinkedList.is_empty(self):
node = self.first_node
while node is not None:
print(node.item)
node = node.next_link
def add_to_empty(self, element):
new_node = Node(element)
self.first_node = new_node
def add_to_start(self, element):
if self.first_node is None:
DoubleLinkedList.add_to_empty(self, element)
return
new_node = Node(element)
new_node.next_link = self.first_node
self.first_node.prev_link = new_node
self.first_node = new_node
def add_to_end(self, element):
if self.first_node is None:
DoubleLinkedList.add_to_empty(self, element)
return
new_node = Node(element)
node = self.first_node
while node.next_link is not None:
node = node.next_link
node.next_link = new_node
new_node.prev_link = node
def del_at_start(self):
if not DoubleLinkedList.is_empty(self):
if self.first_node.next_link is None:
self.first_node = None
return
self.first_node = self.first_node.next_link
self.first_node.prev_link = None
def del_at_end(self):
if not DoubleLinkedList.is_empty(self):
if self.first_node.next_link is None:
self.first_node = None
return
node = self.first_node
while node.next_link is not None:
node = node.next_link
node.prev_link.next_link = None
| class Node:
def __init__(self, element):
self.item = element
self.next_link = None
self.prev_link = None
class Doublelinkedlist:
def __init__(self):
self.first_node = None
def is_empty(self):
if self.first_node is None:
print('Error! The list is empty!')
return True
else:
return False
def search_item(self, element):
if not DoubleLinkedList.is_empty(self):
node = self.first_node
while node is not None:
if node.item == element:
return True
node = node.next_link
return False
def print_list(self):
if not DoubleLinkedList.is_empty(self):
node = self.first_node
while node is not None:
print(node.item)
node = node.next_link
def add_to_empty(self, element):
new_node = node(element)
self.first_node = new_node
def add_to_start(self, element):
if self.first_node is None:
DoubleLinkedList.add_to_empty(self, element)
return
new_node = node(element)
new_node.next_link = self.first_node
self.first_node.prev_link = new_node
self.first_node = new_node
def add_to_end(self, element):
if self.first_node is None:
DoubleLinkedList.add_to_empty(self, element)
return
new_node = node(element)
node = self.first_node
while node.next_link is not None:
node = node.next_link
node.next_link = new_node
new_node.prev_link = node
def del_at_start(self):
if not DoubleLinkedList.is_empty(self):
if self.first_node.next_link is None:
self.first_node = None
return
self.first_node = self.first_node.next_link
self.first_node.prev_link = None
def del_at_end(self):
if not DoubleLinkedList.is_empty(self):
if self.first_node.next_link is None:
self.first_node = None
return
node = self.first_node
while node.next_link is not None:
node = node.next_link
node.prev_link.next_link = None |
"""
Pops the gear onto the peg. Uses solenoids.
"""
class GearSol(object):
def __init__(self, sol):
self.sol = sol
def run(self, trigger):
if (trigger == True):
self.sol.set(self.sol.Value.kForward)
else:
self.sol.set(self.sol.Value.kReverse)
| """
Pops the gear onto the peg. Uses solenoids.
"""
class Gearsol(object):
def __init__(self, sol):
self.sol = sol
def run(self, trigger):
if trigger == True:
self.sol.set(self.sol.Value.kForward)
else:
self.sol.set(self.sol.Value.kReverse) |
# Import the library that makes it easier to write context managers
# Implement a context manager that writes to a text file
# using a class:
class MyContextManager:
pass
# Implement a context manager using a method with a decorator
def my_context_manager():
raise Exception("Method not implemented")
def call_class_context_manager(file_name="class_hi.txt", text="hello", access_mode="w"):
with MyContextManager(file_name, access_mode) as f:
f.write(text)
def call_function_context_manager(file_name="function_hi.txt", text="hello", access_mode="w"):
with my_context_manager(file_name, access_mode) as f:
f.write(text)
| class Mycontextmanager:
pass
def my_context_manager():
raise exception('Method not implemented')
def call_class_context_manager(file_name='class_hi.txt', text='hello', access_mode='w'):
with my_context_manager(file_name, access_mode) as f:
f.write(text)
def call_function_context_manager(file_name='function_hi.txt', text='hello', access_mode='w'):
with my_context_manager(file_name, access_mode) as f:
f.write(text) |
# items implementation
class Item:
def __init__(self, item_name, item_description):
self.item_name = item_name
self.item_description = item_description
def __str__(self):
return '%s, %s' % (self.item_name, self.item_description)
| class Item:
def __init__(self, item_name, item_description):
self.item_name = item_name
self.item_description = item_description
def __str__(self):
return '%s, %s' % (self.item_name, self.item_description) |
# tiles
ONE_MAN = 0
TWO_MAN = 1
THREE_MAN = 2
FOUR_MAN = 3
FIVE_MAN = 4
SIX_MAN = 5
SEVEN_MAN = 6
EIGHT_MAN = 7
NINE_MAN = 8
ONE_PIN = 9
TWO_PIN = 10
THREE_PIN = 11
FOUR_PIN = 12
FIVE_PIN = 13
SIX_PIN = 14
SEVEN_PIN = 15
EIGHT_PIN = 16
NINE_PIN = 17
ONE_SOU = 18
TWO_SOU = 19
THREE_SOU = 20
FOUR_SOU = 21
FIVE_SOU = 22
SIX_SOU = 23
SEVEN_SOU = 24
EIGHT_SOU = 25
NINE_SOU = 26
EAST = 27
SOUTH = 28
WEST = 29
NORTH = 30
HAKU = 31
HATSU = 32
CHUN = 33
RED_FIVE_MAN = 34
RED_FIVE_PIN = 35
RED_FIVE_SOU = 36
# manzu
MANZU = [ONE_MAN, TWO_MAN, THREE_MAN, FOUR_MAN, FIVE_MAN, SIX_MAN,
SEVEN_MAN, EIGHT_MAN, NINE_MAN]
# pinzu
PINZU = [ONE_PIN, TWO_PIN, THREE_PIN, FOUR_PIN, FIVE_PIN, SIX_PIN,
SEVEN_PIN, EIGHT_PIN, NINE_PIN]
# souzu
SOUZU = [ONE_SOU, TWO_SOU, THREE_SOU, FOUR_SOU, FIVE_SOU, SIX_SOU,
SEVEN_SOU, EIGHT_SOU, NINE_SOU]
# terminals: 1 and 9
TERMINALS = [ONE_MAN, NINE_MAN, ONE_PIN, NINE_PIN, ONE_SOU, NINE_SOU]
# winds, dragons and honours
WINDS = [EAST, SOUTH, WEST, NORTH]
DRAGONS = [HAKU, HATSU, CHUN]
HONOURS = WINDS + DRAGONS
# yaochuuhai: terminals and honours
YAOCHUUHAI = TERMINALS + HONOURS
# green tiles: for determining ryuuiisou
GREEN_TILES = [TWO_SOU, THREE_SOU, FOUR_SOU, SIX_SOU, EIGHT_SOU, HATSU]
# red dora value
RED_DORA_VALUE = 4
# tiles count
TILES_COUNT = 34
| one_man = 0
two_man = 1
three_man = 2
four_man = 3
five_man = 4
six_man = 5
seven_man = 6
eight_man = 7
nine_man = 8
one_pin = 9
two_pin = 10
three_pin = 11
four_pin = 12
five_pin = 13
six_pin = 14
seven_pin = 15
eight_pin = 16
nine_pin = 17
one_sou = 18
two_sou = 19
three_sou = 20
four_sou = 21
five_sou = 22
six_sou = 23
seven_sou = 24
eight_sou = 25
nine_sou = 26
east = 27
south = 28
west = 29
north = 30
haku = 31
hatsu = 32
chun = 33
red_five_man = 34
red_five_pin = 35
red_five_sou = 36
manzu = [ONE_MAN, TWO_MAN, THREE_MAN, FOUR_MAN, FIVE_MAN, SIX_MAN, SEVEN_MAN, EIGHT_MAN, NINE_MAN]
pinzu = [ONE_PIN, TWO_PIN, THREE_PIN, FOUR_PIN, FIVE_PIN, SIX_PIN, SEVEN_PIN, EIGHT_PIN, NINE_PIN]
souzu = [ONE_SOU, TWO_SOU, THREE_SOU, FOUR_SOU, FIVE_SOU, SIX_SOU, SEVEN_SOU, EIGHT_SOU, NINE_SOU]
terminals = [ONE_MAN, NINE_MAN, ONE_PIN, NINE_PIN, ONE_SOU, NINE_SOU]
winds = [EAST, SOUTH, WEST, NORTH]
dragons = [HAKU, HATSU, CHUN]
honours = WINDS + DRAGONS
yaochuuhai = TERMINALS + HONOURS
green_tiles = [TWO_SOU, THREE_SOU, FOUR_SOU, SIX_SOU, EIGHT_SOU, HATSU]
red_dora_value = 4
tiles_count = 34 |
garden_waitlist = ["Jiho", "Adam", "Sonny", "Alisha"]
garden_waitlist[1] = "Calla"
garden_waitlist[-1] = "Alex"
print(garden_waitlist)
| garden_waitlist = ['Jiho', 'Adam', 'Sonny', 'Alisha']
garden_waitlist[1] = 'Calla'
garden_waitlist[-1] = 'Alex'
print(garden_waitlist) |
#!/usr/bin/env python
# coding: utf-8
# p676
class MagicDictionary:
def __init__(self):
"""
Initialize your data structure here.
"""
self._words = dict() # type: dict[int, list[str]]
def buildDict(self, dict):
"""
Build a dictionary through a list of words
:type dict: List[str]
:rtype: void
"""
for word in dict:
self._words[len(word)] = self._words.get(len(word), []) + [word, ]
def search(self, word):
"""
Returns if there is any word in the trie that equals to the given word after modifying exactly one character
:type word: str
:rtype: bool
"""
for w in self._words.get(len(word), []):
if MagicDictionary.__distance(w, word) == 1:
return True
else:
return False
@staticmethod
def __distance(w1, w2):
return sum(c1 != c2 for c1, c2 in zip(w1, w2))
if __name__ == '__main__':
# Your MagicDictionary object will be instantiated and called as such:
obj = MagicDictionary()
obj.buildDict(["hello", "hallo", "leetcode"])
print(obj._words)
print(obj.search("hello"))
print(obj.search("hhllo"))
print(obj.search("hell"))
| class Magicdictionary:
def __init__(self):
"""
Initialize your data structure here.
"""
self._words = dict()
def build_dict(self, dict):
"""
Build a dictionary through a list of words
:type dict: List[str]
:rtype: void
"""
for word in dict:
self._words[len(word)] = self._words.get(len(word), []) + [word]
def search(self, word):
"""
Returns if there is any word in the trie that equals to the given word after modifying exactly one character
:type word: str
:rtype: bool
"""
for w in self._words.get(len(word), []):
if MagicDictionary.__distance(w, word) == 1:
return True
else:
return False
@staticmethod
def __distance(w1, w2):
return sum((c1 != c2 for (c1, c2) in zip(w1, w2)))
if __name__ == '__main__':
obj = magic_dictionary()
obj.buildDict(['hello', 'hallo', 'leetcode'])
print(obj._words)
print(obj.search('hello'))
print(obj.search('hhllo'))
print(obj.search('hell')) |
def one2two(digit):
if len(digit) == 1:
return "0" + digit
else:
return digit
def result(pt, st):
rt = ""
second, minute, hour = 0, 0, 0
sc, mc = 0, 0
if st[2] - pt[2] >= 0:
second = st[2] - pt[2]
else:
second = st[2] - pt[2] + 60
sc = 1
if st[1] - pt[1] - sc >= 0:
minute = st[1] - pt[1] - sc
else:
minute = st[1] - pt[1] - sc + 60
mc = 1
if st[0] - pt[0] - mc >= 0:
hour = st[0] - pt[0] - mc
else:
hour = st[0] - pt[0] - mc + 24
return one2two(str(hour)) + ":" + one2two(str(minute)) + ":" + one2two(str(second))
presentTime = list(map(int, input().split(":")))
startTime = list(map(int, input().split(":")))
print(result(presentTime, startTime))
| def one2two(digit):
if len(digit) == 1:
return '0' + digit
else:
return digit
def result(pt, st):
rt = ''
(second, minute, hour) = (0, 0, 0)
(sc, mc) = (0, 0)
if st[2] - pt[2] >= 0:
second = st[2] - pt[2]
else:
second = st[2] - pt[2] + 60
sc = 1
if st[1] - pt[1] - sc >= 0:
minute = st[1] - pt[1] - sc
else:
minute = st[1] - pt[1] - sc + 60
mc = 1
if st[0] - pt[0] - mc >= 0:
hour = st[0] - pt[0] - mc
else:
hour = st[0] - pt[0] - mc + 24
return one2two(str(hour)) + ':' + one2two(str(minute)) + ':' + one2two(str(second))
present_time = list(map(int, input().split(':')))
start_time = list(map(int, input().split(':')))
print(result(presentTime, startTime)) |
n, m = map(int, input().split())
trees = list(map(int, input().split()))
minH = 0
maxH = max(trees)
ans = 0
while minH <= maxH:
cutH = (minH+maxH)//2
cutMount = 0
for tree in trees:
cutMount += (tree - cutH if tree >= cutH else 0)
if cutMount >= m:
ans = cutH
minH = cutH + 1
else:
maxH = cutH-1
print(ans)
| (n, m) = map(int, input().split())
trees = list(map(int, input().split()))
min_h = 0
max_h = max(trees)
ans = 0
while minH <= maxH:
cut_h = (minH + maxH) // 2
cut_mount = 0
for tree in trees:
cut_mount += tree - cutH if tree >= cutH else 0
if cutMount >= m:
ans = cutH
min_h = cutH + 1
else:
max_h = cutH - 1
print(ans) |
class BaseInferer:
""" Base inferer class
"""
def infer(self, *args, **kwargs):
""" Perform an inference on test data.
"""
raise NotImplementedError
def fusion(self, submissions_dir, preds):
""" Ensamble predictions.
"""
raise NotImplementedError
@staticmethod
def write_submission(submissions_dir, pred_dict):
""" Write predicted result to submission csv files
Args:
pred_dict: DCASE2020 format dict:
pred_dict[frame-containing-events] = [[class_index_1, azi_1 in degree, ele_1 in degree], [class_index_2, azi_2 in degree, ele_2 in degree]]
"""
for key, values in pred_dict.items():
for value in values:
with submissions_dir.open('a') as f:
f.write('{},{},{},{}\n'.format(key, value[0], value[1], value[2]))
| class Baseinferer:
""" Base inferer class
"""
def infer(self, *args, **kwargs):
""" Perform an inference on test data.
"""
raise NotImplementedError
def fusion(self, submissions_dir, preds):
""" Ensamble predictions.
"""
raise NotImplementedError
@staticmethod
def write_submission(submissions_dir, pred_dict):
""" Write predicted result to submission csv files
Args:
pred_dict: DCASE2020 format dict:
pred_dict[frame-containing-events] = [[class_index_1, azi_1 in degree, ele_1 in degree], [class_index_2, azi_2 in degree, ele_2 in degree]]
"""
for (key, values) in pred_dict.items():
for value in values:
with submissions_dir.open('a') as f:
f.write('{},{},{},{}\n'.format(key, value[0], value[1], value[2])) |
# Python - 2.7.6
def logical_calc(array, op):
logic = {
'AND': all,
'OR': any,
'XOR': lambda arr: bool(arr.count(True) & 1)
}
if op in logic:
return logic[op](array)
return False
| def logical_calc(array, op):
logic = {'AND': all, 'OR': any, 'XOR': lambda arr: bool(arr.count(True) & 1)}
if op in logic:
return logic[op](array)
return False |
# bluetooth device attributes
DEVICE_NAME = "TT Camera Slider"
MIN_POS = 0
MAX_POS = 0.9
MIN_DURATION = 0
MAX_DURATION = 500
MIN_SPEED = 0.002
MAX_SPEED = 0.25
# motor attributes
STEP_ANGLE = 1.8
VEL_TO_RPS = 9.88319028614 * 2 # 1/(2pi(r))
DIST_TO_STEPS = 1976.63805723 # (360)/(1.8*2pi(r)) ONLY for ms=0
RADIUS = 0.0161036
# move attributes
DEFAULT_VELOCITY = 0.1
SLEEP_BETWEEN_MOVE = 2
# compensation
DIST_TO_STEPS_E = 2.58064516129
VEL_TO_RPS_E = 3.10816411107
COMPENSATION = 2.5
STEP_COMPENSATION = 1.6
| device_name = 'TT Camera Slider'
min_pos = 0
max_pos = 0.9
min_duration = 0
max_duration = 500
min_speed = 0.002
max_speed = 0.25
step_angle = 1.8
vel_to_rps = 9.88319028614 * 2
dist_to_steps = 1976.63805723
radius = 0.0161036
default_velocity = 0.1
sleep_between_move = 2
dist_to_steps_e = 2.58064516129
vel_to_rps_e = 3.10816411107
compensation = 2.5
step_compensation = 1.6 |
"""
Hangman.
Authors: Nasser Hegar and YOUR_PARTNERS_NAME_HERE.
""" # TODO: 1. PUT YOUR NAME IN THE ABOVE LINE.
# TODO: 2. Implement Hangman using your Iterative Enhancement Plan.
####### Do NOT attempt this assignment before class! #######
| """
Hangman.
Authors: Nasser Hegar and YOUR_PARTNERS_NAME_HERE.
""" |
def combinations_fixed_sum(fixed_sum, length_of_list, lst=[]):
if length_of_list == 1:
lst += [fixed_sum]
yield lst
else:
for i in range(fixed_sum+1):
yield from combinations_fixed_sum(i, length_of_list-1, lst + [fixed_sum-i])
def combinations_fixed_sum_limits(fixed_sum, length_of_list, minimum, maximum, lst=[]):
if length_of_list == 1:
lst += [fixed_sum]
if fixed_sum >= minimum[-length_of_list] and fixed_sum <= maximum[-length_of_list]:
yield lst
else:
for i in range(min(fixed_sum, maximum[-length_of_list]), minimum[-length_of_list]-1, -1):
yield from combinations_fixed_sum_limits(fixed_sum-i, length_of_list-1, minimum, maximum, lst + [i])
| def combinations_fixed_sum(fixed_sum, length_of_list, lst=[]):
if length_of_list == 1:
lst += [fixed_sum]
yield lst
else:
for i in range(fixed_sum + 1):
yield from combinations_fixed_sum(i, length_of_list - 1, lst + [fixed_sum - i])
def combinations_fixed_sum_limits(fixed_sum, length_of_list, minimum, maximum, lst=[]):
if length_of_list == 1:
lst += [fixed_sum]
if fixed_sum >= minimum[-length_of_list] and fixed_sum <= maximum[-length_of_list]:
yield lst
else:
for i in range(min(fixed_sum, maximum[-length_of_list]), minimum[-length_of_list] - 1, -1):
yield from combinations_fixed_sum_limits(fixed_sum - i, length_of_list - 1, minimum, maximum, lst + [i]) |
class LoginProviders:
google = "google"
facebook = "facebook"
github = "github"
twitter = "twitter"
login_providers = LoginProviders()
| class Loginproviders:
google = 'google'
facebook = 'facebook'
github = 'github'
twitter = 'twitter'
login_providers = login_providers() |
def startRightHand():
##############
i01.startRightHand(rightPort)
i01.rightHand.thumb.setMinMax(0,115)
i01.rightHand.index.setMinMax(35,130)
i01.rightHand.majeure.setMinMax(35,130)
i01.rightHand.ringFinger.setMinMax(35,130)
i01.rightHand.pinky.setMinMax(35,130)
i01.rightHand.wrist.map(90,90,90,90)
#i01.rightHand.thumb.map(0,180,0,115)
#i01.rightHand.index.map(0,180,35,130)
#i01.rightHand.majeure.map(0,180,35,130)
#i01.rightHand.ringFinger.map(0,180,35,130)
#i01.rightHand.pinky.map(0,180,35,130)
i01.rightHand.thumb.setVelocity(250)
i01.rightHand.index.setVelocity(250)
i01.rightHand.majeure.setVelocity(250)
i01.rightHand.ringFinger.setVelocity(250)
i01.rightHand.pinky.setVelocity(250)
i01.rightHand.wrist.setVelocity(250)
i01.rightHand.thumb.setMaxVelocity(250)
i01.rightHand.index.setMaxVelocity(250)
i01.rightHand.majeure.setMaxVelocity(250)
i01.rightHand.ringFinger.setMaxVelocity(250)
i01.rightHand.pinky.setMaxVelocity(250)
i01.rightHand.wrist.setMaxVelocity(250)
i01.rightHand.thumb.setRest(10)
i01.rightHand.index.setRest(40)
i01.rightHand.majeure.setRest(40)
i01.rightHand.ringFinger.setRest(40)
i01.rightHand.pinky.setRest(40)
i01.rightHand.wrist.setRest(90)
i01.rightHand.rest()
| def start_right_hand():
i01.startRightHand(rightPort)
i01.rightHand.thumb.setMinMax(0, 115)
i01.rightHand.index.setMinMax(35, 130)
i01.rightHand.majeure.setMinMax(35, 130)
i01.rightHand.ringFinger.setMinMax(35, 130)
i01.rightHand.pinky.setMinMax(35, 130)
i01.rightHand.wrist.map(90, 90, 90, 90)
i01.rightHand.thumb.setVelocity(250)
i01.rightHand.index.setVelocity(250)
i01.rightHand.majeure.setVelocity(250)
i01.rightHand.ringFinger.setVelocity(250)
i01.rightHand.pinky.setVelocity(250)
i01.rightHand.wrist.setVelocity(250)
i01.rightHand.thumb.setMaxVelocity(250)
i01.rightHand.index.setMaxVelocity(250)
i01.rightHand.majeure.setMaxVelocity(250)
i01.rightHand.ringFinger.setMaxVelocity(250)
i01.rightHand.pinky.setMaxVelocity(250)
i01.rightHand.wrist.setMaxVelocity(250)
i01.rightHand.thumb.setRest(10)
i01.rightHand.index.setRest(40)
i01.rightHand.majeure.setRest(40)
i01.rightHand.ringFinger.setRest(40)
i01.rightHand.pinky.setRest(40)
i01.rightHand.wrist.setRest(90)
i01.rightHand.rest() |
# <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_bits(value):
return value * 1048576.0
def to_kilobits(value):
return value * 1048.58
def to_megabits(value):
return value * 1.04858
def to_gigabits(value):
return value / 953.67431640625
def to_terabits(value):
return value / 953674.0
def to_kilobytes(value):
return value / 0.00762939
def to_megabytes(value):
return value / 7.62939
def to_gigabytes(value):
return value / 7629.39
def to_terabytes(value):
return value * 0.000000131072
def to_kibibits(value):
return value * 1024.0
| def to_bits(value):
return value * 1048576.0
def to_kilobits(value):
return value * 1048.58
def to_megabits(value):
return value * 1.04858
def to_gigabits(value):
return value / 953.67431640625
def to_terabits(value):
return value / 953674.0
def to_kilobytes(value):
return value / 0.00762939
def to_megabytes(value):
return value / 7.62939
def to_gigabytes(value):
return value / 7629.39
def to_terabytes(value):
return value * 1.31072e-07
def to_kibibits(value):
return value * 1024.0 |
async def m001_initial(db):
"""
Creates an improved withdraw table and migrates the existing data.
"""
await db.execute(
"""
CREATE TABLE IF NOT EXISTS withdraw_links (
id TEXT PRIMARY KEY,
wallet TEXT,
title TEXT,
min_withdrawable INTEGER DEFAULT 1,
max_withdrawable INTEGER DEFAULT 1,
uses INTEGER DEFAULT 1,
wait_time INTEGER,
is_unique INTEGER DEFAULT 0,
unique_hash TEXT UNIQUE,
k1 TEXT,
open_time INTEGER,
used INTEGER DEFAULT 0,
usescsv TEXT
);
"""
)
async def m002_change_withdraw_table(db):
"""
Creates an improved withdraw table and migrates the existing data.
"""
await db.execute(
"""
CREATE TABLE IF NOT EXISTS withdraw_link (
id TEXT PRIMARY KEY,
wallet TEXT,
title TEXT,
min_withdrawable INTEGER DEFAULT 1,
max_withdrawable INTEGER DEFAULT 1,
uses INTEGER DEFAULT 1,
wait_time INTEGER,
is_unique INTEGER DEFAULT 0,
unique_hash TEXT UNIQUE,
k1 TEXT,
open_time INTEGER,
used INTEGER DEFAULT 0,
usescsv TEXT
);
"""
)
await db.execute("CREATE INDEX IF NOT EXISTS wallet_idx ON withdraw_link (wallet)")
await db.execute("CREATE UNIQUE INDEX IF NOT EXISTS unique_hash_idx ON withdraw_link (unique_hash)")
for row in [list(row) for row in await db.fetchall("SELECT * FROM withdraw_links")]:
usescsv = ""
for i in range(row[5]):
if row[7]:
usescsv += "," + str(i + 1)
else:
usescsv += "," + str(1)
usescsv = usescsv[1:]
await db.execute(
"""
INSERT INTO withdraw_link (
id,
wallet,
title,
min_withdrawable,
max_withdrawable,
uses,
wait_time,
is_unique,
unique_hash,
k1,
open_time,
used,
usescsv
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
row[0],
row[1],
row[2],
row[3],
row[4],
row[5],
row[6],
row[7],
row[8],
row[9],
row[10],
row[11],
usescsv,
),
)
await db.execute("DROP TABLE withdraw_links")
| async def m001_initial(db):
"""
Creates an improved withdraw table and migrates the existing data.
"""
await db.execute('\n CREATE TABLE IF NOT EXISTS withdraw_links (\n id TEXT PRIMARY KEY,\n wallet TEXT,\n title TEXT,\n min_withdrawable INTEGER DEFAULT 1,\n max_withdrawable INTEGER DEFAULT 1,\n uses INTEGER DEFAULT 1,\n wait_time INTEGER,\n is_unique INTEGER DEFAULT 0,\n unique_hash TEXT UNIQUE,\n k1 TEXT,\n open_time INTEGER,\n used INTEGER DEFAULT 0,\n usescsv TEXT\n );\n ')
async def m002_change_withdraw_table(db):
"""
Creates an improved withdraw table and migrates the existing data.
"""
await db.execute('\n CREATE TABLE IF NOT EXISTS withdraw_link (\n id TEXT PRIMARY KEY,\n wallet TEXT,\n title TEXT,\n min_withdrawable INTEGER DEFAULT 1,\n max_withdrawable INTEGER DEFAULT 1,\n uses INTEGER DEFAULT 1,\n wait_time INTEGER,\n is_unique INTEGER DEFAULT 0,\n unique_hash TEXT UNIQUE,\n k1 TEXT,\n open_time INTEGER,\n used INTEGER DEFAULT 0,\n usescsv TEXT\n );\n ')
await db.execute('CREATE INDEX IF NOT EXISTS wallet_idx ON withdraw_link (wallet)')
await db.execute('CREATE UNIQUE INDEX IF NOT EXISTS unique_hash_idx ON withdraw_link (unique_hash)')
for row in [list(row) for row in await db.fetchall('SELECT * FROM withdraw_links')]:
usescsv = ''
for i in range(row[5]):
if row[7]:
usescsv += ',' + str(i + 1)
else:
usescsv += ',' + str(1)
usescsv = usescsv[1:]
await db.execute('\n INSERT INTO withdraw_link (\n id,\n wallet,\n title,\n min_withdrawable,\n max_withdrawable,\n uses,\n wait_time,\n is_unique,\n unique_hash,\n k1,\n open_time,\n used,\n usescsv\n )\n VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\n ', (row[0], row[1], row[2], row[3], row[4], row[5], row[6], row[7], row[8], row[9], row[10], row[11], usescsv))
await db.execute('DROP TABLE withdraw_links') |
# Copyright 2018 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The name of the rules repo. Centralised so it's easy to change.
REPO_ROOT = "io_bazel_rules_kotlin"
# The name of the Kotlin compiler workspace.
KOTLIN_REPO_ROOT = "com_github_jetbrains_kotlin"
########################################################################################################################
# Providers
########################################################################################################################
KotlinInfo = provider(
fields = {
"src": "the source files. [intelij-aspect]",
"outputs": "output jars produced by this rule. [intelij-aspect]",
},
)
| repo_root = 'io_bazel_rules_kotlin'
kotlin_repo_root = 'com_github_jetbrains_kotlin'
kotlin_info = provider(fields={'src': 'the source files. [intelij-aspect]', 'outputs': 'output jars produced by this rule. [intelij-aspect]'}) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.