content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# Given a non-negative integer x, compute and return the square root of x.
# Since the return type is an integer, the decimal digits are truncated,
# and only the integer part of the result is returned.
# Note: You are not allowed to use any built-in exponent function or operator,
# such as pow(x, 0.5) or x ** 0.5.
# Example 1:
# Input: x = 4
# Output: 2
# Example 2:
# Input: x = 8
# Output: 2
# Explanation: The square root of 8 is 2.82842..., and since the decimal part is truncated, 2 is returned.
# Constraints:
# 0 <= x <= 2^31 - 1
class InitialSolution:
def mySqrt(self, x: int) -> int:
start, end = 0, x
while start <= end:
mid = start + (end - start) // 2
square = mid * mid
if square > x:
end = mid - 1
elif square < x:
start = mid + 1
else:
return mid
return end
| class Initialsolution:
def my_sqrt(self, x: int) -> int:
(start, end) = (0, x)
while start <= end:
mid = start + (end - start) // 2
square = mid * mid
if square > x:
end = mid - 1
elif square < x:
start = mid + 1
else:
return mid
return end |
def get_color(code):
# write your answer between #start and #end
#start
return ''
#end
print('Test 1')
print('Expected:Red')
result = get_color ('R')
print('Actual :' + result)
print()
print('Test 2')
print('Expected:Green')
result = get_color ('g')
print('Actual :' + result)
print()
print('Test 3')
print('Expected:Blue')
result = get_color ('B')
print('Actual :' + result)
print()
print('Test 4')
print('Expected:Invalid')
result = get_color ('big')
print('Actual :' + result)
print()
print('Test 5')
print('Expected:Invalid')
result = get_color ('x')
print('Actual :' + result)
| def get_color(code):
return ''
print('Test 1')
print('Expected:Red')
result = get_color('R')
print('Actual :' + result)
print()
print('Test 2')
print('Expected:Green')
result = get_color('g')
print('Actual :' + result)
print()
print('Test 3')
print('Expected:Blue')
result = get_color('B')
print('Actual :' + result)
print()
print('Test 4')
print('Expected:Invalid')
result = get_color('big')
print('Actual :' + result)
print()
print('Test 5')
print('Expected:Invalid')
result = get_color('x')
print('Actual :' + result) |
def game_to_genre(game_name):
genres_dict = {}
with open('genres_dict.txt', 'r') as file:
file.seek(0)
for line in file:
stripped_line = line.strip()
key, *value = stripped_line.split(', ')
genres_dict[key] = value
game_genre = None
lowered_game_name = game_name.strip().lower()
for key, value in genres_dict.items():
if lowered_game_name in value:
game_genre = key
return game_genre
if game_genre is None:
print('\nThe game is not found. Where would you like to add it?\n'
'- MOBA\n'
'- FPS\n'
'- MMORPG\n'
'- STRATEGY\n')
new_game_input = input().upper()
genres_dict[new_game_input].append(lowered_game_name)
with open('genres_dict.txt', 'w') as file:
file.seek(0)
for key, value in genres_dict.items():
file.write('{}'.format(key))
for i in value:
file.write(', {}'.format(i))
file.write('\n')
return 'Completed!'
name = input()
print(game_to_genre(name))
| def game_to_genre(game_name):
genres_dict = {}
with open('genres_dict.txt', 'r') as file:
file.seek(0)
for line in file:
stripped_line = line.strip()
(key, *value) = stripped_line.split(', ')
genres_dict[key] = value
game_genre = None
lowered_game_name = game_name.strip().lower()
for (key, value) in genres_dict.items():
if lowered_game_name in value:
game_genre = key
return game_genre
if game_genre is None:
print('\nThe game is not found. Where would you like to add it?\n- MOBA\n- FPS\n- MMORPG\n- STRATEGY\n')
new_game_input = input().upper()
genres_dict[new_game_input].append(lowered_game_name)
with open('genres_dict.txt', 'w') as file:
file.seek(0)
for (key, value) in genres_dict.items():
file.write('{}'.format(key))
for i in value:
file.write(', {}'.format(i))
file.write('\n')
return 'Completed!'
name = input()
print(game_to_genre(name)) |
# Copyright (C) 2021 Clinton Garwood
# MIT Open Source Initiative Approved License
# hw_assignment_4_clinton.py
# CIS-135 Python
# Homework Assignment #4 - A Phone Sales Application
# Code Summary:
# A program that computes total charges for phones sold
# and displays the initial charge, the tax and the total
# charge for that phone. The program allows a user to
# enter multiple phone sales and at the end displays a
# total value of the phones, total sales tax collected,
# and total sales for that session.
# Resources of Students
# Syntax Help - Resources:
# https://www.w3schools.com/python/python_functions.asp
# https://www.w3schools.com/python/python_ref_functions.asp
# https://www.w3schools.com/python/ref_func_format.asp
# Python Reference - The Docs
# https://docs.python.org/3/library/functions.html
# https://docs.python.org/3/library/index.html
# https://docs.python.org/3/reference/index.html#reference-index
# https://docs.python.org/3/reference/compound_stmts.html#function-definitions
def sales_data_report(total_phones_price, total_sales_tax_collected, total_sales):
# Variable Declaration Area
price_of_phone = 0.00 # (float)
sales_tax = 0.00 # (float)
tax_rate = 0.07 # (float)
this_sale = 0.00 # (float)
# Prompt the user for the price of a phone
price_of_phone = float(input("\n\tPlease enter in the price of the phone: "))
# Compute sale tax: price_of_phone x tax_rate (.07)
sales_tax = price_of_phone * tax_rate
# Compute Total Sale price_of_phone + sales_tax
this_sale = price_of_phone + sales_tax
# Individual Phone Data Display: Use the format() string function
# For currency data, display a $ and two numbers following the decimal place
print("\n\tPhone Sale Summary")
print("\t\tPhone List Price: ${:>10,.2f}".format(price_of_phone))
print("\t\tSales Tax Collected: ${:>10,.2f}".format(sales_tax))
print("\t\tTotal Sale Price: ${:>10,.2f}\n".format(this_sale))
# Update and return grand_total variables
total_phones_price += price_of_phone
total_sales_tax_collected += sales_tax
total_sales += this_sale
return total_phones_price, total_sales_tax_collected, total_sales
def main():
# Welcome the user
print("\nWelcome to the Phone Sales Application")
print("\n\tThis applicaton takes in individual phone sales data")
print("\tand prints out the grand totals for the day's sales.")
# Variable Declaration Area
total_phones_sold = 0 # (integer)
total_phones_price = 0.00 # (float)
total_sales_tax_collected = 0.00 # (float)
total_sales = 0.00 # (float)
get_phones = 1
# Loop until there is no data
print("\n\tData Collection Module:")
while(get_phones == 1):
# Ask user if there is phone data to enter
get_phones = int(input("\tTo add a phone enter 1; or enter 2 to exit: "))
if (get_phones == 1):
# Call sales_loop function and catch total data on function return
total_phones_price, total_sales_tax_collected, total_sales = sales_data_report(total_phones_price,total_sales_tax_collected,total_sales)
# update total phones sold
total_phones_sold += 1
else:
print("\tEnd of Data Collection")
# Final Display: Use the format() string function
# For currency data, display a $ and two numbers following the decimal place
print("\n\tGrand Total Sales Summary:")
print("\t\tTotal Phones Sold: {:>10}".format(total_phones_sold))
print("\t\tTotal Phone Prices: ${:>10,.2f}".format(total_phones_price))
print("\t\tTotal Sales Tax: ${:>10,.2f}".format(total_sales_tax_collected))
print("\t\tSales Grand Total: ${:>10,.2f}".format(total_sales))
# Thank the user
print("\nThank you for using the Phone Sales Data App")
return
main()
| def sales_data_report(total_phones_price, total_sales_tax_collected, total_sales):
price_of_phone = 0.0
sales_tax = 0.0
tax_rate = 0.07
this_sale = 0.0
price_of_phone = float(input('\n\tPlease enter in the price of the phone: '))
sales_tax = price_of_phone * tax_rate
this_sale = price_of_phone + sales_tax
print('\n\tPhone Sale Summary')
print('\t\tPhone List Price: ${:>10,.2f}'.format(price_of_phone))
print('\t\tSales Tax Collected: ${:>10,.2f}'.format(sales_tax))
print('\t\tTotal Sale Price: ${:>10,.2f}\n'.format(this_sale))
total_phones_price += price_of_phone
total_sales_tax_collected += sales_tax
total_sales += this_sale
return (total_phones_price, total_sales_tax_collected, total_sales)
def main():
print('\nWelcome to the Phone Sales Application')
print('\n\tThis applicaton takes in individual phone sales data')
print("\tand prints out the grand totals for the day's sales.")
total_phones_sold = 0
total_phones_price = 0.0
total_sales_tax_collected = 0.0
total_sales = 0.0
get_phones = 1
print('\n\tData Collection Module:')
while get_phones == 1:
get_phones = int(input('\tTo add a phone enter 1; or enter 2 to exit: '))
if get_phones == 1:
(total_phones_price, total_sales_tax_collected, total_sales) = sales_data_report(total_phones_price, total_sales_tax_collected, total_sales)
total_phones_sold += 1
else:
print('\tEnd of Data Collection')
print('\n\tGrand Total Sales Summary:')
print('\t\tTotal Phones Sold: {:>10}'.format(total_phones_sold))
print('\t\tTotal Phone Prices: ${:>10,.2f}'.format(total_phones_price))
print('\t\tTotal Sales Tax: ${:>10,.2f}'.format(total_sales_tax_collected))
print('\t\tSales Grand Total: ${:>10,.2f}'.format(total_sales))
print('\nThank you for using the Phone Sales Data App')
return
main() |
'''
Positioning and styling legends
Properties of the legend can be changed by using the legend member attribute of a Bokeh figure after the glyphs have been plotted.
In this exercise, you'll adjust the background color and legend location of the female literacy vs fertility plot from the previous exercise.
The figure object p has been created for you along with the circle glyphs.
INSTRUCTIONS
100XP
Use p.legend.location to adjust the legend location to be on the 'bottom_left'.
Use p.legend.background_fill_color to set the background color of the legend to 'lightgray'.
'''
# Assign the legend to the bottom left: p.legend.location
p.legend.location='bottom_left'
# Fill the legend background with the color 'lightgray': p.legend.background_fill_color
p.legend.background_fill_color='lightgray'
# Specify the name of the output_file and show the result
output_file('fert_lit_groups.html')
show(p)
| """
Positioning and styling legends
Properties of the legend can be changed by using the legend member attribute of a Bokeh figure after the glyphs have been plotted.
In this exercise, you'll adjust the background color and legend location of the female literacy vs fertility plot from the previous exercise.
The figure object p has been created for you along with the circle glyphs.
INSTRUCTIONS
100XP
Use p.legend.location to adjust the legend location to be on the 'bottom_left'.
Use p.legend.background_fill_color to set the background color of the legend to 'lightgray'.
"""
p.legend.location = 'bottom_left'
p.legend.background_fill_color = 'lightgray'
output_file('fert_lit_groups.html')
show(p) |
alphabet = "".join([chr(65 + r) for r in range(26)] * 2)
stringToEncrypt = input("please enter a message to encrypt")
stringToEncrypt = stringToEncrypt.upper()
shiftAmount = int(input("please enter a whole number from -25-25 to be your key"))
encryptedString = ""
for currentCharacter in stringToEncrypt:
position = alphabet.find(currentCharacter)
newPosition = position + shiftAmount
if currentCharacter in alphabet:
encryptedString = encryptedString + alphabet[newPosition]
else:
encryptedString = encryptedString + currentCharacter
print("your encrypted message is", encryptedString) | alphabet = ''.join([chr(65 + r) for r in range(26)] * 2)
string_to_encrypt = input('please enter a message to encrypt')
string_to_encrypt = stringToEncrypt.upper()
shift_amount = int(input('please enter a whole number from -25-25 to be your key'))
encrypted_string = ''
for current_character in stringToEncrypt:
position = alphabet.find(currentCharacter)
new_position = position + shiftAmount
if currentCharacter in alphabet:
encrypted_string = encryptedString + alphabet[newPosition]
else:
encrypted_string = encryptedString + currentCharacter
print('your encrypted message is', encryptedString) |
fruit = input()
size_set = input()
ordered_sets = int(input())
price = 0.0
if size_set == "small":
price = 2.0
if fruit == "Watermelon":
price *= 56
elif fruit == "Mango":
price *= 36.66
elif fruit == "Pineapple":
price *= 42.10
elif fruit == "Raspberry":
price *= 20
if size_set == "big":
price = 5.0
if fruit == "Watermelon":
price *= 28.70
elif fruit == "Mango":
price *= 19.60
elif fruit == "Pineapple":
price *= 24.80
elif fruit == "Raspberry":
price *= 15.20
price *= ordered_sets
if 400 <= price <= 1000:
price *= 0.85
print(f"{price:.2f} lv.")
elif price > 1000:
price *= 0.5
print(f"{price:.2f} lv.")
else:
print(f"{price:.2f} lv.")
| fruit = input()
size_set = input()
ordered_sets = int(input())
price = 0.0
if size_set == 'small':
price = 2.0
if fruit == 'Watermelon':
price *= 56
elif fruit == 'Mango':
price *= 36.66
elif fruit == 'Pineapple':
price *= 42.1
elif fruit == 'Raspberry':
price *= 20
if size_set == 'big':
price = 5.0
if fruit == 'Watermelon':
price *= 28.7
elif fruit == 'Mango':
price *= 19.6
elif fruit == 'Pineapple':
price *= 24.8
elif fruit == 'Raspberry':
price *= 15.2
price *= ordered_sets
if 400 <= price <= 1000:
price *= 0.85
print(f'{price:.2f} lv.')
elif price > 1000:
price *= 0.5
print(f'{price:.2f} lv.')
else:
print(f'{price:.2f} lv.') |
class Solution:
def largeGroupPositions(self, s: str) -> List[List[int]]:
indexes = []; start, end, n = 0, 0, len(s)
while start < n:
while end < n and s[start] == s[end]:
end += 1
if end-start > 2: indexes.append([start,end-1])
start = end
return indexes | class Solution:
def large_group_positions(self, s: str) -> List[List[int]]:
indexes = []
(start, end, n) = (0, 0, len(s))
while start < n:
while end < n and s[start] == s[end]:
end += 1
if end - start > 2:
indexes.append([start, end - 1])
start = end
return indexes |
class Class(object):
def __enter__(self):
print('__enter__')
return self
def __exit__(self, exc_type, exc_val, exc_tb):
print('__exit__')
with Class() as c:
print(c)
#raise Exception
| class Class(object):
def __enter__(self):
print('__enter__')
return self
def __exit__(self, exc_type, exc_val, exc_tb):
print('__exit__')
with class() as c:
print(c) |
new_pod_repository(
name = "FBSDKCoreKit",
url = "https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip",
podspec_url = "Vendor/Podspecs/FBSDKCoreKit.podspec.json",
generate_header_map = 1
)
new_pod_repository(
name = "FBSDKLoginKit",
url = "https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip",
podspec_url = "Vendor/Podspecs/FBSDKLoginKit.podspec.json",
generate_header_map = 1
)
new_pod_repository(
name = "FBSDKShareKit",
url = "https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip",
podspec_url = "Vendor/Podspecs/FBSDKShareKit.podspec.json",
generate_header_map = 1
)
| new_pod_repository(name='FBSDKCoreKit', url='https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip', podspec_url='Vendor/Podspecs/FBSDKCoreKit.podspec.json', generate_header_map=1)
new_pod_repository(name='FBSDKLoginKit', url='https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip', podspec_url='Vendor/Podspecs/FBSDKLoginKit.podspec.json', generate_header_map=1)
new_pod_repository(name='FBSDKShareKit', url='https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip', podspec_url='Vendor/Podspecs/FBSDKShareKit.podspec.json', generate_header_map=1) |
class Simplest():
pass
print(type(Simplest))
simp = Simplest()
print(type(simp))
print(type(simp) == Simplest)
| class Simplest:
pass
print(type(Simplest))
simp = simplest()
print(type(simp))
print(type(simp) == Simplest) |
print(''.join(['-' for x in range(70)]))
# Functions are objects
def my_func(x):
print("Functions are objects:", x, my_func.foo)
my_func.foo = 'foo'
print(dir(my_func))
print(''.join(['-' for x in range(70)]))
# Named and anonymous functions
my_lambda = lambda x: print("Lambda:", x, my_lambda.bar)
my_lambda.bar = 'bar'
my_lambda(42)
print(''.join(['-' for x in range(70)]))
# Functions inside functions
def f():
def g():
print("Hi, it's me 'g'")
print("Thanks for calling me")
print("This is the function 'f'")
print("I am calling 'g' now:")
g()
f()
print(''.join(['-' for x in range(70)]))
# Function as parameter
def g():
print("Hi, it's me 'g'")
print("Thanks for calling me")
def f(func):
print("Hi, it's me 'f'")
print("I will call 'func' now")
func()
f(g)
print(''.join(['-' for x in range(70)]))
# Returning a function
def f(x):
def g(y):
return y + x + 3
return g
nf1 = f(1)
print(nf1(1))
print(f(3)(1)) | print(''.join(['-' for x in range(70)]))
def my_func(x):
print('Functions are objects:', x, my_func.foo)
my_func.foo = 'foo'
print(dir(my_func))
print(''.join(['-' for x in range(70)]))
my_lambda = lambda x: print('Lambda:', x, my_lambda.bar)
my_lambda.bar = 'bar'
my_lambda(42)
print(''.join(['-' for x in range(70)]))
def f():
def g():
print("Hi, it's me 'g'")
print('Thanks for calling me')
print("This is the function 'f'")
print("I am calling 'g' now:")
g()
f()
print(''.join(['-' for x in range(70)]))
def g():
print("Hi, it's me 'g'")
print('Thanks for calling me')
def f(func):
print("Hi, it's me 'f'")
print("I will call 'func' now")
func()
f(g)
print(''.join(['-' for x in range(70)]))
def f(x):
def g(y):
return y + x + 3
return g
nf1 = f(1)
print(nf1(1))
print(f(3)(1)) |
QUERY_ISSUE_RESPONSE = {
"expand": "names,schema",
"issues": [
{
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"fields": {
"aggregateprogress": {
"progress": 0,
"total": 0
},
"aggregatetimeestimate": None,
"aggregatetimeoriginalestimate": None,
"aggregatetimespent": None,
"assignee": None,
"components": [],
"created": "2019-05-04T00:44:31.743+0300",
"creator": {
"accountId": "557058:fb80ffc0-b374-4260-99a0-ea0c140a4e76",
"accountType": "atlassian",
"active": True,
"avatarUrls": {
"16x16": "",
"24x24": "",
"32x32": "",
"48x48": ""
},
"displayName": "jon doe",
"emailAddress": "email",
"self": "https://demistodev.atlassian.net/rest/api/2/user?accountId=id",
"timeZone": "Asia"
},
"customfield_10000": "{}",
"customfield_10001": "John Doe",
"customfield_10002": None,
"customfield_10003": None,
"customfield_10004": None,
"customfield_10005": None,
"customfield_10006": None,
"customfield_10007": None,
"customfield_10008": None,
"customfield_10009": None,
"customfield_10013": None,
"customfield_10014": None,
"customfield_10015": {
"hasEpicLinkFieldDependency": False,
"nonEditableReason": {
"message": "The Parent Link is only available to Jira Premium users.",
"reason": "PLUGIN_LICENSE_ERROR"
},
"showField": False
},
"customfield_10016": None,
"customfield_10017": "10000_*:*_1_*:*_1023607418_*|*_10001_*:*_1_*:*_0",
"customfield_10018": None,
"customfield_10019": "0|i006cf:",
"customfield_10022": None,
"customfield_10023": [],
"customfield_10024": None,
"customfield_10025": None,
"customfield_10027": None,
"customfield_10029": None,
"customfield_10031": None,
"customfield_10032": None,
"customfield_10033": None,
"customfield_10034": None,
"customfield_10035": None,
"customfield_10036": None,
"customfield_10037": None,
"customfield_10038": None,
"customfield_10039": None,
"customfield_10040": None,
"customfield_10041": None,
"customfield_10042": None,
"customfield_10043": None,
"description": "hello",
"duedate": None,
"environment": None,
"fixVersions": [],
"issuelinks": [],
"issuetype": {
"avatarId": 10318,
"description": "A task that needs to be done.",
"iconUrl": "a",
"id": "10001",
"name": "Task",
"self": "https://localhost/rest/api/2/issuetype/10001",
"subtask": False
},
"labels": [],
"lastViewed": None,
"priority": {
"iconUrl": "https://localhost/images/icons/priorities/high.svg",
"id": "2",
"name": "High",
"self": "https://localhost/rest/api/2/priority/2"
},
"progress": {
"progress": 0,
"total": 0
},
"project": {
"avatarUrls": {
"16x16": "",
"24x24": "",
"32x32": "",
"48x48": ""
},
"id": "10005",
"key": "VIK",
"name": "VikTest",
"projectTypeKey": "software",
"self": "https://localhost/rest/api/2/project/10005",
"simplified": False
},
"reporter": {
"accountId": "557058:fb80ffc0-b374-4260-99a0-ea0c140a4e76",
"accountType": "atlassian",
"active": True,
"avatarUrls": {
"16x16": "",
"24x24": "",
"32x32": "",
"48x48": ""
},
"displayName": "displayName",
"emailAddress": "email",
"self": "https://localhost/rest/api/2/user?accountId=id",
"timeZone": "Asia/Jerusalem"
},
"resolution": {
"description": "Work has been completed on this issue.",
"id": "10000",
"name": "Done",
"self": "https://localhost/rest/api/2/resolution/10000"
},
"resolutiondate": "2019-05-15T21:04:39.147+0300",
"security": None,
"status": {
"description": "",
"iconUrl": "https://localhost/images/icons/status_generic.gif",
"id": "10000",
"name": "To Do",
"self": "https://localhost/rest/api/2/status/10000",
"statusCategory": {
"colorName": "blue-gray",
"id": 2,
"key": "new",
"name": "To Do",
"self": "https://localhost/rest/api/2/statuscategory/2"
}
},
"statuscategorychangedate": "2019-05-15T21:24:07.222+0300",
"subtasks": [],
"summary": "JiraTestMohitM",
"timeestimate": None,
"timeoriginalestimate": None,
"timespent": None,
"updated": "2019-05-15T21:24:07.222+0300",
"versions": [],
"votes": {
"hasVoted": False,
"self": "https://localhost/rest/api/2/issue/VIK-3/votes",
"votes": 0
},
"watches": {
"isWatching": True,
"self": "https://localhost/rest/api/2/issue/VIK-3/watchers",
"watchCount": 1
},
"workratio": -1
},
"id": "12652",
"key": "VIK-3",
"self": "https://localhost/rest/api/latest/issue/12652"
}
],
"maxResults": 1,
"startAt": 0,
"total": 1115
}
GET_ISSUE_RESPONSE = {
'expand': 'renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_10022.requestTypePractice',
'id': '19141', 'key': 'VIK-238',
'fields': {
'statuscategorychangedate': '2021-04-04T12:25:48.335+0300',
'issuetype': {'id': '10001',
'description': 'A task that needs to be done.',
'name': 'Task', 'subtask': False, 'avatarId': 10318, 'hierarchyLevel': 0},
'timespent': None,
'project': {'id': '10005',
'key': 'VIK', 'name': 'VikTest', 'projectTypeKey': 'software', 'simplified': False,
'avatarUrls': {
'48x48': ''}},
'customfield_10031': None, 'customfield_10032': None, 'fixVersions': [],
'customfield_10033': None,
'customfield_10034': None, 'aggregatetimespent': None, 'resolution': None,
'customfield_10035': None,
'customfield_10036': None, 'customfield_10037': None, 'customfield_10027': None,
'customfield_10029': None, 'resolutiondate': None, 'workratio': -1, 'lastViewed': None,
'issuerestriction': {'issuerestrictions': {}, 'shouldDisplay': False},
'watches': {'self': '',
'watchCount': 1, 'isWatching': True},
'created': '2021-04-04T12:25:48.114+0300',
'customfield_10022': None,
'priority': {'self': '',
'iconUrl': '',
'name': 'Medium', 'id': '3'}, 'customfield_10023': [],
'customfield_10024': None, 'customfield_10025': None, 'labels': [],
'customfield_10016': None,
'customfield_10017': None, 'customfield_10018': None, 'customfield_10019': '0|i00g5j:',
'aggregatetimeoriginalestimate': None, 'timeestimate': None, 'versions': [],
'issuelinks': [],
'assignee': None, 'updated': '2021-04-04T12:49:43.546+0300',
'status': {'self': '',
'description': '',
'iconUrl': '',
'name': 'To Do', 'id': '10000',
'statusCategory': {
'self': '',
'id': 2, 'key': 'new', 'colorName': 'blue-gray', 'name': 'To Do'}},
'components': [], 'timeoriginalestimate': None,
'description': 'changeing again again\n\nagain gain',
'customfield_10013': None, 'customfield_10014': None,
'customfield_10015': {'hasEpicLinkFieldDependency': False, 'showField': False,
'nonEditableReason': {'reason': 'PLUGIN_LICENSE_ERROR',
'message': 'The Parent Link is only available to Jira Premium users.'}},
'timetracking': {}, 'customfield_10005': None, 'customfield_10006': None,
'security': None,
'customfield_10007': None, 'customfield_10008': None, 'customfield_10009': None,
'attachment': [
{'self': '',
'content': 'https://someurl.com',
'id': '15451',
'filename': 'entry_artifact_5@317.json', 'author': {
'accountId': 'accountid',
'emailAddress': 'email',
'avatarUrls': {
'48x48': ''},
'displayName': 'displayName', 'active': True, 'timeZone': 'Asia/Jerusalem',
'accountType': 'atlassian'},
'created': '2021-04-04T12:49:42.881+0300', 'size': 8225,
'mimeType': 'application/json',
}],
'aggregatetimeestimate': None, 'summary': 'test master1',
'creator': {
'accountId': 'accountid',
'accountType': 'atlassian',
'active': True,
'avatarUrls': {
'16x16': '',
'24x24': '',
'32x32': '',
'48x48': ''
},
'displayName': 'jon doe',
'emailAddress': 'email',
'self': 'https://localhost/rest/api/2/user?accountId=id',
'timeZone': 'Asia'
}
}
}
FIELDS_RESPONSE = [
{'id': 'customfield_10001', 'key': 'customfield_10001', 'name': 'Owner', 'untranslatedName': 'Owner',
'custom': True, 'orderable': True, 'navigable': True, 'searchable': True,
'clauseNames': ['cf[10001]', 'Owner', 'Owner[User Picker (single user)]'],
'schema': {'type': 'user', 'custom': 'com.atlassian.jira.plugin.system.customfieldtypes:userpicker',
'customId': 10001}},
{'id': 'resolution', 'key': 'resolution', 'name': 'Resolution', 'custom': False, 'orderable': True,
'navigable': True, 'searchable': True, 'clauseNames': ['resolution'],
'schema': {'type': 'resolution', 'system': 'resolution'}},
{'id': 'resolutiondate', 'key': 'resolutiondate', 'name': 'Resolved', 'custom': False, 'orderable': False,
'navigable': True, 'searchable': True, 'clauseNames': ['resolutiondate', 'resolved'],
'schema': {'type': 'datetime', 'system': 'resolutiondate'}}
]
EXPECTED_RESP = {
'customfield_10001': 'Owner',
'resolution': 'Resolution',
'resolutiondate': 'Resolved'
}
ATTACHMENT = {
"self": "https://localhost/rest/api/2/attachment/16188",
"id": "16188",
"filename": "test",
"author": {
"self": "https://localhost/rest/api/2/user?accountId=557058%3Afb80ffc0-b374-4260-99a0"
"-ea0c140a4e76",
"accountId": "account id",
"emailAddress": "mail",
"avatarUrls": {},
"displayName": "name",
"active": True,
"timeZone": "Asia/Jerusalem",
"accountType": "atlassian"
},
"created": "2021-11-17T12:40:06.700+0200",
"size": 4,
"mimeType": "binary/octet-stream",
"content": "https://localhost/rest/api/2/attachment/content/16188"
}
| query_issue_response = {'expand': 'names,schema', 'issues': [{'expand': 'operations,versionedRepresentations,editmeta,changelog,renderedFields', 'fields': {'aggregateprogress': {'progress': 0, 'total': 0}, 'aggregatetimeestimate': None, 'aggregatetimeoriginalestimate': None, 'aggregatetimespent': None, 'assignee': None, 'components': [], 'created': '2019-05-04T00:44:31.743+0300', 'creator': {'accountId': '557058:fb80ffc0-b374-4260-99a0-ea0c140a4e76', 'accountType': 'atlassian', 'active': True, 'avatarUrls': {'16x16': '', '24x24': '', '32x32': '', '48x48': ''}, 'displayName': 'jon doe', 'emailAddress': 'email', 'self': 'https://demistodev.atlassian.net/rest/api/2/user?accountId=id', 'timeZone': 'Asia'}, 'customfield_10000': '{}', 'customfield_10001': 'John Doe', 'customfield_10002': None, 'customfield_10003': None, 'customfield_10004': None, 'customfield_10005': None, 'customfield_10006': None, 'customfield_10007': None, 'customfield_10008': None, 'customfield_10009': None, 'customfield_10013': None, 'customfield_10014': None, 'customfield_10015': {'hasEpicLinkFieldDependency': False, 'nonEditableReason': {'message': 'The Parent Link is only available to Jira Premium users.', 'reason': 'PLUGIN_LICENSE_ERROR'}, 'showField': False}, 'customfield_10016': None, 'customfield_10017': '10000_*:*_1_*:*_1023607418_*|*_10001_*:*_1_*:*_0', 'customfield_10018': None, 'customfield_10019': '0|i006cf:', 'customfield_10022': None, 'customfield_10023': [], 'customfield_10024': None, 'customfield_10025': None, 'customfield_10027': None, 'customfield_10029': None, 'customfield_10031': None, 'customfield_10032': None, 'customfield_10033': None, 'customfield_10034': None, 'customfield_10035': None, 'customfield_10036': None, 'customfield_10037': None, 'customfield_10038': None, 'customfield_10039': None, 'customfield_10040': None, 'customfield_10041': None, 'customfield_10042': None, 'customfield_10043': None, 'description': 'hello', 'duedate': None, 'environment': None, 'fixVersions': [], 'issuelinks': [], 'issuetype': {'avatarId': 10318, 'description': 'A task that needs to be done.', 'iconUrl': 'a', 'id': '10001', 'name': 'Task', 'self': 'https://localhost/rest/api/2/issuetype/10001', 'subtask': False}, 'labels': [], 'lastViewed': None, 'priority': {'iconUrl': 'https://localhost/images/icons/priorities/high.svg', 'id': '2', 'name': 'High', 'self': 'https://localhost/rest/api/2/priority/2'}, 'progress': {'progress': 0, 'total': 0}, 'project': {'avatarUrls': {'16x16': '', '24x24': '', '32x32': '', '48x48': ''}, 'id': '10005', 'key': 'VIK', 'name': 'VikTest', 'projectTypeKey': 'software', 'self': 'https://localhost/rest/api/2/project/10005', 'simplified': False}, 'reporter': {'accountId': '557058:fb80ffc0-b374-4260-99a0-ea0c140a4e76', 'accountType': 'atlassian', 'active': True, 'avatarUrls': {'16x16': '', '24x24': '', '32x32': '', '48x48': ''}, 'displayName': 'displayName', 'emailAddress': 'email', 'self': 'https://localhost/rest/api/2/user?accountId=id', 'timeZone': 'Asia/Jerusalem'}, 'resolution': {'description': 'Work has been completed on this issue.', 'id': '10000', 'name': 'Done', 'self': 'https://localhost/rest/api/2/resolution/10000'}, 'resolutiondate': '2019-05-15T21:04:39.147+0300', 'security': None, 'status': {'description': '', 'iconUrl': 'https://localhost/images/icons/status_generic.gif', 'id': '10000', 'name': 'To Do', 'self': 'https://localhost/rest/api/2/status/10000', 'statusCategory': {'colorName': 'blue-gray', 'id': 2, 'key': 'new', 'name': 'To Do', 'self': 'https://localhost/rest/api/2/statuscategory/2'}}, 'statuscategorychangedate': '2019-05-15T21:24:07.222+0300', 'subtasks': [], 'summary': 'JiraTestMohitM', 'timeestimate': None, 'timeoriginalestimate': None, 'timespent': None, 'updated': '2019-05-15T21:24:07.222+0300', 'versions': [], 'votes': {'hasVoted': False, 'self': 'https://localhost/rest/api/2/issue/VIK-3/votes', 'votes': 0}, 'watches': {'isWatching': True, 'self': 'https://localhost/rest/api/2/issue/VIK-3/watchers', 'watchCount': 1}, 'workratio': -1}, 'id': '12652', 'key': 'VIK-3', 'self': 'https://localhost/rest/api/latest/issue/12652'}], 'maxResults': 1, 'startAt': 0, 'total': 1115}
get_issue_response = {'expand': 'renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_10022.requestTypePractice', 'id': '19141', 'key': 'VIK-238', 'fields': {'statuscategorychangedate': '2021-04-04T12:25:48.335+0300', 'issuetype': {'id': '10001', 'description': 'A task that needs to be done.', 'name': 'Task', 'subtask': False, 'avatarId': 10318, 'hierarchyLevel': 0}, 'timespent': None, 'project': {'id': '10005', 'key': 'VIK', 'name': 'VikTest', 'projectTypeKey': 'software', 'simplified': False, 'avatarUrls': {'48x48': ''}}, 'customfield_10031': None, 'customfield_10032': None, 'fixVersions': [], 'customfield_10033': None, 'customfield_10034': None, 'aggregatetimespent': None, 'resolution': None, 'customfield_10035': None, 'customfield_10036': None, 'customfield_10037': None, 'customfield_10027': None, 'customfield_10029': None, 'resolutiondate': None, 'workratio': -1, 'lastViewed': None, 'issuerestriction': {'issuerestrictions': {}, 'shouldDisplay': False}, 'watches': {'self': '', 'watchCount': 1, 'isWatching': True}, 'created': '2021-04-04T12:25:48.114+0300', 'customfield_10022': None, 'priority': {'self': '', 'iconUrl': '', 'name': 'Medium', 'id': '3'}, 'customfield_10023': [], 'customfield_10024': None, 'customfield_10025': None, 'labels': [], 'customfield_10016': None, 'customfield_10017': None, 'customfield_10018': None, 'customfield_10019': '0|i00g5j:', 'aggregatetimeoriginalestimate': None, 'timeestimate': None, 'versions': [], 'issuelinks': [], 'assignee': None, 'updated': '2021-04-04T12:49:43.546+0300', 'status': {'self': '', 'description': '', 'iconUrl': '', 'name': 'To Do', 'id': '10000', 'statusCategory': {'self': '', 'id': 2, 'key': 'new', 'colorName': 'blue-gray', 'name': 'To Do'}}, 'components': [], 'timeoriginalestimate': None, 'description': 'changeing again again\n\nagain gain', 'customfield_10013': None, 'customfield_10014': None, 'customfield_10015': {'hasEpicLinkFieldDependency': False, 'showField': False, 'nonEditableReason': {'reason': 'PLUGIN_LICENSE_ERROR', 'message': 'The Parent Link is only available to Jira Premium users.'}}, 'timetracking': {}, 'customfield_10005': None, 'customfield_10006': None, 'security': None, 'customfield_10007': None, 'customfield_10008': None, 'customfield_10009': None, 'attachment': [{'self': '', 'content': 'https://someurl.com', 'id': '15451', 'filename': 'entry_artifact_5@317.json', 'author': {'accountId': 'accountid', 'emailAddress': 'email', 'avatarUrls': {'48x48': ''}, 'displayName': 'displayName', 'active': True, 'timeZone': 'Asia/Jerusalem', 'accountType': 'atlassian'}, 'created': '2021-04-04T12:49:42.881+0300', 'size': 8225, 'mimeType': 'application/json'}], 'aggregatetimeestimate': None, 'summary': 'test master1', 'creator': {'accountId': 'accountid', 'accountType': 'atlassian', 'active': True, 'avatarUrls': {'16x16': '', '24x24': '', '32x32': '', '48x48': ''}, 'displayName': 'jon doe', 'emailAddress': 'email', 'self': 'https://localhost/rest/api/2/user?accountId=id', 'timeZone': 'Asia'}}}
fields_response = [{'id': 'customfield_10001', 'key': 'customfield_10001', 'name': 'Owner', 'untranslatedName': 'Owner', 'custom': True, 'orderable': True, 'navigable': True, 'searchable': True, 'clauseNames': ['cf[10001]', 'Owner', 'Owner[User Picker (single user)]'], 'schema': {'type': 'user', 'custom': 'com.atlassian.jira.plugin.system.customfieldtypes:userpicker', 'customId': 10001}}, {'id': 'resolution', 'key': 'resolution', 'name': 'Resolution', 'custom': False, 'orderable': True, 'navigable': True, 'searchable': True, 'clauseNames': ['resolution'], 'schema': {'type': 'resolution', 'system': 'resolution'}}, {'id': 'resolutiondate', 'key': 'resolutiondate', 'name': 'Resolved', 'custom': False, 'orderable': False, 'navigable': True, 'searchable': True, 'clauseNames': ['resolutiondate', 'resolved'], 'schema': {'type': 'datetime', 'system': 'resolutiondate'}}]
expected_resp = {'customfield_10001': 'Owner', 'resolution': 'Resolution', 'resolutiondate': 'Resolved'}
attachment = {'self': 'https://localhost/rest/api/2/attachment/16188', 'id': '16188', 'filename': 'test', 'author': {'self': 'https://localhost/rest/api/2/user?accountId=557058%3Afb80ffc0-b374-4260-99a0-ea0c140a4e76', 'accountId': 'account id', 'emailAddress': 'mail', 'avatarUrls': {}, 'displayName': 'name', 'active': True, 'timeZone': 'Asia/Jerusalem', 'accountType': 'atlassian'}, 'created': '2021-11-17T12:40:06.700+0200', 'size': 4, 'mimeType': 'binary/octet-stream', 'content': 'https://localhost/rest/api/2/attachment/content/16188'} |
cod1, n1, v1 = input().split(' ')
cod1 = int(cod1)
n1 = int(n1)
v1 = float(v1)
cod2, n2, v2 = input().split(' ')
cod2 = int(cod2)
n2 = int(n2)
v2 = float(v2)
tot = n1 * v1 + n2 * v2
print(f'VALOR A PAGAR: R$ {tot:.2f}')
| (cod1, n1, v1) = input().split(' ')
cod1 = int(cod1)
n1 = int(n1)
v1 = float(v1)
(cod2, n2, v2) = input().split(' ')
cod2 = int(cod2)
n2 = int(n2)
v2 = float(v2)
tot = n1 * v1 + n2 * v2
print(f'VALOR A PAGAR: R$ {tot:.2f}') |
# Dictionary
phonebook = {}
print(phonebook)
phonebook = {
'Andy': '9957558',
'John': '64746484',
'Jenny': '22282'
}
print(phonebook['Andy'])
print(phonebook['John'])
print(phonebook['Jenny'])
print(dir(phonebook))
for phone in phonebook.values():
print(phone)
for phone in phonebook.keys():
print(phone)
for key, value in phonebook.items():
print(key , value)
print(phonebook)
phonebook['Mike'] = '9957558'
print(phonebook)
phonebook['Mike'] = '78474449'
print(phonebook)
print(phonebook.get('Andy'))
phonebook.update(Andy='353536735', Terry = '64547437')
print(phonebook)
update_dict = {
'Juan': 4353536,
'Kerry': 884747
}
phonebook.update(update_dict)
print(phonebook)
del phonebook['Juan']
print(phonebook)
| phonebook = {}
print(phonebook)
phonebook = {'Andy': '9957558', 'John': '64746484', 'Jenny': '22282'}
print(phonebook['Andy'])
print(phonebook['John'])
print(phonebook['Jenny'])
print(dir(phonebook))
for phone in phonebook.values():
print(phone)
for phone in phonebook.keys():
print(phone)
for (key, value) in phonebook.items():
print(key, value)
print(phonebook)
phonebook['Mike'] = '9957558'
print(phonebook)
phonebook['Mike'] = '78474449'
print(phonebook)
print(phonebook.get('Andy'))
phonebook.update(Andy='353536735', Terry='64547437')
print(phonebook)
update_dict = {'Juan': 4353536, 'Kerry': 884747}
phonebook.update(update_dict)
print(phonebook)
del phonebook['Juan']
print(phonebook) |
def test_bearychat_badge_should_be_svg(test_client):
resp = test_client.get('/badge/bearychat.svg')
assert resp.status_code == 200
assert resp.content_type == 'image/svg+xml'
def test_bearychat_badge_should_contain_bearychat(test_client):
resp = test_client.get('/badge/bearychat.svg')
assert 'BearyChat' in resp.data.decode('u8')
| def test_bearychat_badge_should_be_svg(test_client):
resp = test_client.get('/badge/bearychat.svg')
assert resp.status_code == 200
assert resp.content_type == 'image/svg+xml'
def test_bearychat_badge_should_contain_bearychat(test_client):
resp = test_client.get('/badge/bearychat.svg')
assert 'BearyChat' in resp.data.decode('u8') |
def get_first_matching_attr(obj, *attrs, default=None):
for attr in attrs:
if hasattr(obj, attr):
return getattr(obj, attr)
return default
| def get_first_matching_attr(obj, *attrs, default=None):
for attr in attrs:
if hasattr(obj, attr):
return getattr(obj, attr)
return default |
#
# PySNMP MIB module OG-SMI-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OG-SMI-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:23:01 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")
SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
IpAddress, ObjectIdentity, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, ModuleIdentity, iso, Unsigned32, Counter64, Gauge32, NotificationType, Counter32, Integer32, Bits, enterprises = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "ObjectIdentity", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "ModuleIdentity", "iso", "Unsigned32", "Counter64", "Gauge32", "NotificationType", "Counter32", "Integer32", "Bits", "enterprises")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
opengear = ModuleIdentity((1, 3, 6, 1, 4, 1, 25049))
opengear.setRevisions(('2013-11-15 00:00', '2013-08-11 00:00', '2010-03-22 11:27', '2005-02-24 01:00',))
if mibBuilder.loadTexts: opengear.setLastUpdated('201311150000Z')
if mibBuilder.loadTexts: opengear.setOrganization('Opengear Inc.')
ogProducts = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 1))
if mibBuilder.loadTexts: ogProducts.setStatus('current')
ogLegacyMgmt = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 2))
if mibBuilder.loadTexts: ogLegacyMgmt.setStatus('current')
ogExperimental = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 3))
if mibBuilder.loadTexts: ogExperimental.setStatus('current')
ogInternal = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 4))
if mibBuilder.loadTexts: ogInternal.setStatus('current')
ogReserved1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 5))
if mibBuilder.loadTexts: ogReserved1.setStatus('current')
ogReserved2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 6))
if mibBuilder.loadTexts: ogReserved2.setStatus('current')
otherEnterprises = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 7))
if mibBuilder.loadTexts: otherEnterprises.setStatus('current')
ogAgentCapability = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 8))
if mibBuilder.loadTexts: ogAgentCapability.setStatus('current')
ogConfig = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 9))
if mibBuilder.loadTexts: ogConfig.setStatus('current')
ogMgmt = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 10))
if mibBuilder.loadTexts: ogMgmt.setStatus('current')
ogModules = ObjectIdentity((1, 3, 6, 1, 4, 1, 25049, 11))
if mibBuilder.loadTexts: ogModules.setStatus('current')
mibBuilder.exportSymbols("OG-SMI-MIB", ogReserved2=ogReserved2, ogLegacyMgmt=ogLegacyMgmt, ogReserved1=ogReserved1, ogModules=ogModules, opengear=opengear, otherEnterprises=otherEnterprises, ogExperimental=ogExperimental, PYSNMP_MODULE_ID=opengear, ogProducts=ogProducts, ogMgmt=ogMgmt, ogInternal=ogInternal, ogConfig=ogConfig, ogAgentCapability=ogAgentCapability)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, constraints_union, constraints_intersection, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(ip_address, object_identity, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, module_identity, iso, unsigned32, counter64, gauge32, notification_type, counter32, integer32, bits, enterprises) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'ObjectIdentity', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'ModuleIdentity', 'iso', 'Unsigned32', 'Counter64', 'Gauge32', 'NotificationType', 'Counter32', 'Integer32', 'Bits', 'enterprises')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
opengear = module_identity((1, 3, 6, 1, 4, 1, 25049))
opengear.setRevisions(('2013-11-15 00:00', '2013-08-11 00:00', '2010-03-22 11:27', '2005-02-24 01:00'))
if mibBuilder.loadTexts:
opengear.setLastUpdated('201311150000Z')
if mibBuilder.loadTexts:
opengear.setOrganization('Opengear Inc.')
og_products = object_identity((1, 3, 6, 1, 4, 1, 25049, 1))
if mibBuilder.loadTexts:
ogProducts.setStatus('current')
og_legacy_mgmt = object_identity((1, 3, 6, 1, 4, 1, 25049, 2))
if mibBuilder.loadTexts:
ogLegacyMgmt.setStatus('current')
og_experimental = object_identity((1, 3, 6, 1, 4, 1, 25049, 3))
if mibBuilder.loadTexts:
ogExperimental.setStatus('current')
og_internal = object_identity((1, 3, 6, 1, 4, 1, 25049, 4))
if mibBuilder.loadTexts:
ogInternal.setStatus('current')
og_reserved1 = object_identity((1, 3, 6, 1, 4, 1, 25049, 5))
if mibBuilder.loadTexts:
ogReserved1.setStatus('current')
og_reserved2 = object_identity((1, 3, 6, 1, 4, 1, 25049, 6))
if mibBuilder.loadTexts:
ogReserved2.setStatus('current')
other_enterprises = object_identity((1, 3, 6, 1, 4, 1, 25049, 7))
if mibBuilder.loadTexts:
otherEnterprises.setStatus('current')
og_agent_capability = object_identity((1, 3, 6, 1, 4, 1, 25049, 8))
if mibBuilder.loadTexts:
ogAgentCapability.setStatus('current')
og_config = object_identity((1, 3, 6, 1, 4, 1, 25049, 9))
if mibBuilder.loadTexts:
ogConfig.setStatus('current')
og_mgmt = object_identity((1, 3, 6, 1, 4, 1, 25049, 10))
if mibBuilder.loadTexts:
ogMgmt.setStatus('current')
og_modules = object_identity((1, 3, 6, 1, 4, 1, 25049, 11))
if mibBuilder.loadTexts:
ogModules.setStatus('current')
mibBuilder.exportSymbols('OG-SMI-MIB', ogReserved2=ogReserved2, ogLegacyMgmt=ogLegacyMgmt, ogReserved1=ogReserved1, ogModules=ogModules, opengear=opengear, otherEnterprises=otherEnterprises, ogExperimental=ogExperimental, PYSNMP_MODULE_ID=opengear, ogProducts=ogProducts, ogMgmt=ogMgmt, ogInternal=ogInternal, ogConfig=ogConfig, ogAgentCapability=ogAgentCapability) |
layer_adr_pt = QgsMapLayerRegistry.instance().mapLayersByName('adresse_pt_1')[0]
layer_adr_line = QgsMapLayerRegistry.instance().mapLayersByName('troncon_fusion')[0]
ids = []
for point in layer_adr_pt.getFeatures():
geom = point.geometry()
for rue in layer_adr_line.getFeatures():
geom_rue = rue.geometry().buffer(1,5)
if geom.intersects(geom_rue):
ids.append(point.id())
layer_adr_pt.setSelectedFeatures(ids)
| layer_adr_pt = QgsMapLayerRegistry.instance().mapLayersByName('adresse_pt_1')[0]
layer_adr_line = QgsMapLayerRegistry.instance().mapLayersByName('troncon_fusion')[0]
ids = []
for point in layer_adr_pt.getFeatures():
geom = point.geometry()
for rue in layer_adr_line.getFeatures():
geom_rue = rue.geometry().buffer(1, 5)
if geom.intersects(geom_rue):
ids.append(point.id())
layer_adr_pt.setSelectedFeatures(ids) |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftPAR_ABREPAR_CIERRArightIGUALleftORleftANDleftNO_IGUALnonassocMAYORMENORMAYOR_IGUALMENOR_IGUALleftMASMENOSleftASTERISCODIVISIONMODULOleftPOTENCIArightNOTleftLLAVE_ABRELLAVE_CIERRAADD ALL ALTER AND AS ASC ASTERISCO AVG BETWEEN BIGINT BOOLEAN BY CADENA CASE CASTEO CHAR CHARACTER CHECK COLUMN COMA CONSTRAINT CORCHE_ABRE CORCHE_CIERRA COUNT CREATE CURRENT_USER DATABASE DATABASES DATE DAY DECIMAL DECIMAL_NUM DEFAULT DELETE DESC DIFERENTE DISTINCT DIVISION DOUBLE DROP ELSE END ENTERO ENUM EXISTS FALSE FIELDS FIRST FOREIGN FROM FULL GREATEST GROUP HAVING HOUR ID IF IGUAL ILIKE IN INHERITS INNER INSERT INTEGER INTERSECT INTERVAL INTO IS ISNULL JOIN KEY LAST LEAST LEFT LIKE LIMIT LLAVE_ABRE LLAVE_CIERRA MAS MAYOR MAYOR_IGUAL MENOR MENOR_IGUAL MENOS MINUTE MODE MODULO MONEY MONTH NOT NOTNULL NO_IGUAL NULL NULLS NUMERIC OFFSET OR ORDER OUTER OWNER PAR_ABRE PAR_CIERRA POTENCIA PRECISION PRIMARY PUNTO PUNTOCOMA REAL REFERENCE REFERENCES RENAME REPLACE RIGHT SECOND SELECT SESSION_USER SET SHOW SIMILAR SMALLINT SUBSTRING SUM SYMMETRIC TABLE TEXT THEN TIME TIMESTAMP TO TRUE TYPE UNION UNIQUE UNKNOWN UPDATE USE VALUES VARCHAR VARYING WHEN WHERE WITH WITHOUT YEAR ZONEinit : instruccionesinstrucciones : instrucciones instruccioninstrucciones : instruccion instruccion : crear_statement PUNTOCOMA\n | alter_statement PUNTOCOMA\n | drop_statement PUNTOCOMA\n | seleccionar PUNTOCOMAinstruccion : SHOW DATABASES PUNTOCOMA\n | INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA\n | UPDATE ID SET ID IGUAL op_val where PUNTOCOMA\n | DELETE FROM ID WHERE ID IGUAL op_val PUNTOCOMA\n | USE DATABASE ID PUNTOCOMAcrear_statement : CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statementcrear_statement : CREATE or_replace DATABASE if_not_exists ID owner_ mode_or_replace : OR REPLACE\n | if_not_exists : IF NOT EXISTS\n | owner_ : OWNER IGUAL ID\n | mode_ : MODE IGUAL ENTERO\n | alter_statement : ALTER DATABASE ID rename_owneralter_statement : ALTER TABLE ID alter_oprename_owner : RENAME TO ID\n | OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRAow_op : ID\n | CURRENT_USER\n | SESSION_USERdrop_statement : DROP DATABASE if_exists IDdrop_statement : DROP TABLE IDif_exists : IF EXISTS\n | contenido_tabla : contenido_tabla COMA manejo_tablacontenido_tabla : manejo_tablamanejo_tabla : declaracion_columna\n | condition_columndeclaracion_columna : ID type_column condition_column_rowdeclaracion_columna : ID type_columntype_column : SMALLINT\n | INTEGER\n\t | BIGINT\n\t | DECIMAL\n\t | NUMERIC\n\t | REAL\n\t | DOUBLE PRECISION\n\t | MONEY\n\t | VARCHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA\n \t | TEXT\n\t | DATE\n | TIMESTAMP\n | TIMEcondition_column_row : condition_column_row condition_columncondition_column_row : condition_columncondition_column : constraint UNIQUE op_unique\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | key_tablecondition_column : DEFAULT op_val\n | NULL\n | NOT NULL\n\t | REFERENCE ID\n\t\t | CONSTRAINT ID key_table\n \t\t | constraint : CONSTRAINT ID\n | op_unique : PAR_ABRE list_id PAR_CIERRA\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | list_id : list_id COMA aliaslist_id : aliasalias : IDkey_table : PRIMARY KEY list_key\n\t | FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRAlist_key : PAR_ABRE list_id PAR_CIERRA\n\t | alter_op : ADD op_add\n\t | ALTER COLUMN ID alter_col_op\n\t | DROP alter_drop IDalter_drop : CONSTRAINT\n\t | COLUMN op_add : CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA\n | CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA\n | key_table REFERENCES PAR_ABRE list_id PAR_CIERRAalter_col_op : SET NOT NULL\n | TYPE type_columninherits_statement : INHERITS PAR_ABRE ID PAR_CIERRA\n | list_val : list_val COMA op_vallist_val : op_valop_val : ID\n | CADENA\n | DECIMAL\n | ENTEROwhere : WHERE ID IGUAL op_val\n | seleccionar : SELECT distinto select_list FROM table_expression list_fin_selectseleccionar : SELECT GREATEST expressiones\n | SELECT LEAST expressioneslist_fin_select : list_fin_select fin_selectlist_fin_select : fin_selectfin_select : group_by \n\t | donde\n\t | order_by\n\t | group_having\n\t | limite\n \t| expressiones : PAR_ABRE list_expression PAR_CIERRAexpressiones : list_expressiondistinto : DISTINCT\n\t | select_list : ASTERISCO\n\t | expressiones table_expression : expressionesdonde : WHERE expressionesgroup_by : GROUP BY expressiones order_by : ORDER BY expressiones asc_desc nulls_f_lgroup_having : HAVING expressiones asc_desc : ASC\n\t | DESCnulls_f_l : NULLS LAST\n\t | NULLS FIRST\n\t | limite : LIMIT ENTERO\n\t | LIMIT ALL\n\t | OFFSET ENTEROlist_expression : list_expression COMA expressionlist_expression : expressionexpression : expression MAYOR expression\n | expression MENOR expression\n | expression MAYOR_IGUAL expression\n | expression MENOR_IGUAL expression\n | expression AND expression\n | expression OR expression\n | NOT expression\n | expression IGUAL expression\n | expression NO_IGUAL expression\n | expression DIFERENTE expression\n | PAR_ABRE expression PAR_CIERRA\n | expression BETWEEN expression AND expression\n | expression NOT BETWEEN expression AND expression \n | expression BETWEEN SYMMETRIC expression AND expression\n | expression NOT BETWEEN SYMMETRIC expression AND expression\n | expression IS DISTINCT FROM expression\n | expression IS NOT DISTINCT FROM expression\n | ID PUNTO ID\n | expression IS NULL\n | expression IS NOT NULL\n | expression ISNULL\n | expression NOTNULL\n | expression IS TRUE\n | expression IS NOT TRUE\n | expression IS FALSE\n | expression IS NOT FALSE\n | expression IS UNKNOWN\n | expression IS NOT UNKNOWN\n | SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRA\n | SUM PAR_ABRE expression PAR_CIERRA\n | COUNT PAR_ABRE expression PAR_CIERRA\n | AVG PAR_ABRE expression PAR_CIERRA\n | seleccionarexpression : ID\n | ASTERISCOexpression : ENTEROexpression : DECIMAL_NUMexpression : CADENA'
_lr_action_items = {'SHOW':([0,2,3,17,18,19,20,21,38,73,292,294,296,],[8,8,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'INSERT':([0,2,3,17,18,19,20,21,38,73,292,294,296,],[9,9,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'UPDATE':([0,2,3,17,18,19,20,21,38,73,292,294,296,],[10,10,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'DELETE':([0,2,3,17,18,19,20,21,38,73,292,294,296,],[11,11,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'USE':([0,2,3,17,18,19,20,21,38,73,292,294,296,],[12,12,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'CREATE':([0,2,3,17,18,19,20,21,38,73,292,294,296,],[13,13,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'ALTER':([0,2,3,17,18,19,20,21,38,47,73,292,294,296,],[14,14,-3,-2,-4,-5,-6,-7,-8,80,-12,-9,-10,-11,]),'DROP':([0,2,3,17,18,19,20,21,38,47,73,292,294,296,],[15,15,-3,-2,-4,-5,-6,-7,-8,83,-12,-9,-10,-11,]),'SELECT':([0,2,3,16,17,18,19,20,21,34,35,36,37,38,54,57,73,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,292,294,296,323,325,332,],[16,16,-3,-113,-2,-4,-5,-6,-7,16,16,16,-112,-8,16,16,-12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,-9,-10,-11,16,16,16,]),'$end':([1,2,3,17,18,19,20,21,38,73,292,294,296,],[0,-1,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'PUNTOCOMA':([4,5,6,7,22,42,50,55,56,58,63,64,65,66,67,68,69,77,81,84,103,104,105,128,133,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,169,172,173,174,175,178,179,180,181,182,183,185,189,190,191,192,193,203,206,212,213,214,215,216,217,218,219,232,233,234,235,237,238,239,240,242,244,247,252,264,271,277,279,281,282,283,284,285,289,312,313,315,319,321,322,324,327,328,329,338,339,342,343,344,345,346,348,349,350,354,355,356,358,361,362,],[18,19,20,21,38,73,-31,-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-23,-24,-30,-151,-152,-137,-20,-79,-109,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,-93,-94,-95,-96,-98,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-90,-22,-25,-81,-99,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,292,294,296,-46,-13,-14,-80,-102,-117,-120,-126,-127,-128,-142,-146,-19,-26,-88,-118,-144,-143,-147,-48,-49,-50,-21,-87,-86,-125,-121,-122,-145,-97,-51,-89,-84,-85,-119,-159,-123,-124,]),'DATABASES':([8,],[22,]),'INTO':([9,],[23,]),'ID':([10,16,23,25,26,27,30,31,32,33,34,35,36,37,40,44,48,54,57,72,74,75,85,86,87,90,91,92,93,94,95,96,97,98,99,100,106,107,108,109,110,111,112,121,124,125,130,132,135,137,138,139,156,157,176,194,205,207,209,221,223,226,229,230,236,241,243,257,258,259,262,263,266,276,278,280,286,287,290,302,317,323,325,326,332,334,353,363,],[24,-113,39,41,42,43,46,47,-33,50,58,58,58,-112,71,-18,84,58,58,113,114,128,-32,58,58,58,58,58,58,58,58,58,58,58,58,58,164,58,58,58,58,169,169,169,199,200,206,208,210,212,-82,-83,58,58,169,114,-17,268,274,58,58,58,58,58,58,169,295,306,307,58,306,306,312,306,58,58,58,58,58,331,341,58,58,169,58,306,360,306,]),'FROM':([11,51,52,53,55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,158,160,161,162,163,164,213,214,215,216,217,218,219,231,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[25,86,-114,-115,-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,-109,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,230,-149,-153,-155,-157,-148,-99,-103,-104,-105,-106,-107,-108,290,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'DATABASE':([12,13,14,15,28,45,],[26,-16,30,32,44,-15,]),'TABLE':([13,14,15,],[27,31,33,]),'OR':([13,52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[29,-165,-111,96,-164,-163,-166,-167,-168,-100,-165,-101,96,-151,-152,-137,-109,-116,96,-110,-141,96,-131,-132,-133,-134,-135,-136,96,-139,96,96,-149,-153,-155,-157,-148,96,96,96,96,-99,-103,-104,-105,-106,-107,-108,96,96,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-135,96,96,96,96,-118,-135,-135,96,-125,-121,-122,-135,96,96,-119,-159,-123,-124,]),'GREATEST':([16,],[35,]),'LEAST':([16,],[36,]),'DISTINCT':([16,102,159,],[37,158,231,]),'ASTERISCO':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[-113,52,68,68,-112,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,]),'PAR_ABRE':([16,34,35,36,37,43,54,57,59,60,61,62,70,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,134,156,157,186,187,188,195,196,201,202,211,221,223,226,229,230,236,251,253,259,275,278,280,286,287,290,303,323,325,332,360,],[-113,54,54,54,-112,74,87,87,107,108,109,110,111,54,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,209,87,87,248,249,250,257,259,262,263,276,54,54,87,87,87,87,301,302,87,317,54,54,87,87,87,332,87,87,87,363,]),'NOT':([16,34,35,36,37,52,54,55,56,57,58,63,64,65,66,67,68,69,74,76,86,87,89,90,91,92,93,94,95,96,97,98,99,100,102,103,104,105,107,108,109,110,120,122,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,160,161,162,163,164,165,166,167,168,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,213,214,215,216,217,218,219,221,223,226,227,228,229,230,232,233,234,235,236,237,238,239,245,246,247,256,259,260,261,272,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,297,308,319,321,322,323,324,325,327,328,329,332,333,335,336,343,344,345,346,347,349,351,356,358,359,361,362,365,],[-113,57,57,57,-112,-165,57,-111,101,57,-164,-163,-166,-167,-168,-100,-165,-101,123,129,57,57,101,57,57,57,57,57,57,57,57,57,57,57,159,-151,-152,101,57,57,57,57,-60,-62,-109,-116,101,-110,-141,101,101,101,101,101,101,101,101,101,101,101,57,57,-149,-153,-155,-157,-148,101,101,101,101,-93,-94,-95,-96,123,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,123,-71,-61,-63,-64,-78,-99,-103,-104,-105,-106,-107,-108,57,57,57,101,101,57,57,-150,-154,-156,-158,57,-160,-161,-162,123,-57,-46,-58,57,-65,-75,314,-102,57,-117,57,-120,-126,-127,-128,101,57,57,101,101,57,101,-56,101,-118,101,101,57,101,57,-48,-49,-50,57,-69,-59,-77,-125,-121,-122,101,101,-51,101,-119,-159,-70,-123,-124,-76,]),'SUBSTRING':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[-113,59,59,59,-112,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,]),'SUM':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[-113,60,60,60,-112,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,]),'COUNT':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[-113,61,61,61,-112,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,]),'AVG':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[-113,62,62,62,-112,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,]),'ENTERO':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,111,112,121,156,157,176,221,223,224,225,226,229,230,236,241,248,249,250,259,278,280,286,287,290,301,311,323,325,326,332,],[-113,64,64,64,-112,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,174,174,174,64,64,174,64,64,282,284,64,64,64,64,174,298,299,300,64,64,64,64,64,64,330,338,64,64,174,64,]),'DECIMAL_NUM':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[-113,65,65,65,-112,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,]),'CADENA':([16,34,35,36,37,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,111,112,121,156,157,176,221,223,226,229,230,236,241,259,278,280,286,287,290,316,323,325,326,332,],[-113,66,66,66,-112,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,172,172,172,66,66,172,66,66,66,66,66,66,172,66,66,66,66,66,66,340,66,66,172,66,]),'SET':([24,208,],[40,272,]),'REPLACE':([29,],[45,]),'IF':([32,44,],[49,76,]),'VALUES':([39,],[70,]),'WHERE':([41,55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,169,172,173,174,175,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[72,-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,221,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,-93,-94,-95,-96,243,221,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'RENAME':([46,],[78,]),'OWNER':([46,128,],[79,204,]),'ADD':([47,],[82,]),'EXISTS':([49,129,],[85,205,]),'MAYOR':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,91,-164,-163,-166,-167,-168,-100,-165,-101,91,-151,-152,-137,-109,-116,91,-110,-141,91,None,None,None,None,91,91,91,91,91,91,-149,-153,-155,-157,-148,91,91,91,91,-99,-103,-104,-105,-106,-107,-108,91,91,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,91,91,91,91,91,-118,91,91,91,-125,-121,-122,91,91,91,-119,-159,-123,-124,]),'MENOR':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,92,-164,-163,-166,-167,-168,-100,-165,-101,92,-151,-152,-137,-109,-116,92,-110,-141,92,None,None,None,None,92,92,92,92,92,92,-149,-153,-155,-157,-148,92,92,92,92,-99,-103,-104,-105,-106,-107,-108,92,92,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,92,92,92,92,92,-118,92,92,92,-125,-121,-122,92,92,92,-119,-159,-123,-124,]),'MAYOR_IGUAL':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,93,-164,-163,-166,-167,-168,-100,-165,-101,93,-151,-152,-137,-109,-116,93,-110,-141,93,None,None,None,None,93,93,93,93,93,93,-149,-153,-155,-157,-148,93,93,93,93,-99,-103,-104,-105,-106,-107,-108,93,93,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,93,93,93,93,93,-118,93,93,93,-125,-121,-122,93,93,93,-119,-159,-123,-124,]),'MENOR_IGUAL':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,94,-164,-163,-166,-167,-168,-100,-165,-101,94,-151,-152,-137,-109,-116,94,-110,-141,94,None,None,None,None,94,94,94,94,94,94,-149,-153,-155,-157,-148,94,94,94,94,-99,-103,-104,-105,-106,-107,-108,94,94,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,94,94,94,94,94,-118,94,94,94,-125,-121,-122,94,94,94,-119,-159,-123,-124,]),'AND':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,95,-164,-163,-166,-167,-168,-100,-165,-101,95,-151,-152,-137,-109,-116,95,-110,-141,95,-131,-132,-133,-134,-135,95,95,-139,95,226,-149,-153,-155,-157,-148,95,95,95,95,-99,-103,-104,-105,-106,-107,-108,286,287,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-135,323,95,95,95,-118,-135,-135,95,-125,-121,-122,-135,95,95,-119,-159,-123,-124,]),'IGUAL':([52,55,56,58,63,64,65,66,67,68,69,71,89,103,104,105,113,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,204,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,265,277,279,281,282,283,284,285,288,289,291,295,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,97,-164,-163,-166,-167,-168,-100,-165,-101,112,97,-151,-152,-137,176,-109,-116,97,-110,-141,97,-131,-132,-133,-134,-135,-136,97,-139,97,97,-149,-153,-155,-157,-148,97,97,97,97,266,-99,-103,-104,-105,-106,-107,-108,97,97,-150,-154,-156,-158,-160,-161,-162,311,-102,-117,-120,-126,-127,-128,-135,97,97,97,326,97,-118,-135,-135,97,-125,-121,-122,-135,97,97,-119,-159,-123,-124,]),'NO_IGUAL':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,98,-164,-163,-166,-167,-168,-100,-165,-101,98,-151,-152,-137,-109,-116,98,-110,-141,98,-131,-132,-133,-134,98,98,98,-139,98,98,-149,-153,-155,-157,-148,98,98,98,98,-99,-103,-104,-105,-106,-107,-108,98,98,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,98,98,98,98,98,-118,98,98,98,-125,-121,-122,98,98,98,-119,-159,-123,-124,]),'DIFERENTE':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,274,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,99,-164,-163,-166,-167,-168,-100,-165,-101,99,-151,-152,-137,-109,-116,99,-110,-141,99,-131,-132,-133,-134,-135,-136,-138,-139,99,99,-149,-153,-155,-157,-148,99,99,99,99,-99,-103,-104,-105,-106,-107,-108,99,99,-150,-154,-156,-158,-160,-161,-162,316,-102,-117,-120,-126,-127,-128,-135,99,99,99,99,-118,-135,-135,99,-125,-121,-122,-135,99,99,-119,-159,-123,-124,]),'BETWEEN':([52,55,56,58,63,64,65,66,67,68,69,89,101,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,100,-164,-163,-166,-167,-168,-100,-165,-101,100,157,-151,-152,-137,-109,-116,100,-110,-141,100,-131,-132,-133,-134,-135,-136,-138,-139,100,100,-149,-153,-155,-157,-148,100,100,100,100,-99,-103,-104,-105,-106,-107,-108,100,100,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-135,100,100,100,100,-118,-135,-135,100,-125,-121,-122,-135,100,100,-119,-159,-123,-124,]),'IS':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,102,-164,-163,-166,-167,-168,-100,-165,-101,102,-151,-152,-137,-109,-116,102,-110,-141,102,-131,-132,-133,-134,-135,-136,-138,-139,102,102,-149,-153,-155,-157,-148,102,102,102,102,-99,-103,-104,-105,-106,-107,-108,102,102,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-135,102,102,102,102,-118,-135,-135,102,-125,-121,-122,-135,102,102,-119,-159,-123,-124,]),'ISNULL':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,103,-164,-163,-166,-167,-168,-100,-165,-101,103,-151,-152,-137,-109,-116,103,-110,-141,103,-131,-132,-133,-134,-135,-136,-138,-139,103,103,-149,-153,-155,-157,-148,103,103,103,103,-99,-103,-104,-105,-106,-107,-108,103,103,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-135,103,103,103,103,-118,-135,-135,103,-125,-121,-122,-135,103,103,-119,-159,-123,-124,]),'NOTNULL':([52,55,56,58,63,64,65,66,67,68,69,89,103,104,105,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,160,161,162,163,164,165,166,167,168,213,214,215,216,217,218,219,227,228,232,233,234,235,237,238,239,277,279,281,282,283,284,285,288,289,291,308,319,321,322,324,343,344,345,346,347,351,356,358,361,362,],[-165,-111,104,-164,-163,-166,-167,-168,-100,-165,-101,104,-151,-152,-137,-109,-116,104,-110,-141,104,-131,-132,-133,-134,-135,-136,-138,-139,104,104,-149,-153,-155,-157,-148,104,104,104,104,-99,-103,-104,-105,-106,-107,-108,104,104,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-135,104,104,104,104,-118,-135,-135,104,-125,-121,-122,-135,104,104,-119,-159,-123,-124,]),'COMA':([52,55,56,58,63,64,65,66,67,68,69,74,88,89,103,104,105,115,116,117,118,120,122,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,165,169,170,171,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,213,214,215,216,217,218,219,232,233,234,235,237,238,239,245,246,247,254,256,260,261,277,279,281,282,283,284,285,289,291,293,297,304,305,306,309,310,318,319,321,322,324,327,328,329,333,335,336,343,344,345,346,349,352,356,358,359,361,362,364,365,],[-165,90,-130,-164,-163,-166,-167,-168,-100,-165,-101,-66,90,-130,-151,-152,-137,194,-35,-36,-37,-60,-62,-109,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,236,-93,241,-92,-94,-95,-96,-39,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-66,-71,-61,-63,-64,-78,-99,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-38,-57,-46,-34,-58,-65,-75,-102,-117,-120,-126,-127,-128,-142,-146,325,-91,-56,334,-73,-74,334,334,334,-118,-144,-143,-147,-48,-49,-50,-69,-59,-77,-125,-121,-122,-145,-51,-72,-119,-159,-70,-123,-124,334,-76,]),'PAR_CIERRA':([55,56,58,63,64,65,66,67,68,69,74,88,89,103,104,105,115,116,117,118,120,122,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,166,167,168,169,170,171,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,213,214,215,216,217,218,219,232,233,234,235,237,238,239,245,246,247,254,256,260,261,277,279,281,282,283,284,285,289,293,297,298,299,300,304,305,306,308,309,310,318,319,321,322,324,327,328,329,330,331,333,335,336,340,341,343,344,345,346,347,349,351,352,356,358,359,361,362,364,365,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-66,143,144,-151,-152,-137,193,-35,-36,-37,-60,-62,-109,-116,144,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,237,238,239,-93,240,-92,-94,-95,-96,-39,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-66,-71,-61,-63,-64,-78,-99,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-38,-57,-46,-34,-58,-65,-75,-102,-117,-120,-126,-127,-128,-142,-146,-91,-56,327,328,329,333,-73,-74,335,336,337,342,-118,-144,-143,-147,-48,-49,-50,349,350,-69,-59,-77,354,355,-125,-121,-122,-145,358,-51,359,-72,-119,-159,-70,-123,-124,365,-76,]),'GROUP':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,220,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,220,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'ORDER':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,222,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,222,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'HAVING':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,223,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,223,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'LIMIT':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,224,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,224,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'OFFSET':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,225,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,225,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'ASC':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,320,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,-109,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,-99,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,344,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'DESC':([55,56,58,63,64,65,66,67,68,69,103,104,105,140,141,143,144,145,146,147,148,149,150,151,152,153,154,160,161,162,163,164,213,214,215,216,217,218,219,232,233,234,235,237,238,239,277,279,281,282,283,284,285,289,319,320,321,322,324,343,344,345,346,356,358,361,362,],[-111,-130,-164,-163,-166,-167,-168,-100,-165,-101,-151,-152,-137,-109,-116,-110,-141,-129,-131,-132,-133,-134,-135,-136,-138,-139,-140,-149,-153,-155,-157,-148,-99,-103,-104,-105,-106,-107,-108,-150,-154,-156,-158,-160,-161,-162,-102,-117,-120,-126,-127,-128,-142,-146,-118,345,-144,-143,-147,-125,-121,-122,-145,-119,-159,-123,-124,]),'PUNTO':([58,],[106,]),'DEFAULT':([74,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,245,246,247,256,260,261,297,327,328,329,333,335,336,349,359,365,],[121,-60,-62,-93,-94,-95,-96,121,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,121,-71,-61,-63,-64,-78,121,-57,-46,-58,-65,-75,-56,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'NULL':([74,102,120,122,123,159,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,245,246,247,256,260,261,297,314,327,328,329,333,335,336,349,359,365,],[122,160,-60,-62,198,232,-93,-94,-95,-96,122,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,122,-71,-61,-63,-64,-78,122,-57,-46,-58,-65,-75,-56,339,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'REFERENCE':([74,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,245,246,247,256,260,261,297,327,328,329,333,335,336,349,359,365,],[124,-60,-62,-93,-94,-95,-96,124,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,124,-71,-61,-63,-64,-78,124,-57,-46,-58,-65,-75,-56,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'CONSTRAINT':([74,82,83,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,201,245,246,247,256,260,261,297,327,328,329,333,335,336,349,359,365,],[125,135,138,-60,-62,-93,-94,-95,-96,125,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,125,258,-61,-63,-64,-78,125,-57,-46,-58,-65,-75,-56,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'UNIQUE':([74,119,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,200,201,210,245,246,247,256,260,261,297,327,328,329,333,335,336,349,359,365,],[-68,195,-60,-62,-93,-94,-95,-96,-66,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-68,-71,-61,-63,-64,-67,-78,275,-66,-57,-46,-58,-65,-75,-56,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'CHECK':([74,82,119,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,200,201,245,246,247,255,256,260,261,297,307,327,328,329,333,335,336,349,359,365,],[-68,134,196,-60,-62,-93,-94,-95,-96,-66,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-68,-68,-61,-63,-64,-67,-78,-66,-57,-46,303,-58,-65,-75,-56,-67,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'PRIMARY':([74,82,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,200,201,245,246,247,256,260,261,297,327,328,329,333,335,336,349,359,365,],[126,126,-60,-62,-93,-94,-95,-96,126,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,126,-71,-61,-63,-64,126,-78,126,-57,-46,-58,-65,-75,-56,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'FOREIGN':([74,82,120,122,169,172,173,174,177,178,179,180,181,182,183,185,189,190,191,192,194,195,197,198,199,200,201,245,246,247,256,260,261,297,327,328,329,333,335,336,349,359,365,],[127,127,-60,-62,-93,-94,-95,-96,127,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,127,-71,-61,-63,-64,127,-78,127,-57,-46,-58,-65,-75,-56,-48,-49,-50,-69,-59,-77,-51,-70,-76,]),'TO':([78,79,],[130,131,]),'COLUMN':([80,83,],[132,139,]),'SYMMETRIC':([100,157,],[156,229,]),'TRUE':([102,159,],[161,233,]),'FALSE':([102,159,],[162,234,]),'UNKNOWN':([102,159,],[163,235,]),'DECIMAL':([111,112,114,121,176,241,273,326,],[173,173,181,173,173,173,181,173,]),'SMALLINT':([114,273,],[178,178,]),'INTEGER':([114,273,],[179,179,]),'BIGINT':([114,273,],[180,180,]),'NUMERIC':([114,273,],[182,182,]),'REAL':([114,273,],[183,183,]),'DOUBLE':([114,273,],[184,184,]),'MONEY':([114,273,],[185,185,]),'VARCHAR':([114,273,],[186,186,]),'CHAR':([114,273,],[187,187,]),'CHARACTER':([114,273,],[188,188,]),'TEXT':([114,273,],[189,189,]),'DATE':([114,273,],[190,190,]),'TIMESTAMP':([114,273,],[191,191,]),'TIME':([114,273,],[192,192,]),'KEY':([126,127,],[201,202,]),'MODE':([128,203,312,],[-20,265,-19,]),'LLAVE_ABRE':([131,],[207,]),'REFERENCES':([136,201,261,336,337,365,],[211,-78,-75,-77,353,-76,]),'PRECISION':([184,],[247,]),'VARYING':([188,],[251,]),'INHERITS':([193,],[253,]),'CURRENT_USER':([207,],[269,]),'SESSION_USER':([207,],[270,]),'TYPE':([208,],[273,]),'BY':([220,222,],[278,280,]),'ALL':([224,],[283,]),'LLAVE_CIERRA':([267,268,269,270,],[313,-27,-28,-29,]),'NULLS':([343,344,345,],[357,-121,-122,]),'LAST':([357,],[361,]),'FIRST':([357,],[362,]),}
_lr_action = {}
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'init':([0,],[1,]),'instrucciones':([0,],[2,]),'instruccion':([0,2,],[3,17,]),'crear_statement':([0,2,],[4,4,]),'alter_statement':([0,2,],[5,5,]),'drop_statement':([0,2,],[6,6,]),'seleccionar':([0,2,34,35,36,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[7,7,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,]),'or_replace':([13,],[28,]),'distinto':([16,],[34,]),'if_exists':([32,],[48,]),'select_list':([34,],[51,]),'expressiones':([34,35,36,86,221,223,278,280,],[53,67,69,141,279,281,319,320,]),'list_expression':([34,35,36,54,86,221,223,278,280,],[55,55,55,88,55,55,55,55,55,]),'expression':([34,35,36,54,57,86,87,90,91,92,93,94,95,96,97,98,99,100,107,108,109,110,156,157,221,223,226,229,230,236,259,278,280,286,287,290,323,325,332,],[56,56,56,89,105,56,142,145,146,147,148,149,150,151,152,153,154,155,165,166,167,168,227,228,56,56,285,288,289,291,308,56,56,321,322,324,346,347,351,]),'if_not_exists':([44,],[75,]),'rename_owner':([46,],[77,]),'alter_op':([47,],[81,]),'contenido_tabla':([74,],[115,]),'manejo_tabla':([74,194,],[116,254,]),'declaracion_columna':([74,194,],[117,117,]),'condition_column':([74,177,194,245,],[118,246,118,297,]),'constraint':([74,177,194,195,245,],[119,119,119,255,119,]),'key_table':([74,82,177,194,200,245,],[120,136,120,120,260,120,]),'op_add':([82,],[133,]),'alter_drop':([83,],[137,]),'table_expression':([86,],[140,]),'list_val':([111,],[170,]),'op_val':([111,112,121,176,241,326,],[171,175,197,244,293,348,]),'type_column':([114,273,],[177,315,]),'owner_':([128,],[203,]),'list_fin_select':([140,],[213,]),'fin_select':([140,213,],[214,277,]),'group_by':([140,213,],[215,215,]),'donde':([140,213,],[216,216,]),'order_by':([140,213,],[217,217,]),'group_having':([140,213,],[218,218,]),'limite':([140,213,],[219,219,]),'where':([175,],[242,]),'condition_column_row':([177,],[245,]),'inherits_statement':([193,],[252,]),'op_unique':([195,],[256,]),'list_key':([201,],[261,]),'mode_':([203,],[264,]),'ow_op':([207,],[267,]),'alter_col_op':([208,],[271,]),'list_id':([257,262,263,276,363,],[304,309,310,318,364,]),'alias':([257,262,263,276,334,363,],[305,305,305,305,352,305,]),'asc_desc':([320,],[343,]),'nulls_f_l':([343,],[356,]),}
_lr_goto = {}
for _k, _v in _lr_goto_items.items():
for _x, _y in zip(_v[0], _v[1]):
if not _x in _lr_goto: _lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> init","S'",1,None,None,None),
('init -> instrucciones','init',1,'p_init','sql_grammar.py',295),
('instrucciones -> instrucciones instruccion','instrucciones',2,'p_instrucciones_lista','sql_grammar.py',299),
('instrucciones -> instruccion','instrucciones',1,'p_instrucciones_instruccion','sql_grammar.py',304),
('instruccion -> crear_statement PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',308),
('instruccion -> alter_statement PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',309),
('instruccion -> drop_statement PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',310),
('instruccion -> seleccionar PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',311),
('instruccion -> SHOW DATABASES PUNTOCOMA','instruccion',3,'p_aux_instruccion','sql_grammar.py',315),
('instruccion -> INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA','instruccion',8,'p_aux_instruccion','sql_grammar.py',316),
('instruccion -> UPDATE ID SET ID IGUAL op_val where PUNTOCOMA','instruccion',8,'p_aux_instruccion','sql_grammar.py',317),
('instruccion -> DELETE FROM ID WHERE ID IGUAL op_val PUNTOCOMA','instruccion',8,'p_aux_instruccion','sql_grammar.py',318),
('instruccion -> USE DATABASE ID PUNTOCOMA','instruccion',4,'p_aux_instruccion','sql_grammar.py',319),
('crear_statement -> CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statement','crear_statement',7,'p_crear_statement_tbl','sql_grammar.py',338),
('crear_statement -> CREATE or_replace DATABASE if_not_exists ID owner_ mode_','crear_statement',7,'p_crear_statement_db','sql_grammar.py',344),
('or_replace -> OR REPLACE','or_replace',2,'p_or_replace_db','sql_grammar.py',350),
('or_replace -> <empty>','or_replace',0,'p_or_replace_db','sql_grammar.py',351),
('if_not_exists -> IF NOT EXISTS','if_not_exists',3,'p_if_not_exists_db','sql_grammar.py',359),
('if_not_exists -> <empty>','if_not_exists',0,'p_if_not_exists_db','sql_grammar.py',360),
('owner_ -> OWNER IGUAL ID','owner_',3,'p_owner_db','sql_grammar.py',368),
('owner_ -> <empty>','owner_',0,'p_owner_db','sql_grammar.py',369),
('mode_ -> MODE IGUAL ENTERO','mode_',3,'p_mode_db','sql_grammar.py',379),
('mode_ -> <empty>','mode_',0,'p_mode_db','sql_grammar.py',380),
('alter_statement -> ALTER DATABASE ID rename_owner','alter_statement',4,'p_alter_db','sql_grammar.py',390),
('alter_statement -> ALTER TABLE ID alter_op','alter_statement',4,'p_alter_tbl','sql_grammar.py',396),
('rename_owner -> RENAME TO ID','rename_owner',3,'p_rename_owner_db','sql_grammar.py',403),
('rename_owner -> OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRA','rename_owner',5,'p_rename_owner_db','sql_grammar.py',404),
('ow_op -> ID','ow_op',1,'p_ow_op_db','sql_grammar.py',414),
('ow_op -> CURRENT_USER','ow_op',1,'p_ow_op_db','sql_grammar.py',415),
('ow_op -> SESSION_USER','ow_op',1,'p_ow_op_db','sql_grammar.py',416),
('drop_statement -> DROP DATABASE if_exists ID','drop_statement',4,'p_drop_db','sql_grammar.py',420),
('drop_statement -> DROP TABLE ID','drop_statement',3,'p_drop_tbl','sql_grammar.py',430),
('if_exists -> IF EXISTS','if_exists',2,'p_if_exists_db','sql_grammar.py',436),
('if_exists -> <empty>','if_exists',0,'p_if_exists_db','sql_grammar.py',437),
('contenido_tabla -> contenido_tabla COMA manejo_tabla','contenido_tabla',3,'p_contenido_tabla','sql_grammar.py',444),
('contenido_tabla -> manejo_tabla','contenido_tabla',1,'p_aux_contenido_table','sql_grammar.py',449),
('manejo_tabla -> declaracion_columna','manejo_tabla',1,'p_manejo_tabla','sql_grammar.py',453),
('manejo_tabla -> condition_column','manejo_tabla',1,'p_manejo_tabla','sql_grammar.py',454),
('declaracion_columna -> ID type_column condition_column_row','declaracion_columna',3,'p_aux_declaracion_columna','sql_grammar.py',458),
('declaracion_columna -> ID type_column','declaracion_columna',2,'p_declaracion_columna','sql_grammar.py',464),
('type_column -> SMALLINT','type_column',1,'p_type_column','sql_grammar.py',470),
('type_column -> INTEGER','type_column',1,'p_type_column','sql_grammar.py',471),
('type_column -> BIGINT','type_column',1,'p_type_column','sql_grammar.py',472),
('type_column -> DECIMAL','type_column',1,'p_type_column','sql_grammar.py',473),
('type_column -> NUMERIC','type_column',1,'p_type_column','sql_grammar.py',474),
('type_column -> REAL','type_column',1,'p_type_column','sql_grammar.py',475),
('type_column -> DOUBLE PRECISION','type_column',2,'p_type_column','sql_grammar.py',476),
('type_column -> MONEY','type_column',1,'p_type_column','sql_grammar.py',477),
('type_column -> VARCHAR PAR_ABRE ENTERO PAR_CIERRA','type_column',4,'p_type_column','sql_grammar.py',478),
('type_column -> CHAR PAR_ABRE ENTERO PAR_CIERRA','type_column',4,'p_type_column','sql_grammar.py',479),
('type_column -> CHARACTER PAR_ABRE ENTERO PAR_CIERRA','type_column',4,'p_type_column','sql_grammar.py',480),
('type_column -> CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA','type_column',5,'p_type_column','sql_grammar.py',481),
('type_column -> TEXT','type_column',1,'p_type_column','sql_grammar.py',482),
('type_column -> DATE','type_column',1,'p_type_column','sql_grammar.py',483),
('type_column -> TIMESTAMP','type_column',1,'p_type_column','sql_grammar.py',484),
('type_column -> TIME','type_column',1,'p_type_column','sql_grammar.py',485),
('condition_column_row -> condition_column_row condition_column','condition_column_row',2,'p_condition_column_row','sql_grammar.py',519),
('condition_column_row -> condition_column','condition_column_row',1,'p_aux_condition_column_row','sql_grammar.py',524),
('condition_column -> constraint UNIQUE op_unique','condition_column',3,'p_condition_column','sql_grammar.py',528),
('condition_column -> constraint CHECK PAR_ABRE expression PAR_CIERRA','condition_column',5,'p_condition_column','sql_grammar.py',529),
('condition_column -> key_table','condition_column',1,'p_condition_column','sql_grammar.py',530),
('condition_column -> DEFAULT op_val','condition_column',2,'p_aux_condition_column','sql_grammar.py',546),
('condition_column -> NULL','condition_column',1,'p_aux_condition_column','sql_grammar.py',547),
('condition_column -> NOT NULL','condition_column',2,'p_aux_condition_column','sql_grammar.py',548),
('condition_column -> REFERENCE ID','condition_column',2,'p_aux_condition_column','sql_grammar.py',549),
('condition_column -> CONSTRAINT ID key_table','condition_column',3,'p_aux_condition_column','sql_grammar.py',550),
('condition_column -> <empty>','condition_column',0,'p_aux_condition_column','sql_grammar.py',551),
('constraint -> CONSTRAINT ID','constraint',2,'p_constraint','sql_grammar.py',575),
('constraint -> <empty>','constraint',0,'p_constraint','sql_grammar.py',576),
('op_unique -> PAR_ABRE list_id PAR_CIERRA','op_unique',3,'p_op_unique','sql_grammar.py',588),
('op_unique -> constraint CHECK PAR_ABRE expression PAR_CIERRA','op_unique',5,'p_op_unique','sql_grammar.py',589),
('op_unique -> <empty>','op_unique',0,'p_op_unique','sql_grammar.py',590),
('list_id -> list_id COMA alias','list_id',3,'p_list_id','sql_grammar.py',604),
('list_id -> alias','list_id',1,'p_aux_list_id','sql_grammar.py',609),
('alias -> ID','alias',1,'p_alias','sql_grammar.py',613),
('key_table -> PRIMARY KEY list_key','key_table',3,'p_key_table','sql_grammar.py',619),
('key_table -> FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRA','key_table',10,'p_key_table','sql_grammar.py',620),
('list_key -> PAR_ABRE list_id PAR_CIERRA','list_key',3,'p_list_key','sql_grammar.py',633),
('list_key -> <empty>','list_key',0,'p_list_key','sql_grammar.py',634),
('alter_op -> ADD op_add','alter_op',2,'p_alter_op','sql_grammar.py',641),
('alter_op -> ALTER COLUMN ID alter_col_op','alter_op',4,'p_alter_op','sql_grammar.py',642),
('alter_op -> DROP alter_drop ID','alter_op',3,'p_alter_op','sql_grammar.py',643),
('alter_drop -> CONSTRAINT','alter_drop',1,'p_aux_alter_op','sql_grammar.py',660),
('alter_drop -> COLUMN','alter_drop',1,'p_aux_alter_op','sql_grammar.py',661),
('op_add -> CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA','op_add',6,'p_op_add','sql_grammar.py',666),
('op_add -> CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA','op_add',6,'p_op_add','sql_grammar.py',667),
('op_add -> key_table REFERENCES PAR_ABRE list_id PAR_CIERRA','op_add',5,'p_op_add','sql_grammar.py',668),
('alter_col_op -> SET NOT NULL','alter_col_op',3,'p_alter_col_op','sql_grammar.py',685),
('alter_col_op -> TYPE type_column','alter_col_op',2,'p_alter_col_op','sql_grammar.py',686),
('inherits_statement -> INHERITS PAR_ABRE ID PAR_CIERRA','inherits_statement',4,'p_inherits_tbl','sql_grammar.py',699),
('inherits_statement -> <empty>','inherits_statement',0,'p_inherits_tbl','sql_grammar.py',700),
('list_val -> list_val COMA op_val','list_val',3,'p_list_val','sql_grammar.py',709),
('list_val -> op_val','list_val',1,'p_aux_list_val','sql_grammar.py',714),
('op_val -> ID','op_val',1,'p_op_val','sql_grammar.py',718),
('op_val -> CADENA','op_val',1,'p_op_val','sql_grammar.py',719),
('op_val -> DECIMAL','op_val',1,'p_op_val','sql_grammar.py',720),
('op_val -> ENTERO','op_val',1,'p_op_val','sql_grammar.py',721),
('where -> WHERE ID IGUAL op_val','where',4,'p_where','sql_grammar.py',725),
('where -> <empty>','where',0,'p_where','sql_grammar.py',726),
('seleccionar -> SELECT distinto select_list FROM table_expression list_fin_select','seleccionar',6,'p_seleccionar','sql_grammar.py',736),
('seleccionar -> SELECT GREATEST expressiones','seleccionar',3,'p_aux_seleccionar','sql_grammar.py',746),
('seleccionar -> SELECT LEAST expressiones','seleccionar',3,'p_aux_seleccionar','sql_grammar.py',747),
('list_fin_select -> list_fin_select fin_select','list_fin_select',2,'p_list_fin_select','sql_grammar.py',753),
('list_fin_select -> fin_select','list_fin_select',1,'p_aux_list_fin_select','sql_grammar.py',758),
('fin_select -> group_by','fin_select',1,'p_fin_select','sql_grammar.py',762),
('fin_select -> donde','fin_select',1,'p_fin_select','sql_grammar.py',763),
('fin_select -> order_by','fin_select',1,'p_fin_select','sql_grammar.py',764),
('fin_select -> group_having','fin_select',1,'p_fin_select','sql_grammar.py',765),
('fin_select -> limite','fin_select',1,'p_fin_select','sql_grammar.py',766),
('fin_select -> <empty>','fin_select',0,'p_fin_select','sql_grammar.py',767),
('expressiones -> PAR_ABRE list_expression PAR_CIERRA','expressiones',3,'p_expressiones','sql_grammar.py',774),
('expressiones -> list_expression','expressiones',1,'p_aux_expressiones','sql_grammar.py',778),
('distinto -> DISTINCT','distinto',1,'p_distinto','sql_grammar.py',782),
('distinto -> <empty>','distinto',0,'p_distinto','sql_grammar.py',783),
('select_list -> ASTERISCO','select_list',1,'p_select_list','sql_grammar.py',790),
('select_list -> expressiones','select_list',1,'p_select_list','sql_grammar.py',791),
('table_expression -> expressiones','table_expression',1,'p_table_expression','sql_grammar.py',795),
('donde -> WHERE expressiones','donde',2,'p_donde','sql_grammar.py',799),
('group_by -> GROUP BY expressiones','group_by',3,'p_group_by','sql_grammar.py',808),
('order_by -> ORDER BY expressiones asc_desc nulls_f_l','order_by',5,'p_order_by','sql_grammar.py',817),
('group_having -> HAVING expressiones','group_having',2,'p_group_having','sql_grammar.py',826),
('asc_desc -> ASC','asc_desc',1,'p_asc_desc','sql_grammar.py',835),
('asc_desc -> DESC','asc_desc',1,'p_asc_desc','sql_grammar.py',836),
('nulls_f_l -> NULLS LAST','nulls_f_l',2,'p_nulls_f_l','sql_grammar.py',840),
('nulls_f_l -> NULLS FIRST','nulls_f_l',2,'p_nulls_f_l','sql_grammar.py',841),
('nulls_f_l -> <empty>','nulls_f_l',0,'p_nulls_f_l','sql_grammar.py',842),
('limite -> LIMIT ENTERO','limite',2,'p_limite','sql_grammar.py',849),
('limite -> LIMIT ALL','limite',2,'p_limite','sql_grammar.py',850),
('limite -> OFFSET ENTERO','limite',2,'p_limite','sql_grammar.py',851),
('list_expression -> list_expression COMA expression','list_expression',3,'p_list_expression','sql_grammar.py',860),
('list_expression -> expression','list_expression',1,'p_aux_list_expression','sql_grammar.py',865),
('expression -> expression MAYOR expression','expression',3,'p_expression','sql_grammar.py',869),
('expression -> expression MENOR expression','expression',3,'p_expression','sql_grammar.py',870),
('expression -> expression MAYOR_IGUAL expression','expression',3,'p_expression','sql_grammar.py',871),
('expression -> expression MENOR_IGUAL expression','expression',3,'p_expression','sql_grammar.py',872),
('expression -> expression AND expression','expression',3,'p_expression','sql_grammar.py',873),
('expression -> expression OR expression','expression',3,'p_expression','sql_grammar.py',874),
('expression -> NOT expression','expression',2,'p_expression','sql_grammar.py',875),
('expression -> expression IGUAL expression','expression',3,'p_expression','sql_grammar.py',876),
('expression -> expression NO_IGUAL expression','expression',3,'p_expression','sql_grammar.py',877),
('expression -> expression DIFERENTE expression','expression',3,'p_expression','sql_grammar.py',878),
('expression -> PAR_ABRE expression PAR_CIERRA','expression',3,'p_expression','sql_grammar.py',879),
('expression -> expression BETWEEN expression AND expression','expression',5,'p_expression','sql_grammar.py',880),
('expression -> expression NOT BETWEEN expression AND expression','expression',6,'p_expression','sql_grammar.py',881),
('expression -> expression BETWEEN SYMMETRIC expression AND expression','expression',6,'p_expression','sql_grammar.py',882),
('expression -> expression NOT BETWEEN SYMMETRIC expression AND expression','expression',7,'p_expression','sql_grammar.py',883),
('expression -> expression IS DISTINCT FROM expression','expression',5,'p_expression','sql_grammar.py',884),
('expression -> expression IS NOT DISTINCT FROM expression','expression',6,'p_expression','sql_grammar.py',885),
('expression -> ID PUNTO ID','expression',3,'p_expression','sql_grammar.py',886),
('expression -> expression IS NULL','expression',3,'p_expression','sql_grammar.py',887),
('expression -> expression IS NOT NULL','expression',4,'p_expression','sql_grammar.py',888),
('expression -> expression ISNULL','expression',2,'p_expression','sql_grammar.py',889),
('expression -> expression NOTNULL','expression',2,'p_expression','sql_grammar.py',890),
('expression -> expression IS TRUE','expression',3,'p_expression','sql_grammar.py',891),
('expression -> expression IS NOT TRUE','expression',4,'p_expression','sql_grammar.py',892),
('expression -> expression IS FALSE','expression',3,'p_expression','sql_grammar.py',893),
('expression -> expression IS NOT FALSE','expression',4,'p_expression','sql_grammar.py',894),
('expression -> expression IS UNKNOWN','expression',3,'p_expression','sql_grammar.py',895),
('expression -> expression IS NOT UNKNOWN','expression',4,'p_expression','sql_grammar.py',896),
('expression -> SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRA','expression',8,'p_expression','sql_grammar.py',897),
('expression -> SUM PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression','sql_grammar.py',898),
('expression -> COUNT PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression','sql_grammar.py',899),
('expression -> AVG PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression','sql_grammar.py',900),
('expression -> seleccionar','expression',1,'p_expression','sql_grammar.py',901),
('expression -> ID','expression',1,'p_solouno_expression','sql_grammar.py',905),
('expression -> ASTERISCO','expression',1,'p_solouno_expression','sql_grammar.py',906),
('expression -> ENTERO','expression',1,'p_expression_entero','sql_grammar.py',916),
('expression -> DECIMAL_NUM','expression',1,'p_expression_decimal','sql_grammar.py',934),
('expression -> CADENA','expression',1,'p_expression_cadena','sql_grammar.py',961),
]
| _tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftPAR_ABREPAR_CIERRArightIGUALleftORleftANDleftNO_IGUALnonassocMAYORMENORMAYOR_IGUALMENOR_IGUALleftMASMENOSleftASTERISCODIVISIONMODULOleftPOTENCIArightNOTleftLLAVE_ABRELLAVE_CIERRAADD ALL ALTER AND AS ASC ASTERISCO AVG BETWEEN BIGINT BOOLEAN BY CADENA CASE CASTEO CHAR CHARACTER CHECK COLUMN COMA CONSTRAINT CORCHE_ABRE CORCHE_CIERRA COUNT CREATE CURRENT_USER DATABASE DATABASES DATE DAY DECIMAL DECIMAL_NUM DEFAULT DELETE DESC DIFERENTE DISTINCT DIVISION DOUBLE DROP ELSE END ENTERO ENUM EXISTS FALSE FIELDS FIRST FOREIGN FROM FULL GREATEST GROUP HAVING HOUR ID IF IGUAL ILIKE IN INHERITS INNER INSERT INTEGER INTERSECT INTERVAL INTO IS ISNULL JOIN KEY LAST LEAST LEFT LIKE LIMIT LLAVE_ABRE LLAVE_CIERRA MAS MAYOR MAYOR_IGUAL MENOR MENOR_IGUAL MENOS MINUTE MODE MODULO MONEY MONTH NOT NOTNULL NO_IGUAL NULL NULLS NUMERIC OFFSET OR ORDER OUTER OWNER PAR_ABRE PAR_CIERRA POTENCIA PRECISION PRIMARY PUNTO PUNTOCOMA REAL REFERENCE REFERENCES RENAME REPLACE RIGHT SECOND SELECT SESSION_USER SET SHOW SIMILAR SMALLINT SUBSTRING SUM SYMMETRIC TABLE TEXT THEN TIME TIMESTAMP TO TRUE TYPE UNION UNIQUE UNKNOWN UPDATE USE VALUES VARCHAR VARYING WHEN WHERE WITH WITHOUT YEAR ZONEinit : instruccionesinstrucciones : instrucciones instruccioninstrucciones : instruccion instruccion : crear_statement PUNTOCOMA\n | alter_statement PUNTOCOMA\n | drop_statement PUNTOCOMA\n | seleccionar PUNTOCOMAinstruccion : SHOW DATABASES PUNTOCOMA\n | INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA\n | UPDATE ID SET ID IGUAL op_val where PUNTOCOMA\n | DELETE FROM ID WHERE ID IGUAL op_val PUNTOCOMA\n | USE DATABASE ID PUNTOCOMAcrear_statement : CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statementcrear_statement : CREATE or_replace DATABASE if_not_exists ID owner_ mode_or_replace : OR REPLACE\n | if_not_exists : IF NOT EXISTS\n | owner_ : OWNER IGUAL ID\n | mode_ : MODE IGUAL ENTERO\n | alter_statement : ALTER DATABASE ID rename_owneralter_statement : ALTER TABLE ID alter_oprename_owner : RENAME TO ID\n | OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRAow_op : ID\n | CURRENT_USER\n | SESSION_USERdrop_statement : DROP DATABASE if_exists IDdrop_statement : DROP TABLE IDif_exists : IF EXISTS\n | contenido_tabla : contenido_tabla COMA manejo_tablacontenido_tabla : manejo_tablamanejo_tabla : declaracion_columna\n | condition_columndeclaracion_columna : ID type_column condition_column_rowdeclaracion_columna : ID type_columntype_column : SMALLINT\n | INTEGER\n\t | BIGINT\n\t | DECIMAL\n\t | NUMERIC\n\t | REAL\n\t | DOUBLE PRECISION\n\t | MONEY\n\t | VARCHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA\n \t | TEXT\n\t | DATE\n | TIMESTAMP\n | TIMEcondition_column_row : condition_column_row condition_columncondition_column_row : condition_columncondition_column : constraint UNIQUE op_unique\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | key_tablecondition_column : DEFAULT op_val\n | NULL\n | NOT NULL\n\t | REFERENCE ID\n\t\t | CONSTRAINT ID key_table\n \t\t | constraint : CONSTRAINT ID\n | op_unique : PAR_ABRE list_id PAR_CIERRA\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | list_id : list_id COMA aliaslist_id : aliasalias : IDkey_table : PRIMARY KEY list_key\n\t | FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRAlist_key : PAR_ABRE list_id PAR_CIERRA\n\t | alter_op : ADD op_add\n\t | ALTER COLUMN ID alter_col_op\n\t | DROP alter_drop IDalter_drop : CONSTRAINT\n\t | COLUMN op_add : CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA\n | CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA\n | key_table REFERENCES PAR_ABRE list_id PAR_CIERRAalter_col_op : SET NOT NULL\n | TYPE type_columninherits_statement : INHERITS PAR_ABRE ID PAR_CIERRA\n | list_val : list_val COMA op_vallist_val : op_valop_val : ID\n | CADENA\n | DECIMAL\n | ENTEROwhere : WHERE ID IGUAL op_val\n | seleccionar : SELECT distinto select_list FROM table_expression list_fin_selectseleccionar : SELECT GREATEST expressiones\n | SELECT LEAST expressioneslist_fin_select : list_fin_select fin_selectlist_fin_select : fin_selectfin_select : group_by \n\t | donde\n\t | order_by\n\t | group_having\n\t | limite\n \t| expressiones : PAR_ABRE list_expression PAR_CIERRAexpressiones : list_expressiondistinto : DISTINCT\n\t | select_list : ASTERISCO\n\t | expressiones table_expression : expressionesdonde : WHERE expressionesgroup_by : GROUP BY expressiones order_by : ORDER BY expressiones asc_desc nulls_f_lgroup_having : HAVING expressiones asc_desc : ASC\n\t | DESCnulls_f_l : NULLS LAST\n\t | NULLS FIRST\n\t | limite : LIMIT ENTERO\n\t | LIMIT ALL\n\t | OFFSET ENTEROlist_expression : list_expression COMA expressionlist_expression : expressionexpression : expression MAYOR expression\n | expression MENOR expression\n | expression MAYOR_IGUAL expression\n | expression MENOR_IGUAL expression\n | expression AND expression\n | expression OR expression\n | NOT expression\n | expression IGUAL expression\n | expression NO_IGUAL expression\n | expression DIFERENTE expression\n | PAR_ABRE expression PAR_CIERRA\n | expression BETWEEN expression AND expression\n | expression NOT BETWEEN expression AND expression \n | expression BETWEEN SYMMETRIC expression AND expression\n | expression NOT BETWEEN SYMMETRIC expression AND expression\n | expression IS DISTINCT FROM expression\n | expression IS NOT DISTINCT FROM expression\n | ID PUNTO ID\n | expression IS NULL\n | expression IS NOT NULL\n | expression ISNULL\n | expression NOTNULL\n | expression IS TRUE\n | expression IS NOT TRUE\n | expression IS FALSE\n | expression IS NOT FALSE\n | expression IS UNKNOWN\n | expression IS NOT UNKNOWN\n | SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRA\n | SUM PAR_ABRE expression PAR_CIERRA\n | COUNT PAR_ABRE expression PAR_CIERRA\n | AVG PAR_ABRE expression PAR_CIERRA\n | seleccionarexpression : ID\n | ASTERISCOexpression : ENTEROexpression : DECIMAL_NUMexpression : CADENA'
_lr_action_items = {'SHOW': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [8, 8, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'INSERT': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [9, 9, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'UPDATE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [10, 10, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'DELETE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [11, 11, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'USE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [12, 12, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'CREATE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [13, 13, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'ALTER': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 47, 73, 292, 294, 296], [14, 14, -3, -2, -4, -5, -6, -7, -8, 80, -12, -9, -10, -11]), 'DROP': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 47, 73, 292, 294, 296], [15, 15, -3, -2, -4, -5, -6, -7, -8, 83, -12, -9, -10, -11]), 'SELECT': ([0, 2, 3, 16, 17, 18, 19, 20, 21, 34, 35, 36, 37, 38, 54, 57, 73, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 292, 294, 296, 323, 325, 332], [16, 16, -3, -113, -2, -4, -5, -6, -7, 16, 16, 16, -112, -8, 16, 16, -12, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, -9, -10, -11, 16, 16, 16]), '$end': ([1, 2, 3, 17, 18, 19, 20, 21, 38, 73, 292, 294, 296], [0, -1, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'PUNTOCOMA': ([4, 5, 6, 7, 22, 42, 50, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 77, 81, 84, 103, 104, 105, 128, 133, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 169, 172, 173, 174, 175, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 193, 203, 206, 212, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 240, 242, 244, 247, 252, 264, 271, 277, 279, 281, 282, 283, 284, 285, 289, 312, 313, 315, 319, 321, 322, 324, 327, 328, 329, 338, 339, 342, 343, 344, 345, 346, 348, 349, 350, 354, 355, 356, 358, 361, 362], [18, 19, 20, 21, 38, 73, -31, -111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -23, -24, -30, -151, -152, -137, -20, -79, -109, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, -93, -94, -95, -96, -98, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -90, -22, -25, -81, -99, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, 292, 294, 296, -46, -13, -14, -80, -102, -117, -120, -126, -127, -128, -142, -146, -19, -26, -88, -118, -144, -143, -147, -48, -49, -50, -21, -87, -86, -125, -121, -122, -145, -97, -51, -89, -84, -85, -119, -159, -123, -124]), 'DATABASES': ([8], [22]), 'INTO': ([9], [23]), 'ID': ([10, 16, 23, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 40, 44, 48, 54, 57, 72, 74, 75, 85, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 106, 107, 108, 109, 110, 111, 112, 121, 124, 125, 130, 132, 135, 137, 138, 139, 156, 157, 176, 194, 205, 207, 209, 221, 223, 226, 229, 230, 236, 241, 243, 257, 258, 259, 262, 263, 266, 276, 278, 280, 286, 287, 290, 302, 317, 323, 325, 326, 332, 334, 353, 363], [24, -113, 39, 41, 42, 43, 46, 47, -33, 50, 58, 58, 58, -112, 71, -18, 84, 58, 58, 113, 114, 128, -32, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 164, 58, 58, 58, 58, 169, 169, 169, 199, 200, 206, 208, 210, 212, -82, -83, 58, 58, 169, 114, -17, 268, 274, 58, 58, 58, 58, 58, 58, 169, 295, 306, 307, 58, 306, 306, 312, 306, 58, 58, 58, 58, 58, 331, 341, 58, 58, 169, 58, 306, 360, 306]), 'FROM': ([11, 51, 52, 53, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 158, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 231, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [25, 86, -114, -115, -111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, -109, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, 230, -149, -153, -155, -157, -148, -99, -103, -104, -105, -106, -107, -108, 290, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'DATABASE': ([12, 13, 14, 15, 28, 45], [26, -16, 30, 32, 44, -15]), 'TABLE': ([13, 14, 15], [27, 31, 33]), 'OR': ([13, 52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [29, -165, -111, 96, -164, -163, -166, -167, -168, -100, -165, -101, 96, -151, -152, -137, -109, -116, 96, -110, -141, 96, -131, -132, -133, -134, -135, -136, 96, -139, 96, 96, -149, -153, -155, -157, -148, 96, 96, 96, 96, -99, -103, -104, -105, -106, -107, -108, 96, 96, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -135, 96, 96, 96, 96, -118, -135, -135, 96, -125, -121, -122, -135, 96, 96, -119, -159, -123, -124]), 'GREATEST': ([16], [35]), 'LEAST': ([16], [36]), 'DISTINCT': ([16, 102, 159], [37, 158, 231]), 'ASTERISCO': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [-113, 52, 68, 68, -112, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68]), 'PAR_ABRE': ([16, 34, 35, 36, 37, 43, 54, 57, 59, 60, 61, 62, 70, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 134, 156, 157, 186, 187, 188, 195, 196, 201, 202, 211, 221, 223, 226, 229, 230, 236, 251, 253, 259, 275, 278, 280, 286, 287, 290, 303, 323, 325, 332, 360], [-113, 54, 54, 54, -112, 74, 87, 87, 107, 108, 109, 110, 111, 54, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 209, 87, 87, 248, 249, 250, 257, 259, 262, 263, 276, 54, 54, 87, 87, 87, 87, 301, 302, 87, 317, 54, 54, 87, 87, 87, 332, 87, 87, 87, 363]), 'NOT': ([16, 34, 35, 36, 37, 52, 54, 55, 56, 57, 58, 63, 64, 65, 66, 67, 68, 69, 74, 76, 86, 87, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 107, 108, 109, 110, 120, 122, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 213, 214, 215, 216, 217, 218, 219, 221, 223, 226, 227, 228, 229, 230, 232, 233, 234, 235, 236, 237, 238, 239, 245, 246, 247, 256, 259, 260, 261, 272, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 297, 308, 319, 321, 322, 323, 324, 325, 327, 328, 329, 332, 333, 335, 336, 343, 344, 345, 346, 347, 349, 351, 356, 358, 359, 361, 362, 365], [-113, 57, 57, 57, -112, -165, 57, -111, 101, 57, -164, -163, -166, -167, -168, -100, -165, -101, 123, 129, 57, 57, 101, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 159, -151, -152, 101, 57, 57, 57, 57, -60, -62, -109, -116, 101, -110, -141, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 57, 57, -149, -153, -155, -157, -148, 101, 101, 101, 101, -93, -94, -95, -96, 123, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 123, -71, -61, -63, -64, -78, -99, -103, -104, -105, -106, -107, -108, 57, 57, 57, 101, 101, 57, 57, -150, -154, -156, -158, 57, -160, -161, -162, 123, -57, -46, -58, 57, -65, -75, 314, -102, 57, -117, 57, -120, -126, -127, -128, 101, 57, 57, 101, 101, 57, 101, -56, 101, -118, 101, 101, 57, 101, 57, -48, -49, -50, 57, -69, -59, -77, -125, -121, -122, 101, 101, -51, 101, -119, -159, -70, -123, -124, -76]), 'SUBSTRING': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [-113, 59, 59, 59, -112, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59]), 'SUM': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [-113, 60, 60, 60, -112, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60]), 'COUNT': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [-113, 61, 61, 61, -112, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61]), 'AVG': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [-113, 62, 62, 62, -112, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62]), 'ENTERO': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 111, 112, 121, 156, 157, 176, 221, 223, 224, 225, 226, 229, 230, 236, 241, 248, 249, 250, 259, 278, 280, 286, 287, 290, 301, 311, 323, 325, 326, 332], [-113, 64, 64, 64, -112, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 174, 174, 174, 64, 64, 174, 64, 64, 282, 284, 64, 64, 64, 64, 174, 298, 299, 300, 64, 64, 64, 64, 64, 64, 330, 338, 64, 64, 174, 64]), 'DECIMAL_NUM': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [-113, 65, 65, 65, -112, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65]), 'CADENA': ([16, 34, 35, 36, 37, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 111, 112, 121, 156, 157, 176, 221, 223, 226, 229, 230, 236, 241, 259, 278, 280, 286, 287, 290, 316, 323, 325, 326, 332], [-113, 66, 66, 66, -112, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 172, 172, 172, 66, 66, 172, 66, 66, 66, 66, 66, 66, 172, 66, 66, 66, 66, 66, 66, 340, 66, 66, 172, 66]), 'SET': ([24, 208], [40, 272]), 'REPLACE': ([29], [45]), 'IF': ([32, 44], [49, 76]), 'VALUES': ([39], [70]), 'WHERE': ([41, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 169, 172, 173, 174, 175, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [72, -111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, 221, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, -93, -94, -95, -96, 243, 221, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'RENAME': ([46], [78]), 'OWNER': ([46, 128], [79, 204]), 'ADD': ([47], [82]), 'EXISTS': ([49, 129], [85, 205]), 'MAYOR': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 91, -164, -163, -166, -167, -168, -100, -165, -101, 91, -151, -152, -137, -109, -116, 91, -110, -141, 91, None, None, None, None, 91, 91, 91, 91, 91, 91, -149, -153, -155, -157, -148, 91, 91, 91, 91, -99, -103, -104, -105, -106, -107, -108, 91, 91, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, 91, 91, 91, 91, 91, -118, 91, 91, 91, -125, -121, -122, 91, 91, 91, -119, -159, -123, -124]), 'MENOR': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 92, -164, -163, -166, -167, -168, -100, -165, -101, 92, -151, -152, -137, -109, -116, 92, -110, -141, 92, None, None, None, None, 92, 92, 92, 92, 92, 92, -149, -153, -155, -157, -148, 92, 92, 92, 92, -99, -103, -104, -105, -106, -107, -108, 92, 92, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, 92, 92, 92, 92, 92, -118, 92, 92, 92, -125, -121, -122, 92, 92, 92, -119, -159, -123, -124]), 'MAYOR_IGUAL': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 93, -164, -163, -166, -167, -168, -100, -165, -101, 93, -151, -152, -137, -109, -116, 93, -110, -141, 93, None, None, None, None, 93, 93, 93, 93, 93, 93, -149, -153, -155, -157, -148, 93, 93, 93, 93, -99, -103, -104, -105, -106, -107, -108, 93, 93, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, 93, 93, 93, 93, 93, -118, 93, 93, 93, -125, -121, -122, 93, 93, 93, -119, -159, -123, -124]), 'MENOR_IGUAL': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 94, -164, -163, -166, -167, -168, -100, -165, -101, 94, -151, -152, -137, -109, -116, 94, -110, -141, 94, None, None, None, None, 94, 94, 94, 94, 94, 94, -149, -153, -155, -157, -148, 94, 94, 94, 94, -99, -103, -104, -105, -106, -107, -108, 94, 94, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, 94, 94, 94, 94, 94, -118, 94, 94, 94, -125, -121, -122, 94, 94, 94, -119, -159, -123, -124]), 'AND': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 95, -164, -163, -166, -167, -168, -100, -165, -101, 95, -151, -152, -137, -109, -116, 95, -110, -141, 95, -131, -132, -133, -134, -135, 95, 95, -139, 95, 226, -149, -153, -155, -157, -148, 95, 95, 95, 95, -99, -103, -104, -105, -106, -107, -108, 286, 287, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -135, 323, 95, 95, 95, -118, -135, -135, 95, -125, -121, -122, -135, 95, 95, -119, -159, -123, -124]), 'IGUAL': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 71, 89, 103, 104, 105, 113, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 204, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 265, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 295, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 97, -164, -163, -166, -167, -168, -100, -165, -101, 112, 97, -151, -152, -137, 176, -109, -116, 97, -110, -141, 97, -131, -132, -133, -134, -135, -136, 97, -139, 97, 97, -149, -153, -155, -157, -148, 97, 97, 97, 97, 266, -99, -103, -104, -105, -106, -107, -108, 97, 97, -150, -154, -156, -158, -160, -161, -162, 311, -102, -117, -120, -126, -127, -128, -135, 97, 97, 97, 326, 97, -118, -135, -135, 97, -125, -121, -122, -135, 97, 97, -119, -159, -123, -124]), 'NO_IGUAL': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 98, -164, -163, -166, -167, -168, -100, -165, -101, 98, -151, -152, -137, -109, -116, 98, -110, -141, 98, -131, -132, -133, -134, 98, 98, 98, -139, 98, 98, -149, -153, -155, -157, -148, 98, 98, 98, 98, -99, -103, -104, -105, -106, -107, -108, 98, 98, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, 98, 98, 98, 98, 98, -118, 98, 98, 98, -125, -121, -122, 98, 98, 98, -119, -159, -123, -124]), 'DIFERENTE': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 274, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 99, -164, -163, -166, -167, -168, -100, -165, -101, 99, -151, -152, -137, -109, -116, 99, -110, -141, 99, -131, -132, -133, -134, -135, -136, -138, -139, 99, 99, -149, -153, -155, -157, -148, 99, 99, 99, 99, -99, -103, -104, -105, -106, -107, -108, 99, 99, -150, -154, -156, -158, -160, -161, -162, 316, -102, -117, -120, -126, -127, -128, -135, 99, 99, 99, 99, -118, -135, -135, 99, -125, -121, -122, -135, 99, 99, -119, -159, -123, -124]), 'BETWEEN': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 101, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 100, -164, -163, -166, -167, -168, -100, -165, -101, 100, 157, -151, -152, -137, -109, -116, 100, -110, -141, 100, -131, -132, -133, -134, -135, -136, -138, -139, 100, 100, -149, -153, -155, -157, -148, 100, 100, 100, 100, -99, -103, -104, -105, -106, -107, -108, 100, 100, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -135, 100, 100, 100, 100, -118, -135, -135, 100, -125, -121, -122, -135, 100, 100, -119, -159, -123, -124]), 'IS': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 102, -164, -163, -166, -167, -168, -100, -165, -101, 102, -151, -152, -137, -109, -116, 102, -110, -141, 102, -131, -132, -133, -134, -135, -136, -138, -139, 102, 102, -149, -153, -155, -157, -148, 102, 102, 102, 102, -99, -103, -104, -105, -106, -107, -108, 102, 102, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -135, 102, 102, 102, 102, -118, -135, -135, 102, -125, -121, -122, -135, 102, 102, -119, -159, -123, -124]), 'ISNULL': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 103, -164, -163, -166, -167, -168, -100, -165, -101, 103, -151, -152, -137, -109, -116, 103, -110, -141, 103, -131, -132, -133, -134, -135, -136, -138, -139, 103, 103, -149, -153, -155, -157, -148, 103, 103, 103, 103, -99, -103, -104, -105, -106, -107, -108, 103, 103, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -135, 103, 103, 103, 103, -118, -135, -135, 103, -125, -121, -122, -135, 103, 103, -119, -159, -123, -124]), 'NOTNULL': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 89, 103, 104, 105, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 166, 167, 168, 213, 214, 215, 216, 217, 218, 219, 227, 228, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 288, 289, 291, 308, 319, 321, 322, 324, 343, 344, 345, 346, 347, 351, 356, 358, 361, 362], [-165, -111, 104, -164, -163, -166, -167, -168, -100, -165, -101, 104, -151, -152, -137, -109, -116, 104, -110, -141, 104, -131, -132, -133, -134, -135, -136, -138, -139, 104, 104, -149, -153, -155, -157, -148, 104, 104, 104, 104, -99, -103, -104, -105, -106, -107, -108, 104, 104, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -135, 104, 104, 104, 104, -118, -135, -135, 104, -125, -121, -122, -135, 104, 104, -119, -159, -123, -124]), 'COMA': ([52, 55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 74, 88, 89, 103, 104, 105, 115, 116, 117, 118, 120, 122, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 165, 169, 170, 171, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 245, 246, 247, 254, 256, 260, 261, 277, 279, 281, 282, 283, 284, 285, 289, 291, 293, 297, 304, 305, 306, 309, 310, 318, 319, 321, 322, 324, 327, 328, 329, 333, 335, 336, 343, 344, 345, 346, 349, 352, 356, 358, 359, 361, 362, 364, 365], [-165, 90, -130, -164, -163, -166, -167, -168, -100, -165, -101, -66, 90, -130, -151, -152, -137, 194, -35, -36, -37, -60, -62, -109, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 236, -93, 241, -92, -94, -95, -96, -39, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -66, -71, -61, -63, -64, -78, -99, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -38, -57, -46, -34, -58, -65, -75, -102, -117, -120, -126, -127, -128, -142, -146, 325, -91, -56, 334, -73, -74, 334, 334, 334, -118, -144, -143, -147, -48, -49, -50, -69, -59, -77, -125, -121, -122, -145, -51, -72, -119, -159, -70, -123, -124, 334, -76]), 'PAR_CIERRA': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 74, 88, 89, 103, 104, 105, 115, 116, 117, 118, 120, 122, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 166, 167, 168, 169, 170, 171, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 245, 246, 247, 254, 256, 260, 261, 277, 279, 281, 282, 283, 284, 285, 289, 293, 297, 298, 299, 300, 304, 305, 306, 308, 309, 310, 318, 319, 321, 322, 324, 327, 328, 329, 330, 331, 333, 335, 336, 340, 341, 343, 344, 345, 346, 347, 349, 351, 352, 356, 358, 359, 361, 362, 364, 365], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -66, 143, 144, -151, -152, -137, 193, -35, -36, -37, -60, -62, -109, -116, 144, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 237, 238, 239, -93, 240, -92, -94, -95, -96, -39, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -66, -71, -61, -63, -64, -78, -99, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -38, -57, -46, -34, -58, -65, -75, -102, -117, -120, -126, -127, -128, -142, -146, -91, -56, 327, 328, 329, 333, -73, -74, 335, 336, 337, 342, -118, -144, -143, -147, -48, -49, -50, 349, 350, -69, -59, -77, 354, 355, -125, -121, -122, -145, 358, -51, 359, -72, -119, -159, -70, -123, -124, 365, -76]), 'GROUP': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, 220, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 220, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'ORDER': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, 222, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 222, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'HAVING': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, 223, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 223, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'LIMIT': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, 224, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 224, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'OFFSET': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, 225, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, 225, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'ASC': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 320, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, -109, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, -99, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, 344, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'DESC': ([55, 56, 58, 63, 64, 65, 66, 67, 68, 69, 103, 104, 105, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 160, 161, 162, 163, 164, 213, 214, 215, 216, 217, 218, 219, 232, 233, 234, 235, 237, 238, 239, 277, 279, 281, 282, 283, 284, 285, 289, 319, 320, 321, 322, 324, 343, 344, 345, 346, 356, 358, 361, 362], [-111, -130, -164, -163, -166, -167, -168, -100, -165, -101, -151, -152, -137, -109, -116, -110, -141, -129, -131, -132, -133, -134, -135, -136, -138, -139, -140, -149, -153, -155, -157, -148, -99, -103, -104, -105, -106, -107, -108, -150, -154, -156, -158, -160, -161, -162, -102, -117, -120, -126, -127, -128, -142, -146, -118, 345, -144, -143, -147, -125, -121, -122, -145, -119, -159, -123, -124]), 'PUNTO': ([58], [106]), 'DEFAULT': ([74, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 245, 246, 247, 256, 260, 261, 297, 327, 328, 329, 333, 335, 336, 349, 359, 365], [121, -60, -62, -93, -94, -95, -96, 121, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 121, -71, -61, -63, -64, -78, 121, -57, -46, -58, -65, -75, -56, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'NULL': ([74, 102, 120, 122, 123, 159, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 245, 246, 247, 256, 260, 261, 297, 314, 327, 328, 329, 333, 335, 336, 349, 359, 365], [122, 160, -60, -62, 198, 232, -93, -94, -95, -96, 122, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 122, -71, -61, -63, -64, -78, 122, -57, -46, -58, -65, -75, -56, 339, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'REFERENCE': ([74, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 245, 246, 247, 256, 260, 261, 297, 327, 328, 329, 333, 335, 336, 349, 359, 365], [124, -60, -62, -93, -94, -95, -96, 124, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 124, -71, -61, -63, -64, -78, 124, -57, -46, -58, -65, -75, -56, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'CONSTRAINT': ([74, 82, 83, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 201, 245, 246, 247, 256, 260, 261, 297, 327, 328, 329, 333, 335, 336, 349, 359, 365], [125, 135, 138, -60, -62, -93, -94, -95, -96, 125, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 125, 258, -61, -63, -64, -78, 125, -57, -46, -58, -65, -75, -56, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'UNIQUE': ([74, 119, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 200, 201, 210, 245, 246, 247, 256, 260, 261, 297, 327, 328, 329, 333, 335, 336, 349, 359, 365], [-68, 195, -60, -62, -93, -94, -95, -96, -66, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -68, -71, -61, -63, -64, -67, -78, 275, -66, -57, -46, -58, -65, -75, -56, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'CHECK': ([74, 82, 119, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 200, 201, 245, 246, 247, 255, 256, 260, 261, 297, 307, 327, 328, 329, 333, 335, 336, 349, 359, 365], [-68, 134, 196, -60, -62, -93, -94, -95, -96, -66, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -68, -68, -61, -63, -64, -67, -78, -66, -57, -46, 303, -58, -65, -75, -56, -67, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'PRIMARY': ([74, 82, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 200, 201, 245, 246, 247, 256, 260, 261, 297, 327, 328, 329, 333, 335, 336, 349, 359, 365], [126, 126, -60, -62, -93, -94, -95, -96, 126, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 126, -71, -61, -63, -64, 126, -78, 126, -57, -46, -58, -65, -75, -56, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'FOREIGN': ([74, 82, 120, 122, 169, 172, 173, 174, 177, 178, 179, 180, 181, 182, 183, 185, 189, 190, 191, 192, 194, 195, 197, 198, 199, 200, 201, 245, 246, 247, 256, 260, 261, 297, 327, 328, 329, 333, 335, 336, 349, 359, 365], [127, 127, -60, -62, -93, -94, -95, -96, 127, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 127, -71, -61, -63, -64, 127, -78, 127, -57, -46, -58, -65, -75, -56, -48, -49, -50, -69, -59, -77, -51, -70, -76]), 'TO': ([78, 79], [130, 131]), 'COLUMN': ([80, 83], [132, 139]), 'SYMMETRIC': ([100, 157], [156, 229]), 'TRUE': ([102, 159], [161, 233]), 'FALSE': ([102, 159], [162, 234]), 'UNKNOWN': ([102, 159], [163, 235]), 'DECIMAL': ([111, 112, 114, 121, 176, 241, 273, 326], [173, 173, 181, 173, 173, 173, 181, 173]), 'SMALLINT': ([114, 273], [178, 178]), 'INTEGER': ([114, 273], [179, 179]), 'BIGINT': ([114, 273], [180, 180]), 'NUMERIC': ([114, 273], [182, 182]), 'REAL': ([114, 273], [183, 183]), 'DOUBLE': ([114, 273], [184, 184]), 'MONEY': ([114, 273], [185, 185]), 'VARCHAR': ([114, 273], [186, 186]), 'CHAR': ([114, 273], [187, 187]), 'CHARACTER': ([114, 273], [188, 188]), 'TEXT': ([114, 273], [189, 189]), 'DATE': ([114, 273], [190, 190]), 'TIMESTAMP': ([114, 273], [191, 191]), 'TIME': ([114, 273], [192, 192]), 'KEY': ([126, 127], [201, 202]), 'MODE': ([128, 203, 312], [-20, 265, -19]), 'LLAVE_ABRE': ([131], [207]), 'REFERENCES': ([136, 201, 261, 336, 337, 365], [211, -78, -75, -77, 353, -76]), 'PRECISION': ([184], [247]), 'VARYING': ([188], [251]), 'INHERITS': ([193], [253]), 'CURRENT_USER': ([207], [269]), 'SESSION_USER': ([207], [270]), 'TYPE': ([208], [273]), 'BY': ([220, 222], [278, 280]), 'ALL': ([224], [283]), 'LLAVE_CIERRA': ([267, 268, 269, 270], [313, -27, -28, -29]), 'NULLS': ([343, 344, 345], [357, -121, -122]), 'LAST': ([357], [361]), 'FIRST': ([357], [362])}
_lr_action = {}
for (_k, _v) in _lr_action_items.items():
for (_x, _y) in zip(_v[0], _v[1]):
if not _x in _lr_action:
_lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'init': ([0], [1]), 'instrucciones': ([0], [2]), 'instruccion': ([0, 2], [3, 17]), 'crear_statement': ([0, 2], [4, 4]), 'alter_statement': ([0, 2], [5, 5]), 'drop_statement': ([0, 2], [6, 6]), 'seleccionar': ([0, 2, 34, 35, 36, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [7, 7, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63]), 'or_replace': ([13], [28]), 'distinto': ([16], [34]), 'if_exists': ([32], [48]), 'select_list': ([34], [51]), 'expressiones': ([34, 35, 36, 86, 221, 223, 278, 280], [53, 67, 69, 141, 279, 281, 319, 320]), 'list_expression': ([34, 35, 36, 54, 86, 221, 223, 278, 280], [55, 55, 55, 88, 55, 55, 55, 55, 55]), 'expression': ([34, 35, 36, 54, 57, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 156, 157, 221, 223, 226, 229, 230, 236, 259, 278, 280, 286, 287, 290, 323, 325, 332], [56, 56, 56, 89, 105, 56, 142, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 165, 166, 167, 168, 227, 228, 56, 56, 285, 288, 289, 291, 308, 56, 56, 321, 322, 324, 346, 347, 351]), 'if_not_exists': ([44], [75]), 'rename_owner': ([46], [77]), 'alter_op': ([47], [81]), 'contenido_tabla': ([74], [115]), 'manejo_tabla': ([74, 194], [116, 254]), 'declaracion_columna': ([74, 194], [117, 117]), 'condition_column': ([74, 177, 194, 245], [118, 246, 118, 297]), 'constraint': ([74, 177, 194, 195, 245], [119, 119, 119, 255, 119]), 'key_table': ([74, 82, 177, 194, 200, 245], [120, 136, 120, 120, 260, 120]), 'op_add': ([82], [133]), 'alter_drop': ([83], [137]), 'table_expression': ([86], [140]), 'list_val': ([111], [170]), 'op_val': ([111, 112, 121, 176, 241, 326], [171, 175, 197, 244, 293, 348]), 'type_column': ([114, 273], [177, 315]), 'owner_': ([128], [203]), 'list_fin_select': ([140], [213]), 'fin_select': ([140, 213], [214, 277]), 'group_by': ([140, 213], [215, 215]), 'donde': ([140, 213], [216, 216]), 'order_by': ([140, 213], [217, 217]), 'group_having': ([140, 213], [218, 218]), 'limite': ([140, 213], [219, 219]), 'where': ([175], [242]), 'condition_column_row': ([177], [245]), 'inherits_statement': ([193], [252]), 'op_unique': ([195], [256]), 'list_key': ([201], [261]), 'mode_': ([203], [264]), 'ow_op': ([207], [267]), 'alter_col_op': ([208], [271]), 'list_id': ([257, 262, 263, 276, 363], [304, 309, 310, 318, 364]), 'alias': ([257, 262, 263, 276, 334, 363], [305, 305, 305, 305, 352, 305]), 'asc_desc': ([320], [343]), 'nulls_f_l': ([343], [356])}
_lr_goto = {}
for (_k, _v) in _lr_goto_items.items():
for (_x, _y) in zip(_v[0], _v[1]):
if not _x in _lr_goto:
_lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [("S' -> init", "S'", 1, None, None, None), ('init -> instrucciones', 'init', 1, 'p_init', 'sql_grammar.py', 295), ('instrucciones -> instrucciones instruccion', 'instrucciones', 2, 'p_instrucciones_lista', 'sql_grammar.py', 299), ('instrucciones -> instruccion', 'instrucciones', 1, 'p_instrucciones_instruccion', 'sql_grammar.py', 304), ('instruccion -> crear_statement PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 308), ('instruccion -> alter_statement PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 309), ('instruccion -> drop_statement PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 310), ('instruccion -> seleccionar PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 311), ('instruccion -> SHOW DATABASES PUNTOCOMA', 'instruccion', 3, 'p_aux_instruccion', 'sql_grammar.py', 315), ('instruccion -> INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA', 'instruccion', 8, 'p_aux_instruccion', 'sql_grammar.py', 316), ('instruccion -> UPDATE ID SET ID IGUAL op_val where PUNTOCOMA', 'instruccion', 8, 'p_aux_instruccion', 'sql_grammar.py', 317), ('instruccion -> DELETE FROM ID WHERE ID IGUAL op_val PUNTOCOMA', 'instruccion', 8, 'p_aux_instruccion', 'sql_grammar.py', 318), ('instruccion -> USE DATABASE ID PUNTOCOMA', 'instruccion', 4, 'p_aux_instruccion', 'sql_grammar.py', 319), ('crear_statement -> CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statement', 'crear_statement', 7, 'p_crear_statement_tbl', 'sql_grammar.py', 338), ('crear_statement -> CREATE or_replace DATABASE if_not_exists ID owner_ mode_', 'crear_statement', 7, 'p_crear_statement_db', 'sql_grammar.py', 344), ('or_replace -> OR REPLACE', 'or_replace', 2, 'p_or_replace_db', 'sql_grammar.py', 350), ('or_replace -> <empty>', 'or_replace', 0, 'p_or_replace_db', 'sql_grammar.py', 351), ('if_not_exists -> IF NOT EXISTS', 'if_not_exists', 3, 'p_if_not_exists_db', 'sql_grammar.py', 359), ('if_not_exists -> <empty>', 'if_not_exists', 0, 'p_if_not_exists_db', 'sql_grammar.py', 360), ('owner_ -> OWNER IGUAL ID', 'owner_', 3, 'p_owner_db', 'sql_grammar.py', 368), ('owner_ -> <empty>', 'owner_', 0, 'p_owner_db', 'sql_grammar.py', 369), ('mode_ -> MODE IGUAL ENTERO', 'mode_', 3, 'p_mode_db', 'sql_grammar.py', 379), ('mode_ -> <empty>', 'mode_', 0, 'p_mode_db', 'sql_grammar.py', 380), ('alter_statement -> ALTER DATABASE ID rename_owner', 'alter_statement', 4, 'p_alter_db', 'sql_grammar.py', 390), ('alter_statement -> ALTER TABLE ID alter_op', 'alter_statement', 4, 'p_alter_tbl', 'sql_grammar.py', 396), ('rename_owner -> RENAME TO ID', 'rename_owner', 3, 'p_rename_owner_db', 'sql_grammar.py', 403), ('rename_owner -> OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRA', 'rename_owner', 5, 'p_rename_owner_db', 'sql_grammar.py', 404), ('ow_op -> ID', 'ow_op', 1, 'p_ow_op_db', 'sql_grammar.py', 414), ('ow_op -> CURRENT_USER', 'ow_op', 1, 'p_ow_op_db', 'sql_grammar.py', 415), ('ow_op -> SESSION_USER', 'ow_op', 1, 'p_ow_op_db', 'sql_grammar.py', 416), ('drop_statement -> DROP DATABASE if_exists ID', 'drop_statement', 4, 'p_drop_db', 'sql_grammar.py', 420), ('drop_statement -> DROP TABLE ID', 'drop_statement', 3, 'p_drop_tbl', 'sql_grammar.py', 430), ('if_exists -> IF EXISTS', 'if_exists', 2, 'p_if_exists_db', 'sql_grammar.py', 436), ('if_exists -> <empty>', 'if_exists', 0, 'p_if_exists_db', 'sql_grammar.py', 437), ('contenido_tabla -> contenido_tabla COMA manejo_tabla', 'contenido_tabla', 3, 'p_contenido_tabla', 'sql_grammar.py', 444), ('contenido_tabla -> manejo_tabla', 'contenido_tabla', 1, 'p_aux_contenido_table', 'sql_grammar.py', 449), ('manejo_tabla -> declaracion_columna', 'manejo_tabla', 1, 'p_manejo_tabla', 'sql_grammar.py', 453), ('manejo_tabla -> condition_column', 'manejo_tabla', 1, 'p_manejo_tabla', 'sql_grammar.py', 454), ('declaracion_columna -> ID type_column condition_column_row', 'declaracion_columna', 3, 'p_aux_declaracion_columna', 'sql_grammar.py', 458), ('declaracion_columna -> ID type_column', 'declaracion_columna', 2, 'p_declaracion_columna', 'sql_grammar.py', 464), ('type_column -> SMALLINT', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 470), ('type_column -> INTEGER', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 471), ('type_column -> BIGINT', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 472), ('type_column -> DECIMAL', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 473), ('type_column -> NUMERIC', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 474), ('type_column -> REAL', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 475), ('type_column -> DOUBLE PRECISION', 'type_column', 2, 'p_type_column', 'sql_grammar.py', 476), ('type_column -> MONEY', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 477), ('type_column -> VARCHAR PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 4, 'p_type_column', 'sql_grammar.py', 478), ('type_column -> CHAR PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 4, 'p_type_column', 'sql_grammar.py', 479), ('type_column -> CHARACTER PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 4, 'p_type_column', 'sql_grammar.py', 480), ('type_column -> CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 5, 'p_type_column', 'sql_grammar.py', 481), ('type_column -> TEXT', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 482), ('type_column -> DATE', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 483), ('type_column -> TIMESTAMP', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 484), ('type_column -> TIME', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 485), ('condition_column_row -> condition_column_row condition_column', 'condition_column_row', 2, 'p_condition_column_row', 'sql_grammar.py', 519), ('condition_column_row -> condition_column', 'condition_column_row', 1, 'p_aux_condition_column_row', 'sql_grammar.py', 524), ('condition_column -> constraint UNIQUE op_unique', 'condition_column', 3, 'p_condition_column', 'sql_grammar.py', 528), ('condition_column -> constraint CHECK PAR_ABRE expression PAR_CIERRA', 'condition_column', 5, 'p_condition_column', 'sql_grammar.py', 529), ('condition_column -> key_table', 'condition_column', 1, 'p_condition_column', 'sql_grammar.py', 530), ('condition_column -> DEFAULT op_val', 'condition_column', 2, 'p_aux_condition_column', 'sql_grammar.py', 546), ('condition_column -> NULL', 'condition_column', 1, 'p_aux_condition_column', 'sql_grammar.py', 547), ('condition_column -> NOT NULL', 'condition_column', 2, 'p_aux_condition_column', 'sql_grammar.py', 548), ('condition_column -> REFERENCE ID', 'condition_column', 2, 'p_aux_condition_column', 'sql_grammar.py', 549), ('condition_column -> CONSTRAINT ID key_table', 'condition_column', 3, 'p_aux_condition_column', 'sql_grammar.py', 550), ('condition_column -> <empty>', 'condition_column', 0, 'p_aux_condition_column', 'sql_grammar.py', 551), ('constraint -> CONSTRAINT ID', 'constraint', 2, 'p_constraint', 'sql_grammar.py', 575), ('constraint -> <empty>', 'constraint', 0, 'p_constraint', 'sql_grammar.py', 576), ('op_unique -> PAR_ABRE list_id PAR_CIERRA', 'op_unique', 3, 'p_op_unique', 'sql_grammar.py', 588), ('op_unique -> constraint CHECK PAR_ABRE expression PAR_CIERRA', 'op_unique', 5, 'p_op_unique', 'sql_grammar.py', 589), ('op_unique -> <empty>', 'op_unique', 0, 'p_op_unique', 'sql_grammar.py', 590), ('list_id -> list_id COMA alias', 'list_id', 3, 'p_list_id', 'sql_grammar.py', 604), ('list_id -> alias', 'list_id', 1, 'p_aux_list_id', 'sql_grammar.py', 609), ('alias -> ID', 'alias', 1, 'p_alias', 'sql_grammar.py', 613), ('key_table -> PRIMARY KEY list_key', 'key_table', 3, 'p_key_table', 'sql_grammar.py', 619), ('key_table -> FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRA', 'key_table', 10, 'p_key_table', 'sql_grammar.py', 620), ('list_key -> PAR_ABRE list_id PAR_CIERRA', 'list_key', 3, 'p_list_key', 'sql_grammar.py', 633), ('list_key -> <empty>', 'list_key', 0, 'p_list_key', 'sql_grammar.py', 634), ('alter_op -> ADD op_add', 'alter_op', 2, 'p_alter_op', 'sql_grammar.py', 641), ('alter_op -> ALTER COLUMN ID alter_col_op', 'alter_op', 4, 'p_alter_op', 'sql_grammar.py', 642), ('alter_op -> DROP alter_drop ID', 'alter_op', 3, 'p_alter_op', 'sql_grammar.py', 643), ('alter_drop -> CONSTRAINT', 'alter_drop', 1, 'p_aux_alter_op', 'sql_grammar.py', 660), ('alter_drop -> COLUMN', 'alter_drop', 1, 'p_aux_alter_op', 'sql_grammar.py', 661), ('op_add -> CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA', 'op_add', 6, 'p_op_add', 'sql_grammar.py', 666), ('op_add -> CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA', 'op_add', 6, 'p_op_add', 'sql_grammar.py', 667), ('op_add -> key_table REFERENCES PAR_ABRE list_id PAR_CIERRA', 'op_add', 5, 'p_op_add', 'sql_grammar.py', 668), ('alter_col_op -> SET NOT NULL', 'alter_col_op', 3, 'p_alter_col_op', 'sql_grammar.py', 685), ('alter_col_op -> TYPE type_column', 'alter_col_op', 2, 'p_alter_col_op', 'sql_grammar.py', 686), ('inherits_statement -> INHERITS PAR_ABRE ID PAR_CIERRA', 'inherits_statement', 4, 'p_inherits_tbl', 'sql_grammar.py', 699), ('inherits_statement -> <empty>', 'inherits_statement', 0, 'p_inherits_tbl', 'sql_grammar.py', 700), ('list_val -> list_val COMA op_val', 'list_val', 3, 'p_list_val', 'sql_grammar.py', 709), ('list_val -> op_val', 'list_val', 1, 'p_aux_list_val', 'sql_grammar.py', 714), ('op_val -> ID', 'op_val', 1, 'p_op_val', 'sql_grammar.py', 718), ('op_val -> CADENA', 'op_val', 1, 'p_op_val', 'sql_grammar.py', 719), ('op_val -> DECIMAL', 'op_val', 1, 'p_op_val', 'sql_grammar.py', 720), ('op_val -> ENTERO', 'op_val', 1, 'p_op_val', 'sql_grammar.py', 721), ('where -> WHERE ID IGUAL op_val', 'where', 4, 'p_where', 'sql_grammar.py', 725), ('where -> <empty>', 'where', 0, 'p_where', 'sql_grammar.py', 726), ('seleccionar -> SELECT distinto select_list FROM table_expression list_fin_select', 'seleccionar', 6, 'p_seleccionar', 'sql_grammar.py', 736), ('seleccionar -> SELECT GREATEST expressiones', 'seleccionar', 3, 'p_aux_seleccionar', 'sql_grammar.py', 746), ('seleccionar -> SELECT LEAST expressiones', 'seleccionar', 3, 'p_aux_seleccionar', 'sql_grammar.py', 747), ('list_fin_select -> list_fin_select fin_select', 'list_fin_select', 2, 'p_list_fin_select', 'sql_grammar.py', 753), ('list_fin_select -> fin_select', 'list_fin_select', 1, 'p_aux_list_fin_select', 'sql_grammar.py', 758), ('fin_select -> group_by', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 762), ('fin_select -> donde', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 763), ('fin_select -> order_by', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 764), ('fin_select -> group_having', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 765), ('fin_select -> limite', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 766), ('fin_select -> <empty>', 'fin_select', 0, 'p_fin_select', 'sql_grammar.py', 767), ('expressiones -> PAR_ABRE list_expression PAR_CIERRA', 'expressiones', 3, 'p_expressiones', 'sql_grammar.py', 774), ('expressiones -> list_expression', 'expressiones', 1, 'p_aux_expressiones', 'sql_grammar.py', 778), ('distinto -> DISTINCT', 'distinto', 1, 'p_distinto', 'sql_grammar.py', 782), ('distinto -> <empty>', 'distinto', 0, 'p_distinto', 'sql_grammar.py', 783), ('select_list -> ASTERISCO', 'select_list', 1, 'p_select_list', 'sql_grammar.py', 790), ('select_list -> expressiones', 'select_list', 1, 'p_select_list', 'sql_grammar.py', 791), ('table_expression -> expressiones', 'table_expression', 1, 'p_table_expression', 'sql_grammar.py', 795), ('donde -> WHERE expressiones', 'donde', 2, 'p_donde', 'sql_grammar.py', 799), ('group_by -> GROUP BY expressiones', 'group_by', 3, 'p_group_by', 'sql_grammar.py', 808), ('order_by -> ORDER BY expressiones asc_desc nulls_f_l', 'order_by', 5, 'p_order_by', 'sql_grammar.py', 817), ('group_having -> HAVING expressiones', 'group_having', 2, 'p_group_having', 'sql_grammar.py', 826), ('asc_desc -> ASC', 'asc_desc', 1, 'p_asc_desc', 'sql_grammar.py', 835), ('asc_desc -> DESC', 'asc_desc', 1, 'p_asc_desc', 'sql_grammar.py', 836), ('nulls_f_l -> NULLS LAST', 'nulls_f_l', 2, 'p_nulls_f_l', 'sql_grammar.py', 840), ('nulls_f_l -> NULLS FIRST', 'nulls_f_l', 2, 'p_nulls_f_l', 'sql_grammar.py', 841), ('nulls_f_l -> <empty>', 'nulls_f_l', 0, 'p_nulls_f_l', 'sql_grammar.py', 842), ('limite -> LIMIT ENTERO', 'limite', 2, 'p_limite', 'sql_grammar.py', 849), ('limite -> LIMIT ALL', 'limite', 2, 'p_limite', 'sql_grammar.py', 850), ('limite -> OFFSET ENTERO', 'limite', 2, 'p_limite', 'sql_grammar.py', 851), ('list_expression -> list_expression COMA expression', 'list_expression', 3, 'p_list_expression', 'sql_grammar.py', 860), ('list_expression -> expression', 'list_expression', 1, 'p_aux_list_expression', 'sql_grammar.py', 865), ('expression -> expression MAYOR expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 869), ('expression -> expression MENOR expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 870), ('expression -> expression MAYOR_IGUAL expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 871), ('expression -> expression MENOR_IGUAL expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 872), ('expression -> expression AND expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 873), ('expression -> expression OR expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 874), ('expression -> NOT expression', 'expression', 2, 'p_expression', 'sql_grammar.py', 875), ('expression -> expression IGUAL expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 876), ('expression -> expression NO_IGUAL expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 877), ('expression -> expression DIFERENTE expression', 'expression', 3, 'p_expression', 'sql_grammar.py', 878), ('expression -> PAR_ABRE expression PAR_CIERRA', 'expression', 3, 'p_expression', 'sql_grammar.py', 879), ('expression -> expression BETWEEN expression AND expression', 'expression', 5, 'p_expression', 'sql_grammar.py', 880), ('expression -> expression NOT BETWEEN expression AND expression', 'expression', 6, 'p_expression', 'sql_grammar.py', 881), ('expression -> expression BETWEEN SYMMETRIC expression AND expression', 'expression', 6, 'p_expression', 'sql_grammar.py', 882), ('expression -> expression NOT BETWEEN SYMMETRIC expression AND expression', 'expression', 7, 'p_expression', 'sql_grammar.py', 883), ('expression -> expression IS DISTINCT FROM expression', 'expression', 5, 'p_expression', 'sql_grammar.py', 884), ('expression -> expression IS NOT DISTINCT FROM expression', 'expression', 6, 'p_expression', 'sql_grammar.py', 885), ('expression -> ID PUNTO ID', 'expression', 3, 'p_expression', 'sql_grammar.py', 886), ('expression -> expression IS NULL', 'expression', 3, 'p_expression', 'sql_grammar.py', 887), ('expression -> expression IS NOT NULL', 'expression', 4, 'p_expression', 'sql_grammar.py', 888), ('expression -> expression ISNULL', 'expression', 2, 'p_expression', 'sql_grammar.py', 889), ('expression -> expression NOTNULL', 'expression', 2, 'p_expression', 'sql_grammar.py', 890), ('expression -> expression IS TRUE', 'expression', 3, 'p_expression', 'sql_grammar.py', 891), ('expression -> expression IS NOT TRUE', 'expression', 4, 'p_expression', 'sql_grammar.py', 892), ('expression -> expression IS FALSE', 'expression', 3, 'p_expression', 'sql_grammar.py', 893), ('expression -> expression IS NOT FALSE', 'expression', 4, 'p_expression', 'sql_grammar.py', 894), ('expression -> expression IS UNKNOWN', 'expression', 3, 'p_expression', 'sql_grammar.py', 895), ('expression -> expression IS NOT UNKNOWN', 'expression', 4, 'p_expression', 'sql_grammar.py', 896), ('expression -> SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRA', 'expression', 8, 'p_expression', 'sql_grammar.py', 897), ('expression -> SUM PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression', 'sql_grammar.py', 898), ('expression -> COUNT PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression', 'sql_grammar.py', 899), ('expression -> AVG PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression', 'sql_grammar.py', 900), ('expression -> seleccionar', 'expression', 1, 'p_expression', 'sql_grammar.py', 901), ('expression -> ID', 'expression', 1, 'p_solouno_expression', 'sql_grammar.py', 905), ('expression -> ASTERISCO', 'expression', 1, 'p_solouno_expression', 'sql_grammar.py', 906), ('expression -> ENTERO', 'expression', 1, 'p_expression_entero', 'sql_grammar.py', 916), ('expression -> DECIMAL_NUM', 'expression', 1, 'p_expression_decimal', 'sql_grammar.py', 934), ('expression -> CADENA', 'expression', 1, 'p_expression_cadena', 'sql_grammar.py', 961)] |
#!/usr/bin/env python
class Elf_parser:
"Extracts parts from ELF files"
def __init__(self, filename):
self.elf_file = filename
def get_text(self):
"Returns the text section of the ELF file as array"
pass
def get_data(self):
"Returns the data section of the ELF file as array"
pass
def hex_dump_text(self):
"Prints a hex dump of the text section"
pass
def hex_dump_data(self):
"Prints a hex dump of the data section"
pass
| class Elf_Parser:
"""Extracts parts from ELF files"""
def __init__(self, filename):
self.elf_file = filename
def get_text(self):
"""Returns the text section of the ELF file as array"""
pass
def get_data(self):
"""Returns the data section of the ELF file as array"""
pass
def hex_dump_text(self):
"""Prints a hex dump of the text section"""
pass
def hex_dump_data(self):
"""Prints a hex dump of the data section"""
pass |
def parse_binary(binary_string):
if not all(char in ('0', '1') for char in binary_string):
raise ValueError('invalid binary number')
return sum(int(digit) * (2 ** power) for power, digit in enumerate(reversed(binary_string)))
| def parse_binary(binary_string):
if not all((char in ('0', '1') for char in binary_string)):
raise value_error('invalid binary number')
return sum((int(digit) * 2 ** power for (power, digit) in enumerate(reversed(binary_string)))) |
def f(x):
if(x>4):
return f(x-1)+2*x
elif(x>1 and x<=4):
return f(x-2)*x + x
else:
return x
print(f(6))
| def f(x):
if x > 4:
return f(x - 1) + 2 * x
elif x > 1 and x <= 4:
return f(x - 2) * x + x
else:
return x
print(f(6)) |
def stars_decorator(f):
def wrapper(n):
print("*" * 50)
f(n)
print("*" * 50)
return wrapper
# let's decorate greet:
@stars_decorator
def greet(name):
print("Howdy {}!".format(name))
# and use it:
greet("Pesho") | def stars_decorator(f):
def wrapper(n):
print('*' * 50)
f(n)
print('*' * 50)
return wrapper
@stars_decorator
def greet(name):
print('Howdy {}!'.format(name))
greet('Pesho') |
tabby_cat="\tI'm tabbed in";
persian_cat="I'm split\non s line."
backslash_cat="i'm \\ a \\ cat"
fat_cat="I'll do a list:\t* Cat food \t* Fishies \t* Catnip\n\t* Grass"
print(tabby_cat)
print(persian_cat)
print(backslash_cat)
print(fat_cat)
| tabby_cat = "\tI'm tabbed in"
persian_cat = "I'm split\non s line."
backslash_cat = "i'm \\ a \\ cat"
fat_cat = "I'll do a list:\t* Cat food \t* Fishies \t* Catnip\n\t* Grass"
print(tabby_cat)
print(persian_cat)
print(backslash_cat)
print(fat_cat) |
t= int(input("Enter the number of test cases\n"))
n=[]
stack=[]
for i in range(t):
n.append(input())
l=len(n[i])
stack.append([])
t=n[i][l-1]
stack[i].append(n[i][l-1])
for j in range(l-2,-1,-1):
if n[i][j]!=t:
stack[i].append(n[i][j])
t=n[i][j]
for i in stack:
while len(i)>0:
print(i.pop(),end="")
print()
| t = int(input('Enter the number of test cases\n'))
n = []
stack = []
for i in range(t):
n.append(input())
l = len(n[i])
stack.append([])
t = n[i][l - 1]
stack[i].append(n[i][l - 1])
for j in range(l - 2, -1, -1):
if n[i][j] != t:
stack[i].append(n[i][j])
t = n[i][j]
for i in stack:
while len(i) > 0:
print(i.pop(), end='')
print() |
def solution(a):
sm_num = min(a)
while not( all(x % sm_num == 0 for x in a)):
a = sorted(a)
lg_num = a[-1]
sm_num = a[0]
if lg_num % sm_num == 0:
a[-1] = sm_num
else:
a[-1] = lg_num % sm_num
return len(a) * sm_num | def solution(a):
sm_num = min(a)
while not all((x % sm_num == 0 for x in a)):
a = sorted(a)
lg_num = a[-1]
sm_num = a[0]
if lg_num % sm_num == 0:
a[-1] = sm_num
else:
a[-1] = lg_num % sm_num
return len(a) * sm_num |
class AnimeDLError(Exception):
pass
class URLError(AnimeDLError):
pass
class NotFoundError(AnimeDLError):
pass
| class Animedlerror(Exception):
pass
class Urlerror(AnimeDLError):
pass
class Notfounderror(AnimeDLError):
pass |
'''
Python program to format a specified string limiting the length of a string.
'''
str_num = "1234567890"
print("Original string:",str_num)
print('%.6s' % str_num)
print('%.9s' % str_num)
print('%.10s' % str_num)
| """
Python program to format a specified string limiting the length of a string.
"""
str_num = '1234567890'
print('Original string:', str_num)
print('%.6s' % str_num)
print('%.9s' % str_num)
print('%.10s' % str_num) |
# Copyright Notice:
# Copyright 2018 Dell, Inc. All rights reserved.
# License: BSD License. For full license text see link: https://github.com/RedDrum-Redfish-Project/RedDrum-Frontend/LICENSE.txt
class RdSystemsBackend():
# class for backend systems resource APIs
def __init__(self,rdr):
self.version=1
self.rdr=rdr
# update resourceDB and volatileDict properties
def updateResourceDbs(self,systemid, updateStaticProps=False, updateNonVols=True ):
# for the simulator, just return (0,False). The Sim backend currently doesnt update resources after discovery
return(0,False)
# DO action: Reset
def doSystemReset(self,systemid,resetType):
self.rdr.logMsg("DEBUG","--------SIM BACKEND systemReset. resetType={}".format(resetType))
return(0)
# DO Patch to System (IndicatorLED, AssetTag, or boot overrides
# the front-end will send an individual call for IndicatorLED and AssetTag or bootProperties
# multiple boot properties may be combined in one patch
def doPatch(self, systemid, patchData):
# the front-end has already validated that the patchData and systemid is ok
# so just send the request here
self.rdr.logMsg("DEBUG","--------BACKEND Patch system data. patchData={}".format(patchData))
return(0)
# update ProcessorsDb
def updateProcessorsDbFromBackend(self, systemid, procid=None, noCache=False ):
return(0)
# update MemoryDb
def updateMemoryDbFromBackend(self, systemid, memid=None, noCache=False ):
return(0)
# update SimpleStorageDb
def updateSimpleStorageDbFromBackend(self, systemid, cntlrid=None, noCache=False ):
return(0)
# update EthernetInterfaceDb
def updateEthernetInterfaceDbFromBackend(self, systemid, ethid=None, noCache=False ):
# for the simulator, just return (0). The Sim backend currently doesnt update resources after discovery
return(0)
| class Rdsystemsbackend:
def __init__(self, rdr):
self.version = 1
self.rdr = rdr
def update_resource_dbs(self, systemid, updateStaticProps=False, updateNonVols=True):
return (0, False)
def do_system_reset(self, systemid, resetType):
self.rdr.logMsg('DEBUG', '--------SIM BACKEND systemReset. resetType={}'.format(resetType))
return 0
def do_patch(self, systemid, patchData):
self.rdr.logMsg('DEBUG', '--------BACKEND Patch system data. patchData={}'.format(patchData))
return 0
def update_processors_db_from_backend(self, systemid, procid=None, noCache=False):
return 0
def update_memory_db_from_backend(self, systemid, memid=None, noCache=False):
return 0
def update_simple_storage_db_from_backend(self, systemid, cntlrid=None, noCache=False):
return 0
def update_ethernet_interface_db_from_backend(self, systemid, ethid=None, noCache=False):
return 0 |
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, val=0, next=None):
# self.val = val
# self.next = next
class Solution:
def swapPairs(self, head: ListNode) -> ListNode:
if not head or not head.next:
return head
newhead = head.next
ptr = head
prev = None
while ptr:
if ptr.next:
tmp = ptr.next.next
ptr.next.next = ptr
if prev:
prev.next = ptr.next
ptr.next = tmp
prev = ptr
ptr = tmp
else:
return newhead
return newhead
| class Solution:
def swap_pairs(self, head: ListNode) -> ListNode:
if not head or not head.next:
return head
newhead = head.next
ptr = head
prev = None
while ptr:
if ptr.next:
tmp = ptr.next.next
ptr.next.next = ptr
if prev:
prev.next = ptr.next
ptr.next = tmp
prev = ptr
ptr = tmp
else:
return newhead
return newhead |
class Rectangle:
# write your code here
def __init__(self, x1, y1, x2, y2):
self.x1 = x1
self.y1 = y1
self.x2 = x2
self.y2 = y2
print('Rectangle(',x1,', ',y1,', ',x2,', ',y2,') created')
# Alternative Solutions
class Rectangle2:
def __init__(self, x1, y1, x2, y2): # class constructor
if x1 < x2 and y1 > y2:
self.x1 = x1 # class variable
self.y1 = y1 # class variable
self.x2 = x2 # class variable
self.y2 = y2 # class variable
else:
print("Incorrect coordinates of the rectangle!")
r = Rectangle2(2, 7, 8, 4) | class Rectangle:
def __init__(self, x1, y1, x2, y2):
self.x1 = x1
self.y1 = y1
self.x2 = x2
self.y2 = y2
print('Rectangle(', x1, ', ', y1, ', ', x2, ', ', y2, ') created')
class Rectangle2:
def __init__(self, x1, y1, x2, y2):
if x1 < x2 and y1 > y2:
self.x1 = x1
self.y1 = y1
self.x2 = x2
self.y2 = y2
else:
print('Incorrect coordinates of the rectangle!')
r = rectangle2(2, 7, 8, 4) |
## Idiomatic dict comprehension
# No.1
def i1():
emails = {user.name: user.email for user in users if user.email}
# No.2
def i2():
dict_compr = {k: k**2 for k in range(10000)}
# No.3
def i3():
new_dict_comp = {n:n**2 for n in numbers if n%2 == 0}
# No.4
def i4():
dict1 = {'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5, 'f':6}
dict1_tripleCond = {k:v for (k,v) in dict1.items() if v>2 if v%2 == 0 if v%3 == 0}
print(dict1_tripleCond)
# No.5
def i5():
nested_dict = {'first':{'a':1}, 'second':{'b':2}}
float_dict = {outer_k: {float(inner_v) for (inner_k, inner_v) in outer_v.items()} for (outer_k, outer_v) in nested_dict.items()}
print(float_dict)
# No.6
def i6():
# Initialize the `fahrenheit` dictionary
fahrenheit = {'t1': -30,'t2': -20,'t3': -10,'t4': 0}
# Get the corresponding `celsius` values and create the new dictionary
celsius = {k:(float(5)/9)*(v-32) for (k,v) in fahrenheit.items()}
print(celsius_dict)
# No.7
def i7():
mcase = {'a':10, 'b': 34, 'A': 7, 'Z':3}
mcase_frequency = { k.lower() : mcase.get(k.lower(), 0) + mcase.get(k.upper(), 0) for k in mcase.keys() }
| def i1():
emails = {user.name: user.email for user in users if user.email}
def i2():
dict_compr = {k: k ** 2 for k in range(10000)}
def i3():
new_dict_comp = {n: n ** 2 for n in numbers if n % 2 == 0}
def i4():
dict1 = {'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5, 'f': 6}
dict1_triple_cond = {k: v for (k, v) in dict1.items() if v > 2 if v % 2 == 0 if v % 3 == 0}
print(dict1_tripleCond)
def i5():
nested_dict = {'first': {'a': 1}, 'second': {'b': 2}}
float_dict = {outer_k: {float(inner_v) for (inner_k, inner_v) in outer_v.items()} for (outer_k, outer_v) in nested_dict.items()}
print(float_dict)
def i6():
fahrenheit = {'t1': -30, 't2': -20, 't3': -10, 't4': 0}
celsius = {k: float(5) / 9 * (v - 32) for (k, v) in fahrenheit.items()}
print(celsius_dict)
def i7():
mcase = {'a': 10, 'b': 34, 'A': 7, 'Z': 3}
mcase_frequency = {k.lower(): mcase.get(k.lower(), 0) + mcase.get(k.upper(), 0) for k in mcase.keys()} |
print("Hello World1")
a = 1
b = 2
c = a+b
print("c:",c) | print('Hello World1')
a = 1
b = 2
c = a + b
print('c:', c) |
'''
A simple documentation utility for python. It extracts the documentation from the `docstring` and generate `markdown` files from that.
This documentation is also generated using `code2doc`.
Module dependency graph:

Here are the list of all files and folders in this module:
''' | """
A simple documentation utility for python. It extracts the documentation from the `docstring` and generate `markdown` files from that.
This documentation is also generated using `code2doc`.
Module dependency graph:

Here are the list of all files and folders in this module:
""" |
#Author: OMKAR PATHAK
#This program checks whether the entered number is prime or not
def checkPrime(number):
'''This function checks for prime number'''
isPrime = False
if number == 2:
print(number, 'is a Prime Number')
if number > 1:
for i in range(2, number):
if number % i == 0:
print(number, 'is not a Prime Number')
isPrime = False
break
else:
isPrime = True
if isPrime:
print(number, 'is a Prime Number')
if __name__ == '__main__':
userInput = int(input('Enter a number to check: '))
checkPrime(userInput)
| def check_prime(number):
"""This function checks for prime number"""
is_prime = False
if number == 2:
print(number, 'is a Prime Number')
if number > 1:
for i in range(2, number):
if number % i == 0:
print(number, 'is not a Prime Number')
is_prime = False
break
else:
is_prime = True
if isPrime:
print(number, 'is a Prime Number')
if __name__ == '__main__':
user_input = int(input('Enter a number to check: '))
check_prime(userInput) |
#
# PySNMP MIB module APPIAN-TIMESLOTS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/APPIAN-TIMESLOTS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:24:00 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
AcAdminStatus, acOsap = mibBuilder.importSymbols("APPIAN-SMI-MIB", "AcAdminStatus", "acOsap")
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
ObjectIdentity, TimeTicks, Bits, Counter64, ModuleIdentity, iso, Unsigned32, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Gauge32, Integer32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "TimeTicks", "Bits", "Counter64", "ModuleIdentity", "iso", "Unsigned32", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Gauge32", "Integer32", "IpAddress")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
acTimeSlots = ModuleIdentity((1, 3, 6, 1, 4, 1, 2785, 2, 5))
acTimeSlots.setRevisions(('1900-08-21 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: acTimeSlots.setRevisionsDescriptions(('MIB definitons for the timeslots',))
if mibBuilder.loadTexts: acTimeSlots.setLastUpdated('0008210000Z')
if mibBuilder.loadTexts: acTimeSlots.setOrganization('Appian Communications, Inc.')
if mibBuilder.loadTexts: acTimeSlots.setContactInfo('Douglas Theriault')
if mibBuilder.loadTexts: acTimeSlots.setDescription('Appian Communications Network provisioning MIB definition.')
acTimeSlotTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1), )
if mibBuilder.loadTexts: acTimeSlotTable.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotTable.setDescription('The timeslot table defines how the SONET ring timeslots are provisioned (carved). The timeslot table is SHARED between all OSAPs in a ring. It indicates the width and payload type of each timeslot, type of SONET protection scheme used as well as other timeslot related information. It also contain the SHARED logical port data such as payload Type, LineType, and MgmtDLType.')
acTimeSlotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1), ).setIndexNames((0, "APPIAN-TIMESLOTS-MIB", "acTimeSlotIndex"))
if mibBuilder.loadTexts: acTimeSlotEntry.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotEntry.setDescription('A row in the timeslot table.')
acTimeSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 1), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: acTimeSlotIndex.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotIndex.setDescription('The value identifies a timeslot on either the ring or the interconnect SONET interfaces. This index is a 32 bit number comprised of bit fields. The algorithm used to determine this index is set so both AppianVista (EMS) and the Command Line Interface (CLI) can configure this table. This index is also used to index rows in trunk shared table for the trunk table agent (TTA). The following bit assignments define the format for the timeslot index: Bits Description ------- ----------------------------------------- 0..2 Virtual Tributary (VT) 3..5 Virtual Tributary Group (VTG) 6..15 STS number 16..22 Reserved - Wavelength 23..26 Physical Port number 27..31 Physical Slot number Note: for additional information refer to trunk shared.mib file.')
acTimeSlotAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 2), AcAdminStatus().clone('inactivate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotAdminStatus.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotAdminStatus.setDescription('Appian Administrative Status attribute used to set the provisioning state as either activate(1), inactivate(2) or delete(3). Refer to the Appian-SMI.mib file for additional information.')
acTimeSlotWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("unknown", 0), ("vt1dot5", 1), ("vtgroup", 2), ("sts1", 3), ("sts3", 4), ("sts12", 5), ("sts48", 6))).clone('unknown')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotWidth.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotWidth.setDescription('The type and size of the timeslot described in this row of the timeslot table.')
acTimeSlotOuterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 4), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotOuterIndex.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotOuterIndex.setDescription("This value is either zero(0) or the index of another row in this table. If it is not zero(0), it is the index of another row in this table which describes the parent timeslot to the timeslot associated with this row. A parent timeslot is another timeslot which is carved into smaller timeslots, one of which is this current timeslot. For example, a row in this table describing a VT1.5 always has an outerIndex which identifies a row in this table which describes a VT group. A VT group always has an outerIndex that describes a STS-1. The row describing the STS-1 has an outerIndex which identifies a row describing an OC3 SONET interface or perhaps, in the future, an STS12 within an STS48. Thus this object describes a nesting of timeslots. To continue the previous example: an STS-1 with 28 VT1.5's within it is represented by 36 rows in this table; 28 of which identify and describe each VT1.5. Every 4 VT rows have a corresponding VT group (vtgroup) for a total of 7 more rows. Each of the 4 VT1.5 rows that make up the VT group have an indentical value for outerIndex (index of the VT group row that the VT1.5's are associated). Each of the 7 VT group rows have an identical value in outerIndex (index of the STS-1 row that the VT groups are associated).")
acTimeSlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 48))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotNumber.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotNumber.setDescription('This identifies the timeslot within a SONET payload or within an outer timeslot within the payload. In the later case, the acTimeSlotOuterIndex object identifies the outer timeslot within the SONET payload. OC-3 + For an STS-1 carved out of an OC3, acTimeSlotNumber is a number 1, 2 or 3. + For a VT group carved out of an STS-1 in an OC3, acTimeSlotNumber is a number from 1 to 7. + For a VT1.5 carved out of an VT group, acTimeSlotNumber is a number from 1 to 4. OC-48 + For an STS-1 carved out of an OC48, acTimeSlotNumber is a number from 1 to 48. + For an STS-3 carved out of an OC48, acTimeSlotNumber is a number 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, or 46. + For an STS-12 carved out of an OC48, acTimeSlotNumber is a number 1, 13, 25, or 37 + For an STS-48 carved out of an OC48, acTimeSlotNumber can only be 1. ')
acTimeSlotPathProtectionMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("not-used", 0), ("unprotected", 1), ("odp", 2), ("upsr", 3))).clone('not-used')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotPathProtectionMode.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotPathProtectionMode.setDescription("The type of protection switching to be used if independent path level protection switching is enabled on this timeslot. This object is only relevant for the ring side. Note that ODP is used on shared trunks that are either FR or TLS trunks. In either case, these shared trunks can be either STS-1, a VT1.5 or a bundle of VT1.5's. not-used: Timeslot is provisioned only over a linear interconnet. Timeslot is not protected at this level in the Timeslot hierarchy. Example: A VT1.5 row when protection switching is done at the STS-1 level unprotected: Timeslot is unprotected. One significance of this is that if this timeslot becomes unavailable, it will not remain in service by bumping another peer timeslot using the same timeslot on another fiber. odp: Appian's Optical Data Protection. ODP is used on shared trunks that are either FR or TLS trunks. uspr: Traditional UPSR can be used on non-shared timeslots such as PPP trunks and TDM service trunks. ")
acTimeSlotChassisSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("not-applicable", 0), ("slot1", 1), ("slot2", 2))).clone('not-applicable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotChassisSlot.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotChassisSlot.setDescription('For most timeslots, this object is an element of the specification of exactly which timeslot this table row identifies. In some cases, it is ignored. The ChassisSlot has the following significance for the various scenarios: ring: ChassisSlot 1 indicates the timeslot on the westward transmitting fiber. ChassisSlot 2 indicates the timeslot on the eastward facing fiber. ring/interconnect: ChassisSlot 1 indicates the timeslot on the westward transmitting fiber and on the linear interconnect fiber on slot 1. ChassisSlot 2 indicates the timeslot on the eastward transmitting fiber and the linear interconnect fiber on slot 2. linear: ChassisSlot, along with Port, identifies the fiber out of which this timeslot is extracted. ')
acTimeSlotPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("not-applicable", 0), ("port1", 1), ("port2", 2))).clone('not-applicable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotPort.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotPort.setDescription('For timeslots in configurations with no ring fibers, this object is an element of the specification of which exactly which timeslot this table row identifies. This object is ignored unless there are two linear interconnects on a single SONET board. When there are two linear interconnects, this object dictates out of which linear interconnect this timeslot is to be extracted. ')
acTimeSlotPayloadConfiguration = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unprovisioned", 0), ("ring-only", 1), ("ring-interconnect", 2))).clone('unprovisioned')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotPayloadConfiguration.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotPayloadConfiguration.setDescription("The payload configuration defines the connection topology over which the payload's path is provisioned. More description needed here... This object is ignored if this row describes a timeslot that is broken down further into lower bandwidth timeslots.")
acTimeSlotPayloadLineType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("not-applicable", 0), ("ds1ESF", 1), ("ds1D4", 2), ("ds3M23", 3), ("ds3CbitParity", 4), ("ds1tdm", 5))).clone('not-applicable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotPayloadLineType.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotPayloadLineType.setDescription('This variable indicates the variety of DS1 Line or DS3 C-bit application implementing this circuit. The type of circuit affects the number of bits per second that the circuit can reasonable carry, as well as the interpretation of the usage and error statistics. The payload line type must correspond correctly to the payload type that was configured in acTimeSlotPayloadType. For example, if ds1 was choosen, the line type must either be ds1ESF or ds1D4. These values are only valid when acTimeSlotPayloadType is ds1 or ds3. For ds1tdm, these values are obtained from the acDs1ConfigTable and are not shared. The value ds1tdm is used to distinguish when a vt1.5 is used for voice. The values, in sequence describe: TITLE: SPECIFICATION not-applicable ds1ESF Extended SuperFrame DS1 (T1.107) ds1D4 AT&T D4 format DS1 (T1.107) ds3M23 ANSI T1.107-1988 [9] ds3CbitParity ANSI T1.107a-1990 [9a] This object is not applicable in rows associated with timeslots that are carved into lower bandwidth inner timeslots.')
acTimeSlotPayloadMgmtDLType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 11), Integer32().clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotPayloadMgmtDLType.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotPayloadMgmtDLType.setDescription("This bitmap describes the use of the management data link, and is the sum of the capabilities. These values are only valid when acTimeSlotPayloadType is ds1 or ds3. For ds1tdm, these values are obtained from the acDs1ConfigTable and are not shared. Set any bits that are appropriate: none(1), ds1AnsiT1403(2), ds1Att54016(4), ds3PMDL(8), 'none' indicates that this device does not use FDL or PMDL. 'ds1AnsiT1403' refers to the DS1 FDL exchange recommended by ANSI. 'ds1Att54016' refers to DS1 ESF FDL exchanges. 'ds3PMDL' refers to DS3 Path Maintainance Data Link. PMDL will not be supported but is here for future use. Possible combinations are: (1) none (2) ANSI FDL when running in ds1 mode. (4) AT&T FDL when running in ds1 mode. (6) ANSI and AT&T FDL when running in ds1 mode. (8) PMDL when running in ds3 mode. All other combinations will result in the non-applicable bits being ignored. This object is not applicable in rows associated with timeslots that are carved into lower bandwidth inner timeslots. They are valid only when the timeslot width is vt1.5 and when payload line type is ds1ESF, ds1D4, ds3M23, or ds3CbitParity")
acTimeSlotChannelConfiguration = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unprovisioned", 0), ("data-and-tdm", 1), ("tdm-only", 2))).clone('unprovisioned')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotChannelConfiguration.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotChannelConfiguration.setDescription('The channel configuration describes the payload contents of all channels making up this channelized path. These two enumerations describe the lower bandwidth component timeslots. These values also serve as a validation when creating, for example, a vt1.5 whose outerIndex corresponds to this row. It should be noted that when changing these values (tdm-ony and data-and-tdm), brief service interruptsion can result on all timeslots that are lower bandwidth components of this timeslot. This object is ignored if this row describes a timeslot that is NOT broken down further into lower bandwidth timeslots.')
acTimeSlotPayloadContent = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unprovisioned", 0), ("data", 1), ("tdm", 2), ("unequipped", 3))).clone('unprovisioned')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: acTimeSlotPayloadContent.setStatus('current')
if mibBuilder.loadTexts: acTimeSlotPayloadContent.setDescription('The payload content defines the content of the payload and indirectly the source fo the transmission stream within the OSAP. Payloads carrying data(1) are process by the packet switch. Payloads carrying tdm(2) traffic are not processed by the packet switch and are instead connected directly to the TDM access ports. Unequipped(3) dictates that the payloads are not sourced from either the packet switch or the TDM access ports. Instead, the timeslot is filled with unequipped payload. This object is ignored if this row describes a timeslot that is broken down further into lower bandwidth timeslots.')
mibBuilder.exportSymbols("APPIAN-TIMESLOTS-MIB", acTimeSlotPayloadContent=acTimeSlotPayloadContent, acTimeSlotOuterIndex=acTimeSlotOuterIndex, acTimeSlotEntry=acTimeSlotEntry, acTimeSlotWidth=acTimeSlotWidth, acTimeSlotPayloadLineType=acTimeSlotPayloadLineType, acTimeSlotPathProtectionMode=acTimeSlotPathProtectionMode, acTimeSlotChassisSlot=acTimeSlotChassisSlot, acTimeSlotPayloadMgmtDLType=acTimeSlotPayloadMgmtDLType, acTimeSlots=acTimeSlots, acTimeSlotAdminStatus=acTimeSlotAdminStatus, acTimeSlotPort=acTimeSlotPort, PYSNMP_MODULE_ID=acTimeSlots, acTimeSlotIndex=acTimeSlotIndex, acTimeSlotNumber=acTimeSlotNumber, acTimeSlotPayloadConfiguration=acTimeSlotPayloadConfiguration, acTimeSlotTable=acTimeSlotTable, acTimeSlotChannelConfiguration=acTimeSlotChannelConfiguration)
| (ac_admin_status, ac_osap) = mibBuilder.importSymbols('APPIAN-SMI-MIB', 'AcAdminStatus', 'acOsap')
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_union, constraints_intersection, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(object_identity, time_ticks, bits, counter64, module_identity, iso, unsigned32, mib_identifier, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, gauge32, integer32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'TimeTicks', 'Bits', 'Counter64', 'ModuleIdentity', 'iso', 'Unsigned32', 'MibIdentifier', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Gauge32', 'Integer32', 'IpAddress')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
ac_time_slots = module_identity((1, 3, 6, 1, 4, 1, 2785, 2, 5))
acTimeSlots.setRevisions(('1900-08-21 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
acTimeSlots.setRevisionsDescriptions(('MIB definitons for the timeslots',))
if mibBuilder.loadTexts:
acTimeSlots.setLastUpdated('0008210000Z')
if mibBuilder.loadTexts:
acTimeSlots.setOrganization('Appian Communications, Inc.')
if mibBuilder.loadTexts:
acTimeSlots.setContactInfo('Douglas Theriault')
if mibBuilder.loadTexts:
acTimeSlots.setDescription('Appian Communications Network provisioning MIB definition.')
ac_time_slot_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1))
if mibBuilder.loadTexts:
acTimeSlotTable.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotTable.setDescription('The timeslot table defines how the SONET ring timeslots are provisioned (carved). The timeslot table is SHARED between all OSAPs in a ring. It indicates the width and payload type of each timeslot, type of SONET protection scheme used as well as other timeslot related information. It also contain the SHARED logical port data such as payload Type, LineType, and MgmtDLType.')
ac_time_slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1)).setIndexNames((0, 'APPIAN-TIMESLOTS-MIB', 'acTimeSlotIndex'))
if mibBuilder.loadTexts:
acTimeSlotEntry.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotEntry.setDescription('A row in the timeslot table.')
ac_time_slot_index = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 1), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
acTimeSlotIndex.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotIndex.setDescription('The value identifies a timeslot on either the ring or the interconnect SONET interfaces. This index is a 32 bit number comprised of bit fields. The algorithm used to determine this index is set so both AppianVista (EMS) and the Command Line Interface (CLI) can configure this table. This index is also used to index rows in trunk shared table for the trunk table agent (TTA). The following bit assignments define the format for the timeslot index: Bits Description ------- ----------------------------------------- 0..2 Virtual Tributary (VT) 3..5 Virtual Tributary Group (VTG) 6..15 STS number 16..22 Reserved - Wavelength 23..26 Physical Port number 27..31 Physical Slot number Note: for additional information refer to trunk shared.mib file.')
ac_time_slot_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 2), ac_admin_status().clone('inactivate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotAdminStatus.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotAdminStatus.setDescription('Appian Administrative Status attribute used to set the provisioning state as either activate(1), inactivate(2) or delete(3). Refer to the Appian-SMI.mib file for additional information.')
ac_time_slot_width = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('unknown', 0), ('vt1dot5', 1), ('vtgroup', 2), ('sts1', 3), ('sts3', 4), ('sts12', 5), ('sts48', 6))).clone('unknown')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotWidth.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotWidth.setDescription('The type and size of the timeslot described in this row of the timeslot table.')
ac_time_slot_outer_index = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 4), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotOuterIndex.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotOuterIndex.setDescription("This value is either zero(0) or the index of another row in this table. If it is not zero(0), it is the index of another row in this table which describes the parent timeslot to the timeslot associated with this row. A parent timeslot is another timeslot which is carved into smaller timeslots, one of which is this current timeslot. For example, a row in this table describing a VT1.5 always has an outerIndex which identifies a row in this table which describes a VT group. A VT group always has an outerIndex that describes a STS-1. The row describing the STS-1 has an outerIndex which identifies a row describing an OC3 SONET interface or perhaps, in the future, an STS12 within an STS48. Thus this object describes a nesting of timeslots. To continue the previous example: an STS-1 with 28 VT1.5's within it is represented by 36 rows in this table; 28 of which identify and describe each VT1.5. Every 4 VT rows have a corresponding VT group (vtgroup) for a total of 7 more rows. Each of the 4 VT1.5 rows that make up the VT group have an indentical value for outerIndex (index of the VT group row that the VT1.5's are associated). Each of the 7 VT group rows have an identical value in outerIndex (index of the STS-1 row that the VT groups are associated).")
ac_time_slot_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 48))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotNumber.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotNumber.setDescription('This identifies the timeslot within a SONET payload or within an outer timeslot within the payload. In the later case, the acTimeSlotOuterIndex object identifies the outer timeslot within the SONET payload. OC-3 + For an STS-1 carved out of an OC3, acTimeSlotNumber is a number 1, 2 or 3. + For a VT group carved out of an STS-1 in an OC3, acTimeSlotNumber is a number from 1 to 7. + For a VT1.5 carved out of an VT group, acTimeSlotNumber is a number from 1 to 4. OC-48 + For an STS-1 carved out of an OC48, acTimeSlotNumber is a number from 1 to 48. + For an STS-3 carved out of an OC48, acTimeSlotNumber is a number 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, or 46. + For an STS-12 carved out of an OC48, acTimeSlotNumber is a number 1, 13, 25, or 37 + For an STS-48 carved out of an OC48, acTimeSlotNumber can only be 1. ')
ac_time_slot_path_protection_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('not-used', 0), ('unprotected', 1), ('odp', 2), ('upsr', 3))).clone('not-used')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotPathProtectionMode.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotPathProtectionMode.setDescription("The type of protection switching to be used if independent path level protection switching is enabled on this timeslot. This object is only relevant for the ring side. Note that ODP is used on shared trunks that are either FR or TLS trunks. In either case, these shared trunks can be either STS-1, a VT1.5 or a bundle of VT1.5's. not-used: Timeslot is provisioned only over a linear interconnet. Timeslot is not protected at this level in the Timeslot hierarchy. Example: A VT1.5 row when protection switching is done at the STS-1 level unprotected: Timeslot is unprotected. One significance of this is that if this timeslot becomes unavailable, it will not remain in service by bumping another peer timeslot using the same timeslot on another fiber. odp: Appian's Optical Data Protection. ODP is used on shared trunks that are either FR or TLS trunks. uspr: Traditional UPSR can be used on non-shared timeslots such as PPP trunks and TDM service trunks. ")
ac_time_slot_chassis_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('not-applicable', 0), ('slot1', 1), ('slot2', 2))).clone('not-applicable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotChassisSlot.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotChassisSlot.setDescription('For most timeslots, this object is an element of the specification of exactly which timeslot this table row identifies. In some cases, it is ignored. The ChassisSlot has the following significance for the various scenarios: ring: ChassisSlot 1 indicates the timeslot on the westward transmitting fiber. ChassisSlot 2 indicates the timeslot on the eastward facing fiber. ring/interconnect: ChassisSlot 1 indicates the timeslot on the westward transmitting fiber and on the linear interconnect fiber on slot 1. ChassisSlot 2 indicates the timeslot on the eastward transmitting fiber and the linear interconnect fiber on slot 2. linear: ChassisSlot, along with Port, identifies the fiber out of which this timeslot is extracted. ')
ac_time_slot_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('not-applicable', 0), ('port1', 1), ('port2', 2))).clone('not-applicable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotPort.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotPort.setDescription('For timeslots in configurations with no ring fibers, this object is an element of the specification of which exactly which timeslot this table row identifies. This object is ignored unless there are two linear interconnects on a single SONET board. When there are two linear interconnects, this object dictates out of which linear interconnect this timeslot is to be extracted. ')
ac_time_slot_payload_configuration = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unprovisioned', 0), ('ring-only', 1), ('ring-interconnect', 2))).clone('unprovisioned')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotPayloadConfiguration.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotPayloadConfiguration.setDescription("The payload configuration defines the connection topology over which the payload's path is provisioned. More description needed here... This object is ignored if this row describes a timeslot that is broken down further into lower bandwidth timeslots.")
ac_time_slot_payload_line_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('not-applicable', 0), ('ds1ESF', 1), ('ds1D4', 2), ('ds3M23', 3), ('ds3CbitParity', 4), ('ds1tdm', 5))).clone('not-applicable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotPayloadLineType.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotPayloadLineType.setDescription('This variable indicates the variety of DS1 Line or DS3 C-bit application implementing this circuit. The type of circuit affects the number of bits per second that the circuit can reasonable carry, as well as the interpretation of the usage and error statistics. The payload line type must correspond correctly to the payload type that was configured in acTimeSlotPayloadType. For example, if ds1 was choosen, the line type must either be ds1ESF or ds1D4. These values are only valid when acTimeSlotPayloadType is ds1 or ds3. For ds1tdm, these values are obtained from the acDs1ConfigTable and are not shared. The value ds1tdm is used to distinguish when a vt1.5 is used for voice. The values, in sequence describe: TITLE: SPECIFICATION not-applicable ds1ESF Extended SuperFrame DS1 (T1.107) ds1D4 AT&T D4 format DS1 (T1.107) ds3M23 ANSI T1.107-1988 [9] ds3CbitParity ANSI T1.107a-1990 [9a] This object is not applicable in rows associated with timeslots that are carved into lower bandwidth inner timeslots.')
ac_time_slot_payload_mgmt_dl_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 11), integer32().clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotPayloadMgmtDLType.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotPayloadMgmtDLType.setDescription("This bitmap describes the use of the management data link, and is the sum of the capabilities. These values are only valid when acTimeSlotPayloadType is ds1 or ds3. For ds1tdm, these values are obtained from the acDs1ConfigTable and are not shared. Set any bits that are appropriate: none(1), ds1AnsiT1403(2), ds1Att54016(4), ds3PMDL(8), 'none' indicates that this device does not use FDL or PMDL. 'ds1AnsiT1403' refers to the DS1 FDL exchange recommended by ANSI. 'ds1Att54016' refers to DS1 ESF FDL exchanges. 'ds3PMDL' refers to DS3 Path Maintainance Data Link. PMDL will not be supported but is here for future use. Possible combinations are: (1) none (2) ANSI FDL when running in ds1 mode. (4) AT&T FDL when running in ds1 mode. (6) ANSI and AT&T FDL when running in ds1 mode. (8) PMDL when running in ds3 mode. All other combinations will result in the non-applicable bits being ignored. This object is not applicable in rows associated with timeslots that are carved into lower bandwidth inner timeslots. They are valid only when the timeslot width is vt1.5 and when payload line type is ds1ESF, ds1D4, ds3M23, or ds3CbitParity")
ac_time_slot_channel_configuration = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unprovisioned', 0), ('data-and-tdm', 1), ('tdm-only', 2))).clone('unprovisioned')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotChannelConfiguration.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotChannelConfiguration.setDescription('The channel configuration describes the payload contents of all channels making up this channelized path. These two enumerations describe the lower bandwidth component timeslots. These values also serve as a validation when creating, for example, a vt1.5 whose outerIndex corresponds to this row. It should be noted that when changing these values (tdm-ony and data-and-tdm), brief service interruptsion can result on all timeslots that are lower bandwidth components of this timeslot. This object is ignored if this row describes a timeslot that is NOT broken down further into lower bandwidth timeslots.')
ac_time_slot_payload_content = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 5, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('unprovisioned', 0), ('data', 1), ('tdm', 2), ('unequipped', 3))).clone('unprovisioned')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
acTimeSlotPayloadContent.setStatus('current')
if mibBuilder.loadTexts:
acTimeSlotPayloadContent.setDescription('The payload content defines the content of the payload and indirectly the source fo the transmission stream within the OSAP. Payloads carrying data(1) are process by the packet switch. Payloads carrying tdm(2) traffic are not processed by the packet switch and are instead connected directly to the TDM access ports. Unequipped(3) dictates that the payloads are not sourced from either the packet switch or the TDM access ports. Instead, the timeslot is filled with unequipped payload. This object is ignored if this row describes a timeslot that is broken down further into lower bandwidth timeslots.')
mibBuilder.exportSymbols('APPIAN-TIMESLOTS-MIB', acTimeSlotPayloadContent=acTimeSlotPayloadContent, acTimeSlotOuterIndex=acTimeSlotOuterIndex, acTimeSlotEntry=acTimeSlotEntry, acTimeSlotWidth=acTimeSlotWidth, acTimeSlotPayloadLineType=acTimeSlotPayloadLineType, acTimeSlotPathProtectionMode=acTimeSlotPathProtectionMode, acTimeSlotChassisSlot=acTimeSlotChassisSlot, acTimeSlotPayloadMgmtDLType=acTimeSlotPayloadMgmtDLType, acTimeSlots=acTimeSlots, acTimeSlotAdminStatus=acTimeSlotAdminStatus, acTimeSlotPort=acTimeSlotPort, PYSNMP_MODULE_ID=acTimeSlots, acTimeSlotIndex=acTimeSlotIndex, acTimeSlotNumber=acTimeSlotNumber, acTimeSlotPayloadConfiguration=acTimeSlotPayloadConfiguration, acTimeSlotTable=acTimeSlotTable, acTimeSlotChannelConfiguration=acTimeSlotChannelConfiguration) |
#
# PySNMP MIB module Unisphere-Data-ERX-Registry (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Unisphere-Data-ERX-Registry
# Produced by pysmi-0.3.4 at Wed May 1 15:31:00 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Integer32, Gauge32, ObjectIdentity, iso, ModuleIdentity, NotificationType, Counter64, Bits, Counter32, Unsigned32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Integer32", "Gauge32", "ObjectIdentity", "iso", "ModuleIdentity", "NotificationType", "Counter64", "Bits", "Counter32", "Unsigned32", "TimeTicks")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
usDataAdmin, = mibBuilder.importSymbols("Unisphere-Data-Registry", "usDataAdmin")
usdErxRegistry = ModuleIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2))
usdErxRegistry.setRevisions(('2002-10-10 18:51', '2002-05-08 12:34', '2002-05-07 14:05', '2001-08-20 16:08', '2001-06-12 18:27', '2001-06-04 20:11',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: usdErxRegistry.setRevisionsDescriptions(('Added support for the 12-port E3 IO adapter. Added support for the Ut3f12 line card. Added SRP module with 40 gbps plus switch fabric. Added Vitrual Tunneling Server (VTS) module. Added X.21/V.35 Server module and I/O adapter. Added OC12 APS I/O adapters. Added redundant midplane spare I/O adapters.', 'Added GE SFP IOA module.', "Added SRP modules with 5 gbps and 40 gbps 'plus' switch fabrics.", 'Added 12 port channelized T3 modules.', 'Added High Speed Serial Interface (HSSI) modules.', 'Initial version of this SNMP management information module.',))
if mibBuilder.loadTexts: usdErxRegistry.setLastUpdated('200210101851Z')
if mibBuilder.loadTexts: usdErxRegistry.setOrganization('Juniper Networks, Inc.')
if mibBuilder.loadTexts: usdErxRegistry.setContactInfo(' Juniper Networks, Inc. Postal: 10 Technology Park Drive Westford, MA 01886 USA Tel: +1 978 589 5800 Email: mib@Juniper.net')
if mibBuilder.loadTexts: usdErxRegistry.setDescription('Unisphere Edge Routing Switch (ERX) product family system-specific object identification values. This module includes the textual convention definition for the ERX module types. It also defines AutonomousType (OID) values for all the physical entity types (entPhysicalVendorType). This module will be updated whenever a new type of module or other hardware becomes available in ERX systems.')
usdErxEntPhysicalType = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1))
erxChassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1))
if mibBuilder.loadTexts: erxChassis.setStatus('current')
if mibBuilder.loadTexts: erxChassis.setDescription("The vendor type ID for a generic Edge Routing Switch (ERX) chassis. This identifies an 'overall' physical entity for any ERX system.")
erx700Chassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 1))
if mibBuilder.loadTexts: erx700Chassis.setStatus('current')
if mibBuilder.loadTexts: erx700Chassis.setDescription("The vendor type ID for an Edge Routing Switch 700 (ERX-700) 7-slot chassis. This is the 'overall' physical entity for an ERX-700 system.")
erx1400Chassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 2))
if mibBuilder.loadTexts: erx1400Chassis.setStatus('current')
if mibBuilder.loadTexts: erx1400Chassis.setDescription("The vendor type ID for an Edge Routing Switch 1400 (ERX-1400) 14-slot chassis. This is the 'overall' physical entity for an ERX-1400 system.")
erxFanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2))
if mibBuilder.loadTexts: erxFanAssembly.setStatus('current')
if mibBuilder.loadTexts: erxFanAssembly.setDescription('The vendor type ID for an ERX fan assembly.')
erx700FanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 1))
if mibBuilder.loadTexts: erx700FanAssembly.setStatus('current')
if mibBuilder.loadTexts: erx700FanAssembly.setDescription('The vendor type ID for an ERX700 fan assembly with four fans and two -12 volt, 15 watt power converters (Product Code: FAN-7).')
erx1400FanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 2))
if mibBuilder.loadTexts: erx1400FanAssembly.setStatus('current')
if mibBuilder.loadTexts: erx1400FanAssembly.setDescription('The vendor type ID for an ERX1400 fan assembly with six fans and two -24 volt, 50 watt power converters (Product Code: FAN-14).')
erxPowerInput = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3))
if mibBuilder.loadTexts: erxPowerInput.setStatus('current')
if mibBuilder.loadTexts: erxPowerInput.setDescription('The vendor type ID for an ERX power distribution module (Product Code: PDU).')
erxMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4))
if mibBuilder.loadTexts: erxMidplane.setStatus('current')
if mibBuilder.loadTexts: erxMidplane.setDescription('The vendor type ID for an ERX midplane.')
erx700Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 1))
if mibBuilder.loadTexts: erx700Midplane.setStatus('current')
if mibBuilder.loadTexts: erx700Midplane.setDescription('The vendor type ID for an ERX700 (7-slot) midplane.')
erx1400Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 2))
if mibBuilder.loadTexts: erx1400Midplane.setStatus('current')
if mibBuilder.loadTexts: erx1400Midplane.setDescription('The vendor type ID for an ERX1400 (14-slot) midplane.')
erx1Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 3))
if mibBuilder.loadTexts: erx1Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx1Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/1/1).')
erx2Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 4))
if mibBuilder.loadTexts: erx2Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/2/1).')
erx3Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 5))
if mibBuilder.loadTexts: erx3Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx3Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/3/1).')
erx4Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 6))
if mibBuilder.loadTexts: erx4Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx4Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/4/1).')
erx5Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 7))
if mibBuilder.loadTexts: erx5Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/5/1).')
erx1Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 8))
if mibBuilder.loadTexts: erx1Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx1Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/1/1).')
erx2Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 9))
if mibBuilder.loadTexts: erx2Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/2/1).')
erx3Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 10))
if mibBuilder.loadTexts: erx3Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx3Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/3/1).')
erx4Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 11))
if mibBuilder.loadTexts: erx4Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx4Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/4/1).')
erx5Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 12))
if mibBuilder.loadTexts: erx5Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/5/1).')
erx1Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 13))
if mibBuilder.loadTexts: erx1Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx1Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/1/1).')
erx2Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 14))
if mibBuilder.loadTexts: erx2Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/2/1).')
erx3Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 15))
if mibBuilder.loadTexts: erx3Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx3Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/3/1).')
erx4Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 16))
if mibBuilder.loadTexts: erx4Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx4Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/4/1).')
erx5Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 17))
if mibBuilder.loadTexts: erx5Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/5/1).')
erxSrpModule = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5))
if mibBuilder.loadTexts: erxSrpModule.setStatus('current')
if mibBuilder.loadTexts: erxSrpModule.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module.')
erxSrp5 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 1))
if mibBuilder.loadTexts: erxSrp5.setStatus('current')
if mibBuilder.loadTexts: erxSrp5.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps switch fabric (Product Code: SRP-5).')
erxSrp10 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 2))
if mibBuilder.loadTexts: erxSrp10.setStatus('current')
if mibBuilder.loadTexts: erxSrp10.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric (Product Code: SRP-10).')
erxSrp10Ecc = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 3))
if mibBuilder.loadTexts: erxSrp10Ecc.setStatus('current')
if mibBuilder.loadTexts: erxSrp10Ecc.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric with ECC (Product Code: SRP-10-ECC).')
erxSrp40 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 4))
if mibBuilder.loadTexts: erxSrp40.setStatus('current')
if mibBuilder.loadTexts: erxSrp40.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps switch fabric with ECC (Product Code: SRP-40-ECC).')
erxSrp5Plus = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 5))
if mibBuilder.loadTexts: erxSrp5Plus.setStatus('current')
if mibBuilder.loadTexts: erxSrp5Plus.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps 'plus' switch fabric (Product Code: SRP-5Plus).")
erxSrp40Plus = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 6))
if mibBuilder.loadTexts: erxSrp40Plus.setStatus('current')
if mibBuilder.loadTexts: erxSrp40Plus.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps 'plus' switch fabric (Product Code: ERX-40EC2-SRP).")
erxSrpIoAdapter = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 6))
if mibBuilder.loadTexts: erxSrpIoAdapter.setStatus('current')
if mibBuilder.loadTexts: erxSrpIoAdapter.setDescription('The vendor type ID for an ERX SRP I/O adapter (Product Code: SRP_I/O).')
erxLineModule = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7))
if mibBuilder.loadTexts: erxLineModule.setStatus('current')
if mibBuilder.loadTexts: erxLineModule.setDescription('The vendor type ID for an ERX line module.')
erxCt1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 1))
if mibBuilder.loadTexts: erxCt1.setStatus('current')
if mibBuilder.loadTexts: erxCt1.setDescription('The vendor type ID for an ERX 24 port fully channelized T1 line module (Product Code: CT1-FULL).')
erxCe1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 2))
if mibBuilder.loadTexts: erxCe1.setStatus('current')
if mibBuilder.loadTexts: erxCe1.setDescription('The vendor type ID for an ERX 20 port fully channelized E1 line module (Product Code: CE1-FULL).')
erxCt3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 4))
if mibBuilder.loadTexts: erxCt3.setStatus('current')
if mibBuilder.loadTexts: erxCt3.setDescription('The vendor type ID for an ERX 3 port channelized T3 line module (Product Code: CT3-3).')
erxT3Atm = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 5))
if mibBuilder.loadTexts: erxT3Atm.setStatus('current')
if mibBuilder.loadTexts: erxT3Atm.setDescription('The vendor type ID for an ERX 3 port unchannelized T3 cell service line module (Product Code: T3-3A).')
erxT3Frame = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 6))
if mibBuilder.loadTexts: erxT3Frame.setStatus('current')
if mibBuilder.loadTexts: erxT3Frame.setDescription('The vendor type ID for an ERX 3 port unchannelized T3 packet service line module (Product Code: T3-3F).')
erxE3Atm = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 7))
if mibBuilder.loadTexts: erxE3Atm.setStatus('current')
if mibBuilder.loadTexts: erxE3Atm.setDescription('The vendor type ID for an ERX 3 port unchannelized E3 cell service line module (Product Code: E3-3A).')
erxE3Frame = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 8))
if mibBuilder.loadTexts: erxE3Frame.setStatus('current')
if mibBuilder.loadTexts: erxE3Frame.setDescription('The vendor type ID for an ERX 3 port unchannelized E3 packet service line module (Product Code: E3-3F).')
erxOc3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 9))
if mibBuilder.loadTexts: erxOc3.setStatus('current')
if mibBuilder.loadTexts: erxOc3.setDescription('The vendor type ID for an ERX dual port Optical Carrier 3 (OC-3/STM-1) SONET/SDH line module (Product Code: OC3-2).')
erxOc3Oc12Atm = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 10))
if mibBuilder.loadTexts: erxOc3Oc12Atm.setStatus('current')
if mibBuilder.loadTexts: erxOc3Oc12Atm.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality cell service line module (Product Code: OC3/OC12-ATM).')
erxOc3Oc12Pos = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 11))
if mibBuilder.loadTexts: erxOc3Oc12Pos.setStatus('current')
if mibBuilder.loadTexts: erxOc3Oc12Pos.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality packet service line module (Product Code: OC3/OC12-POS).')
erxCOcx = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 12))
if mibBuilder.loadTexts: erxCOcx.setStatus('current')
if mibBuilder.loadTexts: erxCOcx.setDescription('The vendor type ID for an ERX channelized OC3/STM1 and OC12/STM4 line module (Product Code: COCX/STMX-F0).')
erxFe2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 13))
if mibBuilder.loadTexts: erxFe2.setStatus('current')
if mibBuilder.loadTexts: erxFe2.setDescription('The vendor type ID for an ERX dual port fast (10/100) Ethernet line module (Product Code: 10/100_FE-2).')
erxGeFe = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 14))
if mibBuilder.loadTexts: erxGeFe.setStatus('current')
if mibBuilder.loadTexts: erxGeFe.setDescription('The vendor type ID for an ERX multi-personality gigabit or fast (10/100) Ethernet line module (Product Code: GE/FE-8).')
erxTunnelService = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 15))
if mibBuilder.loadTexts: erxTunnelService.setStatus('current')
if mibBuilder.loadTexts: erxTunnelService.setDescription('The vendor type ID for an ERX L2TP LNS and GRE Tunnel Service line module (Product Code: TUNNEL-SERVICE).')
erxHssi = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 16))
if mibBuilder.loadTexts: erxHssi.setStatus('current')
if mibBuilder.loadTexts: erxHssi.setDescription('The vendor type ID for an ERX 3 port High Speed Serial Interface (HSSI) line module (Product Code: HSSI-3F).')
erxVts = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 17))
if mibBuilder.loadTexts: erxVts.setStatus('current')
if mibBuilder.loadTexts: erxVts.setDescription('The vendor type ID for an ERX Virtual Tunnelling Server (VTS) line module (Product Code: ERX-IPSEC-MOD).')
erxCt3P12 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 18))
if mibBuilder.loadTexts: erxCt3P12.setStatus('current')
if mibBuilder.loadTexts: erxCt3P12.setDescription('The vendor type ID for an ERX 12 port channelized T3 line module (Product Code: CT3-12-F0).')
erxV35 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 19))
if mibBuilder.loadTexts: erxV35.setStatus('current')
if mibBuilder.loadTexts: erxV35.setDescription('The vendor type ID for an ERX X.21/V.35 server line module (Product Code: ERX-X21-V35-MOD).')
erxUt3E3Ocx = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 20))
if mibBuilder.loadTexts: erxUt3E3Ocx.setStatus('current')
if mibBuilder.loadTexts: erxUt3E3Ocx.setDescription('The vendor type ID for an ERX OC12, quad OC3 or 12 port T3/E3 server line module (Product Code: ERX-UT3E3OCX-MOD).')
erxLineIoAdapter = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8))
if mibBuilder.loadTexts: erxLineIoAdapter.setStatus('current')
if mibBuilder.loadTexts: erxLineIoAdapter.setDescription('The vendor type ID for an ERX I/O adapter for a line module.')
erxCt1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 1))
if mibBuilder.loadTexts: erxCt1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCt1Ioa.setDescription('The vendor type ID for an ERX 24 port channelized T1/J1 I/O adapter (Product Code: CT1-FULL-I/O).')
erxCe1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 2))
if mibBuilder.loadTexts: erxCe1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCe1Ioa.setDescription('The vendor type ID for an ERX 20 port channelized E1 I/O adapter (Product Code: CE1-FULL-I/O).')
erxCe1TIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 3))
if mibBuilder.loadTexts: erxCe1TIoa.setStatus('current')
if mibBuilder.loadTexts: erxCe1TIoa.setDescription('The vendor type ID for an ERX 20 port channelized E1 Telco I/O adapter (Product Code: CE1-FULL-I/OT).')
erxCt3Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 4))
if mibBuilder.loadTexts: erxCt3Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCt3Ioa.setDescription('The vendor type ID for an ERX 3 port channelized T3/E3 I/O adapter (Product Code: CT3/T3-3_I/O).')
erxE3Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 5))
if mibBuilder.loadTexts: erxE3Ioa.setStatus('current')
if mibBuilder.loadTexts: erxE3Ioa.setDescription('The vendor type ID for an ERX 3 port E3 I/O adapter (Product Code: E3-3_I/O).')
erxOc3Mm2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 6))
if mibBuilder.loadTexts: erxOc3Mm2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Mm2Ioa.setDescription('The vendor type ID for an ERX dual port OC3/STM1 multi-mode I/O adapter (Product Code: OC3-2M_I/O).')
erxOc3Sm2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 7))
if mibBuilder.loadTexts: erxOc3Sm2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Sm2Ioa.setDescription('The vendor type ID for an ERX dual port OC3/STM1 single-mode I/O adapter (Product Code: OC3-2S_I/O).')
erxOc3Mm4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 8))
if mibBuilder.loadTexts: erxOc3Mm4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Mm4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 multi-mode I/O adapter (Product Code: OC3-4MM_I/O).')
erxOc3SmIr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 9))
if mibBuilder.loadTexts: erxOc3SmIr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3SmIr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM single-mode intermediate- reach I/O adapter (Product Code: OC3-4SM_I/O).')
erxOc3SmLr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 10))
if mibBuilder.loadTexts: erxOc3SmLr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3SmLr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 single-mode long-reach I/O adapter (Product Code: OC3-4LH-I/O).')
erxCOc3Mm4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 11))
if mibBuilder.loadTexts: erxCOc3Mm4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc3Mm4Ioa.setDescription('The vendor type ID for an ERX 4 port channelized OC3/STM multi-mode I/O adapter (Product Code: COC3F0-MM-I/O).')
erxCOc3SmIr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 12))
if mibBuilder.loadTexts: erxCOc3SmIr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc3SmIr4Ioa.setDescription('The vendor type ID for an ERX 4 port channelized OC3/STM1 single-mode intermediate-reach I/O adapter (Product Code: COC3F0-SM-I/O).')
erxCOc3SmLr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 13))
if mibBuilder.loadTexts: erxCOc3SmLr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc3SmLr4Ioa.setDescription('The vendor type ID for an ERX 4 port channelized OC3/STM1 single-mode long-reach I/O adapter (Product Code: ERX-COC3-4LH-IOA).')
erxOc12Mm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 14))
if mibBuilder.loadTexts: erxOc12Mm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc12Mm1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 multi-mode I/O adapter (Product Code: OC12-MM_I/O).')
erxOc12SmIr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 15))
if mibBuilder.loadTexts: erxOc12SmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmIr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode intermediate-reach I/O adapter (Product Code: OC12-SM_I/O).')
erxOc12SmLr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 16))
if mibBuilder.loadTexts: erxOc12SmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmLr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode long-reach I/O adapter (Product Code: OC12-LH-I/O).')
erxCOc12Mm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 17))
if mibBuilder.loadTexts: erxCOc12Mm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12Mm1Ioa.setDescription('The vendor type ID for an ERX single port channelized OC12/STM4 multi-mode I/O adapter (Product Code: COC12F0-MM-I/O).')
erxCOc12SmIr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 18))
if mibBuilder.loadTexts: erxCOc12SmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmIr1Ioa.setDescription('The vendor type ID for an ERX single port channelized OC12/STM4 single-mode intermediate-reach I/O adapter (Product Code: COC12F0-SM-I/O).')
erxCOc12SmLr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 19))
if mibBuilder.loadTexts: erxCOc12SmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmLr1Ioa.setDescription('The vendor type ID for an ERX single port channelized OC12/STM4 single-mode long-reach I/O adapter (Product Code: ERX-COC12-LH-IOA).')
erxFe2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 20))
if mibBuilder.loadTexts: erxFe2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxFe2Ioa.setDescription('The vendor type ID for an ERX dual port 10/100 Fast Ethernet I/O adapter (Product Code: 10/100_FE-2_I/O).')
erxFe8Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 21))
if mibBuilder.loadTexts: erxFe8Ioa.setStatus('current')
if mibBuilder.loadTexts: erxFe8Ioa.setDescription('The vendor type ID for an ERX 8 port 10/100 Fast Ethernet I/O adapter (Product Code: FE-8_I/O).')
erxGeMm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 22))
if mibBuilder.loadTexts: erxGeMm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxGeMm1Ioa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet multi-mode I/O adapter (Product Code: GE_M_I/O).')
erxGeSm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 23))
if mibBuilder.loadTexts: erxGeSm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxGeSm1Ioa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet single-mode I/O adapter (Product Code: GE_S_I/O).')
erxHssiIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 24))
if mibBuilder.loadTexts: erxHssiIoa.setStatus('current')
if mibBuilder.loadTexts: erxHssiIoa.setDescription('The vendor type ID for an ERX 3 port High Speed Serial Interface (HSSI) I/O adapter (Product Code: HSSI-3-I/O).')
erxCt3P12Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 25))
if mibBuilder.loadTexts: erxCt3P12Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCt3P12Ioa.setDescription('The vendor type ID for an ERX 12 port channelized T3 I/O adapter (Product Code: T312-F0-F3-I/O).')
erxV35Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 26))
if mibBuilder.loadTexts: erxV35Ioa.setStatus('current')
if mibBuilder.loadTexts: erxV35Ioa.setDescription('The vendor type ID for an ERX X.21/V.35 I/O adapter (Product Code: ERX-X21-V35-IOA).')
erxGeSfpIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 27))
if mibBuilder.loadTexts: erxGeSfpIoa.setStatus('current')
if mibBuilder.loadTexts: erxGeSfpIoa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet SFP I/O adapter (Product Code: ERX-GIGESFP-IOA).')
erxE3P12Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 28))
if mibBuilder.loadTexts: erxE3P12Ioa.setStatus('current')
if mibBuilder.loadTexts: erxE3P12Ioa.setDescription('The vendor type ID for an ERX 12-port E3 I/O adapter (Product Code: E3-12-F3-I/O).')
erxCOc12Mm2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 30))
if mibBuilder.loadTexts: erxCOc12Mm2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12Mm2Ioa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 channelized multi-mode I/O adapter (Product Code: ERX-COC12-MA-IOA).')
erxCOc12SmIr2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 31))
if mibBuilder.loadTexts: erxCOc12SmIr2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmIr2Ioa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 channelized single-mode intermediate-reach I/O adapter (Product Code: ERX-COC12-SA-IOA).')
erxCOc12SmLr2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 32))
if mibBuilder.loadTexts: erxCOc12SmLr2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmLr2Ioa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 channelized single-mode long-reach I/O adapter (Product Code: ERX-COC12-LA-IOA).')
erxOc12Mm2ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 33))
if mibBuilder.loadTexts: erxOc12Mm2ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc12Mm2ApsIoa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 multi-mode with APS I/O adapter (Product Code: ERX-OC12MM-A-IOA).')
erxOc12SmIr2ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 34))
if mibBuilder.loadTexts: erxOc12SmIr2ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmIr2ApsIoa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 single-mode intermediate-reach with APS I/O adapter (Product Code: ERX-OC12SM-A-IOA).')
erxOc12SmLr2ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 35))
if mibBuilder.loadTexts: erxOc12SmLr2ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmLr2ApsIoa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 single-mode long-reach with APS I/O adapter (Product Code: ERX-OC12LH-A-IOA).')
erxT1E1RMidSpareIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 42))
if mibBuilder.loadTexts: erxT1E1RMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts: erxT1E1RMidSpareIoa.setDescription('The vendor type ID for an ERX T1/E1 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-T1/E1).')
erxT3E3RMidSpareIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 43))
if mibBuilder.loadTexts: erxT3E3RMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts: erxT3E3RMidSpareIoa.setDescription('The vendor type ID for an ERX T3/E3 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-T3/E3).')
erxCt3RMidSpareIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 44))
if mibBuilder.loadTexts: erxCt3RMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts: erxCt3RMidSpareIoa.setDescription('The vendor type ID for an ERX 12 port channelized T3 redundant midplane spare I/O adapter (Product Code: ERX-12PT3E3-PNL).')
erxOcxRMidSpareIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 45))
if mibBuilder.loadTexts: erxOcxRMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts: erxOcxRMidSpareIoa.setDescription('The vendor type ID for an ERX OC3/OC12 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-OCX).')
erxCOcxRMidSpareIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 46))
if mibBuilder.loadTexts: erxCOcxRMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOcxRMidSpareIoa.setDescription('The vendor type ID for an ERX OC3/OC12 channelized redundant midplane spare I/O adapter (Product Code: ERX-COCXPNL-IOA).')
mibBuilder.exportSymbols("Unisphere-Data-ERX-Registry", erxE3Frame=erxE3Frame, erxGeFe=erxGeFe, erxCOc12SmLr1Ioa=erxCOc12SmLr1Ioa, erxTunnelService=erxTunnelService, erxSrp10=erxSrp10, erx1400Midplane=erx1400Midplane, erxE3P12Ioa=erxE3P12Ioa, erx700Midplane=erx700Midplane, erxLineModule=erxLineModule, erxGeSm1Ioa=erxGeSm1Ioa, erxOc3Mm4Ioa=erxOc3Mm4Ioa, erxSrp5Plus=erxSrp5Plus, erxCOcx=erxCOcx, erxE3Ioa=erxE3Ioa, erxOcxRMidSpareIoa=erxOcxRMidSpareIoa, erxFe2=erxFe2, erxCt3RMidSpareIoa=erxCt3RMidSpareIoa, erxLineIoAdapter=erxLineIoAdapter, erxV35Ioa=erxV35Ioa, erxCOc3SmLr4Ioa=erxCOc3SmLr4Ioa, erxOc3Mm2Ioa=erxOc3Mm2Ioa, usdErxRegistry=usdErxRegistry, erxT3Frame=erxT3Frame, erxT3E3RMidSpareIoa=erxT3E3RMidSpareIoa, erx1400Chassis=erx1400Chassis, erxV35=erxV35, erxCe1TIoa=erxCe1TIoa, erxSrp40=erxSrp40, erx3Plus1RedundantT3E3Midplane=erx3Plus1RedundantT3E3Midplane, erxSrp40Plus=erxSrp40Plus, erx700FanAssembly=erx700FanAssembly, erxOc12SmLr2ApsIoa=erxOc12SmLr2ApsIoa, erxChassis=erxChassis, erxOc3Oc12Pos=erxOc3Oc12Pos, erxSrp5=erxSrp5, erxCe1=erxCe1, erxHssiIoa=erxHssiIoa, erx1Plus1RedundantOcMidplane=erx1Plus1RedundantOcMidplane, erx700Chassis=erx700Chassis, erxUt3E3Ocx=erxUt3E3Ocx, erx2Plus1RedundantOcMidplane=erx2Plus1RedundantOcMidplane, erx5Plus1RedundantT1E1Midplane=erx5Plus1RedundantT1E1Midplane, erxE3Atm=erxE3Atm, erxGeSfpIoa=erxGeSfpIoa, erxCOc12SmLr2Ioa=erxCOc12SmLr2Ioa, erxCOc12SmIr1Ioa=erxCOc12SmIr1Ioa, erxSrp10Ecc=erxSrp10Ecc, erx4Plus1RedundantT1E1Midplane=erx4Plus1RedundantT1E1Midplane, erxOc12SmLr1Ioa=erxOc12SmLr1Ioa, erxT1E1RMidSpareIoa=erxT1E1RMidSpareIoa, erxFe2Ioa=erxFe2Ioa, erxCe1Ioa=erxCe1Ioa, erxCt3=erxCt3, erx4Plus1RedundantT3E3Midplane=erx4Plus1RedundantT3E3Midplane, erxMidplane=erxMidplane, erxOc12SmIr2ApsIoa=erxOc12SmIr2ApsIoa, erxCOcxRMidSpareIoa=erxCOcxRMidSpareIoa, erxOc3SmIr4Ioa=erxOc3SmIr4Ioa, erx2Plus1RedundantT3E3Midplane=erx2Plus1RedundantT3E3Midplane, erxOc12SmIr1Ioa=erxOc12SmIr1Ioa, erxCOc12SmIr2Ioa=erxCOc12SmIr2Ioa, erxOc12Mm2ApsIoa=erxOc12Mm2ApsIoa, erxOc3SmLr4Ioa=erxOc3SmLr4Ioa, erx1400FanAssembly=erx1400FanAssembly, erxT3Atm=erxT3Atm, erxPowerInput=erxPowerInput, erxCt1=erxCt1, erxSrpIoAdapter=erxSrpIoAdapter, erx5Plus1RedundantT3E3Midplane=erx5Plus1RedundantT3E3Midplane, erx5Plus1RedundantOcMidplane=erx5Plus1RedundantOcMidplane, erxOc12Mm1Ioa=erxOc12Mm1Ioa, PYSNMP_MODULE_ID=usdErxRegistry, erxFe8Ioa=erxFe8Ioa, usdErxEntPhysicalType=usdErxEntPhysicalType, erxFanAssembly=erxFanAssembly, erxCt3Ioa=erxCt3Ioa, erx3Plus1RedundantT1E1Midplane=erx3Plus1RedundantT1E1Midplane, erx3Plus1RedundantOcMidplane=erx3Plus1RedundantOcMidplane, erxSrpModule=erxSrpModule, erxOc3Oc12Atm=erxOc3Oc12Atm, erxCt1Ioa=erxCt1Ioa, erx2Plus1RedundantT1E1Midplane=erx2Plus1RedundantT1E1Midplane, erxOc3=erxOc3, erxHssi=erxHssi, erxCt3P12Ioa=erxCt3P12Ioa, erxCOc3SmIr4Ioa=erxCOc3SmIr4Ioa, erx1Plus1RedundantT1E1Midplane=erx1Plus1RedundantT1E1Midplane, erxVts=erxVts, erx1Plus1RedundantT3E3Midplane=erx1Plus1RedundantT3E3Midplane, erx4Plus1RedundantOcMidplane=erx4Plus1RedundantOcMidplane, erxCOc12Mm2Ioa=erxCOc12Mm2Ioa, erxCOc12Mm1Ioa=erxCOc12Mm1Ioa, erxCt3P12=erxCt3P12, erxCOc3Mm4Ioa=erxCOc3Mm4Ioa, erxGeMm1Ioa=erxGeMm1Ioa, erxOc3Sm2Ioa=erxOc3Sm2Ioa)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, value_size_constraint, single_value_constraint, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, integer32, gauge32, object_identity, iso, module_identity, notification_type, counter64, bits, counter32, unsigned32, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Integer32', 'Gauge32', 'ObjectIdentity', 'iso', 'ModuleIdentity', 'NotificationType', 'Counter64', 'Bits', 'Counter32', 'Unsigned32', 'TimeTicks')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
(us_data_admin,) = mibBuilder.importSymbols('Unisphere-Data-Registry', 'usDataAdmin')
usd_erx_registry = module_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2))
usdErxRegistry.setRevisions(('2002-10-10 18:51', '2002-05-08 12:34', '2002-05-07 14:05', '2001-08-20 16:08', '2001-06-12 18:27', '2001-06-04 20:11'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
usdErxRegistry.setRevisionsDescriptions(('Added support for the 12-port E3 IO adapter. Added support for the Ut3f12 line card. Added SRP module with 40 gbps plus switch fabric. Added Vitrual Tunneling Server (VTS) module. Added X.21/V.35 Server module and I/O adapter. Added OC12 APS I/O adapters. Added redundant midplane spare I/O adapters.', 'Added GE SFP IOA module.', "Added SRP modules with 5 gbps and 40 gbps 'plus' switch fabrics.", 'Added 12 port channelized T3 modules.', 'Added High Speed Serial Interface (HSSI) modules.', 'Initial version of this SNMP management information module.'))
if mibBuilder.loadTexts:
usdErxRegistry.setLastUpdated('200210101851Z')
if mibBuilder.loadTexts:
usdErxRegistry.setOrganization('Juniper Networks, Inc.')
if mibBuilder.loadTexts:
usdErxRegistry.setContactInfo(' Juniper Networks, Inc. Postal: 10 Technology Park Drive Westford, MA 01886 USA Tel: +1 978 589 5800 Email: mib@Juniper.net')
if mibBuilder.loadTexts:
usdErxRegistry.setDescription('Unisphere Edge Routing Switch (ERX) product family system-specific object identification values. This module includes the textual convention definition for the ERX module types. It also defines AutonomousType (OID) values for all the physical entity types (entPhysicalVendorType). This module will be updated whenever a new type of module or other hardware becomes available in ERX systems.')
usd_erx_ent_physical_type = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1))
erx_chassis = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1))
if mibBuilder.loadTexts:
erxChassis.setStatus('current')
if mibBuilder.loadTexts:
erxChassis.setDescription("The vendor type ID for a generic Edge Routing Switch (ERX) chassis. This identifies an 'overall' physical entity for any ERX system.")
erx700_chassis = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 1))
if mibBuilder.loadTexts:
erx700Chassis.setStatus('current')
if mibBuilder.loadTexts:
erx700Chassis.setDescription("The vendor type ID for an Edge Routing Switch 700 (ERX-700) 7-slot chassis. This is the 'overall' physical entity for an ERX-700 system.")
erx1400_chassis = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 2))
if mibBuilder.loadTexts:
erx1400Chassis.setStatus('current')
if mibBuilder.loadTexts:
erx1400Chassis.setDescription("The vendor type ID for an Edge Routing Switch 1400 (ERX-1400) 14-slot chassis. This is the 'overall' physical entity for an ERX-1400 system.")
erx_fan_assembly = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2))
if mibBuilder.loadTexts:
erxFanAssembly.setStatus('current')
if mibBuilder.loadTexts:
erxFanAssembly.setDescription('The vendor type ID for an ERX fan assembly.')
erx700_fan_assembly = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 1))
if mibBuilder.loadTexts:
erx700FanAssembly.setStatus('current')
if mibBuilder.loadTexts:
erx700FanAssembly.setDescription('The vendor type ID for an ERX700 fan assembly with four fans and two -12 volt, 15 watt power converters (Product Code: FAN-7).')
erx1400_fan_assembly = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 2))
if mibBuilder.loadTexts:
erx1400FanAssembly.setStatus('current')
if mibBuilder.loadTexts:
erx1400FanAssembly.setDescription('The vendor type ID for an ERX1400 fan assembly with six fans and two -24 volt, 50 watt power converters (Product Code: FAN-14).')
erx_power_input = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3))
if mibBuilder.loadTexts:
erxPowerInput.setStatus('current')
if mibBuilder.loadTexts:
erxPowerInput.setDescription('The vendor type ID for an ERX power distribution module (Product Code: PDU).')
erx_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4))
if mibBuilder.loadTexts:
erxMidplane.setStatus('current')
if mibBuilder.loadTexts:
erxMidplane.setDescription('The vendor type ID for an ERX midplane.')
erx700_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 1))
if mibBuilder.loadTexts:
erx700Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx700Midplane.setDescription('The vendor type ID for an ERX700 (7-slot) midplane.')
erx1400_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 2))
if mibBuilder.loadTexts:
erx1400Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx1400Midplane.setDescription('The vendor type ID for an ERX1400 (14-slot) midplane.')
erx1_plus1_redundant_t1_e1_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 3))
if mibBuilder.loadTexts:
erx1Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx1Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/1/1).')
erx2_plus1_redundant_t1_e1_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 4))
if mibBuilder.loadTexts:
erx2Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx2Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/2/1).')
erx3_plus1_redundant_t1_e1_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 5))
if mibBuilder.loadTexts:
erx3Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx3Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/3/1).')
erx4_plus1_redundant_t1_e1_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 6))
if mibBuilder.loadTexts:
erx4Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx4Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/4/1).')
erx5_plus1_redundant_t1_e1_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 7))
if mibBuilder.loadTexts:
erx5Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx5Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/5/1).')
erx1_plus1_redundant_t3_e3_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 8))
if mibBuilder.loadTexts:
erx1Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx1Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/1/1).')
erx2_plus1_redundant_t3_e3_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 9))
if mibBuilder.loadTexts:
erx2Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx2Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/2/1).')
erx3_plus1_redundant_t3_e3_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 10))
if mibBuilder.loadTexts:
erx3Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx3Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/3/1).')
erx4_plus1_redundant_t3_e3_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 11))
if mibBuilder.loadTexts:
erx4Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx4Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/4/1).')
erx5_plus1_redundant_t3_e3_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 12))
if mibBuilder.loadTexts:
erx5Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts:
erx5Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/5/1).')
erx1_plus1_redundant_oc_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 13))
if mibBuilder.loadTexts:
erx1Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts:
erx1Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/1/1).')
erx2_plus1_redundant_oc_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 14))
if mibBuilder.loadTexts:
erx2Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts:
erx2Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/2/1).')
erx3_plus1_redundant_oc_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 15))
if mibBuilder.loadTexts:
erx3Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts:
erx3Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/3/1).')
erx4_plus1_redundant_oc_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 16))
if mibBuilder.loadTexts:
erx4Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts:
erx4Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/4/1).')
erx5_plus1_redundant_oc_midplane = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 17))
if mibBuilder.loadTexts:
erx5Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts:
erx5Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/5/1).')
erx_srp_module = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5))
if mibBuilder.loadTexts:
erxSrpModule.setStatus('current')
if mibBuilder.loadTexts:
erxSrpModule.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module.')
erx_srp5 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 1))
if mibBuilder.loadTexts:
erxSrp5.setStatus('current')
if mibBuilder.loadTexts:
erxSrp5.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps switch fabric (Product Code: SRP-5).')
erx_srp10 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 2))
if mibBuilder.loadTexts:
erxSrp10.setStatus('current')
if mibBuilder.loadTexts:
erxSrp10.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric (Product Code: SRP-10).')
erx_srp10_ecc = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 3))
if mibBuilder.loadTexts:
erxSrp10Ecc.setStatus('current')
if mibBuilder.loadTexts:
erxSrp10Ecc.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric with ECC (Product Code: SRP-10-ECC).')
erx_srp40 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 4))
if mibBuilder.loadTexts:
erxSrp40.setStatus('current')
if mibBuilder.loadTexts:
erxSrp40.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps switch fabric with ECC (Product Code: SRP-40-ECC).')
erx_srp5_plus = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 5))
if mibBuilder.loadTexts:
erxSrp5Plus.setStatus('current')
if mibBuilder.loadTexts:
erxSrp5Plus.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps 'plus' switch fabric (Product Code: SRP-5Plus).")
erx_srp40_plus = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 6))
if mibBuilder.loadTexts:
erxSrp40Plus.setStatus('current')
if mibBuilder.loadTexts:
erxSrp40Plus.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps 'plus' switch fabric (Product Code: ERX-40EC2-SRP).")
erx_srp_io_adapter = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 6))
if mibBuilder.loadTexts:
erxSrpIoAdapter.setStatus('current')
if mibBuilder.loadTexts:
erxSrpIoAdapter.setDescription('The vendor type ID for an ERX SRP I/O adapter (Product Code: SRP_I/O).')
erx_line_module = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7))
if mibBuilder.loadTexts:
erxLineModule.setStatus('current')
if mibBuilder.loadTexts:
erxLineModule.setDescription('The vendor type ID for an ERX line module.')
erx_ct1 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 1))
if mibBuilder.loadTexts:
erxCt1.setStatus('current')
if mibBuilder.loadTexts:
erxCt1.setDescription('The vendor type ID for an ERX 24 port fully channelized T1 line module (Product Code: CT1-FULL).')
erx_ce1 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 2))
if mibBuilder.loadTexts:
erxCe1.setStatus('current')
if mibBuilder.loadTexts:
erxCe1.setDescription('The vendor type ID for an ERX 20 port fully channelized E1 line module (Product Code: CE1-FULL).')
erx_ct3 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 4))
if mibBuilder.loadTexts:
erxCt3.setStatus('current')
if mibBuilder.loadTexts:
erxCt3.setDescription('The vendor type ID for an ERX 3 port channelized T3 line module (Product Code: CT3-3).')
erx_t3_atm = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 5))
if mibBuilder.loadTexts:
erxT3Atm.setStatus('current')
if mibBuilder.loadTexts:
erxT3Atm.setDescription('The vendor type ID for an ERX 3 port unchannelized T3 cell service line module (Product Code: T3-3A).')
erx_t3_frame = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 6))
if mibBuilder.loadTexts:
erxT3Frame.setStatus('current')
if mibBuilder.loadTexts:
erxT3Frame.setDescription('The vendor type ID for an ERX 3 port unchannelized T3 packet service line module (Product Code: T3-3F).')
erx_e3_atm = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 7))
if mibBuilder.loadTexts:
erxE3Atm.setStatus('current')
if mibBuilder.loadTexts:
erxE3Atm.setDescription('The vendor type ID for an ERX 3 port unchannelized E3 cell service line module (Product Code: E3-3A).')
erx_e3_frame = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 8))
if mibBuilder.loadTexts:
erxE3Frame.setStatus('current')
if mibBuilder.loadTexts:
erxE3Frame.setDescription('The vendor type ID for an ERX 3 port unchannelized E3 packet service line module (Product Code: E3-3F).')
erx_oc3 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 9))
if mibBuilder.loadTexts:
erxOc3.setStatus('current')
if mibBuilder.loadTexts:
erxOc3.setDescription('The vendor type ID for an ERX dual port Optical Carrier 3 (OC-3/STM-1) SONET/SDH line module (Product Code: OC3-2).')
erx_oc3_oc12_atm = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 10))
if mibBuilder.loadTexts:
erxOc3Oc12Atm.setStatus('current')
if mibBuilder.loadTexts:
erxOc3Oc12Atm.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality cell service line module (Product Code: OC3/OC12-ATM).')
erx_oc3_oc12_pos = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 11))
if mibBuilder.loadTexts:
erxOc3Oc12Pos.setStatus('current')
if mibBuilder.loadTexts:
erxOc3Oc12Pos.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality packet service line module (Product Code: OC3/OC12-POS).')
erx_c_ocx = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 12))
if mibBuilder.loadTexts:
erxCOcx.setStatus('current')
if mibBuilder.loadTexts:
erxCOcx.setDescription('The vendor type ID for an ERX channelized OC3/STM1 and OC12/STM4 line module (Product Code: COCX/STMX-F0).')
erx_fe2 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 13))
if mibBuilder.loadTexts:
erxFe2.setStatus('current')
if mibBuilder.loadTexts:
erxFe2.setDescription('The vendor type ID for an ERX dual port fast (10/100) Ethernet line module (Product Code: 10/100_FE-2).')
erx_ge_fe = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 14))
if mibBuilder.loadTexts:
erxGeFe.setStatus('current')
if mibBuilder.loadTexts:
erxGeFe.setDescription('The vendor type ID for an ERX multi-personality gigabit or fast (10/100) Ethernet line module (Product Code: GE/FE-8).')
erx_tunnel_service = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 15))
if mibBuilder.loadTexts:
erxTunnelService.setStatus('current')
if mibBuilder.loadTexts:
erxTunnelService.setDescription('The vendor type ID for an ERX L2TP LNS and GRE Tunnel Service line module (Product Code: TUNNEL-SERVICE).')
erx_hssi = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 16))
if mibBuilder.loadTexts:
erxHssi.setStatus('current')
if mibBuilder.loadTexts:
erxHssi.setDescription('The vendor type ID for an ERX 3 port High Speed Serial Interface (HSSI) line module (Product Code: HSSI-3F).')
erx_vts = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 17))
if mibBuilder.loadTexts:
erxVts.setStatus('current')
if mibBuilder.loadTexts:
erxVts.setDescription('The vendor type ID for an ERX Virtual Tunnelling Server (VTS) line module (Product Code: ERX-IPSEC-MOD).')
erx_ct3_p12 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 18))
if mibBuilder.loadTexts:
erxCt3P12.setStatus('current')
if mibBuilder.loadTexts:
erxCt3P12.setDescription('The vendor type ID for an ERX 12 port channelized T3 line module (Product Code: CT3-12-F0).')
erx_v35 = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 19))
if mibBuilder.loadTexts:
erxV35.setStatus('current')
if mibBuilder.loadTexts:
erxV35.setDescription('The vendor type ID for an ERX X.21/V.35 server line module (Product Code: ERX-X21-V35-MOD).')
erx_ut3_e3_ocx = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 20))
if mibBuilder.loadTexts:
erxUt3E3Ocx.setStatus('current')
if mibBuilder.loadTexts:
erxUt3E3Ocx.setDescription('The vendor type ID for an ERX OC12, quad OC3 or 12 port T3/E3 server line module (Product Code: ERX-UT3E3OCX-MOD).')
erx_line_io_adapter = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8))
if mibBuilder.loadTexts:
erxLineIoAdapter.setStatus('current')
if mibBuilder.loadTexts:
erxLineIoAdapter.setDescription('The vendor type ID for an ERX I/O adapter for a line module.')
erx_ct1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 1))
if mibBuilder.loadTexts:
erxCt1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCt1Ioa.setDescription('The vendor type ID for an ERX 24 port channelized T1/J1 I/O adapter (Product Code: CT1-FULL-I/O).')
erx_ce1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 2))
if mibBuilder.loadTexts:
erxCe1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCe1Ioa.setDescription('The vendor type ID for an ERX 20 port channelized E1 I/O adapter (Product Code: CE1-FULL-I/O).')
erx_ce1_t_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 3))
if mibBuilder.loadTexts:
erxCe1TIoa.setStatus('current')
if mibBuilder.loadTexts:
erxCe1TIoa.setDescription('The vendor type ID for an ERX 20 port channelized E1 Telco I/O adapter (Product Code: CE1-FULL-I/OT).')
erx_ct3_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 4))
if mibBuilder.loadTexts:
erxCt3Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCt3Ioa.setDescription('The vendor type ID for an ERX 3 port channelized T3/E3 I/O adapter (Product Code: CT3/T3-3_I/O).')
erx_e3_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 5))
if mibBuilder.loadTexts:
erxE3Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxE3Ioa.setDescription('The vendor type ID for an ERX 3 port E3 I/O adapter (Product Code: E3-3_I/O).')
erx_oc3_mm2_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 6))
if mibBuilder.loadTexts:
erxOc3Mm2Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc3Mm2Ioa.setDescription('The vendor type ID for an ERX dual port OC3/STM1 multi-mode I/O adapter (Product Code: OC3-2M_I/O).')
erx_oc3_sm2_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 7))
if mibBuilder.loadTexts:
erxOc3Sm2Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc3Sm2Ioa.setDescription('The vendor type ID for an ERX dual port OC3/STM1 single-mode I/O adapter (Product Code: OC3-2S_I/O).')
erx_oc3_mm4_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 8))
if mibBuilder.loadTexts:
erxOc3Mm4Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc3Mm4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 multi-mode I/O adapter (Product Code: OC3-4MM_I/O).')
erx_oc3_sm_ir4_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 9))
if mibBuilder.loadTexts:
erxOc3SmIr4Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc3SmIr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM single-mode intermediate- reach I/O adapter (Product Code: OC3-4SM_I/O).')
erx_oc3_sm_lr4_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 10))
if mibBuilder.loadTexts:
erxOc3SmLr4Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc3SmLr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 single-mode long-reach I/O adapter (Product Code: OC3-4LH-I/O).')
erx_c_oc3_mm4_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 11))
if mibBuilder.loadTexts:
erxCOc3Mm4Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc3Mm4Ioa.setDescription('The vendor type ID for an ERX 4 port channelized OC3/STM multi-mode I/O adapter (Product Code: COC3F0-MM-I/O).')
erx_c_oc3_sm_ir4_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 12))
if mibBuilder.loadTexts:
erxCOc3SmIr4Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc3SmIr4Ioa.setDescription('The vendor type ID for an ERX 4 port channelized OC3/STM1 single-mode intermediate-reach I/O adapter (Product Code: COC3F0-SM-I/O).')
erx_c_oc3_sm_lr4_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 13))
if mibBuilder.loadTexts:
erxCOc3SmLr4Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc3SmLr4Ioa.setDescription('The vendor type ID for an ERX 4 port channelized OC3/STM1 single-mode long-reach I/O adapter (Product Code: ERX-COC3-4LH-IOA).')
erx_oc12_mm1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 14))
if mibBuilder.loadTexts:
erxOc12Mm1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc12Mm1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 multi-mode I/O adapter (Product Code: OC12-MM_I/O).')
erx_oc12_sm_ir1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 15))
if mibBuilder.loadTexts:
erxOc12SmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc12SmIr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode intermediate-reach I/O adapter (Product Code: OC12-SM_I/O).')
erx_oc12_sm_lr1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 16))
if mibBuilder.loadTexts:
erxOc12SmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxOc12SmLr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode long-reach I/O adapter (Product Code: OC12-LH-I/O).')
erx_c_oc12_mm1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 17))
if mibBuilder.loadTexts:
erxCOc12Mm1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc12Mm1Ioa.setDescription('The vendor type ID for an ERX single port channelized OC12/STM4 multi-mode I/O adapter (Product Code: COC12F0-MM-I/O).')
erx_c_oc12_sm_ir1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 18))
if mibBuilder.loadTexts:
erxCOc12SmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc12SmIr1Ioa.setDescription('The vendor type ID for an ERX single port channelized OC12/STM4 single-mode intermediate-reach I/O adapter (Product Code: COC12F0-SM-I/O).')
erx_c_oc12_sm_lr1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 19))
if mibBuilder.loadTexts:
erxCOc12SmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc12SmLr1Ioa.setDescription('The vendor type ID for an ERX single port channelized OC12/STM4 single-mode long-reach I/O adapter (Product Code: ERX-COC12-LH-IOA).')
erx_fe2_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 20))
if mibBuilder.loadTexts:
erxFe2Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxFe2Ioa.setDescription('The vendor type ID for an ERX dual port 10/100 Fast Ethernet I/O adapter (Product Code: 10/100_FE-2_I/O).')
erx_fe8_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 21))
if mibBuilder.loadTexts:
erxFe8Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxFe8Ioa.setDescription('The vendor type ID for an ERX 8 port 10/100 Fast Ethernet I/O adapter (Product Code: FE-8_I/O).')
erx_ge_mm1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 22))
if mibBuilder.loadTexts:
erxGeMm1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxGeMm1Ioa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet multi-mode I/O adapter (Product Code: GE_M_I/O).')
erx_ge_sm1_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 23))
if mibBuilder.loadTexts:
erxGeSm1Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxGeSm1Ioa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet single-mode I/O adapter (Product Code: GE_S_I/O).')
erx_hssi_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 24))
if mibBuilder.loadTexts:
erxHssiIoa.setStatus('current')
if mibBuilder.loadTexts:
erxHssiIoa.setDescription('The vendor type ID for an ERX 3 port High Speed Serial Interface (HSSI) I/O adapter (Product Code: HSSI-3-I/O).')
erx_ct3_p12_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 25))
if mibBuilder.loadTexts:
erxCt3P12Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCt3P12Ioa.setDescription('The vendor type ID for an ERX 12 port channelized T3 I/O adapter (Product Code: T312-F0-F3-I/O).')
erx_v35_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 26))
if mibBuilder.loadTexts:
erxV35Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxV35Ioa.setDescription('The vendor type ID for an ERX X.21/V.35 I/O adapter (Product Code: ERX-X21-V35-IOA).')
erx_ge_sfp_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 27))
if mibBuilder.loadTexts:
erxGeSfpIoa.setStatus('current')
if mibBuilder.loadTexts:
erxGeSfpIoa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet SFP I/O adapter (Product Code: ERX-GIGESFP-IOA).')
erx_e3_p12_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 28))
if mibBuilder.loadTexts:
erxE3P12Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxE3P12Ioa.setDescription('The vendor type ID for an ERX 12-port E3 I/O adapter (Product Code: E3-12-F3-I/O).')
erx_c_oc12_mm2_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 30))
if mibBuilder.loadTexts:
erxCOc12Mm2Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc12Mm2Ioa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 channelized multi-mode I/O adapter (Product Code: ERX-COC12-MA-IOA).')
erx_c_oc12_sm_ir2_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 31))
if mibBuilder.loadTexts:
erxCOc12SmIr2Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc12SmIr2Ioa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 channelized single-mode intermediate-reach I/O adapter (Product Code: ERX-COC12-SA-IOA).')
erx_c_oc12_sm_lr2_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 32))
if mibBuilder.loadTexts:
erxCOc12SmLr2Ioa.setStatus('current')
if mibBuilder.loadTexts:
erxCOc12SmLr2Ioa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 channelized single-mode long-reach I/O adapter (Product Code: ERX-COC12-LA-IOA).')
erx_oc12_mm2_aps_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 33))
if mibBuilder.loadTexts:
erxOc12Mm2ApsIoa.setStatus('current')
if mibBuilder.loadTexts:
erxOc12Mm2ApsIoa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 multi-mode with APS I/O adapter (Product Code: ERX-OC12MM-A-IOA).')
erx_oc12_sm_ir2_aps_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 34))
if mibBuilder.loadTexts:
erxOc12SmIr2ApsIoa.setStatus('current')
if mibBuilder.loadTexts:
erxOc12SmIr2ApsIoa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 single-mode intermediate-reach with APS I/O adapter (Product Code: ERX-OC12SM-A-IOA).')
erx_oc12_sm_lr2_aps_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 35))
if mibBuilder.loadTexts:
erxOc12SmLr2ApsIoa.setStatus('current')
if mibBuilder.loadTexts:
erxOc12SmLr2ApsIoa.setDescription('The vendor type ID for an ERX dual port OC12/STM4 single-mode long-reach with APS I/O adapter (Product Code: ERX-OC12LH-A-IOA).')
erx_t1_e1_r_mid_spare_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 42))
if mibBuilder.loadTexts:
erxT1E1RMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts:
erxT1E1RMidSpareIoa.setDescription('The vendor type ID for an ERX T1/E1 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-T1/E1).')
erx_t3_e3_r_mid_spare_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 43))
if mibBuilder.loadTexts:
erxT3E3RMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts:
erxT3E3RMidSpareIoa.setDescription('The vendor type ID for an ERX T3/E3 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-T3/E3).')
erx_ct3_r_mid_spare_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 44))
if mibBuilder.loadTexts:
erxCt3RMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts:
erxCt3RMidSpareIoa.setDescription('The vendor type ID for an ERX 12 port channelized T3 redundant midplane spare I/O adapter (Product Code: ERX-12PT3E3-PNL).')
erx_ocx_r_mid_spare_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 45))
if mibBuilder.loadTexts:
erxOcxRMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts:
erxOcxRMidSpareIoa.setDescription('The vendor type ID for an ERX OC3/OC12 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-OCX).')
erx_c_ocx_r_mid_spare_ioa = object_identity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 46))
if mibBuilder.loadTexts:
erxCOcxRMidSpareIoa.setStatus('current')
if mibBuilder.loadTexts:
erxCOcxRMidSpareIoa.setDescription('The vendor type ID for an ERX OC3/OC12 channelized redundant midplane spare I/O adapter (Product Code: ERX-COCXPNL-IOA).')
mibBuilder.exportSymbols('Unisphere-Data-ERX-Registry', erxE3Frame=erxE3Frame, erxGeFe=erxGeFe, erxCOc12SmLr1Ioa=erxCOc12SmLr1Ioa, erxTunnelService=erxTunnelService, erxSrp10=erxSrp10, erx1400Midplane=erx1400Midplane, erxE3P12Ioa=erxE3P12Ioa, erx700Midplane=erx700Midplane, erxLineModule=erxLineModule, erxGeSm1Ioa=erxGeSm1Ioa, erxOc3Mm4Ioa=erxOc3Mm4Ioa, erxSrp5Plus=erxSrp5Plus, erxCOcx=erxCOcx, erxE3Ioa=erxE3Ioa, erxOcxRMidSpareIoa=erxOcxRMidSpareIoa, erxFe2=erxFe2, erxCt3RMidSpareIoa=erxCt3RMidSpareIoa, erxLineIoAdapter=erxLineIoAdapter, erxV35Ioa=erxV35Ioa, erxCOc3SmLr4Ioa=erxCOc3SmLr4Ioa, erxOc3Mm2Ioa=erxOc3Mm2Ioa, usdErxRegistry=usdErxRegistry, erxT3Frame=erxT3Frame, erxT3E3RMidSpareIoa=erxT3E3RMidSpareIoa, erx1400Chassis=erx1400Chassis, erxV35=erxV35, erxCe1TIoa=erxCe1TIoa, erxSrp40=erxSrp40, erx3Plus1RedundantT3E3Midplane=erx3Plus1RedundantT3E3Midplane, erxSrp40Plus=erxSrp40Plus, erx700FanAssembly=erx700FanAssembly, erxOc12SmLr2ApsIoa=erxOc12SmLr2ApsIoa, erxChassis=erxChassis, erxOc3Oc12Pos=erxOc3Oc12Pos, erxSrp5=erxSrp5, erxCe1=erxCe1, erxHssiIoa=erxHssiIoa, erx1Plus1RedundantOcMidplane=erx1Plus1RedundantOcMidplane, erx700Chassis=erx700Chassis, erxUt3E3Ocx=erxUt3E3Ocx, erx2Plus1RedundantOcMidplane=erx2Plus1RedundantOcMidplane, erx5Plus1RedundantT1E1Midplane=erx5Plus1RedundantT1E1Midplane, erxE3Atm=erxE3Atm, erxGeSfpIoa=erxGeSfpIoa, erxCOc12SmLr2Ioa=erxCOc12SmLr2Ioa, erxCOc12SmIr1Ioa=erxCOc12SmIr1Ioa, erxSrp10Ecc=erxSrp10Ecc, erx4Plus1RedundantT1E1Midplane=erx4Plus1RedundantT1E1Midplane, erxOc12SmLr1Ioa=erxOc12SmLr1Ioa, erxT1E1RMidSpareIoa=erxT1E1RMidSpareIoa, erxFe2Ioa=erxFe2Ioa, erxCe1Ioa=erxCe1Ioa, erxCt3=erxCt3, erx4Plus1RedundantT3E3Midplane=erx4Plus1RedundantT3E3Midplane, erxMidplane=erxMidplane, erxOc12SmIr2ApsIoa=erxOc12SmIr2ApsIoa, erxCOcxRMidSpareIoa=erxCOcxRMidSpareIoa, erxOc3SmIr4Ioa=erxOc3SmIr4Ioa, erx2Plus1RedundantT3E3Midplane=erx2Plus1RedundantT3E3Midplane, erxOc12SmIr1Ioa=erxOc12SmIr1Ioa, erxCOc12SmIr2Ioa=erxCOc12SmIr2Ioa, erxOc12Mm2ApsIoa=erxOc12Mm2ApsIoa, erxOc3SmLr4Ioa=erxOc3SmLr4Ioa, erx1400FanAssembly=erx1400FanAssembly, erxT3Atm=erxT3Atm, erxPowerInput=erxPowerInput, erxCt1=erxCt1, erxSrpIoAdapter=erxSrpIoAdapter, erx5Plus1RedundantT3E3Midplane=erx5Plus1RedundantT3E3Midplane, erx5Plus1RedundantOcMidplane=erx5Plus1RedundantOcMidplane, erxOc12Mm1Ioa=erxOc12Mm1Ioa, PYSNMP_MODULE_ID=usdErxRegistry, erxFe8Ioa=erxFe8Ioa, usdErxEntPhysicalType=usdErxEntPhysicalType, erxFanAssembly=erxFanAssembly, erxCt3Ioa=erxCt3Ioa, erx3Plus1RedundantT1E1Midplane=erx3Plus1RedundantT1E1Midplane, erx3Plus1RedundantOcMidplane=erx3Plus1RedundantOcMidplane, erxSrpModule=erxSrpModule, erxOc3Oc12Atm=erxOc3Oc12Atm, erxCt1Ioa=erxCt1Ioa, erx2Plus1RedundantT1E1Midplane=erx2Plus1RedundantT1E1Midplane, erxOc3=erxOc3, erxHssi=erxHssi, erxCt3P12Ioa=erxCt3P12Ioa, erxCOc3SmIr4Ioa=erxCOc3SmIr4Ioa, erx1Plus1RedundantT1E1Midplane=erx1Plus1RedundantT1E1Midplane, erxVts=erxVts, erx1Plus1RedundantT3E3Midplane=erx1Plus1RedundantT3E3Midplane, erx4Plus1RedundantOcMidplane=erx4Plus1RedundantOcMidplane, erxCOc12Mm2Ioa=erxCOc12Mm2Ioa, erxCOc12Mm1Ioa=erxCOc12Mm1Ioa, erxCt3P12=erxCt3P12, erxCOc3Mm4Ioa=erxCOc3Mm4Ioa, erxGeMm1Ioa=erxGeMm1Ioa, erxOc3Sm2Ioa=erxOc3Sm2Ioa) |
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '\x11\x13C\xf3\x8a\xda\x0f\xf9op-\xf5B\xe1`\xb1'
_lr_action_items = {'BOX':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[1,-14,-3,-7,1,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'SCALE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[2,-14,-3,-7,2,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'BASENAME':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[3,-14,-3,-7,3,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'MOVE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[4,-14,-3,-7,4,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'VARY':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[5,-14,-3,-7,5,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'FRAMES':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[6,-14,-3,-7,6,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'LINE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[7,-14,-3,-7,7,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'DISPLAY':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[8,-14,-3,-7,8,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'COMMENT':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[9,-14,-3,-7,9,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'SET':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[10,-14,-3,-7,10,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'HERMITE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[11,-14,-3,-7,11,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'POP':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[12,-14,-3,-7,12,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'PUSH':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[15,-14,-3,-7,15,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'SCREEN':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[16,-14,-3,-7,16,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'$end':([0,8,9,12,14,15,16,21,23,24,25,28,29,30,31,32,35,37,40,41,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[-1,-14,-3,-7,-1,-8,-10,0,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-2,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'STRING':([3,8,23,],[28,28,28,]),'TORUS':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[17,-14,-3,-7,17,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'SPHERE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[18,-14,-3,-7,18,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'ID':([3,5,8,10,23,24,25,59,63,64,],[32,32,32,32,32,-39,-40,32,32,32,]),'ROTATE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[19,-14,-3,-7,19,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'INT':([1,2,4,6,7,11,13,16,17,18,20,22,24,25,26,27,31,32,33,34,36,38,39,42,43,44,45,46,47,49,50,51,52,53,55,57,58,60,61,62,65,66,67,68,69,71,72,73,76,77,78,79,80,81,82,83,85,86,87,88,89,90,93,94,96,97,98,100,101,102,103,105,106,107,108,109,110,111,112,],[25,25,25,35,25,25,25,42,25,25,25,25,-39,-40,25,25,-35,-36,25,52,25,25,25,56,25,25,25,25,25,25,25,25,65,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,88,25,25,25,25,25,94,95,25,25,25,99,25,25,25,25,104,25,25,25,25,25,25,25,25,113,114,]),'DOUBLE':([1,2,4,7,11,13,17,18,20,22,24,25,26,27,31,32,33,36,38,39,43,44,45,46,47,49,50,51,53,55,57,58,60,61,62,65,66,67,68,69,71,72,73,76,77,78,79,81,82,83,85,86,89,90,93,96,97,98,100,102,103,105,106,107,108,109,110,],[24,24,24,24,24,24,24,24,24,24,-39,-40,24,24,-35,-36,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,]),'XYZ':([3,5,8,10,19,23,24,25,59,63,64,],[31,31,31,31,45,31,-39,-40,31,31,31,]),'BEZIER':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[20,-14,-3,-7,20,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'SET_KNOBS':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[13,-14,-3,-7,13,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'CIRCLE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[22,-14,-3,-7,22,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),'SAVE':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,112,113,114,],[23,-14,-3,-7,23,-8,-10,-11,-39,-40,-38,-5,-37,-35,-36,-4,-13,-16,-12,-15,-9,-34,-32,-30,-33,-31,-29,-18,-6,-20,-21,-22,-17,-19,-23,-24,-28,-26,-27,-25,]),}
_lr_action = { }
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = { }
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'TEXT':([3,8,23,],[29,37,48,]),'SYMBOL':([3,5,8,10,23,59,63,64,],[30,34,30,38,30,70,74,75,]),'stuff':([0,14,],[21,41,]),'NUMBER':([1,2,4,7,11,13,17,18,20,22,26,27,33,36,38,39,43,44,45,46,47,49,50,51,53,55,57,58,60,61,62,65,66,67,68,69,71,72,73,76,77,78,79,81,82,83,85,86,89,90,93,96,97,98,100,102,103,105,106,107,108,109,110,],[26,27,33,36,39,40,43,44,46,47,49,50,51,53,54,55,57,58,59,60,61,62,63,64,66,67,68,69,71,72,73,76,77,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,96,97,98,100,101,102,103,105,106,107,108,109,110,111,112,]),'statement':([0,14,],[14,14,]),}
_lr_goto = { }
for _k, _v in _lr_goto_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_goto: _lr_goto[_x] = { }
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> stuff","S'",1,None,None,None),
('stuff -> <empty>','stuff',0,'p_stuff','/home/aidan/graphics16/mdl.py',131),
('stuff -> statement stuff','stuff',2,'p_stuff','/home/aidan/graphics16/mdl.py',132),
('statement -> COMMENT','statement',1,'p_statement_comment','/home/aidan/graphics16/mdl.py',136),
('statement -> FRAMES INT','statement',2,'p_statement_frames','/home/aidan/graphics16/mdl.py',140),
('statement -> BASENAME TEXT','statement',2,'p_statement_basename','/home/aidan/graphics16/mdl.py',144),
('statement -> VARY SYMBOL INT INT NUMBER NUMBER','statement',6,'p_statement_vary','/home/aidan/graphics16/mdl.py',148),
('statement -> POP','statement',1,'p_statement_stack','/home/aidan/graphics16/mdl.py',153),
('statement -> PUSH','statement',1,'p_statement_stack','/home/aidan/graphics16/mdl.py',154),
('statement -> SCREEN INT INT','statement',3,'p_statement_screen','/home/aidan/graphics16/mdl.py',158),
('statement -> SCREEN','statement',1,'p_statement_screen','/home/aidan/graphics16/mdl.py',159),
('statement -> SAVE','statement',1,'p_statement_save','/home/aidan/graphics16/mdl.py',166),
('statement -> SAVE TEXT','statement',2,'p_statement_save','/home/aidan/graphics16/mdl.py',167),
('statement -> DISPLAY TEXT','statement',2,'p_statement_show','/home/aidan/graphics16/mdl.py',174),
('statement -> DISPLAY','statement',1,'p_statement_show','/home/aidan/graphics16/mdl.py',175),
('statement -> SET SYMBOL NUMBER','statement',3,'p_statement_knobs','/home/aidan/graphics16/mdl.py',179),
('statement -> SET_KNOBS NUMBER','statement',2,'p_statement_knobs','/home/aidan/graphics16/mdl.py',180),
('statement -> SPHERE NUMBER NUMBER NUMBER NUMBER INT INT','statement',7,'p_statement_sphere','/home/aidan/graphics16/mdl.py',186),
('statement -> SPHERE NUMBER NUMBER NUMBER NUMBER','statement',5,'p_statement_sphere','/home/aidan/graphics16/mdl.py',187),
('statement -> TORUS NUMBER NUMBER NUMBER NUMBER NUMBER INT INT','statement',8,'p_statement_torus','/home/aidan/graphics16/mdl.py',194),
('statement -> TORUS NUMBER NUMBER NUMBER NUMBER NUMBER','statement',6,'p_statement_torus','/home/aidan/graphics16/mdl.py',195),
('statement -> BOX NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER','statement',7,'p_statement_box','/home/aidan/graphics16/mdl.py',202),
('statement -> LINE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER','statement',7,'p_statement_line','/home/aidan/graphics16/mdl.py',206),
('statement -> CIRCLE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER','statement',8,'p_statement_circle','/home/aidan/graphics16/mdl.py',210),
('statement -> CIRCLE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER INT','statement',9,'p_statement_circle','/home/aidan/graphics16/mdl.py',211),
('statement -> BEZIER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER INT','statement',14,'p_statement_curve','/home/aidan/graphics16/mdl.py',221),
('statement -> BEZIER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER','statement',13,'p_statement_curve','/home/aidan/graphics16/mdl.py',222),
('statement -> HERMITE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER INT','statement',14,'p_statement_curve','/home/aidan/graphics16/mdl.py',223),
('statement -> HERMITE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER','statement',13,'p_statement_curve','/home/aidan/graphics16/mdl.py',224),
('statement -> MOVE NUMBER NUMBER NUMBER SYMBOL','statement',5,'p_statement_move','/home/aidan/graphics16/mdl.py',231),
('statement -> MOVE NUMBER NUMBER NUMBER','statement',4,'p_statement_move','/home/aidan/graphics16/mdl.py',232),
('statement -> SCALE NUMBER NUMBER NUMBER SYMBOL','statement',5,'p_statement_scale','/home/aidan/graphics16/mdl.py',240),
('statement -> SCALE NUMBER NUMBER NUMBER','statement',4,'p_statement_scale','/home/aidan/graphics16/mdl.py',241),
('statement -> ROTATE XYZ NUMBER SYMBOL','statement',4,'p_statement_rotate','/home/aidan/graphics16/mdl.py',249),
('statement -> ROTATE XYZ NUMBER','statement',3,'p_statement_rotate','/home/aidan/graphics16/mdl.py',250),
('SYMBOL -> XYZ','SYMBOL',1,'p_SYMBOL','/home/aidan/graphics16/mdl.py',258),
('SYMBOL -> ID','SYMBOL',1,'p_SYMBOL','/home/aidan/graphics16/mdl.py',259),
('TEXT -> SYMBOL','TEXT',1,'p_TEXT','/home/aidan/graphics16/mdl.py',263),
('TEXT -> STRING','TEXT',1,'p_TEXT','/home/aidan/graphics16/mdl.py',264),
('NUMBER -> DOUBLE','NUMBER',1,'p_NUMBER','/home/aidan/graphics16/mdl.py',268),
('NUMBER -> INT','NUMBER',1,'p_NUMBER','/home/aidan/graphics16/mdl.py',269),
]
| _tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '\x11\x13Có\x8aÚ\x0fùop-õBá`±'
_lr_action_items = {'BOX': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [1, -14, -3, -7, 1, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'SCALE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [2, -14, -3, -7, 2, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'BASENAME': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [3, -14, -3, -7, 3, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'MOVE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [4, -14, -3, -7, 4, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'VARY': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [5, -14, -3, -7, 5, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'FRAMES': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [6, -14, -3, -7, 6, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'LINE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [7, -14, -3, -7, 7, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'DISPLAY': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [8, -14, -3, -7, 8, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'COMMENT': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [9, -14, -3, -7, 9, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'SET': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [10, -14, -3, -7, 10, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'HERMITE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [11, -14, -3, -7, 11, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'POP': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [12, -14, -3, -7, 12, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'PUSH': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [15, -14, -3, -7, 15, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'SCREEN': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [16, -14, -3, -7, 16, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), '$end': ([0, 8, 9, 12, 14, 15, 16, 21, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 41, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [-1, -14, -3, -7, -1, -8, -10, 0, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -2, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'STRING': ([3, 8, 23], [28, 28, 28]), 'TORUS': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [17, -14, -3, -7, 17, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'SPHERE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [18, -14, -3, -7, 18, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'ID': ([3, 5, 8, 10, 23, 24, 25, 59, 63, 64], [32, 32, 32, 32, 32, -39, -40, 32, 32, 32]), 'ROTATE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [19, -14, -3, -7, 19, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'INT': ([1, 2, 4, 6, 7, 11, 13, 16, 17, 18, 20, 22, 24, 25, 26, 27, 31, 32, 33, 34, 36, 38, 39, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 55, 57, 58, 60, 61, 62, 65, 66, 67, 68, 69, 71, 72, 73, 76, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 89, 90, 93, 94, 96, 97, 98, 100, 101, 102, 103, 105, 106, 107, 108, 109, 110, 111, 112], [25, 25, 25, 35, 25, 25, 25, 42, 25, 25, 25, 25, -39, -40, 25, 25, -35, -36, 25, 52, 25, 25, 25, 56, 25, 25, 25, 25, 25, 25, 25, 25, 65, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 88, 25, 25, 25, 25, 25, 94, 95, 25, 25, 25, 99, 25, 25, 25, 25, 104, 25, 25, 25, 25, 25, 25, 25, 25, 113, 114]), 'DOUBLE': ([1, 2, 4, 7, 11, 13, 17, 18, 20, 22, 24, 25, 26, 27, 31, 32, 33, 36, 38, 39, 43, 44, 45, 46, 47, 49, 50, 51, 53, 55, 57, 58, 60, 61, 62, 65, 66, 67, 68, 69, 71, 72, 73, 76, 77, 78, 79, 81, 82, 83, 85, 86, 89, 90, 93, 96, 97, 98, 100, 102, 103, 105, 106, 107, 108, 109, 110], [24, 24, 24, 24, 24, 24, 24, 24, 24, 24, -39, -40, 24, 24, -35, -36, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24]), 'XYZ': ([3, 5, 8, 10, 19, 23, 24, 25, 59, 63, 64], [31, 31, 31, 31, 45, 31, -39, -40, 31, 31, 31]), 'BEZIER': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [20, -14, -3, -7, 20, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'SET_KNOBS': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [13, -14, -3, -7, 13, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'CIRCLE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [22, -14, -3, -7, 22, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25]), 'SAVE': ([0, 8, 9, 12, 14, 15, 16, 23, 24, 25, 28, 29, 30, 31, 32, 35, 37, 40, 48, 54, 56, 59, 63, 64, 70, 74, 75, 80, 84, 87, 91, 92, 95, 99, 101, 104, 111, 112, 113, 114], [23, -14, -3, -7, 23, -8, -10, -11, -39, -40, -38, -5, -37, -35, -36, -4, -13, -16, -12, -15, -9, -34, -32, -30, -33, -31, -29, -18, -6, -20, -21, -22, -17, -19, -23, -24, -28, -26, -27, -25])}
_lr_action = {}
for (_k, _v) in _lr_action_items.items():
for (_x, _y) in zip(_v[0], _v[1]):
if not _x in _lr_action:
_lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'TEXT': ([3, 8, 23], [29, 37, 48]), 'SYMBOL': ([3, 5, 8, 10, 23, 59, 63, 64], [30, 34, 30, 38, 30, 70, 74, 75]), 'stuff': ([0, 14], [21, 41]), 'NUMBER': ([1, 2, 4, 7, 11, 13, 17, 18, 20, 22, 26, 27, 33, 36, 38, 39, 43, 44, 45, 46, 47, 49, 50, 51, 53, 55, 57, 58, 60, 61, 62, 65, 66, 67, 68, 69, 71, 72, 73, 76, 77, 78, 79, 81, 82, 83, 85, 86, 89, 90, 93, 96, 97, 98, 100, 102, 103, 105, 106, 107, 108, 109, 110], [26, 27, 33, 36, 39, 40, 43, 44, 46, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 71, 72, 73, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 96, 97, 98, 100, 101, 102, 103, 105, 106, 107, 108, 109, 110, 111, 112]), 'statement': ([0, 14], [14, 14])}
_lr_goto = {}
for (_k, _v) in _lr_goto_items.items():
for (_x, _y) in zip(_v[0], _v[1]):
if not _x in _lr_goto:
_lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [("S' -> stuff", "S'", 1, None, None, None), ('stuff -> <empty>', 'stuff', 0, 'p_stuff', '/home/aidan/graphics16/mdl.py', 131), ('stuff -> statement stuff', 'stuff', 2, 'p_stuff', '/home/aidan/graphics16/mdl.py', 132), ('statement -> COMMENT', 'statement', 1, 'p_statement_comment', '/home/aidan/graphics16/mdl.py', 136), ('statement -> FRAMES INT', 'statement', 2, 'p_statement_frames', '/home/aidan/graphics16/mdl.py', 140), ('statement -> BASENAME TEXT', 'statement', 2, 'p_statement_basename', '/home/aidan/graphics16/mdl.py', 144), ('statement -> VARY SYMBOL INT INT NUMBER NUMBER', 'statement', 6, 'p_statement_vary', '/home/aidan/graphics16/mdl.py', 148), ('statement -> POP', 'statement', 1, 'p_statement_stack', '/home/aidan/graphics16/mdl.py', 153), ('statement -> PUSH', 'statement', 1, 'p_statement_stack', '/home/aidan/graphics16/mdl.py', 154), ('statement -> SCREEN INT INT', 'statement', 3, 'p_statement_screen', '/home/aidan/graphics16/mdl.py', 158), ('statement -> SCREEN', 'statement', 1, 'p_statement_screen', '/home/aidan/graphics16/mdl.py', 159), ('statement -> SAVE', 'statement', 1, 'p_statement_save', '/home/aidan/graphics16/mdl.py', 166), ('statement -> SAVE TEXT', 'statement', 2, 'p_statement_save', '/home/aidan/graphics16/mdl.py', 167), ('statement -> DISPLAY TEXT', 'statement', 2, 'p_statement_show', '/home/aidan/graphics16/mdl.py', 174), ('statement -> DISPLAY', 'statement', 1, 'p_statement_show', '/home/aidan/graphics16/mdl.py', 175), ('statement -> SET SYMBOL NUMBER', 'statement', 3, 'p_statement_knobs', '/home/aidan/graphics16/mdl.py', 179), ('statement -> SET_KNOBS NUMBER', 'statement', 2, 'p_statement_knobs', '/home/aidan/graphics16/mdl.py', 180), ('statement -> SPHERE NUMBER NUMBER NUMBER NUMBER INT INT', 'statement', 7, 'p_statement_sphere', '/home/aidan/graphics16/mdl.py', 186), ('statement -> SPHERE NUMBER NUMBER NUMBER NUMBER', 'statement', 5, 'p_statement_sphere', '/home/aidan/graphics16/mdl.py', 187), ('statement -> TORUS NUMBER NUMBER NUMBER NUMBER NUMBER INT INT', 'statement', 8, 'p_statement_torus', '/home/aidan/graphics16/mdl.py', 194), ('statement -> TORUS NUMBER NUMBER NUMBER NUMBER NUMBER', 'statement', 6, 'p_statement_torus', '/home/aidan/graphics16/mdl.py', 195), ('statement -> BOX NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER', 'statement', 7, 'p_statement_box', '/home/aidan/graphics16/mdl.py', 202), ('statement -> LINE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER', 'statement', 7, 'p_statement_line', '/home/aidan/graphics16/mdl.py', 206), ('statement -> CIRCLE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER', 'statement', 8, 'p_statement_circle', '/home/aidan/graphics16/mdl.py', 210), ('statement -> CIRCLE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER INT', 'statement', 9, 'p_statement_circle', '/home/aidan/graphics16/mdl.py', 211), ('statement -> BEZIER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER INT', 'statement', 14, 'p_statement_curve', '/home/aidan/graphics16/mdl.py', 221), ('statement -> BEZIER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER', 'statement', 13, 'p_statement_curve', '/home/aidan/graphics16/mdl.py', 222), ('statement -> HERMITE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER INT', 'statement', 14, 'p_statement_curve', '/home/aidan/graphics16/mdl.py', 223), ('statement -> HERMITE NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER', 'statement', 13, 'p_statement_curve', '/home/aidan/graphics16/mdl.py', 224), ('statement -> MOVE NUMBER NUMBER NUMBER SYMBOL', 'statement', 5, 'p_statement_move', '/home/aidan/graphics16/mdl.py', 231), ('statement -> MOVE NUMBER NUMBER NUMBER', 'statement', 4, 'p_statement_move', '/home/aidan/graphics16/mdl.py', 232), ('statement -> SCALE NUMBER NUMBER NUMBER SYMBOL', 'statement', 5, 'p_statement_scale', '/home/aidan/graphics16/mdl.py', 240), ('statement -> SCALE NUMBER NUMBER NUMBER', 'statement', 4, 'p_statement_scale', '/home/aidan/graphics16/mdl.py', 241), ('statement -> ROTATE XYZ NUMBER SYMBOL', 'statement', 4, 'p_statement_rotate', '/home/aidan/graphics16/mdl.py', 249), ('statement -> ROTATE XYZ NUMBER', 'statement', 3, 'p_statement_rotate', '/home/aidan/graphics16/mdl.py', 250), ('SYMBOL -> XYZ', 'SYMBOL', 1, 'p_SYMBOL', '/home/aidan/graphics16/mdl.py', 258), ('SYMBOL -> ID', 'SYMBOL', 1, 'p_SYMBOL', '/home/aidan/graphics16/mdl.py', 259), ('TEXT -> SYMBOL', 'TEXT', 1, 'p_TEXT', '/home/aidan/graphics16/mdl.py', 263), ('TEXT -> STRING', 'TEXT', 1, 'p_TEXT', '/home/aidan/graphics16/mdl.py', 264), ('NUMBER -> DOUBLE', 'NUMBER', 1, 'p_NUMBER', '/home/aidan/graphics16/mdl.py', 268), ('NUMBER -> INT', 'NUMBER', 1, 'p_NUMBER', '/home/aidan/graphics16/mdl.py', 269)] |
#!/usr/bin/env python3
END_MARK = None # any singleton could be used for this
FALLBACK = '0' # text to print when there are no matches
for _ in range(int(input())):
input() # don't need n
# Build the trie.
trie = {}
for word in input().split():
cur = trie
for ch in word:
try:
cur = cur[ch]
except KeyError:
nxt = {}
cur[ch] = nxt
cur = nxt
cur[END_MARK] = word
# Define a generator to enumerate all words under a root.
def dfs(node):
try:
yield node[END_MARK]
except KeyError:
pass
for ch in sorted(key for key in node if key is not END_MARK):
yield from dfs(node[ch])
# Look up the specified word, (re)enumerating all words at each step.
for ch in input().strip():
try:
trie = trie[ch]
except TypeError: # the trie has already been discarded
print(FALLBACK)
except KeyError: # the trie does not contain this prefix
trie = None
print(FALLBACK)
else:
print(' '.join(dfs(trie)))
| end_mark = None
fallback = '0'
for _ in range(int(input())):
input()
trie = {}
for word in input().split():
cur = trie
for ch in word:
try:
cur = cur[ch]
except KeyError:
nxt = {}
cur[ch] = nxt
cur = nxt
cur[END_MARK] = word
def dfs(node):
try:
yield node[END_MARK]
except KeyError:
pass
for ch in sorted((key for key in node if key is not END_MARK)):
yield from dfs(node[ch])
for ch in input().strip():
try:
trie = trie[ch]
except TypeError:
print(FALLBACK)
except KeyError:
trie = None
print(FALLBACK)
else:
print(' '.join(dfs(trie))) |
class Solution:
def lengthOfLongestSubstring(self, s: str) -> int:
temp = []
result = 0
for i in s:
if i not in temp:
temp.append(i)
else:
result = max(result, len(temp))
temp = temp[temp.index(i)+1::]
temp.append(i)
print(temp)
result = max(result, len(temp))
return result
| class Solution:
def length_of_longest_substring(self, s: str) -> int:
temp = []
result = 0
for i in s:
if i not in temp:
temp.append(i)
else:
result = max(result, len(temp))
temp = temp[temp.index(i) + 1:]
temp.append(i)
print(temp)
result = max(result, len(temp))
return result |
followers_likes= {}
followers_comments= {}
while True:
line = input()
if line == 'Log out':
break
args = line.split(': ')
command= args[0]
username = args[1]
if command == 'New follower':
if username not in followers_likes and username not in followers_comments:
followers_comments[username] = 0
followers_likes[username] = 0
elif command == 'Like':
count = int(args[2])
if username not in followers_likes and username not in followers_comments:
followers_comments[username] = 0
followers_likes[username] = 0
followers_likes[username] += count
elif command == 'Comment':
count = 1
if username not in followers_comments and username not in followers_likes:
followers_comments[username] = count
followers_likes[username] = 0
else:
followers_comments[username] += count
elif command == 'Blocked':
if username in followers_comments and username in followers_likes:
followers_comments.pop(username)
followers_likes.pop(username)
else:
print(f"{username} doesn't exist.")
count_followers = len(followers_likes.keys())
print(f'{count_followers} followers')
sorted_followers = dict(sorted(followers_likes.items(), key=lambda x: (-x[1], x[0])))
for k, v in sorted_followers.items():
print(f'{k}: {v + followers_comments[k]}') | followers_likes = {}
followers_comments = {}
while True:
line = input()
if line == 'Log out':
break
args = line.split(': ')
command = args[0]
username = args[1]
if command == 'New follower':
if username not in followers_likes and username not in followers_comments:
followers_comments[username] = 0
followers_likes[username] = 0
elif command == 'Like':
count = int(args[2])
if username not in followers_likes and username not in followers_comments:
followers_comments[username] = 0
followers_likes[username] = 0
followers_likes[username] += count
elif command == 'Comment':
count = 1
if username not in followers_comments and username not in followers_likes:
followers_comments[username] = count
followers_likes[username] = 0
else:
followers_comments[username] += count
elif command == 'Blocked':
if username in followers_comments and username in followers_likes:
followers_comments.pop(username)
followers_likes.pop(username)
else:
print(f"{username} doesn't exist.")
count_followers = len(followers_likes.keys())
print(f'{count_followers} followers')
sorted_followers = dict(sorted(followers_likes.items(), key=lambda x: (-x[1], x[0])))
for (k, v) in sorted_followers.items():
print(f'{k}: {v + followers_comments[k]}') |
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
DEPS = [
'core',
'recipe_engine/path',
'recipe_engine/properties',
]
def RunSteps(api):
api.core.setup()
def GenTests(api):
buildername = 'Build-Win-Clang-x86_64-Release-Vulkan'
yield (
api.test('test') +
api.properties(buildername=buildername,
repository='https://skia.googlesource.com/skia.git',
revision='abc123',
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]') +
api.properties(patch_storage='gerrit') +
api.properties.tryserver(
buildername=buildername,
gerrit_project='skia',
gerrit_url='https://skia-review.googlesource.com/',
)
)
buildername = ('Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-' +
'Debug-All-ANGLE')
yield (
api.test('no_persistent_checkout') +
api.properties(buildername=buildername,
repository='https://skia.googlesource.com/skia.git',
revision='abc123',
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]') +
api.properties(patch_storage='gerrit') +
api.properties.tryserver(
buildername=buildername,
gerrit_project='skia',
gerrit_url='https://skia-review.googlesource.com/',
)
)
buildername = 'Build-Debian9-GCC-x86_64-Release-PDFium'
yield (
api.test('pdfium_trybot') +
api.properties(
repository='https://skia.googlesource.com/skia.git',
buildername=buildername,
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]',
revision='abc123',
patch_issue=500,
patch_set=1,
patch_storage='gerrit') +
api.properties.tryserver(
buildername=buildername,
gerrit_project='skia',
gerrit_url='https://skia-review.googlesource.com/',
) +
api.path.exists(
api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')
)
)
buildername = 'Build-Debian9-GCC-x86_64-Release-Flutter_Android'
yield (
api.test('flutter_trybot') +
api.properties(
repository='https://skia.googlesource.com/skia.git',
buildername=buildername,
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]',
revision='abc123',
patch_issue=500,
patch_set=1,
patch_storage='gerrit') +
api.properties.tryserver(
buildername=buildername,
gerrit_project='skia',
gerrit_url='https://skia-review.googlesource.com/',
) +
api.path.exists(
api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')
)
)
builder = 'Housekeeper-Weekly-RecreateSKPs'
yield (
api.test(builder) +
api.properties(buildername=builder,
repository='https://skia.googlesource.com/skia.git',
revision='abc123',
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]') +
api.path.exists(api.path['start_dir'].join('skp_output'))
)
buildername = 'Build-Debian9-GCC-x86_64-Release'
yield (
api.test('cross_repo_trybot') +
api.properties(
repository='https://skia.googlesource.com/parent_repo.git',
buildername=buildername,
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]',
revision='abc123',
patch_issue=500,
patch_repo='https://skia.googlesource.com/skia.git',
patch_set=1,
patch_storage='gerrit') +
api.properties.tryserver(
buildername=buildername,
gerrit_project='skia',
gerrit_url='https://skia-review.googlesource.com/',
) +
api.path.exists(
api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')
)
)
| deps = ['core', 'recipe_engine/path', 'recipe_engine/properties']
def run_steps(api):
api.core.setup()
def gen_tests(api):
buildername = 'Build-Win-Clang-x86_64-Release-Vulkan'
yield (api.test('test') + api.properties(buildername=buildername, repository='https://skia.googlesource.com/skia.git', revision='abc123', path_config='kitchen', swarm_out_dir='[SWARM_OUT_DIR]') + api.properties(patch_storage='gerrit') + api.properties.tryserver(buildername=buildername, gerrit_project='skia', gerrit_url='https://skia-review.googlesource.com/'))
buildername = 'Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-' + 'Debug-All-ANGLE'
yield (api.test('no_persistent_checkout') + api.properties(buildername=buildername, repository='https://skia.googlesource.com/skia.git', revision='abc123', path_config='kitchen', swarm_out_dir='[SWARM_OUT_DIR]') + api.properties(patch_storage='gerrit') + api.properties.tryserver(buildername=buildername, gerrit_project='skia', gerrit_url='https://skia-review.googlesource.com/'))
buildername = 'Build-Debian9-GCC-x86_64-Release-PDFium'
yield (api.test('pdfium_trybot') + api.properties(repository='https://skia.googlesource.com/skia.git', buildername=buildername, path_config='kitchen', swarm_out_dir='[SWARM_OUT_DIR]', revision='abc123', patch_issue=500, patch_set=1, patch_storage='gerrit') + api.properties.tryserver(buildername=buildername, gerrit_project='skia', gerrit_url='https://skia-review.googlesource.com/') + api.path.exists(api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')))
buildername = 'Build-Debian9-GCC-x86_64-Release-Flutter_Android'
yield (api.test('flutter_trybot') + api.properties(repository='https://skia.googlesource.com/skia.git', buildername=buildername, path_config='kitchen', swarm_out_dir='[SWARM_OUT_DIR]', revision='abc123', patch_issue=500, patch_set=1, patch_storage='gerrit') + api.properties.tryserver(buildername=buildername, gerrit_project='skia', gerrit_url='https://skia-review.googlesource.com/') + api.path.exists(api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')))
builder = 'Housekeeper-Weekly-RecreateSKPs'
yield (api.test(builder) + api.properties(buildername=builder, repository='https://skia.googlesource.com/skia.git', revision='abc123', path_config='kitchen', swarm_out_dir='[SWARM_OUT_DIR]') + api.path.exists(api.path['start_dir'].join('skp_output')))
buildername = 'Build-Debian9-GCC-x86_64-Release'
yield (api.test('cross_repo_trybot') + api.properties(repository='https://skia.googlesource.com/parent_repo.git', buildername=buildername, path_config='kitchen', swarm_out_dir='[SWARM_OUT_DIR]', revision='abc123', patch_issue=500, patch_repo='https://skia.googlesource.com/skia.git', patch_set=1, patch_storage='gerrit') + api.properties.tryserver(buildername=buildername, gerrit_project='skia', gerrit_url='https://skia-review.googlesource.com/') + api.path.exists(api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt'))) |
a=int(input("Enter a Number"))
if (a%2==0):
print(a,"Entered Number is Divisible by 2")
if(a%5==0):
print(a,"Entered Number is Divisible by 5")
else:
print(a,"Entered Number is Not Divisible by 5")
else:
print(a,"Entered Number is Not Divisible by 2")
| a = int(input('Enter a Number'))
if a % 2 == 0:
print(a, 'Entered Number is Divisible by 2')
if a % 5 == 0:
print(a, 'Entered Number is Divisible by 5')
else:
print(a, 'Entered Number is Not Divisible by 5')
else:
print(a, 'Entered Number is Not Divisible by 2') |
s = map(ord, input())
r = 0
c = 0
a = ord('a')
z = ord('z')
for x in s:
if a <= x <= z:
x -= a
r += min(abs(x - c), 26 - abs(x - c))
c = x
else:
break
print(r)
| s = map(ord, input())
r = 0
c = 0
a = ord('a')
z = ord('z')
for x in s:
if a <= x <= z:
x -= a
r += min(abs(x - c), 26 - abs(x - c))
c = x
else:
break
print(r) |
# generated by scripts/build_keyboard_adjacency_graphs.py
ADJACENCY_GRAPHS = {
"qwerty": {"!": ["`~", None, None, "2@", "qQ", None], "\"": [";:", "[{", "]}", None, None, "/?"], "#": ["2@", None, None, "4$", "eE", "wW"], "$": ["3#", None, None, "5%", "rR", "eE"], "%": ["4$", None, None, "6^", "tT", "rR"], "&": ["6^", None, None, "8*", "uU", "yY"], "'": [";:", "[{", "]}", None, None, "/?"], "(": ["8*", None, None, "0)", "oO", "iI"], ")": ["9(", None, None, "-_", "pP", "oO"], "*": ["7&", None, None, "9(", "iI", "uU"], "+": ["-_", None, None, None, "]}", "[{"], ",": ["mM", "kK", "lL", ".>", None, None], "-": ["0)", None, None, "=+", "[{", "pP"], ".": [",<", "lL", ";:", "/?", None, None], "/": [".>", ";:", "'\"", None, None, None], "0": ["9(", None, None, "-_", "pP", "oO"], "1": ["`~", None, None, "2@", "qQ", None], "2": ["1!", None, None, "3#", "wW", "qQ"], "3": ["2@", None, None, "4$", "eE", "wW"], "4": ["3#", None, None, "5%", "rR", "eE"], "5": ["4$", None, None, "6^", "tT", "rR"], "6": ["5%", None, None, "7&", "yY", "tT"], "7": ["6^", None, None, "8*", "uU", "yY"], "8": ["7&", None, None, "9(", "iI", "uU"], "9": ["8*", None, None, "0)", "oO", "iI"], ":": ["lL", "pP", "[{", "'\"", "/?", ".>"], ";": ["lL", "pP", "[{", "'\"", "/?", ".>"], "<": ["mM", "kK", "lL", ".>", None, None], "=": ["-_", None, None, None, "]}", "[{"], ">": [",<", "lL", ";:", "/?", None, None], "?": [".>", ";:", "'\"", None, None, None], "@": ["1!", None, None, "3#", "wW", "qQ"], "A": [None, "qQ", "wW", "sS", "zZ", None], "B": ["vV", "gG", "hH", "nN", None, None], "C": ["xX", "dD", "fF", "vV", None, None], "D": ["sS", "eE", "rR", "fF", "cC", "xX"], "E": ["wW", "3#", "4$", "rR", "dD", "sS"], "F": ["dD", "rR", "tT", "gG", "vV", "cC"], "G": ["fF", "tT", "yY", "hH", "bB", "vV"], "H": ["gG", "yY", "uU", "jJ", "nN", "bB"], "I": ["uU", "8*", "9(", "oO", "kK", "jJ"], "J": ["hH", "uU", "iI", "kK", "mM", "nN"], "K": ["jJ", "iI", "oO", "lL", ",<", "mM"], "L": ["kK", "oO", "pP", ";:", ".>", ",<"], "M": ["nN", "jJ", "kK", ",<", None, None], "N": ["bB", "hH", "jJ", "mM", None, None], "O": ["iI", "9(", "0)", "pP", "lL", "kK"], "P": ["oO", "0)", "-_", "[{", ";:", "lL"], "Q": [None, "1!", "2@", "wW", "aA", None], "R": ["eE", "4$", "5%", "tT", "fF", "dD"], "S": ["aA", "wW", "eE", "dD", "xX", "zZ"], "T": ["rR", "5%", "6^", "yY", "gG", "fF"], "U": ["yY", "7&", "8*", "iI", "jJ", "hH"], "V": ["cC", "fF", "gG", "bB", None, None], "W": ["qQ", "2@", "3#", "eE", "sS", "aA"], "X": ["zZ", "sS", "dD", "cC", None, None], "Y": ["tT", "6^", "7&", "uU", "hH", "gG"], "Z": [None, "aA", "sS", "xX", None, None], "[": ["pP", "-_", "=+", "]}", "'\"", ";:"], "\\": ["]}", None, None, None, None, None], "]": ["[{", "=+", None, "\\|", None, "'\""], "^": ["5%", None, None, "7&", "yY", "tT"], "_": ["0)", None, None, "=+", "[{", "pP"], "`": [None, None, None, "1!", None, None], "a": [None, "qQ", "wW", "sS", "zZ", None], "b": ["vV", "gG", "hH", "nN", None, None], "c": ["xX", "dD", "fF", "vV", None, None], "d": ["sS", "eE", "rR", "fF", "cC", "xX"], "e": ["wW", "3#", "4$", "rR", "dD", "sS"], "f": ["dD", "rR", "tT", "gG", "vV", "cC"], "g": ["fF", "tT", "yY", "hH", "bB", "vV"], "h": ["gG", "yY", "uU", "jJ", "nN", "bB"], "i": ["uU", "8*", "9(", "oO", "kK", "jJ"], "j": ["hH", "uU", "iI", "kK", "mM", "nN"], "k": ["jJ", "iI", "oO", "lL", ",<", "mM"], "l": ["kK", "oO", "pP", ";:", ".>", ",<"], "m": ["nN", "jJ", "kK", ",<", None, None], "n": ["bB", "hH", "jJ", "mM", None, None], "o": ["iI", "9(", "0)", "pP", "lL", "kK"], "p": ["oO", "0)", "-_", "[{", ";:", "lL"], "q": [None, "1!", "2@", "wW", "aA", None], "r": ["eE", "4$", "5%", "tT", "fF", "dD"], "s": ["aA", "wW", "eE", "dD", "xX", "zZ"], "t": ["rR", "5%", "6^", "yY", "gG", "fF"], "u": ["yY", "7&", "8*", "iI", "jJ", "hH"], "v": ["cC", "fF", "gG", "bB", None, None], "w": ["qQ", "2@", "3#", "eE", "sS", "aA"], "x": ["zZ", "sS", "dD", "cC", None, None], "y": ["tT", "6^", "7&", "uU", "hH", "gG"], "z": [None, "aA", "sS", "xX", None, None], "{": ["pP", "-_", "=+", "]}", "'\"", ";:"], "|": ["]}", None, None, None, None, None], "}": ["[{", "=+", None, "\\|", None, "'\""], "~": [None, None, None, "1!", None, None]},
"dvorak": {"!": ["`~", None, None, "2@", "'\"", None], "\"": [None, "1!", "2@", ",<", "aA", None], "#": ["2@", None, None, "4$", ".>", ",<"], "$": ["3#", None, None, "5%", "pP", ".>"], "%": ["4$", None, None, "6^", "yY", "pP"], "&": ["6^", None, None, "8*", "gG", "fF"], "'": [None, "1!", "2@", ",<", "aA", None], "(": ["8*", None, None, "0)", "rR", "cC"], ")": ["9(", None, None, "[{", "lL", "rR"], "*": ["7&", None, None, "9(", "cC", "gG"], "+": ["/?", "]}", None, "\\|", None, "-_"], ",": ["'\"", "2@", "3#", ".>", "oO", "aA"], "-": ["sS", "/?", "=+", None, None, "zZ"], ".": [",<", "3#", "4$", "pP", "eE", "oO"], "/": ["lL", "[{", "]}", "=+", "-_", "sS"], "0": ["9(", None, None, "[{", "lL", "rR"], "1": ["`~", None, None, "2@", "'\"", None], "2": ["1!", None, None, "3#", ",<", "'\""], "3": ["2@", None, None, "4$", ".>", ",<"], "4": ["3#", None, None, "5%", "pP", ".>"], "5": ["4$", None, None, "6^", "yY", "pP"], "6": ["5%", None, None, "7&", "fF", "yY"], "7": ["6^", None, None, "8*", "gG", "fF"], "8": ["7&", None, None, "9(", "cC", "gG"], "9": ["8*", None, None, "0)", "rR", "cC"], ":": [None, "aA", "oO", "qQ", None, None], ";": [None, "aA", "oO", "qQ", None, None], "<": ["'\"", "2@", "3#", ".>", "oO", "aA"], "=": ["/?", "]}", None, "\\|", None, "-_"], ">": [",<", "3#", "4$", "pP", "eE", "oO"], "?": ["lL", "[{", "]}", "=+", "-_", "sS"], "@": ["1!", None, None, "3#", ",<", "'\""], "A": [None, "'\"", ",<", "oO", ";:", None], "B": ["xX", "dD", "hH", "mM", None, None], "C": ["gG", "8*", "9(", "rR", "tT", "hH"], "D": ["iI", "fF", "gG", "hH", "bB", "xX"], "E": ["oO", ".>", "pP", "uU", "jJ", "qQ"], "F": ["yY", "6^", "7&", "gG", "dD", "iI"], "G": ["fF", "7&", "8*", "cC", "hH", "dD"], "H": ["dD", "gG", "cC", "tT", "mM", "bB"], "I": ["uU", "yY", "fF", "dD", "xX", "kK"], "J": ["qQ", "eE", "uU", "kK", None, None], "K": ["jJ", "uU", "iI", "xX", None, None], "L": ["rR", "0)", "[{", "/?", "sS", "nN"], "M": ["bB", "hH", "tT", "wW", None, None], "N": ["tT", "rR", "lL", "sS", "vV", "wW"], "O": ["aA", ",<", ".>", "eE", "qQ", ";:"], "P": [".>", "4$", "5%", "yY", "uU", "eE"], "Q": [";:", "oO", "eE", "jJ", None, None], "R": ["cC", "9(", "0)", "lL", "nN", "tT"], "S": ["nN", "lL", "/?", "-_", "zZ", "vV"], "T": ["hH", "cC", "rR", "nN", "wW", "mM"], "U": ["eE", "pP", "yY", "iI", "kK", "jJ"], "V": ["wW", "nN", "sS", "zZ", None, None], "W": ["mM", "tT", "nN", "vV", None, None], "X": ["kK", "iI", "dD", "bB", None, None], "Y": ["pP", "5%", "6^", "fF", "iI", "uU"], "Z": ["vV", "sS", "-_", None, None, None], "[": ["0)", None, None, "]}", "/?", "lL"], "\\": ["=+", None, None, None, None, None], "]": ["[{", None, None, None, "=+", "/?"], "^": ["5%", None, None, "7&", "fF", "yY"], "_": ["sS", "/?", "=+", None, None, "zZ"], "`": [None, None, None, "1!", None, None], "a": [None, "'\"", ",<", "oO", ";:", None], "b": ["xX", "dD", "hH", "mM", None, None], "c": ["gG", "8*", "9(", "rR", "tT", "hH"], "d": ["iI", "fF", "gG", "hH", "bB", "xX"], "e": ["oO", ".>", "pP", "uU", "jJ", "qQ"], "f": ["yY", "6^", "7&", "gG", "dD", "iI"], "g": ["fF", "7&", "8*", "cC", "hH", "dD"], "h": ["dD", "gG", "cC", "tT", "mM", "bB"], "i": ["uU", "yY", "fF", "dD", "xX", "kK"], "j": ["qQ", "eE", "uU", "kK", None, None], "k": ["jJ", "uU", "iI", "xX", None, None], "l": ["rR", "0)", "[{", "/?", "sS", "nN"], "m": ["bB", "hH", "tT", "wW", None, None], "n": ["tT", "rR", "lL", "sS", "vV", "wW"], "o": ["aA", ",<", ".>", "eE", "qQ", ";:"], "p": [".>", "4$", "5%", "yY", "uU", "eE"], "q": [";:", "oO", "eE", "jJ", None, None], "r": ["cC", "9(", "0)", "lL", "nN", "tT"], "s": ["nN", "lL", "/?", "-_", "zZ", "vV"], "t": ["hH", "cC", "rR", "nN", "wW", "mM"], "u": ["eE", "pP", "yY", "iI", "kK", "jJ"], "v": ["wW", "nN", "sS", "zZ", None, None], "w": ["mM", "tT", "nN", "vV", None, None], "x": ["kK", "iI", "dD", "bB", None, None], "y": ["pP", "5%", "6^", "fF", "iI", "uU"], "z": ["vV", "sS", "-_", None, None, None], "{": ["0)", None, None, "]}", "/?", "lL"], "|": ["=+", None, None, None, None, None], "}": ["[{", None, None, None, "=+", "/?"], "~": [None, None, None, "1!", None, None]},
"keypad": {"*": ["/", None, None, None, "-", "+", "9", "8"], "+": ["9", "*", "-", None, None, None, None, "6"], "-": ["*", None, None, None, None, None, "+", "9"], ".": ["0", "2", "3", None, None, None, None, None], "/": [None, None, None, None, "*", "9", "8", "7"], "0": [None, "1", "2", "3", ".", None, None, None], "1": [None, None, "4", "5", "2", "0", None, None], "2": ["1", "4", "5", "6", "3", ".", "0", None], "3": ["2", "5", "6", None, None, None, ".", "0"], "4": [None, None, "7", "8", "5", "2", "1", None], "5": ["4", "7", "8", "9", "6", "3", "2", "1"], "6": ["5", "8", "9", "+", None, None, "3", "2"], "7": [None, None, None, "/", "8", "5", "4", None], "8": ["7", None, "/", "*", "9", "6", "5", "4"], "9": ["8", "/", "*", "-", "+", None, "6", "5"]},
"mac_keypad": {"*": ["/", None, None, None, None, None, "-", "9"], "+": ["6", "9", "-", None, None, None, None, "3"], "-": ["9", "/", "*", None, None, None, "+", "6"], ".": ["0", "2", "3", None, None, None, None, None], "/": ["=", None, None, None, "*", "-", "9", "8"], "0": [None, "1", "2", "3", ".", None, None, None], "1": [None, None, "4", "5", "2", "0", None, None], "2": ["1", "4", "5", "6", "3", ".", "0", None], "3": ["2", "5", "6", "+", None, None, ".", "0"], "4": [None, None, "7", "8", "5", "2", "1", None], "5": ["4", "7", "8", "9", "6", "3", "2", "1"], "6": ["5", "8", "9", "-", "+", None, "3", "2"], "7": [None, None, None, "=", "8", "5", "4", None], "8": ["7", None, "=", "/", "9", "6", "5", "4"], "9": ["8", "=", "/", "*", "-", "+", "6", "5"], "=": [None, None, None, None, "/", "9", "8", "7"]}
} | adjacency_graphs = {'qwerty': {'!': ['`~', None, None, '2@', 'qQ', None], '"': [';:', '[{', ']}', None, None, '/?'], '#': ['2@', None, None, '4$', 'eE', 'wW'], '$': ['3#', None, None, '5%', 'rR', 'eE'], '%': ['4$', None, None, '6^', 'tT', 'rR'], '&': ['6^', None, None, '8*', 'uU', 'yY'], "'": [';:', '[{', ']}', None, None, '/?'], '(': ['8*', None, None, '0)', 'oO', 'iI'], ')': ['9(', None, None, '-_', 'pP', 'oO'], '*': ['7&', None, None, '9(', 'iI', 'uU'], '+': ['-_', None, None, None, ']}', '[{'], ',': ['mM', 'kK', 'lL', '.>', None, None], '-': ['0)', None, None, '=+', '[{', 'pP'], '.': [',<', 'lL', ';:', '/?', None, None], '/': ['.>', ';:', '\'"', None, None, None], '0': ['9(', None, None, '-_', 'pP', 'oO'], '1': ['`~', None, None, '2@', 'qQ', None], '2': ['1!', None, None, '3#', 'wW', 'qQ'], '3': ['2@', None, None, '4$', 'eE', 'wW'], '4': ['3#', None, None, '5%', 'rR', 'eE'], '5': ['4$', None, None, '6^', 'tT', 'rR'], '6': ['5%', None, None, '7&', 'yY', 'tT'], '7': ['6^', None, None, '8*', 'uU', 'yY'], '8': ['7&', None, None, '9(', 'iI', 'uU'], '9': ['8*', None, None, '0)', 'oO', 'iI'], ':': ['lL', 'pP', '[{', '\'"', '/?', '.>'], ';': ['lL', 'pP', '[{', '\'"', '/?', '.>'], '<': ['mM', 'kK', 'lL', '.>', None, None], '=': ['-_', None, None, None, ']}', '[{'], '>': [',<', 'lL', ';:', '/?', None, None], '?': ['.>', ';:', '\'"', None, None, None], '@': ['1!', None, None, '3#', 'wW', 'qQ'], 'A': [None, 'qQ', 'wW', 'sS', 'zZ', None], 'B': ['vV', 'gG', 'hH', 'nN', None, None], 'C': ['xX', 'dD', 'fF', 'vV', None, None], 'D': ['sS', 'eE', 'rR', 'fF', 'cC', 'xX'], 'E': ['wW', '3#', '4$', 'rR', 'dD', 'sS'], 'F': ['dD', 'rR', 'tT', 'gG', 'vV', 'cC'], 'G': ['fF', 'tT', 'yY', 'hH', 'bB', 'vV'], 'H': ['gG', 'yY', 'uU', 'jJ', 'nN', 'bB'], 'I': ['uU', '8*', '9(', 'oO', 'kK', 'jJ'], 'J': ['hH', 'uU', 'iI', 'kK', 'mM', 'nN'], 'K': ['jJ', 'iI', 'oO', 'lL', ',<', 'mM'], 'L': ['kK', 'oO', 'pP', ';:', '.>', ',<'], 'M': ['nN', 'jJ', 'kK', ',<', None, None], 'N': ['bB', 'hH', 'jJ', 'mM', None, None], 'O': ['iI', '9(', '0)', 'pP', 'lL', 'kK'], 'P': ['oO', '0)', '-_', '[{', ';:', 'lL'], 'Q': [None, '1!', '2@', 'wW', 'aA', None], 'R': ['eE', '4$', '5%', 'tT', 'fF', 'dD'], 'S': ['aA', 'wW', 'eE', 'dD', 'xX', 'zZ'], 'T': ['rR', '5%', '6^', 'yY', 'gG', 'fF'], 'U': ['yY', '7&', '8*', 'iI', 'jJ', 'hH'], 'V': ['cC', 'fF', 'gG', 'bB', None, None], 'W': ['qQ', '2@', '3#', 'eE', 'sS', 'aA'], 'X': ['zZ', 'sS', 'dD', 'cC', None, None], 'Y': ['tT', '6^', '7&', 'uU', 'hH', 'gG'], 'Z': [None, 'aA', 'sS', 'xX', None, None], '[': ['pP', '-_', '=+', ']}', '\'"', ';:'], '\\': [']}', None, None, None, None, None], ']': ['[{', '=+', None, '\\|', None, '\'"'], '^': ['5%', None, None, '7&', 'yY', 'tT'], '_': ['0)', None, None, '=+', '[{', 'pP'], '`': [None, None, None, '1!', None, None], 'a': [None, 'qQ', 'wW', 'sS', 'zZ', None], 'b': ['vV', 'gG', 'hH', 'nN', None, None], 'c': ['xX', 'dD', 'fF', 'vV', None, None], 'd': ['sS', 'eE', 'rR', 'fF', 'cC', 'xX'], 'e': ['wW', '3#', '4$', 'rR', 'dD', 'sS'], 'f': ['dD', 'rR', 'tT', 'gG', 'vV', 'cC'], 'g': ['fF', 'tT', 'yY', 'hH', 'bB', 'vV'], 'h': ['gG', 'yY', 'uU', 'jJ', 'nN', 'bB'], 'i': ['uU', '8*', '9(', 'oO', 'kK', 'jJ'], 'j': ['hH', 'uU', 'iI', 'kK', 'mM', 'nN'], 'k': ['jJ', 'iI', 'oO', 'lL', ',<', 'mM'], 'l': ['kK', 'oO', 'pP', ';:', '.>', ',<'], 'm': ['nN', 'jJ', 'kK', ',<', None, None], 'n': ['bB', 'hH', 'jJ', 'mM', None, None], 'o': ['iI', '9(', '0)', 'pP', 'lL', 'kK'], 'p': ['oO', '0)', '-_', '[{', ';:', 'lL'], 'q': [None, '1!', '2@', 'wW', 'aA', None], 'r': ['eE', '4$', '5%', 'tT', 'fF', 'dD'], 's': ['aA', 'wW', 'eE', 'dD', 'xX', 'zZ'], 't': ['rR', '5%', '6^', 'yY', 'gG', 'fF'], 'u': ['yY', '7&', '8*', 'iI', 'jJ', 'hH'], 'v': ['cC', 'fF', 'gG', 'bB', None, None], 'w': ['qQ', '2@', '3#', 'eE', 'sS', 'aA'], 'x': ['zZ', 'sS', 'dD', 'cC', None, None], 'y': ['tT', '6^', '7&', 'uU', 'hH', 'gG'], 'z': [None, 'aA', 'sS', 'xX', None, None], '{': ['pP', '-_', '=+', ']}', '\'"', ';:'], '|': [']}', None, None, None, None, None], '}': ['[{', '=+', None, '\\|', None, '\'"'], '~': [None, None, None, '1!', None, None]}, 'dvorak': {'!': ['`~', None, None, '2@', '\'"', None], '"': [None, '1!', '2@', ',<', 'aA', None], '#': ['2@', None, None, '4$', '.>', ',<'], '$': ['3#', None, None, '5%', 'pP', '.>'], '%': ['4$', None, None, '6^', 'yY', 'pP'], '&': ['6^', None, None, '8*', 'gG', 'fF'], "'": [None, '1!', '2@', ',<', 'aA', None], '(': ['8*', None, None, '0)', 'rR', 'cC'], ')': ['9(', None, None, '[{', 'lL', 'rR'], '*': ['7&', None, None, '9(', 'cC', 'gG'], '+': ['/?', ']}', None, '\\|', None, '-_'], ',': ['\'"', '2@', '3#', '.>', 'oO', 'aA'], '-': ['sS', '/?', '=+', None, None, 'zZ'], '.': [',<', '3#', '4$', 'pP', 'eE', 'oO'], '/': ['lL', '[{', ']}', '=+', '-_', 'sS'], '0': ['9(', None, None, '[{', 'lL', 'rR'], '1': ['`~', None, None, '2@', '\'"', None], '2': ['1!', None, None, '3#', ',<', '\'"'], '3': ['2@', None, None, '4$', '.>', ',<'], '4': ['3#', None, None, '5%', 'pP', '.>'], '5': ['4$', None, None, '6^', 'yY', 'pP'], '6': ['5%', None, None, '7&', 'fF', 'yY'], '7': ['6^', None, None, '8*', 'gG', 'fF'], '8': ['7&', None, None, '9(', 'cC', 'gG'], '9': ['8*', None, None, '0)', 'rR', 'cC'], ':': [None, 'aA', 'oO', 'qQ', None, None], ';': [None, 'aA', 'oO', 'qQ', None, None], '<': ['\'"', '2@', '3#', '.>', 'oO', 'aA'], '=': ['/?', ']}', None, '\\|', None, '-_'], '>': [',<', '3#', '4$', 'pP', 'eE', 'oO'], '?': ['lL', '[{', ']}', '=+', '-_', 'sS'], '@': ['1!', None, None, '3#', ',<', '\'"'], 'A': [None, '\'"', ',<', 'oO', ';:', None], 'B': ['xX', 'dD', 'hH', 'mM', None, None], 'C': ['gG', '8*', '9(', 'rR', 'tT', 'hH'], 'D': ['iI', 'fF', 'gG', 'hH', 'bB', 'xX'], 'E': ['oO', '.>', 'pP', 'uU', 'jJ', 'qQ'], 'F': ['yY', '6^', '7&', 'gG', 'dD', 'iI'], 'G': ['fF', '7&', '8*', 'cC', 'hH', 'dD'], 'H': ['dD', 'gG', 'cC', 'tT', 'mM', 'bB'], 'I': ['uU', 'yY', 'fF', 'dD', 'xX', 'kK'], 'J': ['qQ', 'eE', 'uU', 'kK', None, None], 'K': ['jJ', 'uU', 'iI', 'xX', None, None], 'L': ['rR', '0)', '[{', '/?', 'sS', 'nN'], 'M': ['bB', 'hH', 'tT', 'wW', None, None], 'N': ['tT', 'rR', 'lL', 'sS', 'vV', 'wW'], 'O': ['aA', ',<', '.>', 'eE', 'qQ', ';:'], 'P': ['.>', '4$', '5%', 'yY', 'uU', 'eE'], 'Q': [';:', 'oO', 'eE', 'jJ', None, None], 'R': ['cC', '9(', '0)', 'lL', 'nN', 'tT'], 'S': ['nN', 'lL', '/?', '-_', 'zZ', 'vV'], 'T': ['hH', 'cC', 'rR', 'nN', 'wW', 'mM'], 'U': ['eE', 'pP', 'yY', 'iI', 'kK', 'jJ'], 'V': ['wW', 'nN', 'sS', 'zZ', None, None], 'W': ['mM', 'tT', 'nN', 'vV', None, None], 'X': ['kK', 'iI', 'dD', 'bB', None, None], 'Y': ['pP', '5%', '6^', 'fF', 'iI', 'uU'], 'Z': ['vV', 'sS', '-_', None, None, None], '[': ['0)', None, None, ']}', '/?', 'lL'], '\\': ['=+', None, None, None, None, None], ']': ['[{', None, None, None, '=+', '/?'], '^': ['5%', None, None, '7&', 'fF', 'yY'], '_': ['sS', '/?', '=+', None, None, 'zZ'], '`': [None, None, None, '1!', None, None], 'a': [None, '\'"', ',<', 'oO', ';:', None], 'b': ['xX', 'dD', 'hH', 'mM', None, None], 'c': ['gG', '8*', '9(', 'rR', 'tT', 'hH'], 'd': ['iI', 'fF', 'gG', 'hH', 'bB', 'xX'], 'e': ['oO', '.>', 'pP', 'uU', 'jJ', 'qQ'], 'f': ['yY', '6^', '7&', 'gG', 'dD', 'iI'], 'g': ['fF', '7&', '8*', 'cC', 'hH', 'dD'], 'h': ['dD', 'gG', 'cC', 'tT', 'mM', 'bB'], 'i': ['uU', 'yY', 'fF', 'dD', 'xX', 'kK'], 'j': ['qQ', 'eE', 'uU', 'kK', None, None], 'k': ['jJ', 'uU', 'iI', 'xX', None, None], 'l': ['rR', '0)', '[{', '/?', 'sS', 'nN'], 'm': ['bB', 'hH', 'tT', 'wW', None, None], 'n': ['tT', 'rR', 'lL', 'sS', 'vV', 'wW'], 'o': ['aA', ',<', '.>', 'eE', 'qQ', ';:'], 'p': ['.>', '4$', '5%', 'yY', 'uU', 'eE'], 'q': [';:', 'oO', 'eE', 'jJ', None, None], 'r': ['cC', '9(', '0)', 'lL', 'nN', 'tT'], 's': ['nN', 'lL', '/?', '-_', 'zZ', 'vV'], 't': ['hH', 'cC', 'rR', 'nN', 'wW', 'mM'], 'u': ['eE', 'pP', 'yY', 'iI', 'kK', 'jJ'], 'v': ['wW', 'nN', 'sS', 'zZ', None, None], 'w': ['mM', 'tT', 'nN', 'vV', None, None], 'x': ['kK', 'iI', 'dD', 'bB', None, None], 'y': ['pP', '5%', '6^', 'fF', 'iI', 'uU'], 'z': ['vV', 'sS', '-_', None, None, None], '{': ['0)', None, None, ']}', '/?', 'lL'], '|': ['=+', None, None, None, None, None], '}': ['[{', None, None, None, '=+', '/?'], '~': [None, None, None, '1!', None, None]}, 'keypad': {'*': ['/', None, None, None, '-', '+', '9', '8'], '+': ['9', '*', '-', None, None, None, None, '6'], '-': ['*', None, None, None, None, None, '+', '9'], '.': ['0', '2', '3', None, None, None, None, None], '/': [None, None, None, None, '*', '9', '8', '7'], '0': [None, '1', '2', '3', '.', None, None, None], '1': [None, None, '4', '5', '2', '0', None, None], '2': ['1', '4', '5', '6', '3', '.', '0', None], '3': ['2', '5', '6', None, None, None, '.', '0'], '4': [None, None, '7', '8', '5', '2', '1', None], '5': ['4', '7', '8', '9', '6', '3', '2', '1'], '6': ['5', '8', '9', '+', None, None, '3', '2'], '7': [None, None, None, '/', '8', '5', '4', None], '8': ['7', None, '/', '*', '9', '6', '5', '4'], '9': ['8', '/', '*', '-', '+', None, '6', '5']}, 'mac_keypad': {'*': ['/', None, None, None, None, None, '-', '9'], '+': ['6', '9', '-', None, None, None, None, '3'], '-': ['9', '/', '*', None, None, None, '+', '6'], '.': ['0', '2', '3', None, None, None, None, None], '/': ['=', None, None, None, '*', '-', '9', '8'], '0': [None, '1', '2', '3', '.', None, None, None], '1': [None, None, '4', '5', '2', '0', None, None], '2': ['1', '4', '5', '6', '3', '.', '0', None], '3': ['2', '5', '6', '+', None, None, '.', '0'], '4': [None, None, '7', '8', '5', '2', '1', None], '5': ['4', '7', '8', '9', '6', '3', '2', '1'], '6': ['5', '8', '9', '-', '+', None, '3', '2'], '7': [None, None, None, '=', '8', '5', '4', None], '8': ['7', None, '=', '/', '9', '6', '5', '4'], '9': ['8', '=', '/', '*', '-', '+', '6', '5'], '=': [None, None, None, None, '/', '9', '8', '7']}} |
class Solution:
def __init__(self, rects):
self.rects, self.ranges, sm = rects, [], 0
for x1, y1, x2, y2 in rects:
sm += (x2 - x1 + 1) * (y2 - y1 + 1)
self.ranges.append(sm)
def pick(self):
x1, y1, x2, y2 = self.rects[bisect.bisect_left(self.ranges, random.randint(1, self.ranges[-1]))]
return [random.randint(x1, x2), random.randint(y1, y2)] | class Solution:
def __init__(self, rects):
(self.rects, self.ranges, sm) = (rects, [], 0)
for (x1, y1, x2, y2) in rects:
sm += (x2 - x1 + 1) * (y2 - y1 + 1)
self.ranges.append(sm)
def pick(self):
(x1, y1, x2, y2) = self.rects[bisect.bisect_left(self.ranges, random.randint(1, self.ranges[-1]))]
return [random.randint(x1, x2), random.randint(y1, y2)] |
class FoldrNode(object):
def __init__(self, depth, code):
'''
>>> node = FoldrNode(0,'aaa')
>>> node.add(FoldrNode(1,'bbb'))
>>> node.add(FoldrNode(2,'ccc'))
>>> node.depth
0
>>> node.code
'aaa'
>>> node.parent
'''
self.depth = depth
self.code = code
self.parent = None
self.children = []
def add(self, child):
'''
>>> node1 = FoldrNode(0,'aaa')
>>> node2 = FoldrNode(1,'bbb')
>>> node1.add(node2)
>>> node1.children[0] == node2
True
>>> node2.parent == node1
True
'''
child.parent = self
self.children.append(child)
def simplify(head):
'''
>>> head = FoldrNode(0,'aaa')
>>> head.add(FoldrNode(1,'bbb'))
>>> head.add(FoldrNode(2,'ccc'))
>>> simplify(head)
['aaa', [['bbb', []], ['ccc', []]]]
'''
resp = [head.code, []]
for node in head.children:
resp[1].append(simplify(node))
return resp
def from_list(lines, simple=False):
'''
>>> data = [(0,'aaa'),
... (1,'bbb'),
... (2,'ccc'),
... (1,'ddd'),
... (2,'eee'),
... (2,'fff')]
>>> r = from_list(data,simple=True)
>>> r == [['aaa',
... [['bbb',
... [['ccc', []]]],
... ['ddd',
... [['eee', []],
... ['fff', []]]]]]]
True
'''
root = FoldrNode(-4, '')
ptr = root
for depth, code in lines:
line = FoldrNode(depth, code)
if line.depth > ptr.depth:
ptr.add(line)
ptr = ptr.children[-1]
elif line.depth == ptr.depth:
ptr = ptr.parent
ptr.add(line)
ptr = ptr.children[-1]
else:
while line.depth < ptr.depth:
ptr = ptr.parent
ptr = ptr.parent
ptr.add(line)
ptr = ptr.children[-1]
if simple:
return [simplify(c) for c in root.children]
# else:
return [c for c in root.children]
def from_attribute(lines, attr, simple=False):
data = []
for line in lines:
try:
data.append((getattr(line, attr), line))
except AttributeError:
# TODO: anything
pass
return from_list(data, simple)
def from_method(lines, attr, simple=False):
data = []
for line in lines:
try:
data.append((getattr(line, attr)(), line))
except AttributeError:
# TODO: anything
pass
return from_list(data,simple)
def collapse_chars(s):
if s == []:
return s
during = [s.pop(0)]
while s != []:
if isinstance(during[-1], str) and isinstance(s[0], str):
during[-1] += s.pop(0)
else:
during.append(s.pop(0))
return during
# TODO: optimize
def lisp(line, char=None):
if not char:
start, finish = '(', ')'
else:
start, finish = char
line = list(line)
assert line.count(start) == line.count(finish)
while start in line:
last = None
i = 0
while True:
if i >= len(line):
break
if line[i] == start:
last = i
if line[i] == finish:
break
i += 1
if i >= len(line):
break
if last != None:
before = line[:last]
during = collapse_chars(line[last+1:i])
after = line[i+1:]
line = before+[during]+after
return collapse_chars(line)
| class Foldrnode(object):
def __init__(self, depth, code):
"""
>>> node = FoldrNode(0,'aaa')
>>> node.add(FoldrNode(1,'bbb'))
>>> node.add(FoldrNode(2,'ccc'))
>>> node.depth
0
>>> node.code
'aaa'
>>> node.parent
"""
self.depth = depth
self.code = code
self.parent = None
self.children = []
def add(self, child):
"""
>>> node1 = FoldrNode(0,'aaa')
>>> node2 = FoldrNode(1,'bbb')
>>> node1.add(node2)
>>> node1.children[0] == node2
True
>>> node2.parent == node1
True
"""
child.parent = self
self.children.append(child)
def simplify(head):
"""
>>> head = FoldrNode(0,'aaa')
>>> head.add(FoldrNode(1,'bbb'))
>>> head.add(FoldrNode(2,'ccc'))
>>> simplify(head)
['aaa', [['bbb', []], ['ccc', []]]]
"""
resp = [head.code, []]
for node in head.children:
resp[1].append(simplify(node))
return resp
def from_list(lines, simple=False):
"""
>>> data = [(0,'aaa'),
... (1,'bbb'),
... (2,'ccc'),
... (1,'ddd'),
... (2,'eee'),
... (2,'fff')]
>>> r = from_list(data,simple=True)
>>> r == [['aaa',
... [['bbb',
... [['ccc', []]]],
... ['ddd',
... [['eee', []],
... ['fff', []]]]]]]
True
"""
root = foldr_node(-4, '')
ptr = root
for (depth, code) in lines:
line = foldr_node(depth, code)
if line.depth > ptr.depth:
ptr.add(line)
ptr = ptr.children[-1]
elif line.depth == ptr.depth:
ptr = ptr.parent
ptr.add(line)
ptr = ptr.children[-1]
else:
while line.depth < ptr.depth:
ptr = ptr.parent
ptr = ptr.parent
ptr.add(line)
ptr = ptr.children[-1]
if simple:
return [simplify(c) for c in root.children]
return [c for c in root.children]
def from_attribute(lines, attr, simple=False):
data = []
for line in lines:
try:
data.append((getattr(line, attr), line))
except AttributeError:
pass
return from_list(data, simple)
def from_method(lines, attr, simple=False):
data = []
for line in lines:
try:
data.append((getattr(line, attr)(), line))
except AttributeError:
pass
return from_list(data, simple)
def collapse_chars(s):
if s == []:
return s
during = [s.pop(0)]
while s != []:
if isinstance(during[-1], str) and isinstance(s[0], str):
during[-1] += s.pop(0)
else:
during.append(s.pop(0))
return during
def lisp(line, char=None):
if not char:
(start, finish) = ('(', ')')
else:
(start, finish) = char
line = list(line)
assert line.count(start) == line.count(finish)
while start in line:
last = None
i = 0
while True:
if i >= len(line):
break
if line[i] == start:
last = i
if line[i] == finish:
break
i += 1
if i >= len(line):
break
if last != None:
before = line[:last]
during = collapse_chars(line[last + 1:i])
after = line[i + 1:]
line = before + [during] + after
return collapse_chars(line) |
class Common(object):
def __init__(self):
pass
def start(self, f, title):
f.writelines("[TITLE]\n")
f.writelines(title)
f.writelines("\n")
f.writelines("\n")
def end(self, f):
f.writelines("[END]")
f.writelines("\n")
def export_tags(self, f):
tmp = "./templates/tags_template.inp"
with open(tmp, 'r') as tmp:
for line in tmp:
f.writelines(line)
f.writelines("\n")
def export_options(self, f):
tmp = "./templates/options_template.inp"
with open(tmp, 'r') as tmp:
for line in tmp:
f.writelines(line)
f.writelines("\n")
f.writelines("\n")
| class Common(object):
def __init__(self):
pass
def start(self, f, title):
f.writelines('[TITLE]\n')
f.writelines(title)
f.writelines('\n')
f.writelines('\n')
def end(self, f):
f.writelines('[END]')
f.writelines('\n')
def export_tags(self, f):
tmp = './templates/tags_template.inp'
with open(tmp, 'r') as tmp:
for line in tmp:
f.writelines(line)
f.writelines('\n')
def export_options(self, f):
tmp = './templates/options_template.inp'
with open(tmp, 'r') as tmp:
for line in tmp:
f.writelines(line)
f.writelines('\n')
f.writelines('\n') |
# Flask settings
DEBUG = False
SQLALCHEMY_DATABASE_URI = "sqlite:///hortiradar.sqlite"
CSRF_ENABLED = True
# Flask-Babel
BABEL_DEFAULT_LOCALE = "nl"
# Flask-Mail settings
MAIL_USERNAME = "noreply@acba.labs.vu.nl"
MAIL_DEFAULT_SENDER = '"Hortiradar" <noreply@acba.labs.vu.nl>'
MAIL_SERVER = "localhost"
MAIL_PORT = 25
# MAIL_USE_SSL = True
# Flask-User settings
USER_APP_NAME = "Hortiradar"
USER_ENABLE_LOGIN_WITHOUT_CONFIRM_EMAIL = True
# Our app is served within the /hortiradar/ subdirectory
USER_CHANGE_PASSWORD_URL = "/hortiradar/user/change-password"
USER_CHANGE_USERNAME_URL = "/hortiradar/user/change-username"
USER_CONFIRM_EMAIL_URL = "/hortiradar/user/confirm-email/<token>"
USER_EMAIL_ACTION_URL = "/hortiradar/user/email/<id>/<action>"
USER_FORGOT_PASSWORD_URL = "/hortiradar/user/forgot-password"
USER_INVITE_URL = "/hortiradar/user/invite"
USER_LOGIN_URL = "/hortiradar/user/login"
USER_LOGOUT_URL = "/hortiradar/user/logout"
USER_MANAGE_EMAILS_URL = "/hortiradar/user/manage-emails"
USER_REGISTER_URL = "/hortiradar/user/register"
USER_RESEND_CONFIRM_EMAIL_URL = "/hortiradar/user/resend-confirm-email"
USER_RESET_PASSWORD_URL = "/hortiradar/user/reset-password/<token>"
# Endpoints are converted to URLs using url_for()
# The empty endpoint ("") will be mapped to the root URL ("/")
USER_AFTER_CHANGE_PASSWORD_ENDPOINT = "horti.home"
USER_AFTER_CHANGE_USERNAME_ENDPOINT = "horti.home"
USER_AFTER_CONFIRM_ENDPOINT = "horti.home"
USER_AFTER_FORGOT_PASSWORD_ENDPOINT = "horti.home"
USER_AFTER_LOGIN_ENDPOINT = "horti.home"
USER_AFTER_LOGOUT_ENDPOINT = "horti.home"
USER_AFTER_REGISTER_ENDPOINT = "horti.home"
USER_AFTER_RESEND_CONFIRM_EMAIL_ENDPOINT = "horti.home"
USER_AFTER_RESET_PASSWORD_ENDPOINT = "horti.home"
USER_INVITE_ENDPOINT = "horti.home"
# Users with an unconfirmed email trying to access a view that has been
# decorated with @confirm_email_required will be redirected to this endpoint
USER_UNCONFIRMED_EMAIL_ENDPOINT = "user.login"
# Unauthenticated users trying to access a view that has been decorated
# with @login_required or @roles_required will be redirected to this endpoint
USER_UNAUTHENTICATED_ENDPOINT = "user.login"
# Unauthorized users trying to access a view that has been decorated
# with @roles_required will be redirected to this endpoint
USER_UNAUTHORIZED_ENDPOINT = "horti.home"
# Flask-SQLAlchemy
SQLALCHEMY_TRACK_MODIFICATIONS = False
# SECRET_KEY and MAIL_PASSWORD in settings-secret.py
| debug = False
sqlalchemy_database_uri = 'sqlite:///hortiradar.sqlite'
csrf_enabled = True
babel_default_locale = 'nl'
mail_username = 'noreply@acba.labs.vu.nl'
mail_default_sender = '"Hortiradar" <noreply@acba.labs.vu.nl>'
mail_server = 'localhost'
mail_port = 25
user_app_name = 'Hortiradar'
user_enable_login_without_confirm_email = True
user_change_password_url = '/hortiradar/user/change-password'
user_change_username_url = '/hortiradar/user/change-username'
user_confirm_email_url = '/hortiradar/user/confirm-email/<token>'
user_email_action_url = '/hortiradar/user/email/<id>/<action>'
user_forgot_password_url = '/hortiradar/user/forgot-password'
user_invite_url = '/hortiradar/user/invite'
user_login_url = '/hortiradar/user/login'
user_logout_url = '/hortiradar/user/logout'
user_manage_emails_url = '/hortiradar/user/manage-emails'
user_register_url = '/hortiradar/user/register'
user_resend_confirm_email_url = '/hortiradar/user/resend-confirm-email'
user_reset_password_url = '/hortiradar/user/reset-password/<token>'
user_after_change_password_endpoint = 'horti.home'
user_after_change_username_endpoint = 'horti.home'
user_after_confirm_endpoint = 'horti.home'
user_after_forgot_password_endpoint = 'horti.home'
user_after_login_endpoint = 'horti.home'
user_after_logout_endpoint = 'horti.home'
user_after_register_endpoint = 'horti.home'
user_after_resend_confirm_email_endpoint = 'horti.home'
user_after_reset_password_endpoint = 'horti.home'
user_invite_endpoint = 'horti.home'
user_unconfirmed_email_endpoint = 'user.login'
user_unauthenticated_endpoint = 'user.login'
user_unauthorized_endpoint = 'horti.home'
sqlalchemy_track_modifications = False |
def bubble_sort(arr):
for i in range(len(arr)):
for j in range(0, len(arr) - i - 1):
if arr[j] > arr[j+1]:
arr[j], arr[j+1] = arr[j+1], arr[j]
array = [5, 3, 2, 4, 11, 9, 15, 7]
bubble_sort(array)
print(array) | def bubble_sort(arr):
for i in range(len(arr)):
for j in range(0, len(arr) - i - 1):
if arr[j] > arr[j + 1]:
(arr[j], arr[j + 1]) = (arr[j + 1], arr[j])
array = [5, 3, 2, 4, 11, 9, 15, 7]
bubble_sort(array)
print(array) |
# Epiphany (25512) | Luminous 4th Job
if chr.getJob() == 2711:
sm.flipDialoguePlayerAsSpeaker()
sm.sendNext("(I feel the Light and Dark within me coming together, "
"merging into a new kind of energy!)")
sm.sendSay("(I've reached a new level of balance between the Light and Dark.)")
sm.jobAdvance(2712)
sm.startQuest(parentID)
sm.completeQuest(parentID) | if chr.getJob() == 2711:
sm.flipDialoguePlayerAsSpeaker()
sm.sendNext('(I feel the Light and Dark within me coming together, merging into a new kind of energy!)')
sm.sendSay("(I've reached a new level of balance between the Light and Dark.)")
sm.jobAdvance(2712)
sm.startQuest(parentID)
sm.completeQuest(parentID) |
'''
Graph as:
- Vertex/node - contains name "key", data "payload"
- Edge - connects 2 vertices, symbolizing relationship
- Weight - cost to traverse vertex
- G = (V,E) (V=vertex, E=edges)
ex.) V = {V0..V5}, E = {(V0, V1, 5), (V1, V2, 2) ...}
- Path - sequence of vertices connected by edges
- Cycle - path that starts/ends at same vertex
'''
class Vertex(object):
def __init__(self, key):
self.key = key
self.neighbors = {}
def add_neighbor(self, neighbor, weight=0):
self.neighbors[neighbor] = weight
def __str__(self):
return '{} neighbors: {}'.format(
self.key,
[x.key for x in self.neighbors]
)
def get_connections(self):
return self.neighbors.keys()
def get_weight(self, neighbor):
return self.neighbors[neighbor]
class Graph(object):
def __init__(self):
self.vertices = {}
def add_vertex(self, vertex):
self.vertices[vertex.key] = vertex
def get_vertex(self, key):
try:
return self.vertices[key]
except KeyError:
return None
def __contains__(self, key):
return key in self.vertices
def add_edge(self, from_key, to_key, weight=0):
if from_key not in self.vertices:
self.add_vertex(Vertex(from_key))
if to_key not in self.vertices:
self.add_vertex(Vertex(to_key))
self.vertices[from_key].add_neighbor(self.vertices[to_key], weight)
def get_vertices(self):
return self.vertices.keys()
def __iter__(self):
return iter(self.vertices.values())
g = Graph()
for i in range(5):
g.add_vertex(Vertex(i))
print(g.vertices)
g.add_edge(0, 1, 5)
g.add_edge(0, 5, 2)
g.add_edge(1, 2, 4)
g.add_edge(2, 3, 9)
g.add_edge(3, 4, 7)
g.add_edge(3, 5, 3)
g.add_edge(4, 0, 1)
g.add_edge(5, 4, 8)
g.add_edge(5, 2, 1)
for v in g:
for w in v.get_connections():
print('{} -> {}'.format(v.key, w.key))
# Same graph, different representation
g2 = {
0: {1:5, 5:2},
1: {2: 4},
2: {3: 9},
3: {4:7, 5:3},
4: {0: 1},
5: {4: 8}
} | """
Graph as:
- Vertex/node - contains name "key", data "payload"
- Edge - connects 2 vertices, symbolizing relationship
- Weight - cost to traverse vertex
- G = (V,E) (V=vertex, E=edges)
ex.) V = {V0..V5}, E = {(V0, V1, 5), (V1, V2, 2) ...}
- Path - sequence of vertices connected by edges
- Cycle - path that starts/ends at same vertex
"""
class Vertex(object):
def __init__(self, key):
self.key = key
self.neighbors = {}
def add_neighbor(self, neighbor, weight=0):
self.neighbors[neighbor] = weight
def __str__(self):
return '{} neighbors: {}'.format(self.key, [x.key for x in self.neighbors])
def get_connections(self):
return self.neighbors.keys()
def get_weight(self, neighbor):
return self.neighbors[neighbor]
class Graph(object):
def __init__(self):
self.vertices = {}
def add_vertex(self, vertex):
self.vertices[vertex.key] = vertex
def get_vertex(self, key):
try:
return self.vertices[key]
except KeyError:
return None
def __contains__(self, key):
return key in self.vertices
def add_edge(self, from_key, to_key, weight=0):
if from_key not in self.vertices:
self.add_vertex(vertex(from_key))
if to_key not in self.vertices:
self.add_vertex(vertex(to_key))
self.vertices[from_key].add_neighbor(self.vertices[to_key], weight)
def get_vertices(self):
return self.vertices.keys()
def __iter__(self):
return iter(self.vertices.values())
g = graph()
for i in range(5):
g.add_vertex(vertex(i))
print(g.vertices)
g.add_edge(0, 1, 5)
g.add_edge(0, 5, 2)
g.add_edge(1, 2, 4)
g.add_edge(2, 3, 9)
g.add_edge(3, 4, 7)
g.add_edge(3, 5, 3)
g.add_edge(4, 0, 1)
g.add_edge(5, 4, 8)
g.add_edge(5, 2, 1)
for v in g:
for w in v.get_connections():
print('{} -> {}'.format(v.key, w.key))
g2 = {0: {1: 5, 5: 2}, 1: {2: 4}, 2: {3: 9}, 3: {4: 7, 5: 3}, 4: {0: 1}, 5: {4: 8}} |
class Solution:
def numSquares(self, n: int) -> int:
if n==1:
return n
dp=[(n+1) for i in range(n+1)]
sq=[i**2 for i in range(int(sqrt(n))+1)]
for i in range(len(dp)):
if i in sq:
dp[i]=1
else:
for j in sq:
if i>j:
dp[i]=min(dp[i],dp[i-j]+1)
return dp[-1]
| class Solution:
def num_squares(self, n: int) -> int:
if n == 1:
return n
dp = [n + 1 for i in range(n + 1)]
sq = [i ** 2 for i in range(int(sqrt(n)) + 1)]
for i in range(len(dp)):
if i in sq:
dp[i] = 1
else:
for j in sq:
if i > j:
dp[i] = min(dp[i], dp[i - j] + 1)
return dp[-1] |
# Your Nessus Scanner API Keys
ACCESS_KEY = "Your_Nessus_Access_Key"
SECRET_KEY = "Your_Nessus_SecretKey"
# Your URL for the API
API_URL = "https://nessus.yourInfo.com"
# The Port Number
API_PORT = "1234"
# Warnings Greater than or equal to the number you want
SEVERITY = '1' # Meaning we will see 1 and above
# Before we can sort the devices to their owners, we need a directory.
# The set up of the Directory is represented with key, value pairs.
# This is represented with the IP on the left, followed by a delimiter, and then the Owners name.
# EX: 10.10.10.10 : Mike
DIRECTORY = False
# Enabling the email functionality. Change to True if you want to emails to be sent
# The set up of the Directory is represented with key, value pairs.
# This is represented with the Name on the left and the email on the right with a space in between
# EX: Mike mike@gmail.com
EMAIL = False
# The email address that will be sending the emails
EMAIL_ADDRESS = "Send_Emails_From_Here@site.com"
PASSWORD = ""
# When writing your dictionary of IP and Owner, and the email file of Owners and Email
# make sure to include a delimiter that is unique and does not show in the .txt file
# of your choosing
Delimiter = ":" | access_key = 'Your_Nessus_Access_Key'
secret_key = 'Your_Nessus_SecretKey'
api_url = 'https://nessus.yourInfo.com'
api_port = '1234'
severity = '1'
directory = False
email = False
email_address = 'Send_Emails_From_Here@site.com'
password = ''
delimiter = ':' |
def create_python_script(filename):
comments = "# Start of a new Python program"
with open("program.py","w") as f:
filesize = f.write(comments)
return(filesize)
print(create_python_script("program.py")) | def create_python_script(filename):
comments = '# Start of a new Python program'
with open('program.py', 'w') as f:
filesize = f.write(comments)
return filesize
print(create_python_script('program.py')) |
# The following RTTTL tunes were extracted from the following:
# https://github.com/onebeartoe/media-players/blob/master/pi-ezo/src/main/java/org/onebeartoe/media/piezo/ports/rtttl/BuiltInSongs.java
# most of which originated from here:
# http://www.picaxe.com/RTTTL-Ringtones-for-Tune-Command/
#
SONGS = [
'Super Mario - Main Theme:d=4,o=5,b=125:a,8f.,16c,16d,16f,16p,f,16d,16c,16p,16f,16p,16f,16p,8c6,8a.,g,16c,a,8f.,16c,16d,16f,16p,f,16d,16c,16p,16f,16p,16a#,16a,16g,2f,16p,8a.,8f.,8c,8a.,f,16g#,16f,16c,16p,8g#.,2g,8a.,8f.,8c,8a.,f,16g#,16f,8c,2c6',
'Super Mario - Title Music:d=4,o=5,b=125:8d7,8d7,8d7,8d6,8d7,8d7,8d7,8d6,2d#7,8d7,p,32p,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,16b6,16c7,b6,8a6,8d6,8a6,8a6,8a6,8d6,8a6,8a6,8a6,8d6,8a6,8a6,8a6,16a6,16b6,a6,8g6,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,16a6,16b6,c7,e7,8d7,8d7,8d7,8d6,8c7,8c7,8c7,8f#6,2g6',
'SMBtheme:d=4,o=5,b=100:16e6,16e6,32p,8e6,16c6,8e6,8g6,8p,8g,8p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,16p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16c7,16p,16c7,16c7,p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16d#6,8p,16d6,8p,16c6',
'SMBwater:d=8,o=6,b=225:4d5,4e5,4f#5,4g5,4a5,4a#5,b5,b5,b5,p,b5,p,2b5,p,g5,2e.,2d#.,2e.,p,g5,a5,b5,c,d,2e.,2d#,4f,2e.,2p,p,g5,2d.,2c#.,2d.,p,g5,a5,b5,c,c#,2d.,2g5,4f,2e.,2p,p,g5,2g.,2g.,2g.,4g,4a,p,g,2f.,2f.,2f.,4f,4g,p,f,2e.,4a5,4b5,4f,e,e,4e.,b5,2c.',
'SMBunderground:d=16,o=6,b=100:c,c5,a5,a,a#5,a#,2p,8p,c,c5,a5,a,a#5,a#,2p,8p,f5,f,d5,d,d#5,d#,2p,8p,f5,f,d5,d,d#5,d#,2p,32d#,d,32c#,c,p,d#,p,d,p,g#5,p,g5,p,c#,p,32c,f#,32f,32e,a#,32a,g#,32p,d#,b5,32p,a#5,32p,a5,g#5',
'Picaxe:d=4,o=6,b=101:g5,c,8c,c,e,d,8c,d,8e,8d,c,8c,e,g,2a,a,g,8e,e,c,d,8c,d,8e,8d,c,8a5,a5,g5,2c',
'The Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#,8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6',
'Indiana:d=4,o=5,b=250:e,8p,8f,8g,8p,1c6,8p.,d,8p,8e,1f,p.,g,8p,8a,8b,8p,1f6,p,a,8p,8b,2c6,2d6,2e6,e,8p,8f,8g,8p,1c6,p,d6,8p,8e6,1f.6,g,8p,8g,e.6,8p,d6,8p,8g,e.6,8p,d6,8p,8g,f.6,8p,e6,8p,8d6,2c6',
'TakeOnMe:d=4,o=4,b=160:8f#5,8f#5,8f#5,8d5,8p,8b,8p,8e5,8p,8e5,8p,8e5,8g#5,8g#5,8a5,8b5,8a5,8a5,8a5,8e5,8p,8d5,8p,8f#5,8p,8f#5,8p,8f#5,8e5,8e5,8f#5,8e5,8f#5,8f#5,8f#5,8d5,8p,8b,8p,8e5,8p,8e5,8p,8e5,8g#5,8g#5,8a5,8b5,8a5,8a5,8a5,8e5,8p,8d5,8p,8f#5,8p,8f#5,8p,8f#5,8e5,8e5',
'Entertainer:d=4,o=5,b=140:8d,8d#,8e,c6,8e,c6,8e,2c.6,8c6,8d6,8d#6,8e6,8c6,8d6,e6,8b,d6,2c6,p,8d,8d#,8e,c6,8e,c6,8e,2c.6,8p,8a,8g,8f#,8a,8c6,e6,8d6,8c6,8a,2d6',
'Muppets:d=4,o=5,b=250:c6,c6,a,b,8a,b,g,p,c6,c6,a,8b,8a,8p,g.,p,e,e,g,f,8e,f,8c6,8c,8d,e,8e,8e,8p,8e,g,2p,c6,c6,a,b,8a,b,g,p,c6,c6,a,8b,a,g.,p,e,e,g,f,8e,f,8c6,8c,8d,e,8e,d,8d,c',
'Xfiles:d=4,o=5,b=125:e,b,a,b,d6,2b.,1p,e,b,a,b,e6,2b.,1p,g6,f#6,e6,d6,e6,2b.,1p,g6,f#6,e6,d6,f#6,2b.,1p,e,b,a,b,d6,2b.,1p,e,b,a,b,e6,2b.,1p,e6,2b.',
'Looney:d=4,o=5,b=140:32p,c6,8f6,8e6,8d6,8c6,a.,8c6,8f6,8e6,8d6,8d#6,e.6,8e6,8e6,8c6,8d6,8c6,8e6,8c6,8d6,8a,8c6,8g,8a#,8a,8f',
'20thCenFox:d=16,o=5,b=140:b,8p,b,b,2b,p,c6,32p,b,32p,c6,32p,b,32p,c6,32p,b,8p,b,b,b,32p,b,32p,b,32p,b,32p,b,32p,b,32p,b,32p,g#,32p,a,32p,b,8p,b,b,2b,4p,8e,8g#,8b,1c#6,8f#,8a,8c#6,1e6,8a,8c#6,8e6,1e6,8b,8g#,8a,2b',
'Bond:d=4,o=5,b=80:32p,16c#6,32d#6,32d#6,16d#6,8d#6,16c#6,16c#6,16c#6,16c#6,32e6,32e6,16e6,8e6,16d#6,16d#6,16d#6,16c#6,32d#6,32d#6,16d#6,8d#6,16c#6,16c#6,16c#6,16c#6,32e6,32e6,16e6,8e6,16d#6,16d6,16c#6,16c#7,c.7,16g#6,16f#6,g#.6',
'MASH:d=8,o=5,b=140:4a,4g,f#,g,p,f#,p,g,p,f#,p,2e.,p,f#,e,4f#,e,f#,p,e,p,4d.,p,f#,4e,d,e,p,d,p,e,p,d,p,2c#.,p,d,c#,4d,c#,d,p,e,p,4f#,p,a,p,4b,a,b,p,a,p,b,p,2a.,4p,a,b,a,4b,a,b,p,2a.,a,4f#,a,b,p,d6,p,4e.6,d6,b,p,a,p,2b',
'StarWars:d=4,o=5,b=45:32p,32f#,32f#,32f#,8b.,8f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32e6,8c#.6,32f#,32f#,32f#,8b.,8f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32e6,8c#6',
'GoodBad:d=4,o=5,b=56:32p,32a#,32d#6,32a#,32d#6,8a#.,16f#.,16g#.,d#,32a#,32d#6,32a#,32d#6,8a#.,16f#.,16g#.,c#6,32a#,32d#6,32a#,32d#6,8a#.,16f#.,32f.,32d#.,c#,32a#,32d#6,32a#,32d#6,8a#.,16g#.,d#',
'TopGun:d=4,o=4,b=31:32p,16c#,16g#,16g#,32f#,32f,32f#,32f,16d#,16d#,32c#,32d#,16f,32d#,32f,16f#,32f,32c#,16f,d#,16c#,16g#,16g#,32f#,32f,32f#,32f,16d#,16d#,32c#,32d#,16f,32d#,32f,16f#,32f,32c#,g#',
'A-Team:d=8,o=5,b=125:4d#6,a#,2d#6,16p,g#,4a#,4d#.,p,16g,16a#,d#6,a#,f6,2d#6,16p,c#.6,16c6,16a#,g#.,2a#',
'Flinstones:d=4,o=5,b=40:32p,16f6,16a#,16a#6,32g6,16f6,16a#.,16f6,32d#6,32d6,32d6,32d#6,32f6,16a#,16c6,d6,16f6,16a#.,16a#6,32g6,16f6,16a#.,32f6,32f6,32d#6,32d6,32d6,32d#6,32f6,16a#,16c6,a#,16a6,16d.6,16a#6,32a6,32a6,32g6,32f#6,32a6,8g6,16g6,16c.6,32a6,32a6,32g6,32g6,32f6,32e6,32g6,8f6,16f6,16a#.,16a#6,32g6,16f6,16a#.,16f6,32d#6,32d6,32d6,32d#6,32f6,16a#,16c.6,32d6,32d#6,32f6,16a#,16c.6,32d6,32d#6,32f6,16a#6,16c7,8a#.6',
'Jeopardy:d=4,o=6,b=125:c,f,c,f5,c,f,2c,c,f,c,f,a.,8g,8f,8e,8d,8c#,c,f,c,f5,c,f,2c,f.,8d,c,a#5,a5,g5,f5,p,d#,g#,d#,g#5,d#,g#,2d#,d#,g#,d#,g#,c.7,8a#,8g#,8g,8f,8e,d#,g#,d#,g#5,d#,g#,2d#,g#.,8f,d#,c#,c,p,a#5,p,g#.5,d#,g#',
'Gadget:d=16,o=5,b=50:32d#,32f,32f#,32g#,a#,f#,a,f,g#,f#,32d#,32f,32f#,32g#,a#,d#6,4d6,32d#,32f,32f#,32g#,a#,f#,a,f,g#,f#,8d#',
'Smurfs:d=32,o=5,b=200:4c#6,16p,4f#6,p,16c#6,p,8d#6,p,8b,p,4g#,16p,4c#6,p,16a#,p,8f#,p,8a#,p,4g#,4p,g#,p,a#,p,b,p,c6,p,4c#6,16p,4f#6,p,16c#6,p,8d#6,p,8b,p,4g#,16p,4c#6,p,16a#,p,8b,p,8f,p,4f#',
'MahnaMahna:d=16,o=6,b=125:c#,c.,b5,8a#.5,8f.,4g#,a#,g.,4d#,8p,c#,c.,b5,8a#.5,8f.,g#.,8a#.,4g,8p,c#,c.,b5,8a#.5,8f.,4g#,f,g.,8d#.,f,g.,8d#.,f,8g,8d#.,f,8g,d#,8c,a#5,8d#.,8d#.,4d#,8d#.',
'LeisureSuit:d=16,o=6,b=56:f.5,f#.5,g.5,g#5,32a#5,f5,g#.5,a#.5,32f5,g#5,32a#5,g#5,8c#.,a#5,32c#,a5,a#.5,c#.,32a5,a#5,32c#,d#,8e,c#.,f.,f.,f.,f.,f,32e,d#,8d,a#.5,e,32f,e,32f,c#,d#.,c#',
'MissionImp:d=16,o=6,b=95:32d,32d#,32d,32d#,32d,32d#,32d,32d#,32d,32d,32d#,32e,32f,32f#,32g,g,8p,g,8p,a#,p,c7,p,g,8p,g,8p,f,p,f#,p,g,8p,g,8p,a#,p,c7,p,g,8p,g,8p,f,p,f#,p,a#,g,2d,32p,a#,g,2c#,32p,a#,g,2c,a#5,8c,2p,32p,a#5,g5,2f#,32p,a#5,g5,2f,32p,a#5,g5,2e,d#,8d',
]
def find(name):
for song in SONGS:
song_name = song.split(':')[0]
if song_name == name:
return song
| songs = ['Super Mario - Main Theme:d=4,o=5,b=125:a,8f.,16c,16d,16f,16p,f,16d,16c,16p,16f,16p,16f,16p,8c6,8a.,g,16c,a,8f.,16c,16d,16f,16p,f,16d,16c,16p,16f,16p,16a#,16a,16g,2f,16p,8a.,8f.,8c,8a.,f,16g#,16f,16c,16p,8g#.,2g,8a.,8f.,8c,8a.,f,16g#,16f,8c,2c6', 'Super Mario - Title Music:d=4,o=5,b=125:8d7,8d7,8d7,8d6,8d7,8d7,8d7,8d6,2d#7,8d7,p,32p,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,16b6,16c7,b6,8a6,8d6,8a6,8a6,8a6,8d6,8a6,8a6,8a6,8d6,8a6,8a6,8a6,16a6,16b6,a6,8g6,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,8d6,8b6,8b6,8b6,16a6,16b6,c7,e7,8d7,8d7,8d7,8d6,8c7,8c7,8c7,8f#6,2g6', 'SMBtheme:d=4,o=5,b=100:16e6,16e6,32p,8e6,16c6,8e6,8g6,8p,8g,8p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,16p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16c7,16p,16c7,16c7,p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16d#6,8p,16d6,8p,16c6', 'SMBwater:d=8,o=6,b=225:4d5,4e5,4f#5,4g5,4a5,4a#5,b5,b5,b5,p,b5,p,2b5,p,g5,2e.,2d#.,2e.,p,g5,a5,b5,c,d,2e.,2d#,4f,2e.,2p,p,g5,2d.,2c#.,2d.,p,g5,a5,b5,c,c#,2d.,2g5,4f,2e.,2p,p,g5,2g.,2g.,2g.,4g,4a,p,g,2f.,2f.,2f.,4f,4g,p,f,2e.,4a5,4b5,4f,e,e,4e.,b5,2c.', 'SMBunderground:d=16,o=6,b=100:c,c5,a5,a,a#5,a#,2p,8p,c,c5,a5,a,a#5,a#,2p,8p,f5,f,d5,d,d#5,d#,2p,8p,f5,f,d5,d,d#5,d#,2p,32d#,d,32c#,c,p,d#,p,d,p,g#5,p,g5,p,c#,p,32c,f#,32f,32e,a#,32a,g#,32p,d#,b5,32p,a#5,32p,a5,g#5', 'Picaxe:d=4,o=6,b=101:g5,c,8c,c,e,d,8c,d,8e,8d,c,8c,e,g,2a,a,g,8e,e,c,d,8c,d,8e,8d,c,8a5,a5,g5,2c', 'The Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#,8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6', 'Indiana:d=4,o=5,b=250:e,8p,8f,8g,8p,1c6,8p.,d,8p,8e,1f,p.,g,8p,8a,8b,8p,1f6,p,a,8p,8b,2c6,2d6,2e6,e,8p,8f,8g,8p,1c6,p,d6,8p,8e6,1f.6,g,8p,8g,e.6,8p,d6,8p,8g,e.6,8p,d6,8p,8g,f.6,8p,e6,8p,8d6,2c6', 'TakeOnMe:d=4,o=4,b=160:8f#5,8f#5,8f#5,8d5,8p,8b,8p,8e5,8p,8e5,8p,8e5,8g#5,8g#5,8a5,8b5,8a5,8a5,8a5,8e5,8p,8d5,8p,8f#5,8p,8f#5,8p,8f#5,8e5,8e5,8f#5,8e5,8f#5,8f#5,8f#5,8d5,8p,8b,8p,8e5,8p,8e5,8p,8e5,8g#5,8g#5,8a5,8b5,8a5,8a5,8a5,8e5,8p,8d5,8p,8f#5,8p,8f#5,8p,8f#5,8e5,8e5', 'Entertainer:d=4,o=5,b=140:8d,8d#,8e,c6,8e,c6,8e,2c.6,8c6,8d6,8d#6,8e6,8c6,8d6,e6,8b,d6,2c6,p,8d,8d#,8e,c6,8e,c6,8e,2c.6,8p,8a,8g,8f#,8a,8c6,e6,8d6,8c6,8a,2d6', 'Muppets:d=4,o=5,b=250:c6,c6,a,b,8a,b,g,p,c6,c6,a,8b,8a,8p,g.,p,e,e,g,f,8e,f,8c6,8c,8d,e,8e,8e,8p,8e,g,2p,c6,c6,a,b,8a,b,g,p,c6,c6,a,8b,a,g.,p,e,e,g,f,8e,f,8c6,8c,8d,e,8e,d,8d,c', 'Xfiles:d=4,o=5,b=125:e,b,a,b,d6,2b.,1p,e,b,a,b,e6,2b.,1p,g6,f#6,e6,d6,e6,2b.,1p,g6,f#6,e6,d6,f#6,2b.,1p,e,b,a,b,d6,2b.,1p,e,b,a,b,e6,2b.,1p,e6,2b.', 'Looney:d=4,o=5,b=140:32p,c6,8f6,8e6,8d6,8c6,a.,8c6,8f6,8e6,8d6,8d#6,e.6,8e6,8e6,8c6,8d6,8c6,8e6,8c6,8d6,8a,8c6,8g,8a#,8a,8f', '20thCenFox:d=16,o=5,b=140:b,8p,b,b,2b,p,c6,32p,b,32p,c6,32p,b,32p,c6,32p,b,8p,b,b,b,32p,b,32p,b,32p,b,32p,b,32p,b,32p,b,32p,g#,32p,a,32p,b,8p,b,b,2b,4p,8e,8g#,8b,1c#6,8f#,8a,8c#6,1e6,8a,8c#6,8e6,1e6,8b,8g#,8a,2b', 'Bond:d=4,o=5,b=80:32p,16c#6,32d#6,32d#6,16d#6,8d#6,16c#6,16c#6,16c#6,16c#6,32e6,32e6,16e6,8e6,16d#6,16d#6,16d#6,16c#6,32d#6,32d#6,16d#6,8d#6,16c#6,16c#6,16c#6,16c#6,32e6,32e6,16e6,8e6,16d#6,16d6,16c#6,16c#7,c.7,16g#6,16f#6,g#.6', 'MASH:d=8,o=5,b=140:4a,4g,f#,g,p,f#,p,g,p,f#,p,2e.,p,f#,e,4f#,e,f#,p,e,p,4d.,p,f#,4e,d,e,p,d,p,e,p,d,p,2c#.,p,d,c#,4d,c#,d,p,e,p,4f#,p,a,p,4b,a,b,p,a,p,b,p,2a.,4p,a,b,a,4b,a,b,p,2a.,a,4f#,a,b,p,d6,p,4e.6,d6,b,p,a,p,2b', 'StarWars:d=4,o=5,b=45:32p,32f#,32f#,32f#,8b.,8f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32e6,8c#.6,32f#,32f#,32f#,8b.,8f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32c#6,8b.6,16f#.6,32e6,32d#6,32e6,8c#6', 'GoodBad:d=4,o=5,b=56:32p,32a#,32d#6,32a#,32d#6,8a#.,16f#.,16g#.,d#,32a#,32d#6,32a#,32d#6,8a#.,16f#.,16g#.,c#6,32a#,32d#6,32a#,32d#6,8a#.,16f#.,32f.,32d#.,c#,32a#,32d#6,32a#,32d#6,8a#.,16g#.,d#', 'TopGun:d=4,o=4,b=31:32p,16c#,16g#,16g#,32f#,32f,32f#,32f,16d#,16d#,32c#,32d#,16f,32d#,32f,16f#,32f,32c#,16f,d#,16c#,16g#,16g#,32f#,32f,32f#,32f,16d#,16d#,32c#,32d#,16f,32d#,32f,16f#,32f,32c#,g#', 'A-Team:d=8,o=5,b=125:4d#6,a#,2d#6,16p,g#,4a#,4d#.,p,16g,16a#,d#6,a#,f6,2d#6,16p,c#.6,16c6,16a#,g#.,2a#', 'Flinstones:d=4,o=5,b=40:32p,16f6,16a#,16a#6,32g6,16f6,16a#.,16f6,32d#6,32d6,32d6,32d#6,32f6,16a#,16c6,d6,16f6,16a#.,16a#6,32g6,16f6,16a#.,32f6,32f6,32d#6,32d6,32d6,32d#6,32f6,16a#,16c6,a#,16a6,16d.6,16a#6,32a6,32a6,32g6,32f#6,32a6,8g6,16g6,16c.6,32a6,32a6,32g6,32g6,32f6,32e6,32g6,8f6,16f6,16a#.,16a#6,32g6,16f6,16a#.,16f6,32d#6,32d6,32d6,32d#6,32f6,16a#,16c.6,32d6,32d#6,32f6,16a#,16c.6,32d6,32d#6,32f6,16a#6,16c7,8a#.6', 'Jeopardy:d=4,o=6,b=125:c,f,c,f5,c,f,2c,c,f,c,f,a.,8g,8f,8e,8d,8c#,c,f,c,f5,c,f,2c,f.,8d,c,a#5,a5,g5,f5,p,d#,g#,d#,g#5,d#,g#,2d#,d#,g#,d#,g#,c.7,8a#,8g#,8g,8f,8e,d#,g#,d#,g#5,d#,g#,2d#,g#.,8f,d#,c#,c,p,a#5,p,g#.5,d#,g#', 'Gadget:d=16,o=5,b=50:32d#,32f,32f#,32g#,a#,f#,a,f,g#,f#,32d#,32f,32f#,32g#,a#,d#6,4d6,32d#,32f,32f#,32g#,a#,f#,a,f,g#,f#,8d#', 'Smurfs:d=32,o=5,b=200:4c#6,16p,4f#6,p,16c#6,p,8d#6,p,8b,p,4g#,16p,4c#6,p,16a#,p,8f#,p,8a#,p,4g#,4p,g#,p,a#,p,b,p,c6,p,4c#6,16p,4f#6,p,16c#6,p,8d#6,p,8b,p,4g#,16p,4c#6,p,16a#,p,8b,p,8f,p,4f#', 'MahnaMahna:d=16,o=6,b=125:c#,c.,b5,8a#.5,8f.,4g#,a#,g.,4d#,8p,c#,c.,b5,8a#.5,8f.,g#.,8a#.,4g,8p,c#,c.,b5,8a#.5,8f.,4g#,f,g.,8d#.,f,g.,8d#.,f,8g,8d#.,f,8g,d#,8c,a#5,8d#.,8d#.,4d#,8d#.', 'LeisureSuit:d=16,o=6,b=56:f.5,f#.5,g.5,g#5,32a#5,f5,g#.5,a#.5,32f5,g#5,32a#5,g#5,8c#.,a#5,32c#,a5,a#.5,c#.,32a5,a#5,32c#,d#,8e,c#.,f.,f.,f.,f.,f,32e,d#,8d,a#.5,e,32f,e,32f,c#,d#.,c#', 'MissionImp:d=16,o=6,b=95:32d,32d#,32d,32d#,32d,32d#,32d,32d#,32d,32d,32d#,32e,32f,32f#,32g,g,8p,g,8p,a#,p,c7,p,g,8p,g,8p,f,p,f#,p,g,8p,g,8p,a#,p,c7,p,g,8p,g,8p,f,p,f#,p,a#,g,2d,32p,a#,g,2c#,32p,a#,g,2c,a#5,8c,2p,32p,a#5,g5,2f#,32p,a#5,g5,2f,32p,a#5,g5,2e,d#,8d']
def find(name):
for song in SONGS:
song_name = song.split(':')[0]
if song_name == name:
return song |
# config file name
RIGOR_YML = "rigor.yml"
# content-types
TEXT_HTML = "text/html"
TEXT_PLAIN = "text/plain"
APPLICATION_JSON = "application/json"
# headers
CONTENT_TYPE = "Content-Type"
| rigor_yml = 'rigor.yml'
text_html = 'text/html'
text_plain = 'text/plain'
application_json = 'application/json'
content_type = 'Content-Type' |
__char_num = [('a',0),('b',1),('c',2),('d',3),('e',4),('f',5),('g',6),('h',7),('i',8),('j',9),('k',10),('l',11),('m',12),('n',13),('o',14),('p',15),('q',16),('r',17),('s',18),('t',19),('u',20),('v',21),('w',22),('x',23),('y',24),('z',25)]
def char2num(char):
return next(filter(lambda x: x[0] == char.lower(), __char_num))[1]
def num2char(num):
return next(filter(lambda x: x[1] == num, __char_num))[0] | __char_num = [('a', 0), ('b', 1), ('c', 2), ('d', 3), ('e', 4), ('f', 5), ('g', 6), ('h', 7), ('i', 8), ('j', 9), ('k', 10), ('l', 11), ('m', 12), ('n', 13), ('o', 14), ('p', 15), ('q', 16), ('r', 17), ('s', 18), ('t', 19), ('u', 20), ('v', 21), ('w', 22), ('x', 23), ('y', 24), ('z', 25)]
def char2num(char):
return next(filter(lambda x: x[0] == char.lower(), __char_num))[1]
def num2char(num):
return next(filter(lambda x: x[1] == num, __char_num))[0] |
class Solution:
def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:
def intersect(p_left, p_right, q_left, q_right):
return min(p_right, q_right) > max(p_left, q_left)
return (intersect(rec1[0], rec1[2], rec2[0], rec2[2]) and intersect(rec1[1], rec1[3], rec2[1], rec2[3]))
| class Solution:
def is_rectangle_overlap(self, rec1: List[int], rec2: List[int]) -> bool:
def intersect(p_left, p_right, q_left, q_right):
return min(p_right, q_right) > max(p_left, q_left)
return intersect(rec1[0], rec1[2], rec2[0], rec2[2]) and intersect(rec1[1], rec1[3], rec2[1], rec2[3]) |
__all__ = [
"messenger",
"writer",
"processor",
"listener",
]
| __all__ = ['messenger', 'writer', 'processor', 'listener'] |
class Solution:
def hammingDistance(self, x: int, y: int) -> int:
if x < 0 or y < 0:
raise Exception("Negative Input(s)")
h_dist = 0
while x > 0 or y > 0:
if (x ^ y) & 1 == 1:
h_dist += 1
x >>= 1
y >>= 1
return h_dist
| class Solution:
def hamming_distance(self, x: int, y: int) -> int:
if x < 0 or y < 0:
raise exception('Negative Input(s)')
h_dist = 0
while x > 0 or y > 0:
if (x ^ y) & 1 == 1:
h_dist += 1
x >>= 1
y >>= 1
return h_dist |
# 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:
def helper(self, l1, r1, l2, r2):
if l1 > r1: return None
mid = self.postorder[r2]
mid_idx = self.inorder.index(mid)
left_size = mid_idx - l1
return TreeNode(mid, self.helper(l1, l1+left_size-1, l2, l2+left_size-1), self.helper(mid_idx+1, r1, l2+left_size, r2-1))
def buildTree(self, inorder: List[int], postorder: List[int]) -> TreeNode:
self.inorder = inorder
self.postorder = postorder
return self.helper(0, len(inorder)-1, 0, len(postorder)-1)
| class Solution:
def helper(self, l1, r1, l2, r2):
if l1 > r1:
return None
mid = self.postorder[r2]
mid_idx = self.inorder.index(mid)
left_size = mid_idx - l1
return tree_node(mid, self.helper(l1, l1 + left_size - 1, l2, l2 + left_size - 1), self.helper(mid_idx + 1, r1, l2 + left_size, r2 - 1))
def build_tree(self, inorder: List[int], postorder: List[int]) -> TreeNode:
self.inorder = inorder
self.postorder = postorder
return self.helper(0, len(inorder) - 1, 0, len(postorder) - 1) |
def mergeSort(alist):
if len(alist) > 1:
mid = len(alist)//2
lefthalf = alist[:mid]
righthalf = alist[mid:]
mergeSort(lefthalf)
mergeSort(righthalf)
i = 0; j = 0; k = 0
while i < len(lefthalf) and j < len(righthalf):
if lefthalf[i] < righthalf[j]:
alist[k] = lefthalf[i]
i += 1
else:
alist[k] = righthalf[j]
j += 1
k += 1
while i < len(lefthalf):
alist[k] = lefthalf[i]
i += 1
k += 1
while j < len(righthalf):
alist[k] = righthalf[j]
j += 1
k += 1
alist = [54,26,93,17,77,31,44,55,20]
mergeSort(alist)
print(alist) | def merge_sort(alist):
if len(alist) > 1:
mid = len(alist) // 2
lefthalf = alist[:mid]
righthalf = alist[mid:]
merge_sort(lefthalf)
merge_sort(righthalf)
i = 0
j = 0
k = 0
while i < len(lefthalf) and j < len(righthalf):
if lefthalf[i] < righthalf[j]:
alist[k] = lefthalf[i]
i += 1
else:
alist[k] = righthalf[j]
j += 1
k += 1
while i < len(lefthalf):
alist[k] = lefthalf[i]
i += 1
k += 1
while j < len(righthalf):
alist[k] = righthalf[j]
j += 1
k += 1
alist = [54, 26, 93, 17, 77, 31, 44, 55, 20]
merge_sort(alist)
print(alist) |
#AREA DO CIRCULO
r= float(input())
resultado= 3.14* r**2/10000
print("Area={:.4f}".format(resultado) )
| r = float(input())
resultado = 3.14 * r ** 2 / 10000
print('Area={:.4f}'.format(resultado)) |
#!/usr/bin/env python3
def has_dups(data):
for i in data:
if data.count(i) > 1:
return True
else:
return False
print(has_dups([1, 2, 3]))
print(has_dups([1,1,2,3])) | def has_dups(data):
for i in data:
if data.count(i) > 1:
return True
else:
return False
print(has_dups([1, 2, 3]))
print(has_dups([1, 1, 2, 3])) |
headers = {'User-Agent': 'Mozilla/5.0 Chrome/86.0.4240.75'}
# Enter the URL of the product page on flipkart
PRODUCT_URL = 'enter_url_here'
# Enter the threshhold price of the product
THRESHHOLD = 6969.0
# Enter your email address
MY_EMAIL = ''
# Enter your password (Check readme.md for steps to get app password)
MY_APP_PASSWORD = ''
# Enter time delay (60 for 1 minute)
CHECK_AGAIN = 60 * 30 # 60*30 will be 30 minutes
# Enter the recipient email
RECEIVER_EMAIL = ''
| headers = {'User-Agent': 'Mozilla/5.0 Chrome/86.0.4240.75'}
product_url = 'enter_url_here'
threshhold = 6969.0
my_email = ''
my_app_password = ''
check_again = 60 * 30
receiver_email = '' |
# Key Arbitrary
def build_profile(first, last, **user_info):
profile = {}
profile['first'] = first
profile['last'] = last
for key, value in user_info.items():
profile[key] = value
return profile
user_profile0 = build_profile('albert', 'einstein', location = 'princeton', field = 'physics')
user_profile1 = build_profile('islam', 'kamilov', location = 'kyrgyzstan', field = 'computer science')
print(user_profile1) | def build_profile(first, last, **user_info):
profile = {}
profile['first'] = first
profile['last'] = last
for (key, value) in user_info.items():
profile[key] = value
return profile
user_profile0 = build_profile('albert', 'einstein', location='princeton', field='physics')
user_profile1 = build_profile('islam', 'kamilov', location='kyrgyzstan', field='computer science')
print(user_profile1) |
COMMIT="12c255d13729fb571e4964f4f0a97ddba4bbe0d2"
VERSION="1.1-53-g12c255d"
DICTCOMMIT="8f414ce140263ac8c378d4e7bc97c035ade85aa7"
DICTVERSION="0.2.0"
| commit = '12c255d13729fb571e4964f4f0a97ddba4bbe0d2'
version = '1.1-53-g12c255d'
dictcommit = '8f414ce140263ac8c378d4e7bc97c035ade85aa7'
dictversion = '0.2.0' |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
def isSameTree(self, p: 'TreeNode', q: 'TreeNode') -> 'bool':
def helper(p,q):
if not p and not q:
return True
if (not p and q) or (p and not q) or p.val != q.val:
return False
return helper(p.left,q.left) and helper(p.right,q.right)
return helper(p,q)
def isSameTree_stack(self, p: 'TreeNode', q: 'TreeNode') -> 'bool':
if not p and not q:
return True
stack = [(p,q)]
while stack:
a,b = stack.pop()
if not a and not b:
continue
if (a and not b) or (not a and b):
return False
if a.val != b.val:
return False
stack.append((a.left,b.left))
stack.append((a.right,b.right))
return True
| class Solution:
def is_same_tree(self, p: 'TreeNode', q: 'TreeNode') -> 'bool':
def helper(p, q):
if not p and (not q):
return True
if not p and q or (p and (not q)) or p.val != q.val:
return False
return helper(p.left, q.left) and helper(p.right, q.right)
return helper(p, q)
def is_same_tree_stack(self, p: 'TreeNode', q: 'TreeNode') -> 'bool':
if not p and (not q):
return True
stack = [(p, q)]
while stack:
(a, b) = stack.pop()
if not a and (not b):
continue
if a and (not b) or (not a and b):
return False
if a.val != b.val:
return False
stack.append((a.left, b.left))
stack.append((a.right, b.right))
return True |
text_based = ["perspective_score", "identity_attack",
"sentiment",
"Please", "Please_start", "HASHEDGE",
"Indirect_(btw)",
"Hedges",
"Factuality", "Deference", "Gratitude", "Apologizing",
"1st_person_pl.", "1st_person", "1st_person_start",
"2nd_person", "2nd_person_start",
"Indirect_(greeting)", "Direct_question", "Direct_start",
"HASPOSITIVE", "HASNEGATIVE", "SUBJUNCTIVE", "INDICATIVE",
]
G_logs_based = ["rounds", "shepherd_time", "review_time"]
OSS_logs_based = ["rounds", "shepherd_time"]
# drop the features with very low importance (< 0.01)
# and the results are better
drop_cols = ["Indirect_(btw)", "Indirect_(greeting)",
"Apologizing", "Deference",
"SUBJUNCTIVE", "INDICATIVE"]
text_based = list(set(text_based) - set(drop_cols))
length = ["length"]
def get_feature_set(dat):
if dat == "G":
logs_based = G_logs_based
else:
logs_based = OSS_logs_based
if dat == "issues":
feature_set = [
text_based
]
else: # code review comments in OSS and G share the same set of features
feature_set = [
text_based,
logs_based,
text_based + logs_based,
#text_based + length,
#logs_based + length,
#text_based + logs_based + length,
]
return feature_set
| text_based = ['perspective_score', 'identity_attack', 'sentiment', 'Please', 'Please_start', 'HASHEDGE', 'Indirect_(btw)', 'Hedges', 'Factuality', 'Deference', 'Gratitude', 'Apologizing', '1st_person_pl.', '1st_person', '1st_person_start', '2nd_person', '2nd_person_start', 'Indirect_(greeting)', 'Direct_question', 'Direct_start', 'HASPOSITIVE', 'HASNEGATIVE', 'SUBJUNCTIVE', 'INDICATIVE']
g_logs_based = ['rounds', 'shepherd_time', 'review_time']
oss_logs_based = ['rounds', 'shepherd_time']
drop_cols = ['Indirect_(btw)', 'Indirect_(greeting)', 'Apologizing', 'Deference', 'SUBJUNCTIVE', 'INDICATIVE']
text_based = list(set(text_based) - set(drop_cols))
length = ['length']
def get_feature_set(dat):
if dat == 'G':
logs_based = G_logs_based
else:
logs_based = OSS_logs_based
if dat == 'issues':
feature_set = [text_based]
else:
feature_set = [text_based, logs_based, text_based + logs_based]
return feature_set |
#Submitted by thr3sh0ld
#logic: Readable code
class Solution:
def largestDivisibleSubset(self, nums: List[int]) -> List[int]:
if len(nums) == 0 or len(nums) == 1:
return nums
nums.sort(reverse= False)
l = len(nums)
count = [1 for i in range(l)] #dp
prev = [-1 for i in range(l)] #store indexing
max_ind = 0
for i in range(0,l):
for j in range(i-1,-1,-1):
if (nums[i] % nums[j] == 0):
if (count[i] < count[j] + 1):
count[i] = count[j]+1
prev[i] = j
if (count[max_ind] < count[i]):
max_ind = i
k = max_ind
res = []
while k!=-1:
res.insert(0,nums[k])
k=prev[k]
return res | class Solution:
def largest_divisible_subset(self, nums: List[int]) -> List[int]:
if len(nums) == 0 or len(nums) == 1:
return nums
nums.sort(reverse=False)
l = len(nums)
count = [1 for i in range(l)]
prev = [-1 for i in range(l)]
max_ind = 0
for i in range(0, l):
for j in range(i - 1, -1, -1):
if nums[i] % nums[j] == 0:
if count[i] < count[j] + 1:
count[i] = count[j] + 1
prev[i] = j
if count[max_ind] < count[i]:
max_ind = i
k = max_ind
res = []
while k != -1:
res.insert(0, nums[k])
k = prev[k]
return res |
int('0x7e0', 0)
# 2016
int('7e0', 16)
# 2016
hex(2016)
# '0x7e0' | int('0x7e0', 0)
int('7e0', 16)
hex(2016) |
#!/usr/bin/env python3.6.4
# encoding: utf-8
# @Time : 2018/6/24 14:40
# @Author : penghaibo
# @contact: xxxx@qq.com
# @Site :
# @File : config.py
# @Software: PyCharm
appkey = "d391709bada01c89be6dba753752bcd5"
host = "http://v.juhe.cn/historyWeather/" | appkey = 'd391709bada01c89be6dba753752bcd5'
host = 'http://v.juhe.cn/historyWeather/' |
#
# PySNMP MIB module A100-R1-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A100-R1-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 16:48:46 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
IpAddress, MibIdentifier, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, ObjectIdentity, NotificationType, TimeTicks, Counter64, iso, Unsigned32, Integer32, Bits, Counter32, enterprises = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "MibIdentifier", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "ObjectIdentity", "NotificationType", "TimeTicks", "Counter64", "iso", "Unsigned32", "Integer32", "Bits", "Counter32", "enterprises")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
nec = MibIdentifier((1, 3, 6, 1, 4, 1, 119))
nec_mib = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2)).setLabel("nec-mib")
necProductDepend = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3))
atomis_mib = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14)).setLabel("atomis-mib")
m5core_mib = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3)).setLabel("m5core-mib")
node = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1))
linf = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2))
conn = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 3))
perf = MibIdentifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 4))
nodeOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("down", 1), ("active", 2), ("off-line", 3), ("testing", 4), ("initializing", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeOperStatus.setStatus('mandatory')
nodeIfConfTable = MibTable((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2), )
if mibBuilder.loadTexts: nodeIfConfTable.setStatus('mandatory')
nodeIfConfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1), ).setIndexNames((0, "A100-R1-MIB", "nodeIfConfIndex"))
if mibBuilder.loadTexts: nodeIfConfEntry.setStatus('mandatory')
nodeIfConfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeIfConfIndex.setStatus('mandatory')
nodeIfConfPhysType = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 99))).clone(namedValues=NamedValues(("other", 1), ("sar", 2), ("taxi100M", 3), ("oc3cSMF", 4), ("oc-3cMMF", 5), ("ds3-PLCP-SCRAMBLE", 6), ("ds3-PLCP-noScramble", 7), ("relay-6Mcel", 8), ("notInstalled", 99)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeIfConfPhysType.setStatus('mandatory')
nodeIfConfRev = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeIfConfRev.setStatus('mandatory')
nodeIfConfStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 99))).clone(namedValues=NamedValues(("other", 1), ("inService", 2), ("outOfService", 3), ("testing", 4), ("localLoopBack", 5), ("remoteLoopBack", 6), ("notInstalled", 99)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeIfConfStatus.setStatus('mandatory')
nodeFanStatus = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeFanStatus.setStatus('mandatory')
nodeUpcWindowSize = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 120))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nodeUpcWindowSize.setStatus('mandatory')
nodeBestEffortBufferSize = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nodeBestEffortBufferSize.setStatus('mandatory')
nodeGuaranteedBufferSize = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nodeGuaranteedBufferSize.setStatus('mandatory')
nodeBestEffortBufferThreshold = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nodeBestEffortBufferThreshold.setStatus('mandatory')
nodeGuaranteedBufferThreshold = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nodeGuaranteedBufferThreshold.setStatus('mandatory')
nodeSaveConf = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("save", 1)))).setMaxAccess("writeonly")
if mibBuilder.loadTexts: nodeSaveConf.setStatus('mandatory')
nodeSaveResult = MibScalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("temporaryFailure", 1), ("notReady", 2), ("ready", 3), ("succeed", 4), ("nearend", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nodeSaveResult.setStatus('mandatory')
linfStatusTable = MibTable((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1), )
if mibBuilder.loadTexts: linfStatusTable.setStatus('mandatory')
linfStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1), ).setIndexNames((0, "A100-R1-MIB", "linfIndex"))
if mibBuilder.loadTexts: linfStatusEntry.setStatus('mandatory')
linfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linfIndex.setStatus('mandatory')
linfStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 99))).clone(namedValues=NamedValues(("normal", 1), ("los", 2), ("lof", 3), ("loc", 4), ("ais", 5), ("yellow-line", 6), ("yellow-path", 7), ("lop", 8), ("notInstalled", 99)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linfStatus.setStatus('mandatory')
linfConf = MibTableColumn((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 99))).clone(namedValues=NamedValues(("public-UNI", 1), ("private-UNI", 2), ("private-NNI", 3), ("others", 99)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linfConf.setStatus('mandatory')
mibBuilder.exportSymbols("A100-R1-MIB", necProductDepend=necProductDepend, linfConf=linfConf, nodeIfConfIndex=nodeIfConfIndex, nodeFanStatus=nodeFanStatus, nodeBestEffortBufferSize=nodeBestEffortBufferSize, nodeGuaranteedBufferThreshold=nodeGuaranteedBufferThreshold, nodeIfConfPhysType=nodeIfConfPhysType, nodeOperStatus=nodeOperStatus, linfStatus=linfStatus, nodeUpcWindowSize=nodeUpcWindowSize, nodeSaveResult=nodeSaveResult, linfStatusTable=linfStatusTable, nodeIfConfTable=nodeIfConfTable, nodeIfConfRev=nodeIfConfRev, nodeIfConfStatus=nodeIfConfStatus, atomis_mib=atomis_mib, m5core_mib=m5core_mib, linfIndex=linfIndex, nodeIfConfEntry=nodeIfConfEntry, nodeGuaranteedBufferSize=nodeGuaranteedBufferSize, node=node, nec_mib=nec_mib, linfStatusEntry=linfStatusEntry, nodeSaveConf=nodeSaveConf, perf=perf, nodeBestEffortBufferThreshold=nodeBestEffortBufferThreshold, linf=linf, nec=nec, conn=conn)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, constraints_intersection, value_range_constraint, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(ip_address, mib_identifier, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, object_identity, notification_type, time_ticks, counter64, iso, unsigned32, integer32, bits, counter32, enterprises) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'MibIdentifier', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'ObjectIdentity', 'NotificationType', 'TimeTicks', 'Counter64', 'iso', 'Unsigned32', 'Integer32', 'Bits', 'Counter32', 'enterprises')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
nec = mib_identifier((1, 3, 6, 1, 4, 1, 119))
nec_mib = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2)).setLabel('nec-mib')
nec_product_depend = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3))
atomis_mib = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14)).setLabel('atomis-mib')
m5core_mib = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3)).setLabel('m5core-mib')
node = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1))
linf = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2))
conn = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 3))
perf = mib_identifier((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 4))
node_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('down', 1), ('active', 2), ('off-line', 3), ('testing', 4), ('initializing', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeOperStatus.setStatus('mandatory')
node_if_conf_table = mib_table((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2))
if mibBuilder.loadTexts:
nodeIfConfTable.setStatus('mandatory')
node_if_conf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1)).setIndexNames((0, 'A100-R1-MIB', 'nodeIfConfIndex'))
if mibBuilder.loadTexts:
nodeIfConfEntry.setStatus('mandatory')
node_if_conf_index = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeIfConfIndex.setStatus('mandatory')
node_if_conf_phys_type = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 99))).clone(namedValues=named_values(('other', 1), ('sar', 2), ('taxi100M', 3), ('oc3cSMF', 4), ('oc-3cMMF', 5), ('ds3-PLCP-SCRAMBLE', 6), ('ds3-PLCP-noScramble', 7), ('relay-6Mcel', 8), ('notInstalled', 99)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeIfConfPhysType.setStatus('mandatory')
node_if_conf_rev = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeIfConfRev.setStatus('mandatory')
node_if_conf_status = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 99))).clone(namedValues=named_values(('other', 1), ('inService', 2), ('outOfService', 3), ('testing', 4), ('localLoopBack', 5), ('remoteLoopBack', 6), ('notInstalled', 99)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeIfConfStatus.setStatus('mandatory')
node_fan_status = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeFanStatus.setStatus('mandatory')
node_upc_window_size = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 120))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nodeUpcWindowSize.setStatus('mandatory')
node_best_effort_buffer_size = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nodeBestEffortBufferSize.setStatus('mandatory')
node_guaranteed_buffer_size = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nodeGuaranteedBufferSize.setStatus('mandatory')
node_best_effort_buffer_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nodeBestEffortBufferThreshold.setStatus('mandatory')
node_guaranteed_buffer_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nodeGuaranteedBufferThreshold.setStatus('mandatory')
node_save_conf = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('save', 1)))).setMaxAccess('writeonly')
if mibBuilder.loadTexts:
nodeSaveConf.setStatus('mandatory')
node_save_result = mib_scalar((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('temporaryFailure', 1), ('notReady', 2), ('ready', 3), ('succeed', 4), ('nearend', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nodeSaveResult.setStatus('mandatory')
linf_status_table = mib_table((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1))
if mibBuilder.loadTexts:
linfStatusTable.setStatus('mandatory')
linf_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1)).setIndexNames((0, 'A100-R1-MIB', 'linfIndex'))
if mibBuilder.loadTexts:
linfStatusEntry.setStatus('mandatory')
linf_index = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linfIndex.setStatus('mandatory')
linf_status = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 99))).clone(namedValues=named_values(('normal', 1), ('los', 2), ('lof', 3), ('loc', 4), ('ais', 5), ('yellow-line', 6), ('yellow-path', 7), ('lop', 8), ('notInstalled', 99)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linfStatus.setStatus('mandatory')
linf_conf = mib_table_column((1, 3, 6, 1, 4, 1, 119, 2, 3, 14, 3, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 99))).clone(namedValues=named_values(('public-UNI', 1), ('private-UNI', 2), ('private-NNI', 3), ('others', 99)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
linfConf.setStatus('mandatory')
mibBuilder.exportSymbols('A100-R1-MIB', necProductDepend=necProductDepend, linfConf=linfConf, nodeIfConfIndex=nodeIfConfIndex, nodeFanStatus=nodeFanStatus, nodeBestEffortBufferSize=nodeBestEffortBufferSize, nodeGuaranteedBufferThreshold=nodeGuaranteedBufferThreshold, nodeIfConfPhysType=nodeIfConfPhysType, nodeOperStatus=nodeOperStatus, linfStatus=linfStatus, nodeUpcWindowSize=nodeUpcWindowSize, nodeSaveResult=nodeSaveResult, linfStatusTable=linfStatusTable, nodeIfConfTable=nodeIfConfTable, nodeIfConfRev=nodeIfConfRev, nodeIfConfStatus=nodeIfConfStatus, atomis_mib=atomis_mib, m5core_mib=m5core_mib, linfIndex=linfIndex, nodeIfConfEntry=nodeIfConfEntry, nodeGuaranteedBufferSize=nodeGuaranteedBufferSize, node=node, nec_mib=nec_mib, linfStatusEntry=linfStatusEntry, nodeSaveConf=nodeSaveConf, perf=perf, nodeBestEffortBufferThreshold=nodeBestEffortBufferThreshold, linf=linf, nec=nec, conn=conn) |
#
# PySNMP MIB module HPN-ICF-DOT11-LIC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-DOT11-LIC-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:25:45 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")
ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection")
hpnicfDot11, = mibBuilder.importSymbols("HPN-ICF-DOT11-REF-MIB", "hpnicfDot11")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Unsigned32, NotificationType, Bits, iso, Counter64, MibIdentifier, Counter32, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, TimeTicks, ObjectIdentity, IpAddress, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "NotificationType", "Bits", "iso", "Counter64", "MibIdentifier", "Counter32", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "TimeTicks", "ObjectIdentity", "IpAddress", "Integer32")
TextualConvention, TruthValue, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TruthValue", "DisplayString")
hpnicfDot11LIC = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14))
hpnicfDot11LIC.setRevisions(('2012-04-25 18:00',))
if mibBuilder.loadTexts: hpnicfDot11LIC.setLastUpdated('201204251800Z')
if mibBuilder.loadTexts: hpnicfDot11LIC.setOrganization('')
hpnicfDot11LICConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 1))
hpnicfDot11LICApNumGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2))
hpnicfDot11LICFeatureGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3))
hpnicfDot11LICSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICSerialNumber.setStatus('current')
hpnicfDot11LicApNumGroupSupport = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 1, 2), TruthValue().clone('false')).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LicApNumGroupSupport.setStatus('current')
hpnicfDot11LICApNumAttrTable = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1))
hpnicfDot11LICDefautAPNumPermit = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICDefautAPNumPermit.setStatus('current')
hpnicfDot11LICCurrentAPNumPermit = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICCurrentAPNumPermit.setStatus('current')
hpnicfDot11LICMaxAPNumPermit = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICMaxAPNumPermit.setStatus('current')
hpnicfDot11LICApNumLicTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2), )
if mibBuilder.loadTexts: hpnicfDot11LICApNumLicTable.setStatus('current')
hpnicfDot11LICApNumLicEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1), ).setIndexNames((0, "HPN-ICF-DOT11-LIC-MIB", "hpnicfDot11LICLicenseKeyIndex"))
if mibBuilder.loadTexts: hpnicfDot11LICApNumLicEntry.setStatus('current')
hpnicfDot11LICLicenseKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICLicenseKeyIndex.setStatus('current')
hpnicfDot11LICLicenseKey = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICLicenseKey.setStatus('current')
hpnicfDot11LICActivationKey = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICActivationKey.setStatus('current')
hpnicfDot11LICApNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICApNum.setStatus('current')
hpnicfDot11LICFeatureAttrTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1), )
if mibBuilder.loadTexts: hpnicfDot11LICFeatureAttrTable.setStatus('current')
hpnicfDot11LICFeatureAttrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1), ).setIndexNames((0, "HPN-ICF-DOT11-LIC-MIB", "hpnicfDot11LICAttrIndex"))
if mibBuilder.loadTexts: hpnicfDot11LICFeatureAttrEntry.setStatus('current')
hpnicfDot11LICAttrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICAttrIndex.setStatus('current')
hpnicfDot11LICAttrTypeName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICAttrTypeName.setStatus('current')
hpnicfDot11LICAttrDefVal = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICAttrDefVal.setStatus('current')
hpnicfDot11LICAttrMaxVal = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICAttrMaxVal.setStatus('current')
hpnicfDot11LICFeatureLicTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2), )
if mibBuilder.loadTexts: hpnicfDot11LICFeatureLicTable.setStatus('current')
hpnicfDot11LICFeatureLicEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1), ).setIndexNames((0, "HPN-ICF-DOT11-LIC-MIB", "hpnicfDot11LICKeyIndex"))
if mibBuilder.loadTexts: hpnicfDot11LICFeatureLicEntry.setStatus('current')
hpnicfDot11LICKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICKeyIndex.setStatus('current')
hpnicfDot11LICTypeName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICTypeName.setStatus('current')
hpnicfDot11LICKey = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICKey.setStatus('current')
hpnicfDot11LICTimeLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICTimeLimit.setStatus('current')
hpnicfDot11LICValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfDot11LICValue.setStatus('current')
mibBuilder.exportSymbols("HPN-ICF-DOT11-LIC-MIB", hpnicfDot11LICFeatureLicEntry=hpnicfDot11LICFeatureLicEntry, hpnicfDot11LICValue=hpnicfDot11LICValue, hpnicfDot11LICAttrMaxVal=hpnicfDot11LICAttrMaxVal, hpnicfDot11LICTimeLimit=hpnicfDot11LICTimeLimit, hpnicfDot11LICFeatureGroup=hpnicfDot11LICFeatureGroup, hpnicfDot11LICSerialNumber=hpnicfDot11LICSerialNumber, hpnicfDot11LICCurrentAPNumPermit=hpnicfDot11LICCurrentAPNumPermit, hpnicfDot11LICAttrDefVal=hpnicfDot11LICAttrDefVal, hpnicfDot11LICLicenseKeyIndex=hpnicfDot11LICLicenseKeyIndex, hpnicfDot11LICLicenseKey=hpnicfDot11LICLicenseKey, hpnicfDot11LICFeatureLicTable=hpnicfDot11LICFeatureLicTable, hpnicfDot11LICKey=hpnicfDot11LICKey, hpnicfDot11LICDefautAPNumPermit=hpnicfDot11LICDefautAPNumPermit, hpnicfDot11LICApNumLicEntry=hpnicfDot11LICApNumLicEntry, hpnicfDot11LICTypeName=hpnicfDot11LICTypeName, hpnicfDot11LICAttrTypeName=hpnicfDot11LICAttrTypeName, hpnicfDot11LICApNumLicTable=hpnicfDot11LICApNumLicTable, hpnicfDot11LICMaxAPNumPermit=hpnicfDot11LICMaxAPNumPermit, hpnicfDot11LicApNumGroupSupport=hpnicfDot11LicApNumGroupSupport, hpnicfDot11LICConfigGroup=hpnicfDot11LICConfigGroup, hpnicfDot11LICApNum=hpnicfDot11LICApNum, hpnicfDot11LICActivationKey=hpnicfDot11LICActivationKey, hpnicfDot11LIC=hpnicfDot11LIC, hpnicfDot11LICKeyIndex=hpnicfDot11LICKeyIndex, hpnicfDot11LICFeatureAttrTable=hpnicfDot11LICFeatureAttrTable, hpnicfDot11LICAttrIndex=hpnicfDot11LICAttrIndex, PYSNMP_MODULE_ID=hpnicfDot11LIC, hpnicfDot11LICApNumAttrTable=hpnicfDot11LICApNumAttrTable, hpnicfDot11LICApNumGroup=hpnicfDot11LICApNumGroup, hpnicfDot11LICFeatureAttrEntry=hpnicfDot11LICFeatureAttrEntry)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, single_value_constraint, value_size_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection')
(hpnicf_dot11,) = mibBuilder.importSymbols('HPN-ICF-DOT11-REF-MIB', 'hpnicfDot11')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(unsigned32, notification_type, bits, iso, counter64, mib_identifier, counter32, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, time_ticks, object_identity, ip_address, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'NotificationType', 'Bits', 'iso', 'Counter64', 'MibIdentifier', 'Counter32', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'TimeTicks', 'ObjectIdentity', 'IpAddress', 'Integer32')
(textual_convention, truth_value, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'TruthValue', 'DisplayString')
hpnicf_dot11_lic = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14))
hpnicfDot11LIC.setRevisions(('2012-04-25 18:00',))
if mibBuilder.loadTexts:
hpnicfDot11LIC.setLastUpdated('201204251800Z')
if mibBuilder.loadTexts:
hpnicfDot11LIC.setOrganization('')
hpnicf_dot11_lic_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 1))
hpnicf_dot11_lic_ap_num_group = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2))
hpnicf_dot11_lic_feature_group = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3))
hpnicf_dot11_lic_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICSerialNumber.setStatus('current')
hpnicf_dot11_lic_ap_num_group_support = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 1, 2), truth_value().clone('false')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LicApNumGroupSupport.setStatus('current')
hpnicf_dot11_lic_ap_num_attr_table = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1))
hpnicf_dot11_lic_defaut_ap_num_permit = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICDefautAPNumPermit.setStatus('current')
hpnicf_dot11_lic_current_ap_num_permit = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICCurrentAPNumPermit.setStatus('current')
hpnicf_dot11_lic_max_ap_num_permit = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICMaxAPNumPermit.setStatus('current')
hpnicf_dot11_lic_ap_num_lic_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2))
if mibBuilder.loadTexts:
hpnicfDot11LICApNumLicTable.setStatus('current')
hpnicf_dot11_lic_ap_num_lic_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1)).setIndexNames((0, 'HPN-ICF-DOT11-LIC-MIB', 'hpnicfDot11LICLicenseKeyIndex'))
if mibBuilder.loadTexts:
hpnicfDot11LICApNumLicEntry.setStatus('current')
hpnicf_dot11_lic_license_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICLicenseKeyIndex.setStatus('current')
hpnicf_dot11_lic_license_key = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICLicenseKey.setStatus('current')
hpnicf_dot11_lic_activation_key = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICActivationKey.setStatus('current')
hpnicf_dot11_lic_ap_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 2, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICApNum.setStatus('current')
hpnicf_dot11_lic_feature_attr_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1))
if mibBuilder.loadTexts:
hpnicfDot11LICFeatureAttrTable.setStatus('current')
hpnicf_dot11_lic_feature_attr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1)).setIndexNames((0, 'HPN-ICF-DOT11-LIC-MIB', 'hpnicfDot11LICAttrIndex'))
if mibBuilder.loadTexts:
hpnicfDot11LICFeatureAttrEntry.setStatus('current')
hpnicf_dot11_lic_attr_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICAttrIndex.setStatus('current')
hpnicf_dot11_lic_attr_type_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICAttrTypeName.setStatus('current')
hpnicf_dot11_lic_attr_def_val = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICAttrDefVal.setStatus('current')
hpnicf_dot11_lic_attr_max_val = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICAttrMaxVal.setStatus('current')
hpnicf_dot11_lic_feature_lic_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2))
if mibBuilder.loadTexts:
hpnicfDot11LICFeatureLicTable.setStatus('current')
hpnicf_dot11_lic_feature_lic_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1)).setIndexNames((0, 'HPN-ICF-DOT11-LIC-MIB', 'hpnicfDot11LICKeyIndex'))
if mibBuilder.loadTexts:
hpnicfDot11LICFeatureLicEntry.setStatus('current')
hpnicf_dot11_lic_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICKeyIndex.setStatus('current')
hpnicf_dot11_lic_type_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICTypeName.setStatus('current')
hpnicf_dot11_lic_key = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICKey.setStatus('current')
hpnicf_dot11_lic_time_limit = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICTimeLimit.setStatus('current')
hpnicf_dot11_lic_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 75, 14, 3, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfDot11LICValue.setStatus('current')
mibBuilder.exportSymbols('HPN-ICF-DOT11-LIC-MIB', hpnicfDot11LICFeatureLicEntry=hpnicfDot11LICFeatureLicEntry, hpnicfDot11LICValue=hpnicfDot11LICValue, hpnicfDot11LICAttrMaxVal=hpnicfDot11LICAttrMaxVal, hpnicfDot11LICTimeLimit=hpnicfDot11LICTimeLimit, hpnicfDot11LICFeatureGroup=hpnicfDot11LICFeatureGroup, hpnicfDot11LICSerialNumber=hpnicfDot11LICSerialNumber, hpnicfDot11LICCurrentAPNumPermit=hpnicfDot11LICCurrentAPNumPermit, hpnicfDot11LICAttrDefVal=hpnicfDot11LICAttrDefVal, hpnicfDot11LICLicenseKeyIndex=hpnicfDot11LICLicenseKeyIndex, hpnicfDot11LICLicenseKey=hpnicfDot11LICLicenseKey, hpnicfDot11LICFeatureLicTable=hpnicfDot11LICFeatureLicTable, hpnicfDot11LICKey=hpnicfDot11LICKey, hpnicfDot11LICDefautAPNumPermit=hpnicfDot11LICDefautAPNumPermit, hpnicfDot11LICApNumLicEntry=hpnicfDot11LICApNumLicEntry, hpnicfDot11LICTypeName=hpnicfDot11LICTypeName, hpnicfDot11LICAttrTypeName=hpnicfDot11LICAttrTypeName, hpnicfDot11LICApNumLicTable=hpnicfDot11LICApNumLicTable, hpnicfDot11LICMaxAPNumPermit=hpnicfDot11LICMaxAPNumPermit, hpnicfDot11LicApNumGroupSupport=hpnicfDot11LicApNumGroupSupport, hpnicfDot11LICConfigGroup=hpnicfDot11LICConfigGroup, hpnicfDot11LICApNum=hpnicfDot11LICApNum, hpnicfDot11LICActivationKey=hpnicfDot11LICActivationKey, hpnicfDot11LIC=hpnicfDot11LIC, hpnicfDot11LICKeyIndex=hpnicfDot11LICKeyIndex, hpnicfDot11LICFeatureAttrTable=hpnicfDot11LICFeatureAttrTable, hpnicfDot11LICAttrIndex=hpnicfDot11LICAttrIndex, PYSNMP_MODULE_ID=hpnicfDot11LIC, hpnicfDot11LICApNumAttrTable=hpnicfDot11LICApNumAttrTable, hpnicfDot11LICApNumGroup=hpnicfDot11LICApNumGroup, hpnicfDot11LICFeatureAttrEntry=hpnicfDot11LICFeatureAttrEntry) |
lista_alunos=[]
lista_notas=[]
n1=0
n2=1
n3=2
n4=3
for i in range(0,10,1):
lista_alunos.append(str(input('Digite seu nome:')))
for i in range(0,1,1):
lista_notas.append(float(input('Digite a primeira nota:')))
lista_notas.append(float(input('Digite a segunda nota:')))
lista_notas.append(float(input('Digite a terceira nota:')))
lista_notas.append(float(input('Digite a quarta nota:')))
for i in lista_alunos:
media=(lista_notas[n1]+lista_notas[n2]+lista_notas[n3]+lista_notas[n4])/4
print(f'Nome:{[i]}\nMedia:{media}')
if(media>=7.0):
print('Aprovado')
else:
print('Reprovado')
n1+=4
n2+=4
n3+=4
n4+=4 | lista_alunos = []
lista_notas = []
n1 = 0
n2 = 1
n3 = 2
n4 = 3
for i in range(0, 10, 1):
lista_alunos.append(str(input('Digite seu nome:')))
for i in range(0, 1, 1):
lista_notas.append(float(input('Digite a primeira nota:')))
lista_notas.append(float(input('Digite a segunda nota:')))
lista_notas.append(float(input('Digite a terceira nota:')))
lista_notas.append(float(input('Digite a quarta nota:')))
for i in lista_alunos:
media = (lista_notas[n1] + lista_notas[n2] + lista_notas[n3] + lista_notas[n4]) / 4
print(f'Nome:{[i]}\nMedia:{media}')
if media >= 7.0:
print('Aprovado')
else:
print('Reprovado')
n1 += 4
n2 += 4
n3 += 4
n4 += 4 |
def simple_generator():
for i in range(5):
yield i
def run_simple_generator():
for j in simple_generator():
print(f"For loop: {j}")
sg = simple_generator()
print(f"Next value: {next(sg)}")
print(f"Next value: {next(sg)}")
print(f"Next value: {next(sg)}")
my_gen = simple_generator()
print(type(my_gen), next(my_gen))
print(next(my_gen))
def generator_comprehension():
gen_comp = (x for x in range(4))
list_comp = [x for x in range(4)]
for j in gen_comp:
print(j)
print(f"{type(gen_comp)}, {type(list_comp)}")
| def simple_generator():
for i in range(5):
yield i
def run_simple_generator():
for j in simple_generator():
print(f'For loop: {j}')
sg = simple_generator()
print(f'Next value: {next(sg)}')
print(f'Next value: {next(sg)}')
print(f'Next value: {next(sg)}')
my_gen = simple_generator()
print(type(my_gen), next(my_gen))
print(next(my_gen))
def generator_comprehension():
gen_comp = (x for x in range(4))
list_comp = [x for x in range(4)]
for j in gen_comp:
print(j)
print(f'{type(gen_comp)}, {type(list_comp)}') |
my_variable = 'hello'
my_list_variable = ['hello', 'hi', 'nice to meet you']
my_tuple_variable = ('hello', 'hi', 'nice to meet you') # we can not increase the size of a tuple, it's immutable
my_set_variable = {'hello', 'hi', 'nice to meet you'} # Unique and unordered
print(my_list_variable)
print(my_tuple_variable)
print(my_set_variable)
my_short_tuple_variable = ("hello",)
another_short_tuple_variable = "hello",
print(my_list_variable[0])
print(my_tuple_variable[0])
print(my_set_variable[0]) # This won't work, because there is no order. Which one is element 0?
my_list_variable.append('another string')
print(my_list_variable)
my_tuple_variable.append('a string') # This won't work, because a tuple is not a list.
my_tuple_variable = my_tuple_variable + ("a string",)
print(my_tuple_variable)
my_tuple_variable[0] = 'can I change this?' # No, you can't
my_set_variable.add('hello')
print(my_set_variable)
my_set_variable.add('hello')
print(my_set_variable)
###### Set Operations
set_one = {1, 2, 3, 4, 5}
set_two = {1, 3, 5, 7, 9, 11}
print(set_one.intersection(set_two)) # {1, 3, 5}
print({1, 2}.union({2, 3})) # {1, 2, 3}
print({1, 2, 3, 4}.difference({2, 4})) # {1, 3}
| my_variable = 'hello'
my_list_variable = ['hello', 'hi', 'nice to meet you']
my_tuple_variable = ('hello', 'hi', 'nice to meet you')
my_set_variable = {'hello', 'hi', 'nice to meet you'}
print(my_list_variable)
print(my_tuple_variable)
print(my_set_variable)
my_short_tuple_variable = ('hello',)
another_short_tuple_variable = ('hello',)
print(my_list_variable[0])
print(my_tuple_variable[0])
print(my_set_variable[0])
my_list_variable.append('another string')
print(my_list_variable)
my_tuple_variable.append('a string')
my_tuple_variable = my_tuple_variable + ('a string',)
print(my_tuple_variable)
my_tuple_variable[0] = 'can I change this?'
my_set_variable.add('hello')
print(my_set_variable)
my_set_variable.add('hello')
print(my_set_variable)
set_one = {1, 2, 3, 4, 5}
set_two = {1, 3, 5, 7, 9, 11}
print(set_one.intersection(set_two))
print({1, 2}.union({2, 3}))
print({1, 2, 3, 4}.difference({2, 4})) |
# -*- coding: utf-8 -*-
DEFAULT_SETTINGS_MODULE = True
APP_B_FOO = "foo"
| default_settings_module = True
app_b_foo = 'foo' |
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'use_system_sqlite%': 0,
},
'target_defaults': {
'defines': [
'SQLITE_CORE',
'SQLITE_ENABLE_BROKEN_FTS3',
'DSQLITE_ENABLE_FTS3_PARENTHESIS',
'SQLITE_ENABLE_FTS3',
'SQLITE_ENABLE_FTS4',
'SQLITE_ENABLE_MEMORY_MANAGEMENT',
'SQLITE_SECURE_DELETE',
'SQLITE_SEPARATE_CACHE_POOLS',
'THREADSAFE',
'_HAS_EXCEPTIONS=0',
],
},
'targets': [
{
'target_name': 'sqlite',
'conditions': [
[ 'v8_is_3_28==1', {
'defines': [
'V8_IS_3_28=1'
],
}],
[ 'node_win_onecore==1', {
'defines': ['SQLITE_OS_WINRT']
}],
[ 'v8_is_3_14==1', {
'defines': [
'V8_IS_3_14=1'
],
}],
['use_system_sqlite', {
'type': 'none',
'direct_dependent_settings': {
'defines': [
'USE_SYSTEM_SQLITE',
],
},
'conditions': [
['OS == "ios"', {
'dependencies': [
'sqlite_regexp',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/usr/lib/libsqlite3.dylib',
],
},
}],
],
}, { # !use_system_sqlite
'product_name': 'sqlite3',
'type': 'static_library',
'sources': [
'sqlite3.h',
'sqlite3ext.h',
'sqlite3.c',
],
'include_dirs': [
# 'amalgamation',
# Needed for fts2 to build.
# 'src/src',
],
'direct_dependent_settings': {
'include_dirs': [
'.',
'../..',
],
},
'msvs_disabled_warnings': [
4018, 4244, 4267,
],
'conditions': [
['OS=="linux"', {
'link_settings': {
'libraries': [
'-ldl',
],
},
}],
['OS == "mac" or OS == "ios"', {
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
],
},
}],
['OS=="ios"', {
'xcode_settings': {
'ALWAYS_SEARCH_USER_PATHS': 'NO',
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
# (Equivalent to -fPIC)
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
'PREBINDING': 'NO', # No -Wl,-prebind
'EMBED_BITCODE': 'YES',
'IPHONEOS_DEPLOYMENT_TARGET': '6.0',
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
'USE_HEADERMAP': 'NO',
'OTHER_CFLAGS': [
'-fno-strict-aliasing',
'-fno-standalone-debug'
],
'OTHER_CPLUSPLUSFLAGS': [
'-fno-strict-aliasing',
'-fno-standalone-debug'
],
'OTHER_LDFLAGS': [
'-s'
],
'WARNING_CFLAGS': [
'-Wall',
'-Wendif-labels',
'-W',
'-Wno-unused-parameter',
],
},
'defines':[ '__IOS__' ],
'conditions': [
['target_arch=="ia32"', {
'xcode_settings': {'ARCHS': ['i386']},
}],
['target_arch=="x64"', {
'xcode_settings': {'ARCHS': ['x86_64']},
}],
[ 'target_arch in "arm64 arm armv7s"', {
'xcode_settings': {
'OTHER_CFLAGS': [
'-fembed-bitcode'
],
'OTHER_CPLUSPLUSFLAGS': [
'-fembed-bitcode'
],
}
}],
[ 'target_arch=="arm64"', {
'xcode_settings': {'ARCHS': ['arm64']},
}],
[ 'target_arch=="arm"', {
'xcode_settings': {'ARCHS': ['armv7']},
}],
[ 'target_arch=="armv7s"', {
'xcode_settings': {'ARCHS': ['armv7s']},
}],
[ 'target_arch=="x64" or target_arch=="ia32"', {
'xcode_settings': { 'SDKROOT': 'iphonesimulator' },
}, {
'xcode_settings': { 'SDKROOT': 'iphoneos', 'ENABLE_BITCODE': 'YES'},
}]
],
}],
['OS == "android"', {
'defines': [
'HAVE_USLEEP=1',
'SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576',
'SQLITE_DEFAULT_AUTOVACUUM=1',
'SQLITE_TEMP_STORE=3',
'SQLITE_ENABLE_FTS3_BACKWARDS',
'DSQLITE_DEFAULT_FILE_FORMAT=4',
],
}],
['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
'cflags': [
# SQLite doesn't believe in compiler warnings,
# preferring testing.
# http://www.sqlite.org/faq.html#q17
'-Wno-int-to-pointer-cast',
'-Wno-pointer-to-int-cast',
],
}],
['clang==1', {
'xcode_settings': {
'WARNING_CFLAGS': [
# sqlite does `if (*a++ && *b++);` in a non-buggy way.
'-Wno-empty-body',
# sqlite has some `unsigned < 0` checks.
'-Wno-tautological-compare',
],
},
'cflags': [
'-Wno-empty-body',
'-Wno-tautological-compare',
],
}],
],
}],
],
},
],
}
| {'variables': {'use_system_sqlite%': 0}, 'target_defaults': {'defines': ['SQLITE_CORE', 'SQLITE_ENABLE_BROKEN_FTS3', 'DSQLITE_ENABLE_FTS3_PARENTHESIS', 'SQLITE_ENABLE_FTS3', 'SQLITE_ENABLE_FTS4', 'SQLITE_ENABLE_MEMORY_MANAGEMENT', 'SQLITE_SECURE_DELETE', 'SQLITE_SEPARATE_CACHE_POOLS', 'THREADSAFE', '_HAS_EXCEPTIONS=0']}, 'targets': [{'target_name': 'sqlite', 'conditions': [['v8_is_3_28==1', {'defines': ['V8_IS_3_28=1']}], ['node_win_onecore==1', {'defines': ['SQLITE_OS_WINRT']}], ['v8_is_3_14==1', {'defines': ['V8_IS_3_14=1']}], ['use_system_sqlite', {'type': 'none', 'direct_dependent_settings': {'defines': ['USE_SYSTEM_SQLITE']}, 'conditions': [['OS == "ios"', {'dependencies': ['sqlite_regexp'], 'link_settings': {'libraries': ['$(SDKROOT)/usr/lib/libsqlite3.dylib']}}]]}, {'product_name': 'sqlite3', 'type': 'static_library', 'sources': ['sqlite3.h', 'sqlite3ext.h', 'sqlite3.c'], 'include_dirs': [], 'direct_dependent_settings': {'include_dirs': ['.', '../..']}, 'msvs_disabled_warnings': [4018, 4244, 4267], 'conditions': [['OS=="linux"', {'link_settings': {'libraries': ['-ldl']}}], ['OS == "mac" or OS == "ios"', {'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework']}}], ['OS=="ios"', {'xcode_settings': {'ALWAYS_SEARCH_USER_PATHS': 'NO', 'GCC_CW_ASM_SYNTAX': 'NO', 'GCC_DYNAMIC_NO_PIC': 'NO', 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', 'GCC_ENABLE_CPP_RTTI': 'NO', 'GCC_ENABLE_PASCAL_STRINGS': 'NO', 'GCC_THREADSAFE_STATICS': 'NO', 'PREBINDING': 'NO', 'EMBED_BITCODE': 'YES', 'IPHONEOS_DEPLOYMENT_TARGET': '6.0', 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', 'USE_HEADERMAP': 'NO', 'OTHER_CFLAGS': ['-fno-strict-aliasing', '-fno-standalone-debug'], 'OTHER_CPLUSPLUSFLAGS': ['-fno-strict-aliasing', '-fno-standalone-debug'], 'OTHER_LDFLAGS': ['-s'], 'WARNING_CFLAGS': ['-Wall', '-Wendif-labels', '-W', '-Wno-unused-parameter']}, 'defines': ['__IOS__'], 'conditions': [['target_arch=="ia32"', {'xcode_settings': {'ARCHS': ['i386']}}], ['target_arch=="x64"', {'xcode_settings': {'ARCHS': ['x86_64']}}], ['target_arch in "arm64 arm armv7s"', {'xcode_settings': {'OTHER_CFLAGS': ['-fembed-bitcode'], 'OTHER_CPLUSPLUSFLAGS': ['-fembed-bitcode']}}], ['target_arch=="arm64"', {'xcode_settings': {'ARCHS': ['arm64']}}], ['target_arch=="arm"', {'xcode_settings': {'ARCHS': ['armv7']}}], ['target_arch=="armv7s"', {'xcode_settings': {'ARCHS': ['armv7s']}}], ['target_arch=="x64" or target_arch=="ia32"', {'xcode_settings': {'SDKROOT': 'iphonesimulator'}}, {'xcode_settings': {'SDKROOT': 'iphoneos', 'ENABLE_BITCODE': 'YES'}}]]}], ['OS == "android"', {'defines': ['HAVE_USLEEP=1', 'SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576', 'SQLITE_DEFAULT_AUTOVACUUM=1', 'SQLITE_TEMP_STORE=3', 'SQLITE_ENABLE_FTS3_BACKWARDS', 'DSQLITE_DEFAULT_FILE_FORMAT=4']}], ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {'cflags': ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']}], ['clang==1', {'xcode_settings': {'WARNING_CFLAGS': ['-Wno-empty-body', '-Wno-tautological-compare']}, 'cflags': ['-Wno-empty-body', '-Wno-tautological-compare']}]]}]]}]} |
seriffont = {"Width": 6, "Height": 8, "Start": 32, "End": 127, "Data": bytearray([
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x03, 0x00, 0x03, 0x00, 0x00, 0x00, #0x00,
0x12, 0x3F, 0x12, 0x3F, 0x12, 0x00, #0x00,
0x26, 0x7F, 0x32, 0x00, 0x00, 0x00, #0x00,
0x13, 0x0B, 0x34, 0x32, 0x00, 0x00, #0x00,
0x1A, 0x25, 0x1A, 0x28, 0x00, 0x00, #0x00,
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x7E, 0x81, 0x00, 0x00, 0x00, 0x00, #0x00,
0x81, 0x7E, 0x00, 0x00, 0x00, 0x00, #0x00,
0x06, 0x06, 0x00, 0x00, 0x00, 0x00, #0x00,
0x08, 0x1C, 0x08, 0x00, 0x00, 0x00, #0x00,
0x60, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x08, 0x08, 0x00, 0x00, 0x00, 0x00, #0x00,
0x20, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x38, 0x07, 0x00, 0x00, 0x00, 0x00, #0x00,
0x1E, 0x21, 0x21, 0x1E, 0x00, 0x00, #0x00,
0x02, 0x3F, 0x00, 0x00, 0x00, 0x00, #0x00,
0x32, 0x29, 0x29, 0x36, 0x00, 0x00, #0x00,
0x12, 0x21, 0x25, 0x1A, 0x00, 0x00, #0x00,
0x18, 0x16, 0x3F, 0x10, 0x00, 0x00, #0x00,
0x27, 0x25, 0x19, 0x00, 0x00, 0x00, #0x00,
0x1E, 0x25, 0x25, 0x18, 0x00, 0x00, #0x00,
0x03, 0x39, 0x07, 0x00, 0x00, 0x00, #0x00,
0x1A, 0x25, 0x25, 0x1A, 0x00, 0x00, #0x00,
0x06, 0x29, 0x29, 0x1E, 0x00, 0x00, #0x00,
0x24, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x64, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x08, 0x14, 0x22, 0x00, 0x00, 0x00, #0x00,
0x14, 0x14, 0x14, 0x00, 0x00, 0x00, #0x00,
0x22, 0x14, 0x08, 0x00, 0x00, 0x00, #0x00,
0x02, 0x29, 0x05, 0x02, 0x00, 0x00, #0x00,
0x1C, 0x22, 0x49, 0x55, 0x59, 0x12, #0x0C,
0x30, 0x2C, 0x0B, 0x0B, 0x2C, 0x30, #0x00,
0x21, 0x3F, 0x25, 0x25, 0x1A, 0x00, #0x00,
0x1E, 0x21, 0x21, 0x21, 0x13, 0x00, #0x00,
0x21, 0x3F, 0x21, 0x21, 0x1E, 0x00, #0x00,
0x21, 0x3F, 0x25, 0x33, 0x00, 0x00, #0x00,
0x21, 0x3F, 0x25, 0x03, 0x00, 0x00, #0x00,
0x1E, 0x21, 0x21, 0x29, 0x3B, 0x00, #0x00,
0x3F, 0x04, 0x04, 0x3F, 0x00, 0x00, #0x00,
0x3F, 0x21, 0x00, 0x00, 0x00, 0x00, #0x00,
0x21, 0x1F, 0x01, 0x00, 0x00, 0x00, #0x00,
0x21, 0x3F, 0x0C, 0x33, 0x21, 0x00, #0x00,
0x3F, 0x21, 0x30, 0x00, 0x00, 0x00, #0x00,
0x21, 0x3F, 0x0C, 0x30, 0x0C, 0x3F, #0x21,
0x3F, 0x03, 0x0C, 0x3F, 0x01, 0x00, #0x00,
0x1E, 0x21, 0x21, 0x21, 0x1E, 0x00, #0x00,
0x3F, 0x29, 0x06, 0x00, 0x00, 0x00, #0x00,
0x1E, 0x21, 0x21, 0x61, 0x1E, 0x00, #0x00,
0x21, 0x3F, 0x09, 0x36, 0x00, 0x00, #0x00,
0x32, 0x25, 0x25, 0x1B, 0x00, 0x00, #0x00,
0x01, 0x3F, 0x01, 0x00, 0x00, 0x00, #0x00,
0x1F, 0x21, 0x20, 0x21, 0x1F, 0x00, #0x00,
0x03, 0x0D, 0x30, 0x30, 0x0D, 0x03, #0x00,
0x0F, 0x31, 0x0C, 0x0C, 0x31, 0x0F, #0x00,
0x21, 0x33, 0x0C, 0x0C, 0x33, 0x21, #0x00,
0x03, 0x24, 0x38, 0x24, 0x03, 0x01, #0x00,
0x29, 0x25, 0x33, 0x00, 0x00, 0x00, #0x00,
0x7F, 0x41, 0x00, 0x00, 0x00, 0x00, #0x00,
0x07, 0x38, 0x00, 0x00, 0x00, 0x00, #0x00,
0x41, 0x7F, 0x00, 0x00, 0x00, 0x00, #0x00,
0x02, 0x01, 0x02, 0x00, 0x00, 0x00, #0x00,
0x40, 0x40, 0x40, 0x40, 0x00, 0x00, #0x00,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, #0x00,
0x14, 0x24, 0x38, 0x00, 0x00, 0x00, #0x00,
0x3F, 0x28, 0x24, 0x18, 0x00, 0x00, #0x00,
0x18, 0x24, 0x24, 0x00, 0x00, 0x00, #0x00,
0x18, 0x24, 0x25, 0x3F, 0x00, 0x00, #0x00,
0x18, 0x24, 0x28, 0x00, 0x00, 0x00, #0x00,
0x3E, 0x25, 0x00, 0x00, 0x00, 0x00, #0x00,
0x18, 0xA4, 0xA4, 0x7C, 0x00, 0x00, #0x00,
0x3F, 0x04, 0x38, 0x00, 0x00, 0x00, #0x00,
0x3D, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0xFD, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x3F, 0x18, 0x24, 0x00, 0x00, 0x00, #0x00,
0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x3C, 0x04, 0x38, 0x04, 0x38, 0x00, #0x00,
0x3C, 0x04, 0x38, 0x00, 0x00, 0x00, #0x00,
0x18, 0x24, 0x24, 0x18, 0x00, 0x00, #0x00,
0xFC, 0xA4, 0x24, 0x18, 0x00, 0x00, #0x00,
0x18, 0x24, 0xA4, 0xFC, 0x00, 0x00, #0x00,
0x3C, 0x04, 0x00, 0x00, 0x00, 0x00, #0x00,
0x28, 0x24, 0x14, 0x00, 0x00, 0x00, #0x00,
0x1E, 0x24, 0x00, 0x00, 0x00, 0x00, #0x00,
0x1C, 0x20, 0x3C, 0x00, 0x00, 0x00, #0x00,
0x0C, 0x30, 0x0C, 0x00, 0x00, 0x00, #0x00,
0x0C, 0x30, 0x0C, 0x30, 0x0C, 0x00, #0x00,
0x24, 0x18, 0x24, 0x00, 0x00, 0x00, #0x00,
0x9C, 0x60, 0x1C, 0x00, 0x00, 0x00, #0x00,
0x34, 0x24, 0x2C, 0x00, 0x00, 0x00, #0x00,
0x08, 0x77, 0x00, 0x00, 0x00, 0x00, #0x00,
0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00,
0x77, 0x08, 0x00, 0x00, 0x00, 0x00, #0x00,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, #0x00,
0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, #0x00
])}
| seriffont = {'Width': 6, 'Height': 8, 'Start': 32, 'End': 127, 'Data': bytearray([0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 3, 0, 3, 0, 0, 0, 18, 63, 18, 63, 18, 0, 38, 127, 50, 0, 0, 0, 19, 11, 52, 50, 0, 0, 26, 37, 26, 40, 0, 0, 3, 0, 0, 0, 0, 0, 126, 129, 0, 0, 0, 0, 129, 126, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 8, 28, 8, 0, 0, 0, 96, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 56, 7, 0, 0, 0, 0, 30, 33, 33, 30, 0, 0, 2, 63, 0, 0, 0, 0, 50, 41, 41, 54, 0, 0, 18, 33, 37, 26, 0, 0, 24, 22, 63, 16, 0, 0, 39, 37, 25, 0, 0, 0, 30, 37, 37, 24, 0, 0, 3, 57, 7, 0, 0, 0, 26, 37, 37, 26, 0, 0, 6, 41, 41, 30, 0, 0, 36, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 20, 34, 0, 0, 0, 20, 20, 20, 0, 0, 0, 34, 20, 8, 0, 0, 0, 2, 41, 5, 2, 0, 0, 28, 34, 73, 85, 89, 18, 48, 44, 11, 11, 44, 48, 33, 63, 37, 37, 26, 0, 30, 33, 33, 33, 19, 0, 33, 63, 33, 33, 30, 0, 33, 63, 37, 51, 0, 0, 33, 63, 37, 3, 0, 0, 30, 33, 33, 41, 59, 0, 63, 4, 4, 63, 0, 0, 63, 33, 0, 0, 0, 0, 33, 31, 1, 0, 0, 0, 33, 63, 12, 51, 33, 0, 63, 33, 48, 0, 0, 0, 33, 63, 12, 48, 12, 63, 63, 3, 12, 63, 1, 0, 30, 33, 33, 33, 30, 0, 63, 41, 6, 0, 0, 0, 30, 33, 33, 97, 30, 0, 33, 63, 9, 54, 0, 0, 50, 37, 37, 27, 0, 0, 1, 63, 1, 0, 0, 0, 31, 33, 32, 33, 31, 0, 3, 13, 48, 48, 13, 3, 15, 49, 12, 12, 49, 15, 33, 51, 12, 12, 51, 33, 3, 36, 56, 36, 3, 1, 41, 37, 51, 0, 0, 0, 127, 65, 0, 0, 0, 0, 7, 56, 0, 0, 0, 0, 65, 127, 0, 0, 0, 0, 2, 1, 2, 0, 0, 0, 64, 64, 64, 64, 0, 0, 0, 1, 0, 0, 0, 0, 20, 36, 56, 0, 0, 0, 63, 40, 36, 24, 0, 0, 24, 36, 36, 0, 0, 0, 24, 36, 37, 63, 0, 0, 24, 36, 40, 0, 0, 0, 62, 37, 0, 0, 0, 0, 24, 164, 164, 124, 0, 0, 63, 4, 56, 0, 0, 0, 61, 0, 0, 0, 0, 0, 253, 0, 0, 0, 0, 0, 63, 24, 36, 0, 0, 0, 63, 0, 0, 0, 0, 0, 60, 4, 56, 4, 56, 0, 60, 4, 56, 0, 0, 0, 24, 36, 36, 24, 0, 0, 252, 164, 36, 24, 0, 0, 24, 36, 164, 252, 0, 0, 60, 4, 0, 0, 0, 0, 40, 36, 20, 0, 0, 0, 30, 36, 0, 0, 0, 0, 28, 32, 60, 0, 0, 0, 12, 48, 12, 0, 0, 0, 12, 48, 12, 48, 12, 0, 36, 24, 36, 0, 0, 0, 156, 96, 28, 0, 0, 0, 52, 36, 44, 0, 0, 0, 8, 119, 0, 0, 0, 0, 127, 0, 0, 0, 0, 0, 119, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0])} |
London_walk = ox.graph_from_place('London, UK', network_type='walk')
London_walk_simple=nx.Graph(London_walk)
street_bus=London_walk_simple.copy()
street_bus.add_nodes_from(BN.nodes(data=True))
street_bus.add_edges_from(BN.edges(data=True))
# create tree
street_nodes=[]
for node,data in London_walk_simple.nodes(data=True):
street_nodes.append(data['pos'])
street_nodes_array=np.vstack(street_nodes)
tree = KDTree(street_nodes_array)
def passenger_node_mapping(node,prestige_id,easting,northing,to_be_mapped_graph,tree_graph,tree):
to_be_mapped_graph.add_node(node,
easting_amt = easting,
northing_amt=northing,
pos=(easting,northing),
prestige_id=prestige_id,
mode='walk',specific_mode='passenger',
size=0.01,color='#2ECCFA'
)
to_be_mapped_graph.add_edge(node,
tree_graph.nodes()[tree.query([easting,northing])[1]],
length=tree.query([easting,northing])[0],
weight=tree.query([easting,northing])[0]/80,
color='#A4A4A4',
ivt=None,
waiting_time=None,
walking_time=tree.query([easting,northing])[0]/80,
boarding=None,
mode='walk',
specific_mode='street',
width=0.005,
size=0.01
),
to_be_mapped_graph.add_edge(tree_graph.nodes()[tree.query([easting,northing])[1]],
node,
length=tree.query([easting,northing])[0],
weight=tree.query([easting,northing])[0]/80,
color='#A4A4A4',
ivt=None,
waiting_time=None,
walking_time=tree.query([easting,northing])[0]/80,
boarding=None,
mode='walk',
specific_mode='street',
width=0.005,
size=0.01
)
return to_be_mapped_graph
## example
## passenger_node_mapping('walala',prestige_id=189765768,easting=529997,northing=181436,to_be_mapped_graph=street_bus, tree_graph=London_walk_simple,tree=tree)
# passenegr_node remove
def remove_passemger_node(node,mapped_graph):
mapped_graph.remove_node(node)
return mapped_graph
| london_walk = ox.graph_from_place('London, UK', network_type='walk')
london_walk_simple = nx.Graph(London_walk)
street_bus = London_walk_simple.copy()
street_bus.add_nodes_from(BN.nodes(data=True))
street_bus.add_edges_from(BN.edges(data=True))
street_nodes = []
for (node, data) in London_walk_simple.nodes(data=True):
street_nodes.append(data['pos'])
street_nodes_array = np.vstack(street_nodes)
tree = kd_tree(street_nodes_array)
def passenger_node_mapping(node, prestige_id, easting, northing, to_be_mapped_graph, tree_graph, tree):
to_be_mapped_graph.add_node(node, easting_amt=easting, northing_amt=northing, pos=(easting, northing), prestige_id=prestige_id, mode='walk', specific_mode='passenger', size=0.01, color='#2ECCFA')
(to_be_mapped_graph.add_edge(node, tree_graph.nodes()[tree.query([easting, northing])[1]], length=tree.query([easting, northing])[0], weight=tree.query([easting, northing])[0] / 80, color='#A4A4A4', ivt=None, waiting_time=None, walking_time=tree.query([easting, northing])[0] / 80, boarding=None, mode='walk', specific_mode='street', width=0.005, size=0.01),)
to_be_mapped_graph.add_edge(tree_graph.nodes()[tree.query([easting, northing])[1]], node, length=tree.query([easting, northing])[0], weight=tree.query([easting, northing])[0] / 80, color='#A4A4A4', ivt=None, waiting_time=None, walking_time=tree.query([easting, northing])[0] / 80, boarding=None, mode='walk', specific_mode='street', width=0.005, size=0.01)
return to_be_mapped_graph
def remove_passemger_node(node, mapped_graph):
mapped_graph.remove_node(node)
return mapped_graph |
# 18 > = Adult
# 5-17 = Child
# >0 - 5 = Infant
your_age = int(input("Enter you age : "))
if your_age >= 18 :
print("ADULT")
elif your_age > 5 :
print("CHILD")
else :
print("INFANT")
| your_age = int(input('Enter you age : '))
if your_age >= 18:
print('ADULT')
elif your_age > 5:
print('CHILD')
else:
print('INFANT') |
class Solution:
def solve(self, matrix):
dp = [[[None,0,0,0] for x in range(len(matrix[0])+1)] for y in range(len(matrix)+1)]
ans = 0
for y in range(len(matrix)):
for x in range(len(matrix[0])):
coeff0 = 1 if matrix[y][x] == dp[y-1][x][0] == dp[y][x-1][0] == dp[y-1][x-1][0] else 0
coeff1 = 1 if matrix[y][x] == dp[y-1][x][0] else 0
coeff2 = 1 if matrix[y][x] == dp[y][x-1][0] else 0
dp[y][x] = [matrix[y][x], coeff0*min(dp[y-1][x-1][1], dp[y-1][x][2], dp[y][x-1][3]) + 1, coeff1*dp[y-1][x][2] + 1, coeff2*dp[y][x-1][3]+1]
ans = max(ans, dp[y][x][1])
return ans
| class Solution:
def solve(self, matrix):
dp = [[[None, 0, 0, 0] for x in range(len(matrix[0]) + 1)] for y in range(len(matrix) + 1)]
ans = 0
for y in range(len(matrix)):
for x in range(len(matrix[0])):
coeff0 = 1 if matrix[y][x] == dp[y - 1][x][0] == dp[y][x - 1][0] == dp[y - 1][x - 1][0] else 0
coeff1 = 1 if matrix[y][x] == dp[y - 1][x][0] else 0
coeff2 = 1 if matrix[y][x] == dp[y][x - 1][0] else 0
dp[y][x] = [matrix[y][x], coeff0 * min(dp[y - 1][x - 1][1], dp[y - 1][x][2], dp[y][x - 1][3]) + 1, coeff1 * dp[y - 1][x][2] + 1, coeff2 * dp[y][x - 1][3] + 1]
ans = max(ans, dp[y][x][1])
return ans |
class Solution:
def bitwiseComplement(self, N: int) -> int:
if N == 0:
return 1
tmp = []
while N:
t = N % 2
N //= 2
tmp.append(1-t)
ans = 0
for k in range(len(tmp)-1, -1, -1):
ans += tmp[k] * 2**k
return ans
| class Solution:
def bitwise_complement(self, N: int) -> int:
if N == 0:
return 1
tmp = []
while N:
t = N % 2
n //= 2
tmp.append(1 - t)
ans = 0
for k in range(len(tmp) - 1, -1, -1):
ans += tmp[k] * 2 ** k
return ans |
#
# PySNMP MIB module ACMEPACKET-ENVMON-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ACMEPACKET-ENVMON-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:13:15 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
acmepacketMgmt, = mibBuilder.importSymbols("ACMEPACKET-SMI", "acmepacketMgmt")
ApRedundancyState, ApHardwareModuleFamily, ApPhyPortType, ApPresence = mibBuilder.importSymbols("ACMEPACKET-TC", "ApRedundancyState", "ApHardwareModuleFamily", "ApPhyPortType", "ApPresence")
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
TimeTicks, Gauge32, Unsigned32, ObjectIdentity, Integer32, Counter64, NotificationType, IpAddress, Bits, iso, Counter32, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "Gauge32", "Unsigned32", "ObjectIdentity", "Integer32", "Counter64", "NotificationType", "IpAddress", "Bits", "iso", "Counter32", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier")
DisplayString, TextualConvention, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "TruthValue")
apEnvMonModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 9148, 3, 3))
if mibBuilder.loadTexts: apEnvMonModule.setLastUpdated('200611080000Z')
if mibBuilder.loadTexts: apEnvMonModule.setOrganization('Acme Packet, Inc')
if mibBuilder.loadTexts: apEnvMonModule.setContactInfo(' Customer Service Postal: Acme Packet, Inc 71 Third Ave Burlington, MA 01803 USA Phone : 1-781-328-4400 E-mail: support@acmepacket.com')
if mibBuilder.loadTexts: apEnvMonModule.setDescription('The MIB module to describe the status of the Environmental Monitor on the devices.')
class ApEnvMonState(TextualConvention, Integer32):
description = 'Represents the state of a device being monitored. Valid values are: initial (1): the environment is at initial state. normal (2) : the environment is good, such as low temperature. minor (3) : the environment is not good, such as: fan speed is more than minor alarm threshold, but less than major alarm threshold. major (4) : the environment is bad, such as: fan speed is more than major alarm threshold, but less than critical alarm threshold. critical(5): the environment is very bad, such as Fan speed is more than critical threshold. shutdown(6): the environment is the worst, the system should be shutdown immediately. notPresent(7): the environmental monitor is not present, such as temperature sensors do not exist. notFunctioning(8): the environmental monitor does not function properly, such as 1. I2C fail 2. a temperature sensor generates a abnormal data like 1000 C. unknown(9) : can not get the information due to internal error. '
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))
namedValues = NamedValues(("initial", 1), ("normal", 2), ("minor", 3), ("major", 4), ("critical", 5), ("shutdown", 6), ("notPresent", 7), ("notFunctioning", 8), ("unknown", 9))
apEnvMonObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1))
apEnvMonI2CState = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 1), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonI2CState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonI2CState.setDescription('the state of environment monitor located in the chassis.')
apEnvMonVoltageObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2))
apEnvMonVoltageStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1), )
if mibBuilder.loadTexts: apEnvMonVoltageStatusTable.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageStatusTable.setDescription('The table of voltage status maintained by the environmental monitor.')
apEnvMonVoltageStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageStatusIndex"))
if mibBuilder.loadTexts: apEnvMonVoltageStatusEntry.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageStatusEntry.setDescription('An entry in the voltage status table, representing the status of the associated testpoint maintained by the environmental monitor.')
apEnvMonVoltageStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: apEnvMonVoltageStatusIndex.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageStatusIndex.setDescription('Unique index for the testpoint being instrumented. This index is for SNMP purposes only, and has no intrinsic meaning.')
apEnvMonVoltageStatusType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("unknown", 0), ("v2p5", 1), ("v3p3", 2), ("v5", 3), ("cpu", 4), ("v1", 5), ("v1p1", 6), ("v1p15", 7), ("v1p2", 8), ("v1p212", 9), ("v1p25", 10), ("v1p3", 11), ("v1p5", 12), ("v1p8", 13), ("v2p6", 14)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonVoltageStatusType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageStatusType.setDescription('The entity part type from which the voltage value is from v2p5- 2.5V sensor: L3 cache core voltage; micro-processor and co-processoor I/O voltage; FPGA memories I/O voltage. v3p3 - 3.3V sensor: general TTL supply rail; control logic; micro-processor; micro-processor and co-processor; SDRAM v5 - 5V sensor: Fans; micro-processor core voltage regulator. CPU - CPU voltage micro-processor core voltage.')
apEnvMonVoltageStatusDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonVoltageStatusDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageStatusDescr.setDescription('Textual description of the voltage being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
apEnvMonVoltageStatusValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 4), Integer32()).setUnits('millivolts').setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonVoltageStatusValue.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageStatusValue.setDescription('The current measurement of voltage if avaiable. The value is expressed as the integer in millivolts unit.')
apEnvMonVoltageState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 5), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonVoltageState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageState.setDescription('The current state of the testpoint being instrumented.')
apEnvMonVoltageSlotID = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonVoltageSlotID.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageSlotID.setDescription('The slot this voltage is found on.')
apEnvMonVoltageSlotType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 7), ApHardwareModuleFamily()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonVoltageSlotType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageSlotType.setDescription('The type of module found in this slot.')
apEnvMonTemperatureObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3))
apEnvMonTemperatureStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1), )
if mibBuilder.loadTexts: apEnvMonTemperatureStatusTable.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureStatusTable.setDescription('The table of ambient temperature status maintained by the environmental monitor.')
apEnvMonTemperatureStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureStatusIndex"))
if mibBuilder.loadTexts: apEnvMonTemperatureStatusEntry.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureStatusEntry.setDescription('An entry in the ambient temperature status table, representing the status of the associated testpoint maintained by the environmental monitor.')
apEnvMonTemperatureStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: apEnvMonTemperatureStatusIndex.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureStatusIndex.setDescription('Unique index for the testpoint being instrumented. This index is for SNMP purposes only, and has no intrinsic meaning.')
apEnvMonTemperatureStatusType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ds1624sMain", 1), ("ds1624sCPU", 2), ("lm84", 3), ("lm75", 4), ("lm75Main", 5), ("lm75Cpu", 6), ("lm75Phy", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonTemperatureStatusType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureStatusType.setDescription('The entity part type from which the temperature value is from')
apEnvMonTemperatureStatusDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonTemperatureStatusDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureStatusDescr.setDescription('Textual description of the temperature being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
apEnvMonTemperatureStatusValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 4), Integer32()).setUnits('degrees Celsius').setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonTemperatureStatusValue.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureStatusValue.setDescription('The current measurement of the testpoint being instrumented.')
apEnvMonTemperatureState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 5), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonTemperatureState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureState.setDescription('The current state of the testpoint being instrumented.')
apEnvMonTemperatureSlotID = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonTemperatureSlotID.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureSlotID.setDescription('The slot this temperature is found on.')
apEnvMonTemperatureSlotType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 7), ApHardwareModuleFamily()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonTemperatureSlotType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTemperatureSlotType.setDescription('The type of module found in this slot.')
apEnvMonFanObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4))
apEnvMonFanStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1), )
if mibBuilder.loadTexts: apEnvMonFanStatusTable.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanStatusTable.setDescription('The table of fan status maintained by the environmental monitor.')
apEnvMonFanStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonFanStatusIndex"))
if mibBuilder.loadTexts: apEnvMonFanStatusEntry.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanStatusEntry.setDescription('An entry in the fan status table, representing the status of the associated fan maintained by the environmental monitor.')
apEnvMonFanStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: apEnvMonFanStatusIndex.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanStatusIndex.setDescription('Unique index for the fan being instrumented. This index is for SNMP purposes only.')
apEnvMonFanStatusType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("left", 0), ("middle", 1), ("right", 2), ("slot", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonFanStatusType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanStatusType.setDescription('The entity part type from which the fan value is from. The left and right at the base when one faces the front of the SD. Next-generation products contain replaceable fans contained in chassis slots.')
apEnvMonFanStatusDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonFanStatusDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanStatusDescr.setDescription('Textual description of the fan being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
apEnvMonFanStatusValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 4), Gauge32()).setUnits('%').setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonFanStatusValue.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanStatusValue.setDescription('The current percentage measurement of the fan speed.')
apEnvMonFanState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 5), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonFanState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanState.setDescription('The current state of the fan being instrumented.')
apEnvMonFanSlotID = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonFanSlotID.setStatus('current')
if mibBuilder.loadTexts: apEnvMonFanSlotID.setDescription('The slot this van is found in. zero is returned if this fan is not of apEnvMonFanStatusType slot(3).')
apEnvMonPowerSupplyObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5))
apEnvMonPowerSupplyStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1), )
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusTable.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusTable.setDescription('The table of power supply status maintained by the environmental monitor card.')
apEnvMonPowerSupplyStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonPowerSupplyStatusIndex"))
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusEntry.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusEntry.setDescription('An entry in the power supply status table, representing the status of the associated power supply maintained by the environmental monitor card.')
apEnvMonPowerSupplyStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusIndex.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusIndex.setDescription('Unique index for the power supply being instrumented. This index is for SNMP purposes only.')
apEnvMonPowerSupplyStatusType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 3))).clone(namedValues=NamedValues(("left", 0), ("right", 1), ("slot", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusType.setDescription('The entity part type from which the power status is from. 0=left:power supply A, 1=right:power supply B. 3=slot: power supply is contained in the slot corresponding to apEnvMonPowerSowerSupplyStatusIndex')
apEnvMonPowerSupplyStatusDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPowerSupplyStatusDescr.setDescription('Textual description of the power supply being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
apEnvMonPowerSupplyState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 4), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonPowerSupplyState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPowerSupplyState.setDescription('The current state of the power supply being instrumented: normal or notPresent')
apEnvMonPhyCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6))
apEnvMonPhyCardStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1), )
if mibBuilder.loadTexts: apEnvMonPhyCardStatusTable.setStatus('deprecated')
if mibBuilder.loadTexts: apEnvMonPhyCardStatusTable.setDescription("THIS TABLE IS BEING DEPRECATED IN FAVOR OF THE MORE GENERIC apEnvMonCardTable. Please Note: in the generic card table, a phy card is referred to as an 'niu' (network interfacing unit). The table of phy card status maintained by the environmental monitor.")
apEnvMonPhyCardStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonPhyCardStatusIndex"))
if mibBuilder.loadTexts: apEnvMonPhyCardStatusEntry.setStatus('deprecated')
if mibBuilder.loadTexts: apEnvMonPhyCardStatusEntry.setDescription('An entry in the phy status table, representing the status of the associated phy maintained by the environmental monitor.')
apEnvMonPhyCardStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: apEnvMonPhyCardStatusIndex.setStatus('deprecated')
if mibBuilder.loadTexts: apEnvMonPhyCardStatusIndex.setDescription('Unique index for the phy being instrumented. This index is for SNMP purposes only.')
apEnvMonPhyCardStatusType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 3))).clone(namedValues=NamedValues(("left", 0), ("right", 1), ("slot", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonPhyCardStatusType.setStatus('deprecated')
if mibBuilder.loadTexts: apEnvMonPhyCardStatusType.setDescription('The entity part type from which the phy card is from. 0=left:card A, 1=right:card B, 3=only card. 3=slot: phyCard is contained in the slot corresponding to apEnvMonPhyCardStatusIndex')
apEnvMonPhyCardStatusDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonPhyCardStatusDescr.setStatus('deprecated')
if mibBuilder.loadTexts: apEnvMonPhyCardStatusDescr.setDescription('Textual description of the phy being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
apEnvMonPhyCardState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 4), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonPhyCardState.setStatus('deprecated')
if mibBuilder.loadTexts: apEnvMonPhyCardState.setDescription('The current state of the phy being instrumented: normal or notPresent')
apEnvMonCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7))
apEnvMonCardTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1), )
if mibBuilder.loadTexts: apEnvMonCardTable.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardTable.setDescription('List of Cards in the chassis')
apEnvMonCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonCardSlot"))
if mibBuilder.loadTexts: apEnvMonCardEntry.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardEntry.setDescription('A single card in the chassis')
apEnvMonCardSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCardSlot.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardSlot.setDescription('Slot number of this card. Please note that the slot number is zero-based, i.e. they are numbered 0-n.')
apEnvMonCardType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 2), ApHardwareModuleFamily()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCardType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardType.setDescription('The card type')
apEnvMonCardDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCardDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardDescr.setDescription('A text description of this card')
apEnvMonCardHealthScore = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCardHealthScore.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardHealthScore.setDescription('The health score of this card')
apEnvMonCardState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 5), ApEnvMonState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCardState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardState.setDescription('the current state of this card')
apEnvMonCardRedundancy = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 6), ApRedundancyState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCardRedundancy.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardRedundancy.setDescription('Redundancy state of the card')
apEnvMonCpuCoreTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2), )
if mibBuilder.loadTexts: apEnvMonCpuCoreTable.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreTable.setDescription('List of cores per CPU in the chassis')
apEnvMonCpuCoreEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1), ).setIndexNames((0, "ACMEPACKET-ENVMON-MIB", "apEnvMonCardSlot"), (0, "ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreIndex"))
if mibBuilder.loadTexts: apEnvMonCpuCoreEntry.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreEntry.setDescription('A single CPU core in the chassis')
apEnvMonCpuCoreIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCpuCoreIndex.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreIndex.setDescription('the core index on the CPU')
apEnvMonCpuCoreDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCpuCoreDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreDescr.setDescription('the cpu core descriptor')
apEnvMonCpuCoreUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 3), Gauge32()).setUnits('%').setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCpuCoreUsage.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreUsage.setDescription('The current percentage of use for the CPU core.')
apEnvMonCpuCoreState = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 101, 102, 201, 202, 203, 204, 205, 206, 207, 208, 209, 401, 402, 403, 404, 405, 406))).clone(namedValues=NamedValues(("unknown", 0), ("present", 1), ("booting", 2), ("registered", 3), ("readywait", 4), ("ready", 5), ("bootTimeout", 6), ("registerTimeout", 7), ("manifestTimeout", 8), ("readyTimeout", 9), ("healthWait", 101), ("healthRcvd", 102), ("becomingActive", 201), ("becomingStandby", 202), ("becomingOOS", 203), ("active", 204), ("standby", 205), ("oos", 206), ("activeTimeout", 207), ("standbyTimeout", 208), ("oosTimeout", 209), ("resetting", 401), ("reset", 402), ("resetTimeout", 403), ("shuttingDown", 404), ("shutOff", 405), ("shutdownTimeout", 406)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCpuCoreState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreState.setDescription('The state of this CPU core.')
apEnvMonCpuCoreRamDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCpuCoreRamDescr.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreRamDescr.setDescription('The cpu core RAM descriptor')
apEnvMonCpuCoreRamUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 6), Gauge32()).setUnits('%').setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonCpuCoreRamUsage.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCpuCoreRamUsage.setDescription('The current percentage of use for the CPU core RAM.')
apEnvMonMIBNotificationEnables = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 2))
apEnvMonEnableStatChangeNotif = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 2, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apEnvMonEnableStatChangeNotif.setStatus('current')
if mibBuilder.loadTexts: apEnvMonEnableStatChangeNotif.setDescription('This variable indicates whether the system produces any of the traps generated by this mib. A false value will prevent them from being generated by this system.')
apEnvMonNotificationObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3))
apEnvMonTrapInstance = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 1), ObjectIdentifier()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapInstance.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapInstance.setDescription("The object ID of the item which value is exceeds its monitoring threshold. If the item is within a table, this OID is the instance of this item's index within its table. For exmple, 1. if the state of 2.5v voltage changes, the trap OID is the instance of index OID, which is 1.3.6.1.4.1.9148.3.3.1.2.4.1.1.1 2. if the state of mainboard temperature changes, the trap OID is, 1.3.6.1.4.1.9148.3.3.1.3.4.1.1.1 3. if the state of left fan changes, the trap OID is 1.3.6.1.4.1.9148.3.3.1.4.4.1.1.1 If the item is scalar, the OID is the instance is of this item, For example, If the I2C state changes, the OID is 1.3.6.1.4.1.9148.3.3.1.4.4.1.1.0")
apEnvMonTrapPreviousState = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 2), ApEnvMonState()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapPreviousState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapPreviousState.setDescription('The previous state of the object.')
apEnvMonTrapCurrentState = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 3), ApEnvMonState()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapCurrentState.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapCurrentState.setDescription('The current state of the object which causes the trap to occur.')
apEnvMonTrapSlotID = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 4), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapSlotID.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapSlotID.setDescription('The slotID which causes the trap to occur.')
apEnvMonTrapSlotType = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 5), ApHardwareModuleFamily()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapSlotType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapSlotType.setDescription('The slot type which causes the trap to occur.')
apEnvMonTrapPortType = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 6), ApPhyPortType()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapPortType.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapPortType.setDescription('The port type which causes the trap to occur.')
apEnvMonTrapPresence = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 7), ApPresence()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapPresence.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapPresence.setDescription('The state which causes the trap to occur.')
apEnvMonTrapPortID = MibScalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 8), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: apEnvMonTrapPortID.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTrapPortID.setDescription('The ID of the port which causes the trap to occur.')
apEnvMonMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4))
apEnvMonMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0))
apEnvMonI2CFailNotification = NotificationType((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 1))
if mibBuilder.loadTexts: apEnvMonI2CFailNotification.setStatus('current')
if mibBuilder.loadTexts: apEnvMonI2CFailNotification.setDescription('A notification of I2C state turns from normal(1) to notFunctioning(7)')
apEnvMonStatusChangeNotification = NotificationType((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 2)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapInstance"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapPreviousState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapCurrentState"))
if mibBuilder.loadTexts: apEnvMonStatusChangeNotification.setStatus('current')
if mibBuilder.loadTexts: apEnvMonStatusChangeNotification.setDescription('A apEnvStatusChangeNotification is sent if any entry of above table change in the state of a device being monitored')
apEnvMonTempChangeNotification = NotificationType((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 3)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapSlotID"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapSlotType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapPreviousState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapCurrentState"))
if mibBuilder.loadTexts: apEnvMonTempChangeNotification.setStatus('current')
if mibBuilder.loadTexts: apEnvMonTempChangeNotification.setDescription('A notification is sent if any of the units cross a temperature threshold')
apEnvMonVoltageChangeNotification = NotificationType((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 4)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapSlotID"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapSlotType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapPreviousState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapCurrentState"))
if mibBuilder.loadTexts: apEnvMonVoltageChangeNotification.setStatus('current')
if mibBuilder.loadTexts: apEnvMonVoltageChangeNotification.setDescription('A notification is sent if any of the units cross a voltage threshold')
apEnvMonPortChangeNotification = NotificationType((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 5)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapPortType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapPresence"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapSlotID"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTrapPortID"))
if mibBuilder.loadTexts: apEnvMonPortChangeNotification.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPortChangeNotification.setDescription(' The trap will be generated if a physical port is inserted/present or removed/not present. ')
apEnvMonMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5))
apEnvMonMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 1))
apEnvMonMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2))
apEnvMonGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 1)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonI2CState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageStatusType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageStatusDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageStatusValue"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureStatusType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureStatusDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureStatusValue"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonFanStatusType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonFanStatusDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonFanStatusValue"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonFanState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonPowerSupplyStatusType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonPowerSupplyStatusDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonPowerSupplyState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonPhyCardStatusType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonPhyCardStatusDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonPhyCardState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonEnableStatChangeNotif"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apEnvMonGroup = apEnvMonGroup.setStatus('current')
if mibBuilder.loadTexts: apEnvMonGroup.setDescription('A collection of objects providing environmental monitoring capability to an Acme Packet chassis.')
apEnvMonNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 3)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonStatusChangeNotification"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonI2CFailNotification"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apEnvMonNotifyGroup = apEnvMonNotifyGroup.setStatus('current')
if mibBuilder.loadTexts: apEnvMonNotifyGroup.setDescription('A collection of notifications providing the status change for environmental monitoring.')
apEnvMonExtGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 4)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageSlotID"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageSlotType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureSlotID"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonTemperatureSlotType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonFanSlotID"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apEnvMonExtGroup = apEnvMonExtGroup.setStatus('current')
if mibBuilder.loadTexts: apEnvMonExtGroup.setDescription('Additional objects providing environmental monitoring capability to an Acme Packet chassis.')
apEnvMonCardGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 5)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonCardSlot"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCardType"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCardDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCardHealthScore"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCardState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCardRedundancy"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreIndex"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreUsage"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreState"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreRamDescr"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonCpuCoreRamUsage"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apEnvMonCardGroup = apEnvMonCardGroup.setStatus('current')
if mibBuilder.loadTexts: apEnvMonCardGroup.setDescription('A collection of objects providing environmental monitoring capability to card-based Acme Packet products.')
apEnvMonExtNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 6)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonTempChangeNotification"), ("ACMEPACKET-ENVMON-MIB", "apEnvMonVoltageChangeNotification"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apEnvMonExtNotifyGroup = apEnvMonExtNotifyGroup.setStatus('current')
if mibBuilder.loadTexts: apEnvMonExtNotifyGroup.setDescription('Additional collection of notifications providing the status change for environmental monitoring.')
apEnvMonPortNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 7)).setObjects(("ACMEPACKET-ENVMON-MIB", "apEnvMonPortChangeNotification"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apEnvMonPortNotifyGroup = apEnvMonPortNotifyGroup.setStatus('current')
if mibBuilder.loadTexts: apEnvMonPortNotifyGroup.setDescription('Notifications to indicate physical port changes.')
mibBuilder.exportSymbols("ACMEPACKET-ENVMON-MIB", apEnvMonTemperatureStatusDescr=apEnvMonTemperatureStatusDescr, apEnvMonTrapPortType=apEnvMonTrapPortType, apEnvMonPhyCardObjects=apEnvMonPhyCardObjects, apEnvMonPhyCardState=apEnvMonPhyCardState, apEnvMonGroup=apEnvMonGroup, apEnvMonMIBConformance=apEnvMonMIBConformance, apEnvMonVoltageStatusValue=apEnvMonVoltageStatusValue, apEnvMonVoltageObjects=apEnvMonVoltageObjects, apEnvMonI2CFailNotification=apEnvMonI2CFailNotification, apEnvMonCardSlot=apEnvMonCardSlot, apEnvMonPowerSupplyState=apEnvMonPowerSupplyState, apEnvMonMIBGroups=apEnvMonMIBGroups, apEnvMonFanStatusIndex=apEnvMonFanStatusIndex, apEnvMonPowerSupplyStatusIndex=apEnvMonPowerSupplyStatusIndex, apEnvMonCardEntry=apEnvMonCardEntry, apEnvMonModule=apEnvMonModule, apEnvMonCpuCoreRamUsage=apEnvMonCpuCoreRamUsage, apEnvMonVoltageStatusDescr=apEnvMonVoltageStatusDescr, apEnvMonVoltageStatusEntry=apEnvMonVoltageStatusEntry, apEnvMonCardHealthScore=apEnvMonCardHealthScore, apEnvMonI2CState=apEnvMonI2CState, apEnvMonPortChangeNotification=apEnvMonPortChangeNotification, apEnvMonTrapSlotID=apEnvMonTrapSlotID, apEnvMonTrapPortID=apEnvMonTrapPortID, apEnvMonVoltageStatusType=apEnvMonVoltageStatusType, apEnvMonCardGroup=apEnvMonCardGroup, apEnvMonTrapPreviousState=apEnvMonTrapPreviousState, apEnvMonMIBCompliances=apEnvMonMIBCompliances, apEnvMonCpuCoreRamDescr=apEnvMonCpuCoreRamDescr, apEnvMonFanStatusDescr=apEnvMonFanStatusDescr, apEnvMonTemperatureStatusType=apEnvMonTemperatureStatusType, apEnvMonTemperatureStatusIndex=apEnvMonTemperatureStatusIndex, apEnvMonMIBNotifications=apEnvMonMIBNotifications, apEnvMonPowerSupplyStatusTable=apEnvMonPowerSupplyStatusTable, apEnvMonObjects=apEnvMonObjects, apEnvMonTemperatureSlotType=apEnvMonTemperatureSlotType, apEnvMonVoltageSlotType=apEnvMonVoltageSlotType, apEnvMonStatusChangeNotification=apEnvMonStatusChangeNotification, apEnvMonVoltageStatusTable=apEnvMonVoltageStatusTable, apEnvMonMIBNotificationPrefix=apEnvMonMIBNotificationPrefix, apEnvMonTrapPresence=apEnvMonTrapPresence, apEnvMonPowerSupplyObjects=apEnvMonPowerSupplyObjects, apEnvMonFanStatusEntry=apEnvMonFanStatusEntry, apEnvMonTemperatureStatusValue=apEnvMonTemperatureStatusValue, apEnvMonFanObjects=apEnvMonFanObjects, apEnvMonPortNotifyGroup=apEnvMonPortNotifyGroup, apEnvMonVoltageStatusIndex=apEnvMonVoltageStatusIndex, apEnvMonPhyCardStatusTable=apEnvMonPhyCardStatusTable, apEnvMonPhyCardStatusEntry=apEnvMonPhyCardStatusEntry, apEnvMonFanSlotID=apEnvMonFanSlotID, apEnvMonFanStatusType=apEnvMonFanStatusType, apEnvMonCardState=apEnvMonCardState, apEnvMonExtNotifyGroup=apEnvMonExtNotifyGroup, apEnvMonFanState=apEnvMonFanState, apEnvMonPowerSupplyStatusType=apEnvMonPowerSupplyStatusType, apEnvMonVoltageState=apEnvMonVoltageState, apEnvMonTempChangeNotification=apEnvMonTempChangeNotification, apEnvMonExtGroup=apEnvMonExtGroup, apEnvMonVoltageSlotID=apEnvMonVoltageSlotID, apEnvMonCpuCoreState=apEnvMonCpuCoreState, apEnvMonCpuCoreUsage=apEnvMonCpuCoreUsage, apEnvMonPhyCardStatusIndex=apEnvMonPhyCardStatusIndex, apEnvMonFanStatusValue=apEnvMonFanStatusValue, apEnvMonTemperatureStatusTable=apEnvMonTemperatureStatusTable, apEnvMonTemperatureStatusEntry=apEnvMonTemperatureStatusEntry, apEnvMonPowerSupplyStatusEntry=apEnvMonPowerSupplyStatusEntry, apEnvMonCpuCoreIndex=apEnvMonCpuCoreIndex, apEnvMonNotificationObjects=apEnvMonNotificationObjects, apEnvMonTemperatureObjects=apEnvMonTemperatureObjects, apEnvMonVoltageChangeNotification=apEnvMonVoltageChangeNotification, apEnvMonCpuCoreDescr=apEnvMonCpuCoreDescr, apEnvMonEnableStatChangeNotif=apEnvMonEnableStatChangeNotif, apEnvMonTemperatureSlotID=apEnvMonTemperatureSlotID, apEnvMonPhyCardStatusDescr=apEnvMonPhyCardStatusDescr, apEnvMonMIBNotificationEnables=apEnvMonMIBNotificationEnables, ApEnvMonState=ApEnvMonState, apEnvMonNotifyGroup=apEnvMonNotifyGroup, apEnvMonCardType=apEnvMonCardType, apEnvMonCardRedundancy=apEnvMonCardRedundancy, apEnvMonTrapSlotType=apEnvMonTrapSlotType, apEnvMonCpuCoreTable=apEnvMonCpuCoreTable, apEnvMonCpuCoreEntry=apEnvMonCpuCoreEntry, apEnvMonCardObjects=apEnvMonCardObjects, apEnvMonTemperatureState=apEnvMonTemperatureState, apEnvMonCardTable=apEnvMonCardTable, apEnvMonFanStatusTable=apEnvMonFanStatusTable, PYSNMP_MODULE_ID=apEnvMonModule, apEnvMonPowerSupplyStatusDescr=apEnvMonPowerSupplyStatusDescr, apEnvMonPhyCardStatusType=apEnvMonPhyCardStatusType, apEnvMonTrapInstance=apEnvMonTrapInstance, apEnvMonTrapCurrentState=apEnvMonTrapCurrentState, apEnvMonCardDescr=apEnvMonCardDescr)
| (acmepacket_mgmt,) = mibBuilder.importSymbols('ACMEPACKET-SMI', 'acmepacketMgmt')
(ap_redundancy_state, ap_hardware_module_family, ap_phy_port_type, ap_presence) = mibBuilder.importSymbols('ACMEPACKET-TC', 'ApRedundancyState', 'ApHardwareModuleFamily', 'ApPhyPortType', 'ApPresence')
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, value_size_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion', 'SingleValueConstraint')
(object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance')
(time_ticks, gauge32, unsigned32, object_identity, integer32, counter64, notification_type, ip_address, bits, iso, counter32, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'Gauge32', 'Unsigned32', 'ObjectIdentity', 'Integer32', 'Counter64', 'NotificationType', 'IpAddress', 'Bits', 'iso', 'Counter32', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier')
(display_string, textual_convention, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'TruthValue')
ap_env_mon_module = module_identity((1, 3, 6, 1, 4, 1, 9148, 3, 3))
if mibBuilder.loadTexts:
apEnvMonModule.setLastUpdated('200611080000Z')
if mibBuilder.loadTexts:
apEnvMonModule.setOrganization('Acme Packet, Inc')
if mibBuilder.loadTexts:
apEnvMonModule.setContactInfo(' Customer Service Postal: Acme Packet, Inc 71 Third Ave Burlington, MA 01803 USA Phone : 1-781-328-4400 E-mail: support@acmepacket.com')
if mibBuilder.loadTexts:
apEnvMonModule.setDescription('The MIB module to describe the status of the Environmental Monitor on the devices.')
class Apenvmonstate(TextualConvention, Integer32):
description = 'Represents the state of a device being monitored. Valid values are: initial (1): the environment is at initial state. normal (2) : the environment is good, such as low temperature. minor (3) : the environment is not good, such as: fan speed is more than minor alarm threshold, but less than major alarm threshold. major (4) : the environment is bad, such as: fan speed is more than major alarm threshold, but less than critical alarm threshold. critical(5): the environment is very bad, such as Fan speed is more than critical threshold. shutdown(6): the environment is the worst, the system should be shutdown immediately. notPresent(7): the environmental monitor is not present, such as temperature sensors do not exist. notFunctioning(8): the environmental monitor does not function properly, such as 1. I2C fail 2. a temperature sensor generates a abnormal data like 1000 C. unknown(9) : can not get the information due to internal error. '
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))
named_values = named_values(('initial', 1), ('normal', 2), ('minor', 3), ('major', 4), ('critical', 5), ('shutdown', 6), ('notPresent', 7), ('notFunctioning', 8), ('unknown', 9))
ap_env_mon_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1))
ap_env_mon_i2_c_state = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 1), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonI2CState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonI2CState.setDescription('the state of environment monitor located in the chassis.')
ap_env_mon_voltage_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2))
ap_env_mon_voltage_status_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1))
if mibBuilder.loadTexts:
apEnvMonVoltageStatusTable.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusTable.setDescription('The table of voltage status maintained by the environmental monitor.')
ap_env_mon_voltage_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageStatusIndex'))
if mibBuilder.loadTexts:
apEnvMonVoltageStatusEntry.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusEntry.setDescription('An entry in the voltage status table, representing the status of the associated testpoint maintained by the environmental monitor.')
ap_env_mon_voltage_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
apEnvMonVoltageStatusIndex.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusIndex.setDescription('Unique index for the testpoint being instrumented. This index is for SNMP purposes only, and has no intrinsic meaning.')
ap_env_mon_voltage_status_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=named_values(('unknown', 0), ('v2p5', 1), ('v3p3', 2), ('v5', 3), ('cpu', 4), ('v1', 5), ('v1p1', 6), ('v1p15', 7), ('v1p2', 8), ('v1p212', 9), ('v1p25', 10), ('v1p3', 11), ('v1p5', 12), ('v1p8', 13), ('v2p6', 14)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusType.setDescription('The entity part type from which the voltage value is from v2p5- 2.5V sensor: L3 cache core voltage; micro-processor and co-processoor I/O voltage; FPGA memories I/O voltage. v3p3 - 3.3V sensor: general TTL supply rail; control logic; micro-processor; micro-processor and co-processor; SDRAM v5 - 5V sensor: Fans; micro-processor core voltage regulator. CPU - CPU voltage micro-processor core voltage.')
ap_env_mon_voltage_status_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusDescr.setDescription('Textual description of the voltage being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
ap_env_mon_voltage_status_value = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 4), integer32()).setUnits('millivolts').setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusValue.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageStatusValue.setDescription('The current measurement of voltage if avaiable. The value is expressed as the integer in millivolts unit.')
ap_env_mon_voltage_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 5), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonVoltageState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageState.setDescription('The current state of the testpoint being instrumented.')
ap_env_mon_voltage_slot_id = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonVoltageSlotID.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageSlotID.setDescription('The slot this voltage is found on.')
ap_env_mon_voltage_slot_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 2, 1, 1, 7), ap_hardware_module_family()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonVoltageSlotType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageSlotType.setDescription('The type of module found in this slot.')
ap_env_mon_temperature_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3))
ap_env_mon_temperature_status_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1))
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusTable.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusTable.setDescription('The table of ambient temperature status maintained by the environmental monitor.')
ap_env_mon_temperature_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureStatusIndex'))
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusEntry.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusEntry.setDescription('An entry in the ambient temperature status table, representing the status of the associated testpoint maintained by the environmental monitor.')
ap_env_mon_temperature_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusIndex.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusIndex.setDescription('Unique index for the testpoint being instrumented. This index is for SNMP purposes only, and has no intrinsic meaning.')
ap_env_mon_temperature_status_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('ds1624sMain', 1), ('ds1624sCPU', 2), ('lm84', 3), ('lm75', 4), ('lm75Main', 5), ('lm75Cpu', 6), ('lm75Phy', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusType.setDescription('The entity part type from which the temperature value is from')
ap_env_mon_temperature_status_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusDescr.setDescription('Textual description of the temperature being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
ap_env_mon_temperature_status_value = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 4), integer32()).setUnits('degrees Celsius').setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusValue.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureStatusValue.setDescription('The current measurement of the testpoint being instrumented.')
ap_env_mon_temperature_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 5), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonTemperatureState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureState.setDescription('The current state of the testpoint being instrumented.')
ap_env_mon_temperature_slot_id = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonTemperatureSlotID.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureSlotID.setDescription('The slot this temperature is found on.')
ap_env_mon_temperature_slot_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 3, 1, 1, 7), ap_hardware_module_family()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonTemperatureSlotType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTemperatureSlotType.setDescription('The type of module found in this slot.')
ap_env_mon_fan_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4))
ap_env_mon_fan_status_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1))
if mibBuilder.loadTexts:
apEnvMonFanStatusTable.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanStatusTable.setDescription('The table of fan status maintained by the environmental monitor.')
ap_env_mon_fan_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonFanStatusIndex'))
if mibBuilder.loadTexts:
apEnvMonFanStatusEntry.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanStatusEntry.setDescription('An entry in the fan status table, representing the status of the associated fan maintained by the environmental monitor.')
ap_env_mon_fan_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
apEnvMonFanStatusIndex.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanStatusIndex.setDescription('Unique index for the fan being instrumented. This index is for SNMP purposes only.')
ap_env_mon_fan_status_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('left', 0), ('middle', 1), ('right', 2), ('slot', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonFanStatusType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanStatusType.setDescription('The entity part type from which the fan value is from. The left and right at the base when one faces the front of the SD. Next-generation products contain replaceable fans contained in chassis slots.')
ap_env_mon_fan_status_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonFanStatusDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanStatusDescr.setDescription('Textual description of the fan being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
ap_env_mon_fan_status_value = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 4), gauge32()).setUnits('%').setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonFanStatusValue.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanStatusValue.setDescription('The current percentage measurement of the fan speed.')
ap_env_mon_fan_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 5), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonFanState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanState.setDescription('The current state of the fan being instrumented.')
ap_env_mon_fan_slot_id = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 4, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonFanSlotID.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonFanSlotID.setDescription('The slot this van is found in. zero is returned if this fan is not of apEnvMonFanStatusType slot(3).')
ap_env_mon_power_supply_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5))
ap_env_mon_power_supply_status_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1))
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusTable.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusTable.setDescription('The table of power supply status maintained by the environmental monitor card.')
ap_env_mon_power_supply_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonPowerSupplyStatusIndex'))
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusEntry.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusEntry.setDescription('An entry in the power supply status table, representing the status of the associated power supply maintained by the environmental monitor card.')
ap_env_mon_power_supply_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusIndex.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusIndex.setDescription('Unique index for the power supply being instrumented. This index is for SNMP purposes only.')
ap_env_mon_power_supply_status_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 3))).clone(namedValues=named_values(('left', 0), ('right', 1), ('slot', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusType.setDescription('The entity part type from which the power status is from. 0=left:power supply A, 1=right:power supply B. 3=slot: power supply is contained in the slot corresponding to apEnvMonPowerSowerSupplyStatusIndex')
ap_env_mon_power_supply_status_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyStatusDescr.setDescription('Textual description of the power supply being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
ap_env_mon_power_supply_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 5, 1, 1, 4), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPowerSupplyState.setDescription('The current state of the power supply being instrumented: normal or notPresent')
ap_env_mon_phy_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6))
ap_env_mon_phy_card_status_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1))
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusTable.setStatus('deprecated')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusTable.setDescription("THIS TABLE IS BEING DEPRECATED IN FAVOR OF THE MORE GENERIC apEnvMonCardTable. Please Note: in the generic card table, a phy card is referred to as an 'niu' (network interfacing unit). The table of phy card status maintained by the environmental monitor.")
ap_env_mon_phy_card_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonPhyCardStatusIndex'))
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusEntry.setStatus('deprecated')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusEntry.setDescription('An entry in the phy status table, representing the status of the associated phy maintained by the environmental monitor.')
ap_env_mon_phy_card_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusIndex.setStatus('deprecated')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusIndex.setDescription('Unique index for the phy being instrumented. This index is for SNMP purposes only.')
ap_env_mon_phy_card_status_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 3))).clone(namedValues=named_values(('left', 0), ('right', 1), ('slot', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusType.setStatus('deprecated')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusType.setDescription('The entity part type from which the phy card is from. 0=left:card A, 1=right:card B, 3=only card. 3=slot: phyCard is contained in the slot corresponding to apEnvMonPhyCardStatusIndex')
ap_env_mon_phy_card_status_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusDescr.setStatus('deprecated')
if mibBuilder.loadTexts:
apEnvMonPhyCardStatusDescr.setDescription('Textual description of the phy being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.')
ap_env_mon_phy_card_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 6, 1, 1, 4), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonPhyCardState.setStatus('deprecated')
if mibBuilder.loadTexts:
apEnvMonPhyCardState.setDescription('The current state of the phy being instrumented: normal or notPresent')
ap_env_mon_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7))
ap_env_mon_card_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1))
if mibBuilder.loadTexts:
apEnvMonCardTable.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardTable.setDescription('List of Cards in the chassis')
ap_env_mon_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonCardSlot'))
if mibBuilder.loadTexts:
apEnvMonCardEntry.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardEntry.setDescription('A single card in the chassis')
ap_env_mon_card_slot = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCardSlot.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardSlot.setDescription('Slot number of this card. Please note that the slot number is zero-based, i.e. they are numbered 0-n.')
ap_env_mon_card_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 2), ap_hardware_module_family()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCardType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardType.setDescription('The card type')
ap_env_mon_card_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCardDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardDescr.setDescription('A text description of this card')
ap_env_mon_card_health_score = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCardHealthScore.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardHealthScore.setDescription('The health score of this card')
ap_env_mon_card_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 5), ap_env_mon_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCardState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardState.setDescription('the current state of this card')
ap_env_mon_card_redundancy = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 1, 1, 6), ap_redundancy_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCardRedundancy.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardRedundancy.setDescription('Redundancy state of the card')
ap_env_mon_cpu_core_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2))
if mibBuilder.loadTexts:
apEnvMonCpuCoreTable.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreTable.setDescription('List of cores per CPU in the chassis')
ap_env_mon_cpu_core_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1)).setIndexNames((0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonCardSlot'), (0, 'ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreIndex'))
if mibBuilder.loadTexts:
apEnvMonCpuCoreEntry.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreEntry.setDescription('A single CPU core in the chassis')
ap_env_mon_cpu_core_index = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCpuCoreIndex.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreIndex.setDescription('the core index on the CPU')
ap_env_mon_cpu_core_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCpuCoreDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreDescr.setDescription('the cpu core descriptor')
ap_env_mon_cpu_core_usage = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 3), gauge32()).setUnits('%').setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCpuCoreUsage.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreUsage.setDescription('The current percentage of use for the CPU core.')
ap_env_mon_cpu_core_state = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 101, 102, 201, 202, 203, 204, 205, 206, 207, 208, 209, 401, 402, 403, 404, 405, 406))).clone(namedValues=named_values(('unknown', 0), ('present', 1), ('booting', 2), ('registered', 3), ('readywait', 4), ('ready', 5), ('bootTimeout', 6), ('registerTimeout', 7), ('manifestTimeout', 8), ('readyTimeout', 9), ('healthWait', 101), ('healthRcvd', 102), ('becomingActive', 201), ('becomingStandby', 202), ('becomingOOS', 203), ('active', 204), ('standby', 205), ('oos', 206), ('activeTimeout', 207), ('standbyTimeout', 208), ('oosTimeout', 209), ('resetting', 401), ('reset', 402), ('resetTimeout', 403), ('shuttingDown', 404), ('shutOff', 405), ('shutdownTimeout', 406)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCpuCoreState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreState.setDescription('The state of this CPU core.')
ap_env_mon_cpu_core_ram_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCpuCoreRamDescr.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreRamDescr.setDescription('The cpu core RAM descriptor')
ap_env_mon_cpu_core_ram_usage = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 3, 1, 7, 2, 1, 6), gauge32()).setUnits('%').setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonCpuCoreRamUsage.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCpuCoreRamUsage.setDescription('The current percentage of use for the CPU core RAM.')
ap_env_mon_mib_notification_enables = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 2))
ap_env_mon_enable_stat_change_notif = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 2, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apEnvMonEnableStatChangeNotif.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonEnableStatChangeNotif.setDescription('This variable indicates whether the system produces any of the traps generated by this mib. A false value will prevent them from being generated by this system.')
ap_env_mon_notification_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3))
ap_env_mon_trap_instance = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 1), object_identifier()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapInstance.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapInstance.setDescription("The object ID of the item which value is exceeds its monitoring threshold. If the item is within a table, this OID is the instance of this item's index within its table. For exmple, 1. if the state of 2.5v voltage changes, the trap OID is the instance of index OID, which is 1.3.6.1.4.1.9148.3.3.1.2.4.1.1.1 2. if the state of mainboard temperature changes, the trap OID is, 1.3.6.1.4.1.9148.3.3.1.3.4.1.1.1 3. if the state of left fan changes, the trap OID is 1.3.6.1.4.1.9148.3.3.1.4.4.1.1.1 If the item is scalar, the OID is the instance is of this item, For example, If the I2C state changes, the OID is 1.3.6.1.4.1.9148.3.3.1.4.4.1.1.0")
ap_env_mon_trap_previous_state = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 2), ap_env_mon_state()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapPreviousState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapPreviousState.setDescription('The previous state of the object.')
ap_env_mon_trap_current_state = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 3), ap_env_mon_state()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapCurrentState.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapCurrentState.setDescription('The current state of the object which causes the trap to occur.')
ap_env_mon_trap_slot_id = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 4), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapSlotID.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapSlotID.setDescription('The slotID which causes the trap to occur.')
ap_env_mon_trap_slot_type = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 5), ap_hardware_module_family()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapSlotType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapSlotType.setDescription('The slot type which causes the trap to occur.')
ap_env_mon_trap_port_type = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 6), ap_phy_port_type()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapPortType.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapPortType.setDescription('The port type which causes the trap to occur.')
ap_env_mon_trap_presence = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 7), ap_presence()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapPresence.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapPresence.setDescription('The state which causes the trap to occur.')
ap_env_mon_trap_port_id = mib_scalar((1, 3, 6, 1, 4, 1, 9148, 3, 3, 3, 8), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
apEnvMonTrapPortID.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTrapPortID.setDescription('The ID of the port which causes the trap to occur.')
ap_env_mon_mib_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4))
ap_env_mon_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0))
ap_env_mon_i2_c_fail_notification = notification_type((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 1))
if mibBuilder.loadTexts:
apEnvMonI2CFailNotification.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonI2CFailNotification.setDescription('A notification of I2C state turns from normal(1) to notFunctioning(7)')
ap_env_mon_status_change_notification = notification_type((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 2)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapInstance'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapPreviousState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapCurrentState'))
if mibBuilder.loadTexts:
apEnvMonStatusChangeNotification.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonStatusChangeNotification.setDescription('A apEnvStatusChangeNotification is sent if any entry of above table change in the state of a device being monitored')
ap_env_mon_temp_change_notification = notification_type((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 3)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapSlotID'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapSlotType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapPreviousState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapCurrentState'))
if mibBuilder.loadTexts:
apEnvMonTempChangeNotification.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonTempChangeNotification.setDescription('A notification is sent if any of the units cross a temperature threshold')
ap_env_mon_voltage_change_notification = notification_type((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 4)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapSlotID'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapSlotType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapPreviousState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapCurrentState'))
if mibBuilder.loadTexts:
apEnvMonVoltageChangeNotification.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonVoltageChangeNotification.setDescription('A notification is sent if any of the units cross a voltage threshold')
ap_env_mon_port_change_notification = notification_type((1, 3, 6, 1, 4, 1, 9148, 3, 3, 4, 0, 5)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapPortType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapPresence'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapSlotID'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTrapPortID'))
if mibBuilder.loadTexts:
apEnvMonPortChangeNotification.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPortChangeNotification.setDescription(' The trap will be generated if a physical port is inserted/present or removed/not present. ')
ap_env_mon_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5))
ap_env_mon_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 1))
ap_env_mon_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2))
ap_env_mon_group = object_group((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 1)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonI2CState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageStatusType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageStatusDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageStatusValue'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureStatusType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureStatusDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureStatusValue'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonFanStatusType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonFanStatusDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonFanStatusValue'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonFanState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonPowerSupplyStatusType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonPowerSupplyStatusDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonPowerSupplyState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonPhyCardStatusType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonPhyCardStatusDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonPhyCardState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonEnableStatChangeNotif'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_env_mon_group = apEnvMonGroup.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonGroup.setDescription('A collection of objects providing environmental monitoring capability to an Acme Packet chassis.')
ap_env_mon_notify_group = notification_group((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 3)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonStatusChangeNotification'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonI2CFailNotification'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_env_mon_notify_group = apEnvMonNotifyGroup.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonNotifyGroup.setDescription('A collection of notifications providing the status change for environmental monitoring.')
ap_env_mon_ext_group = object_group((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 4)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageSlotID'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageSlotType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureSlotID'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonTemperatureSlotType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonFanSlotID'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_env_mon_ext_group = apEnvMonExtGroup.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonExtGroup.setDescription('Additional objects providing environmental monitoring capability to an Acme Packet chassis.')
ap_env_mon_card_group = object_group((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 5)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonCardSlot'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCardType'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCardDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCardHealthScore'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCardState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCardRedundancy'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreIndex'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreUsage'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreState'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreRamDescr'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonCpuCoreRamUsage'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_env_mon_card_group = apEnvMonCardGroup.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonCardGroup.setDescription('A collection of objects providing environmental monitoring capability to card-based Acme Packet products.')
ap_env_mon_ext_notify_group = notification_group((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 6)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonTempChangeNotification'), ('ACMEPACKET-ENVMON-MIB', 'apEnvMonVoltageChangeNotification'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_env_mon_ext_notify_group = apEnvMonExtNotifyGroup.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonExtNotifyGroup.setDescription('Additional collection of notifications providing the status change for environmental monitoring.')
ap_env_mon_port_notify_group = notification_group((1, 3, 6, 1, 4, 1, 9148, 3, 3, 5, 2, 7)).setObjects(('ACMEPACKET-ENVMON-MIB', 'apEnvMonPortChangeNotification'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_env_mon_port_notify_group = apEnvMonPortNotifyGroup.setStatus('current')
if mibBuilder.loadTexts:
apEnvMonPortNotifyGroup.setDescription('Notifications to indicate physical port changes.')
mibBuilder.exportSymbols('ACMEPACKET-ENVMON-MIB', apEnvMonTemperatureStatusDescr=apEnvMonTemperatureStatusDescr, apEnvMonTrapPortType=apEnvMonTrapPortType, apEnvMonPhyCardObjects=apEnvMonPhyCardObjects, apEnvMonPhyCardState=apEnvMonPhyCardState, apEnvMonGroup=apEnvMonGroup, apEnvMonMIBConformance=apEnvMonMIBConformance, apEnvMonVoltageStatusValue=apEnvMonVoltageStatusValue, apEnvMonVoltageObjects=apEnvMonVoltageObjects, apEnvMonI2CFailNotification=apEnvMonI2CFailNotification, apEnvMonCardSlot=apEnvMonCardSlot, apEnvMonPowerSupplyState=apEnvMonPowerSupplyState, apEnvMonMIBGroups=apEnvMonMIBGroups, apEnvMonFanStatusIndex=apEnvMonFanStatusIndex, apEnvMonPowerSupplyStatusIndex=apEnvMonPowerSupplyStatusIndex, apEnvMonCardEntry=apEnvMonCardEntry, apEnvMonModule=apEnvMonModule, apEnvMonCpuCoreRamUsage=apEnvMonCpuCoreRamUsage, apEnvMonVoltageStatusDescr=apEnvMonVoltageStatusDescr, apEnvMonVoltageStatusEntry=apEnvMonVoltageStatusEntry, apEnvMonCardHealthScore=apEnvMonCardHealthScore, apEnvMonI2CState=apEnvMonI2CState, apEnvMonPortChangeNotification=apEnvMonPortChangeNotification, apEnvMonTrapSlotID=apEnvMonTrapSlotID, apEnvMonTrapPortID=apEnvMonTrapPortID, apEnvMonVoltageStatusType=apEnvMonVoltageStatusType, apEnvMonCardGroup=apEnvMonCardGroup, apEnvMonTrapPreviousState=apEnvMonTrapPreviousState, apEnvMonMIBCompliances=apEnvMonMIBCompliances, apEnvMonCpuCoreRamDescr=apEnvMonCpuCoreRamDescr, apEnvMonFanStatusDescr=apEnvMonFanStatusDescr, apEnvMonTemperatureStatusType=apEnvMonTemperatureStatusType, apEnvMonTemperatureStatusIndex=apEnvMonTemperatureStatusIndex, apEnvMonMIBNotifications=apEnvMonMIBNotifications, apEnvMonPowerSupplyStatusTable=apEnvMonPowerSupplyStatusTable, apEnvMonObjects=apEnvMonObjects, apEnvMonTemperatureSlotType=apEnvMonTemperatureSlotType, apEnvMonVoltageSlotType=apEnvMonVoltageSlotType, apEnvMonStatusChangeNotification=apEnvMonStatusChangeNotification, apEnvMonVoltageStatusTable=apEnvMonVoltageStatusTable, apEnvMonMIBNotificationPrefix=apEnvMonMIBNotificationPrefix, apEnvMonTrapPresence=apEnvMonTrapPresence, apEnvMonPowerSupplyObjects=apEnvMonPowerSupplyObjects, apEnvMonFanStatusEntry=apEnvMonFanStatusEntry, apEnvMonTemperatureStatusValue=apEnvMonTemperatureStatusValue, apEnvMonFanObjects=apEnvMonFanObjects, apEnvMonPortNotifyGroup=apEnvMonPortNotifyGroup, apEnvMonVoltageStatusIndex=apEnvMonVoltageStatusIndex, apEnvMonPhyCardStatusTable=apEnvMonPhyCardStatusTable, apEnvMonPhyCardStatusEntry=apEnvMonPhyCardStatusEntry, apEnvMonFanSlotID=apEnvMonFanSlotID, apEnvMonFanStatusType=apEnvMonFanStatusType, apEnvMonCardState=apEnvMonCardState, apEnvMonExtNotifyGroup=apEnvMonExtNotifyGroup, apEnvMonFanState=apEnvMonFanState, apEnvMonPowerSupplyStatusType=apEnvMonPowerSupplyStatusType, apEnvMonVoltageState=apEnvMonVoltageState, apEnvMonTempChangeNotification=apEnvMonTempChangeNotification, apEnvMonExtGroup=apEnvMonExtGroup, apEnvMonVoltageSlotID=apEnvMonVoltageSlotID, apEnvMonCpuCoreState=apEnvMonCpuCoreState, apEnvMonCpuCoreUsage=apEnvMonCpuCoreUsage, apEnvMonPhyCardStatusIndex=apEnvMonPhyCardStatusIndex, apEnvMonFanStatusValue=apEnvMonFanStatusValue, apEnvMonTemperatureStatusTable=apEnvMonTemperatureStatusTable, apEnvMonTemperatureStatusEntry=apEnvMonTemperatureStatusEntry, apEnvMonPowerSupplyStatusEntry=apEnvMonPowerSupplyStatusEntry, apEnvMonCpuCoreIndex=apEnvMonCpuCoreIndex, apEnvMonNotificationObjects=apEnvMonNotificationObjects, apEnvMonTemperatureObjects=apEnvMonTemperatureObjects, apEnvMonVoltageChangeNotification=apEnvMonVoltageChangeNotification, apEnvMonCpuCoreDescr=apEnvMonCpuCoreDescr, apEnvMonEnableStatChangeNotif=apEnvMonEnableStatChangeNotif, apEnvMonTemperatureSlotID=apEnvMonTemperatureSlotID, apEnvMonPhyCardStatusDescr=apEnvMonPhyCardStatusDescr, apEnvMonMIBNotificationEnables=apEnvMonMIBNotificationEnables, ApEnvMonState=ApEnvMonState, apEnvMonNotifyGroup=apEnvMonNotifyGroup, apEnvMonCardType=apEnvMonCardType, apEnvMonCardRedundancy=apEnvMonCardRedundancy, apEnvMonTrapSlotType=apEnvMonTrapSlotType, apEnvMonCpuCoreTable=apEnvMonCpuCoreTable, apEnvMonCpuCoreEntry=apEnvMonCpuCoreEntry, apEnvMonCardObjects=apEnvMonCardObjects, apEnvMonTemperatureState=apEnvMonTemperatureState, apEnvMonCardTable=apEnvMonCardTable, apEnvMonFanStatusTable=apEnvMonFanStatusTable, PYSNMP_MODULE_ID=apEnvMonModule, apEnvMonPowerSupplyStatusDescr=apEnvMonPowerSupplyStatusDescr, apEnvMonPhyCardStatusType=apEnvMonPhyCardStatusType, apEnvMonTrapInstance=apEnvMonTrapInstance, apEnvMonTrapCurrentState=apEnvMonTrapCurrentState, apEnvMonCardDescr=apEnvMonCardDescr) |
#
# PySNMP MIB module M2000-V1 (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/M2000-V1
# Produced by pysmi-0.3.4 at Mon Apr 29 19:59:02 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, enterprises, NotificationType, Bits, Counter64, Unsigned32, IpAddress, Counter32, NotificationType, ObjectIdentity, TimeTicks, MibIdentifier, ModuleIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "enterprises", "NotificationType", "Bits", "Counter64", "Unsigned32", "IpAddress", "Counter32", "NotificationType", "ObjectIdentity", "TimeTicks", "MibIdentifier", "ModuleIdentity", "iso")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
iMAP = MibIdentifier((1, 3, 6, 1, 4, 1, 2011))
products = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2))
iMAPNetManagement = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15))
iMAPNorthbound = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2))
iMAPNorthboundCommon = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1))
iMAPNorthboundEventMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2))
iMAPNorthboundNotificationReport = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1))
iMAPNorthboundNotificationCommon = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1))
iMAPNorthboundHeartbeatNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1))
iMAPNorthboundHeartbeatNotificationV2 = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 0))
iMAPNorthboundHeartbeatSystemLabel = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundHeartbeatSystemLabel.setStatus('mandatory')
iMAPNorthboundHeartbeatPeriod = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundHeartbeatPeriod.setStatus('mandatory')
iMAPNorthboundHeartbeatTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundHeartbeatTimeStamp.setStatus('mandatory')
iMAPNorthboundCommuLinkMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 3))
iMAPNorthboundHeartbeatSvc = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 3, 1))
iMAPNorthboundHeartbeatSvcReportInterval = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 3, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iMAPNorthboundHeartbeatSvcReportInterval.setStatus('mandatory')
iMAPNorthboundFault = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4))
iMAPNorthboundFaultQuery = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 1))
iMAPNorthboundAlarmQuery = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 1, 5), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iMAPNorthboundAlarmQuery.setStatus('mandatory')
iMAPNorthboundFaultNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3))
iMAPNorthboundFaultAlarmNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3))
iMAPNorthboundFaultAlarmNotificationV2 = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 0))
iMAPNorthboundAlarmCSN = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmCSN.setStatus('mandatory')
iMAPNorthboundAlarmCategory = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmCategory.setStatus('mandatory')
iMAPNorthboundAlarmOccurTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmOccurTime.setStatus('mandatory')
iMAPNorthboundAlarmMOName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 4), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmMOName.setStatus('mandatory')
iMAPNorthboundAlarmProductID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("transmission", 1), ("mobile", 2), ("fixedNetworkNarrow", 3), ("bandFixedBand", 4), ("intelligence", 5), ("omc", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmProductID.setStatus('mandatory')
iMAPNorthboundAlarmNEType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 6), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmNEType.setStatus('mandatory')
iMAPNorthboundAlarmNEDevID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 7), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmNEDevID.setStatus('mandatory')
iMAPNorthboundAlarmDevCsn = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 8), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmDevCsn.setStatus('mandatory')
iMAPNorthboundAlarmID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmID.setStatus('mandatory')
iMAPNorthboundAlarmType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmType.setStatus('mandatory')
iMAPNorthboundAlarmLevel = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 6))).clone(namedValues=NamedValues(("critical", 1), ("major", 2), ("minor", 3), ("warning", 4), ("cleared", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmLevel.setStatus('mandatory')
iMAPNorthboundAlarmRestore = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cleared", 1), ("uncleared", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmRestore.setStatus('mandatory')
iMAPNorthboundAlarmConfirm = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("acknowledged", 1), ("unacknowledged", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmConfirm.setStatus('mandatory')
iMAPNorthboundAlarmAckTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 14), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmAckTime.setStatus('mandatory')
iMAPNorthboundAlarmRestoreTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 15), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmRestoreTime.setStatus('mandatory')
iMAPNorthboundAlarmOperator = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 16), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmOperator.setStatus('mandatory')
iMAPNorthboundAlarmParas1 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas1.setStatus('mandatory')
iMAPNorthboundAlarmParas2 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas2.setStatus('mandatory')
iMAPNorthboundAlarmParas3 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas3.setStatus('mandatory')
iMAPNorthboundAlarmParas4 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas4.setStatus('mandatory')
iMAPNorthboundAlarmParas5 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas5.setStatus('mandatory')
iMAPNorthboundAlarmParas6 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas6.setStatus('mandatory')
iMAPNorthboundAlarmParas7 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas7.setStatus('mandatory')
iMAPNorthboundAlarmParas8 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas8.setStatus('mandatory')
iMAPNorthboundAlarmParas9 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas9.setStatus('mandatory')
iMAPNorthboundAlarmParas10 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmParas10.setStatus('mandatory')
iMAPNorthboundAlarmExtendInfo = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 27), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmExtendInfo.setStatus('mandatory')
iMAPNorthboundAlarmProbablecause = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 28), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmProbablecause.setStatus('mandatory')
iMAPNorthboundAlarmProposedrepairactions = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 29), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmProposedrepairactions.setStatus('mandatory')
iMAPNorthboundAlarmSpecificproblems = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 30), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmSpecificproblems.setStatus('mandatory')
iMAPNorthboundAlarmClearOperator = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 46), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmClearOperator.setStatus('mandatory')
iMAPNorthboundAlarmObjectInstanceType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 47), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmObjectInstanceType.setStatus('mandatory')
iMAPNorthboundAlarmClearCategory = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 48), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmClearCategory.setStatus('mandatory')
iMAPNorthboundAlarmClearType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 49), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmClearType.setStatus('mandatory')
iMAPNorthboundAlarmServiceAffectFlag = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 50), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmServiceAffectFlag.setStatus('mandatory')
iMAPNorthboundAlarmAdditionalInfo = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 51), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 250))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iMAPNorthboundAlarmAdditionalInfo.setStatus('mandatory')
iMAPNorthboundFaultAcknowledge = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 4))
iMAPNorthboundAlarmAcknowledge = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 4, 1), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iMAPNorthboundAlarmAcknowledge.setStatus('mandatory')
iMAPNorthboundFaultUnAcknowledge = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 5))
iMAPNorthboundAlarmUnAcknowledge = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 5, 1), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iMAPNorthboundAlarmUnAcknowledge.setStatus('mandatory')
iMAPNorthboundFaultClear = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 6))
iMAPNorthboundAlarmClear = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 6, 1), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iMAPNorthboundAlarmClear.setStatus('mandatory')
iMAPConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 3))
iMAPGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 3, 1))
currentObjectGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 3, 1, 1))
currentNotificationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 3, 1, 2))
iMAPCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 3, 2))
basicCompliance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 3, 2, 1))
iMAPNorthboundFaultAlarmReportNotificationType = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0,1)).setObjects(("M2000-V1", "iMAPNorthboundAlarmCSN"), ("M2000-V1", "iMAPNorthboundAlarmCategory"), ("M2000-V1", "iMAPNorthboundAlarmOccurTime"), ("M2000-V1", "iMAPNorthboundAlarmMOName"), ("M2000-V1", "iMAPNorthboundAlarmProductID"), ("M2000-V1", "iMAPNorthboundAlarmNEType"), ("M2000-V1", "iMAPNorthboundAlarmNEDevID"), ("M2000-V1", "iMAPNorthboundAlarmDevCsn"), ("M2000-V1", "iMAPNorthboundAlarmID"), ("M2000-V1", "iMAPNorthboundAlarmType"), ("M2000-V1", "iMAPNorthboundAlarmLevel"), ("M2000-V1", "iMAPNorthboundAlarmRestore"), ("M2000-V1", "iMAPNorthboundAlarmConfirm"), ("M2000-V1", "iMAPNorthboundAlarmAckTime"), ("M2000-V1", "iMAPNorthboundAlarmRestoreTime"), ("M2000-V1", "iMAPNorthboundAlarmOperator"), ("M2000-V1", "iMAPNorthboundAlarmParas1"), ("M2000-V1", "iMAPNorthboundAlarmParas2"), ("M2000-V1", "iMAPNorthboundAlarmParas3"), ("M2000-V1", "iMAPNorthboundAlarmParas4"), ("M2000-V1", "iMAPNorthboundAlarmParas5"), ("M2000-V1", "iMAPNorthboundAlarmParas6"), ("M2000-V1", "iMAPNorthboundAlarmParas7"), ("M2000-V1", "iMAPNorthboundAlarmParas8"), ("M2000-V1", "iMAPNorthboundAlarmParas9"), ("M2000-V1", "iMAPNorthboundAlarmParas10"), ("M2000-V1", "iMAPNorthboundAlarmExtendInfo"), ("M2000-V1", "iMAPNorthboundAlarmProbablecause"), ("M2000-V1", "iMAPNorthboundAlarmProposedrepairactions"), ("M2000-V1", "iMAPNorthboundAlarmSpecificproblems"), ("M2000-V1", "iMAPNorthboundAlarmClearOperator"), ("M2000-V1", "iMAPNorthboundAlarmAdditionalInfo"), ("M2000-V1", "iMAPNorthboundAlarmClearType"), ("M2000-V1", "iMAPNorthboundAlarmClearCategory"), ("M2000-V1", "iMAPNorthboundAlarmServiceAffectFlag"), ("M2000-V1", "iMAPNorthboundAlarmObjectInstanceType"))
iMAPNorthboundFaultAlarmQueryBeginNotificationType = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0,2))
iMAPNorthboundFaultAlarmQueryNotificationType = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0,3)).setObjects(("M2000-V1", "iMAPNorthboundAlarmCSN"), ("M2000-V1", "iMAPNorthboundAlarmCategory"), ("M2000-V1", "iMAPNorthboundAlarmOccurTime"), ("M2000-V1", "iMAPNorthboundAlarmMOName"), ("M2000-V1", "iMAPNorthboundAlarmProductID"), ("M2000-V1", "iMAPNorthboundAlarmNEType"), ("M2000-V1", "iMAPNorthboundAlarmNEDevID"), ("M2000-V1", "iMAPNorthboundAlarmDevCsn"), ("M2000-V1", "iMAPNorthboundAlarmID"), ("M2000-V1", "iMAPNorthboundAlarmType"), ("M2000-V1", "iMAPNorthboundAlarmLevel"), ("M2000-V1", "iMAPNorthboundAlarmRestore"), ("M2000-V1", "iMAPNorthboundAlarmConfirm"), ("M2000-V1", "iMAPNorthboundAlarmAckTime"), ("M2000-V1", "iMAPNorthboundAlarmRestoreTime"), ("M2000-V1", "iMAPNorthboundAlarmOperator"), ("M2000-V1", "iMAPNorthboundAlarmParas1"), ("M2000-V1", "iMAPNorthboundAlarmParas2"), ("M2000-V1", "iMAPNorthboundAlarmParas3"), ("M2000-V1", "iMAPNorthboundAlarmParas4"), ("M2000-V1", "iMAPNorthboundAlarmParas5"), ("M2000-V1", "iMAPNorthboundAlarmParas6"), ("M2000-V1", "iMAPNorthboundAlarmParas7"), ("M2000-V1", "iMAPNorthboundAlarmParas8"), ("M2000-V1", "iMAPNorthboundAlarmParas9"), ("M2000-V1", "iMAPNorthboundAlarmParas10"), ("M2000-V1", "iMAPNorthboundAlarmExtendInfo"), ("M2000-V1", "iMAPNorthboundAlarmProbablecause"), ("M2000-V1", "iMAPNorthboundAlarmProposedrepairactions"), ("M2000-V1", "iMAPNorthboundAlarmSpecificproblems"), ("M2000-V1", "iMAPNorthboundAlarmClearOperator"), ("M2000-V1", "iMAPNorthboundAlarmAdditionalInfo"), ("M2000-V1", "iMAPNorthboundAlarmServiceAffectFlag"), ("M2000-V1", "iMAPNorthboundAlarmClearType"), ("M2000-V1", "iMAPNorthboundAlarmClearCategory"), ("M2000-V1", "iMAPNorthboundAlarmObjectInstanceType"))
iMAPNorthboundFaultAlarmQueryEndNotificationType = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0,4))
iMAPNorthboundHeartbeatNotificationType = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1) + (0,5)).setObjects(("M2000-V1", "iMAPNorthboundHeartbeatSystemLabel"), ("M2000-V1", "iMAPNorthboundHeartbeatPeriod"), ("M2000-V1", "iMAPNorthboundHeartbeatTimeStamp"))
mibBuilder.exportSymbols("M2000-V1", iMAPNorthboundEventMgmt=iMAPNorthboundEventMgmt, basicCompliance=basicCompliance, iMAPNorthboundFaultAlarmQueryEndNotificationType=iMAPNorthboundFaultAlarmQueryEndNotificationType, iMAPNorthboundCommon=iMAPNorthboundCommon, iMAPNorthboundAlarmObjectInstanceType=iMAPNorthboundAlarmObjectInstanceType, iMAPNorthboundHeartbeatSystemLabel=iMAPNorthboundHeartbeatSystemLabel, iMAPNorthboundFault=iMAPNorthboundFault, iMAPNorthboundAlarmNEType=iMAPNorthboundAlarmNEType, iMAP=iMAP, iMAPNorthboundAlarmParas3=iMAPNorthboundAlarmParas3, iMAPNorthboundFaultAcknowledge=iMAPNorthboundFaultAcknowledge, iMAPNorthboundAlarmParas8=iMAPNorthboundAlarmParas8, iMAPNorthboundAlarmAckTime=iMAPNorthboundAlarmAckTime, iMAPNorthboundAlarmServiceAffectFlag=iMAPNorthboundAlarmServiceAffectFlag, iMAPNorthboundAlarmProposedrepairactions=iMAPNorthboundAlarmProposedrepairactions, iMAPNorthboundFaultUnAcknowledge=iMAPNorthboundFaultUnAcknowledge, iMAPNorthboundFaultAlarmQueryNotificationType=iMAPNorthboundFaultAlarmQueryNotificationType, iMAPNorthboundAlarmQuery=iMAPNorthboundAlarmQuery, iMAPNorthboundHeartbeatNotification=iMAPNorthboundHeartbeatNotification, iMAPNorthboundAlarmRestoreTime=iMAPNorthboundAlarmRestoreTime, iMAPNorthboundAlarmCSN=iMAPNorthboundAlarmCSN, iMAPNorthboundAlarmUnAcknowledge=iMAPNorthboundAlarmUnAcknowledge, iMAPNorthboundAlarmClear=iMAPNorthboundAlarmClear, iMAPNorthboundAlarmParas2=iMAPNorthboundAlarmParas2, iMAPNorthboundAlarmClearOperator=iMAPNorthboundAlarmClearOperator, iMAPNorthboundHeartbeatPeriod=iMAPNorthboundHeartbeatPeriod, iMAPNorthboundAlarmParas1=iMAPNorthboundAlarmParas1, iMAPNorthboundAlarmParas10=iMAPNorthboundAlarmParas10, iMAPNorthboundHeartbeatSvcReportInterval=iMAPNorthboundHeartbeatSvcReportInterval, iMAPNorthboundAlarmClearType=iMAPNorthboundAlarmClearType, iMAPNorthboundFaultAlarmReportNotificationType=iMAPNorthboundFaultAlarmReportNotificationType, iMAPNorthboundAlarmRestore=iMAPNorthboundAlarmRestore, iMAPNorthboundFaultClear=iMAPNorthboundFaultClear, iMAPNorthboundAlarmExtendInfo=iMAPNorthboundAlarmExtendInfo, iMAPNorthboundFaultAlarmQueryBeginNotificationType=iMAPNorthboundFaultAlarmQueryBeginNotificationType, iMAPNorthboundAlarmParas9=iMAPNorthboundAlarmParas9, iMAPNorthboundAlarmProductID=iMAPNorthboundAlarmProductID, iMAPNorthboundAlarmLevel=iMAPNorthboundAlarmLevel, products=products, iMAPNorthboundFaultAlarmNotificationV2=iMAPNorthboundFaultAlarmNotificationV2, iMAPNorthboundAlarmMOName=iMAPNorthboundAlarmMOName, iMAPNorthboundHeartbeatSvc=iMAPNorthboundHeartbeatSvc, iMAPNorthboundAlarmOperator=iMAPNorthboundAlarmOperator, iMAPNorthboundAlarmParas4=iMAPNorthboundAlarmParas4, iMAPNorthboundHeartbeatNotificationV2=iMAPNorthboundHeartbeatNotificationV2, iMAPNorthboundAlarmParas6=iMAPNorthboundAlarmParas6, iMAPNorthboundAlarmSpecificproblems=iMAPNorthboundAlarmSpecificproblems, iMAPNorthboundAlarmClearCategory=iMAPNorthboundAlarmClearCategory, iMAPConformance=iMAPConformance, iMAPNetManagement=iMAPNetManagement, iMAPNorthboundAlarmType=iMAPNorthboundAlarmType, iMAPNorthboundHeartbeatTimeStamp=iMAPNorthboundHeartbeatTimeStamp, iMAPNorthboundFaultNotification=iMAPNorthboundFaultNotification, iMAPNorthboundFaultAlarmNotification=iMAPNorthboundFaultAlarmNotification, iMAPNorthboundAlarmConfirm=iMAPNorthboundAlarmConfirm, iMAPNorthbound=iMAPNorthbound, iMAPNorthboundAlarmDevCsn=iMAPNorthboundAlarmDevCsn, iMAPGroups=iMAPGroups, currentNotificationGroup=currentNotificationGroup, iMAPNorthboundAlarmNEDevID=iMAPNorthboundAlarmNEDevID, iMAPNorthboundAlarmAdditionalInfo=iMAPNorthboundAlarmAdditionalInfo, iMAPNorthboundCommuLinkMonitor=iMAPNorthboundCommuLinkMonitor, iMAPNorthboundAlarmOccurTime=iMAPNorthboundAlarmOccurTime, iMAPNorthboundFaultQuery=iMAPNorthboundFaultQuery, iMAPNorthboundAlarmID=iMAPNorthboundAlarmID, iMAPNorthboundAlarmParas5=iMAPNorthboundAlarmParas5, iMAPNorthboundHeartbeatNotificationType=iMAPNorthboundHeartbeatNotificationType, iMAPNorthboundAlarmParas7=iMAPNorthboundAlarmParas7, currentObjectGroup=currentObjectGroup, iMAPNorthboundAlarmProbablecause=iMAPNorthboundAlarmProbablecause, iMAPNorthboundNotificationReport=iMAPNorthboundNotificationReport, iMAPNorthboundAlarmAcknowledge=iMAPNorthboundAlarmAcknowledge, iMAPNorthboundNotificationCommon=iMAPNorthboundNotificationCommon, iMAPCompliances=iMAPCompliances, iMAPNorthboundAlarmCategory=iMAPNorthboundAlarmCategory)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, single_value_constraint, value_range_constraint, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, enterprises, notification_type, bits, counter64, unsigned32, ip_address, counter32, notification_type, object_identity, time_ticks, mib_identifier, module_identity, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'enterprises', 'NotificationType', 'Bits', 'Counter64', 'Unsigned32', 'IpAddress', 'Counter32', 'NotificationType', 'ObjectIdentity', 'TimeTicks', 'MibIdentifier', 'ModuleIdentity', 'iso')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
i_map = mib_identifier((1, 3, 6, 1, 4, 1, 2011))
products = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2))
i_map_net_management = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15))
i_map_northbound = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2))
i_map_northbound_common = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1))
i_map_northbound_event_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2))
i_map_northbound_notification_report = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1))
i_map_northbound_notification_common = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1))
i_map_northbound_heartbeat_notification = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1))
i_map_northbound_heartbeat_notification_v2 = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 0))
i_map_northbound_heartbeat_system_label = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 1), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundHeartbeatSystemLabel.setStatus('mandatory')
i_map_northbound_heartbeat_period = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundHeartbeatPeriod.setStatus('mandatory')
i_map_northbound_heartbeat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundHeartbeatTimeStamp.setStatus('mandatory')
i_map_northbound_commu_link_monitor = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 3))
i_map_northbound_heartbeat_svc = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 3, 1))
i_map_northbound_heartbeat_svc_report_interval = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 3, 1, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
iMAPNorthboundHeartbeatSvcReportInterval.setStatus('mandatory')
i_map_northbound_fault = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4))
i_map_northbound_fault_query = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 1))
i_map_northbound_alarm_query = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 1, 5), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmQuery.setStatus('mandatory')
i_map_northbound_fault_notification = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3))
i_map_northbound_fault_alarm_notification = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3))
i_map_northbound_fault_alarm_notification_v2 = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 0))
i_map_northbound_alarm_csn = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 1), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmCSN.setStatus('mandatory')
i_map_northbound_alarm_category = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmCategory.setStatus('mandatory')
i_map_northbound_alarm_occur_time = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmOccurTime.setStatus('mandatory')
i_map_northbound_alarm_mo_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 4), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmMOName.setStatus('mandatory')
i_map_northbound_alarm_product_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('transmission', 1), ('mobile', 2), ('fixedNetworkNarrow', 3), ('bandFixedBand', 4), ('intelligence', 5), ('omc', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmProductID.setStatus('mandatory')
i_map_northbound_alarm_ne_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 6), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmNEType.setStatus('mandatory')
i_map_northbound_alarm_ne_dev_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 7), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmNEDevID.setStatus('mandatory')
i_map_northbound_alarm_dev_csn = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 8), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmDevCsn.setStatus('mandatory')
i_map_northbound_alarm_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmID.setStatus('mandatory')
i_map_northbound_alarm_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmType.setStatus('mandatory')
i_map_northbound_alarm_level = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 6))).clone(namedValues=named_values(('critical', 1), ('major', 2), ('minor', 3), ('warning', 4), ('cleared', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmLevel.setStatus('mandatory')
i_map_northbound_alarm_restore = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('cleared', 1), ('uncleared', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmRestore.setStatus('mandatory')
i_map_northbound_alarm_confirm = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('acknowledged', 1), ('unacknowledged', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmConfirm.setStatus('mandatory')
i_map_northbound_alarm_ack_time = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 14), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmAckTime.setStatus('mandatory')
i_map_northbound_alarm_restore_time = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 15), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmRestoreTime.setStatus('mandatory')
i_map_northbound_alarm_operator = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 16), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmOperator.setStatus('mandatory')
i_map_northbound_alarm_paras1 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas1.setStatus('mandatory')
i_map_northbound_alarm_paras2 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas2.setStatus('mandatory')
i_map_northbound_alarm_paras3 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas3.setStatus('mandatory')
i_map_northbound_alarm_paras4 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 20), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas4.setStatus('mandatory')
i_map_northbound_alarm_paras5 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 21), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas5.setStatus('mandatory')
i_map_northbound_alarm_paras6 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 22), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas6.setStatus('mandatory')
i_map_northbound_alarm_paras7 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 23), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas7.setStatus('mandatory')
i_map_northbound_alarm_paras8 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 24), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas8.setStatus('mandatory')
i_map_northbound_alarm_paras9 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 25), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas9.setStatus('mandatory')
i_map_northbound_alarm_paras10 = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 26), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmParas10.setStatus('mandatory')
i_map_northbound_alarm_extend_info = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 27), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmExtendInfo.setStatus('mandatory')
i_map_northbound_alarm_probablecause = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 28), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmProbablecause.setStatus('mandatory')
i_map_northbound_alarm_proposedrepairactions = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 29), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmProposedrepairactions.setStatus('mandatory')
i_map_northbound_alarm_specificproblems = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 30), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmSpecificproblems.setStatus('mandatory')
i_map_northbound_alarm_clear_operator = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 46), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmClearOperator.setStatus('mandatory')
i_map_northbound_alarm_object_instance_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 47), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmObjectInstanceType.setStatus('mandatory')
i_map_northbound_alarm_clear_category = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 48), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmClearCategory.setStatus('mandatory')
i_map_northbound_alarm_clear_type = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 49), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmClearType.setStatus('mandatory')
i_map_northbound_alarm_service_affect_flag = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 50), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmServiceAffectFlag.setStatus('mandatory')
i_map_northbound_alarm_additional_info = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3, 51), octet_string().subtype(subtypeSpec=value_size_constraint(0, 250))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmAdditionalInfo.setStatus('mandatory')
i_map_northbound_fault_acknowledge = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 4))
i_map_northbound_alarm_acknowledge = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 4, 1), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmAcknowledge.setStatus('mandatory')
i_map_northbound_fault_un_acknowledge = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 5))
i_map_northbound_alarm_un_acknowledge = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 5, 1), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmUnAcknowledge.setStatus('mandatory')
i_map_northbound_fault_clear = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 6))
i_map_northbound_alarm_clear = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 6, 1), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
iMAPNorthboundAlarmClear.setStatus('mandatory')
i_map_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 3))
i_map_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 3, 1))
current_object_group = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 3, 1, 1))
current_notification_group = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 3, 1, 2))
i_map_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 3, 2))
basic_compliance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 3, 2, 1))
i_map_northbound_fault_alarm_report_notification_type = notification_type((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0, 1)).setObjects(('M2000-V1', 'iMAPNorthboundAlarmCSN'), ('M2000-V1', 'iMAPNorthboundAlarmCategory'), ('M2000-V1', 'iMAPNorthboundAlarmOccurTime'), ('M2000-V1', 'iMAPNorthboundAlarmMOName'), ('M2000-V1', 'iMAPNorthboundAlarmProductID'), ('M2000-V1', 'iMAPNorthboundAlarmNEType'), ('M2000-V1', 'iMAPNorthboundAlarmNEDevID'), ('M2000-V1', 'iMAPNorthboundAlarmDevCsn'), ('M2000-V1', 'iMAPNorthboundAlarmID'), ('M2000-V1', 'iMAPNorthboundAlarmType'), ('M2000-V1', 'iMAPNorthboundAlarmLevel'), ('M2000-V1', 'iMAPNorthboundAlarmRestore'), ('M2000-V1', 'iMAPNorthboundAlarmConfirm'), ('M2000-V1', 'iMAPNorthboundAlarmAckTime'), ('M2000-V1', 'iMAPNorthboundAlarmRestoreTime'), ('M2000-V1', 'iMAPNorthboundAlarmOperator'), ('M2000-V1', 'iMAPNorthboundAlarmParas1'), ('M2000-V1', 'iMAPNorthboundAlarmParas2'), ('M2000-V1', 'iMAPNorthboundAlarmParas3'), ('M2000-V1', 'iMAPNorthboundAlarmParas4'), ('M2000-V1', 'iMAPNorthboundAlarmParas5'), ('M2000-V1', 'iMAPNorthboundAlarmParas6'), ('M2000-V1', 'iMAPNorthboundAlarmParas7'), ('M2000-V1', 'iMAPNorthboundAlarmParas8'), ('M2000-V1', 'iMAPNorthboundAlarmParas9'), ('M2000-V1', 'iMAPNorthboundAlarmParas10'), ('M2000-V1', 'iMAPNorthboundAlarmExtendInfo'), ('M2000-V1', 'iMAPNorthboundAlarmProbablecause'), ('M2000-V1', 'iMAPNorthboundAlarmProposedrepairactions'), ('M2000-V1', 'iMAPNorthboundAlarmSpecificproblems'), ('M2000-V1', 'iMAPNorthboundAlarmClearOperator'), ('M2000-V1', 'iMAPNorthboundAlarmAdditionalInfo'), ('M2000-V1', 'iMAPNorthboundAlarmClearType'), ('M2000-V1', 'iMAPNorthboundAlarmClearCategory'), ('M2000-V1', 'iMAPNorthboundAlarmServiceAffectFlag'), ('M2000-V1', 'iMAPNorthboundAlarmObjectInstanceType'))
i_map_northbound_fault_alarm_query_begin_notification_type = notification_type((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0, 2))
i_map_northbound_fault_alarm_query_notification_type = notification_type((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0, 3)).setObjects(('M2000-V1', 'iMAPNorthboundAlarmCSN'), ('M2000-V1', 'iMAPNorthboundAlarmCategory'), ('M2000-V1', 'iMAPNorthboundAlarmOccurTime'), ('M2000-V1', 'iMAPNorthboundAlarmMOName'), ('M2000-V1', 'iMAPNorthboundAlarmProductID'), ('M2000-V1', 'iMAPNorthboundAlarmNEType'), ('M2000-V1', 'iMAPNorthboundAlarmNEDevID'), ('M2000-V1', 'iMAPNorthboundAlarmDevCsn'), ('M2000-V1', 'iMAPNorthboundAlarmID'), ('M2000-V1', 'iMAPNorthboundAlarmType'), ('M2000-V1', 'iMAPNorthboundAlarmLevel'), ('M2000-V1', 'iMAPNorthboundAlarmRestore'), ('M2000-V1', 'iMAPNorthboundAlarmConfirm'), ('M2000-V1', 'iMAPNorthboundAlarmAckTime'), ('M2000-V1', 'iMAPNorthboundAlarmRestoreTime'), ('M2000-V1', 'iMAPNorthboundAlarmOperator'), ('M2000-V1', 'iMAPNorthboundAlarmParas1'), ('M2000-V1', 'iMAPNorthboundAlarmParas2'), ('M2000-V1', 'iMAPNorthboundAlarmParas3'), ('M2000-V1', 'iMAPNorthboundAlarmParas4'), ('M2000-V1', 'iMAPNorthboundAlarmParas5'), ('M2000-V1', 'iMAPNorthboundAlarmParas6'), ('M2000-V1', 'iMAPNorthboundAlarmParas7'), ('M2000-V1', 'iMAPNorthboundAlarmParas8'), ('M2000-V1', 'iMAPNorthboundAlarmParas9'), ('M2000-V1', 'iMAPNorthboundAlarmParas10'), ('M2000-V1', 'iMAPNorthboundAlarmExtendInfo'), ('M2000-V1', 'iMAPNorthboundAlarmProbablecause'), ('M2000-V1', 'iMAPNorthboundAlarmProposedrepairactions'), ('M2000-V1', 'iMAPNorthboundAlarmSpecificproblems'), ('M2000-V1', 'iMAPNorthboundAlarmClearOperator'), ('M2000-V1', 'iMAPNorthboundAlarmAdditionalInfo'), ('M2000-V1', 'iMAPNorthboundAlarmServiceAffectFlag'), ('M2000-V1', 'iMAPNorthboundAlarmClearType'), ('M2000-V1', 'iMAPNorthboundAlarmClearCategory'), ('M2000-V1', 'iMAPNorthboundAlarmObjectInstanceType'))
i_map_northbound_fault_alarm_query_end_notification_type = notification_type((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 4, 3, 3) + (0, 4))
i_map_northbound_heartbeat_notification_type = notification_type((1, 3, 6, 1, 4, 1, 2011, 2, 15, 2, 1, 2, 1, 1, 1) + (0, 5)).setObjects(('M2000-V1', 'iMAPNorthboundHeartbeatSystemLabel'), ('M2000-V1', 'iMAPNorthboundHeartbeatPeriod'), ('M2000-V1', 'iMAPNorthboundHeartbeatTimeStamp'))
mibBuilder.exportSymbols('M2000-V1', iMAPNorthboundEventMgmt=iMAPNorthboundEventMgmt, basicCompliance=basicCompliance, iMAPNorthboundFaultAlarmQueryEndNotificationType=iMAPNorthboundFaultAlarmQueryEndNotificationType, iMAPNorthboundCommon=iMAPNorthboundCommon, iMAPNorthboundAlarmObjectInstanceType=iMAPNorthboundAlarmObjectInstanceType, iMAPNorthboundHeartbeatSystemLabel=iMAPNorthboundHeartbeatSystemLabel, iMAPNorthboundFault=iMAPNorthboundFault, iMAPNorthboundAlarmNEType=iMAPNorthboundAlarmNEType, iMAP=iMAP, iMAPNorthboundAlarmParas3=iMAPNorthboundAlarmParas3, iMAPNorthboundFaultAcknowledge=iMAPNorthboundFaultAcknowledge, iMAPNorthboundAlarmParas8=iMAPNorthboundAlarmParas8, iMAPNorthboundAlarmAckTime=iMAPNorthboundAlarmAckTime, iMAPNorthboundAlarmServiceAffectFlag=iMAPNorthboundAlarmServiceAffectFlag, iMAPNorthboundAlarmProposedrepairactions=iMAPNorthboundAlarmProposedrepairactions, iMAPNorthboundFaultUnAcknowledge=iMAPNorthboundFaultUnAcknowledge, iMAPNorthboundFaultAlarmQueryNotificationType=iMAPNorthboundFaultAlarmQueryNotificationType, iMAPNorthboundAlarmQuery=iMAPNorthboundAlarmQuery, iMAPNorthboundHeartbeatNotification=iMAPNorthboundHeartbeatNotification, iMAPNorthboundAlarmRestoreTime=iMAPNorthboundAlarmRestoreTime, iMAPNorthboundAlarmCSN=iMAPNorthboundAlarmCSN, iMAPNorthboundAlarmUnAcknowledge=iMAPNorthboundAlarmUnAcknowledge, iMAPNorthboundAlarmClear=iMAPNorthboundAlarmClear, iMAPNorthboundAlarmParas2=iMAPNorthboundAlarmParas2, iMAPNorthboundAlarmClearOperator=iMAPNorthboundAlarmClearOperator, iMAPNorthboundHeartbeatPeriod=iMAPNorthboundHeartbeatPeriod, iMAPNorthboundAlarmParas1=iMAPNorthboundAlarmParas1, iMAPNorthboundAlarmParas10=iMAPNorthboundAlarmParas10, iMAPNorthboundHeartbeatSvcReportInterval=iMAPNorthboundHeartbeatSvcReportInterval, iMAPNorthboundAlarmClearType=iMAPNorthboundAlarmClearType, iMAPNorthboundFaultAlarmReportNotificationType=iMAPNorthboundFaultAlarmReportNotificationType, iMAPNorthboundAlarmRestore=iMAPNorthboundAlarmRestore, iMAPNorthboundFaultClear=iMAPNorthboundFaultClear, iMAPNorthboundAlarmExtendInfo=iMAPNorthboundAlarmExtendInfo, iMAPNorthboundFaultAlarmQueryBeginNotificationType=iMAPNorthboundFaultAlarmQueryBeginNotificationType, iMAPNorthboundAlarmParas9=iMAPNorthboundAlarmParas9, iMAPNorthboundAlarmProductID=iMAPNorthboundAlarmProductID, iMAPNorthboundAlarmLevel=iMAPNorthboundAlarmLevel, products=products, iMAPNorthboundFaultAlarmNotificationV2=iMAPNorthboundFaultAlarmNotificationV2, iMAPNorthboundAlarmMOName=iMAPNorthboundAlarmMOName, iMAPNorthboundHeartbeatSvc=iMAPNorthboundHeartbeatSvc, iMAPNorthboundAlarmOperator=iMAPNorthboundAlarmOperator, iMAPNorthboundAlarmParas4=iMAPNorthboundAlarmParas4, iMAPNorthboundHeartbeatNotificationV2=iMAPNorthboundHeartbeatNotificationV2, iMAPNorthboundAlarmParas6=iMAPNorthboundAlarmParas6, iMAPNorthboundAlarmSpecificproblems=iMAPNorthboundAlarmSpecificproblems, iMAPNorthboundAlarmClearCategory=iMAPNorthboundAlarmClearCategory, iMAPConformance=iMAPConformance, iMAPNetManagement=iMAPNetManagement, iMAPNorthboundAlarmType=iMAPNorthboundAlarmType, iMAPNorthboundHeartbeatTimeStamp=iMAPNorthboundHeartbeatTimeStamp, iMAPNorthboundFaultNotification=iMAPNorthboundFaultNotification, iMAPNorthboundFaultAlarmNotification=iMAPNorthboundFaultAlarmNotification, iMAPNorthboundAlarmConfirm=iMAPNorthboundAlarmConfirm, iMAPNorthbound=iMAPNorthbound, iMAPNorthboundAlarmDevCsn=iMAPNorthboundAlarmDevCsn, iMAPGroups=iMAPGroups, currentNotificationGroup=currentNotificationGroup, iMAPNorthboundAlarmNEDevID=iMAPNorthboundAlarmNEDevID, iMAPNorthboundAlarmAdditionalInfo=iMAPNorthboundAlarmAdditionalInfo, iMAPNorthboundCommuLinkMonitor=iMAPNorthboundCommuLinkMonitor, iMAPNorthboundAlarmOccurTime=iMAPNorthboundAlarmOccurTime, iMAPNorthboundFaultQuery=iMAPNorthboundFaultQuery, iMAPNorthboundAlarmID=iMAPNorthboundAlarmID, iMAPNorthboundAlarmParas5=iMAPNorthboundAlarmParas5, iMAPNorthboundHeartbeatNotificationType=iMAPNorthboundHeartbeatNotificationType, iMAPNorthboundAlarmParas7=iMAPNorthboundAlarmParas7, currentObjectGroup=currentObjectGroup, iMAPNorthboundAlarmProbablecause=iMAPNorthboundAlarmProbablecause, iMAPNorthboundNotificationReport=iMAPNorthboundNotificationReport, iMAPNorthboundAlarmAcknowledge=iMAPNorthboundAlarmAcknowledge, iMAPNorthboundNotificationCommon=iMAPNorthboundNotificationCommon, iMAPCompliances=iMAPCompliances, iMAPNorthboundAlarmCategory=iMAPNorthboundAlarmCategory) |
Experiment(description='More kernels but no RQ',
data_dir='../data/tsdl/',
max_depth=8,
random_order=False,
k=1,
debug=False,
local_computation=False,
n_rand=9,
sd=4,
max_jobs=400,
verbose=False,
make_predictions=False,
skip_complete=True,
results_dir='../results/2013-08-14-no-rq/',
iters=500,
base_kernels='IBM,IBMLin,SE,Per,Lin,Const,PP1,PP2,PP3,MT3,MT5',
zero_mean=True,
random_seed=0,
period_heuristic=5)
| experiment(description='More kernels but no RQ', data_dir='../data/tsdl/', max_depth=8, random_order=False, k=1, debug=False, local_computation=False, n_rand=9, sd=4, max_jobs=400, verbose=False, make_predictions=False, skip_complete=True, results_dir='../results/2013-08-14-no-rq/', iters=500, base_kernels='IBM,IBMLin,SE,Per,Lin,Const,PP1,PP2,PP3,MT3,MT5', zero_mean=True, random_seed=0, period_heuristic=5) |
class Solution:
def deleteDuplicates(self, head):
if head:
p = head.next
while p and p.val == head.val:
p = p.next
head.next = self.deleteDuplicates(p)
return head
| class Solution:
def delete_duplicates(self, head):
if head:
p = head.next
while p and p.val == head.val:
p = p.next
head.next = self.deleteDuplicates(p)
return head |
# getting these names wrong on the mocks will result in always passing tests
# instead of calling methods on the mock, call these (where typos will fail)
def assert_called_once_with(mock, *args, **kwargs):
mock.assert_called_once_with(*args, **kwargs)
def assert_called_with(mock, *args, **kwargs):
mock.assert_called_with(*args, **kwargs)
def assert_has_calls(mock, *args, **kwargs):
mock.assert_has_calls(*args, **kwargs)
| def assert_called_once_with(mock, *args, **kwargs):
mock.assert_called_once_with(*args, **kwargs)
def assert_called_with(mock, *args, **kwargs):
mock.assert_called_with(*args, **kwargs)
def assert_has_calls(mock, *args, **kwargs):
mock.assert_has_calls(*args, **kwargs) |
#
# PySNMP MIB module CTRON-SSR-HARDWARE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CTRON-SSR-HARDWARE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:31:24 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion")
ssrMibs, = mibBuilder.importSymbols("CTRON-SSR-SMI-MIB", "ssrMibs")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, TimeTicks, ModuleIdentity, Bits, Unsigned32, Integer32, NotificationType, IpAddress, ObjectIdentity, MibIdentifier, iso, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "TimeTicks", "ModuleIdentity", "Bits", "Unsigned32", "Integer32", "NotificationType", "IpAddress", "ObjectIdentity", "MibIdentifier", "iso", "Counter32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
hardwareMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200))
hardwareMIB.setRevisions(('2000-07-17 00:00', '2000-07-15 00:00', '2000-05-31 00:00', '2000-03-20 00:00', '1999-12-30 00:00', '1999-01-20 00:00', '1998-08-04 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: hardwareMIB.setRevisionsDescriptions(('Add support for the Smart Switch 6000 2 Port Gigabit Backplane module to the SSRModuleType for the Enterasys SSR product line', 'Update contact information. This mib is found on Riverstone Networks RS product line as well as Enterasys SSR product line', 'Modify SSRPortConnectorType for GBIC connector in 4.0 and update sysHwModuleService by appending the board serial number for 4.0 for RS-32000.', 'Add Firmware 4.0 support. 3200 series modules, gigabit modules with GBIC support.', 'Add Firmware 3.1 support. 16 port 10/100 TX, Gigabit over Copper, ATM OC-3, POS OC3/12.', 'Add Firmware 3.0 support. Add Backup control module status and last Hotswap event.', 'First Revision of SSR Hardware mib. ',))
if mibBuilder.loadTexts: hardwareMIB.setLastUpdated('200007170000Z')
if mibBuilder.loadTexts: hardwareMIB.setOrganization('Cabletron Systems, Inc.')
if mibBuilder.loadTexts: hardwareMIB.setContactInfo('Enterasys Networks 35 Industrial Way, P.O. Box 5005 Rochester, NH 03867-0505 (603) 332-9400 support@enterasys.com http://www.enterasys.com')
if mibBuilder.loadTexts: hardwareMIB.setDescription('This module defines a schema to access SSR hardware configuration.')
class SSRInterfaceIndex(TextualConvention, Integer32):
description = "A unique value, greater than zero, for each interface or interface sub-layer in the managed system. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub- layer must remain constant at least from one re- initialization of the entity's network management system to the next re-initialization."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 65535)
class SSRModuleType(TextualConvention, Integer32):
description = 'A unique value, greater than zero, for each module type supported by the SSR series of products.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 503, 504, 505, 506, 507))
namedValues = NamedValues(("controlModule", 1), ("ether100TX", 2), ("ether100FX", 3), ("gigabitSX", 4), ("gigabitLX", 5), ("serial4port", 6), ("hssi", 7), ("unknown", 8), ("gigabitLLX", 9), ("none", 10), ("controlModule2", 11), ("gigabitLLX2P", 12), ("serial2port", 13), ("cmts1x4port", 15), ("fddi2port", 16), ("controlModule3", 17), ("serial4portCE", 20), ("ether100TX16port", 21), ("gigabitTX", 22), ("atm155", 24), ("sonet4PortOc3", 25), ("sonet2PortOc12", 26), ("gigabitFX4P", 27), ("gigabitFX4PGBIC", 28), ("gigabitFX2PGBIC", 29), ("gigabit6K2PBP", 30), ("rbGigabit8PGBIC", 503), ("rbGigabit4PGBIC", 504), ("rbEther100TX24P", 505), ("rbEther100TC32P", 506), ("rbControlModule", 507))
class SSRModuleStatus(TextualConvention, Integer32):
description = 'Current state of module. online indicates the normal state. Offline indicates a powered off or failed module. Modules may be powered off prior to hot swap.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("online", 1), ("offline", 2))
class SSRPortType(TextualConvention, Integer32):
description = 'A unique value, greater than zero, for each physical port type supported by the SSR series of products.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))
namedValues = NamedValues(("etherFast", 1), ("gigEther", 2), ("hssi", 3), ("serial", 4), ("unknown", 5), ("sonet", 6), ("ds1", 7), ("ds3", 8), ("cmt", 9), ("e1", 10), ("e3", 11), ("fddi", 12))
class SSRPortConnectorType(TextualConvention, Integer32):
description = 'A unique value, greater than zero, for each physical port type supported by the SSR series of products'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))
namedValues = NamedValues(("empty", 0), ("db9m", 1), ("db9f", 2), ("db15m", 3), ("db15f", 4), ("db25m", 5), ("db25f", 6), ("rj11", 7), ("rj45", 8), ("aui", 9), ("ftypef", 10), ("fiberScMM", 11), ("v35", 12), ("eia530", 13), ("rs44x", 14), ("x21", 15), ("hssi", 16), ("unknown", 17), ("fiberScSM", 18), ("fiberMTRjMM", 19), ("fiberMTRjSM", 20), ("bncf", 21), ("bncm", 22), ("rj21", 23), ("fiberScSMLH", 24))
class SSRserviceType(TextualConvention, OctetString):
description = 'A string that is unique to a module in production. This string is used by Cabletron Service and Manufacturing as to identify shipped inventory.'
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 7)
class SSRmemorySize(TextualConvention, Integer32):
description = 'An integer that represents the size of memory in Megabytes. -1 represents not-available or not-applicable value.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(-1, 2147483647)
class SSRSwitchingFabricInfo(TextualConvention, Integer32):
description = 'A bit string that represents the status of Switching Fabric in the shelf/chassis. Switching Fabric #1 is first 2 bits 0-1, #2 is 2-3. For example, given a 16 slot SSR 8600 which has one Switching Fabric in Switching Fabric Slot #1 (lowest full length midplane slot) the integer value 0x00000007 translates into (bits): 0 0 0 0 0 1 1 1 | | | | | | | +--- switching fabric #1 is present | | +----- switching fabric is primary | + ------ switching fabric #2 is present +--------- switching fabric is standby'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 63)
class SSRCmLedState(TextualConvention, Integer32):
description = 'A bit string that represents the status of the active Control Module. Each LED occupies a bit. The value 1 indicates LED is on, 0 is off. The integer value 0x00000015 translates into (bits): 0 0 0 0 1 1 1 1 | | | | | | | +- System OK -- SYS OK | | +--- Heartbeat -- HB | +----- Error -- ERR + ------ Diagnostic -- Diag'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 15)
class SSRBackupCMState(TextualConvention, Integer32):
description = "A enumeration that represents the state of the backup control module. A backup control module prom will boot the system firmware to an intermediate state and begins sending hello messages to the main cpu and assume the monitor(3) state. If the prom does not boot the backup control module, the active control module will report the status as inactive(2). inactive(2) indicates a failed state as it means the backup control module can not take over for the active control module. If the main cpu fails to respond to the backup control module's periodic status checks and the backup control module is in the standby(3) state, the backup control module will reset the active control module, then reset all line cards and then finish a normal boot sequence so that it becomes the master. At this point, the value of this object is active(5). Flows in the hardware must be reprogrammed and all control protocols will have to reestablish. An enterprise trap may also be sent. Normally, slot: CM will be the primary control module. CM/1 is the slot for the backup control module. If some other line card exists in slot CM/1 or no card exists, the state of this object is notInstalled(4)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))
namedValues = NamedValues(("unknown", 1), ("inactive", 2), ("standby", 3), ("notInstalled", 4), ("active", 5))
sysHwGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1))
sysHwNumSlots = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwNumSlots.setStatus('current')
if mibBuilder.loadTexts: sysHwNumSlots.setDescription('The number of slots present in the Shelf/Chassis.')
sysHwModuleTable = MibTable((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2), )
if mibBuilder.loadTexts: sysHwModuleTable.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleTable.setDescription('A list of module entries.')
sysHwModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1), ).setIndexNames((0, "CTRON-SSR-HARDWARE-MIB", "sysHwModuleSlotNumber"))
if mibBuilder.loadTexts: sysHwModuleEntry.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleEntry.setDescription('An entry containing management information applicable to a particular module.')
sysHwModuleSlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleSlotNumber.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleSlotNumber.setDescription('The physical slot number of the module in the Shelf/Chassis.')
sysHwModuleType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 2), SSRModuleType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleType.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleType.setDescription('The physical module type.')
sysHwModuleDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleDesc.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleDesc.setDescription("The description of the module with it's version number etc. For the Control Module it should have the software version, the amount of dynamic RAM, flash RAM.")
sysHwModuleNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleNumPorts.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleNumPorts.setDescription('The number of physical ports on this Card/Module.')
sysHwModuleVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleVersion.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleVersion.setDescription('The alpha-numeric version string for this Card/Module.')
sysHwModuleMemory = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 6), SSRmemorySize()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleMemory.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleMemory.setDescription('System Memory size available on the Module. Reports -1 if no memory exists on this module, such as power supplies.')
sysHwModuleService = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 8), SSRserviceType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleService.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleService.setDescription('The Cabletron service identifier string for this Card/Module.The board serial number is appended to the string too.')
sysHwModuleStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 9), SSRModuleStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwModuleStatus.setStatus('current')
if mibBuilder.loadTexts: sysHwModuleStatus.setDescription('The current status of this module, online or offline.')
sysHwPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3), )
if mibBuilder.loadTexts: sysHwPortTable.setStatus('current')
if mibBuilder.loadTexts: sysHwPortTable.setDescription('A list of module entries.')
sysHwPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1), ).setIndexNames((0, "CTRON-SSR-HARDWARE-MIB", "sysHwPortSlotNumber"), (0, "CTRON-SSR-HARDWARE-MIB", "sysHwPortNumber"))
if mibBuilder.loadTexts: sysHwPortEntry.setStatus('current')
if mibBuilder.loadTexts: sysHwPortEntry.setDescription('An entry containing management information applicable to a particular module.')
sysHwPortSlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwPortSlotNumber.setStatus('current')
if mibBuilder.loadTexts: sysHwPortSlotNumber.setDescription('The physical slot number of the module in the Chassis.')
sysHwPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwPortNumber.setStatus('current')
if mibBuilder.loadTexts: sysHwPortNumber.setDescription('The port number of the physical port in the Card/Module.')
sysHwPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 3), SSRPortType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwPortType.setStatus('current')
if mibBuilder.loadTexts: sysHwPortType.setDescription('The physical port type.')
sysHwPortConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 4), SSRPortConnectorType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwPortConnectorType.setStatus('current')
if mibBuilder.loadTexts: sysHwPortConnectorType.setDescription('The physical port connector type.')
sysHwPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 5), SSRInterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwPortIfIndex.setStatus('current')
if mibBuilder.loadTexts: sysHwPortIfIndex.setDescription('The value of ifIndex used to access this port in the Interface MIB.')
class PowerSupplyBits(TextualConvention, Integer32):
description = "The encoding of the bits are as follows : Each power supply in the system is represented by two bits. The lower bit reflecting the presence of the power supply and the higher bit representing it's state. A 1 reflects a properly working power supply a 0 one which is down. This encoding allows for a maximum of 16 power supplies. For example : The integer value 0x00000007 translates into 0 0 0 0 0 1 1 1 in bits | | | | | | | +- power supply 1 is present | | +--- power supply 1 is working normally | +----- power supply 2 is present +------- power supply 2 is down"
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 255)
sysHwPowerSupply = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 4), PowerSupplyBits()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwPowerSupply.setStatus('current')
if mibBuilder.loadTexts: sysHwPowerSupply.setDescription('The number and status of power supplies powering the Shelf/Chassis.')
sysHwFan = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("working", 1), ("notWorking", 2), ("unknown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwFan.setStatus('current')
if mibBuilder.loadTexts: sysHwFan.setDescription('The current state of the fans located inside the Shelf/Chassis.')
sysHwTemperature = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("normal", 1), ("outOfRange", 2), ("unknown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTemperature.setStatus('current')
if mibBuilder.loadTexts: sysHwTemperature.setDescription('The current temperature status of the Shelf/Chassis.')
sysHwChassisId = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwChassisId.setStatus('current')
if mibBuilder.loadTexts: sysHwChassisId.setDescription('Operator defined serial number for this particular chassis/shelf.')
sysHwSwitchingFabric = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 19), SSRSwitchingFabricInfo()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwSwitchingFabric.setStatus('current')
if mibBuilder.loadTexts: sysHwSwitchingFabric.setDescription('Status of Switching Fabric in shelf/chassis.')
sysHwControlModuleLED = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 20), SSRCmLedState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwControlModuleLED.setStatus('current')
if mibBuilder.loadTexts: sysHwControlModuleLED.setDescription("Status of the shelf/chassis Active Control Module's four LED displays.")
sysHwControlModuleBackupState = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 21), SSRBackupCMState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwControlModuleBackupState.setStatus('current')
if mibBuilder.loadTexts: sysHwControlModuleBackupState.setDescription('Status of the the backup Control Module as interpreted from the active control module. CLI: system show hardware will present the following data: Redundant CPU slot : Not present')
sysHwLastHotSwapEvent = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 22), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwLastHotSwapEvent.setStatus('current')
if mibBuilder.loadTexts: sysHwLastHotSwapEvent.setDescription('The value of sysUpTime when the last hotswap of a physical module event occured.')
sysHwTotalInOctets = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTotalInOctets.setStatus('deprecated')
if mibBuilder.loadTexts: sysHwTotalInOctets.setDescription('The total number of octets into the switch.')
sysHwTotalOutOctets = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTotalOutOctets.setStatus('deprecated')
if mibBuilder.loadTexts: sysHwTotalOutOctets.setDescription('The total number of octets out of the switch.')
sysHwTotalInFrames = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTotalInFrames.setStatus('deprecated')
if mibBuilder.loadTexts: sysHwTotalInFrames.setDescription('The total number of frames into the switch.')
sysHwTotalOutFrames = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTotalOutFrames.setStatus('deprecated')
if mibBuilder.loadTexts: sysHwTotalOutFrames.setDescription('The total number of frames out of the switch.')
sysHwTotalL2SwitchedFrames = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTotalL2SwitchedFrames.setStatus('deprecated')
if mibBuilder.loadTexts: sysHwTotalL2SwitchedFrames.setDescription('The current number of frames switched at Layer 2 (transport).')
sysHwTotalL3SwitchedFrames = MibScalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysHwTotalL3SwitchedFrames.setStatus('deprecated')
if mibBuilder.loadTexts: sysHwTotalL3SwitchedFrames.setDescription('The current number of frames switched at IETF Layers 3 (transport) and 4 (application).')
hwConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2))
hwCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 1))
hwGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2))
hwComplianceV10 = ModuleCompliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 1, 1)).setObjects(("CTRON-SSR-HARDWARE-MIB", "hwConfGroupV10"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwComplianceV10 = hwComplianceV10.setStatus('deprecated')
if mibBuilder.loadTexts: hwComplianceV10.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hwComplianceV11 = ModuleCompliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2, 2)).setObjects(("CTRON-SSR-HARDWARE-MIB", "hwConfGroupV11"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwComplianceV11 = hwComplianceV11.setStatus('deprecated')
if mibBuilder.loadTexts: hwComplianceV11.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hwComplianceV12 = ModuleCompliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2, 3)).setObjects(("CTRON-SSR-HARDWARE-MIB", "hwConfGroupV11"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwComplianceV12 = hwComplianceV12.setStatus('deprecated')
if mibBuilder.loadTexts: hwComplianceV12.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hwComplianceV30 = ModuleCompliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2, 4)).setObjects(("CTRON-SSR-HARDWARE-MIB", "hwConfGroupV30"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwComplianceV30 = hwComplianceV30.setStatus('current')
if mibBuilder.loadTexts: hwComplianceV30.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hwConfGroupV10 = ObjectGroup((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 1)).setObjects(("CTRON-SSR-HARDWARE-MIB", "sysHwNumSlots"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleDesc"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleNumPorts"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleVersion"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortConnectorType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortIfIndex"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPowerSupply"), ("CTRON-SSR-HARDWARE-MIB", "sysHwFan"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTemperature"), ("CTRON-SSR-HARDWARE-MIB", "sysHwChassisId"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTotalInOctets"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTotalOutOctets"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTotalInFrames"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTotalOutFrames"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTotalL2SwitchedFrames"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTotalL3SwitchedFrames"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwConfGroupV10 = hwConfGroupV10.setStatus('deprecated')
if mibBuilder.loadTexts: hwConfGroupV10.setDescription('A set of managed objects that make up version 1.0 of the SSR Hardware mib.')
hwConfGroupV11 = ObjectGroup((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2)).setObjects(("CTRON-SSR-HARDWARE-MIB", "sysHwNumSlots"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleDesc"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleNumPorts"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleVersion"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleMemory"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleService"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortConnectorType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortIfIndex"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPowerSupply"), ("CTRON-SSR-HARDWARE-MIB", "sysHwFan"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTemperature"), ("CTRON-SSR-HARDWARE-MIB", "sysHwChassisId"), ("CTRON-SSR-HARDWARE-MIB", "sysHwSwitchingFabric"), ("CTRON-SSR-HARDWARE-MIB", "sysHwControlModuleLED"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwConfGroupV11 = hwConfGroupV11.setStatus('deprecated')
if mibBuilder.loadTexts: hwConfGroupV11.setDescription('A set of managed objects that make up version 1.1 of the SSR Hardware mib.')
hwConfGroupV12 = ObjectGroup((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 3)).setObjects(("CTRON-SSR-HARDWARE-MIB", "sysHwNumSlots"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleDesc"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleNumPorts"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleVersion"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleMemory"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleService"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleStatus"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortConnectorType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortIfIndex"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPowerSupply"), ("CTRON-SSR-HARDWARE-MIB", "sysHwFan"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTemperature"), ("CTRON-SSR-HARDWARE-MIB", "sysHwChassisId"), ("CTRON-SSR-HARDWARE-MIB", "sysHwSwitchingFabric"), ("CTRON-SSR-HARDWARE-MIB", "sysHwControlModuleLED"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwConfGroupV12 = hwConfGroupV12.setStatus('deprecated')
if mibBuilder.loadTexts: hwConfGroupV12.setDescription('A set of managed objects that make up version 1.2 of the SSR Hardware mib.')
hwConfGroupV30 = ObjectGroup((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 4)).setObjects(("CTRON-SSR-HARDWARE-MIB", "sysHwNumSlots"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleDesc"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleNumPorts"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleVersion"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleMemory"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleService"), ("CTRON-SSR-HARDWARE-MIB", "sysHwModuleStatus"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortSlotNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortNumber"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortConnectorType"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPortIfIndex"), ("CTRON-SSR-HARDWARE-MIB", "sysHwPowerSupply"), ("CTRON-SSR-HARDWARE-MIB", "sysHwFan"), ("CTRON-SSR-HARDWARE-MIB", "sysHwTemperature"), ("CTRON-SSR-HARDWARE-MIB", "sysHwChassisId"), ("CTRON-SSR-HARDWARE-MIB", "sysHwSwitchingFabric"), ("CTRON-SSR-HARDWARE-MIB", "sysHwControlModuleLED"), ("CTRON-SSR-HARDWARE-MIB", "sysHwControlModuleBackupState"), ("CTRON-SSR-HARDWARE-MIB", "sysHwLastHotSwapEvent"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwConfGroupV30 = hwConfGroupV30.setStatus('current')
if mibBuilder.loadTexts: hwConfGroupV30.setDescription('A set of managed objects that make up version 3.0 of the SSR Hardware mib.')
mibBuilder.exportSymbols("CTRON-SSR-HARDWARE-MIB", sysHwPortSlotNumber=sysHwPortSlotNumber, sysHwPortEntry=sysHwPortEntry, SSRModuleStatus=SSRModuleStatus, hwGroups=hwGroups, PYSNMP_MODULE_ID=hardwareMIB, sysHwTotalOutFrames=sysHwTotalOutFrames, sysHwModuleType=sysHwModuleType, sysHwModuleMemory=sysHwModuleMemory, sysHwModuleTable=sysHwModuleTable, sysHwTotalInOctets=sysHwTotalInOctets, sysHwModuleSlotNumber=sysHwModuleSlotNumber, sysHwModuleStatus=sysHwModuleStatus, PowerSupplyBits=PowerSupplyBits, hardwareMIB=hardwareMIB, hwComplianceV12=hwComplianceV12, hwConfGroupV12=hwConfGroupV12, sysHwChassisId=sysHwChassisId, sysHwTotalOutOctets=sysHwTotalOutOctets, sysHwPortConnectorType=sysHwPortConnectorType, sysHwGroup=sysHwGroup, SSRInterfaceIndex=SSRInterfaceIndex, hwConfGroupV11=hwConfGroupV11, sysHwPortType=sysHwPortType, SSRCmLedState=SSRCmLedState, hwComplianceV11=hwComplianceV11, sysHwPowerSupply=sysHwPowerSupply, sysHwPortNumber=sysHwPortNumber, sysHwTotalL3SwitchedFrames=sysHwTotalL3SwitchedFrames, SSRSwitchingFabricInfo=SSRSwitchingFabricInfo, sysHwModuleVersion=sysHwModuleVersion, sysHwModuleService=sysHwModuleService, sysHwPortTable=sysHwPortTable, sysHwTotalL2SwitchedFrames=sysHwTotalL2SwitchedFrames, hwComplianceV10=hwComplianceV10, sysHwTemperature=sysHwTemperature, sysHwControlModuleLED=sysHwControlModuleLED, sysHwNumSlots=sysHwNumSlots, sysHwTotalInFrames=sysHwTotalInFrames, sysHwModuleEntry=sysHwModuleEntry, hwConformance=hwConformance, sysHwControlModuleBackupState=sysHwControlModuleBackupState, sysHwSwitchingFabric=sysHwSwitchingFabric, sysHwModuleDesc=sysHwModuleDesc, hwConfGroupV10=hwConfGroupV10, SSRBackupCMState=SSRBackupCMState, hwComplianceV30=hwComplianceV30, SSRModuleType=SSRModuleType, SSRPortType=SSRPortType, hwConfGroupV30=hwConfGroupV30, SSRmemorySize=SSRmemorySize, SSRPortConnectorType=SSRPortConnectorType, SSRserviceType=SSRserviceType, sysHwFan=sysHwFan, hwCompliances=hwCompliances, sysHwModuleNumPorts=sysHwModuleNumPorts, sysHwPortIfIndex=sysHwPortIfIndex, sysHwLastHotSwapEvent=sysHwLastHotSwapEvent)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(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')
(ssr_mibs,) = mibBuilder.importSymbols('CTRON-SSR-SMI-MIB', 'ssrMibs')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, time_ticks, module_identity, bits, unsigned32, integer32, notification_type, ip_address, object_identity, mib_identifier, iso, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'TimeTicks', 'ModuleIdentity', 'Bits', 'Unsigned32', 'Integer32', 'NotificationType', 'IpAddress', 'ObjectIdentity', 'MibIdentifier', 'iso', 'Counter32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
hardware_mib = module_identity((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200))
hardwareMIB.setRevisions(('2000-07-17 00:00', '2000-07-15 00:00', '2000-05-31 00:00', '2000-03-20 00:00', '1999-12-30 00:00', '1999-01-20 00:00', '1998-08-04 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
hardwareMIB.setRevisionsDescriptions(('Add support for the Smart Switch 6000 2 Port Gigabit Backplane module to the SSRModuleType for the Enterasys SSR product line', 'Update contact information. This mib is found on Riverstone Networks RS product line as well as Enterasys SSR product line', 'Modify SSRPortConnectorType for GBIC connector in 4.0 and update sysHwModuleService by appending the board serial number for 4.0 for RS-32000.', 'Add Firmware 4.0 support. 3200 series modules, gigabit modules with GBIC support.', 'Add Firmware 3.1 support. 16 port 10/100 TX, Gigabit over Copper, ATM OC-3, POS OC3/12.', 'Add Firmware 3.0 support. Add Backup control module status and last Hotswap event.', 'First Revision of SSR Hardware mib. '))
if mibBuilder.loadTexts:
hardwareMIB.setLastUpdated('200007170000Z')
if mibBuilder.loadTexts:
hardwareMIB.setOrganization('Cabletron Systems, Inc.')
if mibBuilder.loadTexts:
hardwareMIB.setContactInfo('Enterasys Networks 35 Industrial Way, P.O. Box 5005 Rochester, NH 03867-0505 (603) 332-9400 support@enterasys.com http://www.enterasys.com')
if mibBuilder.loadTexts:
hardwareMIB.setDescription('This module defines a schema to access SSR hardware configuration.')
class Ssrinterfaceindex(TextualConvention, Integer32):
description = "A unique value, greater than zero, for each interface or interface sub-layer in the managed system. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub- layer must remain constant at least from one re- initialization of the entity's network management system to the next re-initialization."
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 65535)
class Ssrmoduletype(TextualConvention, Integer32):
description = 'A unique value, greater than zero, for each module type supported by the SSR series of products.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 503, 504, 505, 506, 507))
named_values = named_values(('controlModule', 1), ('ether100TX', 2), ('ether100FX', 3), ('gigabitSX', 4), ('gigabitLX', 5), ('serial4port', 6), ('hssi', 7), ('unknown', 8), ('gigabitLLX', 9), ('none', 10), ('controlModule2', 11), ('gigabitLLX2P', 12), ('serial2port', 13), ('cmts1x4port', 15), ('fddi2port', 16), ('controlModule3', 17), ('serial4portCE', 20), ('ether100TX16port', 21), ('gigabitTX', 22), ('atm155', 24), ('sonet4PortOc3', 25), ('sonet2PortOc12', 26), ('gigabitFX4P', 27), ('gigabitFX4PGBIC', 28), ('gigabitFX2PGBIC', 29), ('gigabit6K2PBP', 30), ('rbGigabit8PGBIC', 503), ('rbGigabit4PGBIC', 504), ('rbEther100TX24P', 505), ('rbEther100TC32P', 506), ('rbControlModule', 507))
class Ssrmodulestatus(TextualConvention, Integer32):
description = 'Current state of module. online indicates the normal state. Offline indicates a powered off or failed module. Modules may be powered off prior to hot swap.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('online', 1), ('offline', 2))
class Ssrporttype(TextualConvention, Integer32):
description = 'A unique value, greater than zero, for each physical port type supported by the SSR series of products.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))
named_values = named_values(('etherFast', 1), ('gigEther', 2), ('hssi', 3), ('serial', 4), ('unknown', 5), ('sonet', 6), ('ds1', 7), ('ds3', 8), ('cmt', 9), ('e1', 10), ('e3', 11), ('fddi', 12))
class Ssrportconnectortype(TextualConvention, Integer32):
description = 'A unique value, greater than zero, for each physical port type supported by the SSR series of products'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))
named_values = named_values(('empty', 0), ('db9m', 1), ('db9f', 2), ('db15m', 3), ('db15f', 4), ('db25m', 5), ('db25f', 6), ('rj11', 7), ('rj45', 8), ('aui', 9), ('ftypef', 10), ('fiberScMM', 11), ('v35', 12), ('eia530', 13), ('rs44x', 14), ('x21', 15), ('hssi', 16), ('unknown', 17), ('fiberScSM', 18), ('fiberMTRjMM', 19), ('fiberMTRjSM', 20), ('bncf', 21), ('bncm', 22), ('rj21', 23), ('fiberScSMLH', 24))
class Ssrservicetype(TextualConvention, OctetString):
description = 'A string that is unique to a module in production. This string is used by Cabletron Service and Manufacturing as to identify shipped inventory.'
status = 'current'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(0, 7)
class Ssrmemorysize(TextualConvention, Integer32):
description = 'An integer that represents the size of memory in Megabytes. -1 represents not-available or not-applicable value.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(-1, 2147483647)
class Ssrswitchingfabricinfo(TextualConvention, Integer32):
description = 'A bit string that represents the status of Switching Fabric in the shelf/chassis. Switching Fabric #1 is first 2 bits 0-1, #2 is 2-3. For example, given a 16 slot SSR 8600 which has one Switching Fabric in Switching Fabric Slot #1 (lowest full length midplane slot) the integer value 0x00000007 translates into (bits): 0 0 0 0 0 1 1 1 | | | | | | | +--- switching fabric #1 is present | | +----- switching fabric is primary | + ------ switching fabric #2 is present +--------- switching fabric is standby'
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 63)
class Ssrcmledstate(TextualConvention, Integer32):
description = 'A bit string that represents the status of the active Control Module. Each LED occupies a bit. The value 1 indicates LED is on, 0 is off. The integer value 0x00000015 translates into (bits): 0 0 0 0 1 1 1 1 | | | | | | | +- System OK -- SYS OK | | +--- Heartbeat -- HB | +----- Error -- ERR + ------ Diagnostic -- Diag'
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 15)
class Ssrbackupcmstate(TextualConvention, Integer32):
description = "A enumeration that represents the state of the backup control module. A backup control module prom will boot the system firmware to an intermediate state and begins sending hello messages to the main cpu and assume the monitor(3) state. If the prom does not boot the backup control module, the active control module will report the status as inactive(2). inactive(2) indicates a failed state as it means the backup control module can not take over for the active control module. If the main cpu fails to respond to the backup control module's periodic status checks and the backup control module is in the standby(3) state, the backup control module will reset the active control module, then reset all line cards and then finish a normal boot sequence so that it becomes the master. At this point, the value of this object is active(5). Flows in the hardware must be reprogrammed and all control protocols will have to reestablish. An enterprise trap may also be sent. Normally, slot: CM will be the primary control module. CM/1 is the slot for the backup control module. If some other line card exists in slot CM/1 or no card exists, the state of this object is notInstalled(4)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5))
named_values = named_values(('unknown', 1), ('inactive', 2), ('standby', 3), ('notInstalled', 4), ('active', 5))
sys_hw_group = mib_identifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1))
sys_hw_num_slots = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwNumSlots.setStatus('current')
if mibBuilder.loadTexts:
sysHwNumSlots.setDescription('The number of slots present in the Shelf/Chassis.')
sys_hw_module_table = mib_table((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2))
if mibBuilder.loadTexts:
sysHwModuleTable.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleTable.setDescription('A list of module entries.')
sys_hw_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1)).setIndexNames((0, 'CTRON-SSR-HARDWARE-MIB', 'sysHwModuleSlotNumber'))
if mibBuilder.loadTexts:
sysHwModuleEntry.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleEntry.setDescription('An entry containing management information applicable to a particular module.')
sys_hw_module_slot_number = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleSlotNumber.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleSlotNumber.setDescription('The physical slot number of the module in the Shelf/Chassis.')
sys_hw_module_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 2), ssr_module_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleType.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleType.setDescription('The physical module type.')
sys_hw_module_desc = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleDesc.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleDesc.setDescription("The description of the module with it's version number etc. For the Control Module it should have the software version, the amount of dynamic RAM, flash RAM.")
sys_hw_module_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleNumPorts.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleNumPorts.setDescription('The number of physical ports on this Card/Module.')
sys_hw_module_version = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleVersion.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleVersion.setDescription('The alpha-numeric version string for this Card/Module.')
sys_hw_module_memory = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 6), ss_rmemory_size()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleMemory.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleMemory.setDescription('System Memory size available on the Module. Reports -1 if no memory exists on this module, such as power supplies.')
sys_hw_module_service = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 8), ss_rservice_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleService.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleService.setDescription('The Cabletron service identifier string for this Card/Module.The board serial number is appended to the string too.')
sys_hw_module_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 2, 1, 9), ssr_module_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwModuleStatus.setStatus('current')
if mibBuilder.loadTexts:
sysHwModuleStatus.setDescription('The current status of this module, online or offline.')
sys_hw_port_table = mib_table((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3))
if mibBuilder.loadTexts:
sysHwPortTable.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortTable.setDescription('A list of module entries.')
sys_hw_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1)).setIndexNames((0, 'CTRON-SSR-HARDWARE-MIB', 'sysHwPortSlotNumber'), (0, 'CTRON-SSR-HARDWARE-MIB', 'sysHwPortNumber'))
if mibBuilder.loadTexts:
sysHwPortEntry.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortEntry.setDescription('An entry containing management information applicable to a particular module.')
sys_hw_port_slot_number = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwPortSlotNumber.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortSlotNumber.setDescription('The physical slot number of the module in the Chassis.')
sys_hw_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwPortNumber.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortNumber.setDescription('The port number of the physical port in the Card/Module.')
sys_hw_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 3), ssr_port_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwPortType.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortType.setDescription('The physical port type.')
sys_hw_port_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 4), ssr_port_connector_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwPortConnectorType.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortConnectorType.setDescription('The physical port connector type.')
sys_hw_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 3, 1, 5), ssr_interface_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwPortIfIndex.setStatus('current')
if mibBuilder.loadTexts:
sysHwPortIfIndex.setDescription('The value of ifIndex used to access this port in the Interface MIB.')
class Powersupplybits(TextualConvention, Integer32):
description = "The encoding of the bits are as follows : Each power supply in the system is represented by two bits. The lower bit reflecting the presence of the power supply and the higher bit representing it's state. A 1 reflects a properly working power supply a 0 one which is down. This encoding allows for a maximum of 16 power supplies. For example : The integer value 0x00000007 translates into 0 0 0 0 0 1 1 1 in bits | | | | | | | +- power supply 1 is present | | +--- power supply 1 is working normally | +----- power supply 2 is present +------- power supply 2 is down"
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 255)
sys_hw_power_supply = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 4), power_supply_bits()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwPowerSupply.setStatus('current')
if mibBuilder.loadTexts:
sysHwPowerSupply.setDescription('The number and status of power supplies powering the Shelf/Chassis.')
sys_hw_fan = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('working', 1), ('notWorking', 2), ('unknown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwFan.setStatus('current')
if mibBuilder.loadTexts:
sysHwFan.setDescription('The current state of the fans located inside the Shelf/Chassis.')
sys_hw_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('normal', 1), ('outOfRange', 2), ('unknown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTemperature.setStatus('current')
if mibBuilder.loadTexts:
sysHwTemperature.setDescription('The current temperature status of the Shelf/Chassis.')
sys_hw_chassis_id = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwChassisId.setStatus('current')
if mibBuilder.loadTexts:
sysHwChassisId.setDescription('Operator defined serial number for this particular chassis/shelf.')
sys_hw_switching_fabric = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 19), ssr_switching_fabric_info()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwSwitchingFabric.setStatus('current')
if mibBuilder.loadTexts:
sysHwSwitchingFabric.setDescription('Status of Switching Fabric in shelf/chassis.')
sys_hw_control_module_led = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 20), ssr_cm_led_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwControlModuleLED.setStatus('current')
if mibBuilder.loadTexts:
sysHwControlModuleLED.setDescription("Status of the shelf/chassis Active Control Module's four LED displays.")
sys_hw_control_module_backup_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 21), ssr_backup_cm_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwControlModuleBackupState.setStatus('current')
if mibBuilder.loadTexts:
sysHwControlModuleBackupState.setDescription('Status of the the backup Control Module as interpreted from the active control module. CLI: system show hardware will present the following data: Redundant CPU slot : Not present')
sys_hw_last_hot_swap_event = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 22), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwLastHotSwapEvent.setStatus('current')
if mibBuilder.loadTexts:
sysHwLastHotSwapEvent.setDescription('The value of sysUpTime when the last hotswap of a physical module event occured.')
sys_hw_total_in_octets = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 10), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTotalInOctets.setStatus('deprecated')
if mibBuilder.loadTexts:
sysHwTotalInOctets.setDescription('The total number of octets into the switch.')
sys_hw_total_out_octets = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 11), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTotalOutOctets.setStatus('deprecated')
if mibBuilder.loadTexts:
sysHwTotalOutOctets.setDescription('The total number of octets out of the switch.')
sys_hw_total_in_frames = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 12), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTotalInFrames.setStatus('deprecated')
if mibBuilder.loadTexts:
sysHwTotalInFrames.setDescription('The total number of frames into the switch.')
sys_hw_total_out_frames = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 13), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTotalOutFrames.setStatus('deprecated')
if mibBuilder.loadTexts:
sysHwTotalOutFrames.setDescription('The total number of frames out of the switch.')
sys_hw_total_l2_switched_frames = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 14), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTotalL2SwitchedFrames.setStatus('deprecated')
if mibBuilder.loadTexts:
sysHwTotalL2SwitchedFrames.setDescription('The current number of frames switched at Layer 2 (transport).')
sys_hw_total_l3_switched_frames = mib_scalar((1, 3, 6, 1, 4, 1, 52, 2501, 1, 1, 15), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysHwTotalL3SwitchedFrames.setStatus('deprecated')
if mibBuilder.loadTexts:
sysHwTotalL3SwitchedFrames.setDescription('The current number of frames switched at IETF Layers 3 (transport) and 4 (application).')
hw_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2))
hw_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 1))
hw_groups = mib_identifier((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2))
hw_compliance_v10 = module_compliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 1, 1)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'hwConfGroupV10'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_compliance_v10 = hwComplianceV10.setStatus('deprecated')
if mibBuilder.loadTexts:
hwComplianceV10.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hw_compliance_v11 = module_compliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2, 2)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'hwConfGroupV11'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_compliance_v11 = hwComplianceV11.setStatus('deprecated')
if mibBuilder.loadTexts:
hwComplianceV11.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hw_compliance_v12 = module_compliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2, 3)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'hwConfGroupV11'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_compliance_v12 = hwComplianceV12.setStatus('deprecated')
if mibBuilder.loadTexts:
hwComplianceV12.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hw_compliance_v30 = module_compliance((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2, 4)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'hwConfGroupV30'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_compliance_v30 = hwComplianceV30.setStatus('current')
if mibBuilder.loadTexts:
hwComplianceV30.setDescription('The compliance statement for the SSR-HARDWARE-MIB.')
hw_conf_group_v10 = object_group((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 1)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'sysHwNumSlots'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleDesc'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleNumPorts'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleVersion'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortConnectorType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortIfIndex'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPowerSupply'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwFan'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTemperature'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwChassisId'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTotalInOctets'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTotalOutOctets'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTotalInFrames'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTotalOutFrames'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTotalL2SwitchedFrames'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTotalL3SwitchedFrames'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_conf_group_v10 = hwConfGroupV10.setStatus('deprecated')
if mibBuilder.loadTexts:
hwConfGroupV10.setDescription('A set of managed objects that make up version 1.0 of the SSR Hardware mib.')
hw_conf_group_v11 = object_group((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 2)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'sysHwNumSlots'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleDesc'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleNumPorts'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleVersion'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleMemory'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleService'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortConnectorType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortIfIndex'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPowerSupply'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwFan'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTemperature'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwChassisId'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwSwitchingFabric'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwControlModuleLED'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_conf_group_v11 = hwConfGroupV11.setStatus('deprecated')
if mibBuilder.loadTexts:
hwConfGroupV11.setDescription('A set of managed objects that make up version 1.1 of the SSR Hardware mib.')
hw_conf_group_v12 = object_group((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 3)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'sysHwNumSlots'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleDesc'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleNumPorts'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleVersion'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleMemory'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleService'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleStatus'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortConnectorType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortIfIndex'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPowerSupply'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwFan'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTemperature'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwChassisId'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwSwitchingFabric'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwControlModuleLED'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_conf_group_v12 = hwConfGroupV12.setStatus('deprecated')
if mibBuilder.loadTexts:
hwConfGroupV12.setDescription('A set of managed objects that make up version 1.2 of the SSR Hardware mib.')
hw_conf_group_v30 = object_group((1, 3, 6, 1, 4, 1, 52, 2501, 1, 200, 2, 2, 4)).setObjects(('CTRON-SSR-HARDWARE-MIB', 'sysHwNumSlots'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleDesc'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleNumPorts'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleVersion'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleMemory'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleService'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwModuleStatus'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortSlotNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortNumber'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortConnectorType'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPortIfIndex'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwPowerSupply'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwFan'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwTemperature'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwChassisId'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwSwitchingFabric'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwControlModuleLED'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwControlModuleBackupState'), ('CTRON-SSR-HARDWARE-MIB', 'sysHwLastHotSwapEvent'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_conf_group_v30 = hwConfGroupV30.setStatus('current')
if mibBuilder.loadTexts:
hwConfGroupV30.setDescription('A set of managed objects that make up version 3.0 of the SSR Hardware mib.')
mibBuilder.exportSymbols('CTRON-SSR-HARDWARE-MIB', sysHwPortSlotNumber=sysHwPortSlotNumber, sysHwPortEntry=sysHwPortEntry, SSRModuleStatus=SSRModuleStatus, hwGroups=hwGroups, PYSNMP_MODULE_ID=hardwareMIB, sysHwTotalOutFrames=sysHwTotalOutFrames, sysHwModuleType=sysHwModuleType, sysHwModuleMemory=sysHwModuleMemory, sysHwModuleTable=sysHwModuleTable, sysHwTotalInOctets=sysHwTotalInOctets, sysHwModuleSlotNumber=sysHwModuleSlotNumber, sysHwModuleStatus=sysHwModuleStatus, PowerSupplyBits=PowerSupplyBits, hardwareMIB=hardwareMIB, hwComplianceV12=hwComplianceV12, hwConfGroupV12=hwConfGroupV12, sysHwChassisId=sysHwChassisId, sysHwTotalOutOctets=sysHwTotalOutOctets, sysHwPortConnectorType=sysHwPortConnectorType, sysHwGroup=sysHwGroup, SSRInterfaceIndex=SSRInterfaceIndex, hwConfGroupV11=hwConfGroupV11, sysHwPortType=sysHwPortType, SSRCmLedState=SSRCmLedState, hwComplianceV11=hwComplianceV11, sysHwPowerSupply=sysHwPowerSupply, sysHwPortNumber=sysHwPortNumber, sysHwTotalL3SwitchedFrames=sysHwTotalL3SwitchedFrames, SSRSwitchingFabricInfo=SSRSwitchingFabricInfo, sysHwModuleVersion=sysHwModuleVersion, sysHwModuleService=sysHwModuleService, sysHwPortTable=sysHwPortTable, sysHwTotalL2SwitchedFrames=sysHwTotalL2SwitchedFrames, hwComplianceV10=hwComplianceV10, sysHwTemperature=sysHwTemperature, sysHwControlModuleLED=sysHwControlModuleLED, sysHwNumSlots=sysHwNumSlots, sysHwTotalInFrames=sysHwTotalInFrames, sysHwModuleEntry=sysHwModuleEntry, hwConformance=hwConformance, sysHwControlModuleBackupState=sysHwControlModuleBackupState, sysHwSwitchingFabric=sysHwSwitchingFabric, sysHwModuleDesc=sysHwModuleDesc, hwConfGroupV10=hwConfGroupV10, SSRBackupCMState=SSRBackupCMState, hwComplianceV30=hwComplianceV30, SSRModuleType=SSRModuleType, SSRPortType=SSRPortType, hwConfGroupV30=hwConfGroupV30, SSRmemorySize=SSRmemorySize, SSRPortConnectorType=SSRPortConnectorType, SSRserviceType=SSRserviceType, sysHwFan=sysHwFan, hwCompliances=hwCompliances, sysHwModuleNumPorts=sysHwModuleNumPorts, sysHwPortIfIndex=sysHwPortIfIndex, sysHwLastHotSwapEvent=sysHwLastHotSwapEvent) |
# Area and perimeter of a rectangle in the plane
# A rectangle is given by the coordinates of two of its opposite angles (x1, y1) - (x2, y2).
# Calculate its area and perimeter . The input is read from the console. The numbers x1, y1, x2 and y2 are given one per line.
# The output is displayed on the console and must contain two rows with one number on each of them - the area and the perimeter.
x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
side_1 = abs(x2 - x1)
side_2 = abs(y2 - y1)
area = side_1 * side_2
perimeter = 2 * (side_1 + side_2)
print(area)
print(perimeter)
| x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
side_1 = abs(x2 - x1)
side_2 = abs(y2 - y1)
area = side_1 * side_2
perimeter = 2 * (side_1 + side_2)
print(area)
print(perimeter) |
#
# PySNMP MIB module CPQSTSYS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CPQSTSYS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:27:26 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
compaq, cpqHoTrapFlags = mibBuilder.importSymbols("CPQHOST-MIB", "compaq", "cpqHoTrapFlags")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
sysName, = mibBuilder.importSymbols("SNMPv2-MIB", "sysName")
MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, IpAddress, Counter32, Counter64, Bits, iso, ModuleIdentity, TimeTicks, Unsigned32, ObjectIdentity, MibIdentifier, NotificationType, Integer32, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "IpAddress", "Counter32", "Counter64", "Bits", "iso", "ModuleIdentity", "TimeTicks", "Unsigned32", "ObjectIdentity", "MibIdentifier", "NotificationType", "Integer32", "NotificationType")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
cpqSsStorageSys = MibIdentifier((1, 3, 6, 1, 4, 1, 232, 8))
cpqSsMibRev = MibIdentifier((1, 3, 6, 1, 4, 1, 232, 8, 1))
cpqSsDrvBox = MibIdentifier((1, 3, 6, 1, 4, 1, 232, 8, 2))
cpqSsTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 232, 8, 3))
cpqSsRaidSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 232, 8, 4))
cpqSsBoxExtended = MibIdentifier((1, 3, 6, 1, 4, 1, 232, 8, 2, 2))
cpqSsMibRevMajor = MibScalar((1, 3, 6, 1, 4, 1, 232, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsMibRevMajor.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsMibRevMajor.setDescription('The Major Revision level. A change in the major revision level represents a major change in the architecture of the MIB. A change in the major revision level may indicate a significant change in the information supported and/or the meaning of the supported information, correct interpretation of data may require a MIB document with the same major revision level.')
cpqSsMibRevMinor = MibScalar((1, 3, 6, 1, 4, 1, 232, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsMibRevMinor.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsMibRevMinor.setDescription('The Minor Revision level. A change in the minor revision level may represent some minor additional support; no changes to any pre-existing information has occurred.')
cpqSsMibCondition = MibScalar((1, 3, 6, 1, 4, 1, 232, 8, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsMibCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsMibCondition.setDescription('The overall condition (status) of the system represented by this MIB.')
cpqSsDrvBoxTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 1), )
if mibBuilder.loadTexts: cpqSsDrvBoxTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxTable.setDescription('Drive Box Table.')
cpqSsDrvBoxEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), (0, "CPQSTSYS-MIB", "cpqSsBoxBusIndex"))
if mibBuilder.loadTexts: cpqSsDrvBoxEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxEntry.setDescription('Drive Box Entry.')
cpqSsBoxCntlrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxCntlrIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxCntlrIndex.setDescription('Drive Box Controller Index. The controller index indicates to which adapter card instance this table entry belongs.')
cpqSsBoxBusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxBusIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxBusIndex.setDescription('Drive Box Bus Index. The bus index indicates to which bus instance on an adapter card this table entry belongs.')
cpqSsBoxType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("proLiant", 2), ("proLiant2", 3), ("proLiant2Internal", 4), ("proLiant2DuplexTop", 5), ("proLiant2DuplexBottom", 6), ("proLiant2InternalDuplexTop", 7), ("proLiant2InternalDuplexBottom", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxType.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsBoxType.setDescription('Drive Box Type. This is the type of drive box. The following types are defined: other(1) The agent does not recognize this drive storage system. proLiant(2) This is a ProLiant Storage System. proLiant2(3) This is a ProLiant-2 Storage System. proLiant2Internal(4) This is an internal ProLiant-2 Storage System that is found in some servers. proLiant2DuplexTop(5) This is the top portion of a ProLiant-2 Storage System that has dual SCSI busses which are duplexed. proLiant2DuplexBottom(6) This is the bottom portion of a ProLiant-2 Storage System that has dual SCSI busses which are duplexed. proLiant2InternalDuplexTop(7) This is the top portion of a ProLiant Server into which the internal SCSI busses are duplexed. proLiant2InternalDuplexBottom(8) This is the bottom portion of a ProLiant Server into which the internal SCSI busses are duplexed.')
cpqSsBoxModel = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxModel.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxModel.setDescription("Drive Box Model. This is a description of the drive box's model. This can be used for identification purposes.")
cpqSsBoxFWRev = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxFWRev.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxFWRev.setDescription('Drive Box Firmware Revision. This is the revision level of the drive box. This can be used for identification purposes.')
cpqSsBoxVendor = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxVendor.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxVendor.setDescription("Drive Box Vendor This is the drive box's vendor name. This can be used for identification purposes.")
cpqSsBoxFanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("failed", 3), ("noFan", 4), ("degraded", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxFanStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxFanStatus.setDescription('Drive Box Fan Status. This is the current status of the fans in the drive box. This value will be one of the following: other(1) Fan monitoring is not supported by this system or it is not supported by the driver. ok(2) All fans are working normally. failed(3) One or more storage system fans have failed. The fan(s) should be replaced immediately to avoid hardware damage. noFan(4) This unit does not support fan monitoring. degraded(5) At least one storage system fan has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced.')
cpqSsBoxCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxCondition.setDescription('SCSI Drive Box Condition. This is the overall condition of the drive box. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system is degraded. You need to check the temperature status or power supply status of this storage system. Additionally, if the side panel for the storage system is removed, the air flow changes could result in improper cooling of the drives and affect the temperature status. failed(4) The storage system has failed.')
cpqSsBoxTempStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4), ("noTemp", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxTempStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxTempStatus.setDescription('The temperature of the drive system. This value will be one of the following: other(1) Temperature monitoring is not supported by this system or it is not supported by the driver. ok(2) The temperature is within normal operating range. degraded(3) The temperature is outside of normal operating range. failed(4) The temperature could permanently damage the system. The storage system will automatically shutdown if this condition is detected. noTemp(5) This unit does not support temperature monitoring.')
cpqSsBoxSidePanelStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("sidePanelInPlace", 2), ("sidePanelRemoved", 3), ("noSidePanelStatus", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxSidePanelStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxSidePanelStatus.setDescription('Drive Box Side Panel Status. This value will be one of the following: other(1) The agent does not recognize the status. You may need to upgrade your software. sidePanelInPlace(2) The side panel is properly installed on the storage system. sidePanelRemoved(3) The side panel is not properly installed on the storage system. noSidePanelStatus(4) This unit does not support side panel status monitoring.')
cpqSsBoxFltTolPwrSupplyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4), ("noFltTolPower", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxFltTolPwrSupplyStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxFltTolPwrSupplyStatus.setDescription('This value specifies the overall status of the fault tolerant power supply sub-system in a drive box. This value will be one of the following: other(1) The power supply status cannot be determined. ok(2) There are no detected power supply failures. degraded(3) One of the power supply units in a fault tolerant power supply has failed. failed(4) No failure conditions can currently be determined. noFltTolPower(5) This unit does not support fault tolerant power supply monitoring.')
cpqSsBoxBackPlaneVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("proLiant", 2), ("proLiant2", 3), ("proLiant3", 4), ("proLiant4", 5), ("proLiant5", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxBackPlaneVersion.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxBackPlaneVersion.setDescription('Drive Box Back Plane Version. This is the version of the drive box back plane. The following types are defined: other(1) The agent does not recognize this drive storage system back plane. proLiant(2) This is a ProLiant Storage System. proLiant2(3) This is a ProLiant-2 Storage System. proLiant3(4) This is a ProLiant-3 Storage System. proLiant4(5) This is a 4th generation Proliant Storage System. proLiant5(6) This is a 5th generation ProLiant Storage System.')
cpqSsBoxTotalBays = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxTotalBays.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxTotalBays.setDescription('Drive Box Total Bays. This is the total number of bays in this storage system.')
cpqSsBoxPlacement = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("internal", 2), ("external", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxPlacement.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxPlacement.setDescription('Drive Box Placement. The following values are defined: other(1) The agent is unable to determine if this storage system is located internal or external to the system chassis. internal(2) The storage system is located in the system chassis. external(3) The storage system is located outside the system chassis in an expansion box.')
cpqSsBoxDuplexOption = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("notDuplexed", 2), ("duplexTop", 3), ("duplexBottom", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxDuplexOption.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxDuplexOption.setDescription('Drive Box Duplex Option. The following values are defined: other(1) The agent is unable to determine if this storage system is duplexed. notDuplexed(2) This storage system is not duplexed. duplexTop(3) This is the top portion of a duplexed storage system. duplexBottom(4) This is the bottom portion of a duplexed storage system.')
cpqSsBoxBoardRevision = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxBoardRevision.setDescription('Drive Box Board Revision. This is the board revision of this storage system backplane.')
cpqSsBoxSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxSerialNumber.setDescription("Drive Box Serial Number. This is the drive box's serial number which is normally display on the front panel. This can be used for identification purposes.")
cpqSsBoxCntlrHwLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxCntlrHwLocation.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxCntlrHwLocation.setDescription('A text description of the hardware location of the controller to which this box is attached. A NULL string indicates that the hardware location could not be determined or is irrelevant.')
cpqSsBoxBackplaneSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("ultra3", 2), ("ultra320", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxBackplaneSpeed.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxBackplaneSpeed.setDescription('Drive Box Backplane Speed. The following values are defined: other(1) The agent is unable to determine the backplane speed for this storage system. ultra3(2) This storage system is capable of Ultra3 speeds. ultra320(3) This storage system is capable of Ultra320 speeds.')
cpqSsBoxConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("scsiAttached", 2), ("sasAttached", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxConnectionType.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxConnectionType.setDescription('Drive Box Connection Type. The following values are defined: other(1) The agent is unable to determine the type of connection to this storage system. scsiAttached(2) This storage system is attached to the host via SCSI. sasAttached(3) This storage system is attached to the host via SAS.')
cpqSsBoxHostConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxHostConnector.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxHostConnector.setDescription('Drive Box Host Connector. This is the host connector to which the drive box is attached. If the host connector cannot be determined, the agent will return a NULL string.')
cpqSsBoxBoxOnConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxBoxOnConnector.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxBoxOnConnector.setDescription('Drive Box, Box on Connector. The box on connector indicates which box instance this table entry belongs. The instances start at one and increment for each box attached to a connector. If the value cannot be determined or does not apply, -1 is returned.')
cpqSsBoxLocationString = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBoxLocationString.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBoxLocationString.setDescription('Drive Box Location String. This string describes the location of the drive box in relation to the controller to which it is attached. If the location string cannot be determined, the agent will return a NULL string.')
cpqSsChassisTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1), )
if mibBuilder.loadTexts: cpqSsChassisTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisTable.setDescription('Storage System Chassis Table.')
cpqSsChassisEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsChassisIndex"))
if mibBuilder.loadTexts: cpqSsChassisEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisEntry.setDescription('Storage System Chassis Entry.')
cpqSsChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisIndex.setDescription('Storage System Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpqSsChassisConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("fibreAttached", 2), ("scsiAttached", 3), ("iScsiAttached", 4), ("sasAttached", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisConnectionType.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisConnectionType.setDescription('Storage System Chassis Connection Type. The following values are defined: other(1) The agent is unable to determine the type of connection to this chassis. fibreAttached(2) This chassis is attached to the server via Fibre Channel. scsiAttached(3) This chassis is attached to the server via SCSI. iScsiAttached(4) This chassis is attached to the server via iSCSI. sasAttached(5) This chassis is attached to the server via SAS.')
cpqSsChassisSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisSerialNumber.setDescription("Storage System Chassis Serial Number. This is the storage system chassis's serial number which is normally displayed on the front panel. This can be used for identification purposes.")
cpqSsChassisName = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisName.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisName.setDescription('Storage System Chassis Name. This is a user defined name for this storage system chassis.')
cpqSsChassisSystemBoardSerNum = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisSystemBoardSerNum.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisSystemBoardSerNum.setDescription("Storage System Chassis System Controller Board Serial Number. This is the system controller board's serial number. This can be used for identification purposes.")
cpqSsChassisSystemBoardRev = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisSystemBoardRev.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisSystemBoardRev.setDescription('Storage System Chassis System Controller Board Revision. This is the system controller board revision.')
cpqSsChassisPowerBoardSerNum = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisPowerBoardSerNum.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisPowerBoardSerNum.setDescription("Storage System Chassis Power Backplane Board Serial Number. This is the power backplane board's serial number. This can be used for identification purposes.")
cpqSsChassisPowerBoardRev = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisPowerBoardRev.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisPowerBoardRev.setDescription('Storage System Chassis Power Backplane Board Revision. This is the power backplane board revision.')
cpqSsChassisScsiBoardSerNum = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisScsiBoardSerNum.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisScsiBoardSerNum.setDescription("Storage System Chassis SCSI Drive Backplane Board Serial Number. This is the SCSI drive backplane board's serial number. This can be used for identification purposes.")
cpqSsChassisScsiBoardRev = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisScsiBoardRev.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisScsiBoardRev.setDescription('Storage System Chassis SCSI Drive Backplane Board Revision. This is the SCSI drive backplane board revision.')
cpqSsChassisOverallCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisOverallCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisOverallCondition.setDescription('Storage System Chassis Overall Condition. This is the condition of the storage system chassis and all of its components. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system chassis is degraded. failed(4) The storage system chassis is failed.')
cpqSsChassisPowerSupplyCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisPowerSupplyCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisPowerSupplyCondition.setDescription('Storage System Power Supply Condition. This is the aggregate condition of all power supplies in the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All power supplies are operating normally. degraded(3) At least one power supply is degraded or failed. failed(4) All power supplies are failed.')
cpqSsChassisFanCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisFanCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisFanCondition.setDescription('Storage System Fan Condition. This is the aggregate condition of all fan modules in the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All fan modules are operating normally. degraded(3) At least one fan module is degraded. failed(4) At least one fan module is failed.')
cpqSsChassisTemperatureCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisTemperatureCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisTemperatureCondition.setDescription('Storage System Temperature Condition. This is the aggregate condition of all the temperatur sensors in the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All temperature sensors are reading within normal limits. degraded(3) At least one temperature sensor is reading degraded. failed(4) At least one temperature sensor is reading failed.')
cpqSsChassisFcaCntlrCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisFcaCntlrCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisFcaCntlrCondition.setDescription('Storage System Fibre Channel Array Controller Condition. This is the aggregate condition of all Fibre Channel Array controllers in the storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All Fibre Channel Array Controllers are operating normally. degraded(3) At least one Fibre Channel Array Controller is degraded or failed. failed(4) All Fibre Channel Array Controllers are failed.')
cpqSsChassisFcaLogicalDriveCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisFcaLogicalDriveCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisFcaLogicalDriveCondition.setDescription('Storage System Fibre Channel Array Logical Drive Condition. This is the aggregate condition of all Fibre Channel Array Logical Drives in this storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All Fibre Channel Array Controllers Logical Drives are operating normally. degraded(3) At least one Fibre Channel Array Controller Logical Drive is degraded. failed(4) At least one Fibre Channel Array Controller Logical Drive is failed.')
cpqSsChassisFcaPhysDrvCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisFcaPhysDrvCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisFcaPhysDrvCondition.setDescription('Storage System Fibre Channel Array Physical Drive Condition. This is the aggregate condition of all Fibre Channel Array Physical Drives in this storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All Fibre Channel Array Controllers Physical Drives are operating normally. degraded(3) At least one Fibre Channel Array Controller Physical Drive is degraded. failed(4) At least one Fibre Channel Array Controller Physical Drive is failed.')
cpqSsChassisTime = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisTime.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisTime.setDescription("Storage System Chassis Time. This is the storage system chassis's time in tenths of seconds. If the chassis time is not supported, the agent will return 0.")
cpqSsChassisModel = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("other", 1), ("ra4x00", 2), ("msa1000", 3), ("smartArrayClusterStorage", 4), ("enterpriseModularArray", 5), ("enterpriseVirtualArray", 6), ("msa500G2", 7), ("msa20", 8), ("msa1500cs", 9), ("msa1510i", 10)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisModel.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisModel.setDescription('Storage System Chassis Model. The following values are defined: other(1) The agent is unable to determine the model of this chassis. ra4x00(2) Compaq StorageWorks RAID Array 4000/4100. msa1000(3) Compaq StorageWorks Modular Smart Array 1000. smartArrayClusterStorage(4) HP StorageWorks Modular Smart Array 500 (Formerly Smart Array Cluster Storage). enterpriseModularArray(5) Compaq StorageWorks Enterprise/Modular RAID Array. enterpriseVirtualArray(6) Compaq StorageWorks Enterprise Virtual Array. msa500G2(7) HP StorageWorks Modular Smart Array 500 G2. msa20(8) HP StorageWorks Modular Smart Array 20. msa1500cs(9) HP StorageWorks Modular Smart Array 1500 CS. msa1510i(10) HP StorageWorks Modular Smart Array 1510i. Reserved(11) Reserved(12)')
cpqSsChassisBackplaneCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisBackplaneCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisBackplaneCondition.setDescription('Storage System Backplane Condition. This is the aggregate condition of all the backplanes for the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All backplanes are operating normally. degraded(3) At least one storage system is degraded. failed(4) At least one storage system is failed.')
cpqSsChassisFcaTapeDrvCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisFcaTapeDrvCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisFcaTapeDrvCondition.setDescription('Storage System Array Tape Drive Condition. This is the aggregate condition of all tape drives in this storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All tape drives are operating normally. degraded(3) At least one tape drive is degraded. failed(4) At least one tape drive is failed.')
cpqSsChassisRsoStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("other", 1), ("notSupported", 2), ("notConfigured", 3), ("disabled", 4), ("daemonDownDisabled", 5), ("ok", 6), ("daemonDownActive", 7), ("noSecondary", 8), ("daemonDownNoSecondary", 9), ("linkDown", 10), ("daemonDownLinkDown", 11), ("secondaryRunningAuto", 12), ("secondaryRunningUser", 13), ("evTimeoutError", 14)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisRsoStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisRsoStatus.setDescription('Storage System Chassis Recovery Server Option Status. The following values are defined: other(1) The recovery server option status cannot be determined for this storage system. notSupported(2) The recovery server option is not supported for this storage system. notConfigured(3) The recovery server option is supported, but is not configured on this storage system. disabled(4) The recovery server option is configured as primary, but has been disabled by software. daemonDownDisabled(5) The recovery server option operating system daemon is no longer running. The last status of RSO was disabled(4). ok(6) The recovery server option is configured as primary and everything is working correctly. daemonDownActive(7) The recovery server option operating system daemon is no longer running. The last status of RSO was ok(6). noSecondary(8) The recovery server option is configured as primary, but communication with the standby server has not been established. daemonDownNoSecondary(9) The recovery server option operating system daemon is no longer running. The last status of RSO was noSecondary(8). linkDown(10) The recovery server option is configured as primary, but communication with the standby server has failed. daemonDownLinkDown(11) The recovery server option operating system daemon is no longer running. The last status of RSO was linkDown(10). secondaryRunningAuto(12) The recovery server option is configured and the standby server is running. The secondary server assumed control after communication with the primary server failed. secondaryRunningUser(13) The recovery server option is configured and the standby server is running. A user forced the secondary server to assume control. evTimeoutError(14) The recovery server option environment variable cannot be accessed.')
cpqSsChassisRsoCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisRsoCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisRsoCondition.setDescription('Storage System Chassis Recovery Server Option Condition. This is the condition of the recovery server option. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The recovery server option is operating normally. No user action is required. degraded(3) The recovery server option is degraded. failed(4) The recovery server option is failed.')
cpqSsChassisScsiIoModuleType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("io2port", 2), ("io4portUpgradeFirmware", 3), ("io4port", 4), ("io2port320", 5), ("io4port320", 6), ("io1port320", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisScsiIoModuleType.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisScsiIoModuleType.setDescription('Storage System Chassis SCSI I/O Module Type. The following values are defined: other(1) The agent does not recognize SCSI I/O module type. You may need to upgrade your software. io2port(2) A 2-Port Ultra3 SCSI I/O Module is installed. io4portUpgradeFirmware(3) A 4-Port Shared Storage Module for Smart Array Cluster Storage is installed, but the current controller firmware does not support it. Upgrade your controller firmware. io4port(4) A 4-Port Shared Storage Module for Smart Array Cluster Storage is installed. io2port320(5) A 2-Port Ultra320 SCSI I/O Module is installed. io4port320(6) A 4-Port Ultra320 SCSI I/O Module is installed. io1port320(7) A 1-Port Ultra320 SCSI I/O Module is installed.')
cpqSsChassisPreferredPathMode = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("notActiveActive", 2), ("automatic", 3), ("manual", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisPreferredPathMode.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisPreferredPathMode.setDescription('Array Controller Preferred Path Mode. This is the storage system active/active preferred path mode. The following values are valid: other (1) Indicates that the agent does not recognize the preferred path mode of the storage system. You may need to upgrade the agent. notActiveActive (2) The storage system is not configured as active/active. automatic (3) The storage system automatically selects the preferred path for each logical drive based on host I/O patterns. manual (4) The preferred path for each logical drive is manually configured by the storage system administrator.')
cpqSsChassisProductId = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 26), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsChassisProductId.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsChassisProductId.setDescription("Storage System Chassis Product Identifier. This is the storage system chassis's product identifier. This can be used for identification purposes. If the product identifier can not be determined, the agent will return a NULL string.")
cpqSsIoSlotTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2), )
if mibBuilder.loadTexts: cpqSsIoSlotTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsIoSlotTable.setDescription('Storage System I/O Slot Table.')
cpqSsIoSlotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsIoSlotChassisIndex"), (0, "CPQSTSYS-MIB", "cpqSsIoSlotIndex"))
if mibBuilder.loadTexts: cpqSsIoSlotEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsIoSlotEntry.setDescription('Storage System I/O Slot Entry.')
cpqSsIoSlotChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsIoSlotChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsIoSlotChassisIndex.setDescription('Storage System I/O Slot Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpqSsIoSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsIoSlotIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsIoSlotIndex.setDescription('Storage System I/O Slot Index. This index uniquely identifies a storage system I/O Slot.')
cpqSsIoSlotControllerType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("notInstalled", 2), ("unknownBoard", 3), ("fibreArray", 4), ("scsiArray", 5), ("noSlot", 6), ("iScsiArray", 7), ("sasArray", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsIoSlotControllerType.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsIoSlotControllerType.setDescription('Storage System I/O Slot Controller Type. The following values are defined: other(1) The agent is unable to determine if anything is installed in this storage system I/O slot. notInstalled(2) Nothing is installed in this storage system I/O slot. unknownBoardInstalled(3) An unknown controller is installed in this storage system I/O slot. fibreArray(4) A Fibre Channel Array controller is installed in this storage system I/O slot. scsiArray(5) A SCSI Array controller is installed in this storage system I/O slot. noSlot(6) The slot does not exist on this chassis. iScsiArray(7) An iSCSI Array controller is installed in this storage system I/O slot. sasArray(8) A SAS Array controller is installed in this storage system I/O slot.')
cpqSsPowerSupplyTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3), )
if mibBuilder.loadTexts: cpqSsPowerSupplyTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyTable.setDescription('Storage System Power Supply Table.')
cpqSsPowerSupplyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsPowerSupplyChassisIndex"), (0, "CPQSTSYS-MIB", "cpqSsPowerSupplyIndex"))
if mibBuilder.loadTexts: cpqSsPowerSupplyEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyEntry.setDescription('Storage System Power Supply Entry.')
cpqSsPowerSupplyChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyChassisIndex.setDescription('Storage System Power Supply Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpqSsPowerSupplyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyIndex.setDescription('Storage System Power Supply Bay. This index uniquely identifies a power supply bay.')
cpqSsPowerSupplyBay = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("powerBay1", 2), ("powerBay2", 3), ("composite", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyBay.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyBay.setDescription('Storage System Power Supply Bay. The following values are defined: other(1) The agent does not recognize the bay. You may need to upgrade your software. powerBay1(2) The power supply is installed in the first power supply bay. powerBay2(3) The power supply is installed in the second power supply bay. composite(4) The power supply information is a composite of all power supplies in the storage system.')
cpqSsPowerSupplyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("notInstalled", 2), ("ok", 3), ("failed", 4), ("degraded", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyStatus.setDescription('Storage System Power Supply Status. The following values are defined: other(1) The agent is unable to determine if this storage system power supply bay is occupied. notInstalled(2) Nothing is installed in this power supply bay. ok(3) A power supply is installed and operating normally. failed(4) A power supply is installed and is no longer operating. Replace the power supply. degraded(5) For composite power supplies, this indicates that at least one power supply has failed or lost power.')
cpqSsPowerSupplyUpsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("noUps", 2), ("ok", 3), ("powerFailed", 4), ("batteryLow", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyUpsStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyUpsStatus.setDescription('Storage System Power Supply Uninterruptible Power Supply (UPS) Status. The following values are defined: other(1) The agent is unable to determine if this power supply is attached to an Uninterruptible Power Supply (UPS). noUps(2) No UPS is attached to the power supply. ok(3) A UPS is attached to the power supply and is operating normally. powerFailed(4) A UPS is attached to the power supply and the AC power has failed. batteryLow(5) A UPS is attached to the power supply, the AC power has failed and the UPS battery is low.')
cpqSsPowerSupplyCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyCondition.setDescription('Storage System Power Supply Condition. This is the condition of the storage system chassis and all of its components. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The power supply is operating normally. No user action is required. degraded(3) The power supply is degraded. You need to check the power supply or its attached UPS for problems. failed(4) The power supply has failed.')
cpqSsPowerSupplySerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplySerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplySerialNumber.setDescription("Storage System Power Supply Serial Number. This is the power supply's serial number. This can be used for identification purposes. If the serial number is not supported, the agent will return a NULL string.")
cpqSsPowerSupplyBoardRevision = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyBoardRevision.setDescription('Storage System Power Supply Board Revision. This is the power supply board revision. If the board revision is not supported, the agent will return a NULL string.')
cpqSsPowerSupplyFirmwareRevision = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsPowerSupplyFirmwareRevision.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsPowerSupplyFirmwareRevision.setDescription('Storage System Power Supply Firmware Revision. This is the power supply firmware revision. If the firmware revision is not supported, the agent will return a NULL string.')
cpqSsFanModuleTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4), )
if mibBuilder.loadTexts: cpqSsFanModuleTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleTable.setDescription('Storage System Fan Module Table.')
cpqSsFanModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsFanModuleChassisIndex"), (0, "CPQSTSYS-MIB", "cpqSsFanModuleIndex"))
if mibBuilder.loadTexts: cpqSsFanModuleEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleEntry.setDescription('Storage System Fan Module Entry.')
cpqSsFanModuleChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleChassisIndex.setDescription('Storage System Fan Module Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpqSsFanModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleIndex.setDescription('Storage System Fan Module Index. This index uniquely identifies a storage system fan module.')
cpqSsFanModuleStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("notInstalled", 2), ("ok", 3), ("degraded", 4), ("failed", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleStatus.setDescription('Storage System Fan Module Status. The following values are defined: other(1) The agent is unable to determine if this storage system fan module is installed. notInstalled(3) The fan module is not installed. ok(2) The fan module is installed and operating normally. degraded(4) The fan module degraded. failed(5) The fan module is failed. Replace the fan module.')
cpqSsFanModuleCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleCondition.setDescription('Storage System Fan Module Condition. This is the condition of the storage system fan module. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The fan module is operating normally. No user action is required. degraded(3) The fan module is degraded. You need to check the fan module for problems. failed(4) The fan module has failed. Replace the fan module.')
cpqSsFanModuleLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("fanBay", 2), ("composite", 3), ("fanBay2", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleLocation.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleLocation.setDescription('Storage System Fan Module Location. The following values are defined: other(1) The agent is unable to determine the location of this storage system fan module. fanBay(2) This fan module is installed in the first fan bay. composite(3) The fan information is a composite of all fans in the storage system. fanBay2(4) This fan module is installed in the second fan bay.')
cpqSsFanModuleSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleSerialNumber.setDescription("Storage System Fan Module Serial Number. This is the fan module's serial number. This can be used for identification purposes.")
cpqSsFanModuleBoardRevision = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFanModuleBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFanModuleBoardRevision.setDescription('Storage System Fan Module Board Revision. This is the fan module board revision.')
cpqSsTempSensorTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5), )
if mibBuilder.loadTexts: cpqSsTempSensorTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorTable.setDescription('Storage System Temperature Sensor Table.')
cpqSsTempSensorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsTempSensorChassisIndex"), (0, "CPQSTSYS-MIB", "cpqSsTempSensorIndex"))
if mibBuilder.loadTexts: cpqSsTempSensorEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorEntry.setDescription('Storage System Temperature Sensor Entry.')
cpqSsTempSensorChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorChassisIndex.setDescription('Storage System Temperature Sensor Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpqSsTempSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorIndex.setDescription('Storage System Temperature Sensor Index. This index uniquely identifies a temperature sensor.')
cpqSsTempSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorStatus.setDescription('Storage System Temperature Sensor Status. The following values are defined: other(1) The agent is unable to determine if the storage system temperature sensor status. ok(2) The temperature is OK. degraded(3) The temperature is degraded. failed(4) The temperature is failed.')
cpqSsTempSensorCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorCondition.setDescription('Storage System Fan Module Condition. This is the condition of the storage system temperature sensor. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The temperature is within normal operating range. No user action is required. degraded(3) The temperature is outside of normal operating range. failed(4) The temperature could permanently damage the system. The storage system will automatically shutdown if this condition is detected.')
cpqSsTempSensorLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("fanBay", 2), ("backplane", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorLocation.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorLocation.setDescription('Storage System Fan Module Location. The following values are defined: other(1) The agent is unable to determine the location of this storage system temperature sensor. fanBay(2) This temperature sensor is located on the fan module in the fan bay. backplane(3) This temperature is located on the SCSI drive backplane.')
cpqSsTempSensorCurrentValue = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorCurrentValue.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorCurrentValue.setDescription('Storage System Temperature Sensor Current Value. The current value of the temperature sensor in degrees Celsius.')
cpqSsTempSensorLimitValue = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorLimitValue.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorLimitValue.setDescription('Storage System Temperature Sensor Limit Value. The limit value of the temperature sensor in degrees Celsius.')
cpqSsTempSensorHysteresisValue = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTempSensorHysteresisValue.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsTempSensorHysteresisValue.setDescription('Storage System Temperature Sensor Hysteresis Value. The hysteresis value of the temperature sensor in degrees Celsius.')
cpqSsBackplaneTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6), )
if mibBuilder.loadTexts: cpqSsBackplaneTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneTable.setDescription('Storage System SCSI Backplane Table.')
cpqSsBackplaneEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsBackplaneChassisIndex"), (0, "CPQSTSYS-MIB", "cpqSsBackplaneIndex"))
if mibBuilder.loadTexts: cpqSsBackplaneEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneEntry.setDescription('Storage System SCSI Backplane Entry.')
cpqSsBackplaneChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneChassisIndex.setDescription('Storage System Backplane Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpqSsBackplaneIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneIndex.setDescription('Storage System Backplane Index. This index uniquely identifies a storage system backplane.')
cpqSsBackplaneFWRev = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneFWRev.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneFWRev.setDescription('Storage System Backplane Firmware Revision. This is the revision level of storage system backplane.')
cpqSsBackplaneDriveBays = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneDriveBays.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneDriveBays.setDescription('Storage System Backplane Drive Bays. This is the number of bays on this storage system backplane.')
cpqSsBackplaneDuplexOption = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("notDuplexed", 2), ("duplexTop", 3), ("duplexBottom", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneDuplexOption.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneDuplexOption.setDescription('Storage System Backplane Duplex Option. The following values are defined: other (1) The agent is unable to determine if this storage system is duplexed. notDuplexed(2) This storage system is not duplexed. duplexTop(3) This is the top portion of a duplexed storage system. duplexBottom(4) This is the bottom portion of a duplexed storage system.')
cpqSsBackplaneCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneCondition.setDescription('Storage System Backplane Condition. This is the overall condition of the backplane. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system is degraded. You need to check the temperature status or power supply status of this storage system. failed(4) The storage system has failed.')
cpqSsBackplaneVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneVersion.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneVersion.setDescription('Storage System Backplane Version. This is the version of the drive box back plane.')
cpqSsBackplaneVendor = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneVendor.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneVendor.setDescription("Storage System Backplane Vendor This is the storage box's vendor name. This can be used for identification purposes.")
cpqSsBackplaneModel = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneModel.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneModel.setDescription("Storage System Backplane Model. This is a description of the storage system's model. This can be used for identification purposes.")
cpqSsBackplaneFanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("notInstalled", 2), ("ok", 3), ("degraded", 4), ("failed", 5), ("notSupported", 6), ("degraded-Fan1Failed", 7), ("degraded-Fan2Failed", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneFanStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneFanStatus.setDescription('Storage System Backplane Fan Status. This is the current status of the fans in the storage system. This value will be one of the following: other(1) The agent is unable to determine if this storage system has fan monitoring. notInstalled(2) This unit does not support fan monitoring. ok(3) All fans are working normally. degraded(4) At least one storage system fan has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced. failed(5) One or more storage system fans have failed. The fan(s) should be replaced immediately to avoid hardware damage. notSupported(6) The storage system does not support reporting fan status through this backplane. The fan status is reported through the first backplane on this storage system. degraded-Fan1Failed(7) Fan 1 has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced. degraded-Fan2Failed(8) Fan 2 has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced.')
cpqSsBackplaneTempStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("noTemp", 2), ("ok", 3), ("degraded", 4), ("failed", 5), ("notSupported", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneTempStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneTempStatus.setDescription('Storage System Backplane Fan Status. This value will be one of the following: other(1) The agent is unable to determine if this storage system has temperature monitoring. noTemp(2) This unit does not support temperature monitoring. ok(3) The temperature is within normal operating range. degraded(4) The temperature is outside of normal operating range. failed(5) The temperature could permanently damage the system. notSupported(6) The storage system does not support reporting temperature status through this backplane. The temperature status is reported through the first backplane on this storage system.')
cpqSsBackplaneFtpsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("noFltTolPower", 2), ("ok", 3), ("degraded", 4), ("failed", 5), ("notSupported", 6), ("noFltTolPower-Bay1Missing", 7), ("noFltTolPower-Bay2Missing", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneFtpsStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneFtpsStatus.setDescription('Storage System Backplane Fault Tolerant Power Supply Status. This value specifies the overall status of the redundant power supply in a drive box. This value will be one of the following: other(1) The agent is unable to determine if this storage system has redundant power supplies. noFltTolPower(2) This unit does not have a redundant supply. ok(3) There are no detected power supply failures. degraded(4) One of the power supply units has failed. failed(5) All of the power supplies have failed. A status of failed can not currently be determined. notSupported(6) The storage system does not support reporting fault tolerant power supply status through this backplane. The fault tolerant power supply status is reported through the first backplane on this storage system. noFltTolPower-Bay1Missing(7), This unit does not have a redundant supply. The power supply in bay 1 is missing. noFltTolPower-Bay2Missing(8) This unit does not have a redundant supply. The power supply in bay 2 is missing.')
cpqSsBackplaneSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneSerialNumber.setDescription('Storage System Backplane Serial Number. This is the storage system backplane serial number which is normally displayed on the front bezel. This can be used for identification purposes.')
cpqSsBackplanePlacement = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("internal", 2), ("external", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplanePlacement.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplanePlacement.setDescription('Storage System Backplane Placement. The following values are defined: other(1) The agent is unable to determine if this storage system is located internal or external to the system chassis. internal(2) The storage system is located in the system chassis. external(3) The storage system is located outside the system chassis in an expansion box.')
cpqSsBackplaneBoardRevision = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneBoardRevision.setDescription('Storage System Backplane Board Revision. This is the board revision of this storage system backplane.')
cpqSsBackplaneSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ultra3", 2), ("ultra320", 3), ("sata", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneSpeed.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneSpeed.setDescription('Storage System Backplane Speed. The following values are defined: other(1) The agent is unable to determine the backplane speed for this storage system. ultra3(2) This storage system is capable of Ultra3 speeds. ultra320(3) This storage system is capable of Ultra320 speeds. sata(4) This storage system is capable of SATA speeds.')
cpqSsBackplaneConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("scsiAttached", 2), ("sasAttached", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneConnectionType.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneConnectionType.setDescription('Backlane Box Connection Type. The following values are defined: other(1) The agent is unable to determine the type of connection to this backplane. scsiAttached(2) This backplane is attached to the host via SCSI. sasAttached(3) This backplane is attached to the host via SAS.')
cpqSsBackplaneConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneConnector.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneConnector.setDescription('Backplane Connector. This is the connector to which the backplane is attached. If the backplane connector cannot be determined, the agent will return a NULL string.')
cpqSsBackplaneOnConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneOnConnector.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneOnConnector.setDescription('Backplane on Connector. The backplane on connector indicates to which backplane instance this table entry belongs. The instances start at one and increment for each backplane attached to a connector.')
cpqSsBackplaneLocationString = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsBackplaneLocationString.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsBackplaneLocationString.setDescription('Backplane Location String. This string describes the location of the backplane in relation to the controller to which it is attached. If the location string cannot be determined, the agent will return a NULL string.')
cpqSsFibreAttachmentTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7), )
if mibBuilder.loadTexts: cpqSsFibreAttachmentTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentTable.setDescription('Storage System Fibre Attachment Table.')
cpqSsFibreAttachmentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsFibreAttachmentIndex"))
if mibBuilder.loadTexts: cpqSsFibreAttachmentEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentEntry.setDescription('Storage System Fibre Attachment Entry.')
cpqSsFibreAttachmentIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFibreAttachmentIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentIndex.setDescription('Storage System Fibre Attachment Index. The index uniquely identifies a Fibre Attachment association entry.')
cpqSsFibreAttachmentHostControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFibreAttachmentHostControllerIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentHostControllerIndex.setDescription('Storage System Fibre Attachment Host Controller Index. The host controller index indicates which host controller is associated with this entry. This is equal to cpqFcaHostCntlrIndex, from the Fibre Channel Host Controller Table.')
cpqSsFibreAttachmentHostControllerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFibreAttachmentHostControllerPort.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentHostControllerPort.setDescription('Storage System Fibre Attachment Host Controller Port. This is the Fibre port number of the host controller. For each host controller, the port number starts at 1 and increments for each port. This is currently set to 1.')
cpqSsFibreAttachmentDeviceType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("storageBox", 2), ("tapeController", 3), ("fibreChannelSwitch", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFibreAttachmentDeviceType.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentDeviceType.setDescription('Storage System Fibre Attachment Device Type. This is the type of device associated with this entry. The following values are defined: other(1) The agent is unable to determine if the type of this device. storageBox(2) The device is a Fibre attached storage system. tapeController(3) The device is a Fibre attached tape controller. fibreChannelSwitch(4) The device is a Fibre channel switch.')
cpqSsFibreAttachmentDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFibreAttachmentDeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentDeviceIndex.setDescription('Storage System Fibre Attachment Device Index. The is the index for the Fibre attached device. For a Fibre attached storage system, this is equal to cpqSsChassisIndex from the Storage System Chassis Table. For a Fibre attached tape controller, this is equal to cpqFcTapeCntlrIndex from the Fibre Channel Tape Controller Table. For a Fibre channel switch, this is equal to cpqFcSwitchIndex from the Fibre Channel Switch Table.')
cpqSsFibreAttachmentDevicePort = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsFibreAttachmentDevicePort.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsFibreAttachmentDevicePort.setDescription('Storage System Fibre Attachment Device Port. This is the Fibre port on a device. For a Fibre attached storage system, this is equal to cpqFcaCntlrBoxIoSlot from the Fibre Channel Array Controller Table. For a Fibre attached tape controller, this is currently set to 1. For a Fibre channel switch, this is currently set to 1.')
cpqSsScsiAttachmentTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8), )
if mibBuilder.loadTexts: cpqSsScsiAttachmentTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentTable.setDescription('Storage System SCSI Attachment Table.')
cpqSsScsiAttachmentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsScsiAttachmentIndex"))
if mibBuilder.loadTexts: cpqSsScsiAttachmentEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentEntry.setDescription('Storage System SCSI Attachment Entry.')
cpqSsScsiAttachmentIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentIndex.setDescription('Storage System SCSI Attachment Index. The index uniquely identifies a SCSI Attachment association entry.')
cpqSsScsiAttachmentControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerIndex.setDescription('Storage System SCSI Attachment Controller Index. The controller index indicates which internal array controller is associated with this entry. This is equal to cpqDaCntlrIndex, from the Array Controller Table.')
cpqSsScsiAttachmentControllerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerPort.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerPort.setDescription('Storage System SCSI Attachment Controller Port. The controller port indicates which SCSI port of an internal controller is associated with this entry.')
cpqSsScsiAttachmentControllerTarget = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerTarget.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerTarget.setDescription('Storage System SCSI Attachment Controller Target. The controller target indicates which SCSI target is associated with this entry.')
cpqSsScsiAttachmentControllerLun = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerLun.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentControllerLun.setDescription('Storage System SCSI Attachment Controller Lun. The controller Lun indicates which SCSI Lun is associated with this entry.')
cpqSsScsiAttachmentChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentChassisIndex.setDescription('Storage System SCSI Attachment Chassis Index. The is the index for the SCSI attached storage system. This is equal to cpqSsChassisIndex from the Storage System Chassis Table.')
cpqSsScsiAttachmentChassisIoSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentChassisIoSlot.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentChassisIoSlot.setDescription('Storage System SCSI Attachment Chassis I/O Slot. This is the I/O slot in the SCSI attached storage system. This is equal to cpqFcaCntlrBoxIoSlot from the Fibre Channel Array Controller Table.')
cpqSsScsiAttachmentPathStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("offline", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentPathStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentPathStatus.setDescription('Storage System SCSI Attachment Path Status. This is the status of this path to the chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The path is operating normally. offline(3) The path is offline.')
cpqSsScsiAttachmentPathCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsScsiAttachmentPathCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsScsiAttachmentPathCondition.setDescription('Storage System SCSI Attachment Path Condition. This is the condition of this path to the chassis.')
cpqSsDrvBoxPathTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 2, 3), )
if mibBuilder.loadTexts: cpqSsDrvBoxPathTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathTable.setDescription('Drive Box Access Path Table.')
cpqSsDrvBoxPathEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsDrvBoxPathCntlrIndex"), (0, "CPQSTSYS-MIB", "cpqSsDrvBoxPathBoxIndex"), (0, "CPQSTSYS-MIB", "cpqSsDrvBoxPathIndex"))
if mibBuilder.loadTexts: cpqSsDrvBoxPathEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathEntry.setDescription('Drive Box Access Path Entry.')
cpqSsDrvBoxPathCntlrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathCntlrIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathCntlrIndex.setDescription('Drive Box Access Path Controller Index. The controller index indicates to which adapter card instance this table entry belongs.')
cpqSsDrvBoxPathBoxIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathBoxIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathBoxIndex.setDescription('Drive Box Access Path Box Index. The box index indicates to which box instance on an adapter card this table entry belongs. The value of this index is the same as cpqSsDrvBoxBusIndex used under the drive box table.')
cpqSsDrvBoxPathIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathIndex.setDescription('Drive Box Access Path Index. This path index keeps track of multiple instances of access paths from a controller to a storage box. This number, along with the cpqSsDrvBoxPathCntlrIndex and cpqSsDrvBoxPathDrvIndex uniquely identify a specific storage box access path')
cpqSsDrvBoxPathStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("linkDown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathStatus.setDescription('Drive Box Access Path Status. This shows the status of the drive box access path. The following values are valid: Other (1) Indicates that the instrument agent can not determine the status of this access path. OK (2) Indicates the access path is functioning properly. Link Down (3) Indicates that the controller can no longer access the drive box through this path.')
cpqSsDrvBoxPathCurrentRole = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("active", 2), ("alternate", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathCurrentRole.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathCurrentRole.setDescription('Drive Box Access Path Current Role. This shows the current role of drive box acess path. The following values are valid: Other (1) Indicates that the instrument agent does not recognize the role of this access path. Active (2) Indicates that this path is currently the default active I/O path to access the drive box from the controller. Alternate (3) Indicates that this path is currently the alternate I/O path to access the physical drive from the controller.')
cpqSsDrvBoxPathHostConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathHostConnector.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathHostConnector.setDescription('Drive Box Access Path Host Connector. This is the host connector to which the access path is ultimately attached. If the host connector cannot be determined, the agent will return a NULL string.')
cpqSsDrvBoxPathBoxOnConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathBoxOnConnector.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathBoxOnConnector.setDescription('Drive Box Access Path Box on Connector. The box on connector indicates to which box instance this access path belongs.')
cpqSsDrvBoxPathLocationString = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsDrvBoxPathLocationString.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsDrvBoxPathLocationString.setDescription('Drive Box Access Path Location String. This string describes drive box access path in relation to the controller to which it is attached. If the location string cannot be determined, the agent will return a NULL string.')
cpqSsTrapPkts = MibScalar((1, 3, 6, 1, 4, 1, 232, 8, 3, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTrapPkts.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapPkts.setDescription('The total number of trap packets issued by the enterprise since the instrument agent was loaded.')
cpqSsTrapLogMaxSize = MibScalar((1, 3, 6, 1, 4, 1, 232, 8, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTrapLogMaxSize.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapLogMaxSize.setDescription('The maximum number of entries that will currently be kept in the trap log. If the maximum size has been reached and a new trap occurs the oldest trap will be removed.')
cpqSsTrapLogTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 3, 3), )
if mibBuilder.loadTexts: cpqSsTrapLogTable.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapLogTable.setDescription('An ordered list of trap log entries (conceptually a queue). The trap log entries will be kept in the order in which they were generated with the most recent trap at index 1 and the oldest trap entry at index trapLogMaxSize. If the maximum number size has been reached and a new trap occurs the oldest trap will be removed when the new trap is added so the trapMaxLogSize is not exceeded.')
cpqSsTrapLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsTrapLogIndex"))
if mibBuilder.loadTexts: cpqSsTrapLogEntry.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapLogEntry.setDescription('A description of a trap event.')
cpqSsTrapLogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTrapLogIndex.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapLogIndex.setDescription("The value of this object uniquely identifies this trapLogEntry at this time. The most recent trap will have an index of 1 and the oldest trap will have an index of trapLogMaxSize. Because of the queue-like nature of the trapLog this particular trap event's index will change as new traps are issued.")
cpqSsTrapType = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 8001, 8002, 8003, 8004, 8005, 8006))).clone(namedValues=NamedValues(("cpqSsFanStatusChange", 1), ("cpqSs2FanStatusChange", 8001), ("cpqSsTempFailed", 8002), ("cpqSsTempDegraded", 8003), ("cpqSsTempOk", 8004), ("cpqSsSidePanelInPlace", 8005), ("cpqSsSidePanelRemoved", 8006)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTrapType.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapType.setDescription('The type of the trap event that this entry describes. This number refers to an entry in a list of traps enumerating the possible traps the agent may issue.')
cpqSsTrapTime = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsTrapTime.setStatus('deprecated')
if mibBuilder.loadTexts: cpqSsTrapTime.setDescription('The time of the trap event that this entry describes. The time is given in year (first octet), month, day of month, hour, minute, second (last octet) order. Each octet gives the value in BCD.')
cpqSsRaidSystemTable = MibTable((1, 3, 6, 1, 4, 1, 232, 8, 4, 1), )
if mibBuilder.loadTexts: cpqSsRaidSystemTable.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemTable.setDescription('RAID Storage System Table.')
cpqSsRaidSystemEntry = MibTableRow((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1), ).setIndexNames((0, "CPQSTSYS-MIB", "cpqSsRaidSystemIndex"))
if mibBuilder.loadTexts: cpqSsRaidSystemEntry.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemEntry.setDescription('RAID Storage System Entry.')
cpqSsRaidSystemIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsRaidSystemIndex.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemIndex.setDescription('RAID Storage System Index. The RAID Storage System index indicates to which storage system instance this table entry belongs.')
cpqSsRaidSystemName = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsRaidSystemName.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemName.setDescription("RAID Storage System Name. This is a description of the RAID Storage System's name. This can be used for identification purposes.")
cpqSsRaidSystemStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("agentNotRunning", 2), ("good", 3), ("warning", 4), ("communicationLoss", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsRaidSystemStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemStatus.setDescription('RAID Storage System Status. This is the current status of the RAID Storage System. This value will be one of the following: other(1) Indicates that the agent does not recognize the state of the RAID Storage System. You may need to upgrade the agent. agentNotRunning(2) Indicates that the Storage Work agent is not running. You need to restart the Storage Work agent. good(3) Indicates that the system is operating properly. warning(4) At least one component of the system failed. communicationLoss(5) The RAID Storage System has a cable or communication problem. Please check all cable connects to the host server.')
cpqSsRaidSystemCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("degraded", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsRaidSystemCondition.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemCondition.setDescription('RAID Storage System Condition. This is the overall condition of the storage system. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system is degraded. At least one component of the storage system failed. failed(4) The storage system has failed.')
cpqSsRaidSystemCntlr1SerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsRaidSystemCntlr1SerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemCntlr1SerialNumber.setDescription("RAID Storage System Controller 1 Serial Number. This is the controller number 1's serial number which is normally display on the front panel. This can be used for identification purposes.")
cpqSsRaidSystemCntlr2SerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cpqSsRaidSystemCntlr2SerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: cpqSsRaidSystemCntlr2SerialNumber.setDescription("RAID Storage System Controller 2 Serial Number. This is the controller number 2's serial number which is normally display on the front panel. This can be used for identification purposes.")
cpqSsFanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232, 8) + (0,1)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxFanStatus"))
if mibBuilder.loadTexts: cpqSsFanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status.')
cpqSs2FanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8001)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxFanStatus"))
if mibBuilder.loadTexts: cpqSs2FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status.')
cpqSsTempFailed = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8002)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSsTempFailed.setDescription('Storage System temperature failure. The agent has detected that a temperature status has been set to failed. The storage system will be shutdown.')
cpqSsTempDegraded = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8003)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSsTempDegraded.setDescription("Storage System temperature degraded. The agent has detected a temperature status that has been set to degraded. The storage system's temperature is outside of the normal operating range.")
cpqSsTempOk = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8004)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSsTempOk.setDescription("Storage System temperature ok. The temperature status has been set to OK. The storage system's temperature has returned to normal operating range. It may be reactivated by the administrator.")
cpqSsSidePanelInPlace = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8005)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxSidePanelStatus"))
if mibBuilder.loadTexts: cpqSsSidePanelInPlace.setDescription("Storage System side panel is in place. The side panel status has been set to in place. The storage system's side panel has returned to a properly installed state.")
cpqSsSidePanelRemoved = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8006)).setObjects(("CPQSTSYS-MIB", "cpqSsBoxSidePanelStatus"))
if mibBuilder.loadTexts: cpqSsSidePanelRemoved.setDescription("Storage System side panel is removed. The side panel status has been set to removed. The storage system's side panel is not in a properly installed state. This situation may result in improper cooling of the drives in the storage system due to air flow changes caused by the missing side panel.")
cpqSsPwrSupplyDegraded = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8007))
if mibBuilder.loadTexts: cpqSsPwrSupplyDegraded.setDescription('A storage system power supply status has been set to degraded.')
cpqSs3FanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8008)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxFanStatus"))
if mibBuilder.loadTexts: cpqSs3FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpqSs3TempFailed = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8009)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSs3TempFailed.setDescription('Storage System temperature failure. The agent has detected that a temperature status has been set to failed. The storage system will be shutdown. User Action: Shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpqSs3TempDegraded = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8010)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSs3TempDegraded.setDescription("Storage System temperature degraded. The agent has detected a temperature status that has been set to degraded. The storage system's temperature is outside of the normal operating range. User Action: Shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.")
cpqSs3TempOk = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8011)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSs3TempOk.setDescription("Storage System temperature ok. The temperature status has been set to OK. The storage system's temperature has returned to normal operating range. It may be reactivated by the administrator. User Action: None.")
cpqSs3SidePanelInPlace = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8012)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxSidePanelStatus"))
if mibBuilder.loadTexts: cpqSs3SidePanelInPlace.setDescription("Storage System side panel is in place. The side panel status has been set to in place. The storage system's side panel has returned to a properly installed state. User Action: None.")
cpqSs3SidePanelRemoved = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8013)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxSidePanelStatus"))
if mibBuilder.loadTexts: cpqSs3SidePanelRemoved.setDescription("Storage System side panel is removed. The side panel status has been set to removed. The storage system's side panel is not in a properly installed state. This situation may result in improper cooling of the drives in the storage system due to air flow changes caused by the missing side panel. User Action: Replace the storage system side panel.")
cpqSs3PwrSupplyDegraded = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8014)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"))
if mibBuilder.loadTexts: cpqSs3PwrSupplyDegraded.setDescription('A storage system power supply status has been set to degraded.')
cpqSs4PwrSupplyDegraded = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8015)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxFltTolPwrSupplyStatus"))
if mibBuilder.loadTexts: cpqSs4PwrSupplyDegraded.setDescription('A storage system power supply status has been set to degraded. User Action: Take action to restore power or replace any failed storage system power supply.')
cpqSsExFanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8016)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsFanModuleLocation"), ("CPQSTSYS-MIB", "cpqSsFanModuleStatus"))
if mibBuilder.loadTexts: cpqSsExFanStatusChange.setDescription('Storage system fan status change. The agent has detected a change in the Fan Module Status of a storage system. The variable cpqSsFanModuleStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpqSsExPowerSupplyStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8017)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyBay"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyStatus"))
if mibBuilder.loadTexts: cpqSsExPowerSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsPowerSupplyStatus indicates the current status. User Action: If the power supply status is failed, take action to restore power or replace the failed power supply.')
cpqSsExPowerSupplyUpsStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8018)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyBay"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyUpsStatus"))
if mibBuilder.loadTexts: cpqSsExPowerSupplyUpsStatusChange.setDescription('Storage system power supply UPS status change. The agent has detected a change status of a UPS attached to a storage system power supply. The variable cpqSsPowerSupplyUpsStatus indicates the current status. User Action: If the UPS status is powerFailed(4) or batteryLow(5), take action to restore power to the UPS.')
cpqSsExTempSensorStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8019)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsTempSensorLocation"), ("CPQSTSYS-MIB", "cpqSsTempSensorStatus"), ("CPQSTSYS-MIB", "cpqSsTempSensorCurrentValue"))
if mibBuilder.loadTexts: cpqSsExTempSensorStatusChange.setDescription('Storage system temperature sensor status change. The agent has detected a change in the status of a storage system temperature sensor. The variable cpqSsTempSensorStatus indicates the current status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpqSsEx2FanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8020)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsFanModuleLocation"), ("CPQSTSYS-MIB", "cpqSsFanModuleStatus"), ("CPQSTSYS-MIB", "cpqSsFanModuleSerialNumber"), ("CPQSTSYS-MIB", "cpqSsFanModuleBoardRevision"))
if mibBuilder.loadTexts: cpqSsEx2FanStatusChange.setDescription('Storage system fan status change. The agent has detected a change in the fan module status of a storage system. The variable cpqSsFanModuleStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpqSsEx2PowerSupplyStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8021)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyBay"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyStatus"), ("CPQSTSYS-MIB", "cpqSsPowerSupplySerialNumber"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyBoardRevision"), ("CPQSTSYS-MIB", "cpqSsPowerSupplyFirmwareRevision"))
if mibBuilder.loadTexts: cpqSsEx2PowerSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsPowerSupplyStatus indicates the current status. User Action: If the power supply status is failed, take action to restore power or replace the failed power supply.')
cpqSsExBackplaneFanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8022)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsBackplaneIndex"), ("CPQSTSYS-MIB", "cpqSsBackplaneVendor"), ("CPQSTSYS-MIB", "cpqSsBackplaneModel"), ("CPQSTSYS-MIB", "cpqSsBackplaneSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBackplaneFanStatus"))
if mibBuilder.loadTexts: cpqSsExBackplaneFanStatusChange.setDescription('Storage system fan status change. The agent has detected a change in the fan status of a storage system. The variable cpqSsBackplaneFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpqSsExBackplaneTempStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8023)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsBackplaneIndex"), ("CPQSTSYS-MIB", "cpqSsBackplaneVendor"), ("CPQSTSYS-MIB", "cpqSsBackplaneModel"), ("CPQSTSYS-MIB", "cpqSsBackplaneSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBackplaneTempStatus"))
if mibBuilder.loadTexts: cpqSsExBackplaneTempStatusChange.setDescription('Storage system temperature status change. The agent has detected a change in the status of the temperature in a storage system. The variable cpqSsBackplaneTempStatus indicates the current status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpqSsExBackplanePowerSupplyStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8024)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsBackplaneIndex"), ("CPQSTSYS-MIB", "cpqSsBackplaneVendor"), ("CPQSTSYS-MIB", "cpqSsBackplaneModel"), ("CPQSTSYS-MIB", "cpqSsBackplaneSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBackplaneFtpsStatus"))
if mibBuilder.loadTexts: cpqSsExBackplanePowerSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsBackplaneFtpsStatus indicates the current status. User Action: If the power supply status is degraded, take action to restore power or replace the failed power supply.')
cpqSsExRecoveryServerStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8025)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsChassisName"), ("CPQSTSYS-MIB", "cpqSsChassisTime"), ("CPQSTSYS-MIB", "cpqSsChassisRsoStatus"), ("CPQSTSYS-MIB", "cpqSsChassisIndex"))
if mibBuilder.loadTexts: cpqSsExRecoveryServerStatusChange.setDescription('Storage system recovery server option status change. The agent has detected a change in the recovery server option status of a storage system. The variable cpqSsChassisRsoStatus indicates the current status. User Action: If the RSO status is noSecondary(6) or linkDown(7), insure the secondary server is operational and all cables are connected properly. If the RSO status is secondaryRunningAuto(8) or secondaryRunningUser(9), examine the the primary server for failed components.')
cpqSs5FanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8026)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrHwLocation"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), ("CPQSTSYS-MIB", "cpqSsBoxBusIndex"), ("CPQSTSYS-MIB", "cpqSsBoxVendor"), ("CPQSTSYS-MIB", "cpqSsBoxModel"), ("CPQSTSYS-MIB", "cpqSsBoxSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBoxFanStatus"))
if mibBuilder.loadTexts: cpqSs5FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpqSs5TempStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8027)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrHwLocation"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), ("CPQSTSYS-MIB", "cpqSsBoxBusIndex"), ("CPQSTSYS-MIB", "cpqSsBoxVendor"), ("CPQSTSYS-MIB", "cpqSsBoxModel"), ("CPQSTSYS-MIB", "cpqSsBoxSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBoxTempStatus"))
if mibBuilder.loadTexts: cpqSs5TempStatusChange.setDescription('Storage System temperature status change. The agent has detected a change in the temperature status of a storage system. The variable cpqSsBoxTempStatus indicates the current temperature status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpqSs5PwrSupplyStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8028)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrHwLocation"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), ("CPQSTSYS-MIB", "cpqSsBoxBusIndex"), ("CPQSTSYS-MIB", "cpqSsBoxVendor"), ("CPQSTSYS-MIB", "cpqSsBoxModel"), ("CPQSTSYS-MIB", "cpqSsBoxSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBoxFltTolPwrSupplyStatus"))
if mibBuilder.loadTexts: cpqSs5PwrSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsBoxFltTolPwrSupplyStatus indicates the current power supply status. User Action: If the power supply status is degraded, take action to restore power or replace the failed power supply.')
cpqSs6FanStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8029)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrHwLocation"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), ("CPQSTSYS-MIB", "cpqSsBoxBusIndex"), ("CPQSTSYS-MIB", "cpqSsBoxVendor"), ("CPQSTSYS-MIB", "cpqSsBoxModel"), ("CPQSTSYS-MIB", "cpqSsBoxSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBoxFanStatus"), ("CPQSTSYS-MIB", "cpqSsBoxLocationString"))
if mibBuilder.loadTexts: cpqSs6FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpqSs6TempStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8030)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrHwLocation"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), ("CPQSTSYS-MIB", "cpqSsBoxBusIndex"), ("CPQSTSYS-MIB", "cpqSsBoxVendor"), ("CPQSTSYS-MIB", "cpqSsBoxModel"), ("CPQSTSYS-MIB", "cpqSsBoxSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBoxTempStatus"), ("CPQSTSYS-MIB", "cpqSsBoxLocationString"))
if mibBuilder.loadTexts: cpqSs6TempStatusChange.setDescription('Storage System temperature status change. The agent has detected a change in the temperature status of a storage system. The variable cpqSsBoxTempStatus indicates the current temperature status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpqSs6PwrSupplyStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 232) + (0,8031)).setObjects(("SNMPv2-MIB", "sysName"), ("CPQHOST-MIB", "cpqHoTrapFlags"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrHwLocation"), ("CPQSTSYS-MIB", "cpqSsBoxCntlrIndex"), ("CPQSTSYS-MIB", "cpqSsBoxBusIndex"), ("CPQSTSYS-MIB", "cpqSsBoxVendor"), ("CPQSTSYS-MIB", "cpqSsBoxModel"), ("CPQSTSYS-MIB", "cpqSsBoxSerialNumber"), ("CPQSTSYS-MIB", "cpqSsBoxFltTolPwrSupplyStatus"), ("CPQSTSYS-MIB", "cpqSsBoxLocationString"))
if mibBuilder.loadTexts: cpqSs6PwrSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsBoxFltTolPwrSupplyStatus indicates the current power supply status. User Action: If the power supply status is degraded, take action to restore power or replace the failed power supply.')
mibBuilder.exportSymbols("CPQSTSYS-MIB", cpqSsBackplaneVersion=cpqSsBackplaneVersion, cpqSsIoSlotControllerType=cpqSsIoSlotControllerType, cpqSsBoxFltTolPwrSupplyStatus=cpqSsBoxFltTolPwrSupplyStatus, cpqSsExRecoveryServerStatusChange=cpqSsExRecoveryServerStatusChange, cpqSsIoSlotIndex=cpqSsIoSlotIndex, cpqSsChassisPowerBoardRev=cpqSsChassisPowerBoardRev, cpqSsTempSensorLocation=cpqSsTempSensorLocation, cpqSsPowerSupplyCondition=cpqSsPowerSupplyCondition, cpqSsChassisScsiBoardRev=cpqSsChassisScsiBoardRev, cpqSsPowerSupplyChassisIndex=cpqSsPowerSupplyChassisIndex, cpqSsRaidSystemCondition=cpqSsRaidSystemCondition, cpqSsDrvBoxPathBoxOnConnector=cpqSsDrvBoxPathBoxOnConnector, cpqSsBoxSidePanelStatus=cpqSsBoxSidePanelStatus, cpqSsExTempSensorStatusChange=cpqSsExTempSensorStatusChange, cpqSsChassisOverallCondition=cpqSsChassisOverallCondition, cpqSsBoxPlacement=cpqSsBoxPlacement, cpqSsTrapTime=cpqSsTrapTime, cpqSsBackplaneConnectionType=cpqSsBackplaneConnectionType, cpqSs5TempStatusChange=cpqSs5TempStatusChange, cpqSsChassisPowerBoardSerNum=cpqSsChassisPowerBoardSerNum, cpqSsTrapLogTable=cpqSsTrapLogTable, cpqSs4PwrSupplyDegraded=cpqSs4PwrSupplyDegraded, cpqSsBackplaneIndex=cpqSsBackplaneIndex, cpqSs3SidePanelInPlace=cpqSs3SidePanelInPlace, cpqSsFanModuleSerialNumber=cpqSsFanModuleSerialNumber, cpqSsPowerSupplyTable=cpqSsPowerSupplyTable, cpqSsScsiAttachmentPathStatus=cpqSsScsiAttachmentPathStatus, cpqSsTempSensorStatus=cpqSsTempSensorStatus, cpqSsTempSensorEntry=cpqSsTempSensorEntry, cpqSsDrvBoxPathStatus=cpqSsDrvBoxPathStatus, cpqSsBoxBusIndex=cpqSsBoxBusIndex, cpqSsDrvBoxPathLocationString=cpqSsDrvBoxPathLocationString, cpqSsPwrSupplyDegraded=cpqSsPwrSupplyDegraded, cpqSsBackplaneSerialNumber=cpqSsBackplaneSerialNumber, cpqSsFibreAttachmentHostControllerPort=cpqSsFibreAttachmentHostControllerPort, cpqSsChassisProductId=cpqSsChassisProductId, cpqSsBoxType=cpqSsBoxType, cpqSsBoxCondition=cpqSsBoxCondition, cpqSsBackplaneVendor=cpqSsBackplaneVendor, cpqSsBackplaneOnConnector=cpqSsBackplaneOnConnector, cpqSsIoSlotEntry=cpqSsIoSlotEntry, cpqSsBoxCntlrHwLocation=cpqSsBoxCntlrHwLocation, cpqSsDrvBoxEntry=cpqSsDrvBoxEntry, cpqSsFibreAttachmentDevicePort=cpqSsFibreAttachmentDevicePort, cpqSsFanModuleEntry=cpqSsFanModuleEntry, cpqSsDrvBoxPathCurrentRole=cpqSsDrvBoxPathCurrentRole, cpqSsFanModuleCondition=cpqSsFanModuleCondition, cpqSsChassisRsoCondition=cpqSsChassisRsoCondition, cpqSsPowerSupplySerialNumber=cpqSsPowerSupplySerialNumber, cpqSsFanModuleStatus=cpqSsFanModuleStatus, cpqSsBoxModel=cpqSsBoxModel, cpqSsEx2FanStatusChange=cpqSsEx2FanStatusChange, cpqSsBackplaneCondition=cpqSsBackplaneCondition, cpqSsBoxBackplaneSpeed=cpqSsBoxBackplaneSpeed, cpqSsBackplaneConnector=cpqSsBackplaneConnector, cpqSsFibreAttachmentDeviceIndex=cpqSsFibreAttachmentDeviceIndex, cpqSsScsiAttachmentPathCondition=cpqSsScsiAttachmentPathCondition, cpqSsBoxExtended=cpqSsBoxExtended, cpqSsChassisPreferredPathMode=cpqSsChassisPreferredPathMode, cpqSsChassisSystemBoardRev=cpqSsChassisSystemBoardRev, cpqSsTempSensorHysteresisValue=cpqSsTempSensorHysteresisValue, cpqSsFibreAttachmentTable=cpqSsFibreAttachmentTable, cpqSsRaidSystemIndex=cpqSsRaidSystemIndex, cpqSsChassisFcaLogicalDriveCondition=cpqSsChassisFcaLogicalDriveCondition, cpqSsChassisEntry=cpqSsChassisEntry, cpqSsChassisBackplaneCondition=cpqSsChassisBackplaneCondition, cpqSsMibCondition=cpqSsMibCondition, cpqSsBackplaneSpeed=cpqSsBackplaneSpeed, cpqSsDrvBoxPathIndex=cpqSsDrvBoxPathIndex, cpqSsChassisFcaPhysDrvCondition=cpqSsChassisFcaPhysDrvCondition, cpqSsChassisFanCondition=cpqSsChassisFanCondition, cpqSsMibRevMajor=cpqSsMibRevMajor, cpqSsChassisScsiIoModuleType=cpqSsChassisScsiIoModuleType, cpqSsDrvBoxPathTable=cpqSsDrvBoxPathTable, cpqSsChassisIndex=cpqSsChassisIndex, cpqSsChassisFcaTapeDrvCondition=cpqSsChassisFcaTapeDrvCondition, cpqSsBackplaneChassisIndex=cpqSsBackplaneChassisIndex, cpqSsFanModuleLocation=cpqSsFanModuleLocation, cpqSsBackplaneFWRev=cpqSsBackplaneFWRev, cpqSsBoxTempStatus=cpqSsBoxTempStatus, cpqSsPowerSupplyFirmwareRevision=cpqSsPowerSupplyFirmwareRevision, cpqSsBackplanePlacement=cpqSsBackplanePlacement, cpqSsBoxCntlrIndex=cpqSsBoxCntlrIndex, cpqSsTempSensorChassisIndex=cpqSsTempSensorChassisIndex, cpqSsBoxFanStatus=cpqSsBoxFanStatus, cpqSsChassisTable=cpqSsChassisTable, cpqSsExPowerSupplyStatusChange=cpqSsExPowerSupplyStatusChange, cpqSsExPowerSupplyUpsStatusChange=cpqSsExPowerSupplyUpsStatusChange, cpqSsChassisSystemBoardSerNum=cpqSsChassisSystemBoardSerNum, cpqSsChassisRsoStatus=cpqSsChassisRsoStatus, cpqSs5PwrSupplyStatusChange=cpqSs5PwrSupplyStatusChange, cpqSsTrapLogIndex=cpqSsTrapLogIndex, cpqSsBoxBoardRevision=cpqSsBoxBoardRevision, cpqSsStorageSys=cpqSsStorageSys, cpqSsBackplaneModel=cpqSsBackplaneModel, cpqSsBackplaneFanStatus=cpqSsBackplaneFanStatus, cpqSsChassisTime=cpqSsChassisTime, cpqSsRaidSystemStatus=cpqSsRaidSystemStatus, cpqSsExBackplaneTempStatusChange=cpqSsExBackplaneTempStatusChange, cpqSsChassisFcaCntlrCondition=cpqSsChassisFcaCntlrCondition, cpqSsTempSensorLimitValue=cpqSsTempSensorLimitValue, cpqSsExBackplaneFanStatusChange=cpqSsExBackplaneFanStatusChange, cpqSsTempSensorCondition=cpqSsTempSensorCondition, cpqSsFanModuleBoardRevision=cpqSsFanModuleBoardRevision, cpqSsRaidSystemCntlr2SerialNumber=cpqSsRaidSystemCntlr2SerialNumber, cpqSsChassisSerialNumber=cpqSsChassisSerialNumber, cpqSsFanModuleChassisIndex=cpqSsFanModuleChassisIndex, cpqSsBackplaneTempStatus=cpqSsBackplaneTempStatus, cpqSsBoxBackPlaneVersion=cpqSsBoxBackPlaneVersion, cpqSsBackplaneFtpsStatus=cpqSsBackplaneFtpsStatus, cpqSsPowerSupplyUpsStatus=cpqSsPowerSupplyUpsStatus, cpqSsRaidSystemName=cpqSsRaidSystemName, cpqSs3TempDegraded=cpqSs3TempDegraded, cpqSs6PwrSupplyStatusChange=cpqSs6PwrSupplyStatusChange, cpqSs5FanStatusChange=cpqSs5FanStatusChange, cpqSsBackplaneTable=cpqSsBackplaneTable, cpqSsBoxLocationString=cpqSsBoxLocationString, cpqSsBackplaneDriveBays=cpqSsBackplaneDriveBays, cpqSsMibRevMinor=cpqSsMibRevMinor, cpqSs3FanStatusChange=cpqSs3FanStatusChange, cpqSs6FanStatusChange=cpqSs6FanStatusChange, cpqSsBackplaneEntry=cpqSsBackplaneEntry, cpqSsPowerSupplyIndex=cpqSsPowerSupplyIndex, cpqSsScsiAttachmentControllerIndex=cpqSsScsiAttachmentControllerIndex, cpqSsChassisPowerSupplyCondition=cpqSsChassisPowerSupplyCondition, cpqSsDrvBoxPathHostConnector=cpqSsDrvBoxPathHostConnector, cpqSsTrapLogEntry=cpqSsTrapLogEntry, cpqSsTempDegraded=cpqSsTempDegraded, cpqSs3TempOk=cpqSs3TempOk, cpqSsExBackplanePowerSupplyStatusChange=cpqSsExBackplanePowerSupplyStatusChange, cpqSsFibreAttachmentDeviceType=cpqSsFibreAttachmentDeviceType, cpqSsBoxSerialNumber=cpqSsBoxSerialNumber, cpqSsTrap=cpqSsTrap, cpqSsBoxBoxOnConnector=cpqSsBoxBoxOnConnector, cpqSsPowerSupplyBoardRevision=cpqSsPowerSupplyBoardRevision, cpqSsFibreAttachmentIndex=cpqSsFibreAttachmentIndex, cpqSsScsiAttachmentChassisIoSlot=cpqSsScsiAttachmentChassisIoSlot, cpqSsDrvBoxPathCntlrIndex=cpqSsDrvBoxPathCntlrIndex, cpqSsScsiAttachmentEntry=cpqSsScsiAttachmentEntry, cpqSsRaidSystemTable=cpqSsRaidSystemTable, cpqSsScsiAttachmentChassisIndex=cpqSsScsiAttachmentChassisIndex, cpqSsPowerSupplyStatus=cpqSsPowerSupplyStatus, cpqSsFibreAttachmentHostControllerIndex=cpqSsFibreAttachmentHostControllerIndex, cpqSsFanModuleTable=cpqSsFanModuleTable, cpqSsScsiAttachmentControllerTarget=cpqSsScsiAttachmentControllerTarget, cpqSsChassisModel=cpqSsChassisModel, cpqSsBackplaneLocationString=cpqSsBackplaneLocationString, cpqSsDrvBoxPathBoxIndex=cpqSsDrvBoxPathBoxIndex, cpqSsDrvBox=cpqSsDrvBox, cpqSsTempFailed=cpqSsTempFailed, cpqSsScsiAttachmentTable=cpqSsScsiAttachmentTable, cpqSsRaidSystemCntlr1SerialNumber=cpqSsRaidSystemCntlr1SerialNumber, cpqSsChassisTemperatureCondition=cpqSsChassisTemperatureCondition, cpqSs3SidePanelRemoved=cpqSs3SidePanelRemoved, cpqSsDrvBoxTable=cpqSsDrvBoxTable, cpqSsFanModuleIndex=cpqSsFanModuleIndex, cpqSsFibreAttachmentEntry=cpqSsFibreAttachmentEntry, cpqSsDrvBoxPathEntry=cpqSsDrvBoxPathEntry, cpqSsMibRev=cpqSsMibRev, cpqSs3TempFailed=cpqSs3TempFailed, cpqSsBoxTotalBays=cpqSsBoxTotalBays, cpqSsTrapLogMaxSize=cpqSsTrapLogMaxSize, cpqSsBoxDuplexOption=cpqSsBoxDuplexOption, cpqSsIoSlotTable=cpqSsIoSlotTable, cpqSsTrapPkts=cpqSsTrapPkts, cpqSsIoSlotChassisIndex=cpqSsIoSlotChassisIndex, cpqSsBackplaneDuplexOption=cpqSsBackplaneDuplexOption, cpqSsChassisConnectionType=cpqSsChassisConnectionType, cpqSsRaidSystem=cpqSsRaidSystem, cpqSsFanStatusChange=cpqSsFanStatusChange, cpqSsSidePanelRemoved=cpqSsSidePanelRemoved, cpqSs2FanStatusChange=cpqSs2FanStatusChange, cpqSsRaidSystemEntry=cpqSsRaidSystemEntry, cpqSsBoxVendor=cpqSsBoxVendor, cpqSsScsiAttachmentIndex=cpqSsScsiAttachmentIndex, cpqSsTempSensorIndex=cpqSsTempSensorIndex, cpqSsTempOk=cpqSsTempOk, cpqSsBoxConnectionType=cpqSsBoxConnectionType, cpqSsChassisScsiBoardSerNum=cpqSsChassisScsiBoardSerNum, cpqSsBoxFWRev=cpqSsBoxFWRev, cpqSsTrapType=cpqSsTrapType, cpqSs6TempStatusChange=cpqSs6TempStatusChange, cpqSsBoxHostConnector=cpqSsBoxHostConnector, cpqSsChassisName=cpqSsChassisName, cpqSsBackplaneBoardRevision=cpqSsBackplaneBoardRevision, cpqSs3PwrSupplyDegraded=cpqSs3PwrSupplyDegraded, cpqSsScsiAttachmentControllerPort=cpqSsScsiAttachmentControllerPort, cpqSsPowerSupplyEntry=cpqSsPowerSupplyEntry, cpqSsSidePanelInPlace=cpqSsSidePanelInPlace, cpqSsTempSensorCurrentValue=cpqSsTempSensorCurrentValue, cpqSsTempSensorTable=cpqSsTempSensorTable, cpqSsExFanStatusChange=cpqSsExFanStatusChange, cpqSsScsiAttachmentControllerLun=cpqSsScsiAttachmentControllerLun, cpqSsPowerSupplyBay=cpqSsPowerSupplyBay, cpqSsEx2PowerSupplyStatusChange=cpqSsEx2PowerSupplyStatusChange)
| (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(compaq, cpq_ho_trap_flags) = mibBuilder.importSymbols('CPQHOST-MIB', 'compaq', 'cpqHoTrapFlags')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(sys_name,) = mibBuilder.importSymbols('SNMPv2-MIB', 'sysName')
(mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, ip_address, counter32, counter64, bits, iso, module_identity, time_ticks, unsigned32, object_identity, mib_identifier, notification_type, integer32, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'IpAddress', 'Counter32', 'Counter64', 'Bits', 'iso', 'ModuleIdentity', 'TimeTicks', 'Unsigned32', 'ObjectIdentity', 'MibIdentifier', 'NotificationType', 'Integer32', 'NotificationType')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
cpq_ss_storage_sys = mib_identifier((1, 3, 6, 1, 4, 1, 232, 8))
cpq_ss_mib_rev = mib_identifier((1, 3, 6, 1, 4, 1, 232, 8, 1))
cpq_ss_drv_box = mib_identifier((1, 3, 6, 1, 4, 1, 232, 8, 2))
cpq_ss_trap = mib_identifier((1, 3, 6, 1, 4, 1, 232, 8, 3))
cpq_ss_raid_system = mib_identifier((1, 3, 6, 1, 4, 1, 232, 8, 4))
cpq_ss_box_extended = mib_identifier((1, 3, 6, 1, 4, 1, 232, 8, 2, 2))
cpq_ss_mib_rev_major = mib_scalar((1, 3, 6, 1, 4, 1, 232, 8, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsMibRevMajor.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsMibRevMajor.setDescription('The Major Revision level. A change in the major revision level represents a major change in the architecture of the MIB. A change in the major revision level may indicate a significant change in the information supported and/or the meaning of the supported information, correct interpretation of data may require a MIB document with the same major revision level.')
cpq_ss_mib_rev_minor = mib_scalar((1, 3, 6, 1, 4, 1, 232, 8, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsMibRevMinor.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsMibRevMinor.setDescription('The Minor Revision level. A change in the minor revision level may represent some minor additional support; no changes to any pre-existing information has occurred.')
cpq_ss_mib_condition = mib_scalar((1, 3, 6, 1, 4, 1, 232, 8, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsMibCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsMibCondition.setDescription('The overall condition (status) of the system represented by this MIB.')
cpq_ss_drv_box_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 1))
if mibBuilder.loadTexts:
cpqSsDrvBoxTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxTable.setDescription('Drive Box Table.')
cpq_ss_drv_box_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsBoxBusIndex'))
if mibBuilder.loadTexts:
cpqSsDrvBoxEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxEntry.setDescription('Drive Box Entry.')
cpq_ss_box_cntlr_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxCntlrIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxCntlrIndex.setDescription('Drive Box Controller Index. The controller index indicates to which adapter card instance this table entry belongs.')
cpq_ss_box_bus_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxBusIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxBusIndex.setDescription('Drive Box Bus Index. The bus index indicates to which bus instance on an adapter card this table entry belongs.')
cpq_ss_box_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('proLiant', 2), ('proLiant2', 3), ('proLiant2Internal', 4), ('proLiant2DuplexTop', 5), ('proLiant2DuplexBottom', 6), ('proLiant2InternalDuplexTop', 7), ('proLiant2InternalDuplexBottom', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxType.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsBoxType.setDescription('Drive Box Type. This is the type of drive box. The following types are defined: other(1) The agent does not recognize this drive storage system. proLiant(2) This is a ProLiant Storage System. proLiant2(3) This is a ProLiant-2 Storage System. proLiant2Internal(4) This is an internal ProLiant-2 Storage System that is found in some servers. proLiant2DuplexTop(5) This is the top portion of a ProLiant-2 Storage System that has dual SCSI busses which are duplexed. proLiant2DuplexBottom(6) This is the bottom portion of a ProLiant-2 Storage System that has dual SCSI busses which are duplexed. proLiant2InternalDuplexTop(7) This is the top portion of a ProLiant Server into which the internal SCSI busses are duplexed. proLiant2InternalDuplexBottom(8) This is the bottom portion of a ProLiant Server into which the internal SCSI busses are duplexed.')
cpq_ss_box_model = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 17))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxModel.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxModel.setDescription("Drive Box Model. This is a description of the drive box's model. This can be used for identification purposes.")
cpq_ss_box_fw_rev = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxFWRev.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxFWRev.setDescription('Drive Box Firmware Revision. This is the revision level of the drive box. This can be used for identification purposes.')
cpq_ss_box_vendor = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 9))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxVendor.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxVendor.setDescription("Drive Box Vendor This is the drive box's vendor name. This can be used for identification purposes.")
cpq_ss_box_fan_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('failed', 3), ('noFan', 4), ('degraded', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxFanStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxFanStatus.setDescription('Drive Box Fan Status. This is the current status of the fans in the drive box. This value will be one of the following: other(1) Fan monitoring is not supported by this system or it is not supported by the driver. ok(2) All fans are working normally. failed(3) One or more storage system fans have failed. The fan(s) should be replaced immediately to avoid hardware damage. noFan(4) This unit does not support fan monitoring. degraded(5) At least one storage system fan has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced.')
cpq_ss_box_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxCondition.setDescription('SCSI Drive Box Condition. This is the overall condition of the drive box. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system is degraded. You need to check the temperature status or power supply status of this storage system. Additionally, if the side panel for the storage system is removed, the air flow changes could result in improper cooling of the drives and affect the temperature status. failed(4) The storage system has failed.')
cpq_ss_box_temp_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4), ('noTemp', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxTempStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxTempStatus.setDescription('The temperature of the drive system. This value will be one of the following: other(1) Temperature monitoring is not supported by this system or it is not supported by the driver. ok(2) The temperature is within normal operating range. degraded(3) The temperature is outside of normal operating range. failed(4) The temperature could permanently damage the system. The storage system will automatically shutdown if this condition is detected. noTemp(5) This unit does not support temperature monitoring.')
cpq_ss_box_side_panel_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('sidePanelInPlace', 2), ('sidePanelRemoved', 3), ('noSidePanelStatus', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxSidePanelStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxSidePanelStatus.setDescription('Drive Box Side Panel Status. This value will be one of the following: other(1) The agent does not recognize the status. You may need to upgrade your software. sidePanelInPlace(2) The side panel is properly installed on the storage system. sidePanelRemoved(3) The side panel is not properly installed on the storage system. noSidePanelStatus(4) This unit does not support side panel status monitoring.')
cpq_ss_box_flt_tol_pwr_supply_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4), ('noFltTolPower', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxFltTolPwrSupplyStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxFltTolPwrSupplyStatus.setDescription('This value specifies the overall status of the fault tolerant power supply sub-system in a drive box. This value will be one of the following: other(1) The power supply status cannot be determined. ok(2) There are no detected power supply failures. degraded(3) One of the power supply units in a fault tolerant power supply has failed. failed(4) No failure conditions can currently be determined. noFltTolPower(5) This unit does not support fault tolerant power supply monitoring.')
cpq_ss_box_back_plane_version = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('proLiant', 2), ('proLiant2', 3), ('proLiant3', 4), ('proLiant4', 5), ('proLiant5', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxBackPlaneVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxBackPlaneVersion.setDescription('Drive Box Back Plane Version. This is the version of the drive box back plane. The following types are defined: other(1) The agent does not recognize this drive storage system back plane. proLiant(2) This is a ProLiant Storage System. proLiant2(3) This is a ProLiant-2 Storage System. proLiant3(4) This is a ProLiant-3 Storage System. proLiant4(5) This is a 4th generation Proliant Storage System. proLiant5(6) This is a 5th generation ProLiant Storage System.')
cpq_ss_box_total_bays = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxTotalBays.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxTotalBays.setDescription('Drive Box Total Bays. This is the total number of bays in this storage system.')
cpq_ss_box_placement = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('internal', 2), ('external', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxPlacement.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxPlacement.setDescription('Drive Box Placement. The following values are defined: other(1) The agent is unable to determine if this storage system is located internal or external to the system chassis. internal(2) The storage system is located in the system chassis. external(3) The storage system is located outside the system chassis in an expansion box.')
cpq_ss_box_duplex_option = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('notDuplexed', 2), ('duplexTop', 3), ('duplexBottom', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxDuplexOption.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxDuplexOption.setDescription('Drive Box Duplex Option. The following values are defined: other(1) The agent is unable to determine if this storage system is duplexed. notDuplexed(2) This storage system is not duplexed. duplexTop(3) This is the top portion of a duplexed storage system. duplexBottom(4) This is the bottom portion of a duplexed storage system.')
cpq_ss_box_board_revision = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxBoardRevision.setDescription('Drive Box Board Revision. This is the board revision of this storage system backplane.')
cpq_ss_box_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxSerialNumber.setDescription("Drive Box Serial Number. This is the drive box's serial number which is normally display on the front panel. This can be used for identification purposes.")
cpq_ss_box_cntlr_hw_location = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 18), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxCntlrHwLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxCntlrHwLocation.setDescription('A text description of the hardware location of the controller to which this box is attached. A NULL string indicates that the hardware location could not be determined or is irrelevant.')
cpq_ss_box_backplane_speed = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('ultra3', 2), ('ultra320', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxBackplaneSpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxBackplaneSpeed.setDescription('Drive Box Backplane Speed. The following values are defined: other(1) The agent is unable to determine the backplane speed for this storage system. ultra3(2) This storage system is capable of Ultra3 speeds. ultra320(3) This storage system is capable of Ultra320 speeds.')
cpq_ss_box_connection_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('scsiAttached', 2), ('sasAttached', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxConnectionType.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxConnectionType.setDescription('Drive Box Connection Type. The following values are defined: other(1) The agent is unable to determine the type of connection to this storage system. scsiAttached(2) This storage system is attached to the host via SCSI. sasAttached(3) This storage system is attached to the host via SAS.')
cpq_ss_box_host_connector = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 21), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxHostConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxHostConnector.setDescription('Drive Box Host Connector. This is the host connector to which the drive box is attached. If the host connector cannot be determined, the agent will return a NULL string.')
cpq_ss_box_box_on_connector = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 22), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxBoxOnConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxBoxOnConnector.setDescription('Drive Box, Box on Connector. The box on connector indicates which box instance this table entry belongs. The instances start at one and increment for each box attached to a connector. If the value cannot be determined or does not apply, -1 is returned.')
cpq_ss_box_location_string = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 1, 1, 23), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBoxLocationString.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBoxLocationString.setDescription('Drive Box Location String. This string describes the location of the drive box in relation to the controller to which it is attached. If the location string cannot be determined, the agent will return a NULL string.')
cpq_ss_chassis_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1))
if mibBuilder.loadTexts:
cpqSsChassisTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisTable.setDescription('Storage System Chassis Table.')
cpq_ss_chassis_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsChassisIndex'))
if mibBuilder.loadTexts:
cpqSsChassisEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisEntry.setDescription('Storage System Chassis Entry.')
cpq_ss_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisIndex.setDescription('Storage System Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpq_ss_chassis_connection_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('fibreAttached', 2), ('scsiAttached', 3), ('iScsiAttached', 4), ('sasAttached', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisConnectionType.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisConnectionType.setDescription('Storage System Chassis Connection Type. The following values are defined: other(1) The agent is unable to determine the type of connection to this chassis. fibreAttached(2) This chassis is attached to the server via Fibre Channel. scsiAttached(3) This chassis is attached to the server via SCSI. iScsiAttached(4) This chassis is attached to the server via iSCSI. sasAttached(5) This chassis is attached to the server via SAS.')
cpq_ss_chassis_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisSerialNumber.setDescription("Storage System Chassis Serial Number. This is the storage system chassis's serial number which is normally displayed on the front panel. This can be used for identification purposes.")
cpq_ss_chassis_name = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisName.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisName.setDescription('Storage System Chassis Name. This is a user defined name for this storage system chassis.')
cpq_ss_chassis_system_board_ser_num = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisSystemBoardSerNum.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisSystemBoardSerNum.setDescription("Storage System Chassis System Controller Board Serial Number. This is the system controller board's serial number. This can be used for identification purposes.")
cpq_ss_chassis_system_board_rev = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisSystemBoardRev.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisSystemBoardRev.setDescription('Storage System Chassis System Controller Board Revision. This is the system controller board revision.')
cpq_ss_chassis_power_board_ser_num = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisPowerBoardSerNum.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisPowerBoardSerNum.setDescription("Storage System Chassis Power Backplane Board Serial Number. This is the power backplane board's serial number. This can be used for identification purposes.")
cpq_ss_chassis_power_board_rev = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisPowerBoardRev.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisPowerBoardRev.setDescription('Storage System Chassis Power Backplane Board Revision. This is the power backplane board revision.')
cpq_ss_chassis_scsi_board_ser_num = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisScsiBoardSerNum.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisScsiBoardSerNum.setDescription("Storage System Chassis SCSI Drive Backplane Board Serial Number. This is the SCSI drive backplane board's serial number. This can be used for identification purposes.")
cpq_ss_chassis_scsi_board_rev = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisScsiBoardRev.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisScsiBoardRev.setDescription('Storage System Chassis SCSI Drive Backplane Board Revision. This is the SCSI drive backplane board revision.')
cpq_ss_chassis_overall_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisOverallCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisOverallCondition.setDescription('Storage System Chassis Overall Condition. This is the condition of the storage system chassis and all of its components. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system chassis is degraded. failed(4) The storage system chassis is failed.')
cpq_ss_chassis_power_supply_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisPowerSupplyCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisPowerSupplyCondition.setDescription('Storage System Power Supply Condition. This is the aggregate condition of all power supplies in the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All power supplies are operating normally. degraded(3) At least one power supply is degraded or failed. failed(4) All power supplies are failed.')
cpq_ss_chassis_fan_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisFanCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisFanCondition.setDescription('Storage System Fan Condition. This is the aggregate condition of all fan modules in the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All fan modules are operating normally. degraded(3) At least one fan module is degraded. failed(4) At least one fan module is failed.')
cpq_ss_chassis_temperature_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisTemperatureCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisTemperatureCondition.setDescription('Storage System Temperature Condition. This is the aggregate condition of all the temperatur sensors in the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All temperature sensors are reading within normal limits. degraded(3) At least one temperature sensor is reading degraded. failed(4) At least one temperature sensor is reading failed.')
cpq_ss_chassis_fca_cntlr_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisFcaCntlrCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisFcaCntlrCondition.setDescription('Storage System Fibre Channel Array Controller Condition. This is the aggregate condition of all Fibre Channel Array controllers in the storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All Fibre Channel Array Controllers are operating normally. degraded(3) At least one Fibre Channel Array Controller is degraded or failed. failed(4) All Fibre Channel Array Controllers are failed.')
cpq_ss_chassis_fca_logical_drive_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisFcaLogicalDriveCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisFcaLogicalDriveCondition.setDescription('Storage System Fibre Channel Array Logical Drive Condition. This is the aggregate condition of all Fibre Channel Array Logical Drives in this storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All Fibre Channel Array Controllers Logical Drives are operating normally. degraded(3) At least one Fibre Channel Array Controller Logical Drive is degraded. failed(4) At least one Fibre Channel Array Controller Logical Drive is failed.')
cpq_ss_chassis_fca_phys_drv_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisFcaPhysDrvCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisFcaPhysDrvCondition.setDescription('Storage System Fibre Channel Array Physical Drive Condition. This is the aggregate condition of all Fibre Channel Array Physical Drives in this storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All Fibre Channel Array Controllers Physical Drives are operating normally. degraded(3) At least one Fibre Channel Array Controller Physical Drive is degraded. failed(4) At least one Fibre Channel Array Controller Physical Drive is failed.')
cpq_ss_chassis_time = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisTime.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisTime.setDescription("Storage System Chassis Time. This is the storage system chassis's time in tenths of seconds. If the chassis time is not supported, the agent will return 0.")
cpq_ss_chassis_model = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('other', 1), ('ra4x00', 2), ('msa1000', 3), ('smartArrayClusterStorage', 4), ('enterpriseModularArray', 5), ('enterpriseVirtualArray', 6), ('msa500G2', 7), ('msa20', 8), ('msa1500cs', 9), ('msa1510i', 10)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisModel.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisModel.setDescription('Storage System Chassis Model. The following values are defined: other(1) The agent is unable to determine the model of this chassis. ra4x00(2) Compaq StorageWorks RAID Array 4000/4100. msa1000(3) Compaq StorageWorks Modular Smart Array 1000. smartArrayClusterStorage(4) HP StorageWorks Modular Smart Array 500 (Formerly Smart Array Cluster Storage). enterpriseModularArray(5) Compaq StorageWorks Enterprise/Modular RAID Array. enterpriseVirtualArray(6) Compaq StorageWorks Enterprise Virtual Array. msa500G2(7) HP StorageWorks Modular Smart Array 500 G2. msa20(8) HP StorageWorks Modular Smart Array 20. msa1500cs(9) HP StorageWorks Modular Smart Array 1500 CS. msa1510i(10) HP StorageWorks Modular Smart Array 1510i. Reserved(11) Reserved(12)')
cpq_ss_chassis_backplane_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisBackplaneCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisBackplaneCondition.setDescription('Storage System Backplane Condition. This is the aggregate condition of all the backplanes for the storage system chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) All backplanes are operating normally. degraded(3) At least one storage system is degraded. failed(4) At least one storage system is failed.')
cpq_ss_chassis_fca_tape_drv_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisFcaTapeDrvCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisFcaTapeDrvCondition.setDescription('Storage System Array Tape Drive Condition. This is the aggregate condition of all tape drives in this storage system chassis. The following values are defined: other(1) The condition cannot be determined or is not supported on this storage system. ok(2) All tape drives are operating normally. degraded(3) At least one tape drive is degraded. failed(4) At least one tape drive is failed.')
cpq_ss_chassis_rso_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 22), 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(('other', 1), ('notSupported', 2), ('notConfigured', 3), ('disabled', 4), ('daemonDownDisabled', 5), ('ok', 6), ('daemonDownActive', 7), ('noSecondary', 8), ('daemonDownNoSecondary', 9), ('linkDown', 10), ('daemonDownLinkDown', 11), ('secondaryRunningAuto', 12), ('secondaryRunningUser', 13), ('evTimeoutError', 14)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisRsoStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisRsoStatus.setDescription('Storage System Chassis Recovery Server Option Status. The following values are defined: other(1) The recovery server option status cannot be determined for this storage system. notSupported(2) The recovery server option is not supported for this storage system. notConfigured(3) The recovery server option is supported, but is not configured on this storage system. disabled(4) The recovery server option is configured as primary, but has been disabled by software. daemonDownDisabled(5) The recovery server option operating system daemon is no longer running. The last status of RSO was disabled(4). ok(6) The recovery server option is configured as primary and everything is working correctly. daemonDownActive(7) The recovery server option operating system daemon is no longer running. The last status of RSO was ok(6). noSecondary(8) The recovery server option is configured as primary, but communication with the standby server has not been established. daemonDownNoSecondary(9) The recovery server option operating system daemon is no longer running. The last status of RSO was noSecondary(8). linkDown(10) The recovery server option is configured as primary, but communication with the standby server has failed. daemonDownLinkDown(11) The recovery server option operating system daemon is no longer running. The last status of RSO was linkDown(10). secondaryRunningAuto(12) The recovery server option is configured and the standby server is running. The secondary server assumed control after communication with the primary server failed. secondaryRunningUser(13) The recovery server option is configured and the standby server is running. A user forced the secondary server to assume control. evTimeoutError(14) The recovery server option environment variable cannot be accessed.')
cpq_ss_chassis_rso_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisRsoCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisRsoCondition.setDescription('Storage System Chassis Recovery Server Option Condition. This is the condition of the recovery server option. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The recovery server option is operating normally. No user action is required. degraded(3) The recovery server option is degraded. failed(4) The recovery server option is failed.')
cpq_ss_chassis_scsi_io_module_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('io2port', 2), ('io4portUpgradeFirmware', 3), ('io4port', 4), ('io2port320', 5), ('io4port320', 6), ('io1port320', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisScsiIoModuleType.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisScsiIoModuleType.setDescription('Storage System Chassis SCSI I/O Module Type. The following values are defined: other(1) The agent does not recognize SCSI I/O module type. You may need to upgrade your software. io2port(2) A 2-Port Ultra3 SCSI I/O Module is installed. io4portUpgradeFirmware(3) A 4-Port Shared Storage Module for Smart Array Cluster Storage is installed, but the current controller firmware does not support it. Upgrade your controller firmware. io4port(4) A 4-Port Shared Storage Module for Smart Array Cluster Storage is installed. io2port320(5) A 2-Port Ultra320 SCSI I/O Module is installed. io4port320(6) A 4-Port Ultra320 SCSI I/O Module is installed. io1port320(7) A 1-Port Ultra320 SCSI I/O Module is installed.')
cpq_ss_chassis_preferred_path_mode = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('notActiveActive', 2), ('automatic', 3), ('manual', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisPreferredPathMode.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisPreferredPathMode.setDescription('Array Controller Preferred Path Mode. This is the storage system active/active preferred path mode. The following values are valid: other (1) Indicates that the agent does not recognize the preferred path mode of the storage system. You may need to upgrade the agent. notActiveActive (2) The storage system is not configured as active/active. automatic (3) The storage system automatically selects the preferred path for each logical drive based on host I/O patterns. manual (4) The preferred path for each logical drive is manually configured by the storage system administrator.')
cpq_ss_chassis_product_id = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 1, 1, 26), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsChassisProductId.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsChassisProductId.setDescription("Storage System Chassis Product Identifier. This is the storage system chassis's product identifier. This can be used for identification purposes. If the product identifier can not be determined, the agent will return a NULL string.")
cpq_ss_io_slot_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2))
if mibBuilder.loadTexts:
cpqSsIoSlotTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsIoSlotTable.setDescription('Storage System I/O Slot Table.')
cpq_ss_io_slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsIoSlotChassisIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsIoSlotIndex'))
if mibBuilder.loadTexts:
cpqSsIoSlotEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsIoSlotEntry.setDescription('Storage System I/O Slot Entry.')
cpq_ss_io_slot_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsIoSlotChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsIoSlotChassisIndex.setDescription('Storage System I/O Slot Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpq_ss_io_slot_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsIoSlotIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsIoSlotIndex.setDescription('Storage System I/O Slot Index. This index uniquely identifies a storage system I/O Slot.')
cpq_ss_io_slot_controller_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('notInstalled', 2), ('unknownBoard', 3), ('fibreArray', 4), ('scsiArray', 5), ('noSlot', 6), ('iScsiArray', 7), ('sasArray', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsIoSlotControllerType.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsIoSlotControllerType.setDescription('Storage System I/O Slot Controller Type. The following values are defined: other(1) The agent is unable to determine if anything is installed in this storage system I/O slot. notInstalled(2) Nothing is installed in this storage system I/O slot. unknownBoardInstalled(3) An unknown controller is installed in this storage system I/O slot. fibreArray(4) A Fibre Channel Array controller is installed in this storage system I/O slot. scsiArray(5) A SCSI Array controller is installed in this storage system I/O slot. noSlot(6) The slot does not exist on this chassis. iScsiArray(7) An iSCSI Array controller is installed in this storage system I/O slot. sasArray(8) A SAS Array controller is installed in this storage system I/O slot.')
cpq_ss_power_supply_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3))
if mibBuilder.loadTexts:
cpqSsPowerSupplyTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyTable.setDescription('Storage System Power Supply Table.')
cpq_ss_power_supply_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsPowerSupplyChassisIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsPowerSupplyIndex'))
if mibBuilder.loadTexts:
cpqSsPowerSupplyEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyEntry.setDescription('Storage System Power Supply Entry.')
cpq_ss_power_supply_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyChassisIndex.setDescription('Storage System Power Supply Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpq_ss_power_supply_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyIndex.setDescription('Storage System Power Supply Bay. This index uniquely identifies a power supply bay.')
cpq_ss_power_supply_bay = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('powerBay1', 2), ('powerBay2', 3), ('composite', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyBay.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyBay.setDescription('Storage System Power Supply Bay. The following values are defined: other(1) The agent does not recognize the bay. You may need to upgrade your software. powerBay1(2) The power supply is installed in the first power supply bay. powerBay2(3) The power supply is installed in the second power supply bay. composite(4) The power supply information is a composite of all power supplies in the storage system.')
cpq_ss_power_supply_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('notInstalled', 2), ('ok', 3), ('failed', 4), ('degraded', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyStatus.setDescription('Storage System Power Supply Status. The following values are defined: other(1) The agent is unable to determine if this storage system power supply bay is occupied. notInstalled(2) Nothing is installed in this power supply bay. ok(3) A power supply is installed and operating normally. failed(4) A power supply is installed and is no longer operating. Replace the power supply. degraded(5) For composite power supplies, this indicates that at least one power supply has failed or lost power.')
cpq_ss_power_supply_ups_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('noUps', 2), ('ok', 3), ('powerFailed', 4), ('batteryLow', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyUpsStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyUpsStatus.setDescription('Storage System Power Supply Uninterruptible Power Supply (UPS) Status. The following values are defined: other(1) The agent is unable to determine if this power supply is attached to an Uninterruptible Power Supply (UPS). noUps(2) No UPS is attached to the power supply. ok(3) A UPS is attached to the power supply and is operating normally. powerFailed(4) A UPS is attached to the power supply and the AC power has failed. batteryLow(5) A UPS is attached to the power supply, the AC power has failed and the UPS battery is low.')
cpq_ss_power_supply_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyCondition.setDescription('Storage System Power Supply Condition. This is the condition of the storage system chassis and all of its components. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The power supply is operating normally. No user action is required. degraded(3) The power supply is degraded. You need to check the power supply or its attached UPS for problems. failed(4) The power supply has failed.')
cpq_ss_power_supply_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplySerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplySerialNumber.setDescription("Storage System Power Supply Serial Number. This is the power supply's serial number. This can be used for identification purposes. If the serial number is not supported, the agent will return a NULL string.")
cpq_ss_power_supply_board_revision = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyBoardRevision.setDescription('Storage System Power Supply Board Revision. This is the power supply board revision. If the board revision is not supported, the agent will return a NULL string.')
cpq_ss_power_supply_firmware_revision = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 3, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsPowerSupplyFirmwareRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsPowerSupplyFirmwareRevision.setDescription('Storage System Power Supply Firmware Revision. This is the power supply firmware revision. If the firmware revision is not supported, the agent will return a NULL string.')
cpq_ss_fan_module_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4))
if mibBuilder.loadTexts:
cpqSsFanModuleTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleTable.setDescription('Storage System Fan Module Table.')
cpq_ss_fan_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsFanModuleChassisIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsFanModuleIndex'))
if mibBuilder.loadTexts:
cpqSsFanModuleEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleEntry.setDescription('Storage System Fan Module Entry.')
cpq_ss_fan_module_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleChassisIndex.setDescription('Storage System Fan Module Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpq_ss_fan_module_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleIndex.setDescription('Storage System Fan Module Index. This index uniquely identifies a storage system fan module.')
cpq_ss_fan_module_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('notInstalled', 2), ('ok', 3), ('degraded', 4), ('failed', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleStatus.setDescription('Storage System Fan Module Status. The following values are defined: other(1) The agent is unable to determine if this storage system fan module is installed. notInstalled(3) The fan module is not installed. ok(2) The fan module is installed and operating normally. degraded(4) The fan module degraded. failed(5) The fan module is failed. Replace the fan module.')
cpq_ss_fan_module_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleCondition.setDescription('Storage System Fan Module Condition. This is the condition of the storage system fan module. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The fan module is operating normally. No user action is required. degraded(3) The fan module is degraded. You need to check the fan module for problems. failed(4) The fan module has failed. Replace the fan module.')
cpq_ss_fan_module_location = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('fanBay', 2), ('composite', 3), ('fanBay2', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleLocation.setDescription('Storage System Fan Module Location. The following values are defined: other(1) The agent is unable to determine the location of this storage system fan module. fanBay(2) This fan module is installed in the first fan bay. composite(3) The fan information is a composite of all fans in the storage system. fanBay2(4) This fan module is installed in the second fan bay.')
cpq_ss_fan_module_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleSerialNumber.setDescription("Storage System Fan Module Serial Number. This is the fan module's serial number. This can be used for identification purposes.")
cpq_ss_fan_module_board_revision = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 4, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFanModuleBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFanModuleBoardRevision.setDescription('Storage System Fan Module Board Revision. This is the fan module board revision.')
cpq_ss_temp_sensor_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5))
if mibBuilder.loadTexts:
cpqSsTempSensorTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorTable.setDescription('Storage System Temperature Sensor Table.')
cpq_ss_temp_sensor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsTempSensorChassisIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsTempSensorIndex'))
if mibBuilder.loadTexts:
cpqSsTempSensorEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorEntry.setDescription('Storage System Temperature Sensor Entry.')
cpq_ss_temp_sensor_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorChassisIndex.setDescription('Storage System Temperature Sensor Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpq_ss_temp_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorIndex.setDescription('Storage System Temperature Sensor Index. This index uniquely identifies a temperature sensor.')
cpq_ss_temp_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorStatus.setDescription('Storage System Temperature Sensor Status. The following values are defined: other(1) The agent is unable to determine if the storage system temperature sensor status. ok(2) The temperature is OK. degraded(3) The temperature is degraded. failed(4) The temperature is failed.')
cpq_ss_temp_sensor_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorCondition.setDescription('Storage System Fan Module Condition. This is the condition of the storage system temperature sensor. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The temperature is within normal operating range. No user action is required. degraded(3) The temperature is outside of normal operating range. failed(4) The temperature could permanently damage the system. The storage system will automatically shutdown if this condition is detected.')
cpq_ss_temp_sensor_location = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('fanBay', 2), ('backplane', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorLocation.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorLocation.setDescription('Storage System Fan Module Location. The following values are defined: other(1) The agent is unable to determine the location of this storage system temperature sensor. fanBay(2) This temperature sensor is located on the fan module in the fan bay. backplane(3) This temperature is located on the SCSI drive backplane.')
cpq_ss_temp_sensor_current_value = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorCurrentValue.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorCurrentValue.setDescription('Storage System Temperature Sensor Current Value. The current value of the temperature sensor in degrees Celsius.')
cpq_ss_temp_sensor_limit_value = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorLimitValue.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorLimitValue.setDescription('Storage System Temperature Sensor Limit Value. The limit value of the temperature sensor in degrees Celsius.')
cpq_ss_temp_sensor_hysteresis_value = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 5, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTempSensorHysteresisValue.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsTempSensorHysteresisValue.setDescription('Storage System Temperature Sensor Hysteresis Value. The hysteresis value of the temperature sensor in degrees Celsius.')
cpq_ss_backplane_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6))
if mibBuilder.loadTexts:
cpqSsBackplaneTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneTable.setDescription('Storage System SCSI Backplane Table.')
cpq_ss_backplane_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsBackplaneChassisIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsBackplaneIndex'))
if mibBuilder.loadTexts:
cpqSsBackplaneEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneEntry.setDescription('Storage System SCSI Backplane Entry.')
cpq_ss_backplane_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneChassisIndex.setDescription('Storage System Backplane Chassis Index. The chassis index uniquely identifies a storage system chassis.')
cpq_ss_backplane_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneIndex.setDescription('Storage System Backplane Index. This index uniquely identifies a storage system backplane.')
cpq_ss_backplane_fw_rev = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneFWRev.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneFWRev.setDescription('Storage System Backplane Firmware Revision. This is the revision level of storage system backplane.')
cpq_ss_backplane_drive_bays = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneDriveBays.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneDriveBays.setDescription('Storage System Backplane Drive Bays. This is the number of bays on this storage system backplane.')
cpq_ss_backplane_duplex_option = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('notDuplexed', 2), ('duplexTop', 3), ('duplexBottom', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneDuplexOption.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneDuplexOption.setDescription('Storage System Backplane Duplex Option. The following values are defined: other (1) The agent is unable to determine if this storage system is duplexed. notDuplexed(2) This storage system is not duplexed. duplexTop(3) This is the top portion of a duplexed storage system. duplexBottom(4) This is the bottom portion of a duplexed storage system.')
cpq_ss_backplane_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneCondition.setDescription('Storage System Backplane Condition. This is the overall condition of the backplane. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system is degraded. You need to check the temperature status or power supply status of this storage system. failed(4) The storage system has failed.')
cpq_ss_backplane_version = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneVersion.setDescription('Storage System Backplane Version. This is the version of the drive box back plane.')
cpq_ss_backplane_vendor = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 9))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneVendor.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneVendor.setDescription("Storage System Backplane Vendor This is the storage box's vendor name. This can be used for identification purposes.")
cpq_ss_backplane_model = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 17))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneModel.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneModel.setDescription("Storage System Backplane Model. This is a description of the storage system's model. This can be used for identification purposes.")
cpq_ss_backplane_fan_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('notInstalled', 2), ('ok', 3), ('degraded', 4), ('failed', 5), ('notSupported', 6), ('degraded-Fan1Failed', 7), ('degraded-Fan2Failed', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneFanStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneFanStatus.setDescription('Storage System Backplane Fan Status. This is the current status of the fans in the storage system. This value will be one of the following: other(1) The agent is unable to determine if this storage system has fan monitoring. notInstalled(2) This unit does not support fan monitoring. ok(3) All fans are working normally. degraded(4) At least one storage system fan has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced. failed(5) One or more storage system fans have failed. The fan(s) should be replaced immediately to avoid hardware damage. notSupported(6) The storage system does not support reporting fan status through this backplane. The fan status is reported through the first backplane on this storage system. degraded-Fan1Failed(7) Fan 1 has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced. degraded-Fan2Failed(8) Fan 2 has failed, but there is still sufficient cooling capacity to allow the system to continue. The fan should be replaced.')
cpq_ss_backplane_temp_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('noTemp', 2), ('ok', 3), ('degraded', 4), ('failed', 5), ('notSupported', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneTempStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneTempStatus.setDescription('Storage System Backplane Fan Status. This value will be one of the following: other(1) The agent is unable to determine if this storage system has temperature monitoring. noTemp(2) This unit does not support temperature monitoring. ok(3) The temperature is within normal operating range. degraded(4) The temperature is outside of normal operating range. failed(5) The temperature could permanently damage the system. notSupported(6) The storage system does not support reporting temperature status through this backplane. The temperature status is reported through the first backplane on this storage system.')
cpq_ss_backplane_ftps_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('noFltTolPower', 2), ('ok', 3), ('degraded', 4), ('failed', 5), ('notSupported', 6), ('noFltTolPower-Bay1Missing', 7), ('noFltTolPower-Bay2Missing', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneFtpsStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneFtpsStatus.setDescription('Storage System Backplane Fault Tolerant Power Supply Status. This value specifies the overall status of the redundant power supply in a drive box. This value will be one of the following: other(1) The agent is unable to determine if this storage system has redundant power supplies. noFltTolPower(2) This unit does not have a redundant supply. ok(3) There are no detected power supply failures. degraded(4) One of the power supply units has failed. failed(5) All of the power supplies have failed. A status of failed can not currently be determined. notSupported(6) The storage system does not support reporting fault tolerant power supply status through this backplane. The fault tolerant power supply status is reported through the first backplane on this storage system. noFltTolPower-Bay1Missing(7), This unit does not have a redundant supply. The power supply in bay 1 is missing. noFltTolPower-Bay2Missing(8) This unit does not have a redundant supply. The power supply in bay 2 is missing.')
cpq_ss_backplane_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneSerialNumber.setDescription('Storage System Backplane Serial Number. This is the storage system backplane serial number which is normally displayed on the front bezel. This can be used for identification purposes.')
cpq_ss_backplane_placement = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('internal', 2), ('external', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplanePlacement.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplanePlacement.setDescription('Storage System Backplane Placement. The following values are defined: other(1) The agent is unable to determine if this storage system is located internal or external to the system chassis. internal(2) The storage system is located in the system chassis. external(3) The storage system is located outside the system chassis in an expansion box.')
cpq_ss_backplane_board_revision = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneBoardRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneBoardRevision.setDescription('Storage System Backplane Board Revision. This is the board revision of this storage system backplane.')
cpq_ss_backplane_speed = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ultra3', 2), ('ultra320', 3), ('sata', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneSpeed.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneSpeed.setDescription('Storage System Backplane Speed. The following values are defined: other(1) The agent is unable to determine the backplane speed for this storage system. ultra3(2) This storage system is capable of Ultra3 speeds. ultra320(3) This storage system is capable of Ultra320 speeds. sata(4) This storage system is capable of SATA speeds.')
cpq_ss_backplane_connection_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('scsiAttached', 2), ('sasAttached', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneConnectionType.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneConnectionType.setDescription('Backlane Box Connection Type. The following values are defined: other(1) The agent is unable to determine the type of connection to this backplane. scsiAttached(2) This backplane is attached to the host via SCSI. sasAttached(3) This backplane is attached to the host via SAS.')
cpq_ss_backplane_connector = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 18), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneConnector.setDescription('Backplane Connector. This is the connector to which the backplane is attached. If the backplane connector cannot be determined, the agent will return a NULL string.')
cpq_ss_backplane_on_connector = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneOnConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneOnConnector.setDescription('Backplane on Connector. The backplane on connector indicates to which backplane instance this table entry belongs. The instances start at one and increment for each backplane attached to a connector.')
cpq_ss_backplane_location_string = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 6, 1, 20), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsBackplaneLocationString.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsBackplaneLocationString.setDescription('Backplane Location String. This string describes the location of the backplane in relation to the controller to which it is attached. If the location string cannot be determined, the agent will return a NULL string.')
cpq_ss_fibre_attachment_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7))
if mibBuilder.loadTexts:
cpqSsFibreAttachmentTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentTable.setDescription('Storage System Fibre Attachment Table.')
cpq_ss_fibre_attachment_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsFibreAttachmentIndex'))
if mibBuilder.loadTexts:
cpqSsFibreAttachmentEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentEntry.setDescription('Storage System Fibre Attachment Entry.')
cpq_ss_fibre_attachment_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentIndex.setDescription('Storage System Fibre Attachment Index. The index uniquely identifies a Fibre Attachment association entry.')
cpq_ss_fibre_attachment_host_controller_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentHostControllerIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentHostControllerIndex.setDescription('Storage System Fibre Attachment Host Controller Index. The host controller index indicates which host controller is associated with this entry. This is equal to cpqFcaHostCntlrIndex, from the Fibre Channel Host Controller Table.')
cpq_ss_fibre_attachment_host_controller_port = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentHostControllerPort.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentHostControllerPort.setDescription('Storage System Fibre Attachment Host Controller Port. This is the Fibre port number of the host controller. For each host controller, the port number starts at 1 and increments for each port. This is currently set to 1.')
cpq_ss_fibre_attachment_device_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('storageBox', 2), ('tapeController', 3), ('fibreChannelSwitch', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentDeviceType.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentDeviceType.setDescription('Storage System Fibre Attachment Device Type. This is the type of device associated with this entry. The following values are defined: other(1) The agent is unable to determine if the type of this device. storageBox(2) The device is a Fibre attached storage system. tapeController(3) The device is a Fibre attached tape controller. fibreChannelSwitch(4) The device is a Fibre channel switch.')
cpq_ss_fibre_attachment_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentDeviceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentDeviceIndex.setDescription('Storage System Fibre Attachment Device Index. The is the index for the Fibre attached device. For a Fibre attached storage system, this is equal to cpqSsChassisIndex from the Storage System Chassis Table. For a Fibre attached tape controller, this is equal to cpqFcTapeCntlrIndex from the Fibre Channel Tape Controller Table. For a Fibre channel switch, this is equal to cpqFcSwitchIndex from the Fibre Channel Switch Table.')
cpq_ss_fibre_attachment_device_port = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 7, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentDevicePort.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsFibreAttachmentDevicePort.setDescription('Storage System Fibre Attachment Device Port. This is the Fibre port on a device. For a Fibre attached storage system, this is equal to cpqFcaCntlrBoxIoSlot from the Fibre Channel Array Controller Table. For a Fibre attached tape controller, this is currently set to 1. For a Fibre channel switch, this is currently set to 1.')
cpq_ss_scsi_attachment_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8))
if mibBuilder.loadTexts:
cpqSsScsiAttachmentTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentTable.setDescription('Storage System SCSI Attachment Table.')
cpq_ss_scsi_attachment_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsScsiAttachmentIndex'))
if mibBuilder.loadTexts:
cpqSsScsiAttachmentEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentEntry.setDescription('Storage System SCSI Attachment Entry.')
cpq_ss_scsi_attachment_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentIndex.setDescription('Storage System SCSI Attachment Index. The index uniquely identifies a SCSI Attachment association entry.')
cpq_ss_scsi_attachment_controller_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerIndex.setDescription('Storage System SCSI Attachment Controller Index. The controller index indicates which internal array controller is associated with this entry. This is equal to cpqDaCntlrIndex, from the Array Controller Table.')
cpq_ss_scsi_attachment_controller_port = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerPort.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerPort.setDescription('Storage System SCSI Attachment Controller Port. The controller port indicates which SCSI port of an internal controller is associated with this entry.')
cpq_ss_scsi_attachment_controller_target = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerTarget.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerTarget.setDescription('Storage System SCSI Attachment Controller Target. The controller target indicates which SCSI target is associated with this entry.')
cpq_ss_scsi_attachment_controller_lun = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerLun.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentControllerLun.setDescription('Storage System SCSI Attachment Controller Lun. The controller Lun indicates which SCSI Lun is associated with this entry.')
cpq_ss_scsi_attachment_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentChassisIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentChassisIndex.setDescription('Storage System SCSI Attachment Chassis Index. The is the index for the SCSI attached storage system. This is equal to cpqSsChassisIndex from the Storage System Chassis Table.')
cpq_ss_scsi_attachment_chassis_io_slot = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentChassisIoSlot.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentChassisIoSlot.setDescription('Storage System SCSI Attachment Chassis I/O Slot. This is the I/O slot in the SCSI attached storage system. This is equal to cpqFcaCntlrBoxIoSlot from the Fibre Channel Array Controller Table.')
cpq_ss_scsi_attachment_path_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('offline', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentPathStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentPathStatus.setDescription('Storage System SCSI Attachment Path Status. This is the status of this path to the chassis. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The path is operating normally. offline(3) The path is offline.')
cpq_ss_scsi_attachment_path_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 2, 8, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentPathCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsScsiAttachmentPathCondition.setDescription('Storage System SCSI Attachment Path Condition. This is the condition of this path to the chassis.')
cpq_ss_drv_box_path_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 2, 3))
if mibBuilder.loadTexts:
cpqSsDrvBoxPathTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathTable.setDescription('Drive Box Access Path Table.')
cpq_ss_drv_box_path_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsDrvBoxPathCntlrIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsDrvBoxPathBoxIndex'), (0, 'CPQSTSYS-MIB', 'cpqSsDrvBoxPathIndex'))
if mibBuilder.loadTexts:
cpqSsDrvBoxPathEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathEntry.setDescription('Drive Box Access Path Entry.')
cpq_ss_drv_box_path_cntlr_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathCntlrIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathCntlrIndex.setDescription('Drive Box Access Path Controller Index. The controller index indicates to which adapter card instance this table entry belongs.')
cpq_ss_drv_box_path_box_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathBoxIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathBoxIndex.setDescription('Drive Box Access Path Box Index. The box index indicates to which box instance on an adapter card this table entry belongs. The value of this index is the same as cpqSsDrvBoxBusIndex used under the drive box table.')
cpq_ss_drv_box_path_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathIndex.setDescription('Drive Box Access Path Index. This path index keeps track of multiple instances of access paths from a controller to a storage box. This number, along with the cpqSsDrvBoxPathCntlrIndex and cpqSsDrvBoxPathDrvIndex uniquely identify a specific storage box access path')
cpq_ss_drv_box_path_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('linkDown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathStatus.setDescription('Drive Box Access Path Status. This shows the status of the drive box access path. The following values are valid: Other (1) Indicates that the instrument agent can not determine the status of this access path. OK (2) Indicates the access path is functioning properly. Link Down (3) Indicates that the controller can no longer access the drive box through this path.')
cpq_ss_drv_box_path_current_role = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('active', 2), ('alternate', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathCurrentRole.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathCurrentRole.setDescription('Drive Box Access Path Current Role. This shows the current role of drive box acess path. The following values are valid: Other (1) Indicates that the instrument agent does not recognize the role of this access path. Active (2) Indicates that this path is currently the default active I/O path to access the drive box from the controller. Alternate (3) Indicates that this path is currently the alternate I/O path to access the physical drive from the controller.')
cpq_ss_drv_box_path_host_connector = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathHostConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathHostConnector.setDescription('Drive Box Access Path Host Connector. This is the host connector to which the access path is ultimately attached. If the host connector cannot be determined, the agent will return a NULL string.')
cpq_ss_drv_box_path_box_on_connector = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathBoxOnConnector.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathBoxOnConnector.setDescription('Drive Box Access Path Box on Connector. The box on connector indicates to which box instance this access path belongs.')
cpq_ss_drv_box_path_location_string = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 2, 3, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathLocationString.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsDrvBoxPathLocationString.setDescription('Drive Box Access Path Location String. This string describes drive box access path in relation to the controller to which it is attached. If the location string cannot be determined, the agent will return a NULL string.')
cpq_ss_trap_pkts = mib_scalar((1, 3, 6, 1, 4, 1, 232, 8, 3, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTrapPkts.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapPkts.setDescription('The total number of trap packets issued by the enterprise since the instrument agent was loaded.')
cpq_ss_trap_log_max_size = mib_scalar((1, 3, 6, 1, 4, 1, 232, 8, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTrapLogMaxSize.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapLogMaxSize.setDescription('The maximum number of entries that will currently be kept in the trap log. If the maximum size has been reached and a new trap occurs the oldest trap will be removed.')
cpq_ss_trap_log_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 3, 3))
if mibBuilder.loadTexts:
cpqSsTrapLogTable.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapLogTable.setDescription('An ordered list of trap log entries (conceptually a queue). The trap log entries will be kept in the order in which they were generated with the most recent trap at index 1 and the oldest trap entry at index trapLogMaxSize. If the maximum number size has been reached and a new trap occurs the oldest trap will be removed when the new trap is added so the trapMaxLogSize is not exceeded.')
cpq_ss_trap_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsTrapLogIndex'))
if mibBuilder.loadTexts:
cpqSsTrapLogEntry.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapLogEntry.setDescription('A description of a trap event.')
cpq_ss_trap_log_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTrapLogIndex.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapLogIndex.setDescription("The value of this object uniquely identifies this trapLogEntry at this time. The most recent trap will have an index of 1 and the oldest trap will have an index of trapLogMaxSize. Because of the queue-like nature of the trapLog this particular trap event's index will change as new traps are issued.")
cpq_ss_trap_type = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 8001, 8002, 8003, 8004, 8005, 8006))).clone(namedValues=named_values(('cpqSsFanStatusChange', 1), ('cpqSs2FanStatusChange', 8001), ('cpqSsTempFailed', 8002), ('cpqSsTempDegraded', 8003), ('cpqSsTempOk', 8004), ('cpqSsSidePanelInPlace', 8005), ('cpqSsSidePanelRemoved', 8006)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTrapType.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapType.setDescription('The type of the trap event that this entry describes. This number refers to an entry in a list of traps enumerating the possible traps the agent may issue.')
cpq_ss_trap_time = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 3, 3, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsTrapTime.setStatus('deprecated')
if mibBuilder.loadTexts:
cpqSsTrapTime.setDescription('The time of the trap event that this entry describes. The time is given in year (first octet), month, day of month, hour, minute, second (last octet) order. Each octet gives the value in BCD.')
cpq_ss_raid_system_table = mib_table((1, 3, 6, 1, 4, 1, 232, 8, 4, 1))
if mibBuilder.loadTexts:
cpqSsRaidSystemTable.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemTable.setDescription('RAID Storage System Table.')
cpq_ss_raid_system_entry = mib_table_row((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1)).setIndexNames((0, 'CPQSTSYS-MIB', 'cpqSsRaidSystemIndex'))
if mibBuilder.loadTexts:
cpqSsRaidSystemEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemEntry.setDescription('RAID Storage System Entry.')
cpq_ss_raid_system_index = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsRaidSystemIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemIndex.setDescription('RAID Storage System Index. The RAID Storage System index indicates to which storage system instance this table entry belongs.')
cpq_ss_raid_system_name = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsRaidSystemName.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemName.setDescription("RAID Storage System Name. This is a description of the RAID Storage System's name. This can be used for identification purposes.")
cpq_ss_raid_system_status = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('agentNotRunning', 2), ('good', 3), ('warning', 4), ('communicationLoss', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsRaidSystemStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemStatus.setDescription('RAID Storage System Status. This is the current status of the RAID Storage System. This value will be one of the following: other(1) Indicates that the agent does not recognize the state of the RAID Storage System. You may need to upgrade the agent. agentNotRunning(2) Indicates that the Storage Work agent is not running. You need to restart the Storage Work agent. good(3) Indicates that the system is operating properly. warning(4) At least one component of the system failed. communicationLoss(5) The RAID Storage System has a cable or communication problem. Please check all cable connects to the host server.')
cpq_ss_raid_system_condition = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('degraded', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsRaidSystemCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemCondition.setDescription('RAID Storage System Condition. This is the overall condition of the storage system. The following values are defined: other(1) The agent does not recognize the status. You may need to upgrade your software. ok(2) The storage system is operating normally. No user action is required. degraded(3) The storage system is degraded. At least one component of the storage system failed. failed(4) The storage system has failed.')
cpq_ss_raid_system_cntlr1_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsRaidSystemCntlr1SerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemCntlr1SerialNumber.setDescription("RAID Storage System Controller 1 Serial Number. This is the controller number 1's serial number which is normally display on the front panel. This can be used for identification purposes.")
cpq_ss_raid_system_cntlr2_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 232, 8, 4, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cpqSsRaidSystemCntlr2SerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
cpqSsRaidSystemCntlr2SerialNumber.setDescription("RAID Storage System Controller 2 Serial Number. This is the controller number 2's serial number which is normally display on the front panel. This can be used for identification purposes.")
cpq_ss_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232, 8) + (0, 1)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxFanStatus'))
if mibBuilder.loadTexts:
cpqSsFanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status.')
cpq_ss2_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8001)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxFanStatus'))
if mibBuilder.loadTexts:
cpqSs2FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status.')
cpq_ss_temp_failed = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8002)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSsTempFailed.setDescription('Storage System temperature failure. The agent has detected that a temperature status has been set to failed. The storage system will be shutdown.')
cpq_ss_temp_degraded = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8003)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSsTempDegraded.setDescription("Storage System temperature degraded. The agent has detected a temperature status that has been set to degraded. The storage system's temperature is outside of the normal operating range.")
cpq_ss_temp_ok = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8004)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSsTempOk.setDescription("Storage System temperature ok. The temperature status has been set to OK. The storage system's temperature has returned to normal operating range. It may be reactivated by the administrator.")
cpq_ss_side_panel_in_place = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8005)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxSidePanelStatus'))
if mibBuilder.loadTexts:
cpqSsSidePanelInPlace.setDescription("Storage System side panel is in place. The side panel status has been set to in place. The storage system's side panel has returned to a properly installed state.")
cpq_ss_side_panel_removed = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8006)).setObjects(('CPQSTSYS-MIB', 'cpqSsBoxSidePanelStatus'))
if mibBuilder.loadTexts:
cpqSsSidePanelRemoved.setDescription("Storage System side panel is removed. The side panel status has been set to removed. The storage system's side panel is not in a properly installed state. This situation may result in improper cooling of the drives in the storage system due to air flow changes caused by the missing side panel.")
cpq_ss_pwr_supply_degraded = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8007))
if mibBuilder.loadTexts:
cpqSsPwrSupplyDegraded.setDescription('A storage system power supply status has been set to degraded.')
cpq_ss3_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8008)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxFanStatus'))
if mibBuilder.loadTexts:
cpqSs3FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpq_ss3_temp_failed = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8009)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSs3TempFailed.setDescription('Storage System temperature failure. The agent has detected that a temperature status has been set to failed. The storage system will be shutdown. User Action: Shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpq_ss3_temp_degraded = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8010)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSs3TempDegraded.setDescription("Storage System temperature degraded. The agent has detected a temperature status that has been set to degraded. The storage system's temperature is outside of the normal operating range. User Action: Shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.")
cpq_ss3_temp_ok = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8011)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSs3TempOk.setDescription("Storage System temperature ok. The temperature status has been set to OK. The storage system's temperature has returned to normal operating range. It may be reactivated by the administrator. User Action: None.")
cpq_ss3_side_panel_in_place = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8012)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxSidePanelStatus'))
if mibBuilder.loadTexts:
cpqSs3SidePanelInPlace.setDescription("Storage System side panel is in place. The side panel status has been set to in place. The storage system's side panel has returned to a properly installed state. User Action: None.")
cpq_ss3_side_panel_removed = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8013)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxSidePanelStatus'))
if mibBuilder.loadTexts:
cpqSs3SidePanelRemoved.setDescription("Storage System side panel is removed. The side panel status has been set to removed. The storage system's side panel is not in a properly installed state. This situation may result in improper cooling of the drives in the storage system due to air flow changes caused by the missing side panel. User Action: Replace the storage system side panel.")
cpq_ss3_pwr_supply_degraded = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8014)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'))
if mibBuilder.loadTexts:
cpqSs3PwrSupplyDegraded.setDescription('A storage system power supply status has been set to degraded.')
cpq_ss4_pwr_supply_degraded = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8015)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxFltTolPwrSupplyStatus'))
if mibBuilder.loadTexts:
cpqSs4PwrSupplyDegraded.setDescription('A storage system power supply status has been set to degraded. User Action: Take action to restore power or replace any failed storage system power supply.')
cpq_ss_ex_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8016)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsFanModuleLocation'), ('CPQSTSYS-MIB', 'cpqSsFanModuleStatus'))
if mibBuilder.loadTexts:
cpqSsExFanStatusChange.setDescription('Storage system fan status change. The agent has detected a change in the Fan Module Status of a storage system. The variable cpqSsFanModuleStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpq_ss_ex_power_supply_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8017)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyBay'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyStatus'))
if mibBuilder.loadTexts:
cpqSsExPowerSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsPowerSupplyStatus indicates the current status. User Action: If the power supply status is failed, take action to restore power or replace the failed power supply.')
cpq_ss_ex_power_supply_ups_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8018)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyBay'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyUpsStatus'))
if mibBuilder.loadTexts:
cpqSsExPowerSupplyUpsStatusChange.setDescription('Storage system power supply UPS status change. The agent has detected a change status of a UPS attached to a storage system power supply. The variable cpqSsPowerSupplyUpsStatus indicates the current status. User Action: If the UPS status is powerFailed(4) or batteryLow(5), take action to restore power to the UPS.')
cpq_ss_ex_temp_sensor_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8019)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsTempSensorLocation'), ('CPQSTSYS-MIB', 'cpqSsTempSensorStatus'), ('CPQSTSYS-MIB', 'cpqSsTempSensorCurrentValue'))
if mibBuilder.loadTexts:
cpqSsExTempSensorStatusChange.setDescription('Storage system temperature sensor status change. The agent has detected a change in the status of a storage system temperature sensor. The variable cpqSsTempSensorStatus indicates the current status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpq_ss_ex2_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8020)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsFanModuleLocation'), ('CPQSTSYS-MIB', 'cpqSsFanModuleStatus'), ('CPQSTSYS-MIB', 'cpqSsFanModuleSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsFanModuleBoardRevision'))
if mibBuilder.loadTexts:
cpqSsEx2FanStatusChange.setDescription('Storage system fan status change. The agent has detected a change in the fan module status of a storage system. The variable cpqSsFanModuleStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpq_ss_ex2_power_supply_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8021)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyBay'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyStatus'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplySerialNumber'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyBoardRevision'), ('CPQSTSYS-MIB', 'cpqSsPowerSupplyFirmwareRevision'))
if mibBuilder.loadTexts:
cpqSsEx2PowerSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsPowerSupplyStatus indicates the current status. User Action: If the power supply status is failed, take action to restore power or replace the failed power supply.')
cpq_ss_ex_backplane_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8022)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsBackplaneIndex'), ('CPQSTSYS-MIB', 'cpqSsBackplaneVendor'), ('CPQSTSYS-MIB', 'cpqSsBackplaneModel'), ('CPQSTSYS-MIB', 'cpqSsBackplaneSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBackplaneFanStatus'))
if mibBuilder.loadTexts:
cpqSsExBackplaneFanStatusChange.setDescription('Storage system fan status change. The agent has detected a change in the fan status of a storage system. The variable cpqSsBackplaneFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpq_ss_ex_backplane_temp_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8023)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsBackplaneIndex'), ('CPQSTSYS-MIB', 'cpqSsBackplaneVendor'), ('CPQSTSYS-MIB', 'cpqSsBackplaneModel'), ('CPQSTSYS-MIB', 'cpqSsBackplaneSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBackplaneTempStatus'))
if mibBuilder.loadTexts:
cpqSsExBackplaneTempStatusChange.setDescription('Storage system temperature status change. The agent has detected a change in the status of the temperature in a storage system. The variable cpqSsBackplaneTempStatus indicates the current status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpq_ss_ex_backplane_power_supply_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8024)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsBackplaneIndex'), ('CPQSTSYS-MIB', 'cpqSsBackplaneVendor'), ('CPQSTSYS-MIB', 'cpqSsBackplaneModel'), ('CPQSTSYS-MIB', 'cpqSsBackplaneSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBackplaneFtpsStatus'))
if mibBuilder.loadTexts:
cpqSsExBackplanePowerSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsBackplaneFtpsStatus indicates the current status. User Action: If the power supply status is degraded, take action to restore power or replace the failed power supply.')
cpq_ss_ex_recovery_server_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8025)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsChassisName'), ('CPQSTSYS-MIB', 'cpqSsChassisTime'), ('CPQSTSYS-MIB', 'cpqSsChassisRsoStatus'), ('CPQSTSYS-MIB', 'cpqSsChassisIndex'))
if mibBuilder.loadTexts:
cpqSsExRecoveryServerStatusChange.setDescription('Storage system recovery server option status change. The agent has detected a change in the recovery server option status of a storage system. The variable cpqSsChassisRsoStatus indicates the current status. User Action: If the RSO status is noSecondary(6) or linkDown(7), insure the secondary server is operational and all cables are connected properly. If the RSO status is secondaryRunningAuto(8) or secondaryRunningUser(9), examine the the primary server for failed components.')
cpq_ss5_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8026)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrHwLocation'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxBusIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxVendor'), ('CPQSTSYS-MIB', 'cpqSsBoxModel'), ('CPQSTSYS-MIB', 'cpqSsBoxSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBoxFanStatus'))
if mibBuilder.loadTexts:
cpqSs5FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpq_ss5_temp_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8027)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrHwLocation'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxBusIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxVendor'), ('CPQSTSYS-MIB', 'cpqSsBoxModel'), ('CPQSTSYS-MIB', 'cpqSsBoxSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'))
if mibBuilder.loadTexts:
cpqSs5TempStatusChange.setDescription('Storage System temperature status change. The agent has detected a change in the temperature status of a storage system. The variable cpqSsBoxTempStatus indicates the current temperature status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpq_ss5_pwr_supply_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8028)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrHwLocation'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxBusIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxVendor'), ('CPQSTSYS-MIB', 'cpqSsBoxModel'), ('CPQSTSYS-MIB', 'cpqSsBoxSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBoxFltTolPwrSupplyStatus'))
if mibBuilder.loadTexts:
cpqSs5PwrSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsBoxFltTolPwrSupplyStatus indicates the current power supply status. User Action: If the power supply status is degraded, take action to restore power or replace the failed power supply.')
cpq_ss6_fan_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8029)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrHwLocation'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxBusIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxVendor'), ('CPQSTSYS-MIB', 'cpqSsBoxModel'), ('CPQSTSYS-MIB', 'cpqSsBoxSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBoxFanStatus'), ('CPQSTSYS-MIB', 'cpqSsBoxLocationString'))
if mibBuilder.loadTexts:
cpqSs6FanStatusChange.setDescription('Storage System fan status change. The agent has detected a change in the Fan Status of a storage system. The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.')
cpq_ss6_temp_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8030)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrHwLocation'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxBusIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxVendor'), ('CPQSTSYS-MIB', 'cpqSsBoxModel'), ('CPQSTSYS-MIB', 'cpqSsBoxSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBoxTempStatus'), ('CPQSTSYS-MIB', 'cpqSsBoxLocationString'))
if mibBuilder.loadTexts:
cpqSs6TempStatusChange.setDescription('Storage System temperature status change. The agent has detected a change in the temperature status of a storage system. The variable cpqSsBoxTempStatus indicates the current temperature status. User Action: If the temperature status is degraded or failed, shutdown the storage system as soon as possible. Insure that the storage system environment is being cooled properly and that no components are overheated.')
cpq_ss6_pwr_supply_status_change = notification_type((1, 3, 6, 1, 4, 1, 232) + (0, 8031)).setObjects(('SNMPv2-MIB', 'sysName'), ('CPQHOST-MIB', 'cpqHoTrapFlags'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrHwLocation'), ('CPQSTSYS-MIB', 'cpqSsBoxCntlrIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxBusIndex'), ('CPQSTSYS-MIB', 'cpqSsBoxVendor'), ('CPQSTSYS-MIB', 'cpqSsBoxModel'), ('CPQSTSYS-MIB', 'cpqSsBoxSerialNumber'), ('CPQSTSYS-MIB', 'cpqSsBoxFltTolPwrSupplyStatus'), ('CPQSTSYS-MIB', 'cpqSsBoxLocationString'))
if mibBuilder.loadTexts:
cpqSs6PwrSupplyStatusChange.setDescription('Storage system power supply status change. The agent has detected a change in the power supply status of a storage system. The variable cpqSsBoxFltTolPwrSupplyStatus indicates the current power supply status. User Action: If the power supply status is degraded, take action to restore power or replace the failed power supply.')
mibBuilder.exportSymbols('CPQSTSYS-MIB', cpqSsBackplaneVersion=cpqSsBackplaneVersion, cpqSsIoSlotControllerType=cpqSsIoSlotControllerType, cpqSsBoxFltTolPwrSupplyStatus=cpqSsBoxFltTolPwrSupplyStatus, cpqSsExRecoveryServerStatusChange=cpqSsExRecoveryServerStatusChange, cpqSsIoSlotIndex=cpqSsIoSlotIndex, cpqSsChassisPowerBoardRev=cpqSsChassisPowerBoardRev, cpqSsTempSensorLocation=cpqSsTempSensorLocation, cpqSsPowerSupplyCondition=cpqSsPowerSupplyCondition, cpqSsChassisScsiBoardRev=cpqSsChassisScsiBoardRev, cpqSsPowerSupplyChassisIndex=cpqSsPowerSupplyChassisIndex, cpqSsRaidSystemCondition=cpqSsRaidSystemCondition, cpqSsDrvBoxPathBoxOnConnector=cpqSsDrvBoxPathBoxOnConnector, cpqSsBoxSidePanelStatus=cpqSsBoxSidePanelStatus, cpqSsExTempSensorStatusChange=cpqSsExTempSensorStatusChange, cpqSsChassisOverallCondition=cpqSsChassisOverallCondition, cpqSsBoxPlacement=cpqSsBoxPlacement, cpqSsTrapTime=cpqSsTrapTime, cpqSsBackplaneConnectionType=cpqSsBackplaneConnectionType, cpqSs5TempStatusChange=cpqSs5TempStatusChange, cpqSsChassisPowerBoardSerNum=cpqSsChassisPowerBoardSerNum, cpqSsTrapLogTable=cpqSsTrapLogTable, cpqSs4PwrSupplyDegraded=cpqSs4PwrSupplyDegraded, cpqSsBackplaneIndex=cpqSsBackplaneIndex, cpqSs3SidePanelInPlace=cpqSs3SidePanelInPlace, cpqSsFanModuleSerialNumber=cpqSsFanModuleSerialNumber, cpqSsPowerSupplyTable=cpqSsPowerSupplyTable, cpqSsScsiAttachmentPathStatus=cpqSsScsiAttachmentPathStatus, cpqSsTempSensorStatus=cpqSsTempSensorStatus, cpqSsTempSensorEntry=cpqSsTempSensorEntry, cpqSsDrvBoxPathStatus=cpqSsDrvBoxPathStatus, cpqSsBoxBusIndex=cpqSsBoxBusIndex, cpqSsDrvBoxPathLocationString=cpqSsDrvBoxPathLocationString, cpqSsPwrSupplyDegraded=cpqSsPwrSupplyDegraded, cpqSsBackplaneSerialNumber=cpqSsBackplaneSerialNumber, cpqSsFibreAttachmentHostControllerPort=cpqSsFibreAttachmentHostControllerPort, cpqSsChassisProductId=cpqSsChassisProductId, cpqSsBoxType=cpqSsBoxType, cpqSsBoxCondition=cpqSsBoxCondition, cpqSsBackplaneVendor=cpqSsBackplaneVendor, cpqSsBackplaneOnConnector=cpqSsBackplaneOnConnector, cpqSsIoSlotEntry=cpqSsIoSlotEntry, cpqSsBoxCntlrHwLocation=cpqSsBoxCntlrHwLocation, cpqSsDrvBoxEntry=cpqSsDrvBoxEntry, cpqSsFibreAttachmentDevicePort=cpqSsFibreAttachmentDevicePort, cpqSsFanModuleEntry=cpqSsFanModuleEntry, cpqSsDrvBoxPathCurrentRole=cpqSsDrvBoxPathCurrentRole, cpqSsFanModuleCondition=cpqSsFanModuleCondition, cpqSsChassisRsoCondition=cpqSsChassisRsoCondition, cpqSsPowerSupplySerialNumber=cpqSsPowerSupplySerialNumber, cpqSsFanModuleStatus=cpqSsFanModuleStatus, cpqSsBoxModel=cpqSsBoxModel, cpqSsEx2FanStatusChange=cpqSsEx2FanStatusChange, cpqSsBackplaneCondition=cpqSsBackplaneCondition, cpqSsBoxBackplaneSpeed=cpqSsBoxBackplaneSpeed, cpqSsBackplaneConnector=cpqSsBackplaneConnector, cpqSsFibreAttachmentDeviceIndex=cpqSsFibreAttachmentDeviceIndex, cpqSsScsiAttachmentPathCondition=cpqSsScsiAttachmentPathCondition, cpqSsBoxExtended=cpqSsBoxExtended, cpqSsChassisPreferredPathMode=cpqSsChassisPreferredPathMode, cpqSsChassisSystemBoardRev=cpqSsChassisSystemBoardRev, cpqSsTempSensorHysteresisValue=cpqSsTempSensorHysteresisValue, cpqSsFibreAttachmentTable=cpqSsFibreAttachmentTable, cpqSsRaidSystemIndex=cpqSsRaidSystemIndex, cpqSsChassisFcaLogicalDriveCondition=cpqSsChassisFcaLogicalDriveCondition, cpqSsChassisEntry=cpqSsChassisEntry, cpqSsChassisBackplaneCondition=cpqSsChassisBackplaneCondition, cpqSsMibCondition=cpqSsMibCondition, cpqSsBackplaneSpeed=cpqSsBackplaneSpeed, cpqSsDrvBoxPathIndex=cpqSsDrvBoxPathIndex, cpqSsChassisFcaPhysDrvCondition=cpqSsChassisFcaPhysDrvCondition, cpqSsChassisFanCondition=cpqSsChassisFanCondition, cpqSsMibRevMajor=cpqSsMibRevMajor, cpqSsChassisScsiIoModuleType=cpqSsChassisScsiIoModuleType, cpqSsDrvBoxPathTable=cpqSsDrvBoxPathTable, cpqSsChassisIndex=cpqSsChassisIndex, cpqSsChassisFcaTapeDrvCondition=cpqSsChassisFcaTapeDrvCondition, cpqSsBackplaneChassisIndex=cpqSsBackplaneChassisIndex, cpqSsFanModuleLocation=cpqSsFanModuleLocation, cpqSsBackplaneFWRev=cpqSsBackplaneFWRev, cpqSsBoxTempStatus=cpqSsBoxTempStatus, cpqSsPowerSupplyFirmwareRevision=cpqSsPowerSupplyFirmwareRevision, cpqSsBackplanePlacement=cpqSsBackplanePlacement, cpqSsBoxCntlrIndex=cpqSsBoxCntlrIndex, cpqSsTempSensorChassisIndex=cpqSsTempSensorChassisIndex, cpqSsBoxFanStatus=cpqSsBoxFanStatus, cpqSsChassisTable=cpqSsChassisTable, cpqSsExPowerSupplyStatusChange=cpqSsExPowerSupplyStatusChange, cpqSsExPowerSupplyUpsStatusChange=cpqSsExPowerSupplyUpsStatusChange, cpqSsChassisSystemBoardSerNum=cpqSsChassisSystemBoardSerNum, cpqSsChassisRsoStatus=cpqSsChassisRsoStatus, cpqSs5PwrSupplyStatusChange=cpqSs5PwrSupplyStatusChange, cpqSsTrapLogIndex=cpqSsTrapLogIndex, cpqSsBoxBoardRevision=cpqSsBoxBoardRevision, cpqSsStorageSys=cpqSsStorageSys, cpqSsBackplaneModel=cpqSsBackplaneModel, cpqSsBackplaneFanStatus=cpqSsBackplaneFanStatus, cpqSsChassisTime=cpqSsChassisTime, cpqSsRaidSystemStatus=cpqSsRaidSystemStatus, cpqSsExBackplaneTempStatusChange=cpqSsExBackplaneTempStatusChange, cpqSsChassisFcaCntlrCondition=cpqSsChassisFcaCntlrCondition, cpqSsTempSensorLimitValue=cpqSsTempSensorLimitValue, cpqSsExBackplaneFanStatusChange=cpqSsExBackplaneFanStatusChange, cpqSsTempSensorCondition=cpqSsTempSensorCondition, cpqSsFanModuleBoardRevision=cpqSsFanModuleBoardRevision, cpqSsRaidSystemCntlr2SerialNumber=cpqSsRaidSystemCntlr2SerialNumber, cpqSsChassisSerialNumber=cpqSsChassisSerialNumber, cpqSsFanModuleChassisIndex=cpqSsFanModuleChassisIndex, cpqSsBackplaneTempStatus=cpqSsBackplaneTempStatus, cpqSsBoxBackPlaneVersion=cpqSsBoxBackPlaneVersion, cpqSsBackplaneFtpsStatus=cpqSsBackplaneFtpsStatus, cpqSsPowerSupplyUpsStatus=cpqSsPowerSupplyUpsStatus, cpqSsRaidSystemName=cpqSsRaidSystemName, cpqSs3TempDegraded=cpqSs3TempDegraded, cpqSs6PwrSupplyStatusChange=cpqSs6PwrSupplyStatusChange, cpqSs5FanStatusChange=cpqSs5FanStatusChange, cpqSsBackplaneTable=cpqSsBackplaneTable, cpqSsBoxLocationString=cpqSsBoxLocationString, cpqSsBackplaneDriveBays=cpqSsBackplaneDriveBays, cpqSsMibRevMinor=cpqSsMibRevMinor, cpqSs3FanStatusChange=cpqSs3FanStatusChange, cpqSs6FanStatusChange=cpqSs6FanStatusChange, cpqSsBackplaneEntry=cpqSsBackplaneEntry, cpqSsPowerSupplyIndex=cpqSsPowerSupplyIndex, cpqSsScsiAttachmentControllerIndex=cpqSsScsiAttachmentControllerIndex, cpqSsChassisPowerSupplyCondition=cpqSsChassisPowerSupplyCondition, cpqSsDrvBoxPathHostConnector=cpqSsDrvBoxPathHostConnector, cpqSsTrapLogEntry=cpqSsTrapLogEntry, cpqSsTempDegraded=cpqSsTempDegraded, cpqSs3TempOk=cpqSs3TempOk, cpqSsExBackplanePowerSupplyStatusChange=cpqSsExBackplanePowerSupplyStatusChange, cpqSsFibreAttachmentDeviceType=cpqSsFibreAttachmentDeviceType, cpqSsBoxSerialNumber=cpqSsBoxSerialNumber, cpqSsTrap=cpqSsTrap, cpqSsBoxBoxOnConnector=cpqSsBoxBoxOnConnector, cpqSsPowerSupplyBoardRevision=cpqSsPowerSupplyBoardRevision, cpqSsFibreAttachmentIndex=cpqSsFibreAttachmentIndex, cpqSsScsiAttachmentChassisIoSlot=cpqSsScsiAttachmentChassisIoSlot, cpqSsDrvBoxPathCntlrIndex=cpqSsDrvBoxPathCntlrIndex, cpqSsScsiAttachmentEntry=cpqSsScsiAttachmentEntry, cpqSsRaidSystemTable=cpqSsRaidSystemTable, cpqSsScsiAttachmentChassisIndex=cpqSsScsiAttachmentChassisIndex, cpqSsPowerSupplyStatus=cpqSsPowerSupplyStatus, cpqSsFibreAttachmentHostControllerIndex=cpqSsFibreAttachmentHostControllerIndex, cpqSsFanModuleTable=cpqSsFanModuleTable, cpqSsScsiAttachmentControllerTarget=cpqSsScsiAttachmentControllerTarget, cpqSsChassisModel=cpqSsChassisModel, cpqSsBackplaneLocationString=cpqSsBackplaneLocationString, cpqSsDrvBoxPathBoxIndex=cpqSsDrvBoxPathBoxIndex, cpqSsDrvBox=cpqSsDrvBox, cpqSsTempFailed=cpqSsTempFailed, cpqSsScsiAttachmentTable=cpqSsScsiAttachmentTable, cpqSsRaidSystemCntlr1SerialNumber=cpqSsRaidSystemCntlr1SerialNumber, cpqSsChassisTemperatureCondition=cpqSsChassisTemperatureCondition, cpqSs3SidePanelRemoved=cpqSs3SidePanelRemoved, cpqSsDrvBoxTable=cpqSsDrvBoxTable, cpqSsFanModuleIndex=cpqSsFanModuleIndex, cpqSsFibreAttachmentEntry=cpqSsFibreAttachmentEntry, cpqSsDrvBoxPathEntry=cpqSsDrvBoxPathEntry, cpqSsMibRev=cpqSsMibRev, cpqSs3TempFailed=cpqSs3TempFailed, cpqSsBoxTotalBays=cpqSsBoxTotalBays, cpqSsTrapLogMaxSize=cpqSsTrapLogMaxSize, cpqSsBoxDuplexOption=cpqSsBoxDuplexOption, cpqSsIoSlotTable=cpqSsIoSlotTable, cpqSsTrapPkts=cpqSsTrapPkts, cpqSsIoSlotChassisIndex=cpqSsIoSlotChassisIndex, cpqSsBackplaneDuplexOption=cpqSsBackplaneDuplexOption, cpqSsChassisConnectionType=cpqSsChassisConnectionType, cpqSsRaidSystem=cpqSsRaidSystem, cpqSsFanStatusChange=cpqSsFanStatusChange, cpqSsSidePanelRemoved=cpqSsSidePanelRemoved, cpqSs2FanStatusChange=cpqSs2FanStatusChange, cpqSsRaidSystemEntry=cpqSsRaidSystemEntry, cpqSsBoxVendor=cpqSsBoxVendor, cpqSsScsiAttachmentIndex=cpqSsScsiAttachmentIndex, cpqSsTempSensorIndex=cpqSsTempSensorIndex, cpqSsTempOk=cpqSsTempOk, cpqSsBoxConnectionType=cpqSsBoxConnectionType, cpqSsChassisScsiBoardSerNum=cpqSsChassisScsiBoardSerNum, cpqSsBoxFWRev=cpqSsBoxFWRev, cpqSsTrapType=cpqSsTrapType, cpqSs6TempStatusChange=cpqSs6TempStatusChange, cpqSsBoxHostConnector=cpqSsBoxHostConnector, cpqSsChassisName=cpqSsChassisName, cpqSsBackplaneBoardRevision=cpqSsBackplaneBoardRevision, cpqSs3PwrSupplyDegraded=cpqSs3PwrSupplyDegraded, cpqSsScsiAttachmentControllerPort=cpqSsScsiAttachmentControllerPort, cpqSsPowerSupplyEntry=cpqSsPowerSupplyEntry, cpqSsSidePanelInPlace=cpqSsSidePanelInPlace, cpqSsTempSensorCurrentValue=cpqSsTempSensorCurrentValue, cpqSsTempSensorTable=cpqSsTempSensorTable, cpqSsExFanStatusChange=cpqSsExFanStatusChange, cpqSsScsiAttachmentControllerLun=cpqSsScsiAttachmentControllerLun, cpqSsPowerSupplyBay=cpqSsPowerSupplyBay, cpqSsEx2PowerSupplyStatusChange=cpqSsEx2PowerSupplyStatusChange) |
def encoded_from_base10(number, base, digit_map):
'''
This function returns a string encoding in the "base" for the the "number" using the "digit_map"
Conditions that this function must satisfy:
- 2 <= base <= 36 else raise ValueError
- invalid base ValueError must have relevant information
- digit_map must have sufficient length to represent the base
- must return proper encoding for all base ranges between 2 to 36 (including)
- must return proper encoding for all negative "numbers" (hint: this is equal to encoding for +ve number, but with - sign added)
- the digit_map must not have any repeated character, else ValueError
- the repeating character ValueError message must be relevant
- you cannot use any in-built functions in the MATH module
'''
return '123ABC'
def float_equality_testing(a, b):
'''
This function emulates the ISCLOSE method from the MATH module, but you can't use this function
We are going to assume:
- rel_tol = 1e-12
- abs_tol = 1e-05
'''
return a == b
def manual_truncation_function(f_num):
'''
This function emulates python's MATH.TRUNC method. It ignores everything after the decimal point.
It must check whether f_num is of correct type before proceed. You can use inbuilt constructors like int, float, etc
'''
return f_num
def manual_rounding_function(f_num):
'''
This function emulates python's inbuild ROUND function. You are not allowed to use ROUND function, but
expected to write your one manually.
'''
return f_num
def rounding_away_from_zero(f_num):
'''
This function implements rounding away from zero as covered in the class
Desperately need to use INT constructor? Well you can't.
Hint: use FRACTIONS and extract numerator.
'''
return 3.0 | def encoded_from_base10(number, base, digit_map):
"""
This function returns a string encoding in the "base" for the the "number" using the "digit_map"
Conditions that this function must satisfy:
- 2 <= base <= 36 else raise ValueError
- invalid base ValueError must have relevant information
- digit_map must have sufficient length to represent the base
- must return proper encoding for all base ranges between 2 to 36 (including)
- must return proper encoding for all negative "numbers" (hint: this is equal to encoding for +ve number, but with - sign added)
- the digit_map must not have any repeated character, else ValueError
- the repeating character ValueError message must be relevant
- you cannot use any in-built functions in the MATH module
"""
return '123ABC'
def float_equality_testing(a, b):
"""
This function emulates the ISCLOSE method from the MATH module, but you can't use this function
We are going to assume:
- rel_tol = 1e-12
- abs_tol = 1e-05
"""
return a == b
def manual_truncation_function(f_num):
"""
This function emulates python's MATH.TRUNC method. It ignores everything after the decimal point.
It must check whether f_num is of correct type before proceed. You can use inbuilt constructors like int, float, etc
"""
return f_num
def manual_rounding_function(f_num):
"""
This function emulates python's inbuild ROUND function. You are not allowed to use ROUND function, but
expected to write your one manually.
"""
return f_num
def rounding_away_from_zero(f_num):
"""
This function implements rounding away from zero as covered in the class
Desperately need to use INT constructor? Well you can't.
Hint: use FRACTIONS and extract numerator.
"""
return 3.0 |
#config.py
#Enable Flask"s debugging features. should be False in production
DEBUG = True | debug = True |
# Problem Statement: https://www.hackerrank.com/challenges/ginorts/problem
S = ''.join(sorted(input(), key=lambda x: (not x.islower(),
not x.isupper(),
not x in '13579',
x)))
print(S) | s = ''.join(sorted(input(), key=lambda x: (not x.islower(), not x.isupper(), not x in '13579', x)))
print(S) |
class InitCommands(object):
COPY = 'copy'
CREATE = 'create'
DELETE = 'delete'
@classmethod
def is_copy(cls, command):
return command == cls.COPY
@classmethod
def is_create(cls, command):
return command == cls.CREATE
@classmethod
def is_delete(cls, command):
return command == cls.DELETE
def get_output_args(command, outputs_path, original_outputs_path=None):
get_or_create = 'if [ ! -d "{dir}" ]; then mkdir -p {dir}; fi;'.format(dir=outputs_path)
delete_dir = ('if [ -d {path} ] && [ "$(ls -A {path})" ]; '
'then rm -r {path}/*; fi;'.format(path=outputs_path))
cp_file_if_exist = 'if [ -f {original_path} ]; then cp {original_path} {path}; fi;'.format(
original_path=original_outputs_path, path=outputs_path)
cp_dir_if_exist = 'if [ -d {original_path} ]; then cp -r {original_path}/* {path}; fi;'.format(
original_path=original_outputs_path, path=outputs_path)
if InitCommands.is_create(command=command):
return '{} {}'.format(get_or_create, delete_dir)
if InitCommands.is_copy(command=command):
return '{} {} {} {}'.format(
get_or_create, delete_dir, cp_dir_if_exist, cp_file_if_exist)
if InitCommands.is_delete(command=command):
return '{}'.format(delete_dir)
def get_auth_context_args(entity: str, entity_name: str):
return "python3 -u init/auth.py --entity={} --entity_name={}".format(entity, entity_name)
| class Initcommands(object):
copy = 'copy'
create = 'create'
delete = 'delete'
@classmethod
def is_copy(cls, command):
return command == cls.COPY
@classmethod
def is_create(cls, command):
return command == cls.CREATE
@classmethod
def is_delete(cls, command):
return command == cls.DELETE
def get_output_args(command, outputs_path, original_outputs_path=None):
get_or_create = 'if [ ! -d "{dir}" ]; then mkdir -p {dir}; fi;'.format(dir=outputs_path)
delete_dir = 'if [ -d {path} ] && [ "$(ls -A {path})" ]; then rm -r {path}/*; fi;'.format(path=outputs_path)
cp_file_if_exist = 'if [ -f {original_path} ]; then cp {original_path} {path}; fi;'.format(original_path=original_outputs_path, path=outputs_path)
cp_dir_if_exist = 'if [ -d {original_path} ]; then cp -r {original_path}/* {path}; fi;'.format(original_path=original_outputs_path, path=outputs_path)
if InitCommands.is_create(command=command):
return '{} {}'.format(get_or_create, delete_dir)
if InitCommands.is_copy(command=command):
return '{} {} {} {}'.format(get_or_create, delete_dir, cp_dir_if_exist, cp_file_if_exist)
if InitCommands.is_delete(command=command):
return '{}'.format(delete_dir)
def get_auth_context_args(entity: str, entity_name: str):
return 'python3 -u init/auth.py --entity={} --entity_name={}'.format(entity, entity_name) |
hm_epoch = 5 # Number of epoch in training
lag_range = 1 # Lag range
lag_epoch_num = 1 # Number of epoch while finding lag
learning_rate = 0.001 # Default learning rate
| hm_epoch = 5
lag_range = 1
lag_epoch_num = 1
learning_rate = 0.001 |
#
# PySNMP MIB module NOKIA-HWM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NOKIA-HWM-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:23:29 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint")
entPhysicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "entPhysicalIndex")
ntcHWMibs, ntcHWReqs, ntcCommonModules = mibBuilder.importSymbols("NOKIA-COMMON-MIB-OID-REGISTRATION-MIB", "ntcHWMibs", "ntcHWReqs", "ntcCommonModules")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
ObjectIdentity, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Integer32, IpAddress, TimeTicks, ModuleIdentity, MibIdentifier, Unsigned32, Counter32, NotificationType, iso, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Integer32", "IpAddress", "TimeTicks", "ModuleIdentity", "MibIdentifier", "Unsigned32", "Counter32", "NotificationType", "iso", "Bits")
AutonomousType, TextualConvention, TimeStamp, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "TextualConvention", "TimeStamp", "DisplayString")
ntcHWModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 94, 1, 16, 5, 1))
ntcHWModule.setRevisions(('1998-08-24 00:00', '1998-09-03 00:00', '1998-09-24 00:00', '1998-10-04 00:00', '1999-01-08 00:00', '1999-08-05 00:00', '1999-10-25 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ntcHWModule.setRevisionsDescriptions(('Rev 0.1 August 24, 1998 Initial version - ready for review', 'Rev 0.2 September 3, 1998 Initial review by Tero Soukko whose comments have been incorporated.', 'Rev 0.3 September 24, 1998 ready for initial review.', 'Rev 0.4 Updated anchors to use values registered by Mika Kiikkila.', 'Rev 1.0 Syntax of ntcHWLastChangedTime changed from DateAndTime to TimeStamp. Traps commented out because they are part of Nokia Common Alarm MIB.', 'Rev 1.01 Those IMPORTS which are not used are removed. Groups ntcHWSlots and ntcHWEventGroup which are not defined in this module are removed. The name NokiaHwmSlotEntry is changed to NtcHWSlotEntry on account of convenience. All notification definions before out-commented removed. Some esthetic modifications made.', "Comment 'The NMS is not allowed to set the value of ntcHWAdminstate to missing.' added to the ntcHWAdminstate's description.",))
if mibBuilder.loadTexts: ntcHWModule.setLastUpdated('9901080000Z')
if mibBuilder.loadTexts: ntcHWModule.setOrganization('Nokia')
if mibBuilder.loadTexts: ntcHWModule.setContactInfo('Anna-Kaisa Lindfors Nokia Telecommunications Oy Hiomotie 5, FIN-00380 Helsinki +358-9-51121 anna-kaisa.lindfors@nokia.com')
if mibBuilder.loadTexts: ntcHWModule.setDescription('The MIB module that is used to control the Hardware Management information.')
ntcHWObjs = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1))
ntcHWEvents = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 2, 0))
ntcHWGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 1))
ntcHWCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 2))
ntcHWUnitTable = MibTable((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1), )
if mibBuilder.loadTexts: ntcHWUnitTable.setStatus('current')
if mibBuilder.loadTexts: ntcHWUnitTable.setDescription("A table which contains an entry for each pluggable circuit board (in this MIB a 'unit' is the same as a pluggable circuit board.) Entries of this table are automatically created by the hardware management software.")
ntcHWUnitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1), ).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex"))
if mibBuilder.loadTexts: ntcHWUnitEntry.setStatus('current')
if mibBuilder.loadTexts: ntcHWUnitEntry.setDescription('A conceptual row in the ntcHWUnitTable. Rows are created automatically by the Hardware Management software.')
ntcHWAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inService", 1), ("outOfService", 2), ("inTest", 3), ("missing", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntcHWAdminState.setStatus('current')
if mibBuilder.loadTexts: ntcHWAdminState.setDescription('Represents the desired state of the unit. inService indicates that the unit is intended to be operating normally. outOfService indicates that the unit should be taken out of normal operating mode and no data traffic should appear in this unit. inTest indicates that the unit should be placed into a selftest mode. missing indicates that the unit is expected to be present but has been detected as not being physically present. The NMS is not allowed to set the value of ntcHWAdminstate to missing.')
ntcHWOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("down", 1), ("up", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWOperState.setStatus('current')
if mibBuilder.loadTexts: ntcHWOperState.setDescription('Indicates the current state of the unit. down indicates that the unit is in a non-functional state. up indicates that the unit is functioning normally.')
ntcHWAvailabilityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("inCharge", 1), ("applicationStarting", 2), ("applicationShutdown", 3), ("platformStarting", 4), ("resetting", 5), ("separated", 6), ("unconfigured", 7), ("testing", 8), ("standby", 9), ("dormant", 10), ("unavailable", 11)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWAvailabilityStatus.setStatus('current')
if mibBuilder.loadTexts: ntcHWAvailabilityStatus.setDescription("Provides more specific information on the state of the unit in this conceptual row. The status column has eleven defined values: inCharge = the unit is fully operational and ready to perform its desired tasks; applicationStarting = the application software is starting up; applicationShutdown = the application software is shutting down; platformStarting = Basic platform software is starting up; resetting = the disk files are closed and hardware reset is forced; separated = Only basic OS software is running. The unit can start application software on request; unconfigured = The administrative state of the unit is 'missing', disk files are closed and only basic OS software is running. The unit refuses to start application software; testing = Selftests can be performed, only basic OS are running; standby = The unit is redundant and is fully operational but not in charge of operations. It is ready to move to 'inCharge' state when necessary; dormant = All connections are physically inactive to enable removal of the unit without electric disturbance in the backplane. Only watchdog software is running for a short duration of time; unavailable = The unit is not physically present or cannot be contacted.")
ntcHWRestart = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("reset", 1), ("hotRestart", 2), ("detach", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntcHWRestart.setStatus('current')
if mibBuilder.loadTexts: ntcHWRestart.setDescription('Provides the ability to reset or perform a hot restart the unit represented by this conceptual row. reset = the Unit is shutdown in an orderly manner and restarted again via hardware reset; hotRestart = only the software in a unit is restarted, a hardware reset is not initiated; detach = all electrical connections of the unit are forced to an inactive state to enable removal of the unit without electrical disturbance in the backplane.')
ntcHWLedState = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("red", 1), ("yellow", 2), ("black", 3), ("green", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWLedState.setStatus('current')
if mibBuilder.loadTexts: ntcHWLedState.setDescription('Indicates the current LED color of the unit represented by this conceptual row.')
ntcHWSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWSerialNumber.setStatus('current')
if mibBuilder.loadTexts: ntcHWSerialNumber.setDescription('The units serial number in displayable format.')
ntcHWProductionDate = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWProductionDate.setStatus('current')
if mibBuilder.loadTexts: ntcHWProductionDate.setDescription('The units production date in displayable format.')
ntcHWUnitEntryChanged = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 8), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWUnitEntryChanged.setStatus('current')
if mibBuilder.loadTexts: ntcHWUnitEntryChanged.setDescription('Represents the value of sysUpTime at the instant that this conceptual row entry has changed.')
ntcHWSlotTable = MibTable((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 2), )
if mibBuilder.loadTexts: ntcHWSlotTable.setStatus('current')
if mibBuilder.loadTexts: ntcHWSlotTable.setDescription('Table whose entries represent the expected circuit board type. The entries are created automatically by the hardware management software.')
ntcHWSlotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 2, 1), ).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex"))
if mibBuilder.loadTexts: ntcHWSlotEntry.setStatus('current')
if mibBuilder.loadTexts: ntcHWSlotEntry.setDescription('The logical row describing the expected circiut board type of a slot.')
ntcHWDesiredUnitType = MibTableColumn((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 2, 1, 2), AutonomousType()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntcHWDesiredUnitType.setStatus('current')
if mibBuilder.loadTexts: ntcHWDesiredUnitType.setDescription("The unit type which is expected to be inserted or present in the current slot. An indication of the vendor-specific hardware type of the HWM entity. Note that this is different from the definition of MIB-II's sysObjectID. An agent should set this object to a enterprise-specific registration identifier value indicating the specific equipment type in detail. If no vendor-specific registration identifier exists for this entity, or the value is unknown by this agent, then the value { 0 0 } is returned.")
ntcHWLastChangedTime = MibScalar((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 3), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntcHWLastChangedTime.setStatus('current')
if mibBuilder.loadTexts: ntcHWLastChangedTime.setDescription('The value of sysUpTime at the time any of these events occur: * any instance in the following object changes value: - hwmUnitEntryChanged This object shall be set to value 0 in startup.')
ntcHWLoadInventoryContainer = MibScalar((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntcHWLoadInventoryContainer.setStatus('current')
if mibBuilder.loadTexts: ntcHWLoadInventoryContainer.setDescription('Writing any value to this object will cause the hardware management software to reread its configuration file from disk.')
ntcHWUnits = ObjectGroup((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 1, 1)).setObjects(("NOKIA-HWM-MIB", "ntcHWAdminState"), ("NOKIA-HWM-MIB", "ntcHWOperState"), ("NOKIA-HWM-MIB", "ntcHWAvailabilityStatus"), ("NOKIA-HWM-MIB", "ntcHWRestart"), ("NOKIA-HWM-MIB", "ntcHWLedState"), ("NOKIA-HWM-MIB", "ntcHWSerialNumber"), ("NOKIA-HWM-MIB", "ntcHWProductionDate"), ("NOKIA-HWM-MIB", "ntcHWUnitEntryChanged"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ntcHWUnits = ntcHWUnits.setStatus('current')
if mibBuilder.loadTexts: ntcHWUnits.setDescription('A collection of objects representing the status of a unit.')
ntcHWCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 2, 1)).setObjects(("ENTITY-MIB", "entityPhysicalGroup"), ("NOKIA-HWM-MIB", "ntcHWUnits"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ntcHWCompliance = ntcHWCompliance.setStatus('current')
if mibBuilder.loadTexts: ntcHWCompliance.setDescription('The compliance statement Hardware Management.')
mibBuilder.exportSymbols("NOKIA-HWM-MIB", ntcHWCompliance=ntcHWCompliance, ntcHWLedState=ntcHWLedState, ntcHWDesiredUnitType=ntcHWDesiredUnitType, ntcHWLastChangedTime=ntcHWLastChangedTime, ntcHWSlotEntry=ntcHWSlotEntry, ntcHWUnits=ntcHWUnits, ntcHWUnitEntry=ntcHWUnitEntry, ntcHWUnitEntryChanged=ntcHWUnitEntryChanged, ntcHWUnitTable=ntcHWUnitTable, ntcHWProductionDate=ntcHWProductionDate, ntcHWLoadInventoryContainer=ntcHWLoadInventoryContainer, ntcHWGroups=ntcHWGroups, ntcHWCompliances=ntcHWCompliances, ntcHWModule=ntcHWModule, ntcHWOperState=ntcHWOperState, ntcHWRestart=ntcHWRestart, ntcHWEvents=ntcHWEvents, ntcHWAvailabilityStatus=ntcHWAvailabilityStatus, ntcHWAdminState=ntcHWAdminState, ntcHWSlotTable=ntcHWSlotTable, ntcHWSerialNumber=ntcHWSerialNumber, ntcHWObjs=ntcHWObjs, PYSNMP_MODULE_ID=ntcHWModule)
| (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_union, constraints_intersection, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint')
(ent_physical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'entPhysicalIndex')
(ntc_hw_mibs, ntc_hw_reqs, ntc_common_modules) = mibBuilder.importSymbols('NOKIA-COMMON-MIB-OID-REGISTRATION-MIB', 'ntcHWMibs', 'ntcHWReqs', 'ntcCommonModules')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(object_identity, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, integer32, ip_address, time_ticks, module_identity, mib_identifier, unsigned32, counter32, notification_type, iso, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Integer32', 'IpAddress', 'TimeTicks', 'ModuleIdentity', 'MibIdentifier', 'Unsigned32', 'Counter32', 'NotificationType', 'iso', 'Bits')
(autonomous_type, textual_convention, time_stamp, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'AutonomousType', 'TextualConvention', 'TimeStamp', 'DisplayString')
ntc_hw_module = module_identity((1, 3, 6, 1, 4, 1, 94, 1, 16, 5, 1))
ntcHWModule.setRevisions(('1998-08-24 00:00', '1998-09-03 00:00', '1998-09-24 00:00', '1998-10-04 00:00', '1999-01-08 00:00', '1999-08-05 00:00', '1999-10-25 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ntcHWModule.setRevisionsDescriptions(('Rev 0.1 August 24, 1998 Initial version - ready for review', 'Rev 0.2 September 3, 1998 Initial review by Tero Soukko whose comments have been incorporated.', 'Rev 0.3 September 24, 1998 ready for initial review.', 'Rev 0.4 Updated anchors to use values registered by Mika Kiikkila.', 'Rev 1.0 Syntax of ntcHWLastChangedTime changed from DateAndTime to TimeStamp. Traps commented out because they are part of Nokia Common Alarm MIB.', 'Rev 1.01 Those IMPORTS which are not used are removed. Groups ntcHWSlots and ntcHWEventGroup which are not defined in this module are removed. The name NokiaHwmSlotEntry is changed to NtcHWSlotEntry on account of convenience. All notification definions before out-commented removed. Some esthetic modifications made.', "Comment 'The NMS is not allowed to set the value of ntcHWAdminstate to missing.' added to the ntcHWAdminstate's description."))
if mibBuilder.loadTexts:
ntcHWModule.setLastUpdated('9901080000Z')
if mibBuilder.loadTexts:
ntcHWModule.setOrganization('Nokia')
if mibBuilder.loadTexts:
ntcHWModule.setContactInfo('Anna-Kaisa Lindfors Nokia Telecommunications Oy Hiomotie 5, FIN-00380 Helsinki +358-9-51121 anna-kaisa.lindfors@nokia.com')
if mibBuilder.loadTexts:
ntcHWModule.setDescription('The MIB module that is used to control the Hardware Management information.')
ntc_hw_objs = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1))
ntc_hw_events = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 2, 0))
ntc_hw_groups = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 1))
ntc_hw_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 2))
ntc_hw_unit_table = mib_table((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1))
if mibBuilder.loadTexts:
ntcHWUnitTable.setStatus('current')
if mibBuilder.loadTexts:
ntcHWUnitTable.setDescription("A table which contains an entry for each pluggable circuit board (in this MIB a 'unit' is the same as a pluggable circuit board.) Entries of this table are automatically created by the hardware management software.")
ntc_hw_unit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1)).setIndexNames((0, 'ENTITY-MIB', 'entPhysicalIndex'))
if mibBuilder.loadTexts:
ntcHWUnitEntry.setStatus('current')
if mibBuilder.loadTexts:
ntcHWUnitEntry.setDescription('A conceptual row in the ntcHWUnitTable. Rows are created automatically by the Hardware Management software.')
ntc_hw_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('inService', 1), ('outOfService', 2), ('inTest', 3), ('missing', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ntcHWAdminState.setStatus('current')
if mibBuilder.loadTexts:
ntcHWAdminState.setDescription('Represents the desired state of the unit. inService indicates that the unit is intended to be operating normally. outOfService indicates that the unit should be taken out of normal operating mode and no data traffic should appear in this unit. inTest indicates that the unit should be placed into a selftest mode. missing indicates that the unit is expected to be present but has been detected as not being physically present. The NMS is not allowed to set the value of ntcHWAdminstate to missing.')
ntc_hw_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('down', 1), ('up', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWOperState.setStatus('current')
if mibBuilder.loadTexts:
ntcHWOperState.setDescription('Indicates the current state of the unit. down indicates that the unit is in a non-functional state. up indicates that the unit is functioning normally.')
ntc_hw_availability_status = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('inCharge', 1), ('applicationStarting', 2), ('applicationShutdown', 3), ('platformStarting', 4), ('resetting', 5), ('separated', 6), ('unconfigured', 7), ('testing', 8), ('standby', 9), ('dormant', 10), ('unavailable', 11)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWAvailabilityStatus.setStatus('current')
if mibBuilder.loadTexts:
ntcHWAvailabilityStatus.setDescription("Provides more specific information on the state of the unit in this conceptual row. The status column has eleven defined values: inCharge = the unit is fully operational and ready to perform its desired tasks; applicationStarting = the application software is starting up; applicationShutdown = the application software is shutting down; platformStarting = Basic platform software is starting up; resetting = the disk files are closed and hardware reset is forced; separated = Only basic OS software is running. The unit can start application software on request; unconfigured = The administrative state of the unit is 'missing', disk files are closed and only basic OS software is running. The unit refuses to start application software; testing = Selftests can be performed, only basic OS are running; standby = The unit is redundant and is fully operational but not in charge of operations. It is ready to move to 'inCharge' state when necessary; dormant = All connections are physically inactive to enable removal of the unit without electric disturbance in the backplane. Only watchdog software is running for a short duration of time; unavailable = The unit is not physically present or cannot be contacted.")
ntc_hw_restart = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('reset', 1), ('hotRestart', 2), ('detach', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ntcHWRestart.setStatus('current')
if mibBuilder.loadTexts:
ntcHWRestart.setDescription('Provides the ability to reset or perform a hot restart the unit represented by this conceptual row. reset = the Unit is shutdown in an orderly manner and restarted again via hardware reset; hotRestart = only the software in a unit is restarted, a hardware reset is not initiated; detach = all electrical connections of the unit are forced to an inactive state to enable removal of the unit without electrical disturbance in the backplane.')
ntc_hw_led_state = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('red', 1), ('yellow', 2), ('black', 3), ('green', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWLedState.setStatus('current')
if mibBuilder.loadTexts:
ntcHWLedState.setDescription('Indicates the current LED color of the unit represented by this conceptual row.')
ntc_hw_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWSerialNumber.setStatus('current')
if mibBuilder.loadTexts:
ntcHWSerialNumber.setDescription('The units serial number in displayable format.')
ntc_hw_production_date = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWProductionDate.setStatus('current')
if mibBuilder.loadTexts:
ntcHWProductionDate.setDescription('The units production date in displayable format.')
ntc_hw_unit_entry_changed = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 1, 1, 8), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWUnitEntryChanged.setStatus('current')
if mibBuilder.loadTexts:
ntcHWUnitEntryChanged.setDescription('Represents the value of sysUpTime at the instant that this conceptual row entry has changed.')
ntc_hw_slot_table = mib_table((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 2))
if mibBuilder.loadTexts:
ntcHWSlotTable.setStatus('current')
if mibBuilder.loadTexts:
ntcHWSlotTable.setDescription('Table whose entries represent the expected circuit board type. The entries are created automatically by the hardware management software.')
ntc_hw_slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 2, 1)).setIndexNames((0, 'ENTITY-MIB', 'entPhysicalIndex'))
if mibBuilder.loadTexts:
ntcHWSlotEntry.setStatus('current')
if mibBuilder.loadTexts:
ntcHWSlotEntry.setDescription('The logical row describing the expected circiut board type of a slot.')
ntc_hw_desired_unit_type = mib_table_column((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 2, 1, 2), autonomous_type()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ntcHWDesiredUnitType.setStatus('current')
if mibBuilder.loadTexts:
ntcHWDesiredUnitType.setDescription("The unit type which is expected to be inserted or present in the current slot. An indication of the vendor-specific hardware type of the HWM entity. Note that this is different from the definition of MIB-II's sysObjectID. An agent should set this object to a enterprise-specific registration identifier value indicating the specific equipment type in detail. If no vendor-specific registration identifier exists for this entity, or the value is unknown by this agent, then the value { 0 0 } is returned.")
ntc_hw_last_changed_time = mib_scalar((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 3), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntcHWLastChangedTime.setStatus('current')
if mibBuilder.loadTexts:
ntcHWLastChangedTime.setDescription('The value of sysUpTime at the time any of these events occur: * any instance in the following object changes value: - hwmUnitEntryChanged This object shall be set to value 0 in startup.')
ntc_hw_load_inventory_container = mib_scalar((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ntcHWLoadInventoryContainer.setStatus('current')
if mibBuilder.loadTexts:
ntcHWLoadInventoryContainer.setDescription('Writing any value to this object will cause the hardware management software to reread its configuration file from disk.')
ntc_hw_units = object_group((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 1, 1)).setObjects(('NOKIA-HWM-MIB', 'ntcHWAdminState'), ('NOKIA-HWM-MIB', 'ntcHWOperState'), ('NOKIA-HWM-MIB', 'ntcHWAvailabilityStatus'), ('NOKIA-HWM-MIB', 'ntcHWRestart'), ('NOKIA-HWM-MIB', 'ntcHWLedState'), ('NOKIA-HWM-MIB', 'ntcHWSerialNumber'), ('NOKIA-HWM-MIB', 'ntcHWProductionDate'), ('NOKIA-HWM-MIB', 'ntcHWUnitEntryChanged'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ntc_hw_units = ntcHWUnits.setStatus('current')
if mibBuilder.loadTexts:
ntcHWUnits.setDescription('A collection of objects representing the status of a unit.')
ntc_hw_compliance = module_compliance((1, 3, 6, 1, 4, 1, 94, 1, 16, 8, 1, 2, 1)).setObjects(('ENTITY-MIB', 'entityPhysicalGroup'), ('NOKIA-HWM-MIB', 'ntcHWUnits'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ntc_hw_compliance = ntcHWCompliance.setStatus('current')
if mibBuilder.loadTexts:
ntcHWCompliance.setDescription('The compliance statement Hardware Management.')
mibBuilder.exportSymbols('NOKIA-HWM-MIB', ntcHWCompliance=ntcHWCompliance, ntcHWLedState=ntcHWLedState, ntcHWDesiredUnitType=ntcHWDesiredUnitType, ntcHWLastChangedTime=ntcHWLastChangedTime, ntcHWSlotEntry=ntcHWSlotEntry, ntcHWUnits=ntcHWUnits, ntcHWUnitEntry=ntcHWUnitEntry, ntcHWUnitEntryChanged=ntcHWUnitEntryChanged, ntcHWUnitTable=ntcHWUnitTable, ntcHWProductionDate=ntcHWProductionDate, ntcHWLoadInventoryContainer=ntcHWLoadInventoryContainer, ntcHWGroups=ntcHWGroups, ntcHWCompliances=ntcHWCompliances, ntcHWModule=ntcHWModule, ntcHWOperState=ntcHWOperState, ntcHWRestart=ntcHWRestart, ntcHWEvents=ntcHWEvents, ntcHWAvailabilityStatus=ntcHWAvailabilityStatus, ntcHWAdminState=ntcHWAdminState, ntcHWSlotTable=ntcHWSlotTable, ntcHWSerialNumber=ntcHWSerialNumber, ntcHWObjs=ntcHWObjs, PYSNMP_MODULE_ID=ntcHWModule) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.