content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# How to merge two dicts x = {'a': 1, 'b': 2} y = {'c': 3, 'd': 4} z = {**x, **y} print(z)
x = {'a': 1, 'b': 2} y = {'c': 3, 'd': 4} z = {**x, **y} print(z)
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/xavier_ssd/TrekBot/TrekBot2_WS/src/navigation/nav_core/include".split(';') if "/xavier_ssd/TrekBot/TrekBot2_WS/src/navigation/nav_core/include" != "" else [] PROJECT_CATKIN_DEPENDS = "std_msgs;geometry_msgs;tf2_ros;costmap_2d".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "nav_core" PROJECT_SPACE_DIR = "/xavier_ssd/TrekBot/TrekBot2_WS/devel/.private/nav_core" PROJECT_VERSION = "1.16.2"
catkin_package_prefix = '' project_pkg_config_include_dirs = '/xavier_ssd/TrekBot/TrekBot2_WS/src/navigation/nav_core/include'.split(';') if '/xavier_ssd/TrekBot/TrekBot2_WS/src/navigation/nav_core/include' != '' else [] project_catkin_depends = 'std_msgs;geometry_msgs;tf2_ros;costmap_2d'.replace(';', ' ') pkg_config_libraries_with_prefix = ''.split(';') if '' != '' else [] project_name = 'nav_core' project_space_dir = '/xavier_ssd/TrekBot/TrekBot2_WS/devel/.private/nav_core' project_version = '1.16.2'
#!/usr/bin/env python # coding: utf-8 # In[9]: for i in range(int(input())) : print('Distances: ', end='') X,Y = input().split() Z = zip(X, Y) for S in Z : x = ord(S[0]) - ord('A') + 1 y = ord(S[1]) - ord('A') + 1 if x <= y : print(y-x, end= ' ') else : print((y+26)-x, end=' ') print()
for i in range(int(input())): print('Distances: ', end='') (x, y) = input().split() z = zip(X, Y) for s in Z: x = ord(S[0]) - ord('A') + 1 y = ord(S[1]) - ord('A') + 1 if x <= y: print(y - x, end=' ') else: print(y + 26 - x, end=' ') print()
# from sw_site.settings.components import BASE_DIR, config # SECURITY WARNING: keep the secret key used in production secret! # SECRET_KEY = config('DJANGO_SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True CORS_ORIGIN_WHITELIST = ( 'localhost:8000', '127.0.0.1:8000', 'localhost:8080', '127.0.0.1:8080', )
debug = True cors_origin_whitelist = ('localhost:8000', '127.0.0.1:8000', 'localhost:8080', '127.0.0.1:8080')
def get_context_user(context): if 'user' in context: return context['user'] elif 'request' in context: return getattr(context['request'], 'user', None)
def get_context_user(context): if 'user' in context: return context['user'] elif 'request' in context: return getattr(context['request'], 'user', None)
APP_NAME = "PythonCef.Vue.Vuetify2 Template" APP_NAME_NO_SPACE = APP_NAME.replace(' ', '') APP_VERSION = '0.0.1' APP_DESCRIPTION = "Template using PythonCef, Flask, Vue, webpack"
app_name = 'PythonCef.Vue.Vuetify2 Template' app_name_no_space = APP_NAME.replace(' ', '') app_version = '0.0.1' app_description = 'Template using PythonCef, Flask, Vue, webpack'
def count_substring(string, sub_string): c = 0 for i in range(0, len(string)): ss = string[i:len(sub_string)+i] if sub_string == ss: c += 1 return c print(count_substring('ABCDCDC', 'CDC')) print(count_substring('I am an Indian, by birth', 'Birth')) print(count_substring('ThIsisCoNfUsInG', 'is'))
def count_substring(string, sub_string): c = 0 for i in range(0, len(string)): ss = string[i:len(sub_string) + i] if sub_string == ss: c += 1 return c print(count_substring('ABCDCDC', 'CDC')) print(count_substring('I am an Indian, by birth', 'Birth')) print(count_substring('ThIsisCoNfUsInG', 'is'))
a=int(input("Input an integer :")) n1=int("%s"%a) n2=int("%s%s"%(a,a)) n3=int("%s%s%s"%(a,a,a)) print(n1+n2+n3)
a = int(input('Input an integer :')) n1 = int('%s' % a) n2 = int('%s%s' % (a, a)) n3 = int('%s%s%s' % (a, a, a)) print(n1 + n2 + n3)
class Solution: def hasPathSum(self, root, target): def check(curr_node, curr_val): calc_val = curr_val + curr_node.val if calc_val == target and curr_node.left is None and curr_node.right is None: return True elif curr_node.left is not None and check(curr_node.left, calc_val): return True elif curr_node.right is not None and check(curr_node.right, calc_val): return True else: return False if not root: return False return check(root, 0)
class Solution: def has_path_sum(self, root, target): def check(curr_node, curr_val): calc_val = curr_val + curr_node.val if calc_val == target and curr_node.left is None and (curr_node.right is None): return True elif curr_node.left is not None and check(curr_node.left, calc_val): return True elif curr_node.right is not None and check(curr_node.right, calc_val): return True else: return False if not root: return False return check(root, 0)
##Patterns: W0109 ##Warn: W0109 cities = { 'CA': 'San Francisco', 'MI': 'Detroit', 'FL': 'Jacksonville', 'MI': 'Detroit' }
cities = {'CA': 'San Francisco', 'MI': 'Detroit', 'FL': 'Jacksonville', 'MI': 'Detroit'}
matriz = ([0,0,0], [0,0,0], [0,0,0]) par = terceira = maior = 0 for l in range(0,3): for c in range(0,3): matriz[l][c] = int(input(f'Type a value for [{l}, {c}]: ')) if matriz[l][c] % 2 == 0: par += matriz[l][c] print('=-'*15) for l in range (0,3): for c in range(0,3): print(f'[{matriz[l][c]:^5}]', end='') print() print('=-'*15) print(f'Sum of even values: {par}') for l in range(0,3): terceira += matriz[l][2] print(f'Sum from values of third column: {terceira}') for c in range(0,3): if c == 0: maior = matriz[1][c] elif matriz[1][c] > maior: maior = matriz[1][c] print(f'Bigger value of second line: {maior}')
matriz = ([0, 0, 0], [0, 0, 0], [0, 0, 0]) par = terceira = maior = 0 for l in range(0, 3): for c in range(0, 3): matriz[l][c] = int(input(f'Type a value for [{l}, {c}]: ')) if matriz[l][c] % 2 == 0: par += matriz[l][c] print('=-' * 15) for l in range(0, 3): for c in range(0, 3): print(f'[{matriz[l][c]:^5}]', end='') print() print('=-' * 15) print(f'Sum of even values: {par}') for l in range(0, 3): terceira += matriz[l][2] print(f'Sum from values of third column: {terceira}') for c in range(0, 3): if c == 0: maior = matriz[1][c] elif matriz[1][c] > maior: maior = matriz[1][c] print(f'Bigger value of second line: {maior}')
class Constant: __excludes__ = [] class ConstantError(Exception): pass def __setattr__(self, name, value): exclude = name in Constant.__excludes__ if self.__dict__.get(name, None) and not exclude: raise Constant.ConstantError("Property %s is not mutable" % name) self.__dict__[name] = value class Config(Constant): def __init__(self): Constant.__excludes__.append('sslVerification') Constant.__excludes__.append('connectionTimeout') Constant.__excludes__.append('url') Constant.__excludes__.append('useBalancing') Constant.__excludes__.append('rpcDebug') self.version = "1" self.url = "https://wallet.mile.global" self.appSchema = "mile-core:" self.sslVerification = True self.connectionTimeout = 30 self.useBalancing = True self.rpcDebug = False self.web = self.Web(self) class Web(Constant): def __init__(self, config): self.path = "shared" self.url = "https://wallet.mile.global" self.config = config self.wallet = self.Wallet(self) self.payment = self.Payment(self) def nodes_urls(self): return self.url + "/v" + self.config.version + "/nodes.json" def base_url(self): return self.url + "/v" + self.config.version class Wallet(Constant): def __init__(self, web): self.web = web self.public_key = "/" + self.web.path + "/wallet/key/public/" self.private_key = "/" + self.web.path + "/wallet/key/private/" self.note = "/" + self.web.path + "/wallet/note/" self.name = "/" + self.web.path + "/wallet/note/name/" self.secret_phrase = "/" + self.web.path + "/wallet/secret/phrase/" self.amount = "/" + self.web.path + "/wallet/amount/" class Payment: def __init__(self, web): self.web = web self.public_key = "/" + self.web.path + "/payment/key/public/" self.amount = "/" + self.web.path + "/payment/amount/" config = Config()
class Constant: __excludes__ = [] class Constanterror(Exception): pass def __setattr__(self, name, value): exclude = name in Constant.__excludes__ if self.__dict__.get(name, None) and (not exclude): raise Constant.ConstantError('Property %s is not mutable' % name) self.__dict__[name] = value class Config(Constant): def __init__(self): Constant.__excludes__.append('sslVerification') Constant.__excludes__.append('connectionTimeout') Constant.__excludes__.append('url') Constant.__excludes__.append('useBalancing') Constant.__excludes__.append('rpcDebug') self.version = '1' self.url = 'https://wallet.mile.global' self.appSchema = 'mile-core:' self.sslVerification = True self.connectionTimeout = 30 self.useBalancing = True self.rpcDebug = False self.web = self.Web(self) class Web(Constant): def __init__(self, config): self.path = 'shared' self.url = 'https://wallet.mile.global' self.config = config self.wallet = self.Wallet(self) self.payment = self.Payment(self) def nodes_urls(self): return self.url + '/v' + self.config.version + '/nodes.json' def base_url(self): return self.url + '/v' + self.config.version class Wallet(Constant): def __init__(self, web): self.web = web self.public_key = '/' + self.web.path + '/wallet/key/public/' self.private_key = '/' + self.web.path + '/wallet/key/private/' self.note = '/' + self.web.path + '/wallet/note/' self.name = '/' + self.web.path + '/wallet/note/name/' self.secret_phrase = '/' + self.web.path + '/wallet/secret/phrase/' self.amount = '/' + self.web.path + '/wallet/amount/' class Payment: def __init__(self, web): self.web = web self.public_key = '/' + self.web.path + '/payment/key/public/' self.amount = '/' + self.web.path + '/payment/amount/' config = config()
even = int(input("total even number : ")) print(even, "first even number : ",end="") for i in range(2,even*2,2): print (i,end=", ") print(even*2)
even = int(input('total even number : ')) print(even, 'first even number : ', end='') for i in range(2, even * 2, 2): print(i, end=', ') print(even * 2)
__all__ = ["mi_enb_decoder"] PACKET_TYPE = { "0xB0A3": "LTE_PDCP_DL_Cipher_Data_PDU", "0xB0B3": "LTE_PDCP_UL_Cipher_Data_PDU", "0xB173": "LTE_PHY_PDSCH_Stat_Indication", "0xB063": "LTE_MAC_DL_Transport_Block", "0xB064": "LTE_MAC_UL_Transport_Block", "0xB092": "LTE_RLC_UL_AM_All_PDU", "0xB082": "LTE_RLC_DL_AM_All_PDU", "0xB13C": "LTE_PHY_PUCCH_SR", } FUNCTION_NAME = { "0xB0A3": "handle_pdcp_dl", "0xB0B3": "handle_pdcp_ul", "0xB173": "handle_pdsch_stat", "0xB063": "handle_mac_dl", "0xB064": "handle_mac_ul", "0xB092": "handle_rlc_ul", "0xB082": "handle_rlc_dl", "0xB13C": "handle_pucch_sr", } class mi_enb_decoder: def __init__(self, packet): self.packet = str(packet,'utf-8') self.p_type_name = None self.p_type = None self.content = None def get_type_id(self): # print (type(self.packet)) try: l = self.packet.split(" ") # print (l) if (l[1] in PACKET_TYPE): self.p_type = l[1] self.p_type_name = PACKET_TYPE[l[1]] return self.p_type_name except: return None def get_content(self): if self.p_type is None: return -1 else: method_to_call = getattr(self, FUNCTION_NAME[self.p_type]) return method_to_call() def handle_pdsch_stat(self): # PDSCH format: [MI] ID FN SFN nRB try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(" ") d['Records'] = [] dict_tmp = {} dict_tmp['Frame Num'] = int(l[2]) dict_tmp['Subframe Num'] = int(l[3]) dict_tmp['Num RBs'] = int(l[4]) d['Records'].append(dict_tmp) self.content = d finally: return self.content def handle_pdcp_dl(self): # PDCP DL format: [MI] 0xB0A3 FN SFN SN Size try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(" ") d['Subpackets'] = [] dict_tmp = {} dict_tmp['Sys FN'] = int(l[2]) dict_tmp['Sub FN'] = int(l[3]) dict_tmp['SN'] = int(l[4]) dict_tmp['PDU Size'] = int(l[5]) d['Subpackets'].append(dict_tmp) self.content = d finally: return self.content def handle_pdcp_ul(self): # PDCP UL format: [MI] 0xB0B3 FN SFN SN Size RLC_Mode try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(" ") d['Subpackets'] = [] dict_tmp = {} dict_tmp['Sys FN'] = int(l[2]) dict_tmp['Sub FN'] = int(l[3]) dict_tmp['SN'] = int(l[4]) dict_tmp['PDU Size'] = int(l[5]) d['Subpackets'].append(dict_tmp) self.content = d finally: return self.content def handle_mac_ul(self): # MAC UL format: [MI] ID FN SFN Grant try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(" ") d['Subpackets'] = [] dict_tmp = {} dict_tmp['Samples'] = [] dict_tmp2 = {} dict_tmp2['SFN'] = int(l[2]) dict_tmp2['Sub FN'] = int(l[3]) dict_tmp2['Grant (bytes)'] = int(l[4]) dict_tmp['Samples'].append(dict_tmp2) d['Subpackets'].append(dict_tmp) self.content = d finally: return self.content def handle_rlc_ul(self): # Format: [MI] 0xB092 SFN [MI] 0xB092 TYPE(1=data) FN SFN BEARER SIZE HDR_SIZE DATA_SIZE if self.content is None: packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(" ") if l[5] == "0": return None d = {} d['Subpackets'] = [] sub_dict = {} record_dict = {} record_dict['sys_fn'] = int(l[6]) record_dict['sub_fn'] = int(l[2]) record_dict['pdu_bytes'] = int(l[9]) sub_dict['RLCUL PDUs'] = [record_dict] d['Subpackets'].append(sub_dict) self.content = d return self.content def handle_rlc_dl(self): pass def handle_pucch_sr(self): if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(" ") d['Records'] = [] record_dict = {} record_dict['Frame Num'] = int(l[3]) record_dict['Subframe Num'] = int(l[5]) d['Records'].append(record_dict) self.content = d return self.content
__all__ = ['mi_enb_decoder'] packet_type = {'0xB0A3': 'LTE_PDCP_DL_Cipher_Data_PDU', '0xB0B3': 'LTE_PDCP_UL_Cipher_Data_PDU', '0xB173': 'LTE_PHY_PDSCH_Stat_Indication', '0xB063': 'LTE_MAC_DL_Transport_Block', '0xB064': 'LTE_MAC_UL_Transport_Block', '0xB092': 'LTE_RLC_UL_AM_All_PDU', '0xB082': 'LTE_RLC_DL_AM_All_PDU', '0xB13C': 'LTE_PHY_PUCCH_SR'} function_name = {'0xB0A3': 'handle_pdcp_dl', '0xB0B3': 'handle_pdcp_ul', '0xB173': 'handle_pdsch_stat', '0xB063': 'handle_mac_dl', '0xB064': 'handle_mac_ul', '0xB092': 'handle_rlc_ul', '0xB082': 'handle_rlc_dl', '0xB13C': 'handle_pucch_sr'} class Mi_Enb_Decoder: def __init__(self, packet): self.packet = str(packet, 'utf-8') self.p_type_name = None self.p_type = None self.content = None def get_type_id(self): try: l = self.packet.split(' ') if l[1] in PACKET_TYPE: self.p_type = l[1] self.p_type_name = PACKET_TYPE[l[1]] return self.p_type_name except: return None def get_content(self): if self.p_type is None: return -1 else: method_to_call = getattr(self, FUNCTION_NAME[self.p_type]) return method_to_call() def handle_pdsch_stat(self): try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(' ') d['Records'] = [] dict_tmp = {} dict_tmp['Frame Num'] = int(l[2]) dict_tmp['Subframe Num'] = int(l[3]) dict_tmp['Num RBs'] = int(l[4]) d['Records'].append(dict_tmp) self.content = d finally: return self.content def handle_pdcp_dl(self): try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(' ') d['Subpackets'] = [] dict_tmp = {} dict_tmp['Sys FN'] = int(l[2]) dict_tmp['Sub FN'] = int(l[3]) dict_tmp['SN'] = int(l[4]) dict_tmp['PDU Size'] = int(l[5]) d['Subpackets'].append(dict_tmp) self.content = d finally: return self.content def handle_pdcp_ul(self): try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(' ') d['Subpackets'] = [] dict_tmp = {} dict_tmp['Sys FN'] = int(l[2]) dict_tmp['Sub FN'] = int(l[3]) dict_tmp['SN'] = int(l[4]) dict_tmp['PDU Size'] = int(l[5]) d['Subpackets'].append(dict_tmp) self.content = d finally: return self.content def handle_mac_ul(self): try: if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(' ') d['Subpackets'] = [] dict_tmp = {} dict_tmp['Samples'] = [] dict_tmp2 = {} dict_tmp2['SFN'] = int(l[2]) dict_tmp2['Sub FN'] = int(l[3]) dict_tmp2['Grant (bytes)'] = int(l[4]) dict_tmp['Samples'].append(dict_tmp2) d['Subpackets'].append(dict_tmp) self.content = d finally: return self.content def handle_rlc_ul(self): if self.content is None: packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(' ') if l[5] == '0': return None d = {} d['Subpackets'] = [] sub_dict = {} record_dict = {} record_dict['sys_fn'] = int(l[6]) record_dict['sub_fn'] = int(l[2]) record_dict['pdu_bytes'] = int(l[9]) sub_dict['RLCUL PDUs'] = [record_dict] d['Subpackets'].append(sub_dict) self.content = d return self.content def handle_rlc_dl(self): pass def handle_pucch_sr(self): if self.content is None: d = {} packet = self.packet if packet[-1] == '\n': packet = packet[0:-1] l = packet.split(' ') d['Records'] = [] record_dict = {} record_dict['Frame Num'] = int(l[3]) record_dict['Subframe Num'] = int(l[5]) d['Records'].append(record_dict) self.content = d return self.content
# Python - 2.7.6 eval_object = lambda v: { '+': v['a'] + v['b'], '-': v['a'] - v['b'], '/': v['a'] / v['b'], '*': v['a'] * v['b'], '%': v['a'] % v['b'], '**': v['a'] ** v['b'] }.get(v['operation'], 0)
eval_object = lambda v: {'+': v['a'] + v['b'], '-': v['a'] - v['b'], '/': v['a'] / v['b'], '*': v['a'] * v['b'], '%': v['a'] % v['b'], '**': v['a'] ** v['b']}.get(v['operation'], 0)
frase = str(input('Digite uma frase: ')) m5 = ' '.join(frase.replace(' ', '')) print(m5.split())
frase = str(input('Digite uma frase: ')) m5 = ' '.join(frase.replace(' ', '')) print(m5.split())
# varia class Sleep: def NREM(self): print('NREM') def REM(self): print('REM') class Awake: def act(self): print('act')
class Sleep: def nrem(self): print('NREM') def rem(self): print('REM') class Awake: def act(self): print('act')
#Init records_storage = dict() line_break = "-----------------------------------------------\n" run_program = True # Define Functions def add_item(key, value): records_storage[key] = value def delete_item(key): try: del records_storage[key] except KeyError: print(f"Key '{key}' could not be found") except: print("Something else went wrong") def display_data(): print("Values: ", records_storage) print(line_break) # Run Process while run_program: action = str(input("What would you like to do? \n[A] - Add Data\n[B] - Delete Data\n[C] - End]\n")).lower() if(action == 'a'): print("\nAdd Data Selected") key = str(input("Enter Key: ")) value = str(input("Enter Value:")) add_item(key, value) display_data() elif(action == 'b'): print("\nDelete Data Selected") key = str(input("Enter Key: ")) delete_item(key) display_data() elif(action == 'c'): print("\nTHANK YOU") break; else: print(f"\nThe command '{action}' was not found. Please try again") print(line_break)
records_storage = dict() line_break = '-----------------------------------------------\n' run_program = True def add_item(key, value): records_storage[key] = value def delete_item(key): try: del records_storage[key] except KeyError: print(f"Key '{key}' could not be found") except: print('Something else went wrong') def display_data(): print('Values: ', records_storage) print(line_break) while run_program: action = str(input('What would you like to do? \n[A] - Add Data\n[B] - Delete Data\n[C] - End]\n')).lower() if action == 'a': print('\nAdd Data Selected') key = str(input('Enter Key: ')) value = str(input('Enter Value:')) add_item(key, value) display_data() elif action == 'b': print('\nDelete Data Selected') key = str(input('Enter Key: ')) delete_item(key) display_data() elif action == 'c': print('\nTHANK YOU') break else: print(f"\nThe command '{action}' was not found. Please try again") print(line_break)
def example1(): g = ig.load("data/out_1.graphml") # whichever file you would like dend = g.community_fastgreedy() #get the clustering object c = dend.as_clustering() result = metrics.run_analysis(c) print(c)
def example1(): g = ig.load('data/out_1.graphml') dend = g.community_fastgreedy() c = dend.as_clustering() result = metrics.run_analysis(c) print(c)
class Player(object): def __init__(self): self.name = None self.results = dict() self.rolls = [] self.scores = dict() # # set pins scores for a frame. # def set_result(self, frame, result): self.results[frame] = result def calculate_score(self): running_total = 0 for frame, result in self.results.items(): frame_score = 0 # this is brutal but works, needs to be simplified currentIndex = result['index'] if result['strike'] or result['spare']: if len(self.rolls) - 1 >= currentIndex + 2: frame_score = self.rolls[currentIndex] + self.rolls[currentIndex + 1] + self.rolls[currentIndex + 2] else: frame_score = self.rolls[currentIndex] + self.rolls[currentIndex + 1] if frame == 10 and len(self.rolls) - 1 >= currentIndex + 2: frame_score = frame_score + self.rolls[currentIndex + 2] running_total = running_total + frame_score self.scores[frame] = { "frame_score": frame_score, "running_total": running_total }
class Player(object): def __init__(self): self.name = None self.results = dict() self.rolls = [] self.scores = dict() def set_result(self, frame, result): self.results[frame] = result def calculate_score(self): running_total = 0 for (frame, result) in self.results.items(): frame_score = 0 current_index = result['index'] if result['strike'] or result['spare']: if len(self.rolls) - 1 >= currentIndex + 2: frame_score = self.rolls[currentIndex] + self.rolls[currentIndex + 1] + self.rolls[currentIndex + 2] else: frame_score = self.rolls[currentIndex] + self.rolls[currentIndex + 1] if frame == 10 and len(self.rolls) - 1 >= currentIndex + 2: frame_score = frame_score + self.rolls[currentIndex + 2] running_total = running_total + frame_score self.scores[frame] = {'frame_score': frame_score, 'running_total': running_total}
#--------------------------------- # BATCH DEFAULTS #--------------------------------- # The default options applied to each stage in the shell script. These options # are overwritten by the options provided by the individual stages in the next # section. # Stage options which Rubra will recognise are: # - distributed: a boolean determining whether the task should be submitted to # a cluster job scheduling system (True) or run on the system local to Rubra # (False). # - walltime: for a distributed PBS job, gives the walltime requested from the # job queue system; the maximum allowed runtime. For local jobs has no # effect. # - memInGB: for a distributed PBS job, gives the memory in gigabytes requested # from the job queue system. For local jobs has no effect. # - queue: for a distributed PBS job, this is the name of the queue to submit # the job to. For local jobs has no effect. # - modules: the modules to be loaded before running the task. This is intended # for systems with environment modules installed. Rubra will call module load # on each required module before running the task. Note that defining modules # for individual stages will override (not add to) any modules listed here. # This currently only works for distributed jobs. stageDefaults = { "distributed": True, "walltime": "01:00:00", "memInGB": 4, "queue": "main", "modules": [ "perl/5.18.0", "java/1.7.0_25", "samtools-intel/0.1.19", "python-gcc/2.7.5", "fastqc/0.10.1", "bowtie2-intel/2.1.0", "tophat-gcc/2.0.8", "cufflinks-gcc/2.1.1", "bwa-intel/0.7.5a", ], "manager": "slurm", } #--------------------------------- # PBS STAGES #--------------------------------- # The configuration options for individual stages. stages = { "makeIndexHtml": { "command": "python %html_index %name %samp %comp %results %output", "walltime": "10:00", }, "fastQC": { "command": "fastqc -o %outdir -f fastq %pair1 %pair2", "walltime": "30:00" }, "trimReads": { "command": "java -Xmx6g %tmp -jar %trimmomatic %paired -threads 1 " \ "-phred33 %log %parameters", "walltime": "10:00:00", "memInGB": 10, }, "fastQCSummary": { "command": "python %script %fastqc_dir %fastqc_post_trim_dir " \ "%qc_summary %fastqc_summary %paired > %summary_txt", "walltime": "10:00", }, "buildTranscriptomeIndex": { "command": "sh %buildIndex %seq %tmp_dir %index_dir %index %gene_ref " \ "%genome_ref", "walltime": "2:00:00", "queue": "smp" }, "tophatAlign": { "command": "sh %tophat %pair1 %pair2 %out_dir %gene_ref %genome_ref " \ "%known %rgsm %rglb %rgid %rgpl %link", "walltime": "10:00:00", "memInGB": 32, "queue": "smp" }, "sortBam": { "command": "samtools sort %bam %output", "walltime": "2:00:00" }, "indexBam": { "command": "samtools index %bam", "walltime": "1:00:00" }, "mergeTophat" : { "command": "sh %merge %fix_reads %samp_dir %output", "walltime": "1:00:00", "memInGB": 24 }, "reorderBam": { "command": "java -Xmx2g %tmp -jar %reorder_sam INPUT=%input " \ "OUTPUT=%output REFERENCE=%genome_ref", "walltime": "1:00:00" }, "addRG": { "command": "java -Xmx2g %tmp -jar %add_rg INPUT=%bam OUTPUT=%output " \ "RGSM=%rgsm RGLB=%rglb RGID=%rgid RGPL=%rgpl RGPU=%rgpu", "walltime": "1:00:00" }, "markDuplicates": { "command": "java -Xmx10g %tmp -jar %mark_dup INPUT=%input " \ "REMOVE_DUPLICATES=false VALIDATION_STRINGENCY=LENIENT " \ "AS=true METRICS_FILE=%log OUTPUT=%output", "walltime": "1:00:00", "memInGB": 12 }, "rnaSeQC": { "command": "java -Xmx10g %tmp -jar %rnaseqc %paired -n 1000 -s %samp " \ "-r %genome_ref -t %gene_ref %rrna_ref -o %outDir", "walltime": "1:00:00", "memInGB": 16 }, "cufflinksAssembly": { "command": "cufflinks -p 8 -o %outdir %in", "walltime": "2:00:00", "memInGB": 32, "queue": "smp" }, "cuffmerge": { "command": "cuffmerge -g %gene_ref -s %genome_ref -p 8 -o %outdir %in", "walltime": "2:00:00", "memInGB": 32, "queue": "smp" }, "cuffdiff": { "command": "cuffdiff %mask -o %outdir -p 8 -L %labels -u %merged_gtf " \ "%samples1 %samples2", "walltime": "8:00:00", "memInGB": 40, "queue": "smp" }, "sortBamByName": { "command": "samtools sort -n %bam_file %sorted_file", "walltime": "1:00:00", }, "alignmentStats": { "command": "sh %script %bam %unmapped %output %paired", "walltime": "1:00:00", }, "qcSummary": { "command": "python %qc_script %fastqc_dir %fastqc_post_dir " \ "%alignment_stats_dir %rnaqc_dir %qc_summary %paired", "walltime": "10:00", }, "countReads": { "command": "sh %htseq %bam %gene_ref %union %strict %stranded", "walltime": "5:00:00", }, "combineAndAnnotate": { "command": "R --no-save --args %samples %comparisons %plain_text " \ "%rdata %annotate < %combine > %stdout 2> %stderr", "walltime": "30:00", "modules": ["R-intel/2.15.3"], }, "voom": { "command": "R --no-save --args %rdata %outdir %voom < %script " \ "> %stdout 2> %stderr", "walltime": "30:00", "modules": ["R-intel/2.15.3"] }, "edgeR": { "command": "R --no-save --args %rdata %outdir %edgeR < %script " \ "> %stdout 2> %stderr", "walltime": "30:00", "modules": ["R-intel/2.15.3"] }, }
stage_defaults = {'distributed': True, 'walltime': '01:00:00', 'memInGB': 4, 'queue': 'main', 'modules': ['perl/5.18.0', 'java/1.7.0_25', 'samtools-intel/0.1.19', 'python-gcc/2.7.5', 'fastqc/0.10.1', 'bowtie2-intel/2.1.0', 'tophat-gcc/2.0.8', 'cufflinks-gcc/2.1.1', 'bwa-intel/0.7.5a'], 'manager': 'slurm'} stages = {'makeIndexHtml': {'command': 'python %html_index %name %samp %comp %results %output', 'walltime': '10:00'}, 'fastQC': {'command': 'fastqc -o %outdir -f fastq %pair1 %pair2', 'walltime': '30:00'}, 'trimReads': {'command': 'java -Xmx6g %tmp -jar %trimmomatic %paired -threads 1 -phred33 %log %parameters', 'walltime': '10:00:00', 'memInGB': 10}, 'fastQCSummary': {'command': 'python %script %fastqc_dir %fastqc_post_trim_dir %qc_summary %fastqc_summary %paired > %summary_txt', 'walltime': '10:00'}, 'buildTranscriptomeIndex': {'command': 'sh %buildIndex %seq %tmp_dir %index_dir %index %gene_ref %genome_ref', 'walltime': '2:00:00', 'queue': 'smp'}, 'tophatAlign': {'command': 'sh %tophat %pair1 %pair2 %out_dir %gene_ref %genome_ref %known %rgsm %rglb %rgid %rgpl %link', 'walltime': '10:00:00', 'memInGB': 32, 'queue': 'smp'}, 'sortBam': {'command': 'samtools sort %bam %output', 'walltime': '2:00:00'}, 'indexBam': {'command': 'samtools index %bam', 'walltime': '1:00:00'}, 'mergeTophat': {'command': 'sh %merge %fix_reads %samp_dir %output', 'walltime': '1:00:00', 'memInGB': 24}, 'reorderBam': {'command': 'java -Xmx2g %tmp -jar %reorder_sam INPUT=%input OUTPUT=%output REFERENCE=%genome_ref', 'walltime': '1:00:00'}, 'addRG': {'command': 'java -Xmx2g %tmp -jar %add_rg INPUT=%bam OUTPUT=%output RGSM=%rgsm RGLB=%rglb RGID=%rgid RGPL=%rgpl RGPU=%rgpu', 'walltime': '1:00:00'}, 'markDuplicates': {'command': 'java -Xmx10g %tmp -jar %mark_dup INPUT=%input REMOVE_DUPLICATES=false VALIDATION_STRINGENCY=LENIENT AS=true METRICS_FILE=%log OUTPUT=%output', 'walltime': '1:00:00', 'memInGB': 12}, 'rnaSeQC': {'command': 'java -Xmx10g %tmp -jar %rnaseqc %paired -n 1000 -s %samp -r %genome_ref -t %gene_ref %rrna_ref -o %outDir', 'walltime': '1:00:00', 'memInGB': 16}, 'cufflinksAssembly': {'command': 'cufflinks -p 8 -o %outdir %in', 'walltime': '2:00:00', 'memInGB': 32, 'queue': 'smp'}, 'cuffmerge': {'command': 'cuffmerge -g %gene_ref -s %genome_ref -p 8 -o %outdir %in', 'walltime': '2:00:00', 'memInGB': 32, 'queue': 'smp'}, 'cuffdiff': {'command': 'cuffdiff %mask -o %outdir -p 8 -L %labels -u %merged_gtf %samples1 %samples2', 'walltime': '8:00:00', 'memInGB': 40, 'queue': 'smp'}, 'sortBamByName': {'command': 'samtools sort -n %bam_file %sorted_file', 'walltime': '1:00:00'}, 'alignmentStats': {'command': 'sh %script %bam %unmapped %output %paired', 'walltime': '1:00:00'}, 'qcSummary': {'command': 'python %qc_script %fastqc_dir %fastqc_post_dir %alignment_stats_dir %rnaqc_dir %qc_summary %paired', 'walltime': '10:00'}, 'countReads': {'command': 'sh %htseq %bam %gene_ref %union %strict %stranded', 'walltime': '5:00:00'}, 'combineAndAnnotate': {'command': 'R --no-save --args %samples %comparisons %plain_text %rdata %annotate < %combine > %stdout 2> %stderr', 'walltime': '30:00', 'modules': ['R-intel/2.15.3']}, 'voom': {'command': 'R --no-save --args %rdata %outdir %voom < %script > %stdout 2> %stderr', 'walltime': '30:00', 'modules': ['R-intel/2.15.3']}, 'edgeR': {'command': 'R --no-save --args %rdata %outdir %edgeR < %script > %stdout 2> %stderr', 'walltime': '30:00', 'modules': ['R-intel/2.15.3']}}
class Diamond: START_LETTER = 'A' ENTER = '\n' SPACE = ' ' BLANK = '' def __init__(self, upTo): self.upTo = upTo def show(self): top = self.BLANK bottom = self.BLANK for c in range(ord(self.START_LETTER), ord(self.upTo)+1): line = self.buildLine(chr(c)) top += line bottom = self.bottomLine(chr(c), line, bottom) return top + bottom def bottomLine(self, c, line, bottom): return line + bottom if(c != self.upTo) else bottom def buildLine(self, c): return self.indent(c) + \ self.letter(c) + \ self.innerSpace(c) + \ self.secondLetter(c) + \ self.ENTER def letter(self, c): return c def secondLetter(self, c): return c if c != self.START_LETTER else '' def indent(self, c): count = ord(self.upTo) - ord(c) return self.makeSpace(count) def innerSpace(self, c): index = ord(c) - ord(self.START_LETTER) count = index*2-1 return self.makeSpace(count) def makeSpace(self, count): space = '' for i in range(0, count): space += self.SPACE return space
class Diamond: start_letter = 'A' enter = '\n' space = ' ' blank = '' def __init__(self, upTo): self.upTo = upTo def show(self): top = self.BLANK bottom = self.BLANK for c in range(ord(self.START_LETTER), ord(self.upTo) + 1): line = self.buildLine(chr(c)) top += line bottom = self.bottomLine(chr(c), line, bottom) return top + bottom def bottom_line(self, c, line, bottom): return line + bottom if c != self.upTo else bottom def build_line(self, c): return self.indent(c) + self.letter(c) + self.innerSpace(c) + self.secondLetter(c) + self.ENTER def letter(self, c): return c def second_letter(self, c): return c if c != self.START_LETTER else '' def indent(self, c): count = ord(self.upTo) - ord(c) return self.makeSpace(count) def inner_space(self, c): index = ord(c) - ord(self.START_LETTER) count = index * 2 - 1 return self.makeSpace(count) def make_space(self, count): space = '' for i in range(0, count): space += self.SPACE return space
# https://docs.google.com/document/d/1Ljm9S29J-mFOZ3fwrkGohMDrn9fORVteWjzucuZfyaM/edit?usp=sharing # Huu Hung Nguyen # 12/12/2021 # Nguyen_HuuHung_accounts.py # The program stores the Account class, the SavingAccount class, and # the CreditCardAccount class. class Account: ''' Account class for representing and manipulating number, balance coordinates. ''' def __init__(self, number, balance): ''' Create a new point at the given coordinates. ''' self.number = number self.balance = balance def __str__(self): ''' Display the account number and balance. ''' display = f'Account number: {self.number}' + '\n' + \ f'Balance: ${self.balance:,.2f}' return display def deposit(self, amount): ''' Return the balance after depositting. ''' if amount >= 0: self.balance += amount return self.balance def withdraw(self, amount): ''' Return the balance after withdrawing. ''' if amount <= self.balance: self.balance -= amount return self.balance class SavingAccount(Account): ''' SavingAccount class for representing and manipulating number, balance, apr coordinates. ''' def __init__(self, number, balance, apr): ''' Create a new point at the given coordinates. ''' super().__init__(number, balance) self.apr = apr / 100 def __str__(self): ''' Display the account number, balance, and apr. ''' return super().__str__() + f'\nAPR: {self.apr * 100:,.2f}%' def calculate_interest(self): ''' Return the annual interest. ''' annual_interest = self.balance * self.apr return annual_interest class CreditCardAccount(Account): ''' SavingAccount class for representing and manipulating number, balance, apr, credit limit coordinates. ''' def __init__(self, number, balance, apr, credit_limit): ''' Create a new point at the given coordinates. ''' super().__init__(number, balance) self.apr = apr / 100 self.credit_limit = credit_limit def __str__(self): ''' Display the account number, balance, apr, and credit limit. ''' display = super().__str__() + f'\nAPR: {self.apr * 100:,.2f}%' + \ f'\nCredit Limit: ${self.credit_limit:,.2f}' return display def withdraw(self, amount): ''' Return the balance after withdrawing. ''' if amount <= self.balance + self.credit_limit: self.balance -= amount return self.balance def calculate_payment(self): ''' Return the monthly payment. ''' if self.balance > 0: monthly_payment = 0 elif (self.apr / 12) * (-self.balance) >= 20: monthly_payment = 20 else: monthly_payment = (self.apr / 12) * (-self.balance) return monthly_payment
class Account: """ Account class for representing and manipulating number, balance coordinates. """ def __init__(self, number, balance): """ Create a new point at the given coordinates. """ self.number = number self.balance = balance def __str__(self): """ Display the account number and balance. """ display = f'Account number: {self.number}' + '\n' + f'Balance: ${self.balance:,.2f}' return display def deposit(self, amount): """ Return the balance after depositting. """ if amount >= 0: self.balance += amount return self.balance def withdraw(self, amount): """ Return the balance after withdrawing. """ if amount <= self.balance: self.balance -= amount return self.balance class Savingaccount(Account): """ SavingAccount class for representing and manipulating number, balance, apr coordinates. """ def __init__(self, number, balance, apr): """ Create a new point at the given coordinates. """ super().__init__(number, balance) self.apr = apr / 100 def __str__(self): """ Display the account number, balance, and apr. """ return super().__str__() + f'\nAPR: {self.apr * 100:,.2f}%' def calculate_interest(self): """ Return the annual interest. """ annual_interest = self.balance * self.apr return annual_interest class Creditcardaccount(Account): """ SavingAccount class for representing and manipulating number, balance, apr, credit limit coordinates. """ def __init__(self, number, balance, apr, credit_limit): """ Create a new point at the given coordinates. """ super().__init__(number, balance) self.apr = apr / 100 self.credit_limit = credit_limit def __str__(self): """ Display the account number, balance, apr, and credit limit. """ display = super().__str__() + f'\nAPR: {self.apr * 100:,.2f}%' + f'\nCredit Limit: ${self.credit_limit:,.2f}' return display def withdraw(self, amount): """ Return the balance after withdrawing. """ if amount <= self.balance + self.credit_limit: self.balance -= amount return self.balance def calculate_payment(self): """ Return the monthly payment. """ if self.balance > 0: monthly_payment = 0 elif self.apr / 12 * -self.balance >= 20: monthly_payment = 20 else: monthly_payment = self.apr / 12 * -self.balance return monthly_payment
path = "data/DataPoints.txt" lines_path = "data/lines.txt" index_and_slope_delim = ';' slope_and_intercept_delim = ":" delim = ","
path = 'data/DataPoints.txt' lines_path = 'data/lines.txt' index_and_slope_delim = ';' slope_and_intercept_delim = ':' delim = ','
routers = dict( BASE = dict( default_application = "webremote", default_controller = "webremote", default_function = "index", ) )
routers = dict(BASE=dict(default_application='webremote', default_controller='webremote', default_function='index'))
# # PySNMP MIB module BIANCA-BRICK-TOKEN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BIANCA-BRICK-TOKEN-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:21: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) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Counter64, TimeTicks, Gauge32, NotificationType, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, Bits, Counter32, ObjectIdentity, IpAddress, MibIdentifier, iso, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "TimeTicks", "Gauge32", "NotificationType", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "Bits", "Counter32", "ObjectIdentity", "IpAddress", "MibIdentifier", "iso", "ModuleIdentity") TextualConvention, PhysAddress, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "PhysAddress", "DisplayString") org = MibIdentifier((1, 3)) dod = MibIdentifier((1, 3, 6)) internet = MibIdentifier((1, 3, 6, 1)) private = MibIdentifier((1, 3, 6, 1, 4)) enterprises = MibIdentifier((1, 3, 6, 1, 4, 1)) bintec = MibIdentifier((1, 3, 6, 1, 4, 1, 272)) bibo = MibIdentifier((1, 3, 6, 1, 4, 1, 272, 4)) tokenring = MibIdentifier((1, 3, 6, 1, 4, 1, 272, 4, 11)) class Date(Integer32): pass class HexValue(Integer32): pass tokenringIfTable = MibTable((1, 3, 6, 1, 4, 1, 272, 4, 11, 1), ) if mibBuilder.loadTexts: tokenringIfTable.setStatus('mandatory') tokenringIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1), ).setIndexNames((0, "BIANCA-BRICK-TOKEN-MIB", "tokenringIfSlot")) if mibBuilder.loadTexts: tokenringIfEntry.setStatus('mandatory') tokenringIfSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfSlot.setStatus('mandatory') tokenringIfState = MibScalar((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=NamedValues(("down", 1), ("start", 2), ("download", 3), ("reset", 4), ("bud", 5), ("tferipb", 6), ("wait1", 7), ("open", 8), ("wait2", 9), ("delay1", 10), ("receive", 11), ("wait3", 12), ("done", 13), ("close", 14), ("error", 15)))).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfState.setStatus('mandatory') tokenringIfRingRate = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("tr-4Mbit", 1), ("tr-16Mbit", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenringIfRingRate.setStatus('mandatory') tokenringIfEarlyTokenRelease = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenringIfEarlyTokenRelease.setStatus('mandatory') tokenringIfWrapInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenringIfWrapInterface.setStatus('mandatory') tokenringIfMtu = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(15, 17800))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenringIfMtu.setStatus('mandatory') tokenringIfOverwritePhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 7), PhysAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenringIfOverwritePhysAddress.setStatus('mandatory') tokenringIfNAUN = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 8), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfNAUN.setStatus('mandatory') tokenringIfLineError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfLineError.setStatus('mandatory') tokenringIfBurstError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfBurstError.setStatus('mandatory') tokenringIfAriFciError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfAriFciError.setStatus('mandatory') tokenringIfLostFrameError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfLostFrameError.setStatus('mandatory') tokenringIfReceiveCongestionError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfReceiveCongestionError.setStatus('mandatory') tokenringIfFrameCopiedError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfFrameCopiedError.setStatus('mandatory') tokenringIfTokenError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfTokenError.setStatus('mandatory') tokenringIfDmaBusError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfDmaBusError.setStatus('mandatory') tokenringIfDmaParityError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfDmaParityError.setStatus('mandatory') tokenringIfSoftError = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenringIfSoftError.setStatus('mandatory') tokenringIfSourceRouting = MibTableColumn((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenringIfSourceRouting.setStatus('mandatory') mibBuilder.exportSymbols("BIANCA-BRICK-TOKEN-MIB", tokenringIfAriFciError=tokenringIfAriFciError, tokenringIfSlot=tokenringIfSlot, tokenringIfWrapInterface=tokenringIfWrapInterface, tokenringIfRingRate=tokenringIfRingRate, HexValue=HexValue, internet=internet, tokenringIfSoftError=tokenringIfSoftError, bintec=bintec, tokenringIfNAUN=tokenringIfNAUN, tokenringIfState=tokenringIfState, bibo=bibo, tokenringIfLostFrameError=tokenringIfLostFrameError, private=private, tokenringIfTokenError=tokenringIfTokenError, tokenringIfReceiveCongestionError=tokenringIfReceiveCongestionError, org=org, tokenring=tokenring, tokenringIfEntry=tokenringIfEntry, Date=Date, tokenringIfTable=tokenringIfTable, tokenringIfOverwritePhysAddress=tokenringIfOverwritePhysAddress, tokenringIfFrameCopiedError=tokenringIfFrameCopiedError, tokenringIfBurstError=tokenringIfBurstError, tokenringIfDmaParityError=tokenringIfDmaParityError, tokenringIfSourceRouting=tokenringIfSourceRouting, tokenringIfEarlyTokenRelease=tokenringIfEarlyTokenRelease, tokenringIfMtu=tokenringIfMtu, dod=dod, tokenringIfLineError=tokenringIfLineError, enterprises=enterprises, tokenringIfDmaBusError=tokenringIfDmaBusError)
(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, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (counter64, time_ticks, gauge32, notification_type, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, bits, counter32, object_identity, ip_address, mib_identifier, iso, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'TimeTicks', 'Gauge32', 'NotificationType', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'Bits', 'Counter32', 'ObjectIdentity', 'IpAddress', 'MibIdentifier', 'iso', 'ModuleIdentity') (textual_convention, phys_address, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'PhysAddress', 'DisplayString') org = mib_identifier((1, 3)) dod = mib_identifier((1, 3, 6)) internet = mib_identifier((1, 3, 6, 1)) private = mib_identifier((1, 3, 6, 1, 4)) enterprises = mib_identifier((1, 3, 6, 1, 4, 1)) bintec = mib_identifier((1, 3, 6, 1, 4, 1, 272)) bibo = mib_identifier((1, 3, 6, 1, 4, 1, 272, 4)) tokenring = mib_identifier((1, 3, 6, 1, 4, 1, 272, 4, 11)) class Date(Integer32): pass class Hexvalue(Integer32): pass tokenring_if_table = mib_table((1, 3, 6, 1, 4, 1, 272, 4, 11, 1)) if mibBuilder.loadTexts: tokenringIfTable.setStatus('mandatory') tokenring_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1)).setIndexNames((0, 'BIANCA-BRICK-TOKEN-MIB', 'tokenringIfSlot')) if mibBuilder.loadTexts: tokenringIfEntry.setStatus('mandatory') tokenring_if_slot = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfSlot.setStatus('mandatory') tokenring_if_state = mib_scalar((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=named_values(('down', 1), ('start', 2), ('download', 3), ('reset', 4), ('bud', 5), ('tferipb', 6), ('wait1', 7), ('open', 8), ('wait2', 9), ('delay1', 10), ('receive', 11), ('wait3', 12), ('done', 13), ('close', 14), ('error', 15)))).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfState.setStatus('mandatory') tokenring_if_ring_rate = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('tr-4Mbit', 1), ('tr-16Mbit', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tokenringIfRingRate.setStatus('mandatory') tokenring_if_early_token_release = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tokenringIfEarlyTokenRelease.setStatus('mandatory') tokenring_if_wrap_interface = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tokenringIfWrapInterface.setStatus('mandatory') tokenring_if_mtu = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(15, 17800))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tokenringIfMtu.setStatus('mandatory') tokenring_if_overwrite_phys_address = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 7), phys_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tokenringIfOverwritePhysAddress.setStatus('mandatory') tokenring_if_naun = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 8), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfNAUN.setStatus('mandatory') tokenring_if_line_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfLineError.setStatus('mandatory') tokenring_if_burst_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfBurstError.setStatus('mandatory') tokenring_if_ari_fci_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfAriFciError.setStatus('mandatory') tokenring_if_lost_frame_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfLostFrameError.setStatus('mandatory') tokenring_if_receive_congestion_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfReceiveCongestionError.setStatus('mandatory') tokenring_if_frame_copied_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfFrameCopiedError.setStatus('mandatory') tokenring_if_token_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfTokenError.setStatus('mandatory') tokenring_if_dma_bus_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfDmaBusError.setStatus('mandatory') tokenring_if_dma_parity_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfDmaParityError.setStatus('mandatory') tokenring_if_soft_error = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tokenringIfSoftError.setStatus('mandatory') tokenring_if_source_routing = mib_table_column((1, 3, 6, 1, 4, 1, 272, 4, 11, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tokenringIfSourceRouting.setStatus('mandatory') mibBuilder.exportSymbols('BIANCA-BRICK-TOKEN-MIB', tokenringIfAriFciError=tokenringIfAriFciError, tokenringIfSlot=tokenringIfSlot, tokenringIfWrapInterface=tokenringIfWrapInterface, tokenringIfRingRate=tokenringIfRingRate, HexValue=HexValue, internet=internet, tokenringIfSoftError=tokenringIfSoftError, bintec=bintec, tokenringIfNAUN=tokenringIfNAUN, tokenringIfState=tokenringIfState, bibo=bibo, tokenringIfLostFrameError=tokenringIfLostFrameError, private=private, tokenringIfTokenError=tokenringIfTokenError, tokenringIfReceiveCongestionError=tokenringIfReceiveCongestionError, org=org, tokenring=tokenring, tokenringIfEntry=tokenringIfEntry, Date=Date, tokenringIfTable=tokenringIfTable, tokenringIfOverwritePhysAddress=tokenringIfOverwritePhysAddress, tokenringIfFrameCopiedError=tokenringIfFrameCopiedError, tokenringIfBurstError=tokenringIfBurstError, tokenringIfDmaParityError=tokenringIfDmaParityError, tokenringIfSourceRouting=tokenringIfSourceRouting, tokenringIfEarlyTokenRelease=tokenringIfEarlyTokenRelease, tokenringIfMtu=tokenringIfMtu, dod=dod, tokenringIfLineError=tokenringIfLineError, enterprises=enterprises, tokenringIfDmaBusError=tokenringIfDmaBusError)
LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' def evalFile(f1, f2): op = open(f1) plain = op.read() op.close() op = open(f2) imperfect = op.read() op.close() list1 = [] list2 = [] for letter in plain: if letter.upper() in LETTERS: if letter.upper() not in list1: list1.append(letter.upper()) for letter in imperfect: if letter.upper() in LETTERS: if letter.upper() not in list2: list2.append(letter.upper()) keyAccuaracy = 0 for i in range(len(list1)): if list1[i] == list2[i]: keyAccuaracy += 1 keyAccuaracy = keyAccuaracy/len(list1) list1 = [] list2 = [] for letter in plain: if letter.upper() in LETTERS: list1.append(letter.upper()) for letter in imperfect: if letter.upper() in LETTERS: list2.append(letter.upper()) deciphermentAccuracy = 0 for i in range(len(list1)): if list1[i] == list2[i]: deciphermentAccuracy += 1 deciphermentAccuracy = deciphermentAccuracy/len(list1) return [keyAccuaracy, deciphermentAccuracy]
letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' def eval_file(f1, f2): op = open(f1) plain = op.read() op.close() op = open(f2) imperfect = op.read() op.close() list1 = [] list2 = [] for letter in plain: if letter.upper() in LETTERS: if letter.upper() not in list1: list1.append(letter.upper()) for letter in imperfect: if letter.upper() in LETTERS: if letter.upper() not in list2: list2.append(letter.upper()) key_accuaracy = 0 for i in range(len(list1)): if list1[i] == list2[i]: key_accuaracy += 1 key_accuaracy = keyAccuaracy / len(list1) list1 = [] list2 = [] for letter in plain: if letter.upper() in LETTERS: list1.append(letter.upper()) for letter in imperfect: if letter.upper() in LETTERS: list2.append(letter.upper()) decipherment_accuracy = 0 for i in range(len(list1)): if list1[i] == list2[i]: decipherment_accuracy += 1 decipherment_accuracy = deciphermentAccuracy / len(list1) return [keyAccuaracy, deciphermentAccuracy]
''' You work for an airline, and your manager has asked you to do a competitive analysis and see how often passengers flying on other airlines are involuntarily bumped from their flights. You got a CSV file (airline_bumping.csv) from the Department of Transportation containing data on passengers that were involuntarily denied boarding in 2016 and 2017, but it doesn't have the exact numbers you want. In order to figure this out, you'll need to get the CSV into a pandas DataFrame and do some manipulation! pandas is imported for you as pd. "airline_bumping.csv" is in your working directory. '''
""" You work for an airline, and your manager has asked you to do a competitive analysis and see how often passengers flying on other airlines are involuntarily bumped from their flights. You got a CSV file (airline_bumping.csv) from the Department of Transportation containing data on passengers that were involuntarily denied boarding in 2016 and 2017, but it doesn't have the exact numbers you want. In order to figure this out, you'll need to get the CSV into a pandas DataFrame and do some manipulation! pandas is imported for you as pd. "airline_bumping.csv" is in your working directory. """
# LIFO Stack DS using Python Lists (Arrays) class StacksArray: def __init__(self): self.stackArray = [] def __len__(self): return len(self.stackArray) def isempty(self): return len(self.stackArray) == 0 def display(self): print(self.stackArray) def top(self): return self.stackArray[-1] def pop(self): if self.isempty(): print("Stack is empty") return None return self.stackArray.pop() def push(self, element): self.stackArray.append(element) if __name__ =='__main__': S = StacksArray() S.push(5) S.push(3) S.display() print(len(S)) print(S.pop()) print(S.isempty()) print(S.pop()) print(S.isempty()) S.push(7) S.push(9) print(S.top()) S.push(4) print(len(S)) print(S.pop()) S.push(6) S.push(8) print(S.pop())
class Stacksarray: def __init__(self): self.stackArray = [] def __len__(self): return len(self.stackArray) def isempty(self): return len(self.stackArray) == 0 def display(self): print(self.stackArray) def top(self): return self.stackArray[-1] def pop(self): if self.isempty(): print('Stack is empty') return None return self.stackArray.pop() def push(self, element): self.stackArray.append(element) if __name__ == '__main__': s = stacks_array() S.push(5) S.push(3) S.display() print(len(S)) print(S.pop()) print(S.isempty()) print(S.pop()) print(S.isempty()) S.push(7) S.push(9) print(S.top()) S.push(4) print(len(S)) print(S.pop()) S.push(6) S.push(8) print(S.pop())
class ClassDictionary: def __init__(self, value): self.dict_value = value def __getattribute__(self, name): if name == "dict_value": return super().__getattribute__(name) result = self.dict_value.get(name) return result def __setattr__(self, name, value): if name == "dict_value": return super().__setattr__(name, value) self.dict_value[name] = value def pop(self, name, default=None): return self.dict_value.pop(name, default)
class Classdictionary: def __init__(self, value): self.dict_value = value def __getattribute__(self, name): if name == 'dict_value': return super().__getattribute__(name) result = self.dict_value.get(name) return result def __setattr__(self, name, value): if name == 'dict_value': return super().__setattr__(name, value) self.dict_value[name] = value def pop(self, name, default=None): return self.dict_value.pop(name, default)
# String Rotation: Assume you have a method isSubstringwhich checks if one word is a substring # of another. Given two strings, sl and s2, write code to check if s2 is a rotation of sl using only one # call to isSubstring (e.g., "waterbottle" is a rotation of "erbottlewat") def is_substring(s1, s2): return s2 in s1 def is_string_rotation(s1, s2): if not len(s1) == len(s2): return False double_s1 = s1 + s1 return is_substring(double_s1, s2) print(is_string_rotation('waterbottle', 'erbottlewat')) # Time: O(n)
def is_substring(s1, s2): return s2 in s1 def is_string_rotation(s1, s2): if not len(s1) == len(s2): return False double_s1 = s1 + s1 return is_substring(double_s1, s2) print(is_string_rotation('waterbottle', 'erbottlewat'))
__author__ = 'fabian' __all__ = ['handler']
__author__ = 'fabian' __all__ = ['handler']
class AccountNotFoundError(Exception): pass class TransactionError(Exception): pass class AccountClosedError(TransactionError): pass class InsufficientFundsError(TransactionError): pass
class Accountnotfounderror(Exception): pass class Transactionerror(Exception): pass class Accountclosederror(TransactionError): pass class Insufficientfundserror(TransactionError): pass
text = input().split() times_seen = {} for word in text: if word not in times_seen: times_seen[word] = 0 print(times_seen[word], end=' ') times_seen[word] += 1
text = input().split() times_seen = {} for word in text: if word not in times_seen: times_seen[word] = 0 print(times_seen[word], end=' ') times_seen[word] += 1
def LeftView(root): ''' :param root: root of given tree. :return: print the left view of tree, dont print new line ''' # code here res = [] while root: res.append(root.data) if root.left: root = root.left elif root.right: root = root.right else: break # print(res) for n in res: print(n, end=' ') return res
def left_view(root): """ :param root: root of given tree. :return: print the left view of tree, dont print new line """ res = [] while root: res.append(root.data) if root.left: root = root.left elif root.right: root = root.right else: break for n in res: print(n, end=' ') return res
# # PySNMP MIB module APPIAN-PPORT-SONET-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/APPIAN-PPORT-SONET-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:23:54 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) # acPport, AcAdminStatus, AcOpStatus, AcSlotNumber, AcPortNumber, AcNodeId = mibBuilder.importSymbols("APPIAN-SMI-MIB", "acPport", "AcAdminStatus", "AcOpStatus", "AcSlotNumber", "AcPortNumber", "AcNodeId") ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint") PerfIntervalCount, = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfIntervalCount") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ModuleIdentity, MibIdentifier, Counter64, IpAddress, ObjectIdentity, TimeTicks, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Bits, Gauge32, NotificationType, Integer32, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "MibIdentifier", "Counter64", "IpAddress", "ObjectIdentity", "TimeTicks", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Bits", "Gauge32", "NotificationType", "Integer32", "Counter32") DisplayString, TruthValue, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue", "TextualConvention") acSonet = ModuleIdentity((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6)) acSonet.setRevisions(('1900-02-23 16:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: acSonet.setRevisionsDescriptions(('Engineering draft, not for release.',)) if mibBuilder.loadTexts: acSonet.setLastUpdated('0002231600Z') if mibBuilder.loadTexts: acSonet.setOrganization('Appian Communications, Inc.') if mibBuilder.loadTexts: acSonet.setContactInfo('Douglas Stahl') if mibBuilder.loadTexts: acSonet.setDescription('The MIB module to describe SONET/SDH objects.') class AcTraceString(TextualConvention, OctetString): description = "A string of up to printable characters, followed by padding NULL characters, and terminated with <CR> and <LF> characters, for a total of 64 characters. The maximum number of printable characters is 62 and if it's less, it's padded with NULL. Therefore the number of padding NULL characters is 0 to 62." status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(64, 64) fixedLength = 64 acSonetObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1)) acSonetObjectsPath = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2)) acSonetObjectsVT = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3)) acSonetPort = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1)) acSonetSection = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2)) acSonetLine = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3)) acSonetFarEndLine = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4)) acSonetPath = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1)) acSonetFarEndPath = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2)) acSonetVT = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1)) acSonetFarEndVT = MibIdentifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2)) acSonetPortTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1), ) if mibBuilder.loadTexts: acSonetPortTable.setStatus('current') if mibBuilder.loadTexts: acSonetPortTable.setDescription('The SONET/SDH Port table which must be created by the management client.') acSonetPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPortNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPortSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPortPort")) if mibBuilder.loadTexts: acSonetPortEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPortEntry.setDescription('An entry in the SONET/SDH Port table.') acSonetPortNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPortNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPortNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPortSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPortSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPortSlot.setDescription('The physical slot number of the port.') acSonetPortPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPortPort.setStatus('current') if mibBuilder.loadTexts: acSonetPortPort.setDescription('The physical port number of the port.') acSonetPortAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 4), AcAdminStatus().clone('inactivate')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortAdminStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPortAdminStatus.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.') acSonetPortOpStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 5), AcOpStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPortOpStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPortOpStatus.setDescription('The current operational status for the SONET module controlling this port.') acSonetPortOpCode = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPortOpCode.setStatus('current') if mibBuilder.loadTexts: acSonetPortOpCode.setDescription('Provides a detailed status code which can be used to isolate a problem or state condition reported in acSonetPortOpStatus.') acSonetPortMediumType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("sonet", 1), ("sdh", 2))).clone('sonet')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortMediumType.setStatus('current') if mibBuilder.loadTexts: acSonetPortMediumType.setDescription('This variable identifies whether a SONET or a SDH signal is used across this interface.') acSonetPortTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 900))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPortTimeElapsed.setStatus('current') if mibBuilder.loadTexts: acSonetPortTimeElapsed.setDescription("The number of seconds, including partial seconds, that have elapsed since the beginning of the current measurement period. If, for some reason, such as an adjustment in the system's time-of-day clock, the current interval exceeds the maximum value, the agent will return the maximum value.") acSonetPortValidIntervals = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPortValidIntervals.setStatus('current') if mibBuilder.loadTexts: acSonetPortValidIntervals.setDescription('The number of previous 15-minute intervals for which data was collected. A SONET/SDH interface must be capable of supporting at least n intervals. The minimum value of n is 4. The default of n is 32. The maximum value of n is 96. The value will be <n> unless the measurement was (re-)started within the last (<n>*15) minutes, in which case the value will be the number of complete 15 minute intervals for which the agent has at least some data. In certain cases (e.g., in the case where the agent is a proxy) it is possible that some intervals are unavailable. In this case, this interval is the maximum interval number for which data is available. ') acSonetPortMediumLineCoding = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("b3zs", 2), ("cmi", 3), ("nrz", 4), ("rz", 5))).clone('nrz')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortMediumLineCoding.setStatus('current') if mibBuilder.loadTexts: acSonetPortMediumLineCoding.setDescription('This variable describes the line coding for this interface. The B3ZS and CMI are used for electrical SONET/SDH signals (STS-1 and STS-3). The Non-Return to Zero (NRZ) and the Return to Zero are used for optical SONET/SDH signals.') acSonetPortMediumLineType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("short-single", 2), ("long-single", 3), ("multi", 4), ("coax", 5), ("utp", 6), ("intermediate", 7))).clone('multi')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortMediumLineType.setStatus('current') if mibBuilder.loadTexts: acSonetPortMediumLineType.setDescription('This variable describes the line type for this interface. The line types are Short and Long Range Single Mode fiber or Multi-Mode fiber interfaces, and coax and UTP for electrical interfaces. The value acSonetOther should be used when the Line Type is not one of the listed values.') acSonetPortTransmitterEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 12), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortTransmitterEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPortTransmitterEnable.setDescription('Turns the laser on and off.') acSonetPortCircuitIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortCircuitIdentifier.setStatus('current') if mibBuilder.loadTexts: acSonetPortCircuitIdentifier.setDescription("This variable contains the transmission vendor's circuit identifier, for the purpose of facilitating troubleshooting. Note that the circuit identifier, if available, is also represented by ifPhysAddress.") acSonetPortInvalidIntervals = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPortInvalidIntervals.setStatus('current') if mibBuilder.loadTexts: acSonetPortInvalidIntervals.setDescription('The number of intervals in the range from 0 to acSonetPortValidIntervals for which no data is available. This object will typically be zero except in cases where the data for some intervals are not available (e.g., in proxy situations).') acSonetPortLoopbackConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("facility", 1), ("terminal", 2), ("other", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortLoopbackConfig.setStatus('current') if mibBuilder.loadTexts: acSonetPortLoopbackConfig.setDescription('The current loopback state of the SONET/SDH interface. The values mean: none(0) Not in the loopback state. A device that is not capable of performing a loopback on this interface shall always return this value. facility(1) The received signal at this interface is looped back out through the corresponding transmitter in the return direction. terminal(2) The signal that is about to be transmitted is connected to the associated incoming receiver. other(3) Loopbacks that are not defined here.') acSonetPortResetCurrentPMregs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 16), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortResetCurrentPMregs.setStatus('current') if mibBuilder.loadTexts: acSonetPortResetCurrentPMregs.setDescription('Reset Performance Monitoring Registers for current 15 minute and day to zero for entity-related statisics. Reset on receiving a 1, will automatically go to 0 at next 15 minute or day interval.') acSonetPortResetAllPMregs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 17), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortResetAllPMregs.setStatus('current') if mibBuilder.loadTexts: acSonetPortResetAllPMregs.setDescription('Reset Performance Monitoring Registers to zero for all entity-related statisics. Reset on receiving a 1, will automatically go to 0 at next 15 minute or day interval.') acSonetPortConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ring", 1), ("interconnect", 2))).clone('interconnect')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortConnectionType.setStatus('current') if mibBuilder.loadTexts: acSonetPortConnectionType.setDescription('Whether the port is used on the ring side or the interconnect side. An interconnect interface is the one that connects to the ADM.') acSonetPortRingIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 19), Integer32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortRingIdentifier.setStatus('current') if mibBuilder.loadTexts: acSonetPortRingIdentifier.setDescription('This is a number assigned by carrier. It is contained here as a convenience for carrier and the EMS. It is not used by the device. When used, this should be set in east facing port row in this table. It can also be optionally set in the west facing port row in this table but it must be the same as the set in the east facing port row.') acSonetPortRingName = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acSonetPortRingName.setStatus('current') if mibBuilder.loadTexts: acSonetPortRingName.setDescription('An ASCII text name up to 32 characters in length which is assigned to this optical ring. Like the RingIdentifier, this is contained here as a convenience for the carrier and the EMS. It is not used by the device. When used, this should be set in east facing port row in this table. It can also be optionally set in the west facing port row in this table but it must be the same as the set in the east facing port row.') acSonetThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2), ) if mibBuilder.loadTexts: acSonetThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdTable.setDescription('The SONET/SDH Threshold Table.') acSonetThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetThresholdPort")) if mibBuilder.loadTexts: acSonetThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdEntry.setDescription('An entry in the SONET/SDH Port Table.') acSonetThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdSlot.setDescription('The physical slot number of the port.') acSonetThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdPort.setDescription('The physical port number of the port.') acSonetThresholdSESSet = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("bellcore", 2), ("ansi93", 3), ("itu", 4), ("ansi97", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetThresholdSESSet.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdSESSet.setDescription('An enumerated integer indicating which recognized set of thresholds that the agent uses for determining severely errored seconds and unavailable time. other(1) None of the following. Bellcore1991(2) Bellcore TR-NWT-000253, 1991 [32], or ANSI T1M1.3/93-005R2, 1993 [22]. See also Appendix B. ansi1993(3) ANSI T1.231, 1993 [31], or Bellcore GR-253-CORE, Issue 2, 1995 [34] itu1995(4) ITU Recommendation G.826, 1995 [33] ansi1997(5) ANSI T1.231, 1997 [35] If a manager changes the value of this object then the SES statistics collected prior to this change must be invalidated.') acSonetDCCTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3), ) if mibBuilder.loadTexts: acSonetDCCTable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCTable.setDescription('The SONET/SDH DCC Table.') acSonetDCCEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetDCCNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetDCCSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetDCCPort")) if mibBuilder.loadTexts: acSonetDCCEntry.setStatus('current') if mibBuilder.loadTexts: acSonetDCCEntry.setDescription('An entry in the SONET/SDH Port Table.') acSonetDCCNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetDCCNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetDCCNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetDCCSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetDCCSlot.setStatus('current') if mibBuilder.loadTexts: acSonetDCCSlot.setDescription('The physical slot number of the port.') acSonetDCCPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetDCCPort.setStatus('current') if mibBuilder.loadTexts: acSonetDCCPort.setDescription('The physical port number of the port.') acSonetDCCSectionEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetDCCSectionEnable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCSectionEnable.setDescription('This variable indicates that the DCC for the section is enabled.') acSonetDCCLineEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetDCCLineEnable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCLineEnable.setDescription('This variable indicates that the DCC for the line is enabled.') acSonetDCCAppianEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 6), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetDCCAppianEnable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCAppianEnable.setDescription('This variable indicates that the Appian DCC is enabled.') acSonetDCCSectionFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetDCCSectionFail.setStatus('current') if mibBuilder.loadTexts: acSonetDCCSectionFail.setDescription('This variable indicates that the DCC for the section has failed.') acSonetDCCLineFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetDCCLineFail.setStatus('current') if mibBuilder.loadTexts: acSonetDCCLineFail.setDescription('This variable indicates that the DCC for the line has failed.') acSonetDCCAppianFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetDCCAppianFail.setStatus('current') if mibBuilder.loadTexts: acSonetDCCAppianFail.setDescription('This variable indicates that the Appian DCC has failed.') acSonetSection15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1), ) if mibBuilder.loadTexts: acSonetSection15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalTable.setDescription('The SONET/SDH Section 15Minute Interval table.') acSonetSection15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetSection15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSection15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSection15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSection15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetSection15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH Section 15Minute Interval table.') acSonetSection15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetSection15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetSection15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetSection15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetSection15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalValidStats.setDescription('This flag indicates if the data for this interval is valid.') acSonetSection15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for a 15 minute interval.') acSonetSection15MinuteIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetSectionCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetSectionNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetSectionNoDefect 2 acSonetSectionLOS 4 acSonetSectionLOF') acSonetSection15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') acSonetSection15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') acSonetSection15MinuteIntervalSEFSs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSEFSs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSEFSs.setDescription('The counter associated with the number of Severely Errored Framing Seconds encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') acSonetSection15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSection15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') acSonetSectionDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2), ) if mibBuilder.loadTexts: acSonetSectionDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalTable.setDescription('The SONET/SDH Section Day Interval table.') acSonetSectionDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionDayIntervalNumber")) if mibBuilder.loadTexts: acSonetSectionDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalEntry.setDescription('An entry in the SONET/SDH Section Day Interval table.') acSonetSectionDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetSectionDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetSectionDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalPort.setDescription('The physical port number of the port.') acSonetSectionDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetSectionDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalValidStats.setDescription('This flag indicates if the data for this interval is valid.') acSonetSectionDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalResetStats.setDescription('Flag used to reset the current day interval stats.') acSonetSectionDayIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetSectionCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetSectionNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetSectionNoDefect 2 acSonetSectionLOS 4 acSonetSectionLOF') acSonetSectionDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') acSonetSectionDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') acSonetSectionDayIntervalSEFSs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionDayIntervalSEFSs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalSEFSs.setDescription('The counter associated with the number of Severely Errored Framing Seconds encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') acSonetSectionDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') acSonetSectionThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3), ) if mibBuilder.loadTexts: acSonetSectionThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdTable.setDescription('The SONET/SDH Section Threshold Table.') acSonetSectionThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetSectionThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdEntry.setDescription('An entry in the SONET/SDH Section Threshold Table.') acSonetSectionThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetSectionThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSlot.setDescription('The physical slot number of the port.') acSonetSectionThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdPort.setDescription('The physical port number of the port.') acSonetSectionThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds.') acSonetSectionThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 5), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetSectionThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this sonet port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetSectionThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetSectionThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetSectionThresholdSEFSs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionThresholdSEFSs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSEFSs.setDescription('The threshold associated with Severely Errored Framing Seconds.') acSonetSectionThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetSectionTIMTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4), ) if mibBuilder.loadTexts: acSonetSectionTIMTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMTable.setDescription('The SONET/SDH Section Trace Identifier Mismatch Table.') acSonetSectionTIMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionTIMNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionTIMSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionTIMPort")) if mibBuilder.loadTexts: acSonetSectionTIMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMEntry.setDescription('An entry in the SONET/SDH Section Trace Identifier Mismatch Table.') acSonetSectionTIMNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionTIMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetSectionTIMSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionTIMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMSlot.setDescription('The physical slot number of the port.') acSonetSectionTIMPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionTIMPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMPort.setDescription('The physical port number of the port.') acSonetSectionTIMGenerateEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionTIMGenerateEnable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMGenerateEnable.setDescription('Enables the generation of the Section Trace Identifier.') acSonetSectionTIMDetectEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionTIMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMDetectEnable.setDescription('Enables the detection of the Section Trace Identifier.') acSonetSectionTIMTransmitedString = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 6), AcTraceString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionTIMTransmitedString.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMTransmitedString.setDescription('The string that gets sent to the destination.') acSonetSectionTIMExpectedString = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 7), AcTraceString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionTIMExpectedString.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMExpectedString.setDescription('The expected string that is to be received.') acSonetSectionTIMReceivedString = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 8), AcTraceString()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionTIMReceivedString.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMReceivedString.setDescription('The contents of the string that is received.') acSonetSectionTIMFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionTIMFailure.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMFailure.setDescription('Failure declared of the Section Trace Identifier.') acSonetSectionTIMFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("void", 0), ("t64", 1), ("t64-crlf", 2), ("t16", 3), ("t16-msb1", 4), ("t16-crc7", 5))).clone('void')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionTIMFormat.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMFormat.setDescription('Format of Path Trace buffer.') acSonetSectionTIMMismatchZeros = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 11), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionTIMMismatchZeros.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMMismatchZeros.setDescription('Controls whether a received trace message containing all zeros can cause a mismatch defect.') acSonetSectionSSMTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5), ) if mibBuilder.loadTexts: acSonetSectionSSMTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMTable.setDescription('The SONET/SDH Section Synchronization Status Message Table.') acSonetSectionSSMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionSSMNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionSSMSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetSectionSSMPort")) if mibBuilder.loadTexts: acSonetSectionSSMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMEntry.setDescription('An entry in the SONET/SDH Section Synchronization Status Message Table.') acSonetSectionSSMNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionSSMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetSectionSSMSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionSSMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMSlot.setDescription('The physical slot number of the port.') acSonetSectionSSMPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetSectionSSMPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMPort.setDescription('The physical port number of the port.') acSonetSectionSSMDetectEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetSectionSSMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMDetectEnable.setDescription('Enables the detection of the Synchronization Status Message.') acSonetSectionSSMTransmitedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionSSMTransmitedValue.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMTransmitedValue.setDescription('The S1 byte value that gets sent to the destination.') acSonetSectionSSMReceivedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetSectionSSMReceivedValue.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMReceivedValue.setDescription('The S1 byte value that is received.') acSonetLine15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1), ) if mibBuilder.loadTexts: acSonetLine15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalTable.setDescription('The SONET/SDH Line 15Minute Interval Table.') acSonetLine15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetLine15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLine15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLine15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLine15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetLine15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH Line 15Minute Interval table.') acSonetLine15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetLine15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetLine15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetLine15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetLine15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') acSonetLine15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalResetStats.setDescription('Flag to reset the 15 minute SONET Line interval statistics.') acSonetLine15MinuteIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetLineCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetLineNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetLineNoDefect 2 acSonetLineAIS 4 acSonetLineRDI') acSonetLine15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') acSonetLine15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') acSonetLine15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') acSonetLine15MinuteIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') acSonetLine15MinuteIntervalBER = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLine15MinuteIntervalBER.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalBER.setDescription('The counter associated with the max BER encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours. ') acSonetLineDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2), ) if mibBuilder.loadTexts: acSonetLineDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalTable.setDescription('The SONET/SDH Line Day Interval Table.') acSonetLineDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetLineDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineDayIntervalNumber")) if mibBuilder.loadTexts: acSonetLineDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalEntry.setDescription('An entry in the SONET/SDH Line Day Interval table.') acSonetLineDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetLineDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetLineDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalPort.setDescription('The physical port number of the port.') acSonetLineDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetLineDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') acSonetLineDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalResetStats.setDescription('Flag to reset the SONET Line Day interval statistics.') acSonetLineDayIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetLineCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetLineNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetLineNoDefect 2 acSonetLineAIS 4 acSonetLineRDI') acSonetLineDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') acSonetLineDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') acSonetLineDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') acSonetLineDayIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') acSonetLineDayIntervalBER = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineDayIntervalBER.setStatus('deprecated') if mibBuilder.loadTexts: acSonetLineDayIntervalBER.setDescription('The counter associated with the max BER encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') acSonetLineThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3), ) if mibBuilder.loadTexts: acSonetLineThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdTable.setDescription('The SONET/SDH Line Threshold Table.') acSonetLineThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetLineThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetLineThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdEntry.setDescription('An entry in the SONET/SDH Line Threshold Table.') acSonetLineThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetLineThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdSlot.setDescription('The physical slot number of the port.') acSonetLineThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdPort.setDescription('The physical port number of the port.') acSonetLineThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') acSonetLineThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 5), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetLineThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetLineThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetLineThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetLineThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetLineThresholdUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') acSonetFarEndLine15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1), ) if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalTable.setDescription('The SONET/SDH FarEndLine 15Minute Interval Table.') acSonetFarEndLine15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLine15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLine15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLine15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLine15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH FarEndLine 15Minute Interval table.') acSonetFarEndLine15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndLine15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetFarEndLine15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetFarEndLine15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetFarEndLine15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') acSonetFarEndLine15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalResetStats.setDescription('Flag to reset the SONET Far End Line 15 minute interval statistics.') acSonetFarEndLine15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') acSonetFarEndLine15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') acSonetFarEndLine15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') acSonetFarEndLine15MinuteIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') acSonetFarEndLineDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2), ) if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalTable.setDescription('The SONET/SDH FarEndLine Day Interval Table.') acSonetFarEndLineDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineDayIntervalNumber")) if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalEntry.setDescription('An entry in the SONET/SDH FarEndLine Day Interval table.') acSonetFarEndLineDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndLineDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetFarEndLineDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalPort.setDescription('The physical port number of the port.') acSonetFarEndLineDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetFarEndLineDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') acSonetFarEndLineDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalResetStats.setDescription('Flag to reset the SONET far end line day interval statistics.') acSonetFarEndLineDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') acSonetFarEndLineDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') acSonetFarEndLineDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') acSonetFarEndLineDayIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') acSonetFarEndLineThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3), ) if mibBuilder.loadTexts: acSonetFarEndLineThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdTable.setDescription('The SONET/SDH FarEndLine Threshold Table.') acSonetFarEndLineThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndLineThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetFarEndLineThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdEntry.setDescription('An entry in the SONET/SDH FarEndLine Threshold Table.') acSonetFarEndLineThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndLineThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSlot.setDescription('The physical slot number of the port.') acSonetFarEndLineThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdPort.setDescription('The physical port number of the port.') acSonetFarEndLineThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndLineThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') acSonetFarEndLineThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 5), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLineThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetFarEndLineThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetFarEndLineThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLineThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetFarEndLineThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLineThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetFarEndLineThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLineThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetFarEndLineThresholdUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndLineThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') acSonetPath15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1), ) if mibBuilder.loadTexts: acSonetPath15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalTable.setDescription('The SONET/SDH Path 15Minute Interval table.') acSonetPath15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPath15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPath15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPath15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPath15MinuteIntervalPath"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPath15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetPath15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH Path 15Minute Interval table.') acSonetPath15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPath15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetPath15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetPath15MinuteIntervalPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPath.setDescription('The STS Path for which the set of statistics is available.') acSonetPath15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetPath15MinuteIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 62))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetPathCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetPathNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetPathNoDefect 2 acSonetPathSTSLOP 4 acSonetPathSTSAIS 8 acSonetPathSTSRDI 16 acSonetPathUnequipped 32 acSonetPathPayloadLabelMismatch') acSonetPath15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') acSonetPath15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for a 15 minute interval.') acSonetPath15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Path in the current 15 minute interval.') acSonetPath15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Path in the current 15 minute interval.') acSonetPath15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Path in the current 15 minute interval.') acSonetPath15MinuteIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a Path in the current 15 minute interval.') acSonetPath15MinuteIntervalBER = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 13), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPath15MinuteIntervalBER.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalBER.setDescription('The counter associated with the BER encountered by a Path in the current 15 minute interval. Represents the max value for an interval for number > 1.') acSonetPathDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2), ) if mibBuilder.loadTexts: acSonetPathDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalTable.setDescription('The SONET/SDH Path Day Interval table.') acSonetPathDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPathDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathDayIntervalPath"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathDayIntervalNumber")) if mibBuilder.loadTexts: acSonetPathDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalEntry.setDescription('An entry in the SONET/SDH Path Day Interval table.') acSonetPathDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPathDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetPathDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalPort.setDescription('The physical port number of the port.') acSonetPathDayIntervalPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathDayIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalPath.setDescription('The STS Path for which the set of statistics is available.') acSonetPathDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetPathDayIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 62))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetPathCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetPathNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetPathNoDefect 2 acSonetPathSTSLOP 4 acSonetPathSTSAIS 8 acSonetPathSTSRDI 16 acSonetPathUnequipped 32 acSonetPathPayloadLabelMismatch') acSonetPathDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalValidStats.setDescription('This variable indicates if the data for this day is valid.') acSonetPathDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalResetStats.setDescription('This flag is used to reset the data for day interval.') acSonetPathDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Path in the past day interval.') acSonetPathDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Path in the past day interval.') acSonetPathDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Path in the past day interval.') acSonetPathDayIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a Path in the past day interval.') acSonetPathDayIntervalBER = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 13), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathDayIntervalBER.setStatus('deprecated') if mibBuilder.loadTexts: acSonetPathDayIntervalBER.setDescription('The counter associated with the BER encountered by a Path in the past day interval.') acSonetPathThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3), ) if mibBuilder.loadTexts: acSonetPathThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdTable.setDescription('The SONET/SDH Path Threshold Table.') acSonetPathThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPathThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathThresholdPath"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetPathThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdEntry.setDescription('An entry in the SONET/SDH Path Threshold Table.') acSonetPathThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPathThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdSlot.setDescription('The physical slot number of the port.') acSonetPathThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdPort.setDescription('The physical port number of the port.') acSonetPathThresholdPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathThresholdPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdPath.setDescription('The STS Path for which the set of statistics is available.') acSonetPathThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') acSonetPathThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 6), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetPathThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetPathThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetPathThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetPathThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetPathThresholdUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdUASs.setDescription('The threshold associated with Unavailable Seconds.') acSonetPathRDITable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4), ) if mibBuilder.loadTexts: acSonetPathRDITable.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDITable.setDescription('The SONET/SDH Path RDI Table.') acSonetPathRDIEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPathRDINodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathRDISlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathRDIPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathRDIPath")) if mibBuilder.loadTexts: acSonetPathRDIEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIEntry.setDescription('An entry in the SONET/SDH Path RDI Table.') acSonetPathRDINodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathRDINodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDINodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPathRDISlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathRDISlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDISlot.setDescription('The physical slot number of the port.') acSonetPathRDIPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathRDIPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIPort.setDescription('The physical port number of the port.') acSonetPathRDIPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathRDIPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIPath.setDescription('The STS path instance for this port') acSonetPathRDIOpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("rdi", 1), ("erdi", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathRDIOpMode.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIOpMode.setDescription('The Remote Defect Indiction signals have undergone a number of changes over the years, and now encompass two or even three different versions. See GR-253 6.2.1.3.2 for more information.') acSonetPathTIMTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5), ) if mibBuilder.loadTexts: acSonetPathTIMTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMTable.setDescription('The SONET/SDH Path Trace Identifier Mismatch Table.') acSonetPathTIMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPathTIMNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathTIMSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathTIMPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathTIMPath")) if mibBuilder.loadTexts: acSonetPathTIMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMEntry.setDescription('An entry in the SONET/SDH Path Trace Identifier Mismatch Table.') acSonetPathTIMNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathTIMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPathTIMSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathTIMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMSlot.setDescription('The physical slot number of the port.') acSonetPathTIMPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathTIMPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMPort.setDescription('The physical port number of the port.') acSonetPathTIMPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathTIMPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMPath.setDescription('The path instance of the port.') acSonetPathTIMGenerateEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathTIMGenerateEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMGenerateEnable.setDescription('Enables the generation of the Path Trace Identifier.') acSonetPathTIMDetectEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathTIMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMDetectEnable.setDescription('Enables the detection of the Path Trace Identifier.') acSonetPathTIMTransmitedString = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 7), AcTraceString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathTIMTransmitedString.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMTransmitedString.setDescription('The string that gets sent to the destination.') acSonetPathTIMExpectedString = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 8), AcTraceString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathTIMExpectedString.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMExpectedString.setDescription('The expected string that is to be received.') acSonetPathTIMReceivedString = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 9), AcTraceString()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathTIMReceivedString.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMReceivedString.setDescription('The contents of the string that is received.') acSonetPathTIMFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathTIMFailure.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMFailure.setDescription('Failure declared of the Path Trace Identifier.') acSonetPathTIMFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("void", 0), ("t64", 1), ("t64-crlf", 2), ("t16", 3), ("t16-msb1", 4), ("t16-crc7", 5))).clone('void')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathTIMFormat.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMFormat.setDescription('Format of Path Trace buffer.') acSonetPathTIMMismatchZeros = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 12), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathTIMMismatchZeros.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMMismatchZeros.setDescription('Controls whether a received trace message containing all zeros can cause a mismatch defect.') acSonetPathPLMTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6), ) if mibBuilder.loadTexts: acSonetPathPLMTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMTable.setDescription('The SONET/SDH Path Payload Label Mismatch Table.') acSonetPathPLMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPathPLMNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathPLMSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathPLMPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathPLMPath")) if mibBuilder.loadTexts: acSonetPathPLMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMEntry.setDescription('An entry in the SONET/SDH Path Payload Label Mismatch Table.') acSonetPathPLMNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathPLMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPathPLMSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathPLMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMSlot.setDescription('The physical slot number of the port.') acSonetPathPLMPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathPLMPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMPort.setDescription('The physical port number of the port.') acSonetPathPLMPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathPLMPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMPath.setDescription('The path instance of the port.') acSonetPathPLMDetectEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathPLMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMDetectEnable.setDescription('Enables the detection of the Path Payload Label.') acSonetPathPLMTransmitedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathPLMTransmitedValue.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMTransmitedValue.setDescription('The Path Payload Label that gets sent to the destination. See GR-253 Tables 3-2, 3-3.') acSonetPathPLMExpectedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathPLMExpectedValue.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMExpectedValue.setDescription('The expected Path Payload Label that is to be received. See GR-253 Tables 3-2, 3-3.') acSonetPathPLMReceivedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathPLMReceivedValue.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMReceivedValue.setDescription('The contents of the Path Payload Label that is received. See GR-253 Tables 3-2, 3-3.') acSonetPathPLMMismatchFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathPLMMismatchFailure.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMMismatchFailure.setDescription('Mismatch failure declared for the Path Payload Label.') acSonetPathPLMUnequipped = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathPLMUnequipped.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMUnequipped.setDescription('Unequipped failure declared for the Path Payload Label.') acSonetFarEndPath15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1), ) if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalTable.setDescription('The SONET/SDH FarEndPath 15Minute Interval table.') acSonetFarEndPath15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPath15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPath15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPath15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPath15MinuteIntervalPath"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPath15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH FarEndPath 15Minute Interval table.') acSonetFarEndPath15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndPath15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetFarEndPath15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetFarEndPath15MinuteIntervalPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPath.setDescription('The STS Path for which the set of statistics is available.') acSonetFarEndPath15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetFarEndPath15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this far end 15 minute interval is valid.') acSonetFarEndPath15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for far end 15 minute interval.') acSonetFarEndPath15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') acSonetFarEndPath15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') acSonetFarEndPath15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') acSonetFarEndPath15MinuteIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndPath in the current 15 minute interval.') acSonetFarEndPathDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2), ) if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalTable.setDescription('The SONET/SDH FarEndPath Day Interval table.') acSonetFarEndPathDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathDayIntervalPath"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathDayIntervalNumber")) if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalEntry.setDescription('An entry in the SONET/SDH FarEndPath Day Interval table.') acSonetFarEndPathDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndPathDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetFarEndPathDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPort.setDescription('The physical port number of the port.') acSonetFarEndPathDayIntervalPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPath.setDescription('The STS Path for which the set of statistics is available.') acSonetFarEndPathDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetFarEndPathDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalValidStats.setDescription('This variable indicates if the data for this far end day interval is valid.') acSonetFarEndPathDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalResetStats.setDescription('This flag is used to reset the data for far end day interval.') acSonetFarEndPathDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') acSonetFarEndPathDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') acSonetFarEndPathDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') acSonetFarEndPathDayIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndPath in the current 15 minute interval.') acSonetFarEndPathThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3), ) if mibBuilder.loadTexts: acSonetFarEndPathThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdTable.setDescription('The SONET/SDH FarEndPath Threshold Table.') acSonetFarEndPathThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathThresholdPath"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndPathThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetFarEndPathThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdEntry.setDescription('An entry in the SONET/SDH FarEndPath Threshold Table.') acSonetFarEndPathThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndPathThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSlot.setDescription('The physical slot number of the port.') acSonetFarEndPathThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdPort.setDescription('The physical port number of the port.') acSonetFarEndPathThresholdPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathThresholdPath.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdPath.setDescription('The STS Path for which the set of statistics is available.') acSonetFarEndPathThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndPathThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') acSonetFarEndPathThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 6), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPathThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetFarEndPathThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetFarEndPathThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPathThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetFarEndPathThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPathThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetFarEndPathThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPathThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetFarEndPathThresholdUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndPathThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') acSonetVT15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1), ) if mibBuilder.loadTexts: acSonetVT15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalTable.setDescription('The SONET/SDH VT 15Minute Interval table.') acSonetVT15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetVT15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVT15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVT15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVT15MinuteIntervalVT"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVT15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetVT15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH VT 15Minute Interval table.') acSonetVT15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetVT15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetVT15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetVT15MinuteIntervalVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalVT.setDescription('The VT for which the set of statistics is available.') acSonetVT15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetVT15MinuteIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 192))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetVTCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects and failures simultaneously. The acSonetVTNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetVTNoDefect 2 acSonetVTLOP 4 acSonetVTPathAIS 8 acSonetVTPathRDI 16 acSonetVTPathRFI 32 acSonetVTUnequipped 64 acSonetVTPayloadLabelMismatch') acSonetVT15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this VT 15 minute interval is valid.') acSonetVT15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for this VT 15 minute interval.') acSonetVT15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH VT in the current 15 minute interval.') acSonetVT15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH VT in the current 15 minute interval.') acSonetVT15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH VT in the current 15 minute interval.') acSonetVT15MinuteIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 13), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a VT in the current 15 minute interval.') acSonetVT15MinuteIntervalBER = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 14), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVT15MinuteIntervalBER.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalBER.setDescription('The counter associated with the BER encountered by a VT in the current 15 minute interval. Represents the max BER for the interval when number > 1.') acSonetVTDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2), ) if mibBuilder.loadTexts: acSonetVTDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalTable.setDescription('The SONET/SDH VT Day Interval table.') acSonetVTDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetVTDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTDayIntervalVT"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTDayIntervalNumber")) if mibBuilder.loadTexts: acSonetVTDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalEntry.setDescription('An entry in the SONET/SDH VT Day Interval table.') acSonetVTDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetVTDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetVTDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalPort.setDescription('The physical port number of the port.') acSonetVTDayIntervalVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTDayIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalVT.setDescription('The VT for which the set of statistics is available.') acSonetVTDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetVTDayIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 192))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetVTCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects and failures simultaneously. The acSonetVTNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetVTNoDefect 2 acSonetVTLOP 4 acSonetVTPathAIS 8 acSonetVTPathRDI 16 acSonetVTPathRFI 32 acSonetVTUnequipped 64 acSonetVTPayloadLabelMismatch') acSonetVTDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalValidStats.setDescription('This variable indicates if the data for this VT Day interval is valid.') acSonetVTDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalResetStats.setDescription('This flag is used to reset the data for this VT Day interval.') acSonetVTDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH VT in the last day interval.') acSonetVTDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH VT in the last day interval.') acSonetVTDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH VT in the last day interval.') acSonetVTDayIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a VT in the last day interval.') acSonetVTDayIntervalBER = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 13), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTDayIntervalBER.setStatus('deprecated') if mibBuilder.loadTexts: acSonetVTDayIntervalBER.setDescription('The counter associated with the max BER encountered by a VT in a day.') acSonetVTThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3), ) if mibBuilder.loadTexts: acSonetVTThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdTable.setDescription('The SONET/SDH VT Threshold Table.') acSonetVTThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetVTThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTThresholdVT"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetVTThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdEntry.setDescription('An entry in the SONET/SDH VT Threshold Table.') acSonetVTThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetVTThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdSlot.setDescription('The physical slot number of the port.') acSonetVTThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdPort.setDescription('The physical port number of the port.') acSonetVTThresholdVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTThresholdVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdVT.setDescription('The VT for which the set of statistics is available.') acSonetVTThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') acSonetVTThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 6), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetVTThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetVTThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetVTThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetVTThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetVTThresholdUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') acSonetVTRDITable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4), ) if mibBuilder.loadTexts: acSonetVTRDITable.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDITable.setDescription('The SONET/SDH VT RDI Table.') acSonetVTRDIEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetVTRDINodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTRDISlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTRDIPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTRDIVT")) if mibBuilder.loadTexts: acSonetVTRDIEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIEntry.setDescription('An entry in the SONET/SDH VT RDI Table.') acSonetVTRDINodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTRDINodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDINodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetVTRDISlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTRDISlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDISlot.setDescription('The physical slot number of the port.') acSonetVTRDIPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTRDIPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIPort.setDescription('The physical port number of the port.') acSonetVTRDIVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTRDIVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIVT.setDescription('The Virtual Tributary (VT) instance.') acSonetVTRDIOpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("rdi", 1), ("erdi", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTRDIOpMode.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIOpMode.setDescription('The Remote Defect Indiction signals have undergone a number of changes over the years, and now encompass two or even three different versions. See GR-253 6.2.1.3.3 for more information.') acSonetVTPLMTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5), ) if mibBuilder.loadTexts: acSonetVTPLMTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMTable.setDescription('The SONET/SDH VT Payload Label Mismatch Table.') acSonetVTPLMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetVTPLMNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTPLMSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTPLMPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTPLMVT")) if mibBuilder.loadTexts: acSonetVTPLMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMEntry.setDescription('An entry in the SONET/SDH VT Payload Label Mismatch Table.') acSonetVTPLMNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTPLMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetVTPLMSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTPLMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMSlot.setDescription('The physical slot number of the port.') acSonetVTPLMPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTPLMPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMPort.setDescription('The physical port number of the port.') acSonetVTPLMVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTPLMVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMVT.setDescription('The Virtual Tributary (VT) instance.') acSonetVTPLMDetectEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTPLMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMDetectEnable.setDescription('Enables the detection of the VT Payload Label.') acSonetVTPLMTransmitedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTPLMTransmitedValue.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMTransmitedValue.setDescription('The VT Payload Label that gets sent to the destination. See GR-253 Tables 3-4.') acSonetVTPLMExpectedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTPLMExpectedValue.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMExpectedValue.setDescription('The expected VT Payload Label that is to be received. See GR-253 Tables 3-4.') acSonetVTPLMReceivedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTPLMReceivedValue.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMReceivedValue.setDescription('The contents of the VT Payload Label that is received. See GR-253 Tables 3-4.') acSonetVTPLMMismatchFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTPLMMismatchFailure.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMMismatchFailure.setDescription('Mismatch failure declared for the VT Payload Label.') acSonetVTPLMUnequipped = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTPLMUnequipped.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMUnequipped.setDescription('Unequipped failure declared for the VT Payload Label.') acSonetFarEndVT15MinuteIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1), ) if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalTable.setDescription('The SONET/SDH FarEndVT 15Minute Interval table.') acSonetFarEndVT15MinuteIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVT15MinuteIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVT15MinuteIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVT15MinuteIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVT15MinuteIntervalVT"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVT15MinuteIntervalNumber")) if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH FarEndVT 15Minute Interval table.') acSonetFarEndVT15MinuteIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndVT15MinuteIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSlot.setDescription('The physical slot number of the port.') acSonetFarEndVT15MinuteIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalPort.setDescription('The physical port number of the port.') acSonetFarEndVT15MinuteIntervalVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalVT.setDescription('The VT for which the set of statistics is available.') acSonetFarEndVT15MinuteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 98))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') acSonetFarEndVT15MinuteIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this VT FE 15 minute interval is valid.') acSonetFarEndVT15MinuteIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for this VT FE 15 minute interval.') acSonetFarEndVT15MinuteIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') acSonetFarEndVT15MinuteIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') acSonetFarEndVT15MinuteIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') acSonetFarEndVT15MinuteIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndVT in the current 15 minute interval.') acSonetFarEndVTDayIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2), ) if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalTable.setDescription('The SONET/SDH FarEndVT Day Interval table.') acSonetFarEndVTDayIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTDayIntervalNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTDayIntervalSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTDayIntervalPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTDayIntervalVT"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTDayIntervalNumber")) if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalEntry.setDescription('An entry in the SONET/SDH FarEndVT Day Interval table.') acSonetFarEndVTDayIntervalNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndVTDayIntervalSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSlot.setDescription('The physical slot number of the port.') acSonetFarEndVTDayIntervalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalPort.setDescription('The physical port number of the port.') acSonetFarEndVTDayIntervalVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalVT.setDescription('The VT for which the set of statistics is available.') acSonetFarEndVTDayIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') acSonetFarEndVTDayIntervalValidStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalValidStats.setDescription('This variable indicates if the data for this VT Day interval is valid.') acSonetFarEndVTDayIntervalResetStats = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalResetStats.setDescription('This flag is used to reset the data for this VT Day interval.') acSonetFarEndVTDayIntervalESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') acSonetFarEndVTDayIntervalSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') acSonetFarEndVTDayIntervalCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') acSonetFarEndVTDayIntervalUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndVT in the current 15 minute interval.') acSonetFarEndVTThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3), ) if mibBuilder.loadTexts: acSonetFarEndVTThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdTable.setDescription('The SONET/SDH FarEndVT Threshold Table.') acSonetFarEndVTThresholdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTThresholdNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTThresholdSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTThresholdPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTThresholdVT"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetFarEndVTThresholdSelectionNum")) if mibBuilder.loadTexts: acSonetFarEndVTThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdEntry.setDescription('An entry in the SONET/SDH FarEndVT Threshold Table.') acSonetFarEndVTThresholdNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetFarEndVTThresholdSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSlot.setDescription('The physical slot number of the port.') acSonetFarEndVTThresholdPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdPort.setDescription('The physical port number of the port.') acSonetFarEndVTThresholdVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTThresholdVT.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdVT.setDescription('The VT for which the set of statistics is available.') acSonetFarEndVTThresholdSelectionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("minute", 1), ("day", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetFarEndVTThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') acSonetFarEndVTThresholdAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 6), AcAdminStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVTThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetFarEndVTThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') acSonetFarEndVTThresholdESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVTThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdESs.setDescription('The threshold associated with Errored Seconds.') acSonetFarEndVTThresholdSESs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVTThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') acSonetFarEndVTThresholdCVs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVTThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdCVs.setDescription('The threshold associated with Coding Violations.') acSonetFarEndVTThresholdUASs = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetFarEndVTThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') acSonetPortProtectionTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4), ) if mibBuilder.loadTexts: acSonetPortProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionTable.setDescription('The SONET/SDH Port Protection table.') acSonetPortProtectionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPortProtectionNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPortProtectionSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPortProtectionPort")) if mibBuilder.loadTexts: acSonetPortProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionEntry.setDescription('An entry in the SONET/SDH Port Protection table.') acSonetPortProtectionNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPortProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPortProtectionSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPortProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionSlot.setDescription('The physical slot number of the port.') acSonetPortProtectionPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPortProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionPort.setDescription('The physical port number of the port.') acSonetPortProtectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("working", 1), ("protection", 2), ("west", 3), ("east", 4), ("match", 5), ("ring", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPortProtectionType.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionType.setDescription('This variable statically defines the purpose of the physical port connection as the working or protection port. It does not convey whether the system has undergone a protection switch.') acSonetLineProtectionTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4), ) if mibBuilder.loadTexts: acSonetLineProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionTable.setDescription('The SONET/SDH Line Protection table.') acSonetLineProtectionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetLineProtectionNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineProtectionSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetLineProtectionPort")) if mibBuilder.loadTexts: acSonetLineProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionEntry.setDescription('An entry in the SONET/SDH Line Protection table.') acSonetLineProtectionNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetLineProtectionSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSlot.setDescription('The physical slot number of the port.') acSonetLineProtectionPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetLineProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionPort.setDescription('The physical port number of the port.') acSonetLineProtectionArchitecture = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("one-plus-one", 2), ("one-to-one", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionArchitecture.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionArchitecture.setDescription('This variable defines the APS architecture as either 1+1 or 1:1.') acSonetLineProtectionOpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unidirectional", 1), ("bidirectional", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionOpMode.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionOpMode.setDescription('This variable defines the APS mode as either unidirectional or bidirectional.') acSonetLineProtectionSwitchType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("revertive", 1), ("nonrevertive", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionSwitchType.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSwitchType.setDescription('This variable defines the APS switch type as either revertive or nonrevertive.') acSonetLineProtectionSFThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionSFThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSFThreshold.setDescription('The threshold associated with Signal Fail (SF). This value determines the BER level for protection switching.') acSonetLineProtectionSDThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 9)).clone(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionSDThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSDThreshold.setDescription('The threshold associated with Signal Degrade (SD). This value determines the BER level for protection switching.') acSonetLineProtectionActiveTraffic = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 9), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineProtectionActiveTraffic.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionActiveTraffic.setDescription('This variable indicates when active traffic is on this line.') acSonetLineProtectionProtectionSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineProtectionProtectionSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionProtectionSwitch.setDescription('This variable indicates when a protection switch is currently affecting this line.') acSonetLineProtectionFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineProtectionFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionFail.setDescription('This variable indicates when a protection switching failure has taken place. See GR-253, 6.2.1.1.6.') acSonetLineProtectionChannelMismatchFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineProtectionChannelMismatchFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionChannelMismatchFail.setDescription('This variable indicates when a protection switching channel mismatch failure has taken place. See GR-253, 6.2.1.1.6.') acSonetLineProtectionModeMismatchFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineProtectionModeMismatchFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionModeMismatchFail.setDescription('This variable indicates when a protection switching mode mismatch failure has taken place. See GR-253, 6.2.1.1.6.') acSonetLineProtectionFarEndLineFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetLineProtectionFarEndLineFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionFarEndLineFail.setDescription('This variable indicates when a protection switching far-end protection-line failure has taken place. See GR-253, 6.2.1.1.6.') acSonetLineProtectionWTRTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(300, 720))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionWTRTime.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionWTRTime.setDescription('This variable defines the APS Wait To Restore time. The time has one second granularity and may have a value in the range from 300 seconds (5 minutes) to 720 seconds (12 minutes).') acSonetLineProtectionManCommand = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("clear", 1), ("lockout-protection", 2), ("force-working", 3), ("force-protection", 4), ("manual-working", 5), ("manual-protection", 6), ("exercise", 7), ("lockout-working", 8), ("clear-lockout-working", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetLineProtectionManCommand.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionManCommand.setDescription('This variable defines the APS manually initiated commands.') acSonetPathProtectionTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7), ) if mibBuilder.loadTexts: acSonetPathProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionTable.setDescription('The SONET/SDH Path Protection table.') acSonetPathProtectionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetPathProtectionNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathProtectionSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathProtectionPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetPathProtectionPath")) if mibBuilder.loadTexts: acSonetPathProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionEntry.setDescription('An entry in the SONET/SDH Path Protection table.') acSonetPathProtectionNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetPathProtectionSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSlot.setDescription('The physical slot number of the port.') acSonetPathProtectionPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionPort.setDescription('The physical port number of the port.') acSonetPathProtectionPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetPathProtectionPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionPath.setDescription('The STS-1 path for the port.') acSonetPathProtectionSwitchType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("revertive", 1), ("nonrevertive", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionSwitchType.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSwitchType.setDescription('This variable defines the path switch type as either revertive or nonrevertive.') acSonetPathProtectionSFThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionSFThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSFThreshold.setDescription('The threshold associated with Signal Fail (SF). This value determines the BER level for protection switching. The value used is the exponent to a power of 10, so 3 means 10E-3.') acSonetPathProtectionSDThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 9)).clone(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionSDThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSDThreshold.setDescription('The threshold associated with Signal Degrade (SD). This value determines the BER level for protection switching. The value used is the exponent to a power of 10, so 6 means 10E-6.') acSonetPathProtectionActiveTraffic = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathProtectionActiveTraffic.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionActiveTraffic.setDescription('This variable indicates when ODP or UPSR active traffic is on this path.') acSonetPathProtectionProtectionSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathProtectionProtectionSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionProtectionSwitch.setDescription('This variable indicates when either a UPSR or an ODP protection switch is currently affecting this path.') acSonetPathProtectionWTRTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 720))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionWTRTime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTRTime.setDescription('This variable defines the ODP or UPSR Wait To Restore time. The time has one second granularity and may have a value in the range from 1 second to 720 seconds(12 minutes).') acSonetPathProtectionWTITime = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionWTITime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTITime.setDescription('This variable defines the ODP Wait To Idle time. The time has one second granularity and may have a value in the range from 1 to 50 seconds.') acSonetPathProtectionWTCTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 720))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionWTCTime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTCTime.setDescription('This variable defines the ODP Wait To Clear time. The time has one second granularity and may have a value in the range from 1 second to 720 seconds (12 minutes).') acSonetPathProtectionWTRelTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionWTRelTime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTRelTime.setDescription('This variable defines the ODP Wait To Release time. The time has one second granularity and may have a value in the range from 1 to 50 seconds.') acSonetPathProtectionManSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("clear", 1), ("lockout-protection", 2), ("force-working", 3), ("force-protection", 4), ("manual-working", 5), ("manual-protection", 6), ("exercise", 7), ("lockout-working", 8), ("clear-lockout-working", 9), ("extra-traffic", 10)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionManSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionManSwitch.setDescription('This variable defines the ODP and UPSR manually initiated commands. Entries 7..10 are used in ODP only.') acSonetPathProtectionSwitchOpStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("idle", 1), ("bridged", 2), ("switched", 3), ("passthrough", 4), ("extra-traffic", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetPathProtectionSwitchOpStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSwitchOpStatus.setDescription('This variable defines the current switch condition of an ODP path.') acSonetPathProtectionProtectionMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("odp", 1), ("upsr", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetPathProtectionProtectionMode.setStatus('deprecated') if mibBuilder.loadTexts: acSonetPathProtectionProtectionMode.setDescription(' !! This object *MUST* be set before any other object is accessed. !! This is the type of protection switching to be used if independent path level protection switching is enabled. This is similar to the acTimeSlotPathProtectionMode object that resides in the timeslot table. Refer to it for a description of the enumerations.') acSonetVTProtectionTable = MibTable((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6), ) if mibBuilder.loadTexts: acSonetVTProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionTable.setDescription('The SONET/SDH VT Protection table.') acSonetVTProtectionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1), ).setIndexNames((0, "APPIAN-PPORT-SONET-MIB", "acSonetVTProtectionNodeId"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTProtectionSlot"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTProtectionPort"), (0, "APPIAN-PPORT-SONET-MIB", "acSonetVTProtectionVT")) if mibBuilder.loadTexts: acSonetVTProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionEntry.setDescription('An entry in the SONET/SDH VT Protection table.') acSonetVTProtectionNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 1), AcNodeId()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') acSonetVTProtectionSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 2), AcSlotNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSlot.setDescription('The physical slot number of the port.') acSonetVTProtectionPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 3), AcPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionPort.setDescription('The physical port number of the port.') acSonetVTProtectionVT = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 4), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: acSonetVTProtectionVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionVT.setDescription('The VT path instance for the port.') acSonetVTProtectionSwitchType = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("revertive", 1), ("nonrevertive", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTProtectionSwitchType.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSwitchType.setDescription('This variable defines the VT path switch type as either revertive or nonrevertive.') acSonetVTProtectionSFThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTProtectionSFThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSFThreshold.setDescription('The threshold associated with Signal Fail (SF). This value determines the BER level for protection switching.') acSonetVTProtectionSDThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 8)).clone(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTProtectionSDThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSDThreshold.setDescription('The threshold associated with Signal Degrade (SD). This value determines the BER level for protection switching.') acSonetVTProtectionProtectionSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTProtectionProtectionSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionProtectionSwitch.setDescription('This variable indicates when a protection switch is currently affecting this path.') acSonetVTProtectionWTRTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 720))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTProtectionWTRTime.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionWTRTime.setDescription('This variable defines the UPSR Wait To Restore time. The time has one second granularity and may have a value in the range from 1 second to 720 seconds(12 minutes).') acSonetVTProtectionManSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("clear", 1), ("lockout-protection", 2), ("force-working", 3), ("force-protection", 4), ("manual-working", 5), ("manual-protection", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acSonetVTProtectionManSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionManSwitch.setDescription('This variable defines the UPSR manually initiated commands.') acSonetVTProtectionActiveTraffic = MibTableColumn((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: acSonetVTProtectionActiveTraffic.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionActiveTraffic.setDescription('This variable indicates when UPSR active traffic is on this path.') mibBuilder.exportSymbols("APPIAN-PPORT-SONET-MIB", acSonetPathTIMFormat=acSonetPathTIMFormat, acSonetFarEndVTThresholdPort=acSonetFarEndVTThresholdPort, acSonetPathProtectionProtectionMode=acSonetPathProtectionProtectionMode, acSonetSectionSSMEntry=acSonetSectionSSMEntry, acSonetPathProtectionSlot=acSonetPathProtectionSlot, acSonetFarEndPathDayIntervalValidStats=acSonetFarEndPathDayIntervalValidStats, acSonetVTDayIntervalVT=acSonetVTDayIntervalVT, acSonetFarEndVT15MinuteIntervalPort=acSonetFarEndVT15MinuteIntervalPort, acSonetSection15MinuteIntervalPort=acSonetSection15MinuteIntervalPort, acSonetPortValidIntervals=acSonetPortValidIntervals, acSonetFarEndPath15MinuteIntervalNodeId=acSonetFarEndPath15MinuteIntervalNodeId, acSonetVT15MinuteIntervalSESs=acSonetVT15MinuteIntervalSESs, acSonetPath15MinuteIntervalESs=acSonetPath15MinuteIntervalESs, acSonetSectionSSMNodeId=acSonetSectionSSMNodeId, acSonetLine15MinuteIntervalUASs=acSonetLine15MinuteIntervalUASs, acSonetSection=acSonetSection, acSonetPath=acSonetPath, acSonetPathThresholdNodeId=acSonetPathThresholdNodeId, acSonetPathDayIntervalUASs=acSonetPathDayIntervalUASs, acSonetPortOpStatus=acSonetPortOpStatus, acSonetPath15MinuteIntervalSlot=acSonetPath15MinuteIntervalSlot, acSonetVTRDIVT=acSonetVTRDIVT, acSonetVTThresholdSlot=acSonetVTThresholdSlot, acSonetVTThresholdSelectionNum=acSonetVTThresholdSelectionNum, acSonetPortNodeId=acSonetPortNodeId, acSonetPathDayIntervalBER=acSonetPathDayIntervalBER, acSonetPathTIMSlot=acSonetPathTIMSlot, acSonetFarEndPathThresholdCVs=acSonetFarEndPathThresholdCVs, acSonetFarEndVTDayIntervalVT=acSonetFarEndVTDayIntervalVT, acSonetPortProtectionEntry=acSonetPortProtectionEntry, acSonetFarEndVT15MinuteIntervalSlot=acSonetFarEndVT15MinuteIntervalSlot, acSonetPathThresholdUASs=acSonetPathThresholdUASs, acSonetVT15MinuteIntervalNodeId=acSonetVT15MinuteIntervalNodeId, acSonetVTDayIntervalNodeId=acSonetVTDayIntervalNodeId, acSonetVTProtectionEntry=acSonetVTProtectionEntry, acSonetVTDayIntervalSlot=acSonetVTDayIntervalSlot, acSonetVTProtectionSlot=acSonetVTProtectionSlot, acSonetFarEndPathDayIntervalPath=acSonetFarEndPathDayIntervalPath, acSonetVTPLMExpectedValue=acSonetVTPLMExpectedValue, acSonetFarEndVTThresholdSelectionNum=acSonetFarEndVTThresholdSelectionNum, acSonetPortProtectionType=acSonetPortProtectionType, acSonetLineProtectionManCommand=acSonetLineProtectionManCommand, acSonetFarEndLine15MinuteIntervalESs=acSonetFarEndLine15MinuteIntervalESs, acSonetFarEndVTDayIntervalNumber=acSonetFarEndVTDayIntervalNumber, acSonetPathTIMDetectEnable=acSonetPathTIMDetectEnable, acSonetVTProtectionActiveTraffic=acSonetVTProtectionActiveTraffic, acSonetVTRDIPort=acSonetVTRDIPort, acSonetPath15MinuteIntervalResetStats=acSonetPath15MinuteIntervalResetStats, acSonetThresholdSlot=acSonetThresholdSlot, acSonetPath15MinuteIntervalUASs=acSonetPath15MinuteIntervalUASs, acSonetSectionDayIntervalESs=acSonetSectionDayIntervalESs, acSonetFarEndVTThresholdSESs=acSonetFarEndVTThresholdSESs, acSonetLineDayIntervalSESs=acSonetLineDayIntervalSESs, acSonetLineProtectionOpMode=acSonetLineProtectionOpMode, acSonetVT15MinuteIntervalStatus=acSonetVT15MinuteIntervalStatus, acSonetFarEndVTDayIntervalValidStats=acSonetFarEndVTDayIntervalValidStats, acSonetFarEndVTDayIntervalCVs=acSonetFarEndVTDayIntervalCVs, acSonetDCCSlot=acSonetDCCSlot, acSonetFarEndLineThresholdESs=acSonetFarEndLineThresholdESs, acSonetVTThresholdEntry=acSonetVTThresholdEntry, acSonetLineDayIntervalUASs=acSonetLineDayIntervalUASs, acSonetPathRDIOpMode=acSonetPathRDIOpMode, acSonetPathProtectionWTRelTime=acSonetPathProtectionWTRelTime, acSonetPathTIMNodeId=acSonetPathTIMNodeId, acSonetVTDayIntervalTable=acSonetVTDayIntervalTable, acSonetPathPLMEntry=acSonetPathPLMEntry, acSonetPathThresholdCVs=acSonetPathThresholdCVs, acSonetFarEndPathDayIntervalResetStats=acSonetFarEndPathDayIntervalResetStats, acSonetPathProtectionPath=acSonetPathProtectionPath, acSonetFarEndVTDayIntervalSlot=acSonetFarEndVTDayIntervalSlot, acSonetVT15MinuteIntervalNumber=acSonetVT15MinuteIntervalNumber, acSonetFarEndLineDayIntervalUASs=acSonetFarEndLineDayIntervalUASs, acSonetLineThresholdCVs=acSonetLineThresholdCVs, acSonetVTDayIntervalBER=acSonetVTDayIntervalBER, acSonetFarEndVTDayIntervalResetStats=acSonetFarEndVTDayIntervalResetStats, acSonetLineProtectionModeMismatchFail=acSonetLineProtectionModeMismatchFail, acSonetFarEndLineThresholdPort=acSonetFarEndLineThresholdPort, acSonetFarEndLineDayIntervalCVs=acSonetFarEndLineDayIntervalCVs, acSonetPathDayIntervalCVs=acSonetPathDayIntervalCVs, acSonetPathDayIntervalEntry=acSonetPathDayIntervalEntry, acSonetFarEndVTDayIntervalUASs=acSonetFarEndVTDayIntervalUASs, acSonetFarEndPathDayIntervalSESs=acSonetFarEndPathDayIntervalSESs, acSonetPortOpCode=acSonetPortOpCode, acSonetVTProtectionSwitchType=acSonetVTProtectionSwitchType, acSonetFarEndLineDayIntervalESs=acSonetFarEndLineDayIntervalESs, acSonetFarEndVT15MinuteIntervalUASs=acSonetFarEndVT15MinuteIntervalUASs, acSonetPathDayIntervalStatus=acSonetPathDayIntervalStatus, acSonetFarEndPath15MinuteIntervalSESs=acSonetFarEndPath15MinuteIntervalSESs, acSonetVT15MinuteIntervalSlot=acSonetVT15MinuteIntervalSlot, acSonetPathTIMReceivedString=acSonetPathTIMReceivedString, acSonetLine=acSonetLine, acSonetFarEndVTDayIntervalPort=acSonetFarEndVTDayIntervalPort, acSonetVTRDITable=acSonetVTRDITable, acSonetFarEndLine15MinuteIntervalEntry=acSonetFarEndLine15MinuteIntervalEntry, acSonetPathProtectionWTCTime=acSonetPathProtectionWTCTime, acSonetFarEndPath15MinuteIntervalPath=acSonetFarEndPath15MinuteIntervalPath, acSonetFarEndVTThresholdCVs=acSonetFarEndVTThresholdCVs, acSonetSection15MinuteIntervalTable=acSonetSection15MinuteIntervalTable, acSonetPathProtectionTable=acSonetPathProtectionTable, acSonetLineProtectionChannelMismatchFail=acSonetLineProtectionChannelMismatchFail, acSonetVTThresholdUASs=acSonetVTThresholdUASs, acSonetVTDayIntervalCVs=acSonetVTDayIntervalCVs, acSonetPathPLMMismatchFailure=acSonetPathPLMMismatchFailure, acSonetFarEndLine15MinuteIntervalSlot=acSonetFarEndLine15MinuteIntervalSlot, acSonetFarEndVTThresholdUASs=acSonetFarEndVTThresholdUASs, acSonetLineProtectionTable=acSonetLineProtectionTable, acSonetPortEntry=acSonetPortEntry, acSonetFarEndLineThresholdEntry=acSonetFarEndLineThresholdEntry, acSonetLineDayIntervalCVs=acSonetLineDayIntervalCVs, acSonetSection15MinuteIntervalResetStats=acSonetSection15MinuteIntervalResetStats, acSonetVTThresholdPort=acSonetVTThresholdPort, acSonetVTProtectionSFThreshold=acSonetVTProtectionSFThreshold, acSonetDCCAppianEnable=acSonetDCCAppianEnable, acSonetSectionDayIntervalNumber=acSonetSectionDayIntervalNumber, acSonetLineDayIntervalNodeId=acSonetLineDayIntervalNodeId, acSonetVTProtectionNodeId=acSonetVTProtectionNodeId, acSonetFarEndPathDayIntervalUASs=acSonetFarEndPathDayIntervalUASs, acSonetFarEndVTDayIntervalSESs=acSonetFarEndVTDayIntervalSESs, acSonetLineThresholdPort=acSonetLineThresholdPort, acSonetPortRingName=acSonetPortRingName, acSonetSectionThresholdTable=acSonetSectionThresholdTable, acSonetPathThresholdPort=acSonetPathThresholdPort, acSonetLine15MinuteIntervalPort=acSonetLine15MinuteIntervalPort, acSonetSectionTIMSlot=acSonetSectionTIMSlot, acSonetFarEndLine15MinuteIntervalPort=acSonetFarEndLine15MinuteIntervalPort, acSonetVT15MinuteIntervalEntry=acSonetVT15MinuteIntervalEntry, acSonetFarEndLine=acSonetFarEndLine, acSonetLineThresholdNodeId=acSonetLineThresholdNodeId, acSonetVTProtectionManSwitch=acSonetVTProtectionManSwitch, acSonetFarEndVT=acSonetFarEndVT, acSonetSectionTIMDetectEnable=acSonetSectionTIMDetectEnable, acSonetPortProtectionNodeId=acSonetPortProtectionNodeId, acSonetPathProtectionActiveTraffic=acSonetPathProtectionActiveTraffic, acSonetPortResetAllPMregs=acSonetPortResetAllPMregs, acSonetPortConnectionType=acSonetPortConnectionType, acSonetVTDayIntervalResetStats=acSonetVTDayIntervalResetStats, acSonetFarEndPathThresholdEntry=acSonetFarEndPathThresholdEntry, acSonetLine15MinuteIntervalBER=acSonetLine15MinuteIntervalBER, acSonetDCCSectionEnable=acSonetDCCSectionEnable, acSonetFarEndPathThresholdUASs=acSonetFarEndPathThresholdUASs, acSonetPathTIMTable=acSonetPathTIMTable, acSonetVTPLMVT=acSonetVTPLMVT, acSonetPathDayIntervalPort=acSonetPathDayIntervalPort, acSonetSectionSSMReceivedValue=acSonetSectionSSMReceivedValue, acSonetFarEndLineThresholdSlot=acSonetFarEndLineThresholdSlot, acSonetSectionDayIntervalResetStats=acSonetSectionDayIntervalResetStats, acSonetVTProtectionPort=acSonetVTProtectionPort, acSonetLineDayIntervalPort=acSonetLineDayIntervalPort, acSonetLineDayIntervalTable=acSonetLineDayIntervalTable, acSonetFarEndVTThresholdEntry=acSonetFarEndVTThresholdEntry, acSonetPathThresholdSlot=acSonetPathThresholdSlot, acSonetPath15MinuteIntervalStatus=acSonetPath15MinuteIntervalStatus, acSonetFarEndPath15MinuteIntervalNumber=acSonetFarEndPath15MinuteIntervalNumber, acSonetPortProtectionPort=acSonetPortProtectionPort, acSonetVTPLMTable=acSonetVTPLMTable, acSonetFarEndLine15MinuteIntervalTable=acSonetFarEndLine15MinuteIntervalTable, acSonetFarEndPath=acSonetFarEndPath, acSonetPathThresholdTable=acSonetPathThresholdTable, acSonetFarEndVT15MinuteIntervalValidStats=acSonetFarEndVT15MinuteIntervalValidStats, acSonetFarEndPathDayIntervalTable=acSonetFarEndPathDayIntervalTable, acSonetSectionDayIntervalTable=acSonetSectionDayIntervalTable, acSonetDCCPort=acSonetDCCPort, acSonetSectionTIMExpectedString=acSonetSectionTIMExpectedString, acSonetSectionTIMFailure=acSonetSectionTIMFailure, acSonetSectionSSMDetectEnable=acSonetSectionSSMDetectEnable, acSonetDCCAppianFail=acSonetDCCAppianFail, acSonetLineProtectionSwitchType=acSonetLineProtectionSwitchType, acSonetPathDayIntervalTable=acSonetPathDayIntervalTable, acSonetFarEndPath15MinuteIntervalResetStats=acSonetFarEndPath15MinuteIntervalResetStats, acSonetPathTIMEntry=acSonetPathTIMEntry, acSonetVTDayIntervalPort=acSonetVTDayIntervalPort, acSonetLineDayIntervalValidStats=acSonetLineDayIntervalValidStats, acSonetFarEndLineDayIntervalEntry=acSonetFarEndLineDayIntervalEntry, acSonetLineProtectionNodeId=acSonetLineProtectionNodeId, acSonetSection15MinuteIntervalNodeId=acSonetSection15MinuteIntervalNodeId, acSonetPathDayIntervalPath=acSonetPathDayIntervalPath, acSonetSectionTIMReceivedString=acSonetSectionTIMReceivedString, acSonetPathProtectionWTRTime=acSonetPathProtectionWTRTime, acSonetFarEndLine15MinuteIntervalResetStats=acSonetFarEndLine15MinuteIntervalResetStats, acSonetFarEndLineThresholdUASs=acSonetFarEndLineThresholdUASs, acSonetFarEndLine15MinuteIntervalSESs=acSonetFarEndLine15MinuteIntervalSESs, acSonetFarEndLineDayIntervalNodeId=acSonetFarEndLineDayIntervalNodeId, acSonetFarEndVT15MinuteIntervalResetStats=acSonetFarEndVT15MinuteIntervalResetStats, acSonetSection15MinuteIntervalCVs=acSonetSection15MinuteIntervalCVs, acSonetLineDayIntervalStatus=acSonetLineDayIntervalStatus, acSonetLine15MinuteIntervalESs=acSonetLine15MinuteIntervalESs, acSonetPathThresholdSelectionNum=acSonetPathThresholdSelectionNum, acSonetPathRDINodeId=acSonetPathRDINodeId, acSonetLineThresholdSelectionNum=acSonetLineThresholdSelectionNum, acSonetFarEndLineThresholdNodeId=acSonetFarEndLineThresholdNodeId, acSonetFarEndLineThresholdSelectionNum=acSonetFarEndLineThresholdSelectionNum, acSonetFarEndVT15MinuteIntervalEntry=acSonetFarEndVT15MinuteIntervalEntry, acSonetPortTimeElapsed=acSonetPortTimeElapsed, acSonetPathRDIPort=acSonetPathRDIPort, acSonetPortAdminStatus=acSonetPortAdminStatus, acSonetSection15MinuteIntervalESs=acSonetSection15MinuteIntervalESs, acSonetSectionDayIntervalEntry=acSonetSectionDayIntervalEntry, acSonetLineProtectionSFThreshold=acSonetLineProtectionSFThreshold, acSonetLineDayIntervalResetStats=acSonetLineDayIntervalResetStats, acSonetLineProtectionProtectionSwitch=acSonetLineProtectionProtectionSwitch, acSonetVT15MinuteIntervalUASs=acSonetVT15MinuteIntervalUASs, acSonetLine15MinuteIntervalSlot=acSonetLine15MinuteIntervalSlot, acSonetLine15MinuteIntervalTable=acSonetLine15MinuteIntervalTable, acSonetSectionSSMSlot=acSonetSectionSSMSlot, acSonetLine15MinuteIntervalCVs=acSonetLine15MinuteIntervalCVs, acSonetLineThresholdSESs=acSonetLineThresholdSESs, acSonetPathProtectionNodeId=acSonetPathProtectionNodeId, acSonetDCCTable=acSonetDCCTable, acSonetPath15MinuteIntervalCVs=acSonetPath15MinuteIntervalCVs, acSonetFarEndVTThresholdNodeId=acSonetFarEndVTThresholdNodeId, acSonetVTPLMUnequipped=acSonetVTPLMUnequipped, acSonetPortTransmitterEnable=acSonetPortTransmitterEnable, acSonetLineDayIntervalEntry=acSonetLineDayIntervalEntry, acSonetVT15MinuteIntervalResetStats=acSonetVT15MinuteIntervalResetStats, acSonetPathProtectionProtectionSwitch=acSonetPathProtectionProtectionSwitch, acSonetPortRingIdentifier=acSonetPortRingIdentifier, acSonetFarEndPathThresholdSESs=acSonetFarEndPathThresholdSESs, acSonetPathThresholdEntry=acSonetPathThresholdEntry, acSonetPathProtectionSwitchType=acSonetPathProtectionSwitchType, acSonetFarEndPathThresholdPort=acSonetFarEndPathThresholdPort, acSonetSectionTIMTable=acSonetSectionTIMTable, acSonetFarEndPathDayIntervalEntry=acSonetFarEndPathDayIntervalEntry, acSonetLineDayIntervalBER=acSonetLineDayIntervalBER, acSonetFarEndLine15MinuteIntervalNodeId=acSonetFarEndLine15MinuteIntervalNodeId, acSonetSectionThresholdSESs=acSonetSectionThresholdSESs, acSonetPath15MinuteIntervalPath=acSonetPath15MinuteIntervalPath, acSonetSectionDayIntervalPort=acSonetSectionDayIntervalPort, acSonetVTProtectionSDThreshold=acSonetVTProtectionSDThreshold, acSonetSectionThresholdCVs=acSonetSectionThresholdCVs, acSonetLineThresholdTable=acSonetLineThresholdTable, acSonetSectionTIMFormat=acSonetSectionTIMFormat, acSonetFarEndLineThresholdAdminStatus=acSonetFarEndLineThresholdAdminStatus, acSonetPathTIMGenerateEnable=acSonetPathTIMGenerateEnable, acSonetFarEndLineDayIntervalSESs=acSonetFarEndLineDayIntervalSESs, acSonetFarEndPath15MinuteIntervalEntry=acSonetFarEndPath15MinuteIntervalEntry, acSonetObjectsVT=acSonetObjectsVT, acSonetSectionDayIntervalValidStats=acSonetSectionDayIntervalValidStats, acSonetThresholdPort=acSonetThresholdPort, acSonetLineProtectionSDThreshold=acSonetLineProtectionSDThreshold, acSonetLineProtectionArchitecture=acSonetLineProtectionArchitecture, acSonetFarEndPathDayIntervalESs=acSonetFarEndPathDayIntervalESs, acSonetFarEndLineDayIntervalSlot=acSonetFarEndLineDayIntervalSlot, acSonetPathTIMMismatchZeros=acSonetPathTIMMismatchZeros, acSonetVTPLMMismatchFailure=acSonetVTPLMMismatchFailure, acSonetFarEndPath15MinuteIntervalCVs=acSonetFarEndPath15MinuteIntervalCVs, acSonetSectionDayIntervalSESs=acSonetSectionDayIntervalSESs, acSonetVT15MinuteIntervalCVs=acSonetVT15MinuteIntervalCVs, acSonetPathProtectionManSwitch=acSonetPathProtectionManSwitch, acSonetVTProtectionWTRTime=acSonetVTProtectionWTRTime, acSonetPort=acSonetPort, acSonetPortSlot=acSonetPortSlot, acSonetPathPLMNodeId=acSonetPathPLMNodeId, acSonetFarEndPathDayIntervalNumber=acSonetFarEndPathDayIntervalNumber, acSonetSectionThresholdNodeId=acSonetSectionThresholdNodeId) mibBuilder.exportSymbols("APPIAN-PPORT-SONET-MIB", acSonetSectionDayIntervalCVs=acSonetSectionDayIntervalCVs, acSonetVTDayIntervalStatus=acSonetVTDayIntervalStatus, acSonetLineProtectionFarEndLineFail=acSonetLineProtectionFarEndLineFail, acSonetPathThresholdSESs=acSonetPathThresholdSESs, acSonetSectionDayIntervalSEFSs=acSonetSectionDayIntervalSEFSs, acSonetSectionSSMTable=acSonetSectionSSMTable, acSonetPortMediumType=acSonetPortMediumType, acSonetLineDayIntervalSlot=acSonetLineDayIntervalSlot, acSonetFarEndPath15MinuteIntervalTable=acSonetFarEndPath15MinuteIntervalTable, acSonetLineProtectionEntry=acSonetLineProtectionEntry, acSonetPathProtectionSwitchOpStatus=acSonetPathProtectionSwitchOpStatus, acSonetFarEndVT15MinuteIntervalNumber=acSonetFarEndVT15MinuteIntervalNumber, acSonetSectionThresholdEntry=acSonetSectionThresholdEntry, acSonetFarEndPathDayIntervalPort=acSonetFarEndPathDayIntervalPort, acSonetFarEndLine15MinuteIntervalCVs=acSonetFarEndLine15MinuteIntervalCVs, acSonetPathRDITable=acSonetPathRDITable, acSonetVT15MinuteIntervalPort=acSonetVT15MinuteIntervalPort, acSonetVT15MinuteIntervalTable=acSonetVT15MinuteIntervalTable, acSonetFarEndVT15MinuteIntervalSESs=acSonetFarEndVT15MinuteIntervalSESs, acSonetPortProtectionTable=acSonetPortProtectionTable, acSonetSectionDayIntervalSlot=acSonetSectionDayIntervalSlot, acSonetFarEndPathThresholdAdminStatus=acSonetFarEndPathThresholdAdminStatus, acSonetVTDayIntervalEntry=acSonetVTDayIntervalEntry, acSonetThresholdNodeId=acSonetThresholdNodeId, acSonetSectionSSMPort=acSonetSectionSSMPort, acSonetVTDayIntervalESs=acSonetVTDayIntervalESs, acSonetVTPLMDetectEnable=acSonetVTPLMDetectEnable, AcTraceString=AcTraceString, acSonetLineProtectionFail=acSonetLineProtectionFail, acSonetPathTIMPort=acSonetPathTIMPort, acSonetLine15MinuteIntervalValidStats=acSonetLine15MinuteIntervalValidStats, acSonetVTRDISlot=acSonetVTRDISlot, acSonetVTRDIOpMode=acSonetVTRDIOpMode, acSonetPath15MinuteIntervalValidStats=acSonetPath15MinuteIntervalValidStats, acSonetFarEndVTThresholdESs=acSonetFarEndVTThresholdESs, acSonetSectionDayIntervalStatus=acSonetSectionDayIntervalStatus, acSonetVTPLMReceivedValue=acSonetVTPLMReceivedValue, acSonetPathTIMTransmitedString=acSonetPathTIMTransmitedString, acSonetFarEndLineThresholdCVs=acSonetFarEndLineThresholdCVs, acSonetPath15MinuteIntervalNumber=acSonetPath15MinuteIntervalNumber, acSonetPathProtectionPort=acSonetPathProtectionPort, acSonetFarEndPathDayIntervalCVs=acSonetFarEndPathDayIntervalCVs, acSonetLineThresholdESs=acSonetLineThresholdESs, acSonetPathPLMExpectedValue=acSonetPathPLMExpectedValue, acSonetFarEndPath15MinuteIntervalUASs=acSonetFarEndPath15MinuteIntervalUASs, acSonetVTProtectionTable=acSonetVTProtectionTable, acSonetLineThresholdUASs=acSonetLineThresholdUASs, acSonetSectionThresholdSelectionNum=acSonetSectionThresholdSelectionNum, acSonetPathPLMReceivedValue=acSonetPathPLMReceivedValue, acSonetVTThresholdCVs=acSonetVTThresholdCVs, acSonetPathThresholdESs=acSonetPathThresholdESs, acSonetFarEndVTThresholdAdminStatus=acSonetFarEndVTThresholdAdminStatus, acSonetDCCNodeId=acSonetDCCNodeId, acSonetPathDayIntervalValidStats=acSonetPathDayIntervalValidStats, acSonetSectionDayIntervalNodeId=acSonetSectionDayIntervalNodeId, acSonetVT15MinuteIntervalVT=acSonetVT15MinuteIntervalVT, acSonetPortPort=acSonetPortPort, acSonetLineDayIntervalNumber=acSonetLineDayIntervalNumber, acSonetFarEndLineDayIntervalResetStats=acSonetFarEndLineDayIntervalResetStats, acSonetSectionSSMTransmitedValue=acSonetSectionSSMTransmitedValue, acSonetVTDayIntervalUASs=acSonetVTDayIntervalUASs, acSonetVTRDINodeId=acSonetVTRDINodeId, acSonetPathProtectionSFThreshold=acSonetPathProtectionSFThreshold, acSonetFarEndLineDayIntervalTable=acSonetFarEndLineDayIntervalTable, acSonetLineDayIntervalESs=acSonetLineDayIntervalESs, acSonetPortProtectionSlot=acSonetPortProtectionSlot, acSonetFarEndVTThresholdVT=acSonetFarEndVTThresholdVT, acSonetSection15MinuteIntervalNumber=acSonetSection15MinuteIntervalNumber, acSonetLine15MinuteIntervalSESs=acSonetLine15MinuteIntervalSESs, acSonetVTPLMTransmitedValue=acSonetVTPLMTransmitedValue, acSonetVT15MinuteIntervalBER=acSonetVT15MinuteIntervalBER, acSonetVTPLMNodeId=acSonetVTPLMNodeId, acSonetVTThresholdNodeId=acSonetVTThresholdNodeId, acSonetFarEndVTDayIntervalESs=acSonetFarEndVTDayIntervalESs, acSonetFarEndVTDayIntervalEntry=acSonetFarEndVTDayIntervalEntry, acSonetThresholdTable=acSonetThresholdTable, acSonetFarEndPath15MinuteIntervalESs=acSonetFarEndPath15MinuteIntervalESs, acSonetFarEndPathThresholdSlot=acSonetFarEndPathThresholdSlot, acSonetFarEndLineDayIntervalValidStats=acSonetFarEndLineDayIntervalValidStats, acSonetFarEndPathThresholdSelectionNum=acSonetFarEndPathThresholdSelectionNum, acSonetFarEndVTDayIntervalNodeId=acSonetFarEndVTDayIntervalNodeId, acSonetFarEndLineThresholdSESs=acSonetFarEndLineThresholdSESs, acSonetPortResetCurrentPMregs=acSonetPortResetCurrentPMregs, acSonetSection15MinuteIntervalEntry=acSonetSection15MinuteIntervalEntry, acSonetPortTable=acSonetPortTable, acSonetFarEndPathThresholdPath=acSonetFarEndPathThresholdPath, acSonetVTThresholdSESs=acSonetVTThresholdSESs, acSonetPathRDIPath=acSonetPathRDIPath, acSonetFarEndLineDayIntervalNumber=acSonetFarEndLineDayIntervalNumber, acSonetLineProtectionActiveTraffic=acSonetLineProtectionActiveTraffic, acSonetPathPLMTransmitedValue=acSonetPathPLMTransmitedValue, acSonetLineThresholdEntry=acSonetLineThresholdEntry, acSonetSection15MinuteIntervalSESs=acSonetSection15MinuteIntervalSESs, acSonetLine15MinuteIntervalStatus=acSonetLine15MinuteIntervalStatus, acSonetPathDayIntervalSESs=acSonetPathDayIntervalSESs, acSonet=acSonet, acSonetPathPLMSlot=acSonetPathPLMSlot, acSonetVTProtectionVT=acSonetVTProtectionVT, acSonetFarEndLine15MinuteIntervalNumber=acSonetFarEndLine15MinuteIntervalNumber, acSonetFarEndLine15MinuteIntervalValidStats=acSonetFarEndLine15MinuteIntervalValidStats, acSonetVT15MinuteIntervalValidStats=acSonetVT15MinuteIntervalValidStats, acSonetThresholdSESSet=acSonetThresholdSESSet, acSonetSectionTIMGenerateEnable=acSonetSectionTIMGenerateEnable, acSonetVTDayIntervalSESs=acSonetVTDayIntervalSESs, acSonetLineThresholdSlot=acSonetLineThresholdSlot, acSonetPath15MinuteIntervalBER=acSonetPath15MinuteIntervalBER, PYSNMP_MODULE_ID=acSonet, acSonetPortCircuitIdentifier=acSonetPortCircuitIdentifier, acSonetFarEndVTThresholdSlot=acSonetFarEndVTThresholdSlot, acSonetPathPLMDetectEnable=acSonetPathPLMDetectEnable, acSonetFarEndPathThresholdTable=acSonetFarEndPathThresholdTable, acSonetDCCLineEnable=acSonetDCCLineEnable, acSonetSectionThresholdPort=acSonetSectionThresholdPort, acSonetSectionThresholdSEFSs=acSonetSectionThresholdSEFSs, acSonetPath15MinuteIntervalTable=acSonetPath15MinuteIntervalTable, acSonetVTDayIntervalValidStats=acSonetVTDayIntervalValidStats, acSonetPath15MinuteIntervalNodeId=acSonetPath15MinuteIntervalNodeId, acSonetSectionTIMEntry=acSonetSectionTIMEntry, acSonetPathDayIntervalResetStats=acSonetPathDayIntervalResetStats, acSonetSectionTIMTransmitedString=acSonetSectionTIMTransmitedString, acSonetFarEndLineDayIntervalPort=acSonetFarEndLineDayIntervalPort, acSonetLine15MinuteIntervalNodeId=acSonetLine15MinuteIntervalNodeId, acSonetVTDayIntervalNumber=acSonetVTDayIntervalNumber, acSonetPortInvalidIntervals=acSonetPortInvalidIntervals, acSonetPathProtectionWTITime=acSonetPathProtectionWTITime, acSonetPath15MinuteIntervalEntry=acSonetPath15MinuteIntervalEntry, acSonetPathThresholdAdminStatus=acSonetPathThresholdAdminStatus, acSonetFarEndVT15MinuteIntervalTable=acSonetFarEndVT15MinuteIntervalTable, acSonetSectionThresholdESs=acSonetSectionThresholdESs, acSonetPortMediumLineCoding=acSonetPortMediumLineCoding, acSonetPathPLMTable=acSonetPathPLMTable, acSonetVT15MinuteIntervalESs=acSonetVT15MinuteIntervalESs, acSonetFarEndVT15MinuteIntervalVT=acSonetFarEndVT15MinuteIntervalVT, acSonetSection15MinuteIntervalSEFSs=acSonetSection15MinuteIntervalSEFSs, acSonetFarEndVT15MinuteIntervalNodeId=acSonetFarEndVT15MinuteIntervalNodeId, acSonetPortLoopbackConfig=acSonetPortLoopbackConfig, acSonetFarEndPathDayIntervalNodeId=acSonetFarEndPathDayIntervalNodeId, acSonetLineProtectionWTRTime=acSonetLineProtectionWTRTime, acSonetPathDayIntervalNumber=acSonetPathDayIntervalNumber, acSonetVT=acSonetVT, acSonetVTProtectionProtectionSwitch=acSonetVTProtectionProtectionSwitch, acSonetPath15MinuteIntervalSESs=acSonetPath15MinuteIntervalSESs, acSonetVTRDIEntry=acSonetVTRDIEntry, acSonetObjectsPath=acSonetObjectsPath, acSonetVTPLMEntry=acSonetVTPLMEntry, acSonetSection15MinuteIntervalSlot=acSonetSection15MinuteIntervalSlot, acSonetFarEndPath15MinuteIntervalValidStats=acSonetFarEndPath15MinuteIntervalValidStats, acSonetFarEndPathThresholdESs=acSonetFarEndPathThresholdESs, acSonetObjects=acSonetObjects, acSonetFarEndLine15MinuteIntervalUASs=acSonetFarEndLine15MinuteIntervalUASs, acSonetLine15MinuteIntervalNumber=acSonetLine15MinuteIntervalNumber, acSonetFarEndVTDayIntervalTable=acSonetFarEndVTDayIntervalTable, acSonetPathThresholdPath=acSonetPathThresholdPath, acSonetSectionTIMMismatchZeros=acSonetSectionTIMMismatchZeros, acSonetLineProtectionSlot=acSonetLineProtectionSlot, acSonetFarEndPathThresholdNodeId=acSonetFarEndPathThresholdNodeId, acSonetPortMediumLineType=acSonetPortMediumLineType, acSonetLine15MinuteIntervalResetStats=acSonetLine15MinuteIntervalResetStats, acSonetVTPLMSlot=acSonetVTPLMSlot, acSonetPathPLMUnequipped=acSonetPathPLMUnequipped, acSonetSectionTIMNodeId=acSonetSectionTIMNodeId, acSonetDCCSectionFail=acSonetDCCSectionFail, acSonetLine15MinuteIntervalEntry=acSonetLine15MinuteIntervalEntry, acSonetFarEndPath15MinuteIntervalSlot=acSonetFarEndPath15MinuteIntervalSlot, acSonetPathTIMFailure=acSonetPathTIMFailure, acSonetLineProtectionPort=acSonetLineProtectionPort, acSonetSection15MinuteIntervalValidStats=acSonetSection15MinuteIntervalValidStats, acSonetPathDayIntervalNodeId=acSonetPathDayIntervalNodeId, acSonetFarEndVT15MinuteIntervalCVs=acSonetFarEndVT15MinuteIntervalCVs, acSonetFarEndLineThresholdTable=acSonetFarEndLineThresholdTable, acSonetPathRDIEntry=acSonetPathRDIEntry, acSonetPathProtectionSDThreshold=acSonetPathProtectionSDThreshold, acSonetPathPLMPort=acSonetPathPLMPort, acSonetVTThresholdVT=acSonetVTThresholdVT, acSonetPathPLMPath=acSonetPathPLMPath, acSonetVTThresholdESs=acSonetVTThresholdESs, acSonetPathRDISlot=acSonetPathRDISlot, acSonetDCCEntry=acSonetDCCEntry, acSonetThresholdEntry=acSonetThresholdEntry, acSonetSection15MinuteIntervalStatus=acSonetSection15MinuteIntervalStatus, acSonetFarEndVT15MinuteIntervalESs=acSonetFarEndVT15MinuteIntervalESs, acSonetPathTIMExpectedString=acSonetPathTIMExpectedString, acSonetSectionThresholdSlot=acSonetSectionThresholdSlot, acSonetPathDayIntervalSlot=acSonetPathDayIntervalSlot, acSonetFarEndPath15MinuteIntervalPort=acSonetFarEndPath15MinuteIntervalPort, acSonetFarEndVTThresholdTable=acSonetFarEndVTThresholdTable, acSonetVTThresholdAdminStatus=acSonetVTThresholdAdminStatus, acSonetPathProtectionEntry=acSonetPathProtectionEntry, acSonetFarEndPathDayIntervalSlot=acSonetFarEndPathDayIntervalSlot, acSonetVTThresholdTable=acSonetVTThresholdTable, acSonetPathTIMPath=acSonetPathTIMPath, acSonetPathDayIntervalESs=acSonetPathDayIntervalESs, acSonetSectionTIMPort=acSonetSectionTIMPort, acSonetSectionThresholdAdminStatus=acSonetSectionThresholdAdminStatus, acSonetPath15MinuteIntervalPort=acSonetPath15MinuteIntervalPort, acSonetDCCLineFail=acSonetDCCLineFail, acSonetVTPLMPort=acSonetVTPLMPort, acSonetLineThresholdAdminStatus=acSonetLineThresholdAdminStatus)
(ac_pport, ac_admin_status, ac_op_status, ac_slot_number, ac_port_number, ac_node_id) = mibBuilder.importSymbols('APPIAN-SMI-MIB', 'acPport', 'AcAdminStatus', 'AcOpStatus', 'AcSlotNumber', 'AcPortNumber', 'AcNodeId') (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, value_size_constraint, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint') (perf_interval_count,) = mibBuilder.importSymbols('PerfHist-TC-MIB', 'PerfIntervalCount') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (module_identity, mib_identifier, counter64, ip_address, object_identity, time_ticks, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, bits, gauge32, notification_type, integer32, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'MibIdentifier', 'Counter64', 'IpAddress', 'ObjectIdentity', 'TimeTicks', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Bits', 'Gauge32', 'NotificationType', 'Integer32', 'Counter32') (display_string, truth_value, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TruthValue', 'TextualConvention') ac_sonet = module_identity((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6)) acSonet.setRevisions(('1900-02-23 16:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: acSonet.setRevisionsDescriptions(('Engineering draft, not for release.',)) if mibBuilder.loadTexts: acSonet.setLastUpdated('0002231600Z') if mibBuilder.loadTexts: acSonet.setOrganization('Appian Communications, Inc.') if mibBuilder.loadTexts: acSonet.setContactInfo('Douglas Stahl') if mibBuilder.loadTexts: acSonet.setDescription('The MIB module to describe SONET/SDH objects.') class Actracestring(TextualConvention, OctetString): description = "A string of up to printable characters, followed by padding NULL characters, and terminated with <CR> and <LF> characters, for a total of 64 characters. The maximum number of printable characters is 62 and if it's less, it's padded with NULL. Therefore the number of padding NULL characters is 0 to 62." status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(64, 64) fixed_length = 64 ac_sonet_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1)) ac_sonet_objects_path = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2)) ac_sonet_objects_vt = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3)) ac_sonet_port = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1)) ac_sonet_section = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2)) ac_sonet_line = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3)) ac_sonet_far_end_line = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4)) ac_sonet_path = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1)) ac_sonet_far_end_path = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2)) ac_sonet_vt = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1)) ac_sonet_far_end_vt = mib_identifier((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2)) ac_sonet_port_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1)) if mibBuilder.loadTexts: acSonetPortTable.setStatus('current') if mibBuilder.loadTexts: acSonetPortTable.setDescription('The SONET/SDH Port table which must be created by the management client.') ac_sonet_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPortNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPortSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPortPort')) if mibBuilder.loadTexts: acSonetPortEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPortEntry.setDescription('An entry in the SONET/SDH Port table.') ac_sonet_port_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPortNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPortNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_port_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPortSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPortSlot.setDescription('The physical slot number of the port.') ac_sonet_port_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPortPort.setStatus('current') if mibBuilder.loadTexts: acSonetPortPort.setDescription('The physical port number of the port.') ac_sonet_port_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 4), ac_admin_status().clone('inactivate')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortAdminStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPortAdminStatus.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_sonet_port_op_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 5), ac_op_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPortOpStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPortOpStatus.setDescription('The current operational status for the SONET module controlling this port.') ac_sonet_port_op_code = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPortOpCode.setStatus('current') if mibBuilder.loadTexts: acSonetPortOpCode.setDescription('Provides a detailed status code which can be used to isolate a problem or state condition reported in acSonetPortOpStatus.') ac_sonet_port_medium_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('sonet', 1), ('sdh', 2))).clone('sonet')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortMediumType.setStatus('current') if mibBuilder.loadTexts: acSonetPortMediumType.setDescription('This variable identifies whether a SONET or a SDH signal is used across this interface.') ac_sonet_port_time_elapsed = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 900))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPortTimeElapsed.setStatus('current') if mibBuilder.loadTexts: acSonetPortTimeElapsed.setDescription("The number of seconds, including partial seconds, that have elapsed since the beginning of the current measurement period. If, for some reason, such as an adjustment in the system's time-of-day clock, the current interval exceeds the maximum value, the agent will return the maximum value.") ac_sonet_port_valid_intervals = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 96))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPortValidIntervals.setStatus('current') if mibBuilder.loadTexts: acSonetPortValidIntervals.setDescription('The number of previous 15-minute intervals for which data was collected. A SONET/SDH interface must be capable of supporting at least n intervals. The minimum value of n is 4. The default of n is 32. The maximum value of n is 96. The value will be <n> unless the measurement was (re-)started within the last (<n>*15) minutes, in which case the value will be the number of complete 15 minute intervals for which the agent has at least some data. In certain cases (e.g., in the case where the agent is a proxy) it is possible that some intervals are unavailable. In this case, this interval is the maximum interval number for which data is available. ') ac_sonet_port_medium_line_coding = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('b3zs', 2), ('cmi', 3), ('nrz', 4), ('rz', 5))).clone('nrz')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortMediumLineCoding.setStatus('current') if mibBuilder.loadTexts: acSonetPortMediumLineCoding.setDescription('This variable describes the line coding for this interface. The B3ZS and CMI are used for electrical SONET/SDH signals (STS-1 and STS-3). The Non-Return to Zero (NRZ) and the Return to Zero are used for optical SONET/SDH signals.') ac_sonet_port_medium_line_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('short-single', 2), ('long-single', 3), ('multi', 4), ('coax', 5), ('utp', 6), ('intermediate', 7))).clone('multi')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortMediumLineType.setStatus('current') if mibBuilder.loadTexts: acSonetPortMediumLineType.setDescription('This variable describes the line type for this interface. The line types are Short and Long Range Single Mode fiber or Multi-Mode fiber interfaces, and coax and UTP for electrical interfaces. The value acSonetOther should be used when the Line Type is not one of the listed values.') ac_sonet_port_transmitter_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 12), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortTransmitterEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPortTransmitterEnable.setDescription('Turns the laser on and off.') ac_sonet_port_circuit_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortCircuitIdentifier.setStatus('current') if mibBuilder.loadTexts: acSonetPortCircuitIdentifier.setDescription("This variable contains the transmission vendor's circuit identifier, for the purpose of facilitating troubleshooting. Note that the circuit identifier, if available, is also represented by ifPhysAddress.") ac_sonet_port_invalid_intervals = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 96))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPortInvalidIntervals.setStatus('current') if mibBuilder.loadTexts: acSonetPortInvalidIntervals.setDescription('The number of intervals in the range from 0 to acSonetPortValidIntervals for which no data is available. This object will typically be zero except in cases where the data for some intervals are not available (e.g., in proxy situations).') ac_sonet_port_loopback_config = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('none', 0), ('facility', 1), ('terminal', 2), ('other', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortLoopbackConfig.setStatus('current') if mibBuilder.loadTexts: acSonetPortLoopbackConfig.setDescription('The current loopback state of the SONET/SDH interface. The values mean: none(0) Not in the loopback state. A device that is not capable of performing a loopback on this interface shall always return this value. facility(1) The received signal at this interface is looped back out through the corresponding transmitter in the return direction. terminal(2) The signal that is about to be transmitted is connected to the associated incoming receiver. other(3) Loopbacks that are not defined here.') ac_sonet_port_reset_current_p_mregs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 16), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortResetCurrentPMregs.setStatus('current') if mibBuilder.loadTexts: acSonetPortResetCurrentPMregs.setDescription('Reset Performance Monitoring Registers for current 15 minute and day to zero for entity-related statisics. Reset on receiving a 1, will automatically go to 0 at next 15 minute or day interval.') ac_sonet_port_reset_all_p_mregs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 17), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortResetAllPMregs.setStatus('current') if mibBuilder.loadTexts: acSonetPortResetAllPMregs.setDescription('Reset Performance Monitoring Registers to zero for all entity-related statisics. Reset on receiving a 1, will automatically go to 0 at next 15 minute or day interval.') ac_sonet_port_connection_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ring', 1), ('interconnect', 2))).clone('interconnect')).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortConnectionType.setStatus('current') if mibBuilder.loadTexts: acSonetPortConnectionType.setDescription('Whether the port is used on the ring side or the interconnect side. An interconnect interface is the one that connects to the ADM.') ac_sonet_port_ring_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 19), integer32().clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortRingIdentifier.setStatus('current') if mibBuilder.loadTexts: acSonetPortRingIdentifier.setDescription('This is a number assigned by carrier. It is contained here as a convenience for carrier and the EMS. It is not used by the device. When used, this should be set in east facing port row in this table. It can also be optionally set in the west facing port row in this table but it must be the same as the set in the east facing port row.') ac_sonet_port_ring_name = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 1, 1, 20), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: acSonetPortRingName.setStatus('current') if mibBuilder.loadTexts: acSonetPortRingName.setDescription('An ASCII text name up to 32 characters in length which is assigned to this optical ring. Like the RingIdentifier, this is contained here as a convenience for the carrier and the EMS. It is not used by the device. When used, this should be set in east facing port row in this table. It can also be optionally set in the west facing port row in this table but it must be the same as the set in the east facing port row.') ac_sonet_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2)) if mibBuilder.loadTexts: acSonetThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdTable.setDescription('The SONET/SDH Threshold Table.') ac_sonet_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetThresholdPort')) if mibBuilder.loadTexts: acSonetThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdEntry.setDescription('An entry in the SONET/SDH Port Table.') ac_sonet_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdPort.setDescription('The physical port number of the port.') ac_sonet_threshold_ses_set = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('bellcore', 2), ('ansi93', 3), ('itu', 4), ('ansi97', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetThresholdSESSet.setStatus('current') if mibBuilder.loadTexts: acSonetThresholdSESSet.setDescription('An enumerated integer indicating which recognized set of thresholds that the agent uses for determining severely errored seconds and unavailable time. other(1) None of the following. Bellcore1991(2) Bellcore TR-NWT-000253, 1991 [32], or ANSI T1M1.3/93-005R2, 1993 [22]. See also Appendix B. ansi1993(3) ANSI T1.231, 1993 [31], or Bellcore GR-253-CORE, Issue 2, 1995 [34] itu1995(4) ITU Recommendation G.826, 1995 [33] ansi1997(5) ANSI T1.231, 1997 [35] If a manager changes the value of this object then the SES statistics collected prior to this change must be invalidated.') ac_sonet_dcc_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3)) if mibBuilder.loadTexts: acSonetDCCTable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCTable.setDescription('The SONET/SDH DCC Table.') ac_sonet_dcc_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetDCCNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetDCCSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetDCCPort')) if mibBuilder.loadTexts: acSonetDCCEntry.setStatus('current') if mibBuilder.loadTexts: acSonetDCCEntry.setDescription('An entry in the SONET/SDH Port Table.') ac_sonet_dcc_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetDCCNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetDCCNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_dcc_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetDCCSlot.setStatus('current') if mibBuilder.loadTexts: acSonetDCCSlot.setDescription('The physical slot number of the port.') ac_sonet_dcc_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetDCCPort.setStatus('current') if mibBuilder.loadTexts: acSonetDCCPort.setDescription('The physical port number of the port.') ac_sonet_dcc_section_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 4), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetDCCSectionEnable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCSectionEnable.setDescription('This variable indicates that the DCC for the section is enabled.') ac_sonet_dcc_line_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetDCCLineEnable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCLineEnable.setDescription('This variable indicates that the DCC for the line is enabled.') ac_sonet_dcc_appian_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 6), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetDCCAppianEnable.setStatus('current') if mibBuilder.loadTexts: acSonetDCCAppianEnable.setDescription('This variable indicates that the Appian DCC is enabled.') ac_sonet_dcc_section_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 7), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetDCCSectionFail.setStatus('current') if mibBuilder.loadTexts: acSonetDCCSectionFail.setDescription('This variable indicates that the DCC for the section has failed.') ac_sonet_dcc_line_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetDCCLineFail.setStatus('current') if mibBuilder.loadTexts: acSonetDCCLineFail.setDescription('This variable indicates that the DCC for the line has failed.') ac_sonet_dcc_appian_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 3, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetDCCAppianFail.setStatus('current') if mibBuilder.loadTexts: acSonetDCCAppianFail.setDescription('This variable indicates that the Appian DCC has failed.') ac_sonet_section15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1)) if mibBuilder.loadTexts: acSonetSection15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalTable.setDescription('The SONET/SDH Section 15Minute Interval table.') ac_sonet_section15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSection15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSection15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSection15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSection15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetSection15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH Section 15Minute Interval table.') ac_sonet_section15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_section15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_section15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_section15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_section15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalValidStats.setDescription('This flag indicates if the data for this interval is valid.') ac_sonet_section15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 6), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for a 15 minute interval.') ac_sonet_section15_minute_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetSectionCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetSectionNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetSectionNoDefect 2 acSonetSectionLOS 4 acSonetSectionLOF') ac_sonet_section15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') ac_sonet_section15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') ac_sonet_section15_minute_interval_sef_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSEFSs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalSEFSs.setDescription('The counter associated with the number of Severely Errored Framing Seconds encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') ac_sonet_section15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 1, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetSection15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Section in a particular 15-minute interval in the past 24 hours.') ac_sonet_section_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2)) if mibBuilder.loadTexts: acSonetSectionDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalTable.setDescription('The SONET/SDH Section Day Interval table.') ac_sonet_section_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionDayIntervalNumber')) if mibBuilder.loadTexts: acSonetSectionDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalEntry.setDescription('An entry in the SONET/SDH Section Day Interval table.') ac_sonet_section_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_section_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_section_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_section_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_section_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalValidStats.setDescription('This flag indicates if the data for this interval is valid.') ac_sonet_section_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 6), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalResetStats.setDescription('Flag used to reset the current day interval stats.') ac_sonet_section_day_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetSectionCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetSectionNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetSectionNoDefect 2 acSonetSectionLOS 4 acSonetSectionLOF') ac_sonet_section_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') ac_sonet_section_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') ac_sonet_section_day_interval_sef_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionDayIntervalSEFSs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalSEFSs.setDescription('The counter associated with the number of Severely Errored Framing Seconds encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') ac_sonet_section_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Section in a particular day interval in the past 30 days.') ac_sonet_section_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3)) if mibBuilder.loadTexts: acSonetSectionThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdTable.setDescription('The SONET/SDH Section Threshold Table.') ac_sonet_section_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetSectionThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdEntry.setDescription('An entry in the SONET/SDH Section Threshold Table.') ac_sonet_section_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_section_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_section_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdPort.setDescription('The physical port number of the port.') ac_sonet_section_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds.') ac_sonet_section_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 5), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetSectionThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this sonet port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_section_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_section_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_section_threshold_sef_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionThresholdSEFSs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdSEFSs.setDescription('The threshold associated with Severely Errored Framing Seconds.') ac_sonet_section_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetSectionThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_section_tim_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4)) if mibBuilder.loadTexts: acSonetSectionTIMTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMTable.setDescription('The SONET/SDH Section Trace Identifier Mismatch Table.') ac_sonet_section_tim_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionTIMNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionTIMSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionTIMPort')) if mibBuilder.loadTexts: acSonetSectionTIMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMEntry.setDescription('An entry in the SONET/SDH Section Trace Identifier Mismatch Table.') ac_sonet_section_tim_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionTIMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_section_tim_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionTIMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMSlot.setDescription('The physical slot number of the port.') ac_sonet_section_tim_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionTIMPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMPort.setDescription('The physical port number of the port.') ac_sonet_section_tim_generate_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 4), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionTIMGenerateEnable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMGenerateEnable.setDescription('Enables the generation of the Section Trace Identifier.') ac_sonet_section_tim_detect_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionTIMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMDetectEnable.setDescription('Enables the detection of the Section Trace Identifier.') ac_sonet_section_tim_transmited_string = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 6), ac_trace_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionTIMTransmitedString.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMTransmitedString.setDescription('The string that gets sent to the destination.') ac_sonet_section_tim_expected_string = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 7), ac_trace_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionTIMExpectedString.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMExpectedString.setDescription('The expected string that is to be received.') ac_sonet_section_tim_received_string = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 8), ac_trace_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionTIMReceivedString.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMReceivedString.setDescription('The contents of the string that is received.') ac_sonet_section_tim_failure = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionTIMFailure.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMFailure.setDescription('Failure declared of the Section Trace Identifier.') ac_sonet_section_tim_format = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('void', 0), ('t64', 1), ('t64-crlf', 2), ('t16', 3), ('t16-msb1', 4), ('t16-crc7', 5))).clone('void')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionTIMFormat.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMFormat.setDescription('Format of Path Trace buffer.') ac_sonet_section_tim_mismatch_zeros = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 4, 1, 11), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionTIMMismatchZeros.setStatus('current') if mibBuilder.loadTexts: acSonetSectionTIMMismatchZeros.setDescription('Controls whether a received trace message containing all zeros can cause a mismatch defect.') ac_sonet_section_ssm_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5)) if mibBuilder.loadTexts: acSonetSectionSSMTable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMTable.setDescription('The SONET/SDH Section Synchronization Status Message Table.') ac_sonet_section_ssm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionSSMNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionSSMSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetSectionSSMPort')) if mibBuilder.loadTexts: acSonetSectionSSMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMEntry.setDescription('An entry in the SONET/SDH Section Synchronization Status Message Table.') ac_sonet_section_ssm_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionSSMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_section_ssm_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionSSMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMSlot.setDescription('The physical slot number of the port.') ac_sonet_section_ssm_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetSectionSSMPort.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMPort.setDescription('The physical port number of the port.') ac_sonet_section_ssm_detect_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 4), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetSectionSSMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMDetectEnable.setDescription('Enables the detection of the Synchronization Status Message.') ac_sonet_section_ssm_transmited_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionSSMTransmitedValue.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMTransmitedValue.setDescription('The S1 byte value that gets sent to the destination.') ac_sonet_section_ssm_received_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 2, 5, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetSectionSSMReceivedValue.setStatus('current') if mibBuilder.loadTexts: acSonetSectionSSMReceivedValue.setDescription('The S1 byte value that is received.') ac_sonet_line15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1)) if mibBuilder.loadTexts: acSonetLine15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalTable.setDescription('The SONET/SDH Line 15Minute Interval Table.') ac_sonet_line15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLine15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLine15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLine15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLine15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetLine15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH Line 15Minute Interval table.') ac_sonet_line15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_line15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_line15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_line15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_line15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') ac_sonet_line15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 6), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalResetStats.setDescription('Flag to reset the 15 minute SONET Line interval statistics.') ac_sonet_line15_minute_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetLineCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetLineNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetLineNoDefect 2 acSonetLineAIS 4 acSonetLineRDI') ac_sonet_line15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') ac_sonet_line15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') ac_sonet_line15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') ac_sonet_line15_minute_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours.') ac_sonet_line15_minute_interval_ber = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 1, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalBER.setStatus('current') if mibBuilder.loadTexts: acSonetLine15MinuteIntervalBER.setDescription('The counter associated with the max BER encountered by a SONET/SDH Line in a particular 15-minute interval in the past 24 hours. ') ac_sonet_line_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2)) if mibBuilder.loadTexts: acSonetLineDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalTable.setDescription('The SONET/SDH Line Day Interval Table.') ac_sonet_line_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineDayIntervalNumber')) if mibBuilder.loadTexts: acSonetLineDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalEntry.setDescription('An entry in the SONET/SDH Line Day Interval table.') ac_sonet_line_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_line_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_line_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_line_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_line_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') ac_sonet_line_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 6), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalResetStats.setDescription('Flag to reset the SONET Line Day interval statistics.') ac_sonet_line_day_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetLineCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetLineNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetLineNoDefect 2 acSonetLineAIS 4 acSonetLineRDI') ac_sonet_line_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') ac_sonet_line_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') ac_sonet_line_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') ac_sonet_line_day_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetLineDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') ac_sonet_line_day_interval_ber = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 2, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineDayIntervalBER.setStatus('deprecated') if mibBuilder.loadTexts: acSonetLineDayIntervalBER.setDescription('The counter associated with the max BER encountered by a SONET/SDH Line in a particular day interval in the past 30 days.') ac_sonet_line_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3)) if mibBuilder.loadTexts: acSonetLineThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdTable.setDescription('The SONET/SDH Line Threshold Table.') ac_sonet_line_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetLineThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdEntry.setDescription('An entry in the SONET/SDH Line Threshold Table.') ac_sonet_line_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_line_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_line_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdPort.setDescription('The physical port number of the port.') ac_sonet_line_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') ac_sonet_line_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 5), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetLineThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_line_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_line_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_line_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_line_threshold_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetLineThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') ac_sonet_far_end_line15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1)) if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalTable.setDescription('The SONET/SDH FarEndLine 15Minute Interval Table.') ac_sonet_far_end_line15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLine15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLine15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLine15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLine15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH FarEndLine 15Minute Interval table.') ac_sonet_far_end_line15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_line15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_line15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_far_end_line15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_far_end_line15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') ac_sonet_far_end_line15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 6), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalResetStats.setDescription('Flag to reset the SONET Far End Line 15 minute interval statistics.') ac_sonet_far_end_line15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 7), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') ac_sonet_far_end_line15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') ac_sonet_far_end_line15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') ac_sonet_far_end_line15_minute_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLine15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH FarEndLine in a particular 15-minute interval in the past 24 hours.') ac_sonet_far_end_line_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2)) if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalTable.setDescription('The SONET/SDH FarEndLine Day Interval Table.') ac_sonet_far_end_line_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineDayIntervalNumber')) if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalEntry.setDescription('An entry in the SONET/SDH FarEndLine Day Interval table.') ac_sonet_far_end_line_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_line_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_line_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_far_end_line_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_far_end_line_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') ac_sonet_far_end_line_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 6), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalResetStats.setDescription('Flag to reset the SONET far end line day interval statistics.') ac_sonet_far_end_line_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 7), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') ac_sonet_far_end_line_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') ac_sonet_far_end_line_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') ac_sonet_far_end_line_day_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a SONET/SDH FarEndLine in a particular day interval in the past 30 days.') ac_sonet_far_end_line_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3)) if mibBuilder.loadTexts: acSonetFarEndLineThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdTable.setDescription('The SONET/SDH FarEndLine Threshold Table.') ac_sonet_far_end_line_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndLineThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetFarEndLineThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdEntry.setDescription('An entry in the SONET/SDH FarEndLine Threshold Table.') ac_sonet_far_end_line_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_line_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_line_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdPort.setDescription('The physical port number of the port.') ac_sonet_far_end_line_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') ac_sonet_far_end_line_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 5), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLineThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetFarEndLineThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_far_end_line_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLineThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_far_end_line_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_far_end_line_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLineThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_far_end_line_threshold_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 4, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndLineThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndLineThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') ac_sonet_path15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1)) if mibBuilder.loadTexts: acSonetPath15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalTable.setDescription('The SONET/SDH Path 15Minute Interval table.') ac_sonet_path15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPath15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPath15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPath15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPath15MinuteIntervalPath'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPath15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetPath15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH Path 15Minute Interval table.') ac_sonet_path15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_path15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_path15_minute_interval_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalPath.setDescription('The STS Path for which the set of statistics is available.') ac_sonet_path15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_path15_minute_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 62))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetPathCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetPathNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetPathNoDefect 2 acSonetPathSTSLOP 4 acSonetPathSTSAIS 8 acSonetPathSTSRDI 16 acSonetPathUnequipped 32 acSonetPathPayloadLabelMismatch') ac_sonet_path15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 7), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this interval is valid.') ac_sonet_path15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 8), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for a 15 minute interval.') ac_sonet_path15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Path in the current 15 minute interval.') ac_sonet_path15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Path in the current 15 minute interval.') ac_sonet_path15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Path in the current 15 minute interval.') ac_sonet_path15_minute_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a Path in the current 15 minute interval.') ac_sonet_path15_minute_interval_ber = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 1, 1, 13), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalBER.setStatus('current') if mibBuilder.loadTexts: acSonetPath15MinuteIntervalBER.setDescription('The counter associated with the BER encountered by a Path in the current 15 minute interval. Represents the max value for an interval for number > 1.') ac_sonet_path_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2)) if mibBuilder.loadTexts: acSonetPathDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalTable.setDescription('The SONET/SDH Path Day Interval table.') ac_sonet_path_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathDayIntervalPath'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathDayIntervalNumber')) if mibBuilder.loadTexts: acSonetPathDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalEntry.setDescription('An entry in the SONET/SDH Path Day Interval table.') ac_sonet_path_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_path_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_path_day_interval_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathDayIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalPath.setDescription('The STS Path for which the set of statistics is available.') ac_sonet_path_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_path_day_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 62))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetPathCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects simultaneously. The acSonetPathNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetPathNoDefect 2 acSonetPathSTSLOP 4 acSonetPathSTSAIS 8 acSonetPathSTSRDI 16 acSonetPathUnequipped 32 acSonetPathPayloadLabelMismatch') ac_sonet_path_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 7), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalValidStats.setDescription('This variable indicates if the data for this day is valid.') ac_sonet_path_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 8), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalResetStats.setDescription('This flag is used to reset the data for day interval.') ac_sonet_path_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH Path in the past day interval.') ac_sonet_path_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH Path in the past day interval.') ac_sonet_path_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH Path in the past day interval.') ac_sonet_path_day_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetPathDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a Path in the past day interval.') ac_sonet_path_day_interval_ber = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 2, 1, 13), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathDayIntervalBER.setStatus('deprecated') if mibBuilder.loadTexts: acSonetPathDayIntervalBER.setDescription('The counter associated with the BER encountered by a Path in the past day interval.') ac_sonet_path_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3)) if mibBuilder.loadTexts: acSonetPathThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdTable.setDescription('The SONET/SDH Path Threshold Table.') ac_sonet_path_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathThresholdPath'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetPathThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdEntry.setDescription('An entry in the SONET/SDH Path Threshold Table.') ac_sonet_path_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_path_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdPort.setDescription('The physical port number of the port.') ac_sonet_path_threshold_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathThresholdPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdPath.setDescription('The STS Path for which the set of statistics is available.') ac_sonet_path_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') ac_sonet_path_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 6), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetPathThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_path_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_path_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_path_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_path_threshold_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 3, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetPathThresholdUASs.setDescription('The threshold associated with Unavailable Seconds.') ac_sonet_path_rdi_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4)) if mibBuilder.loadTexts: acSonetPathRDITable.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDITable.setDescription('The SONET/SDH Path RDI Table.') ac_sonet_path_rdi_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathRDINodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathRDISlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathRDIPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathRDIPath')) if mibBuilder.loadTexts: acSonetPathRDIEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIEntry.setDescription('An entry in the SONET/SDH Path RDI Table.') ac_sonet_path_rdi_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathRDINodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDINodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path_rdi_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathRDISlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDISlot.setDescription('The physical slot number of the port.') ac_sonet_path_rdi_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathRDIPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIPort.setDescription('The physical port number of the port.') ac_sonet_path_rdi_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathRDIPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIPath.setDescription('The STS path instance for this port') ac_sonet_path_rdi_op_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('rdi', 1), ('erdi', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathRDIOpMode.setStatus('current') if mibBuilder.loadTexts: acSonetPathRDIOpMode.setDescription('The Remote Defect Indiction signals have undergone a number of changes over the years, and now encompass two or even three different versions. See GR-253 6.2.1.3.2 for more information.') ac_sonet_path_tim_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5)) if mibBuilder.loadTexts: acSonetPathTIMTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMTable.setDescription('The SONET/SDH Path Trace Identifier Mismatch Table.') ac_sonet_path_tim_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathTIMNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathTIMSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathTIMPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathTIMPath')) if mibBuilder.loadTexts: acSonetPathTIMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMEntry.setDescription('An entry in the SONET/SDH Path Trace Identifier Mismatch Table.') ac_sonet_path_tim_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathTIMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path_tim_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathTIMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMSlot.setDescription('The physical slot number of the port.') ac_sonet_path_tim_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathTIMPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMPort.setDescription('The physical port number of the port.') ac_sonet_path_tim_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathTIMPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMPath.setDescription('The path instance of the port.') ac_sonet_path_tim_generate_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 5), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathTIMGenerateEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMGenerateEnable.setDescription('Enables the generation of the Path Trace Identifier.') ac_sonet_path_tim_detect_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 6), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathTIMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMDetectEnable.setDescription('Enables the detection of the Path Trace Identifier.') ac_sonet_path_tim_transmited_string = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 7), ac_trace_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathTIMTransmitedString.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMTransmitedString.setDescription('The string that gets sent to the destination.') ac_sonet_path_tim_expected_string = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 8), ac_trace_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathTIMExpectedString.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMExpectedString.setDescription('The expected string that is to be received.') ac_sonet_path_tim_received_string = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 9), ac_trace_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathTIMReceivedString.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMReceivedString.setDescription('The contents of the string that is received.') ac_sonet_path_tim_failure = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 10), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathTIMFailure.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMFailure.setDescription('Failure declared of the Path Trace Identifier.') ac_sonet_path_tim_format = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('void', 0), ('t64', 1), ('t64-crlf', 2), ('t16', 3), ('t16-msb1', 4), ('t16-crc7', 5))).clone('void')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathTIMFormat.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMFormat.setDescription('Format of Path Trace buffer.') ac_sonet_path_tim_mismatch_zeros = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 5, 1, 12), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathTIMMismatchZeros.setStatus('current') if mibBuilder.loadTexts: acSonetPathTIMMismatchZeros.setDescription('Controls whether a received trace message containing all zeros can cause a mismatch defect.') ac_sonet_path_plm_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6)) if mibBuilder.loadTexts: acSonetPathPLMTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMTable.setDescription('The SONET/SDH Path Payload Label Mismatch Table.') ac_sonet_path_plm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathPLMNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathPLMSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathPLMPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathPLMPath')) if mibBuilder.loadTexts: acSonetPathPLMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMEntry.setDescription('An entry in the SONET/SDH Path Payload Label Mismatch Table.') ac_sonet_path_plm_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathPLMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path_plm_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathPLMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMSlot.setDescription('The physical slot number of the port.') ac_sonet_path_plm_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathPLMPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMPort.setDescription('The physical port number of the port.') ac_sonet_path_plm_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathPLMPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMPath.setDescription('The path instance of the port.') ac_sonet_path_plm_detect_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathPLMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMDetectEnable.setDescription('Enables the detection of the Path Payload Label.') ac_sonet_path_plm_transmited_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathPLMTransmitedValue.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMTransmitedValue.setDescription('The Path Payload Label that gets sent to the destination. See GR-253 Tables 3-2, 3-3.') ac_sonet_path_plm_expected_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathPLMExpectedValue.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMExpectedValue.setDescription('The expected Path Payload Label that is to be received. See GR-253 Tables 3-2, 3-3.') ac_sonet_path_plm_received_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathPLMReceivedValue.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMReceivedValue.setDescription('The contents of the Path Payload Label that is received. See GR-253 Tables 3-2, 3-3.') ac_sonet_path_plm_mismatch_failure = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathPLMMismatchFailure.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMMismatchFailure.setDescription('Mismatch failure declared for the Path Payload Label.') ac_sonet_path_plm_unequipped = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 6, 1, 10), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathPLMUnequipped.setStatus('current') if mibBuilder.loadTexts: acSonetPathPLMUnequipped.setDescription('Unequipped failure declared for the Path Payload Label.') ac_sonet_far_end_path15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1)) if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalTable.setDescription('The SONET/SDH FarEndPath 15Minute Interval table.') ac_sonet_far_end_path15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPath15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPath15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPath15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPath15MinuteIntervalPath'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPath15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH FarEndPath 15Minute Interval table.') ac_sonet_far_end_path15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_path15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_path15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_far_end_path15_minute_interval_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalPath.setDescription('The STS Path for which the set of statistics is available.') ac_sonet_far_end_path15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_far_end_path15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this far end 15 minute interval is valid.') ac_sonet_far_end_path15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 7), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for far end 15 minute interval.') ac_sonet_far_end_path15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path15_minute_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 1, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPath15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2)) if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalTable.setDescription('The SONET/SDH FarEndPath Day Interval table.') ac_sonet_far_end_path_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathDayIntervalPath'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathDayIntervalNumber')) if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalEntry.setDescription('An entry in the SONET/SDH FarEndPath Day Interval table.') ac_sonet_far_end_path_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_path_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_path_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_far_end_path_day_interval_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPath.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalPath.setDescription('The STS Path for which the set of statistics is available.') ac_sonet_far_end_path_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_far_end_path_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalValidStats.setDescription('This variable indicates if the data for this far end day interval is valid.') ac_sonet_far_end_path_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 7), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalResetStats.setDescription('This flag is used to reset the data for far end day interval.') ac_sonet_far_end_path_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path_day_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndPath in the current 15 minute interval.') ac_sonet_far_end_path_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3)) if mibBuilder.loadTexts: acSonetFarEndPathThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdTable.setDescription('The SONET/SDH FarEndPath Threshold Table.') ac_sonet_far_end_path_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathThresholdPath'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndPathThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetFarEndPathThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdEntry.setDescription('An entry in the SONET/SDH FarEndPath Threshold Table.') ac_sonet_far_end_path_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_path_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_path_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdPort.setDescription('The physical port number of the port.') ac_sonet_far_end_path_threshold_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathThresholdPath.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdPath.setDescription('The STS Path for which the set of statistics is available.') ac_sonet_far_end_path_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') ac_sonet_far_end_path_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 6), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPathThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetFarEndPathThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_far_end_path_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPathThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_far_end_path_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_far_end_path_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPathThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_far_end_path_threshold_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 2, 3, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndPathThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndPathThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') ac_sonet_vt15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1)) if mibBuilder.loadTexts: acSonetVT15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalTable.setDescription('The SONET/SDH VT 15Minute Interval table.') ac_sonet_vt15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVT15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVT15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVT15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVT15MinuteIntervalVT'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVT15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetVT15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH VT 15Minute Interval table.') ac_sonet_vt15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_vt15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_vt15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_vt15_minute_interval_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalVT.setDescription('The VT for which the set of statistics is available.') ac_sonet_vt15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_vt15_minute_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 192))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetVTCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects and failures simultaneously. The acSonetVTNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetVTNoDefect 2 acSonetVTLOP 4 acSonetVTPathAIS 8 acSonetVTPathRDI 16 acSonetVTPathRFI 32 acSonetVTUnequipped 64 acSonetVTPayloadLabelMismatch') ac_sonet_vt15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this VT 15 minute interval is valid.') ac_sonet_vt15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 9), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for this VT 15 minute interval.') ac_sonet_vt15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH VT in the current 15 minute interval.') ac_sonet_vt15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH VT in the current 15 minute interval.') ac_sonet_vt15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH VT in the current 15 minute interval.') ac_sonet_vt15_minute_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 13), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a VT in the current 15 minute interval.') ac_sonet_vt15_minute_interval_ber = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 1, 1, 14), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalBER.setStatus('current') if mibBuilder.loadTexts: acSonetVT15MinuteIntervalBER.setDescription('The counter associated with the BER encountered by a VT in the current 15 minute interval. Represents the max BER for the interval when number > 1.') ac_sonet_vt_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2)) if mibBuilder.loadTexts: acSonetVTDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalTable.setDescription('The SONET/SDH VT Day Interval table.') ac_sonet_vt_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTDayIntervalVT'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTDayIntervalNumber')) if mibBuilder.loadTexts: acSonetVTDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalEntry.setDescription('An entry in the SONET/SDH VT Day Interval table.') ac_sonet_vt_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_vt_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_vt_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_vt_day_interval_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTDayIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalVT.setDescription('The VT for which the set of statistics is available.') ac_sonet_vt_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_vt_day_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 192))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalStatus.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalStatus.setDescription('This variable indicates the status of the interface. The acSonetVTCurrentStatus is a bit map represented as a sum, therefore, it can represent multiple defects and failures simultaneously. The acSonetVTNoDefect should be set if and only if no other flag is set. The various bit positions are: 1 acSonetVTNoDefect 2 acSonetVTLOP 4 acSonetVTPathAIS 8 acSonetVTPathRDI 16 acSonetVTPathRFI 32 acSonetVTUnequipped 64 acSonetVTPayloadLabelMismatch') ac_sonet_vt_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 7), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalValidStats.setDescription('This variable indicates if the data for this VT Day interval is valid.') ac_sonet_vt_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 8), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalResetStats.setDescription('This flag is used to reset the data for this VT Day interval.') ac_sonet_vt_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH VT in the last day interval.') ac_sonet_vt_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH VT in the last day interval.') ac_sonet_vt_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH VT in the last day interval.') ac_sonet_vt_day_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetVTDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a VT in the last day interval.') ac_sonet_vt_day_interval_ber = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 2, 1, 13), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTDayIntervalBER.setStatus('deprecated') if mibBuilder.loadTexts: acSonetVTDayIntervalBER.setDescription('The counter associated with the max BER encountered by a VT in a day.') ac_sonet_vt_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3)) if mibBuilder.loadTexts: acSonetVTThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdTable.setDescription('The SONET/SDH VT Threshold Table.') ac_sonet_vt_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTThresholdVT'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetVTThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdEntry.setDescription('An entry in the SONET/SDH VT Threshold Table.') ac_sonet_vt_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_vt_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_vt_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdPort.setDescription('The physical port number of the port.') ac_sonet_vt_threshold_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTThresholdVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdVT.setDescription('The VT for which the set of statistics is available.') ac_sonet_vt_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') ac_sonet_vt_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 6), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetVTThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_vt_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_vt_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_vt_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_vt_threshold_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 3, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetVTThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') ac_sonet_vtrdi_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4)) if mibBuilder.loadTexts: acSonetVTRDITable.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDITable.setDescription('The SONET/SDH VT RDI Table.') ac_sonet_vtrdi_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTRDINodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTRDISlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTRDIPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTRDIVT')) if mibBuilder.loadTexts: acSonetVTRDIEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIEntry.setDescription('An entry in the SONET/SDH VT RDI Table.') ac_sonet_vtrdi_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTRDINodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDINodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_vtrdi_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTRDISlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDISlot.setDescription('The physical slot number of the port.') ac_sonet_vtrdi_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTRDIPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIPort.setDescription('The physical port number of the port.') ac_sonet_vtrdivt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTRDIVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIVT.setDescription('The Virtual Tributary (VT) instance.') ac_sonet_vtrdi_op_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('rdi', 1), ('erdi', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTRDIOpMode.setStatus('current') if mibBuilder.loadTexts: acSonetVTRDIOpMode.setDescription('The Remote Defect Indiction signals have undergone a number of changes over the years, and now encompass two or even three different versions. See GR-253 6.2.1.3.3 for more information.') ac_sonet_vtplm_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5)) if mibBuilder.loadTexts: acSonetVTPLMTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMTable.setDescription('The SONET/SDH VT Payload Label Mismatch Table.') ac_sonet_vtplm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTPLMNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTPLMSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTPLMPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTPLMVT')) if mibBuilder.loadTexts: acSonetVTPLMEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMEntry.setDescription('An entry in the SONET/SDH VT Payload Label Mismatch Table.') ac_sonet_vtplm_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTPLMNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_vtplm_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTPLMSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMSlot.setDescription('The physical slot number of the port.') ac_sonet_vtplm_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTPLMPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMPort.setDescription('The physical port number of the port.') ac_sonet_vtplmvt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTPLMVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMVT.setDescription('The Virtual Tributary (VT) instance.') ac_sonet_vtplm_detect_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTPLMDetectEnable.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMDetectEnable.setDescription('Enables the detection of the VT Payload Label.') ac_sonet_vtplm_transmited_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTPLMTransmitedValue.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMTransmitedValue.setDescription('The VT Payload Label that gets sent to the destination. See GR-253 Tables 3-4.') ac_sonet_vtplm_expected_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTPLMExpectedValue.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMExpectedValue.setDescription('The expected VT Payload Label that is to be received. See GR-253 Tables 3-4.') ac_sonet_vtplm_received_value = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTPLMReceivedValue.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMReceivedValue.setDescription('The contents of the VT Payload Label that is received. See GR-253 Tables 3-4.') ac_sonet_vtplm_mismatch_failure = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTPLMMismatchFailure.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMMismatchFailure.setDescription('Mismatch failure declared for the VT Payload Label.') ac_sonet_vtplm_unequipped = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 5, 1, 10), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTPLMUnequipped.setStatus('current') if mibBuilder.loadTexts: acSonetVTPLMUnequipped.setDescription('Unequipped failure declared for the VT Payload Label.') ac_sonet_far_end_vt15_minute_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1)) if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalTable.setDescription('The SONET/SDH FarEndVT 15Minute Interval table.') ac_sonet_far_end_vt15_minute_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVT15MinuteIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVT15MinuteIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVT15MinuteIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVT15MinuteIntervalVT'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVT15MinuteIntervalNumber')) if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalEntry.setDescription('An entry in the SONET/SDH FarEndVT 15Minute Interval table.') ac_sonet_far_end_vt15_minute_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_vt15_minute_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_vt15_minute_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalPort.setDescription('The physical port number of the port.') ac_sonet_far_end_vt15_minute_interval_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalVT.setDescription('The VT for which the set of statistics is available.') ac_sonet_far_end_vt15_minute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 98))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalNumber.setDescription('A number between 1 and 98, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current 15 minute interval. The interval identified by 2 is the most recently completed 15 minute interval. The interval identified by 97 is the oldest 15 minute interval. The interval identified by 98 is a total of the previous 96 stored 15 minute intervals.') ac_sonet_far_end_vt15_minute_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalValidStats.setDescription('This variable indicates if the data for this VT FE 15 minute interval is valid.') ac_sonet_far_end_vt15_minute_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 7), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalResetStats.setDescription('This flag is used to reset the data for this VT FE 15 minute interval.') ac_sonet_far_end_vt15_minute_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt15_minute_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt15_minute_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt15_minute_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 1, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVT15MinuteIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt_day_interval_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2)) if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalTable.setDescription('The SONET/SDH FarEndVT Day Interval table.') ac_sonet_far_end_vt_day_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTDayIntervalNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTDayIntervalSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTDayIntervalPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTDayIntervalVT'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTDayIntervalNumber')) if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalEntry.setDescription('An entry in the SONET/SDH FarEndVT Day Interval table.') ac_sonet_far_end_vt_day_interval_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_vt_day_interval_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_vt_day_interval_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalPort.setDescription('The physical port number of the port.') ac_sonet_far_end_vt_day_interval_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalVT.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalVT.setDescription('The VT for which the set of statistics is available.') ac_sonet_far_end_vt_day_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNumber.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalNumber.setDescription('A number between 1 and 31, which identifies the interval for which the set of statistics is available. The interval identified by 1 is the ongoing, current day performance monitoring interval. The interval identified by 2 is the most recently completed day interval. The interval identified by 31 is the oldest day interval.') ac_sonet_far_end_vt_day_interval_valid_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalValidStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalValidStats.setDescription('This variable indicates if the data for this VT Day interval is valid.') ac_sonet_far_end_vt_day_interval_reset_stats = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 7), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalResetStats.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalResetStats.setDescription('This flag is used to reset the data for this VT Day interval.') ac_sonet_far_end_vt_day_interval_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalESs.setDescription('The counter associated with the number of Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt_day_interval_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalSESs.setDescription('The counter associated with the number of Severely Errored Seconds encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt_day_interval_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalCVs.setDescription('The counter associated with the number of Coding Violations encountered by a SONET/SDH FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt_day_interval_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTDayIntervalUASs.setDescription('The counter associated with the number of Unavailable Seconds encountered by a FarEndVT in the current 15 minute interval.') ac_sonet_far_end_vt_threshold_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3)) if mibBuilder.loadTexts: acSonetFarEndVTThresholdTable.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdTable.setDescription('The SONET/SDH FarEndVT Threshold Table.') ac_sonet_far_end_vt_threshold_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTThresholdNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTThresholdSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTThresholdPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTThresholdVT'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetFarEndVTThresholdSelectionNum')) if mibBuilder.loadTexts: acSonetFarEndVTThresholdEntry.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdEntry.setDescription('An entry in the SONET/SDH FarEndVT Threshold Table.') ac_sonet_far_end_vt_threshold_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTThresholdNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_far_end_vt_threshold_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSlot.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSlot.setDescription('The physical slot number of the port.') ac_sonet_far_end_vt_threshold_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTThresholdPort.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdPort.setDescription('The physical port number of the port.') ac_sonet_far_end_vt_threshold_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTThresholdVT.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdVT.setDescription('The VT for which the set of statistics is available.') ac_sonet_far_end_vt_threshold_selection_num = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('minute', 1), ('day', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSelectionNum.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSelectionNum.setDescription('A number that selects either the 15 thresholds or the day thresholds. ') ac_sonet_far_end_vt_threshold_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 6), ac_admin_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVTThresholdAdminStatus.setStatus('deprecated') if mibBuilder.loadTexts: acSonetFarEndVTThresholdAdminStatus.setDescription('This field is used by the administrator to ensure only one client is performing management operations on this serial port at a time. When the field is read as available(0), the client can write the value locked(1) into this field to prevent a second client from performing managment ops on this instance.') ac_sonet_far_end_vt_threshold_e_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVTThresholdESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdESs.setDescription('The threshold associated with Errored Seconds.') ac_sonet_far_end_vt_threshold_se_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSESs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdSESs.setDescription('The threshold associated with Severely Errored Seconds.') ac_sonet_far_end_vt_threshold_c_vs = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVTThresholdCVs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdCVs.setDescription('The threshold associated with Coding Violations.') ac_sonet_far_end_vt_threshold_ua_ss = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 2, 3, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetFarEndVTThresholdUASs.setStatus('current') if mibBuilder.loadTexts: acSonetFarEndVTThresholdUASs.setDescription('The threshold associated with Unavailable Secondss.') ac_sonet_port_protection_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4)) if mibBuilder.loadTexts: acSonetPortProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionTable.setDescription('The SONET/SDH Port Protection table.') ac_sonet_port_protection_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPortProtectionNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPortProtectionSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPortProtectionPort')) if mibBuilder.loadTexts: acSonetPortProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionEntry.setDescription('An entry in the SONET/SDH Port Protection table.') ac_sonet_port_protection_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPortProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_port_protection_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPortProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionSlot.setDescription('The physical slot number of the port.') ac_sonet_port_protection_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPortProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionPort.setDescription('The physical port number of the port.') ac_sonet_port_protection_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('working', 1), ('protection', 2), ('west', 3), ('east', 4), ('match', 5), ('ring', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPortProtectionType.setStatus('current') if mibBuilder.loadTexts: acSonetPortProtectionType.setDescription('This variable statically defines the purpose of the physical port connection as the working or protection port. It does not convey whether the system has undergone a protection switch.') ac_sonet_line_protection_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4)) if mibBuilder.loadTexts: acSonetLineProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionTable.setDescription('The SONET/SDH Line Protection table.') ac_sonet_line_protection_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineProtectionNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineProtectionSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetLineProtectionPort')) if mibBuilder.loadTexts: acSonetLineProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionEntry.setDescription('An entry in the SONET/SDH Line Protection table.') ac_sonet_line_protection_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_line_protection_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSlot.setDescription('The physical slot number of the port.') ac_sonet_line_protection_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetLineProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionPort.setDescription('The physical port number of the port.') ac_sonet_line_protection_architecture = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('one-plus-one', 2), ('one-to-one', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionArchitecture.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionArchitecture.setDescription('This variable defines the APS architecture as either 1+1 or 1:1.') ac_sonet_line_protection_op_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unidirectional', 1), ('bidirectional', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionOpMode.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionOpMode.setDescription('This variable defines the APS mode as either unidirectional or bidirectional.') ac_sonet_line_protection_switch_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('revertive', 1), ('nonrevertive', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionSwitchType.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSwitchType.setDescription('This variable defines the APS switch type as either revertive or nonrevertive.') ac_sonet_line_protection_sf_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(3, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionSFThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSFThreshold.setDescription('The threshold associated with Signal Fail (SF). This value determines the BER level for protection switching.') ac_sonet_line_protection_sd_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(5, 9)).clone(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionSDThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionSDThreshold.setDescription('The threshold associated with Signal Degrade (SD). This value determines the BER level for protection switching.') ac_sonet_line_protection_active_traffic = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 9), truth_value().clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineProtectionActiveTraffic.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionActiveTraffic.setDescription('This variable indicates when active traffic is on this line.') ac_sonet_line_protection_protection_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 10), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineProtectionProtectionSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionProtectionSwitch.setDescription('This variable indicates when a protection switch is currently affecting this line.') ac_sonet_line_protection_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 11), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineProtectionFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionFail.setDescription('This variable indicates when a protection switching failure has taken place. See GR-253, 6.2.1.1.6.') ac_sonet_line_protection_channel_mismatch_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineProtectionChannelMismatchFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionChannelMismatchFail.setDescription('This variable indicates when a protection switching channel mismatch failure has taken place. See GR-253, 6.2.1.1.6.') ac_sonet_line_protection_mode_mismatch_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineProtectionModeMismatchFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionModeMismatchFail.setDescription('This variable indicates when a protection switching mode mismatch failure has taken place. See GR-253, 6.2.1.1.6.') ac_sonet_line_protection_far_end_line_fail = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 14), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetLineProtectionFarEndLineFail.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionFarEndLineFail.setDescription('This variable indicates when a protection switching far-end protection-line failure has taken place. See GR-253, 6.2.1.1.6.') ac_sonet_line_protection_wtr_time = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(300, 720))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionWTRTime.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionWTRTime.setDescription('This variable defines the APS Wait To Restore time. The time has one second granularity and may have a value in the range from 300 seconds (5 minutes) to 720 seconds (12 minutes).') ac_sonet_line_protection_man_command = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 1, 3, 4, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('clear', 1), ('lockout-protection', 2), ('force-working', 3), ('force-protection', 4), ('manual-working', 5), ('manual-protection', 6), ('exercise', 7), ('lockout-working', 8), ('clear-lockout-working', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetLineProtectionManCommand.setStatus('current') if mibBuilder.loadTexts: acSonetLineProtectionManCommand.setDescription('This variable defines the APS manually initiated commands.') ac_sonet_path_protection_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7)) if mibBuilder.loadTexts: acSonetPathProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionTable.setDescription('The SONET/SDH Path Protection table.') ac_sonet_path_protection_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathProtectionNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathProtectionSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathProtectionPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetPathProtectionPath')) if mibBuilder.loadTexts: acSonetPathProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionEntry.setDescription('An entry in the SONET/SDH Path Protection table.') ac_sonet_path_protection_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_path_protection_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSlot.setDescription('The physical slot number of the port.') ac_sonet_path_protection_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionPort.setDescription('The physical port number of the port.') ac_sonet_path_protection_path = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetPathProtectionPath.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionPath.setDescription('The STS-1 path for the port.') ac_sonet_path_protection_switch_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('revertive', 1), ('nonrevertive', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionSwitchType.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSwitchType.setDescription('This variable defines the path switch type as either revertive or nonrevertive.') ac_sonet_path_protection_sf_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(3, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionSFThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSFThreshold.setDescription('The threshold associated with Signal Fail (SF). This value determines the BER level for protection switching. The value used is the exponent to a power of 10, so 3 means 10E-3.') ac_sonet_path_protection_sd_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(5, 9)).clone(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionSDThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSDThreshold.setDescription('The threshold associated with Signal Degrade (SD). This value determines the BER level for protection switching. The value used is the exponent to a power of 10, so 6 means 10E-6.') ac_sonet_path_protection_active_traffic = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathProtectionActiveTraffic.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionActiveTraffic.setDescription('This variable indicates when ODP or UPSR active traffic is on this path.') ac_sonet_path_protection_protection_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathProtectionProtectionSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionProtectionSwitch.setDescription('This variable indicates when either a UPSR or an ODP protection switch is currently affecting this path.') ac_sonet_path_protection_wtr_time = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 720))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionWTRTime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTRTime.setDescription('This variable defines the ODP or UPSR Wait To Restore time. The time has one second granularity and may have a value in the range from 1 second to 720 seconds(12 minutes).') ac_sonet_path_protection_wti_time = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 50))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionWTITime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTITime.setDescription('This variable defines the ODP Wait To Idle time. The time has one second granularity and may have a value in the range from 1 to 50 seconds.') ac_sonet_path_protection_wtc_time = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 720))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionWTCTime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTCTime.setDescription('This variable defines the ODP Wait To Clear time. The time has one second granularity and may have a value in the range from 1 second to 720 seconds (12 minutes).') ac_sonet_path_protection_wt_rel_time = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 50))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionWTRelTime.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionWTRelTime.setDescription('This variable defines the ODP Wait To Release time. The time has one second granularity and may have a value in the range from 1 to 50 seconds.') ac_sonet_path_protection_man_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('clear', 1), ('lockout-protection', 2), ('force-working', 3), ('force-protection', 4), ('manual-working', 5), ('manual-protection', 6), ('exercise', 7), ('lockout-working', 8), ('clear-lockout-working', 9), ('extra-traffic', 10)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionManSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionManSwitch.setDescription('This variable defines the ODP and UPSR manually initiated commands. Entries 7..10 are used in ODP only.') ac_sonet_path_protection_switch_op_status = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('idle', 1), ('bridged', 2), ('switched', 3), ('passthrough', 4), ('extra-traffic', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetPathProtectionSwitchOpStatus.setStatus('current') if mibBuilder.loadTexts: acSonetPathProtectionSwitchOpStatus.setDescription('This variable defines the current switch condition of an ODP path.') ac_sonet_path_protection_protection_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 2, 1, 7, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('odp', 1), ('upsr', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetPathProtectionProtectionMode.setStatus('deprecated') if mibBuilder.loadTexts: acSonetPathProtectionProtectionMode.setDescription(' !! This object *MUST* be set before any other object is accessed. !! This is the type of protection switching to be used if independent path level protection switching is enabled. This is similar to the acTimeSlotPathProtectionMode object that resides in the timeslot table. Refer to it for a description of the enumerations.') ac_sonet_vt_protection_table = mib_table((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6)) if mibBuilder.loadTexts: acSonetVTProtectionTable.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionTable.setDescription('The SONET/SDH VT Protection table.') ac_sonet_vt_protection_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1)).setIndexNames((0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTProtectionNodeId'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTProtectionSlot'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTProtectionPort'), (0, 'APPIAN-PPORT-SONET-MIB', 'acSonetVTProtectionVT')) if mibBuilder.loadTexts: acSonetVTProtectionEntry.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionEntry.setDescription('An entry in the SONET/SDH VT Protection table.') ac_sonet_vt_protection_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 1), ac_node_id()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTProtectionNodeId.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionNodeId.setDescription('The node id is the id for this specific node in the OSAP ring.') ac_sonet_vt_protection_slot = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 2), ac_slot_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTProtectionSlot.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSlot.setDescription('The physical slot number of the port.') ac_sonet_vt_protection_port = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 3), ac_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTProtectionPort.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionPort.setDescription('The physical port number of the port.') ac_sonet_vt_protection_vt = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 4), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: acSonetVTProtectionVT.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionVT.setDescription('The VT path instance for the port.') ac_sonet_vt_protection_switch_type = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('revertive', 1), ('nonrevertive', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTProtectionSwitchType.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSwitchType.setDescription('This variable defines the VT path switch type as either revertive or nonrevertive.') ac_sonet_vt_protection_sf_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(3, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTProtectionSFThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSFThreshold.setDescription('The threshold associated with Signal Fail (SF). This value determines the BER level for protection switching.') ac_sonet_vt_protection_sd_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(5, 8)).clone(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTProtectionSDThreshold.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionSDThreshold.setDescription('The threshold associated with Signal Degrade (SD). This value determines the BER level for protection switching.') ac_sonet_vt_protection_protection_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTProtectionProtectionSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionProtectionSwitch.setDescription('This variable indicates when a protection switch is currently affecting this path.') ac_sonet_vt_protection_wtr_time = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 720))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTProtectionWTRTime.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionWTRTime.setDescription('This variable defines the UPSR Wait To Restore time. The time has one second granularity and may have a value in the range from 1 second to 720 seconds(12 minutes).') ac_sonet_vt_protection_man_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('clear', 1), ('lockout-protection', 2), ('force-working', 3), ('force-protection', 4), ('manual-working', 5), ('manual-protection', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: acSonetVTProtectionManSwitch.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionManSwitch.setDescription('This variable defines the UPSR manually initiated commands.') ac_sonet_vt_protection_active_traffic = mib_table_column((1, 3, 6, 1, 4, 1, 2785, 2, 3, 6, 3, 1, 6, 1, 11), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: acSonetVTProtectionActiveTraffic.setStatus('current') if mibBuilder.loadTexts: acSonetVTProtectionActiveTraffic.setDescription('This variable indicates when UPSR active traffic is on this path.') mibBuilder.exportSymbols('APPIAN-PPORT-SONET-MIB', acSonetPathTIMFormat=acSonetPathTIMFormat, acSonetFarEndVTThresholdPort=acSonetFarEndVTThresholdPort, acSonetPathProtectionProtectionMode=acSonetPathProtectionProtectionMode, acSonetSectionSSMEntry=acSonetSectionSSMEntry, acSonetPathProtectionSlot=acSonetPathProtectionSlot, acSonetFarEndPathDayIntervalValidStats=acSonetFarEndPathDayIntervalValidStats, acSonetVTDayIntervalVT=acSonetVTDayIntervalVT, acSonetFarEndVT15MinuteIntervalPort=acSonetFarEndVT15MinuteIntervalPort, acSonetSection15MinuteIntervalPort=acSonetSection15MinuteIntervalPort, acSonetPortValidIntervals=acSonetPortValidIntervals, acSonetFarEndPath15MinuteIntervalNodeId=acSonetFarEndPath15MinuteIntervalNodeId, acSonetVT15MinuteIntervalSESs=acSonetVT15MinuteIntervalSESs, acSonetPath15MinuteIntervalESs=acSonetPath15MinuteIntervalESs, acSonetSectionSSMNodeId=acSonetSectionSSMNodeId, acSonetLine15MinuteIntervalUASs=acSonetLine15MinuteIntervalUASs, acSonetSection=acSonetSection, acSonetPath=acSonetPath, acSonetPathThresholdNodeId=acSonetPathThresholdNodeId, acSonetPathDayIntervalUASs=acSonetPathDayIntervalUASs, acSonetPortOpStatus=acSonetPortOpStatus, acSonetPath15MinuteIntervalSlot=acSonetPath15MinuteIntervalSlot, acSonetVTRDIVT=acSonetVTRDIVT, acSonetVTThresholdSlot=acSonetVTThresholdSlot, acSonetVTThresholdSelectionNum=acSonetVTThresholdSelectionNum, acSonetPortNodeId=acSonetPortNodeId, acSonetPathDayIntervalBER=acSonetPathDayIntervalBER, acSonetPathTIMSlot=acSonetPathTIMSlot, acSonetFarEndPathThresholdCVs=acSonetFarEndPathThresholdCVs, acSonetFarEndVTDayIntervalVT=acSonetFarEndVTDayIntervalVT, acSonetPortProtectionEntry=acSonetPortProtectionEntry, acSonetFarEndVT15MinuteIntervalSlot=acSonetFarEndVT15MinuteIntervalSlot, acSonetPathThresholdUASs=acSonetPathThresholdUASs, acSonetVT15MinuteIntervalNodeId=acSonetVT15MinuteIntervalNodeId, acSonetVTDayIntervalNodeId=acSonetVTDayIntervalNodeId, acSonetVTProtectionEntry=acSonetVTProtectionEntry, acSonetVTDayIntervalSlot=acSonetVTDayIntervalSlot, acSonetVTProtectionSlot=acSonetVTProtectionSlot, acSonetFarEndPathDayIntervalPath=acSonetFarEndPathDayIntervalPath, acSonetVTPLMExpectedValue=acSonetVTPLMExpectedValue, acSonetFarEndVTThresholdSelectionNum=acSonetFarEndVTThresholdSelectionNum, acSonetPortProtectionType=acSonetPortProtectionType, acSonetLineProtectionManCommand=acSonetLineProtectionManCommand, acSonetFarEndLine15MinuteIntervalESs=acSonetFarEndLine15MinuteIntervalESs, acSonetFarEndVTDayIntervalNumber=acSonetFarEndVTDayIntervalNumber, acSonetPathTIMDetectEnable=acSonetPathTIMDetectEnable, acSonetVTProtectionActiveTraffic=acSonetVTProtectionActiveTraffic, acSonetVTRDIPort=acSonetVTRDIPort, acSonetPath15MinuteIntervalResetStats=acSonetPath15MinuteIntervalResetStats, acSonetThresholdSlot=acSonetThresholdSlot, acSonetPath15MinuteIntervalUASs=acSonetPath15MinuteIntervalUASs, acSonetSectionDayIntervalESs=acSonetSectionDayIntervalESs, acSonetFarEndVTThresholdSESs=acSonetFarEndVTThresholdSESs, acSonetLineDayIntervalSESs=acSonetLineDayIntervalSESs, acSonetLineProtectionOpMode=acSonetLineProtectionOpMode, acSonetVT15MinuteIntervalStatus=acSonetVT15MinuteIntervalStatus, acSonetFarEndVTDayIntervalValidStats=acSonetFarEndVTDayIntervalValidStats, acSonetFarEndVTDayIntervalCVs=acSonetFarEndVTDayIntervalCVs, acSonetDCCSlot=acSonetDCCSlot, acSonetFarEndLineThresholdESs=acSonetFarEndLineThresholdESs, acSonetVTThresholdEntry=acSonetVTThresholdEntry, acSonetLineDayIntervalUASs=acSonetLineDayIntervalUASs, acSonetPathRDIOpMode=acSonetPathRDIOpMode, acSonetPathProtectionWTRelTime=acSonetPathProtectionWTRelTime, acSonetPathTIMNodeId=acSonetPathTIMNodeId, acSonetVTDayIntervalTable=acSonetVTDayIntervalTable, acSonetPathPLMEntry=acSonetPathPLMEntry, acSonetPathThresholdCVs=acSonetPathThresholdCVs, acSonetFarEndPathDayIntervalResetStats=acSonetFarEndPathDayIntervalResetStats, acSonetPathProtectionPath=acSonetPathProtectionPath, acSonetFarEndVTDayIntervalSlot=acSonetFarEndVTDayIntervalSlot, acSonetVT15MinuteIntervalNumber=acSonetVT15MinuteIntervalNumber, acSonetFarEndLineDayIntervalUASs=acSonetFarEndLineDayIntervalUASs, acSonetLineThresholdCVs=acSonetLineThresholdCVs, acSonetVTDayIntervalBER=acSonetVTDayIntervalBER, acSonetFarEndVTDayIntervalResetStats=acSonetFarEndVTDayIntervalResetStats, acSonetLineProtectionModeMismatchFail=acSonetLineProtectionModeMismatchFail, acSonetFarEndLineThresholdPort=acSonetFarEndLineThresholdPort, acSonetFarEndLineDayIntervalCVs=acSonetFarEndLineDayIntervalCVs, acSonetPathDayIntervalCVs=acSonetPathDayIntervalCVs, acSonetPathDayIntervalEntry=acSonetPathDayIntervalEntry, acSonetFarEndVTDayIntervalUASs=acSonetFarEndVTDayIntervalUASs, acSonetFarEndPathDayIntervalSESs=acSonetFarEndPathDayIntervalSESs, acSonetPortOpCode=acSonetPortOpCode, acSonetVTProtectionSwitchType=acSonetVTProtectionSwitchType, acSonetFarEndLineDayIntervalESs=acSonetFarEndLineDayIntervalESs, acSonetFarEndVT15MinuteIntervalUASs=acSonetFarEndVT15MinuteIntervalUASs, acSonetPathDayIntervalStatus=acSonetPathDayIntervalStatus, acSonetFarEndPath15MinuteIntervalSESs=acSonetFarEndPath15MinuteIntervalSESs, acSonetVT15MinuteIntervalSlot=acSonetVT15MinuteIntervalSlot, acSonetPathTIMReceivedString=acSonetPathTIMReceivedString, acSonetLine=acSonetLine, acSonetFarEndVTDayIntervalPort=acSonetFarEndVTDayIntervalPort, acSonetVTRDITable=acSonetVTRDITable, acSonetFarEndLine15MinuteIntervalEntry=acSonetFarEndLine15MinuteIntervalEntry, acSonetPathProtectionWTCTime=acSonetPathProtectionWTCTime, acSonetFarEndPath15MinuteIntervalPath=acSonetFarEndPath15MinuteIntervalPath, acSonetFarEndVTThresholdCVs=acSonetFarEndVTThresholdCVs, acSonetSection15MinuteIntervalTable=acSonetSection15MinuteIntervalTable, acSonetPathProtectionTable=acSonetPathProtectionTable, acSonetLineProtectionChannelMismatchFail=acSonetLineProtectionChannelMismatchFail, acSonetVTThresholdUASs=acSonetVTThresholdUASs, acSonetVTDayIntervalCVs=acSonetVTDayIntervalCVs, acSonetPathPLMMismatchFailure=acSonetPathPLMMismatchFailure, acSonetFarEndLine15MinuteIntervalSlot=acSonetFarEndLine15MinuteIntervalSlot, acSonetFarEndVTThresholdUASs=acSonetFarEndVTThresholdUASs, acSonetLineProtectionTable=acSonetLineProtectionTable, acSonetPortEntry=acSonetPortEntry, acSonetFarEndLineThresholdEntry=acSonetFarEndLineThresholdEntry, acSonetLineDayIntervalCVs=acSonetLineDayIntervalCVs, acSonetSection15MinuteIntervalResetStats=acSonetSection15MinuteIntervalResetStats, acSonetVTThresholdPort=acSonetVTThresholdPort, acSonetVTProtectionSFThreshold=acSonetVTProtectionSFThreshold, acSonetDCCAppianEnable=acSonetDCCAppianEnable, acSonetSectionDayIntervalNumber=acSonetSectionDayIntervalNumber, acSonetLineDayIntervalNodeId=acSonetLineDayIntervalNodeId, acSonetVTProtectionNodeId=acSonetVTProtectionNodeId, acSonetFarEndPathDayIntervalUASs=acSonetFarEndPathDayIntervalUASs, acSonetFarEndVTDayIntervalSESs=acSonetFarEndVTDayIntervalSESs, acSonetLineThresholdPort=acSonetLineThresholdPort, acSonetPortRingName=acSonetPortRingName, acSonetSectionThresholdTable=acSonetSectionThresholdTable, acSonetPathThresholdPort=acSonetPathThresholdPort, acSonetLine15MinuteIntervalPort=acSonetLine15MinuteIntervalPort, acSonetSectionTIMSlot=acSonetSectionTIMSlot, acSonetFarEndLine15MinuteIntervalPort=acSonetFarEndLine15MinuteIntervalPort, acSonetVT15MinuteIntervalEntry=acSonetVT15MinuteIntervalEntry, acSonetFarEndLine=acSonetFarEndLine, acSonetLineThresholdNodeId=acSonetLineThresholdNodeId, acSonetVTProtectionManSwitch=acSonetVTProtectionManSwitch, acSonetFarEndVT=acSonetFarEndVT, acSonetSectionTIMDetectEnable=acSonetSectionTIMDetectEnable, acSonetPortProtectionNodeId=acSonetPortProtectionNodeId, acSonetPathProtectionActiveTraffic=acSonetPathProtectionActiveTraffic, acSonetPortResetAllPMregs=acSonetPortResetAllPMregs, acSonetPortConnectionType=acSonetPortConnectionType, acSonetVTDayIntervalResetStats=acSonetVTDayIntervalResetStats, acSonetFarEndPathThresholdEntry=acSonetFarEndPathThresholdEntry, acSonetLine15MinuteIntervalBER=acSonetLine15MinuteIntervalBER, acSonetDCCSectionEnable=acSonetDCCSectionEnable, acSonetFarEndPathThresholdUASs=acSonetFarEndPathThresholdUASs, acSonetPathTIMTable=acSonetPathTIMTable, acSonetVTPLMVT=acSonetVTPLMVT, acSonetPathDayIntervalPort=acSonetPathDayIntervalPort, acSonetSectionSSMReceivedValue=acSonetSectionSSMReceivedValue, acSonetFarEndLineThresholdSlot=acSonetFarEndLineThresholdSlot, acSonetSectionDayIntervalResetStats=acSonetSectionDayIntervalResetStats, acSonetVTProtectionPort=acSonetVTProtectionPort, acSonetLineDayIntervalPort=acSonetLineDayIntervalPort, acSonetLineDayIntervalTable=acSonetLineDayIntervalTable, acSonetFarEndVTThresholdEntry=acSonetFarEndVTThresholdEntry, acSonetPathThresholdSlot=acSonetPathThresholdSlot, acSonetPath15MinuteIntervalStatus=acSonetPath15MinuteIntervalStatus, acSonetFarEndPath15MinuteIntervalNumber=acSonetFarEndPath15MinuteIntervalNumber, acSonetPortProtectionPort=acSonetPortProtectionPort, acSonetVTPLMTable=acSonetVTPLMTable, acSonetFarEndLine15MinuteIntervalTable=acSonetFarEndLine15MinuteIntervalTable, acSonetFarEndPath=acSonetFarEndPath, acSonetPathThresholdTable=acSonetPathThresholdTable, acSonetFarEndVT15MinuteIntervalValidStats=acSonetFarEndVT15MinuteIntervalValidStats, acSonetFarEndPathDayIntervalTable=acSonetFarEndPathDayIntervalTable, acSonetSectionDayIntervalTable=acSonetSectionDayIntervalTable, acSonetDCCPort=acSonetDCCPort, acSonetSectionTIMExpectedString=acSonetSectionTIMExpectedString, acSonetSectionTIMFailure=acSonetSectionTIMFailure, acSonetSectionSSMDetectEnable=acSonetSectionSSMDetectEnable, acSonetDCCAppianFail=acSonetDCCAppianFail, acSonetLineProtectionSwitchType=acSonetLineProtectionSwitchType, acSonetPathDayIntervalTable=acSonetPathDayIntervalTable, acSonetFarEndPath15MinuteIntervalResetStats=acSonetFarEndPath15MinuteIntervalResetStats, acSonetPathTIMEntry=acSonetPathTIMEntry, acSonetVTDayIntervalPort=acSonetVTDayIntervalPort, acSonetLineDayIntervalValidStats=acSonetLineDayIntervalValidStats, acSonetFarEndLineDayIntervalEntry=acSonetFarEndLineDayIntervalEntry, acSonetLineProtectionNodeId=acSonetLineProtectionNodeId, acSonetSection15MinuteIntervalNodeId=acSonetSection15MinuteIntervalNodeId, acSonetPathDayIntervalPath=acSonetPathDayIntervalPath, acSonetSectionTIMReceivedString=acSonetSectionTIMReceivedString, acSonetPathProtectionWTRTime=acSonetPathProtectionWTRTime, acSonetFarEndLine15MinuteIntervalResetStats=acSonetFarEndLine15MinuteIntervalResetStats, acSonetFarEndLineThresholdUASs=acSonetFarEndLineThresholdUASs, acSonetFarEndLine15MinuteIntervalSESs=acSonetFarEndLine15MinuteIntervalSESs, acSonetFarEndLineDayIntervalNodeId=acSonetFarEndLineDayIntervalNodeId, acSonetFarEndVT15MinuteIntervalResetStats=acSonetFarEndVT15MinuteIntervalResetStats, acSonetSection15MinuteIntervalCVs=acSonetSection15MinuteIntervalCVs, acSonetLineDayIntervalStatus=acSonetLineDayIntervalStatus, acSonetLine15MinuteIntervalESs=acSonetLine15MinuteIntervalESs, acSonetPathThresholdSelectionNum=acSonetPathThresholdSelectionNum, acSonetPathRDINodeId=acSonetPathRDINodeId, acSonetLineThresholdSelectionNum=acSonetLineThresholdSelectionNum, acSonetFarEndLineThresholdNodeId=acSonetFarEndLineThresholdNodeId, acSonetFarEndLineThresholdSelectionNum=acSonetFarEndLineThresholdSelectionNum, acSonetFarEndVT15MinuteIntervalEntry=acSonetFarEndVT15MinuteIntervalEntry, acSonetPortTimeElapsed=acSonetPortTimeElapsed, acSonetPathRDIPort=acSonetPathRDIPort, acSonetPortAdminStatus=acSonetPortAdminStatus, acSonetSection15MinuteIntervalESs=acSonetSection15MinuteIntervalESs, acSonetSectionDayIntervalEntry=acSonetSectionDayIntervalEntry, acSonetLineProtectionSFThreshold=acSonetLineProtectionSFThreshold, acSonetLineDayIntervalResetStats=acSonetLineDayIntervalResetStats, acSonetLineProtectionProtectionSwitch=acSonetLineProtectionProtectionSwitch, acSonetVT15MinuteIntervalUASs=acSonetVT15MinuteIntervalUASs, acSonetLine15MinuteIntervalSlot=acSonetLine15MinuteIntervalSlot, acSonetLine15MinuteIntervalTable=acSonetLine15MinuteIntervalTable, acSonetSectionSSMSlot=acSonetSectionSSMSlot, acSonetLine15MinuteIntervalCVs=acSonetLine15MinuteIntervalCVs, acSonetLineThresholdSESs=acSonetLineThresholdSESs, acSonetPathProtectionNodeId=acSonetPathProtectionNodeId, acSonetDCCTable=acSonetDCCTable, acSonetPath15MinuteIntervalCVs=acSonetPath15MinuteIntervalCVs, acSonetFarEndVTThresholdNodeId=acSonetFarEndVTThresholdNodeId, acSonetVTPLMUnequipped=acSonetVTPLMUnequipped, acSonetPortTransmitterEnable=acSonetPortTransmitterEnable, acSonetLineDayIntervalEntry=acSonetLineDayIntervalEntry, acSonetVT15MinuteIntervalResetStats=acSonetVT15MinuteIntervalResetStats, acSonetPathProtectionProtectionSwitch=acSonetPathProtectionProtectionSwitch, acSonetPortRingIdentifier=acSonetPortRingIdentifier, acSonetFarEndPathThresholdSESs=acSonetFarEndPathThresholdSESs, acSonetPathThresholdEntry=acSonetPathThresholdEntry, acSonetPathProtectionSwitchType=acSonetPathProtectionSwitchType, acSonetFarEndPathThresholdPort=acSonetFarEndPathThresholdPort, acSonetSectionTIMTable=acSonetSectionTIMTable, acSonetFarEndPathDayIntervalEntry=acSonetFarEndPathDayIntervalEntry, acSonetLineDayIntervalBER=acSonetLineDayIntervalBER, acSonetFarEndLine15MinuteIntervalNodeId=acSonetFarEndLine15MinuteIntervalNodeId, acSonetSectionThresholdSESs=acSonetSectionThresholdSESs, acSonetPath15MinuteIntervalPath=acSonetPath15MinuteIntervalPath, acSonetSectionDayIntervalPort=acSonetSectionDayIntervalPort, acSonetVTProtectionSDThreshold=acSonetVTProtectionSDThreshold, acSonetSectionThresholdCVs=acSonetSectionThresholdCVs, acSonetLineThresholdTable=acSonetLineThresholdTable, acSonetSectionTIMFormat=acSonetSectionTIMFormat, acSonetFarEndLineThresholdAdminStatus=acSonetFarEndLineThresholdAdminStatus, acSonetPathTIMGenerateEnable=acSonetPathTIMGenerateEnable, acSonetFarEndLineDayIntervalSESs=acSonetFarEndLineDayIntervalSESs, acSonetFarEndPath15MinuteIntervalEntry=acSonetFarEndPath15MinuteIntervalEntry, acSonetObjectsVT=acSonetObjectsVT, acSonetSectionDayIntervalValidStats=acSonetSectionDayIntervalValidStats, acSonetThresholdPort=acSonetThresholdPort, acSonetLineProtectionSDThreshold=acSonetLineProtectionSDThreshold, acSonetLineProtectionArchitecture=acSonetLineProtectionArchitecture, acSonetFarEndPathDayIntervalESs=acSonetFarEndPathDayIntervalESs, acSonetFarEndLineDayIntervalSlot=acSonetFarEndLineDayIntervalSlot, acSonetPathTIMMismatchZeros=acSonetPathTIMMismatchZeros, acSonetVTPLMMismatchFailure=acSonetVTPLMMismatchFailure, acSonetFarEndPath15MinuteIntervalCVs=acSonetFarEndPath15MinuteIntervalCVs, acSonetSectionDayIntervalSESs=acSonetSectionDayIntervalSESs, acSonetVT15MinuteIntervalCVs=acSonetVT15MinuteIntervalCVs, acSonetPathProtectionManSwitch=acSonetPathProtectionManSwitch, acSonetVTProtectionWTRTime=acSonetVTProtectionWTRTime, acSonetPort=acSonetPort, acSonetPortSlot=acSonetPortSlot, acSonetPathPLMNodeId=acSonetPathPLMNodeId, acSonetFarEndPathDayIntervalNumber=acSonetFarEndPathDayIntervalNumber, acSonetSectionThresholdNodeId=acSonetSectionThresholdNodeId) mibBuilder.exportSymbols('APPIAN-PPORT-SONET-MIB', acSonetSectionDayIntervalCVs=acSonetSectionDayIntervalCVs, acSonetVTDayIntervalStatus=acSonetVTDayIntervalStatus, acSonetLineProtectionFarEndLineFail=acSonetLineProtectionFarEndLineFail, acSonetPathThresholdSESs=acSonetPathThresholdSESs, acSonetSectionDayIntervalSEFSs=acSonetSectionDayIntervalSEFSs, acSonetSectionSSMTable=acSonetSectionSSMTable, acSonetPortMediumType=acSonetPortMediumType, acSonetLineDayIntervalSlot=acSonetLineDayIntervalSlot, acSonetFarEndPath15MinuteIntervalTable=acSonetFarEndPath15MinuteIntervalTable, acSonetLineProtectionEntry=acSonetLineProtectionEntry, acSonetPathProtectionSwitchOpStatus=acSonetPathProtectionSwitchOpStatus, acSonetFarEndVT15MinuteIntervalNumber=acSonetFarEndVT15MinuteIntervalNumber, acSonetSectionThresholdEntry=acSonetSectionThresholdEntry, acSonetFarEndPathDayIntervalPort=acSonetFarEndPathDayIntervalPort, acSonetFarEndLine15MinuteIntervalCVs=acSonetFarEndLine15MinuteIntervalCVs, acSonetPathRDITable=acSonetPathRDITable, acSonetVT15MinuteIntervalPort=acSonetVT15MinuteIntervalPort, acSonetVT15MinuteIntervalTable=acSonetVT15MinuteIntervalTable, acSonetFarEndVT15MinuteIntervalSESs=acSonetFarEndVT15MinuteIntervalSESs, acSonetPortProtectionTable=acSonetPortProtectionTable, acSonetSectionDayIntervalSlot=acSonetSectionDayIntervalSlot, acSonetFarEndPathThresholdAdminStatus=acSonetFarEndPathThresholdAdminStatus, acSonetVTDayIntervalEntry=acSonetVTDayIntervalEntry, acSonetThresholdNodeId=acSonetThresholdNodeId, acSonetSectionSSMPort=acSonetSectionSSMPort, acSonetVTDayIntervalESs=acSonetVTDayIntervalESs, acSonetVTPLMDetectEnable=acSonetVTPLMDetectEnable, AcTraceString=AcTraceString, acSonetLineProtectionFail=acSonetLineProtectionFail, acSonetPathTIMPort=acSonetPathTIMPort, acSonetLine15MinuteIntervalValidStats=acSonetLine15MinuteIntervalValidStats, acSonetVTRDISlot=acSonetVTRDISlot, acSonetVTRDIOpMode=acSonetVTRDIOpMode, acSonetPath15MinuteIntervalValidStats=acSonetPath15MinuteIntervalValidStats, acSonetFarEndVTThresholdESs=acSonetFarEndVTThresholdESs, acSonetSectionDayIntervalStatus=acSonetSectionDayIntervalStatus, acSonetVTPLMReceivedValue=acSonetVTPLMReceivedValue, acSonetPathTIMTransmitedString=acSonetPathTIMTransmitedString, acSonetFarEndLineThresholdCVs=acSonetFarEndLineThresholdCVs, acSonetPath15MinuteIntervalNumber=acSonetPath15MinuteIntervalNumber, acSonetPathProtectionPort=acSonetPathProtectionPort, acSonetFarEndPathDayIntervalCVs=acSonetFarEndPathDayIntervalCVs, acSonetLineThresholdESs=acSonetLineThresholdESs, acSonetPathPLMExpectedValue=acSonetPathPLMExpectedValue, acSonetFarEndPath15MinuteIntervalUASs=acSonetFarEndPath15MinuteIntervalUASs, acSonetVTProtectionTable=acSonetVTProtectionTable, acSonetLineThresholdUASs=acSonetLineThresholdUASs, acSonetSectionThresholdSelectionNum=acSonetSectionThresholdSelectionNum, acSonetPathPLMReceivedValue=acSonetPathPLMReceivedValue, acSonetVTThresholdCVs=acSonetVTThresholdCVs, acSonetPathThresholdESs=acSonetPathThresholdESs, acSonetFarEndVTThresholdAdminStatus=acSonetFarEndVTThresholdAdminStatus, acSonetDCCNodeId=acSonetDCCNodeId, acSonetPathDayIntervalValidStats=acSonetPathDayIntervalValidStats, acSonetSectionDayIntervalNodeId=acSonetSectionDayIntervalNodeId, acSonetVT15MinuteIntervalVT=acSonetVT15MinuteIntervalVT, acSonetPortPort=acSonetPortPort, acSonetLineDayIntervalNumber=acSonetLineDayIntervalNumber, acSonetFarEndLineDayIntervalResetStats=acSonetFarEndLineDayIntervalResetStats, acSonetSectionSSMTransmitedValue=acSonetSectionSSMTransmitedValue, acSonetVTDayIntervalUASs=acSonetVTDayIntervalUASs, acSonetVTRDINodeId=acSonetVTRDINodeId, acSonetPathProtectionSFThreshold=acSonetPathProtectionSFThreshold, acSonetFarEndLineDayIntervalTable=acSonetFarEndLineDayIntervalTable, acSonetLineDayIntervalESs=acSonetLineDayIntervalESs, acSonetPortProtectionSlot=acSonetPortProtectionSlot, acSonetFarEndVTThresholdVT=acSonetFarEndVTThresholdVT, acSonetSection15MinuteIntervalNumber=acSonetSection15MinuteIntervalNumber, acSonetLine15MinuteIntervalSESs=acSonetLine15MinuteIntervalSESs, acSonetVTPLMTransmitedValue=acSonetVTPLMTransmitedValue, acSonetVT15MinuteIntervalBER=acSonetVT15MinuteIntervalBER, acSonetVTPLMNodeId=acSonetVTPLMNodeId, acSonetVTThresholdNodeId=acSonetVTThresholdNodeId, acSonetFarEndVTDayIntervalESs=acSonetFarEndVTDayIntervalESs, acSonetFarEndVTDayIntervalEntry=acSonetFarEndVTDayIntervalEntry, acSonetThresholdTable=acSonetThresholdTable, acSonetFarEndPath15MinuteIntervalESs=acSonetFarEndPath15MinuteIntervalESs, acSonetFarEndPathThresholdSlot=acSonetFarEndPathThresholdSlot, acSonetFarEndLineDayIntervalValidStats=acSonetFarEndLineDayIntervalValidStats, acSonetFarEndPathThresholdSelectionNum=acSonetFarEndPathThresholdSelectionNum, acSonetFarEndVTDayIntervalNodeId=acSonetFarEndVTDayIntervalNodeId, acSonetFarEndLineThresholdSESs=acSonetFarEndLineThresholdSESs, acSonetPortResetCurrentPMregs=acSonetPortResetCurrentPMregs, acSonetSection15MinuteIntervalEntry=acSonetSection15MinuteIntervalEntry, acSonetPortTable=acSonetPortTable, acSonetFarEndPathThresholdPath=acSonetFarEndPathThresholdPath, acSonetVTThresholdSESs=acSonetVTThresholdSESs, acSonetPathRDIPath=acSonetPathRDIPath, acSonetFarEndLineDayIntervalNumber=acSonetFarEndLineDayIntervalNumber, acSonetLineProtectionActiveTraffic=acSonetLineProtectionActiveTraffic, acSonetPathPLMTransmitedValue=acSonetPathPLMTransmitedValue, acSonetLineThresholdEntry=acSonetLineThresholdEntry, acSonetSection15MinuteIntervalSESs=acSonetSection15MinuteIntervalSESs, acSonetLine15MinuteIntervalStatus=acSonetLine15MinuteIntervalStatus, acSonetPathDayIntervalSESs=acSonetPathDayIntervalSESs, acSonet=acSonet, acSonetPathPLMSlot=acSonetPathPLMSlot, acSonetVTProtectionVT=acSonetVTProtectionVT, acSonetFarEndLine15MinuteIntervalNumber=acSonetFarEndLine15MinuteIntervalNumber, acSonetFarEndLine15MinuteIntervalValidStats=acSonetFarEndLine15MinuteIntervalValidStats, acSonetVT15MinuteIntervalValidStats=acSonetVT15MinuteIntervalValidStats, acSonetThresholdSESSet=acSonetThresholdSESSet, acSonetSectionTIMGenerateEnable=acSonetSectionTIMGenerateEnable, acSonetVTDayIntervalSESs=acSonetVTDayIntervalSESs, acSonetLineThresholdSlot=acSonetLineThresholdSlot, acSonetPath15MinuteIntervalBER=acSonetPath15MinuteIntervalBER, PYSNMP_MODULE_ID=acSonet, acSonetPortCircuitIdentifier=acSonetPortCircuitIdentifier, acSonetFarEndVTThresholdSlot=acSonetFarEndVTThresholdSlot, acSonetPathPLMDetectEnable=acSonetPathPLMDetectEnable, acSonetFarEndPathThresholdTable=acSonetFarEndPathThresholdTable, acSonetDCCLineEnable=acSonetDCCLineEnable, acSonetSectionThresholdPort=acSonetSectionThresholdPort, acSonetSectionThresholdSEFSs=acSonetSectionThresholdSEFSs, acSonetPath15MinuteIntervalTable=acSonetPath15MinuteIntervalTable, acSonetVTDayIntervalValidStats=acSonetVTDayIntervalValidStats, acSonetPath15MinuteIntervalNodeId=acSonetPath15MinuteIntervalNodeId, acSonetSectionTIMEntry=acSonetSectionTIMEntry, acSonetPathDayIntervalResetStats=acSonetPathDayIntervalResetStats, acSonetSectionTIMTransmitedString=acSonetSectionTIMTransmitedString, acSonetFarEndLineDayIntervalPort=acSonetFarEndLineDayIntervalPort, acSonetLine15MinuteIntervalNodeId=acSonetLine15MinuteIntervalNodeId, acSonetVTDayIntervalNumber=acSonetVTDayIntervalNumber, acSonetPortInvalidIntervals=acSonetPortInvalidIntervals, acSonetPathProtectionWTITime=acSonetPathProtectionWTITime, acSonetPath15MinuteIntervalEntry=acSonetPath15MinuteIntervalEntry, acSonetPathThresholdAdminStatus=acSonetPathThresholdAdminStatus, acSonetFarEndVT15MinuteIntervalTable=acSonetFarEndVT15MinuteIntervalTable, acSonetSectionThresholdESs=acSonetSectionThresholdESs, acSonetPortMediumLineCoding=acSonetPortMediumLineCoding, acSonetPathPLMTable=acSonetPathPLMTable, acSonetVT15MinuteIntervalESs=acSonetVT15MinuteIntervalESs, acSonetFarEndVT15MinuteIntervalVT=acSonetFarEndVT15MinuteIntervalVT, acSonetSection15MinuteIntervalSEFSs=acSonetSection15MinuteIntervalSEFSs, acSonetFarEndVT15MinuteIntervalNodeId=acSonetFarEndVT15MinuteIntervalNodeId, acSonetPortLoopbackConfig=acSonetPortLoopbackConfig, acSonetFarEndPathDayIntervalNodeId=acSonetFarEndPathDayIntervalNodeId, acSonetLineProtectionWTRTime=acSonetLineProtectionWTRTime, acSonetPathDayIntervalNumber=acSonetPathDayIntervalNumber, acSonetVT=acSonetVT, acSonetVTProtectionProtectionSwitch=acSonetVTProtectionProtectionSwitch, acSonetPath15MinuteIntervalSESs=acSonetPath15MinuteIntervalSESs, acSonetVTRDIEntry=acSonetVTRDIEntry, acSonetObjectsPath=acSonetObjectsPath, acSonetVTPLMEntry=acSonetVTPLMEntry, acSonetSection15MinuteIntervalSlot=acSonetSection15MinuteIntervalSlot, acSonetFarEndPath15MinuteIntervalValidStats=acSonetFarEndPath15MinuteIntervalValidStats, acSonetFarEndPathThresholdESs=acSonetFarEndPathThresholdESs, acSonetObjects=acSonetObjects, acSonetFarEndLine15MinuteIntervalUASs=acSonetFarEndLine15MinuteIntervalUASs, acSonetLine15MinuteIntervalNumber=acSonetLine15MinuteIntervalNumber, acSonetFarEndVTDayIntervalTable=acSonetFarEndVTDayIntervalTable, acSonetPathThresholdPath=acSonetPathThresholdPath, acSonetSectionTIMMismatchZeros=acSonetSectionTIMMismatchZeros, acSonetLineProtectionSlot=acSonetLineProtectionSlot, acSonetFarEndPathThresholdNodeId=acSonetFarEndPathThresholdNodeId, acSonetPortMediumLineType=acSonetPortMediumLineType, acSonetLine15MinuteIntervalResetStats=acSonetLine15MinuteIntervalResetStats, acSonetVTPLMSlot=acSonetVTPLMSlot, acSonetPathPLMUnequipped=acSonetPathPLMUnequipped, acSonetSectionTIMNodeId=acSonetSectionTIMNodeId, acSonetDCCSectionFail=acSonetDCCSectionFail, acSonetLine15MinuteIntervalEntry=acSonetLine15MinuteIntervalEntry, acSonetFarEndPath15MinuteIntervalSlot=acSonetFarEndPath15MinuteIntervalSlot, acSonetPathTIMFailure=acSonetPathTIMFailure, acSonetLineProtectionPort=acSonetLineProtectionPort, acSonetSection15MinuteIntervalValidStats=acSonetSection15MinuteIntervalValidStats, acSonetPathDayIntervalNodeId=acSonetPathDayIntervalNodeId, acSonetFarEndVT15MinuteIntervalCVs=acSonetFarEndVT15MinuteIntervalCVs, acSonetFarEndLineThresholdTable=acSonetFarEndLineThresholdTable, acSonetPathRDIEntry=acSonetPathRDIEntry, acSonetPathProtectionSDThreshold=acSonetPathProtectionSDThreshold, acSonetPathPLMPort=acSonetPathPLMPort, acSonetVTThresholdVT=acSonetVTThresholdVT, acSonetPathPLMPath=acSonetPathPLMPath, acSonetVTThresholdESs=acSonetVTThresholdESs, acSonetPathRDISlot=acSonetPathRDISlot, acSonetDCCEntry=acSonetDCCEntry, acSonetThresholdEntry=acSonetThresholdEntry, acSonetSection15MinuteIntervalStatus=acSonetSection15MinuteIntervalStatus, acSonetFarEndVT15MinuteIntervalESs=acSonetFarEndVT15MinuteIntervalESs, acSonetPathTIMExpectedString=acSonetPathTIMExpectedString, acSonetSectionThresholdSlot=acSonetSectionThresholdSlot, acSonetPathDayIntervalSlot=acSonetPathDayIntervalSlot, acSonetFarEndPath15MinuteIntervalPort=acSonetFarEndPath15MinuteIntervalPort, acSonetFarEndVTThresholdTable=acSonetFarEndVTThresholdTable, acSonetVTThresholdAdminStatus=acSonetVTThresholdAdminStatus, acSonetPathProtectionEntry=acSonetPathProtectionEntry, acSonetFarEndPathDayIntervalSlot=acSonetFarEndPathDayIntervalSlot, acSonetVTThresholdTable=acSonetVTThresholdTable, acSonetPathTIMPath=acSonetPathTIMPath, acSonetPathDayIntervalESs=acSonetPathDayIntervalESs, acSonetSectionTIMPort=acSonetSectionTIMPort, acSonetSectionThresholdAdminStatus=acSonetSectionThresholdAdminStatus, acSonetPath15MinuteIntervalPort=acSonetPath15MinuteIntervalPort, acSonetDCCLineFail=acSonetDCCLineFail, acSonetVTPLMPort=acSonetVTPLMPort, acSonetLineThresholdAdminStatus=acSonetLineThresholdAdminStatus)
class Solution: def longestConsecutive(self, nums): nums_set = set(nums) longest_seq = 0 for num in nums_set: # Don't need to check if there is a - 1 smaller in the list. if num - 1 not in nums_set: current_num = num current_seq = 1 while current_num + 1 in nums_set: current_num += 1 current_seq += 1 longest_seq = max(longest_seq, current_seq) return longest_seq if __name__ == '__main__': s = Solution() nums = [100, 4, 200, 1, 3, 2] print(s.longestConsecutive(nums))
class Solution: def longest_consecutive(self, nums): nums_set = set(nums) longest_seq = 0 for num in nums_set: if num - 1 not in nums_set: current_num = num current_seq = 1 while current_num + 1 in nums_set: current_num += 1 current_seq += 1 longest_seq = max(longest_seq, current_seq) return longest_seq if __name__ == '__main__': s = solution() nums = [100, 4, 200, 1, 3, 2] print(s.longestConsecutive(nums))
def test(): # Here we can either check objects created in the solution code, or the # string value of the solution, available as __solution__. A helper for # printing formatted messages is available as __msg__. See the testTemplate # in the meta.json for details. # If an assertion fails, the message will be displayed assert not numeric_cols is None, "Your answer for numeric_cols does not exist. Have you assigned the list of labels for numeric columns to the correct variable name?" assert type(numeric_cols) == list, "numeric_cols does not appear to be of type list. Can you store all the labels of the numeric columns into a list called numeric_cols?" assert set(numeric_cols) == set(['culmen_length_mm', 'culmen_depth_mm', 'flipper_length_mm', 'body_mass_g']), "Make sure you only include the numeric columns in numeric_cols. Hint: there are 4 numeric columns in the dataframe." assert numeric_cols == ['culmen_length_mm', 'culmen_depth_mm', 'flipper_length_mm', 'body_mass_g'], "You're close. Please make sure that the numeric columns are ordered in the same order they appear in the dataframe." assert not numeric_histograms is None, "Your answer for numeric_histograms does not exist. Have you assigned the chart object to the correct variable name?" assert type(numeric_histograms) == alt.vegalite.v4.api.RepeatChart, "Your answer is not an Altair RepeatChart object. Check to make sure that you have assigned an alt.Chart object to numeric_histograms and that you are repeating by columns in numeric_cols." assert numeric_histograms.columns == 2, "Make sure you have 2 columns in your RepeatChart. Hint: use columns argument." assert numeric_histograms.spec.mark == 'bar', "Make sure you are using the 'mark_bar' to generate histograms." assert numeric_histograms.spec.encoding.x.shorthand == alt.RepeatRef(repeat = 'repeat'), "Make sure you specify that the chart set-up is repeated for different columns as the x-axis encoding. Hint: use alt.repeat()" assert numeric_histograms.spec.encoding.x.bin != alt.utils.schemapi.Undefined, "Make sure you are specifying the bin argument for the x-axis encoding for the histogram." assert numeric_histograms.spec.encoding.x.bin.maxbins != alt.utils.schemapi.Undefined, "Make sure you specify the maxbins argument for binning the x-axis encoding to something reasonable (like 30 or 40)." assert numeric_histograms.spec.encoding.x.type == "quantitative", "Make sure you let Altair know that alt.repeat() is a quantitative type, since it's not a column in the dataframe." assert ( numeric_histograms.spec.encoding.y.field in {'count()', 'count():quantitative', 'count():Q'} or numeric_histograms.spec.encoding.y.shorthand in {'count()', 'count():quantitative', 'count():Q'} ), "Make sure you are using 'count()' as the y-axis encoding." assert numeric_histograms.spec.height == 150, "Make sure your plot has a height of 150." assert numeric_histograms.spec.width == 150, "Make sure your plot has a width of 150." __msg__.good("You're correct, well done!")
def test(): assert not numeric_cols is None, 'Your answer for numeric_cols does not exist. Have you assigned the list of labels for numeric columns to the correct variable name?' assert type(numeric_cols) == list, 'numeric_cols does not appear to be of type list. Can you store all the labels of the numeric columns into a list called numeric_cols?' assert set(numeric_cols) == set(['culmen_length_mm', 'culmen_depth_mm', 'flipper_length_mm', 'body_mass_g']), 'Make sure you only include the numeric columns in numeric_cols. Hint: there are 4 numeric columns in the dataframe.' assert numeric_cols == ['culmen_length_mm', 'culmen_depth_mm', 'flipper_length_mm', 'body_mass_g'], "You're close. Please make sure that the numeric columns are ordered in the same order they appear in the dataframe." assert not numeric_histograms is None, 'Your answer for numeric_histograms does not exist. Have you assigned the chart object to the correct variable name?' assert type(numeric_histograms) == alt.vegalite.v4.api.RepeatChart, 'Your answer is not an Altair RepeatChart object. Check to make sure that you have assigned an alt.Chart object to numeric_histograms and that you are repeating by columns in numeric_cols.' assert numeric_histograms.columns == 2, 'Make sure you have 2 columns in your RepeatChart. Hint: use columns argument.' assert numeric_histograms.spec.mark == 'bar', "Make sure you are using the 'mark_bar' to generate histograms." assert numeric_histograms.spec.encoding.x.shorthand == alt.RepeatRef(repeat='repeat'), 'Make sure you specify that the chart set-up is repeated for different columns as the x-axis encoding. Hint: use alt.repeat()' assert numeric_histograms.spec.encoding.x.bin != alt.utils.schemapi.Undefined, 'Make sure you are specifying the bin argument for the x-axis encoding for the histogram.' assert numeric_histograms.spec.encoding.x.bin.maxbins != alt.utils.schemapi.Undefined, 'Make sure you specify the maxbins argument for binning the x-axis encoding to something reasonable (like 30 or 40).' assert numeric_histograms.spec.encoding.x.type == 'quantitative', "Make sure you let Altair know that alt.repeat() is a quantitative type, since it's not a column in the dataframe." assert numeric_histograms.spec.encoding.y.field in {'count()', 'count():quantitative', 'count():Q'} or numeric_histograms.spec.encoding.y.shorthand in {'count()', 'count():quantitative', 'count():Q'}, "Make sure you are using 'count()' as the y-axis encoding." assert numeric_histograms.spec.height == 150, 'Make sure your plot has a height of 150.' assert numeric_histograms.spec.width == 150, 'Make sure your plot has a width of 150.' __msg__.good("You're correct, well done!")
# Section 5.16 Self Check snippets # Exercise 4 t = [[10, 7, 3], [20, 4, 17]] total = 0 items = 0 for row in t: for item in row: total += item items += 1 total / items total = 0 items = 0 for row in t: total += sum(row) items += len(row) total / items ########################################################################## # (C) Copyright 2019 by Deitel & Associates, Inc. and # # Pearson Education, Inc. All Rights Reserved. # # # # DISCLAIMER: The authors and publisher of this book have used their # # best efforts in preparing the book. These efforts include the # # development, research, and testing of the theories and programs # # to determine their effectiveness. The authors and publisher make # # no warranty of any kind, expressed or implied, with regard to these # # programs or to the documentation contained in these books. The authors # # and publisher shall not be liable in any event for incidental or # # consequential damages in connection with, or arising out of, the # # furnishing, performance, or use of these programs. # ##########################################################################
t = [[10, 7, 3], [20, 4, 17]] total = 0 items = 0 for row in t: for item in row: total += item items += 1 total / items total = 0 items = 0 for row in t: total += sum(row) items += len(row) total / items
def minion_game(string): # your code goes here Kevin = 0 Stuart = 0 word = list(string) x = len(word) vowels = ['A','E','I','O','U'] for inx, w in enumerate(word): if w in vowels: Kevin = Kevin + x else: Stuart = Stuart + x x = x - 1 if Stuart > Kevin: print ('Stuart', Stuart) elif Kevin > Stuart: print ('Kevin', Kevin) else: print ('Draw')
def minion_game(string): kevin = 0 stuart = 0 word = list(string) x = len(word) vowels = ['A', 'E', 'I', 'O', 'U'] for (inx, w) in enumerate(word): if w in vowels: kevin = Kevin + x else: stuart = Stuart + x x = x - 1 if Stuart > Kevin: print('Stuart', Stuart) elif Kevin > Stuart: print('Kevin', Kevin) else: print('Draw')
no_exists = '{}_does_not_exists' already_exists = '{}_already_exists' exception_occurred = 'exception_occurred' no_modification_made = 'mo_modification_made' no_required_args = 'no_required_args' add_success = 'add_{}_success' delete_success = 'delete_{}_success' __all__ = ['no_exists', 'exception_occurred', 'no_modification_made', 'no_required_args', 'add_success', 'delete_success']
no_exists = '{}_does_not_exists' already_exists = '{}_already_exists' exception_occurred = 'exception_occurred' no_modification_made = 'mo_modification_made' no_required_args = 'no_required_args' add_success = 'add_{}_success' delete_success = 'delete_{}_success' __all__ = ['no_exists', 'exception_occurred', 'no_modification_made', 'no_required_args', 'add_success', 'delete_success']
class RetrievalMethod(): def __init__(self,db): self.db = db def get_sentences_for_claim(self,claim_text,include_text=False): pass
class Retrievalmethod: def __init__(self, db): self.db = db def get_sentences_for_claim(self, claim_text, include_text=False): pass
''' WRITTEN BY Ramon Rossi PURPOSE Consider the Fionacci sequence. It is a sequence of natural numbers defined recursively as follows: * the first element is 0 * the second is 1 * each next element is the sum of the previous two elements This function will sum all even elements of the Fibonacci sequence with values less than 1 million. The function is called calculate() and prints the result to the console. EXAMPLE calculate(1000000) will have the result 1089154. ''' def calculate(limit): values_list = [] x = 0 # increment x by 1 until the Fibonacci number gets to the limit while(True): # the first element must be 0, and the second element must be 1 if x == 0 or x == 1: values_list.append(x) # the rest of the elements adds the previous two values else: values_list.append(values_list[x-1]+values_list[x-2]) # uncomment this line if need to see each Fibonacci number as its generated #print('Element {}, Fibonacci number is {}'.format(x, values_list[x])) # check if the Fibonacci number is at or past the limit if values_list[x] >= limit: # remove this last list item because its at or past the limit values_list.pop(x) break # increment x by 1 x += 1 # the values in the list are added if they are even sum_of_even_values = sum([values_list[i] for i in range(len(values_list)) if values_list[i]%2 == 0]) print(values_list) return sum_of_even_values # run test 1 print('Test 1'.center(40,'-')) limit = 1000000 result = calculate(limit) print('Sum of all even Fibonacci numbers up to {}: {}'.format(limit, result)) if result == 1089154: print('Test passed') else: print('Test failed')
""" WRITTEN BY Ramon Rossi PURPOSE Consider the Fionacci sequence. It is a sequence of natural numbers defined recursively as follows: * the first element is 0 * the second is 1 * each next element is the sum of the previous two elements This function will sum all even elements of the Fibonacci sequence with values less than 1 million. The function is called calculate() and prints the result to the console. EXAMPLE calculate(1000000) will have the result 1089154. """ def calculate(limit): values_list = [] x = 0 while True: if x == 0 or x == 1: values_list.append(x) else: values_list.append(values_list[x - 1] + values_list[x - 2]) if values_list[x] >= limit: values_list.pop(x) break x += 1 sum_of_even_values = sum([values_list[i] for i in range(len(values_list)) if values_list[i] % 2 == 0]) print(values_list) return sum_of_even_values print('Test 1'.center(40, '-')) limit = 1000000 result = calculate(limit) print('Sum of all even Fibonacci numbers up to {}: {}'.format(limit, result)) if result == 1089154: print('Test passed') else: print('Test failed')
def caesarCipherEncryptor(string, key): # To solve this problem, we need first to break the string into a list of chars, and then apply a function # basically transform each letter the key shifted, and then join them together. Obviously creating the list will take O(n) time and space # the function can be implemented in two ways: # 1. using Unicode and buildin functions. Specifically, using or to get the unicode value and chr to transform to char. # knowing that a = 97 and z = 122, we can convert the value. We need to understand the edge cases: # newlleter = letter + key: # # - If unicode > 122, we need to use the modulo : newletter = (shiftedletter % 122 + 96), we use 96, since # if char = 'a' -> 123 % 122 = 1 + 96 # - If key > 26, we need to be careful since we are not containing this in the prior logic: we need to use the modulo # ALSO in the key = key % 26 newLetters = [] newKey = key % 26 for letter in string: # instead of creating a new list, we can do this in place directly, populating the new list newLetters.append(getNewLetter(letter, newKey)) return "".join(newLetters) def getNewLetter(letter, key): newLetterCode = ord(letter) + key return chr(newLetterCode) if newLetterCode <= 122 else chr(96 + newLetterCode % 122)
def caesar_cipher_encryptor(string, key): new_letters = [] new_key = key % 26 for letter in string: newLetters.append(get_new_letter(letter, newKey)) return ''.join(newLetters) def get_new_letter(letter, key): new_letter_code = ord(letter) + key return chr(newLetterCode) if newLetterCode <= 122 else chr(96 + newLetterCode % 122)
f = open("test_data.txt", "r") fout = open("test_data_commas.txt", "w") for line in f: fout.write(line.replace(" ", ",")) f.close() fout.close()
f = open('test_data.txt', 'r') fout = open('test_data_commas.txt', 'w') for line in f: fout.write(line.replace(' ', ',')) f.close() fout.close()
class Menu: def __init__(self, Requests, log, presences): self.Requests = Requests self.log = log self.presences = presences def get_party_json(self, GamePlayersPuuid, presencesDICT): party_json = {} for presence in presencesDICT: if presence["puuid"] in GamePlayersPuuid: decodedPresence = self.presences.decode_presence(presence["private"]) if decodedPresence["isValid"]: if decodedPresence["partySize"] > 1: try: party_json[decodedPresence["partyId"]].append(presence["puuid"]) except KeyError: party_json.update({decodedPresence["partyId"]: [presence["puuid"]]}) self.log(f"retrieved party json: {party_json}") return party_json def get_party_members(self, self_puuid, presencesDICT): res = [] for presence in presencesDICT: if presence["puuid"] == self_puuid: decodedPresence = self.presences.decode_presence(presence["private"]) if decodedPresence["isValid"]: party_id = decodedPresence["partyId"] res.append({"Subject": presence["puuid"], "PlayerIdentity": {"AccountLevel": decodedPresence["accountLevel"]}}) for presence in presencesDICT: decodedPresence = self.presences.decode_presence(presence["private"]) if decodedPresence["isValid"]: if decodedPresence["partyId"] == party_id and presence["puuid"] != self_puuid: res.append({"Subject": presence["puuid"], "PlayerIdentity": {"AccountLevel": decodedPresence["accountLevel"]}}) self.log(f"retrieved party members: {res}") return res
class Menu: def __init__(self, Requests, log, presences): self.Requests = Requests self.log = log self.presences = presences def get_party_json(self, GamePlayersPuuid, presencesDICT): party_json = {} for presence in presencesDICT: if presence['puuid'] in GamePlayersPuuid: decoded_presence = self.presences.decode_presence(presence['private']) if decodedPresence['isValid']: if decodedPresence['partySize'] > 1: try: party_json[decodedPresence['partyId']].append(presence['puuid']) except KeyError: party_json.update({decodedPresence['partyId']: [presence['puuid']]}) self.log(f'retrieved party json: {party_json}') return party_json def get_party_members(self, self_puuid, presencesDICT): res = [] for presence in presencesDICT: if presence['puuid'] == self_puuid: decoded_presence = self.presences.decode_presence(presence['private']) if decodedPresence['isValid']: party_id = decodedPresence['partyId'] res.append({'Subject': presence['puuid'], 'PlayerIdentity': {'AccountLevel': decodedPresence['accountLevel']}}) for presence in presencesDICT: decoded_presence = self.presences.decode_presence(presence['private']) if decodedPresence['isValid']: if decodedPresence['partyId'] == party_id and presence['puuid'] != self_puuid: res.append({'Subject': presence['puuid'], 'PlayerIdentity': {'AccountLevel': decodedPresence['accountLevel']}}) self.log(f'retrieved party members: {res}') return res
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/suntao/workspace/gorobots/utils/real_robots/stbot/catkin_ws/src/lilistbot/msg/Jy901imu.msg" services_str = "" pkg_name = "lilistbot" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "lilistbot;/home/suntao/workspace/gorobots/utils/real_robots/stbot/catkin_ws/src/lilistbot/msg;std_msgs;/opt/ros/kinetic/share/std_msgs/cmake/../msg" PYTHON_EXECUTABLE = "/home/suntao/.pyenv/shims/python" package_has_static_sources = '' == 'TRUE' genmsg_check_deps_script = "/opt/ros/kinetic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py"
messages_str = '/home/suntao/workspace/gorobots/utils/real_robots/stbot/catkin_ws/src/lilistbot/msg/Jy901imu.msg' services_str = '' pkg_name = 'lilistbot' dependencies_str = 'std_msgs' langs = 'gencpp;geneus;genlisp;gennodejs;genpy' dep_include_paths_str = 'lilistbot;/home/suntao/workspace/gorobots/utils/real_robots/stbot/catkin_ws/src/lilistbot/msg;std_msgs;/opt/ros/kinetic/share/std_msgs/cmake/../msg' python_executable = '/home/suntao/.pyenv/shims/python' package_has_static_sources = '' == 'TRUE' genmsg_check_deps_script = '/opt/ros/kinetic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py'
pirate_ship_status = [int(i) for i in input().split('>')] warship_status = [int(i) for i in input().split('>')] health_capacity = int(input()) while True: command_nosplit = input() if command_nosplit == "Retire": break command = command_nosplit.split() if "Fire" in command: index = int(command[1]) damage = int(command[2]) if 0 <= index <= len(warship_status)-1: warship_status[index] -= damage if warship_status[index] <= 0: print(f"You won! The enemy ship has sunken.") exit() else: continue elif "Defend" in command: first_index = int(command[1]) last_index = int(command[2]) damage = int(command[3]) if (0 <= first_index and first_index < last_index) and (last_index <= len(pirate_ship_status)-1): for i in range(first_index,last_index+1): pirate_ship_status[i] -= damage if pirate_ship_status[i] <= 0: print(f"You lost! The pirate ship has sunken.") exit() else: continue elif "Repair" in command: index = int(command[1]) repair = int(command[2]) if 0 <= index <= len(pirate_ship_status)-1: pirate_ship_status[index] += repair if pirate_ship_status[index] > health_capacity: pirate_ship_status[index] = health_capacity else: continue elif "Status" in command: value_need_repair = health_capacity // 5 sections_for_repair = 0 for section in pirate_ship_status: if section < value_need_repair: sections_for_repair += 1 print(f"{sections_for_repair} sections need repair.") print(f"Pirate ship status: {sum(pirate_ship_status)}\nWarship status: {sum(warship_status)}")
pirate_ship_status = [int(i) for i in input().split('>')] warship_status = [int(i) for i in input().split('>')] health_capacity = int(input()) while True: command_nosplit = input() if command_nosplit == 'Retire': break command = command_nosplit.split() if 'Fire' in command: index = int(command[1]) damage = int(command[2]) if 0 <= index <= len(warship_status) - 1: warship_status[index] -= damage if warship_status[index] <= 0: print(f'You won! The enemy ship has sunken.') exit() else: continue elif 'Defend' in command: first_index = int(command[1]) last_index = int(command[2]) damage = int(command[3]) if (0 <= first_index and first_index < last_index) and last_index <= len(pirate_ship_status) - 1: for i in range(first_index, last_index + 1): pirate_ship_status[i] -= damage if pirate_ship_status[i] <= 0: print(f'You lost! The pirate ship has sunken.') exit() else: continue elif 'Repair' in command: index = int(command[1]) repair = int(command[2]) if 0 <= index <= len(pirate_ship_status) - 1: pirate_ship_status[index] += repair if pirate_ship_status[index] > health_capacity: pirate_ship_status[index] = health_capacity else: continue elif 'Status' in command: value_need_repair = health_capacity // 5 sections_for_repair = 0 for section in pirate_ship_status: if section < value_need_repair: sections_for_repair += 1 print(f'{sections_for_repair} sections need repair.') print(f'Pirate ship status: {sum(pirate_ship_status)}\nWarship status: {sum(warship_status)}')
class Solution(object): def findDisappearedNumbers(self, nums): return list(set(range(1,len(nums)+1)) - set(nums)) nums = [4, 6, 2, 6, 7, 2, 1] def test(): assert Solution().findDisappearedNumbers(nums) == [3, 5]
class Solution(object): def find_disappeared_numbers(self, nums): return list(set(range(1, len(nums) + 1)) - set(nums)) nums = [4, 6, 2, 6, 7, 2, 1] def test(): assert solution().findDisappearedNumbers(nums) == [3, 5]
# Copyright (c) OpenMMLab. All rights reserved. _base_ = './i_base.py' item_cfg = {'b': 2} item6 = {'cfg': item_cfg}
_base_ = './i_base.py' item_cfg = {'b': 2} item6 = {'cfg': item_cfg}
# type: ignore __all__ = [ "datatipinfo", "deprpt", "dbstep", "arrayviewfunc", "openvar", "workspace", "commandwindow", "runreport", "fixcontents", "projdumpmat", "urldecode", "renameStructField", "dbcont", "checkcode", "publish", "urlencode", "uiimport", "dbstop", "grabcode", "mlintrpt", "workspacefunc", "dbstack", "filebrowser", "dbstatus", "dbtype", "stripanchors", "auditcontents", "sharedplotfunc", "dbquit", "codetoolsswitchyard", "snapnow", "dofixrpt", "mdbfileonpath", "code2html", "mlint", "initdesktoputils", "commonplotfunc", "edit", "functionhintsfunc", "convertSpreadsheetDates", "contentsrpt", "commandhistory", "plotpickerfunc", "coveragerpt", "dbup", "opentoline", "m2struct", "convertSpreadsheetExcelDates", "profviewgateway", "makemcode", "indentcode", "profile", "mdbpublish", "dbdown", "pathtool", "value2CustomFcn", "profsave", "getcallinfo", "profview", "dbclear", "dbmex", "profreport", "makecontentsfile", "helprpt", "mdbstatus", "fixquote", ] def datatipinfo(*args): raise NotImplementedError("datatipinfo") def deprpt(*args): raise NotImplementedError("deprpt") def dbstep(*args): raise NotImplementedError("dbstep") def arrayviewfunc(*args): raise NotImplementedError("arrayviewfunc") def openvar(*args): raise NotImplementedError("openvar") def workspace(*args): raise NotImplementedError("workspace") def commandwindow(*args): raise NotImplementedError("commandwindow") def runreport(*args): raise NotImplementedError("runreport") def fixcontents(*args): raise NotImplementedError("fixcontents") def projdumpmat(*args): raise NotImplementedError("projdumpmat") def urldecode(*args): raise NotImplementedError("urldecode") def renameStructField(*args): raise NotImplementedError("renameStructField") def dbcont(*args): raise NotImplementedError("dbcont") def checkcode(*args): raise NotImplementedError("checkcode") def publish(*args): raise NotImplementedError("publish") def urlencode(*args): raise NotImplementedError("urlencode") def uiimport(*args): raise NotImplementedError("uiimport") def dbstop(*args): raise NotImplementedError("dbstop") def grabcode(*args): raise NotImplementedError("grabcode") def mlintrpt(*args): raise NotImplementedError("mlintrpt") def workspacefunc(*args): raise NotImplementedError("workspacefunc") def dbstack(*args): raise NotImplementedError("dbstack") def filebrowser(*args): raise NotImplementedError("filebrowser") def dbstatus(*args): raise NotImplementedError("dbstatus") def dbtype(*args): raise NotImplementedError("dbtype") def stripanchors(*args): raise NotImplementedError("stripanchors") def auditcontents(*args): raise NotImplementedError("auditcontents") def sharedplotfunc(*args): raise NotImplementedError("sharedplotfunc") def dbquit(*args): raise NotImplementedError("dbquit") def codetoolsswitchyard(*args): raise NotImplementedError("codetoolsswitchyard") def snapnow(*args): raise NotImplementedError("snapnow") def dofixrpt(*args): raise NotImplementedError("dofixrpt") def mdbfileonpath(*args): raise NotImplementedError("mdbfileonpath") def code2html(*args): raise NotImplementedError("code2html") def mlint(*args): raise NotImplementedError("mlint") def initdesktoputils(*args): raise NotImplementedError("initdesktoputils") def commonplotfunc(*args): raise NotImplementedError("commonplotfunc") def edit(*args): raise NotImplementedError("edit") def functionhintsfunc(*args): raise NotImplementedError("functionhintsfunc") def convertSpreadsheetDates(*args): raise NotImplementedError("convertSpreadsheetDates") def contentsrpt(*args): raise NotImplementedError("contentsrpt") def commandhistory(*args): raise NotImplementedError("commandhistory") def plotpickerfunc(*args): raise NotImplementedError("plotpickerfunc") def coveragerpt(*args): raise NotImplementedError("coveragerpt") def dbup(*args): raise NotImplementedError("dbup") def opentoline(*args): raise NotImplementedError("opentoline") def m2struct(*args): raise NotImplementedError("m2struct") def convertSpreadsheetExcelDates(*args): raise NotImplementedError("convertSpreadsheetExcelDates") def profviewgateway(*args): raise NotImplementedError("profviewgateway") def makemcode(*args): raise NotImplementedError("makemcode") def indentcode(*args): raise NotImplementedError("indentcode") def profile(*args): raise NotImplementedError("profile") def mdbpublish(*args): raise NotImplementedError("mdbpublish") def dbdown(*args): raise NotImplementedError("dbdown") def pathtool(*args): raise NotImplementedError("pathtool") def value2CustomFcn(*args): raise NotImplementedError("value2CustomFcn") def profsave(*args): raise NotImplementedError("profsave") def getcallinfo(*args): raise NotImplementedError("getcallinfo") def profview(*args): raise NotImplementedError("profview") def dbclear(*args): raise NotImplementedError("dbclear") def dbmex(*args): raise NotImplementedError("dbmex") def profreport(*args): raise NotImplementedError("profreport") def makecontentsfile(*args): raise NotImplementedError("makecontentsfile") def helprpt(*args): raise NotImplementedError("helprpt") def mdbstatus(*args): raise NotImplementedError("mdbstatus") def fixquote(*args): raise NotImplementedError("fixquote")
__all__ = ['datatipinfo', 'deprpt', 'dbstep', 'arrayviewfunc', 'openvar', 'workspace', 'commandwindow', 'runreport', 'fixcontents', 'projdumpmat', 'urldecode', 'renameStructField', 'dbcont', 'checkcode', 'publish', 'urlencode', 'uiimport', 'dbstop', 'grabcode', 'mlintrpt', 'workspacefunc', 'dbstack', 'filebrowser', 'dbstatus', 'dbtype', 'stripanchors', 'auditcontents', 'sharedplotfunc', 'dbquit', 'codetoolsswitchyard', 'snapnow', 'dofixrpt', 'mdbfileonpath', 'code2html', 'mlint', 'initdesktoputils', 'commonplotfunc', 'edit', 'functionhintsfunc', 'convertSpreadsheetDates', 'contentsrpt', 'commandhistory', 'plotpickerfunc', 'coveragerpt', 'dbup', 'opentoline', 'm2struct', 'convertSpreadsheetExcelDates', 'profviewgateway', 'makemcode', 'indentcode', 'profile', 'mdbpublish', 'dbdown', 'pathtool', 'value2CustomFcn', 'profsave', 'getcallinfo', 'profview', 'dbclear', 'dbmex', 'profreport', 'makecontentsfile', 'helprpt', 'mdbstatus', 'fixquote'] def datatipinfo(*args): raise not_implemented_error('datatipinfo') def deprpt(*args): raise not_implemented_error('deprpt') def dbstep(*args): raise not_implemented_error('dbstep') def arrayviewfunc(*args): raise not_implemented_error('arrayviewfunc') def openvar(*args): raise not_implemented_error('openvar') def workspace(*args): raise not_implemented_error('workspace') def commandwindow(*args): raise not_implemented_error('commandwindow') def runreport(*args): raise not_implemented_error('runreport') def fixcontents(*args): raise not_implemented_error('fixcontents') def projdumpmat(*args): raise not_implemented_error('projdumpmat') def urldecode(*args): raise not_implemented_error('urldecode') def rename_struct_field(*args): raise not_implemented_error('renameStructField') def dbcont(*args): raise not_implemented_error('dbcont') def checkcode(*args): raise not_implemented_error('checkcode') def publish(*args): raise not_implemented_error('publish') def urlencode(*args): raise not_implemented_error('urlencode') def uiimport(*args): raise not_implemented_error('uiimport') def dbstop(*args): raise not_implemented_error('dbstop') def grabcode(*args): raise not_implemented_error('grabcode') def mlintrpt(*args): raise not_implemented_error('mlintrpt') def workspacefunc(*args): raise not_implemented_error('workspacefunc') def dbstack(*args): raise not_implemented_error('dbstack') def filebrowser(*args): raise not_implemented_error('filebrowser') def dbstatus(*args): raise not_implemented_error('dbstatus') def dbtype(*args): raise not_implemented_error('dbtype') def stripanchors(*args): raise not_implemented_error('stripanchors') def auditcontents(*args): raise not_implemented_error('auditcontents') def sharedplotfunc(*args): raise not_implemented_error('sharedplotfunc') def dbquit(*args): raise not_implemented_error('dbquit') def codetoolsswitchyard(*args): raise not_implemented_error('codetoolsswitchyard') def snapnow(*args): raise not_implemented_error('snapnow') def dofixrpt(*args): raise not_implemented_error('dofixrpt') def mdbfileonpath(*args): raise not_implemented_error('mdbfileonpath') def code2html(*args): raise not_implemented_error('code2html') def mlint(*args): raise not_implemented_error('mlint') def initdesktoputils(*args): raise not_implemented_error('initdesktoputils') def commonplotfunc(*args): raise not_implemented_error('commonplotfunc') def edit(*args): raise not_implemented_error('edit') def functionhintsfunc(*args): raise not_implemented_error('functionhintsfunc') def convert_spreadsheet_dates(*args): raise not_implemented_error('convertSpreadsheetDates') def contentsrpt(*args): raise not_implemented_error('contentsrpt') def commandhistory(*args): raise not_implemented_error('commandhistory') def plotpickerfunc(*args): raise not_implemented_error('plotpickerfunc') def coveragerpt(*args): raise not_implemented_error('coveragerpt') def dbup(*args): raise not_implemented_error('dbup') def opentoline(*args): raise not_implemented_error('opentoline') def m2struct(*args): raise not_implemented_error('m2struct') def convert_spreadsheet_excel_dates(*args): raise not_implemented_error('convertSpreadsheetExcelDates') def profviewgateway(*args): raise not_implemented_error('profviewgateway') def makemcode(*args): raise not_implemented_error('makemcode') def indentcode(*args): raise not_implemented_error('indentcode') def profile(*args): raise not_implemented_error('profile') def mdbpublish(*args): raise not_implemented_error('mdbpublish') def dbdown(*args): raise not_implemented_error('dbdown') def pathtool(*args): raise not_implemented_error('pathtool') def value2_custom_fcn(*args): raise not_implemented_error('value2CustomFcn') def profsave(*args): raise not_implemented_error('profsave') def getcallinfo(*args): raise not_implemented_error('getcallinfo') def profview(*args): raise not_implemented_error('profview') def dbclear(*args): raise not_implemented_error('dbclear') def dbmex(*args): raise not_implemented_error('dbmex') def profreport(*args): raise not_implemented_error('profreport') def makecontentsfile(*args): raise not_implemented_error('makecontentsfile') def helprpt(*args): raise not_implemented_error('helprpt') def mdbstatus(*args): raise not_implemented_error('mdbstatus') def fixquote(*args): raise not_implemented_error('fixquote')
#!/usr/bin/env python ######################################################################## # Copyright 2012 Mandiant # Copyright 2014 FireEye # # Mandiant licenses this file to you under the Apache License, Version # 2.0 (the "License"); you may not use this file except in compliance with the # License. You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. See the License for the specific language governing # permissions and limitations under the License. # # Reference: # https://github.com/mandiant/flare-ida/blob/master/shellcode_hashes/make_sc_hash_db.py # ######################################################################## DESCRIPTION = "SHIFT LEFT 7 and SUB used in DoublePulsar backdoor" TYPE = 'unsigned_int' TEST_1 = 2493113697 def hash(data): eax = 0 edi = 0 for i in data: edi = 0xffffffff & (eax << 7) eax = 0xffffffff & (edi - eax) eax = eax + (0xff & i) edi = 0xffffffff & (eax << 7) eax = 0xffffffff & (edi - eax) return eax
description = 'SHIFT LEFT 7 and SUB used in DoublePulsar backdoor' type = 'unsigned_int' test_1 = 2493113697 def hash(data): eax = 0 edi = 0 for i in data: edi = 4294967295 & eax << 7 eax = 4294967295 & edi - eax eax = eax + (255 & i) edi = 4294967295 & eax << 7 eax = 4294967295 & edi - eax return eax
def loop(subject: int, loop_size: int) -> int: value = 1 for i in range(loop_size): value *= subject value = value % 20201227 return value def find_loopsize(public_key: int) -> int: value = 1 subject = 7 for i in range(100_000_000): value *= subject value = value % 20201227 if value == public_key: return i + 1 raise ValueError("Did not find public key") def get_secret(public_keys): loop_sizes = [find_loopsize(pk) for pk in public_keys] enc_key_0 = loop(public_keys[0], loop_sizes[1]) enc_key_1 = loop(public_keys[1], loop_sizes[0]) return enc_key_0, enc_key_1 def main(): public_keys = [11349501, 5107328] secret = get_secret(public_keys) print(f"The secret is {secret}") if __name__ == "__main__": main()
def loop(subject: int, loop_size: int) -> int: value = 1 for i in range(loop_size): value *= subject value = value % 20201227 return value def find_loopsize(public_key: int) -> int: value = 1 subject = 7 for i in range(100000000): value *= subject value = value % 20201227 if value == public_key: return i + 1 raise value_error('Did not find public key') def get_secret(public_keys): loop_sizes = [find_loopsize(pk) for pk in public_keys] enc_key_0 = loop(public_keys[0], loop_sizes[1]) enc_key_1 = loop(public_keys[1], loop_sizes[0]) return (enc_key_0, enc_key_1) def main(): public_keys = [11349501, 5107328] secret = get_secret(public_keys) print(f'The secret is {secret}') if __name__ == '__main__': main()
def findDecision(obj): #obj[0]: Passanger, obj[1]: Weather, obj[2]: Temperature, obj[3]: Time, obj[4]: Coupon, obj[5]: Coupon_validity, obj[6]: Gender, obj[7]: Age, obj[8]: Maritalstatus, obj[9]: Children, obj[10]: Education, obj[11]: Occupation, obj[12]: Income, obj[13]: Bar, obj[14]: Coffeehouse, obj[15]: Restaurantlessthan20, obj[16]: Restaurant20to50, obj[17]: Direction_same, obj[18]: Distance # {"feature": "Restaurant20to50", "instances": 51, "metric_value": 0.9864, "depth": 1} if obj[16]>0.0: # {"feature": "Restaurantlessthan20", "instances": 45, "metric_value": 0.9996, "depth": 2} if obj[15]>1.0: # {"feature": "Age", "instances": 37, "metric_value": 0.974, "depth": 3} if obj[7]<=3: # {"feature": "Income", "instances": 25, "metric_value": 0.9988, "depth": 4} if obj[12]>1: # {"feature": "Time", "instances": 16, "metric_value": 0.896, "depth": 5} if obj[3]>0: # {"feature": "Children", "instances": 12, "metric_value": 0.9799, "depth": 6} if obj[9]>0: # {"feature": "Coupon", "instances": 9, "metric_value": 0.7642, "depth": 7} if obj[4]>0: return 'False' elif obj[4]<=0: # {"feature": "Temperature", "instances": 3, "metric_value": 0.9183, "depth": 8} if obj[2]<=55: return 'True' elif obj[2]>55: return 'False' else: return 'False' else: return 'True' elif obj[9]<=0: return 'True' else: return 'True' elif obj[3]<=0: return 'False' else: return 'False' elif obj[12]<=1: # {"feature": "Education", "instances": 9, "metric_value": 0.7642, "depth": 5} if obj[10]<=2: return 'True' elif obj[10]>2: # {"feature": "Passanger", "instances": 3, "metric_value": 0.9183, "depth": 6} if obj[0]<=1: return 'False' elif obj[0]>1: return 'True' else: return 'True' else: return 'False' else: return 'True' elif obj[7]>3: # {"feature": "Occupation", "instances": 12, "metric_value": 0.65, "depth": 4} if obj[11]<=7: return 'True' elif obj[11]>7: # {"feature": "Coupon", "instances": 5, "metric_value": 0.971, "depth": 5} if obj[4]>1: # {"feature": "Maritalstatus", "instances": 3, "metric_value": 0.9183, "depth": 6} if obj[8]>0: return 'False' elif obj[8]<=0: return 'True' else: return 'True' elif obj[4]<=1: return 'True' else: return 'True' else: return 'True' else: return 'True' elif obj[15]<=1.0: # {"feature": "Education", "instances": 8, "metric_value": 0.5436, "depth": 3} if obj[10]<=2: return 'False' elif obj[10]>2: return 'True' else: return 'True' else: return 'False' elif obj[16]<=0.0: return 'True' else: return 'True'
def find_decision(obj): if obj[16] > 0.0: if obj[15] > 1.0: if obj[7] <= 3: if obj[12] > 1: if obj[3] > 0: if obj[9] > 0: if obj[4] > 0: return 'False' elif obj[4] <= 0: if obj[2] <= 55: return 'True' elif obj[2] > 55: return 'False' else: return 'False' else: return 'True' elif obj[9] <= 0: return 'True' else: return 'True' elif obj[3] <= 0: return 'False' else: return 'False' elif obj[12] <= 1: if obj[10] <= 2: return 'True' elif obj[10] > 2: if obj[0] <= 1: return 'False' elif obj[0] > 1: return 'True' else: return 'True' else: return 'False' else: return 'True' elif obj[7] > 3: if obj[11] <= 7: return 'True' elif obj[11] > 7: if obj[4] > 1: if obj[8] > 0: return 'False' elif obj[8] <= 0: return 'True' else: return 'True' elif obj[4] <= 1: return 'True' else: return 'True' else: return 'True' else: return 'True' elif obj[15] <= 1.0: if obj[10] <= 2: return 'False' elif obj[10] > 2: return 'True' else: return 'True' else: return 'False' elif obj[16] <= 0.0: return 'True' else: return 'True'
class Solution: def minDistance(self, word1: str, word2: str) -> int: m,n=len(word1),len(word2) dp=[[0 for _ in range(0,n+1)] for _ in range(0,m+1)] for _ in range(0,m+1):dp[_][0]=_ for _ in range(0,n+1):dp[0][_]=_ for i in range(1,m+1): for j in range(1,n+1): if word1[i-1]==word2[j-1]: dp[i][j]=dp[i-1][j-1] else: dp[i][j]=min(dp[i-1][j-1],dp[i-1][j],dp[i][j-1])+1 return dp[m][n]
class Solution: def min_distance(self, word1: str, word2: str) -> int: (m, n) = (len(word1), len(word2)) dp = [[0 for _ in range(0, n + 1)] for _ in range(0, m + 1)] for _ in range(0, m + 1): dp[_][0] = _ for _ in range(0, n + 1): dp[0][_] = _ for i in range(1, m + 1): for j in range(1, n + 1): if word1[i - 1] == word2[j - 1]: dp[i][j] = dp[i - 1][j - 1] else: dp[i][j] = min(dp[i - 1][j - 1], dp[i - 1][j], dp[i][j - 1]) + 1 return dp[m][n]
a = 999 b = 999 palindromes = [] for n in range(1,1000): for m in range(1,1000): num = m*n if str(num) == str(num)[::-1]: palindromes.append(num) print(max(palindromes))
a = 999 b = 999 palindromes = [] for n in range(1, 1000): for m in range(1, 1000): num = m * n if str(num) == str(num)[::-1]: palindromes.append(num) print(max(palindromes))
def fileNaming(names): outnames = [] for name in names: if name in outnames: k = 1 while "{}({})".format(name, k) in outnames: k += 1 name = "{}({})".format(name, k) outnames.append(name) return outnames
def file_naming(names): outnames = [] for name in names: if name in outnames: k = 1 while '{}({})'.format(name, k) in outnames: k += 1 name = '{}({})'.format(name, k) outnames.append(name) return outnames
print("Hello World") print("Hello Again") print("I Like typing this") print("This is fun.") print("Yay! Printing.") print("I'd much rather you 'not'.") print('I"said" do not touch this.') print("how to fix github")
print('Hello World') print('Hello Again') print('I Like typing this') print('This is fun.') print('Yay! Printing.') print("I'd much rather you 'not'.") print('I"said" do not touch this.') print('how to fix github')
#!/usr/env/bin python # https://www.hackerrank.com/challenges/array-left-rotation # Python 2 # first_input = '5 4' # second_input = '1 2 3 4 5' first_input = raw_input() second_input = raw_input() n, d = map(lambda x: int(x), first_input.split(' ')) items = second_input.split(' ') for i in xrange(d): item = items.pop(0) items.append(item) print(" ".join(items))
first_input = raw_input() second_input = raw_input() (n, d) = map(lambda x: int(x), first_input.split(' ')) items = second_input.split(' ') for i in xrange(d): item = items.pop(0) items.append(item) print(' '.join(items))
# Reading lines from file and putting in a content string for line in open('rosalind_iev.txt', 'r').readlines(): contents = line.rsplit() AA_AA = float(contents[0]) AA_Aa = float(contents[1]) AA_aa = float(contents[2]) Aa_Aa = float(contents[3]) Aa_aa = float(contents[4]) aa_aa = float(contents[5]) def iev_prob(offsprings, AA_AA, AA_Aa, AA_aa, Aa_Aa, Aa_aa, aa_aa): allel_prob = [1, 1, 1, 0.75, 0.5, 0] AA_AA *= allel_prob[0] AA_Aa *= allel_prob[1] AA_aa *= allel_prob[2] Aa_Aa *= allel_prob[3] Aa_aa *= allel_prob[4] aa_aa *= allel_prob[5] return offsprings*(AA_AA+AA_Aa+AA_aa+Aa_Aa+Aa_aa+aa_aa) print(iev_prob(2, AA_AA, AA_Aa, AA_aa, Aa_Aa, Aa_aa, aa_aa))
for line in open('rosalind_iev.txt', 'r').readlines(): contents = line.rsplit() aa_aa = float(contents[0]) aa__aa = float(contents[1]) aa_aa = float(contents[2]) aa__aa = float(contents[3]) aa_aa = float(contents[4]) aa_aa = float(contents[5]) def iev_prob(offsprings, AA_AA, AA_Aa, AA_aa, Aa_Aa, Aa_aa, aa_aa): allel_prob = [1, 1, 1, 0.75, 0.5, 0] aa_aa *= allel_prob[0] aa__aa *= allel_prob[1] aa_aa *= allel_prob[2] aa__aa *= allel_prob[3] aa_aa *= allel_prob[4] aa_aa *= allel_prob[5] return offsprings * (AA_AA + AA_Aa + AA_aa + Aa_Aa + Aa_aa + aa_aa) print(iev_prob(2, AA_AA, AA_Aa, AA_aa, Aa_Aa, Aa_aa, aa_aa))
''' Represents the different HTTP status codes returned from the API to indicate errors. http://docs.veritranspay.co.id/sandbox/status_code.html ''' # 20x - successful submission to api SUCCESS = 200 # NOTE: this is returned when manually cancelled too! CHALLENGE = 201 PENDING = 201 # NOTE: returned when payment type is VirtualAccount, Cimb, Bri Epay, KlikBCA, Klikpay BCA, EXPIRED = 202 # NOTE: returned when payment type is GoPay # 30x MOVED_PERMANENTLY = 300 # 40x VALIDATION_ERROR = 400 ACCESS_DENIED = 401 # note: documented as 'Access Denied' but this is more descriptive # and that would also create two 'Access Denied' UNAVAILABLE_PAYMENT_TYPE = 402 DUPLICATE_ORDER_ID = 406 ACCOUNT_INACTIVE = 410 TOKEN_ERROR = 411 # 50x SERVER_ERROR = 500 FEATURE_UNAVAILABLE = 501 BANK_CONNECTION_PROBLEM = 502 SERVER_ERROR_OTHER = 503 FRAUD_DETECTION_UNAVAILABLE = 504
""" Represents the different HTTP status codes returned from the API to indicate errors. http://docs.veritranspay.co.id/sandbox/status_code.html """ success = 200 challenge = 201 pending = 201 expired = 202 moved_permanently = 300 validation_error = 400 access_denied = 401 unavailable_payment_type = 402 duplicate_order_id = 406 account_inactive = 410 token_error = 411 server_error = 500 feature_unavailable = 501 bank_connection_problem = 502 server_error_other = 503 fraud_detection_unavailable = 504
N = 4 board = [input() for _ in range(4)] for i in range(N): for j in range(N): cand = [] if j + 2 < N: cand.append([board[i][j+k] for k in range(3)]) if i + 2 < N: cand.append([board[i+k][j] for k in range(3)]) if i + 2 < N and j + 2 < N: cand.append([board[i+k][j+k] for k in range(3)]) if i + 2 < N and j - 2 >= 0: cand.append([board[i+k][j-k] for k in range(3)]) for row in cand: for k in range(3): if all(c == 'x' if i != k else c == '.' for i, c in enumerate(row)): print("YES") quit() print("NO")
n = 4 board = [input() for _ in range(4)] for i in range(N): for j in range(N): cand = [] if j + 2 < N: cand.append([board[i][j + k] for k in range(3)]) if i + 2 < N: cand.append([board[i + k][j] for k in range(3)]) if i + 2 < N and j + 2 < N: cand.append([board[i + k][j + k] for k in range(3)]) if i + 2 < N and j - 2 >= 0: cand.append([board[i + k][j - k] for k in range(3)]) for row in cand: for k in range(3): if all((c == 'x' if i != k else c == '.' for (i, c) in enumerate(row))): print('YES') quit() print('NO')
LOG_FILE = 'temperature.log' ZONE_ID = 'ZoneId' MAX_TEMP = 'MaximumTemperature' TRIGGERED = 'Triggered' INCORRECT_CREDENTIALS = 'Incorrect Credentials.' INCORRECT_ARGUEMENTS = 'Incorrect arguments provided - IP username password' TEMPERATURE_API = 'http://{}/axis-cgi/temperature_alarm/getzonestatus.cgi?' DATE_TIME_FORMAT = '%Y-%m-%d %H:%M:%S'
log_file = 'temperature.log' zone_id = 'ZoneId' max_temp = 'MaximumTemperature' triggered = 'Triggered' incorrect_credentials = 'Incorrect Credentials.' incorrect_arguements = 'Incorrect arguments provided - IP username password' temperature_api = 'http://{}/axis-cgi/temperature_alarm/getzonestatus.cgi?' date_time_format = '%Y-%m-%d %H:%M:%S'
def coroutine(seq): count = 0 while count < 200: count += yield seq.append(count) seq = [] c = coroutine(seq) next(c) ___assertEqual(seq, []) c.send(10) ___assertEqual(seq, [10]) c.send(10) ___assertEqual(seq, [10, 20])
def coroutine(seq): count = 0 while count < 200: count += (yield) seq.append(count) seq = [] c = coroutine(seq) next(c) ___assert_equal(seq, []) c.send(10) ___assert_equal(seq, [10]) c.send(10) ___assert_equal(seq, [10, 20])
# Make sure you follow the order of reaction # output should be H2O,CO2,CH4 def burner(c,h,o): water = co2 = methane = 0 if h >= 2 and o >= 1: if 2 * o >= h: water = h // 2 o -= water h -= 2*water else: water = o o -= water h -= 2 * water if o >= 2 and c >= 1: if 2 * c >= o: co2 = o // 2 c -= co2 o -= co2*2 else: co2 = c c -= co2 o -= co2 * 2 if c >= 1 and h >= 4: if c * 4 >= h: methane = h // 4 else: methane = c return water, co2, methane
def burner(c, h, o): water = co2 = methane = 0 if h >= 2 and o >= 1: if 2 * o >= h: water = h // 2 o -= water h -= 2 * water else: water = o o -= water h -= 2 * water if o >= 2 and c >= 1: if 2 * c >= o: co2 = o // 2 c -= co2 o -= co2 * 2 else: co2 = c c -= co2 o -= co2 * 2 if c >= 1 and h >= 4: if c * 4 >= h: methane = h // 4 else: methane = c return (water, co2, methane)
class Solution: def convertToBase7(self, num: int) -> str: if num == 0: return "0" num, neg = (num, False) if num > 0 else (-num, True) res = [] while num: num, r = divmod(num, 7) res.append(r) if neg: res.append("-") return "".join(map(str, reversed(res)))
class Solution: def convert_to_base7(self, num: int) -> str: if num == 0: return '0' (num, neg) = (num, False) if num > 0 else (-num, True) res = [] while num: (num, r) = divmod(num, 7) res.append(r) if neg: res.append('-') return ''.join(map(str, reversed(res)))
fin = open("Crime.csv") for line in fin: word = line.split() def crime(): print(" Crime Type | Crime ID | Crime Count") if (word == "ASSAULT" and word =="ROBBERY" and word == "THEFT OF VEHICLE" and word == "BREAK AND ENTER"): print (word) lst = [] for i in word: lst.append(i) crime
fin = open('Crime.csv') for line in fin: word = line.split() def crime(): print(' Crime Type | Crime ID | Crime Count') if word == 'ASSAULT' and word == 'ROBBERY' and (word == 'THEFT OF VEHICLE') and (word == 'BREAK AND ENTER'): print(word) lst = [] for i in word: lst.append(i) crime
def reduce_polymer(orig, to_remove=None, max_len=-1): polymer = [] for i in range(len(orig)): # We save a lot of processing time for Part 2 # if we cut off the string building once the # array is too long if max_len > 0 and len(polymer) >= max_len: return None # The test character for Part 2 is 'removed' # by just not adding it to the polymer array if to_remove and orig[i].lower() == to_remove: continue polymer.append(orig[i]) end_pair = polymer[len(polymer)-2:] while len(polymer) > 1 and end_pair[0] != end_pair[1] and end_pair[0].lower() == end_pair[1].lower(): # If the end pair meets the criteria of being a matched upper and lower case # then remove it from the end of the array. Repeat until the end pair is not removed polymer = polymer[:-2] end_pair = polymer[len(polymer)-2:] return polymer input = open('input/input05.txt').read() print('Solution 5.1:', len(reduce_polymer(input))) distinct_char = set(input.lower()) min_len = len(input) char_to_remove = '' for c in distinct_char: poly = reduce_polymer(input, c, min_len) if poly is not None and len(poly) < min_len: min_len = len(poly) char_to_remove = c print('Most troublesome character is', char_to_remove) print('Solution 5.2:', min_len)
def reduce_polymer(orig, to_remove=None, max_len=-1): polymer = [] for i in range(len(orig)): if max_len > 0 and len(polymer) >= max_len: return None if to_remove and orig[i].lower() == to_remove: continue polymer.append(orig[i]) end_pair = polymer[len(polymer) - 2:] while len(polymer) > 1 and end_pair[0] != end_pair[1] and (end_pair[0].lower() == end_pair[1].lower()): polymer = polymer[:-2] end_pair = polymer[len(polymer) - 2:] return polymer input = open('input/input05.txt').read() print('Solution 5.1:', len(reduce_polymer(input))) distinct_char = set(input.lower()) min_len = len(input) char_to_remove = '' for c in distinct_char: poly = reduce_polymer(input, c, min_len) if poly is not None and len(poly) < min_len: min_len = len(poly) char_to_remove = c print('Most troublesome character is', char_to_remove) print('Solution 5.2:', min_len)
na, nb = map(int, input().split()) a = list(map(int, input().split())) b = list(map(int, input().split())) a = set(a) b = set(b) t = len(a & b) t2 = len(a.union(b)) print(t/t2)
(na, nb) = map(int, input().split()) a = list(map(int, input().split())) b = list(map(int, input().split())) a = set(a) b = set(b) t = len(a & b) t2 = len(a.union(b)) print(t / t2)
# # PySNMP MIB module MPLS-LC-FR-STD-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/MPLS-LC-FR-STD-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:21:02 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ( ObjectIdentifier, Integer, OctetString, ) = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint") ( DLCI, ) = mibBuilder.importSymbols("FRAME-RELAY-DTE-MIB", "DLCI") ( mplsInterfaceIndex, ) = mibBuilder.importSymbols("MPLS-LSR-STD-MIB", "mplsInterfaceIndex") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( ObjectGroup, ModuleCompliance, NotificationGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") ( TimeTicks, ObjectIdentity, NotificationType, Gauge32, ModuleIdentity, Counter64, Unsigned32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Integer32, iso, Counter32, Bits, ) = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "ObjectIdentity", "NotificationType", "Gauge32", "ModuleIdentity", "Counter64", "Unsigned32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Integer32", "iso", "Counter32", "Bits") ( TextualConvention, StorageType, DisplayString, RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "StorageType", "DisplayString", "RowStatus") mplsLcFrStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 10)).setRevisions(("2006-01-12 00:00",)) if mibBuilder.loadTexts: mplsLcFrStdMIB.setLastUpdated('200601120000Z') if mibBuilder.loadTexts: mplsLcFrStdMIB.setOrganization('Multiprotocol Label Switching (MPLS) Working Group') if mibBuilder.loadTexts: mplsLcFrStdMIB.setContactInfo(' Thomas D. Nadeau\n Cisco Systems, Inc.\n Email: tnadeau@cisco.com\n\n Subrahmanya Hegde\n Email: subrah@cisco.com\n\n General comments should be sent to mpls@uu.net\n ') if mibBuilder.loadTexts: mplsLcFrStdMIB.setDescription('This MIB module contains managed object definitions for\n MPLS Label-Controlled Frame-Relay interfaces as defined\n in (RFC3034).\n\n Copyright (C) The Internet Society (2006). This\n version of this MIB module is part of RFC 4368; see\n the RFC itself for full legal notices.') mplsLcFrStdNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 0)) mplsLcFrStdObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 1)) mplsLcFrStdConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2)) mplsLcFrStdInterfaceConfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1), ) if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfTable.setDescription("This table specifies per-interface MPLS LC-FR\n capability and associated information. In particular,\n this table sparsely extends the MPLS-LSR-STD-MIB's\n mplsInterfaceConfTable.") mplsLcFrStdInterfaceConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1), ).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInterfaceIndex")) if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfEntry.setDescription('An entry in this table is created by an LSR for\n every interface capable of supporting MPLS LC-FR.\n Each entry in this table will exist only if a\n corresponding entry in ifTable and mplsInterfaceConfTable\n exists. If the associated entries in ifTable and\n mplsInterfaceConfTable are deleted, the corresponding\n entry in this table must also be deleted shortly\n thereafter.') mplsLcFrStdTrafficMinDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 1), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdTrafficMinDlci.setDescription('This is the minimum DLCI value over which this\n LSR is willing to accept traffic on this\n interface.') mplsLcFrStdTrafficMaxDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 2), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdTrafficMaxDlci.setDescription('This is the max DLCI value over which this\n LSR is willing to accept traffic on this\n interface.') mplsLcFrStdCtrlMinDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 3), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdCtrlMinDlci.setDescription('This is the min DLCI value over which this\n LSR is willing to accept control traffic\n on this interface.') mplsLcFrStdCtrlMaxDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 4), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdCtrlMaxDlci.setDescription('This is the max DLCI value over which this\n LSR is willing to accept control traffic\n on this interface.') mplsLcFrStdInterfaceConfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfRowStatus.setDescription('This object is used to create and\n delete entries in this table. When configuring\n entries in this table, the corresponding ifEntry and\n mplsInterfaceConfEntry MUST exist beforehand. If a manager\n attempts to create an entry for a corresponding\n mplsInterfaceConfEntry that does not support LC-FR,\n the agent MUST return an inconsistentValue error.\n If this table is implemented read-only, then the\n agent must set this object to active(1) when this\n row is made active. If this table is implemented\n writable, then an agent MUST not allow modification\n to its objects once this value is set to active(1),\n except to mplsLcFrStdInterfaceConfRowStatus and\n mplsLcFrStdInterfaceConfStorageType.') mplsLcFrStdInterfaceConfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfStorageType.setDescription("The storage type for this conceptual row.\n Conceptual rows having the value 'permanent(4)'\n need not allow write-access to any columnar\n objects in the row.") mplsLcFrStdCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1)) mplsLcFrStdGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 2)) mplsLcFrStdModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1, 1)).setObjects(*(("MPLS-LC-FR-STD-MIB", "mplsLcFrStdIfGroup"),)) if mibBuilder.loadTexts: mplsLcFrStdModuleFullCompliance.setDescription('Compliance statement for agents that provide\n full support for MPLS-LC-FR-STD-MIB. Such\n devices can be monitored and also be configured\n using this MIB module.') mplsLcFrStdModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1, 2)).setObjects(*(("MPLS-LC-FR-STD-MIB", "mplsLcFrStdIfGroup"),)) if mibBuilder.loadTexts: mplsLcFrStdModuleReadOnlyCompliance.setDescription('Compliance requirement for implementations that only\n provide read-only support for MPLS-LC-FR-STD-MIB.\n Such devices can be monitored but cannot be configured\n using this MIB module.\n ') mplsLcFrStdIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 2, 1)).setObjects(*(("MPLS-LC-FR-STD-MIB", "mplsLcFrStdTrafficMinDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdTrafficMaxDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdCtrlMinDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdCtrlMaxDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdInterfaceConfRowStatus"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdInterfaceConfStorageType"),)) if mibBuilder.loadTexts: mplsLcFrStdIfGroup.setDescription('Collection of objects needed for MPLS LC-FR\n interface configuration.') mibBuilder.exportSymbols("MPLS-LC-FR-STD-MIB", mplsLcFrStdInterfaceConfStorageType=mplsLcFrStdInterfaceConfStorageType, mplsLcFrStdConformance=mplsLcFrStdConformance, mplsLcFrStdModuleReadOnlyCompliance=mplsLcFrStdModuleReadOnlyCompliance, mplsLcFrStdMIB=mplsLcFrStdMIB, PYSNMP_MODULE_ID=mplsLcFrStdMIB, mplsLcFrStdTrafficMinDlci=mplsLcFrStdTrafficMinDlci, mplsLcFrStdCtrlMaxDlci=mplsLcFrStdCtrlMaxDlci, mplsLcFrStdIfGroup=mplsLcFrStdIfGroup, mplsLcFrStdGroups=mplsLcFrStdGroups, mplsLcFrStdInterfaceConfTable=mplsLcFrStdInterfaceConfTable, mplsLcFrStdTrafficMaxDlci=mplsLcFrStdTrafficMaxDlci, mplsLcFrStdCompliances=mplsLcFrStdCompliances, mplsLcFrStdModuleFullCompliance=mplsLcFrStdModuleFullCompliance, mplsLcFrStdCtrlMinDlci=mplsLcFrStdCtrlMinDlci, mplsLcFrStdNotifications=mplsLcFrStdNotifications, mplsLcFrStdObjects=mplsLcFrStdObjects, mplsLcFrStdInterfaceConfRowStatus=mplsLcFrStdInterfaceConfRowStatus, mplsLcFrStdInterfaceConfEntry=mplsLcFrStdInterfaceConfEntry)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, constraints_intersection, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint') (dlci,) = mibBuilder.importSymbols('FRAME-RELAY-DTE-MIB', 'DLCI') (mpls_interface_index,) = mibBuilder.importSymbols('MPLS-LSR-STD-MIB', 'mplsInterfaceIndex') (mpls_std_mib,) = mibBuilder.importSymbols('MPLS-TC-STD-MIB', 'mplsStdMIB') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (time_ticks, object_identity, notification_type, gauge32, module_identity, counter64, unsigned32, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, integer32, iso, counter32, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'ObjectIdentity', 'NotificationType', 'Gauge32', 'ModuleIdentity', 'Counter64', 'Unsigned32', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Integer32', 'iso', 'Counter32', 'Bits') (textual_convention, storage_type, display_string, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'StorageType', 'DisplayString', 'RowStatus') mpls_lc_fr_std_mib = module_identity((1, 3, 6, 1, 2, 1, 10, 166, 10)).setRevisions(('2006-01-12 00:00',)) if mibBuilder.loadTexts: mplsLcFrStdMIB.setLastUpdated('200601120000Z') if mibBuilder.loadTexts: mplsLcFrStdMIB.setOrganization('Multiprotocol Label Switching (MPLS) Working Group') if mibBuilder.loadTexts: mplsLcFrStdMIB.setContactInfo(' Thomas D. Nadeau\n Cisco Systems, Inc.\n Email: tnadeau@cisco.com\n\n Subrahmanya Hegde\n Email: subrah@cisco.com\n\n General comments should be sent to mpls@uu.net\n ') if mibBuilder.loadTexts: mplsLcFrStdMIB.setDescription('This MIB module contains managed object definitions for\n MPLS Label-Controlled Frame-Relay interfaces as defined\n in (RFC3034).\n\n Copyright (C) The Internet Society (2006). This\n version of this MIB module is part of RFC 4368; see\n the RFC itself for full legal notices.') mpls_lc_fr_std_notifications = mib_identifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 0)) mpls_lc_fr_std_objects = mib_identifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 1)) mpls_lc_fr_std_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2)) mpls_lc_fr_std_interface_conf_table = mib_table((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1)) if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfTable.setDescription("This table specifies per-interface MPLS LC-FR\n capability and associated information. In particular,\n this table sparsely extends the MPLS-LSR-STD-MIB's\n mplsInterfaceConfTable.") mpls_lc_fr_std_interface_conf_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1)).setIndexNames((0, 'MPLS-LSR-STD-MIB', 'mplsInterfaceIndex')) if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfEntry.setDescription('An entry in this table is created by an LSR for\n every interface capable of supporting MPLS LC-FR.\n Each entry in this table will exist only if a\n corresponding entry in ifTable and mplsInterfaceConfTable\n exists. If the associated entries in ifTable and\n mplsInterfaceConfTable are deleted, the corresponding\n entry in this table must also be deleted shortly\n thereafter.') mpls_lc_fr_std_traffic_min_dlci = mib_table_column((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 1), dlci()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsLcFrStdTrafficMinDlci.setDescription('This is the minimum DLCI value over which this\n LSR is willing to accept traffic on this\n interface.') mpls_lc_fr_std_traffic_max_dlci = mib_table_column((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 2), dlci()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsLcFrStdTrafficMaxDlci.setDescription('This is the max DLCI value over which this\n LSR is willing to accept traffic on this\n interface.') mpls_lc_fr_std_ctrl_min_dlci = mib_table_column((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 3), dlci()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsLcFrStdCtrlMinDlci.setDescription('This is the min DLCI value over which this\n LSR is willing to accept control traffic\n on this interface.') mpls_lc_fr_std_ctrl_max_dlci = mib_table_column((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 4), dlci()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsLcFrStdCtrlMaxDlci.setDescription('This is the max DLCI value over which this\n LSR is willing to accept control traffic\n on this interface.') mpls_lc_fr_std_interface_conf_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfRowStatus.setDescription('This object is used to create and\n delete entries in this table. When configuring\n entries in this table, the corresponding ifEntry and\n mplsInterfaceConfEntry MUST exist beforehand. If a manager\n attempts to create an entry for a corresponding\n mplsInterfaceConfEntry that does not support LC-FR,\n the agent MUST return an inconsistentValue error.\n If this table is implemented read-only, then the\n agent must set this object to active(1) when this\n row is made active. If this table is implemented\n writable, then an agent MUST not allow modification\n to its objects once this value is set to active(1),\n except to mplsLcFrStdInterfaceConfRowStatus and\n mplsLcFrStdInterfaceConfStorageType.') mpls_lc_fr_std_interface_conf_storage_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 6), storage_type().clone('nonVolatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfStorageType.setDescription("The storage type for this conceptual row.\n Conceptual rows having the value 'permanent(4)'\n need not allow write-access to any columnar\n objects in the row.") mpls_lc_fr_std_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1)) mpls_lc_fr_std_groups = mib_identifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 2)) mpls_lc_fr_std_module_full_compliance = module_compliance((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1, 1)).setObjects(*(('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdIfGroup'),)) if mibBuilder.loadTexts: mplsLcFrStdModuleFullCompliance.setDescription('Compliance statement for agents that provide\n full support for MPLS-LC-FR-STD-MIB. Such\n devices can be monitored and also be configured\n using this MIB module.') mpls_lc_fr_std_module_read_only_compliance = module_compliance((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1, 2)).setObjects(*(('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdIfGroup'),)) if mibBuilder.loadTexts: mplsLcFrStdModuleReadOnlyCompliance.setDescription('Compliance requirement for implementations that only\n provide read-only support for MPLS-LC-FR-STD-MIB.\n Such devices can be monitored but cannot be configured\n using this MIB module.\n ') mpls_lc_fr_std_if_group = object_group((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 2, 1)).setObjects(*(('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdTrafficMinDlci'), ('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdTrafficMaxDlci'), ('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdCtrlMinDlci'), ('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdCtrlMaxDlci'), ('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdInterfaceConfRowStatus'), ('MPLS-LC-FR-STD-MIB', 'mplsLcFrStdInterfaceConfStorageType'))) if mibBuilder.loadTexts: mplsLcFrStdIfGroup.setDescription('Collection of objects needed for MPLS LC-FR\n interface configuration.') mibBuilder.exportSymbols('MPLS-LC-FR-STD-MIB', mplsLcFrStdInterfaceConfStorageType=mplsLcFrStdInterfaceConfStorageType, mplsLcFrStdConformance=mplsLcFrStdConformance, mplsLcFrStdModuleReadOnlyCompliance=mplsLcFrStdModuleReadOnlyCompliance, mplsLcFrStdMIB=mplsLcFrStdMIB, PYSNMP_MODULE_ID=mplsLcFrStdMIB, mplsLcFrStdTrafficMinDlci=mplsLcFrStdTrafficMinDlci, mplsLcFrStdCtrlMaxDlci=mplsLcFrStdCtrlMaxDlci, mplsLcFrStdIfGroup=mplsLcFrStdIfGroup, mplsLcFrStdGroups=mplsLcFrStdGroups, mplsLcFrStdInterfaceConfTable=mplsLcFrStdInterfaceConfTable, mplsLcFrStdTrafficMaxDlci=mplsLcFrStdTrafficMaxDlci, mplsLcFrStdCompliances=mplsLcFrStdCompliances, mplsLcFrStdModuleFullCompliance=mplsLcFrStdModuleFullCompliance, mplsLcFrStdCtrlMinDlci=mplsLcFrStdCtrlMinDlci, mplsLcFrStdNotifications=mplsLcFrStdNotifications, mplsLcFrStdObjects=mplsLcFrStdObjects, mplsLcFrStdInterfaceConfRowStatus=mplsLcFrStdInterfaceConfRowStatus, mplsLcFrStdInterfaceConfEntry=mplsLcFrStdInterfaceConfEntry)
# O(n^2) overall def get_longest_increasing_subsequence(nums): l = len(nums) # reverse adjacency list O(n^2) reverse_adjacency = {i:set() for i in range(l)} for i,n in enumerate(nums): for j,e in enumerate(nums[i+1:], i +1): if n < e: reverse_adjacency[j].add(i) # dynamic programming O(V+E) p = ['-']*l max_len = [0]*l best_max = (0,0) # (len, index) for i in range(l): if len(reverse_adjacency[i]) != 0: maxz = float('-inf') for c in reverse_adjacency[i]: if max_len[c] > maxz: max_i = c max_ = 1 + max_len[max_i] else: max_i = '-' max_ = 1 p[i] = max_i max_len[i] = max_ if max_ > best_max[0]: best_max = (max_, i) path = [best_max[1]] while path[-1] != '-': path.append(p[path[-1]]) return path, best_max[0]
def get_longest_increasing_subsequence(nums): l = len(nums) reverse_adjacency = {i: set() for i in range(l)} for (i, n) in enumerate(nums): for (j, e) in enumerate(nums[i + 1:], i + 1): if n < e: reverse_adjacency[j].add(i) p = ['-'] * l max_len = [0] * l best_max = (0, 0) for i in range(l): if len(reverse_adjacency[i]) != 0: maxz = float('-inf') for c in reverse_adjacency[i]: if max_len[c] > maxz: max_i = c max_ = 1 + max_len[max_i] else: max_i = '-' max_ = 1 p[i] = max_i max_len[i] = max_ if max_ > best_max[0]: best_max = (max_, i) path = [best_max[1]] while path[-1] != '-': path.append(p[path[-1]]) return (path, best_max[0])
# This is how we print something print("Hello!") # Let's use python3 hello.py to run the program # We can set variables my_variable = 5 print(my_variable) # We can make a list my_list = [1, 2, 3] print(my_list)
print('Hello!') my_variable = 5 print(my_variable) my_list = [1, 2, 3] print(my_list)
class Solution: def sortedSquares(self, A: List[int]) -> List[int]: A = [i*i for i in A] return sorted(A)
class Solution: def sorted_squares(self, A: List[int]) -> List[int]: a = [i * i for i in A] return sorted(A)
class Variable(object): def __init__(self, _id , offset): self._id = _id self.offset = offset def __str__(self): s = str(self._id) if self.offset: s = s + "/%d" % self.offset return s class VariableLimited(object): def __init__(self, _id , offset, size): self._id = _id self.offset = offset self.size = size def __str__(self): s = str(self._id) if self.offset: s = s + "/%d" % self.offset return s + ":%d" % self.size def VariableLimitedListInit(): return list() def VariableLimitedListNext(a, l): l.append(a) return l
class Variable(object): def __init__(self, _id, offset): self._id = _id self.offset = offset def __str__(self): s = str(self._id) if self.offset: s = s + '/%d' % self.offset return s class Variablelimited(object): def __init__(self, _id, offset, size): self._id = _id self.offset = offset self.size = size def __str__(self): s = str(self._id) if self.offset: s = s + '/%d' % self.offset return s + ':%d' % self.size def variable_limited_list_init(): return list() def variable_limited_list_next(a, l): l.append(a) return l
# -*- coding: utf-8 -*- # texttaglib's package version information __author__ = "Le Tuan Anh" __email__ = "tuananh.ke@gmail.com" __copyright__ = "Copyright (c) 2018, texttaglib, Le Tuan Anh" __credits__ = [] __license__ = "MIT License" __description__ = "Python library for managing and annotating text corpuses in different formats (ELAN, TIG, TTL, et cetera)" __url__ = "https://github.com/letuananh/texttaglib" __maintainer__ = "Le Tuan Anh" __version_major__ = "0.1.1" __version__ = "{}".format(__version_major__) __version_long__ = "{}".format(__version_major__) __status__ = "5 - Production/Stable"
__author__ = 'Le Tuan Anh' __email__ = 'tuananh.ke@gmail.com' __copyright__ = 'Copyright (c) 2018, texttaglib, Le Tuan Anh' __credits__ = [] __license__ = 'MIT License' __description__ = 'Python library for managing and annotating text corpuses in different formats (ELAN, TIG, TTL, et cetera)' __url__ = 'https://github.com/letuananh/texttaglib' __maintainer__ = 'Le Tuan Anh' __version_major__ = '0.1.1' __version__ = '{}'.format(__version_major__) __version_long__ = '{}'.format(__version_major__) __status__ = '5 - Production/Stable'
# General things: RIGHT = 1 LEFT = 2 TOP = 3 BOTTOM = 4 # Names of layers class Layers: game_actors = 4 main = 3 sticky_background = 2 background = 1 background_color = 0 # Message names: (MSGNs) class MSGN: COLLISION_SIDES = 0 VELOCITY = 1 STATE = 100 LOOKDIRECTION = 101 STATESTACK = 102 # Warios states: class WarioStates: UPRIGHT_STAY = 0 UPRIGHT_MOVE = 1 CROUCH_STAY = 2 CROUCH_MOVE = 3 JUMP_STAY = 4 JUMP_MOVE = 5 FALL_STAY = 6 FALL_MOVE = 7 GOTO_SLEEP = 8 WAKE_UP = 9 SLEEP = 10 TURN = 11 SFIST_ONGROUND = 12 SFIST_JUMP = 13 SFIST_FALL = 14 BUMP_BACK = 15 # Spearhead-states: class ShStates: STAY = 0 MOVE = 1 ANGRY = 2 BLINK = 3 SLEEP = 4 TURN = 5 UPSIDE_DOWN = 6
right = 1 left = 2 top = 3 bottom = 4 class Layers: game_actors = 4 main = 3 sticky_background = 2 background = 1 background_color = 0 class Msgn: collision_sides = 0 velocity = 1 state = 100 lookdirection = 101 statestack = 102 class Wariostates: upright_stay = 0 upright_move = 1 crouch_stay = 2 crouch_move = 3 jump_stay = 4 jump_move = 5 fall_stay = 6 fall_move = 7 goto_sleep = 8 wake_up = 9 sleep = 10 turn = 11 sfist_onground = 12 sfist_jump = 13 sfist_fall = 14 bump_back = 15 class Shstates: stay = 0 move = 1 angry = 2 blink = 3 sleep = 4 turn = 5 upside_down = 6
# -*- coding: utf-8 -*- account = { 'email': 'YOUR EMAIL', 'password': 'YOUR PASSWORD' } op = "Login" form_id = "packt_user_login_form" frequency = 8
account = {'email': 'YOUR EMAIL', 'password': 'YOUR PASSWORD'} op = 'Login' form_id = 'packt_user_login_form' frequency = 8
tabby_dog="\tI'm tabbed in"; persian_dog="I'm split\non s line." backslash_dog="i'm \\ a \\ dog" fat_dog="I'll do a list:\t* dog food \t* Fishies \t* Catnip\n\t* Grass" print(tabby_dog) print(persian_dog) print(backslash_dog) print(fat_dog)
tabby_dog = "\tI'm tabbed in" persian_dog = "I'm split\non s line." backslash_dog = "i'm \\ a \\ dog" fat_dog = "I'll do a list:\t* dog food \t* Fishies \t* Catnip\n\t* Grass" print(tabby_dog) print(persian_dog) print(backslash_dog) print(fat_dog)
# Change these to your instagram login credentials. username = "Username" password = "Password"
username = 'Username' password = 'Password'
#!chuck_extends project/urls.py #!chuck_appends URLS urlpatterns += patterns('', url(r'^', include('filer.server.urls')), url(r'^', include('cms.urls')), ) #!end
urlpatterns += patterns('', url('^', include('filer.server.urls')), url('^', include('cms.urls')))
# Easy horntail gem sm.spawnMob(8810202, 95, 260, False) sm.spawnMob(8810203, 95, 260, False) sm.spawnMob(8810204, 95, 260, False) sm.spawnMob(8810205, 95, 260, False) sm.spawnMob(8810206, 95, 260, False) sm.spawnMob(8810207, 95, 260, False) sm.spawnMob(8810208, 95, 260, False) sm.spawnMob(8810209, 95, 260, False) sm.spawnMob(8810214, 95, 260, False) sm.removeReactor()
sm.spawnMob(8810202, 95, 260, False) sm.spawnMob(8810203, 95, 260, False) sm.spawnMob(8810204, 95, 260, False) sm.spawnMob(8810205, 95, 260, False) sm.spawnMob(8810206, 95, 260, False) sm.spawnMob(8810207, 95, 260, False) sm.spawnMob(8810208, 95, 260, False) sm.spawnMob(8810209, 95, 260, False) sm.spawnMob(8810214, 95, 260, False) sm.removeReactor()
#https://codeforces.com/contest/1343/problem/C for _ in range(int(input())): n = int(input()) l = input().split() new = [] sn=[] nn=[] ans=0 for i in l: if i[0]!='-': sn.append(int(i)) if(nn!=[]): new.append(nn) nn=[] else: nn.append(int(i)) if(sn!=[]): new.append(sn) sn=[] new.append(nn) new.append(sn) new = [ele for ele in new if ele != []] for i in new: ans+=max(i) print(ans) # new = [] # ele=0 # t,p=0,0 # if l[0]>0: # t=1 # for i in range(n): # if l[i]>0 : # p=1 # elif l[i]<0: # p=0 # if(t!=p): # new.append(ele) # ele=0 # if(p==0 and (l[i]<0 or ele>l[i])): # ele=l[i] # t=p # elif(p==1 and (l[i]>0 or ele>l[i])): # ele=l[i] # t=p # print(new)
for _ in range(int(input())): n = int(input()) l = input().split() new = [] sn = [] nn = [] ans = 0 for i in l: if i[0] != '-': sn.append(int(i)) if nn != []: new.append(nn) nn = [] else: nn.append(int(i)) if sn != []: new.append(sn) sn = [] new.append(nn) new.append(sn) new = [ele for ele in new if ele != []] for i in new: ans += max(i) print(ans)
def in_bounds(matrix, i, j): rows = len(matrix) cols = len(matrix[0]) if i < 0 or i >= rows or j < 0 or j >= cols: return False return True def read_matrix(): matrix = [] while row := input(): matrix.append([int(num) for num in list(row)]) return matrix def pretty_print(matrix): for i in range(len(matrix)): for j in range(len(matrix[i])): print(matrix[i][j], end=' ') print()
def in_bounds(matrix, i, j): rows = len(matrix) cols = len(matrix[0]) if i < 0 or i >= rows or j < 0 or (j >= cols): return False return True def read_matrix(): matrix = [] while (row := input()): matrix.append([int(num) for num in list(row)]) return matrix def pretty_print(matrix): for i in range(len(matrix)): for j in range(len(matrix[i])): print(matrix[i][j], end=' ') print()
#in=5 #in=10 #in=11 #in=20 #in=22 #in=30 #in=33 #in=40 #in=44 #in=50 #in=55 #golden=6050 n = input_int() out = 0 while (n > 0): x = input_int() y = input_int() out = out + x * y n = n - 1 print(out)
n = input_int() out = 0 while n > 0: x = input_int() y = input_int() out = out + x * y n = n - 1 print(out)
for _ in range(int(input())): n=int(input()) if n%2==0: check=0 while n%2==0: n=n//2 check+=1 if n<=1: if check%2: print("Bob") else: print("Alice") else: print("Alice") else: print("Bob")
for _ in range(int(input())): n = int(input()) if n % 2 == 0: check = 0 while n % 2 == 0: n = n // 2 check += 1 if n <= 1: if check % 2: print('Bob') else: print('Alice') else: print('Alice') else: print('Bob')
class Solution: def isOneEditDistance(self, s, t): l1, l2, cnt, i, j = len(s), len(t), 0, 0, 0 while i < l1 and j < l2: if s[i] != t[j]: cnt += 1 if l1 < l2: i -= 1 elif l1 > l2: j -= 1 i += 1 j += 1 l = abs(l1 - l2) return (cnt == 1 and l <= 1) or (cnt == 0 and l == 1)
class Solution: def is_one_edit_distance(self, s, t): (l1, l2, cnt, i, j) = (len(s), len(t), 0, 0, 0) while i < l1 and j < l2: if s[i] != t[j]: cnt += 1 if l1 < l2: i -= 1 elif l1 > l2: j -= 1 i += 1 j += 1 l = abs(l1 - l2) return cnt == 1 and l <= 1 or (cnt == 0 and l == 1)
# parsetab.py # This file is automatically generated. Do not edit. # pylint: disable=W,C,R _tabversion = "3.10" _lr_method = "LALR" _lr_signature = "A AFTER_TOMORROW AM AT BEFORE_YESTERDAY COLON DATE_END DAY MINUS MONTH NUMBER OF ON PAST_PHRASE PHRASE PLUS PM THE TIME TODAY TOMORROW WORD_NUMBER YEAR YESTERDAY\n date_object :\n date_object : date_list\n date_list : date_list date\n date_list : date\n date_list : date_past\n date_list : in\n date_list : adder\n date_list : remover\n date_list : date_yesterday\n date_list : date_2moro\n date_list : date_day\n date_list : date_end\n date_list : date_or\n date_list : date_before_yesterday\n date_list : date_after_tomorrow\n date_list : date_twice\n date_list : timestamp\n date_list : timestamp_adpt\n \n timestamp : NUMBER COLON NUMBER\n timestamp : NUMBER COLON NUMBER COLON NUMBER\n \n timestamp_adpt : timestamp AM\n timestamp_adpt : timestamp PM\n timestamp_adpt : AT timestamp\n timestamp_adpt : AT timestamp PM\n timestamp_adpt : AT timestamp AM\n \n date : NUMBER\n date : WORD_NUMBER\n date : AT NUMBER\n date : AT WORD_NUMBER\n date : TIME\n date : NUMBER TIME\n date : NUMBER AM\n date : NUMBER PM\n date : AT NUMBER AM\n date : AT NUMBER PM\n date : WORD_NUMBER TIME\n date : PHRASE TIME\n date : TIME PHRASE\n date : NUMBER TIME PHRASE\n date : WORD_NUMBER TIME PHRASE\n date : PHRASE TIME PHRASE\n \n date_twice : date date\n date_twice : date_day date\n \n in : PHRASE NUMBER TIME\n in : PHRASE WORD_NUMBER TIME\n \n adder : PLUS NUMBER TIME\n adder : PLUS WORD_NUMBER TIME\n \n remover : MINUS NUMBER TIME\n remover : MINUS WORD_NUMBER TIME\n \n date_past : NUMBER TIME PAST_PHRASE\n date_past : WORD_NUMBER TIME PAST_PHRASE\n \n date_yesterday : YESTERDAY\n date_yesterday : YESTERDAY AT NUMBER\n date_yesterday : YESTERDAY AT WORD_NUMBER\n \n date_2moro : TOMORROW\n date_2moro : TOMORROW AT NUMBER\n date_2moro : TOMORROW AT WORD_NUMBER\n \n date_day : DAY\n date_day : ON DAY\n date_day : PHRASE DAY\n date_day : PAST_PHRASE DAY\n \n date_or : PAST_PHRASE TIME\n \n date_before_yesterday : BEFORE_YESTERDAY\n date_before_yesterday : THE BEFORE_YESTERDAY\n date_before_yesterday : THE TIME BEFORE_YESTERDAY\n \n date_after_tomorrow : AFTER_TOMORROW\n date_after_tomorrow : THE TIME AFTER_TOMORROW\n \n date_end : NUMBER DATE_END\n date_end : THE NUMBER DATE_END\n date_end : MONTH NUMBER DATE_END\n date_end : NUMBER DATE_END OF MONTH\n date_end : ON THE NUMBER DATE_END\n date_end : MONTH THE NUMBER DATE_END\n date_end : THE NUMBER DATE_END OF MONTH\n " _lr_action_items = { "$end": ( [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 26, 27, 28, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108, ], [ -1, 0, -2, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -26, -27, -30, -52, -55, -58, -63, -66, -3, -26, -27, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, -60, -61, -62, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74, ], ), "NUMBER": ( [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 56, 57, 58, 63, 64, 65, 66, 68, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 103, 104, 106, 107, 108, ], [ 18, 35, 35, -5, -6, -7, -8, -9, -10, 35, -12, -13, -14, -15, -16, -17, -18, -26, -27, 49, -30, 54, 59, 61, -52, -55, -58, 67, 70, -63, -66, -3, -26, -27, 74, -42, -43, -21, -22, -31, -32, -33, -68, 78, -36, -28, -29, -23, -38, -37, -60, -61, -62, 92, 94, -59, 96, -64, 101, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, 107, -72, -73, -20, -74, ], ), "WORD_NUMBER": ( [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 63, 64, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108, ], [ 19, 36, 36, -5, -6, -7, -8, -9, -10, 36, -12, -13, -14, -15, -16, -17, -18, -26, -27, 50, -30, 55, 60, 62, -52, -55, -58, -63, -66, -3, -26, -27, 50, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, -60, -61, -62, 93, 95, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74, ], ), "AT": ( [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 26, 27, 28, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108, ], [ 20, 37, 37, -5, -6, -7, -8, -9, -10, 37, -12, -13, -14, -15, -16, -17, -18, -26, -27, -30, 63, 64, -58, -63, -66, -3, -26, -27, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, -60, -61, -62, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74, ], ), "TIME": ( [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108, ], [ 21, 21, 21, -5, -6, -7, -8, -9, -10, 21, -12, -13, -14, -15, -16, -17, -18, 43, 48, -30, 53, 58, -52, -55, -58, 69, -63, -66, -3, 72, 73, 53, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, 86, 87, -60, -61, -62, 88, 89, 90, 91, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74, ], ), "PHRASE": ( [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 26, 27, 28, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108, ], [ 22, 38, 38, -5, -6, -7, -8, -9, -10, 38, -12, -13, -14, -15, -16, -17, -18, -26, -27, 52, -52, -55, -58, -63, -66, -3, -26, -27, -42, -43, -21, -22, 75, -32, -33, -68, 79, -28, -29, -23, -38, 85, -60, -61, -62, -59, -64, 75, 79, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74, ], ), "PLUS": ( [ 0, ], [ 24, ], ), "MINUS": ( [ 0, ], [ 25, ], ), "YESTERDAY": ( [ 0, ], [ 26, ], ), "TOMORROW": ( [ 0, ], [ 27, ], ), "DAY": ( [ 0, 22, 23, 29, ], [ 28, 56, 57, 65, ], ), "ON": ( [ 0, ], [ 29, ], ), "PAST_PHRASE": ( [ 0, 43, 48, ], [ 23, 76, 80, ], ), "THE": ( [ 0, 29, 31, ], [ 30, 66, 71, ], ), "MONTH": ( [ 0, 77, 105, ], [ 31, 102, 108, ], ), "BEFORE_YESTERDAY": ( [ 0, 30, 69, ], [ 32, 68, 98, ], ), "AFTER_TOMORROW": ( [ 0, 69, ], [ 33, 99, ], ), "AM": ( [ 16, 18, 35, 49, 51, 74, 78, 107, ], [ 41, 44, 44, 81, 84, 81, -19, -20, ], ), "PM": ( [ 16, 18, 35, 49, 51, 74, 78, 107, ], [ 42, 45, 45, 82, 83, 82, -19, -20, ], ), "DATE_END": ( [ 18, 67, 70, 96, 101, ], [ 46, 97, 100, 104, 106, ], ), "COLON": ( [ 18, 49, 78, ], [ 47, 47, 103, ], ), "OF": ( [ 46, 97, ], [ 77, 105, ], ), } _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 = { "date_object": ( [ 0, ], [ 1, ], ), "date_list": ( [ 0, ], [ 2, ], ), "date": ( [ 0, 2, 3, 10, ], [ 3, 34, 39, 40, ], ), "date_past": ( [ 0, ], [ 4, ], ), "in": ( [ 0, ], [ 5, ], ), "adder": ( [ 0, ], [ 6, ], ), "remover": ( [ 0, ], [ 7, ], ), "date_yesterday": ( [ 0, ], [ 8, ], ), "date_2moro": ( [ 0, ], [ 9, ], ), "date_day": ( [ 0, ], [ 10, ], ), "date_end": ( [ 0, ], [ 11, ], ), "date_or": ( [ 0, ], [ 12, ], ), "date_before_yesterday": ( [ 0, ], [ 13, ], ), "date_after_tomorrow": ( [ 0, ], [ 14, ], ), "date_twice": ( [ 0, ], [ 15, ], ), "timestamp": ( [ 0, 20, ], [ 16, 51, ], ), "timestamp_adpt": ( [ 0, ], [ 17, ], ), } _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' -> date_object", "S'", 1, None, None, None), ("date_object -> <empty>", "date_object", 0, "p_date_object", "__init__.py", 422), ("date_object -> date_list", "date_object", 1, "p_date_object", "__init__.py", 423), ("date_list -> date_list date", "date_list", 2, "p_date_list", "__init__.py", 433), ("date_list -> date", "date_list", 1, "p_date", "__init__.py", 439), ("date_list -> date_past", "date_list", 1, "p_date", "__init__.py", 440), ("date_list -> in", "date_list", 1, "p_date", "__init__.py", 441), ("date_list -> adder", "date_list", 1, "p_date", "__init__.py", 442), ("date_list -> remover", "date_list", 1, "p_date", "__init__.py", 443), ("date_list -> date_yesterday", "date_list", 1, "p_date", "__init__.py", 444), ("date_list -> date_2moro", "date_list", 1, "p_date", "__init__.py", 445), ("date_list -> date_day", "date_list", 1, "p_date", "__init__.py", 446), ("date_list -> date_end", "date_list", 1, "p_date", "__init__.py", 447), ("date_list -> date_or", "date_list", 1, "p_date", "__init__.py", 448), ( "date_list -> date_before_yesterday", "date_list", 1, "p_date", "__init__.py", 449, ), ("date_list -> date_after_tomorrow", "date_list", 1, "p_date", "__init__.py", 450), ("date_list -> date_twice", "date_list", 1, "p_date", "__init__.py", 451), ("date_list -> timestamp", "date_list", 1, "p_date", "__init__.py", 452), ("date_list -> timestamp_adpt", "date_list", 1, "p_date", "__init__.py", 453), ( "timestamp -> NUMBER COLON NUMBER", "timestamp", 3, "p_timestamp", "__init__.py", 473, ), ( "timestamp -> NUMBER COLON NUMBER COLON NUMBER", "timestamp", 5, "p_timestamp", "__init__.py", 474, ), ( "timestamp_adpt -> timestamp AM", "timestamp_adpt", 2, "p_timestamp_adapter", "__init__.py", 497, ), ( "timestamp_adpt -> timestamp PM", "timestamp_adpt", 2, "p_timestamp_adapter", "__init__.py", 498, ), ( "timestamp_adpt -> AT timestamp", "timestamp_adpt", 2, "p_timestamp_adapter", "__init__.py", 499, ), ( "timestamp_adpt -> AT timestamp PM", "timestamp_adpt", 3, "p_timestamp_adapter", "__init__.py", 500, ), ( "timestamp_adpt -> AT timestamp AM", "timestamp_adpt", 3, "p_timestamp_adapter", "__init__.py", 501, ), ("date -> NUMBER", "date", 1, "p_single_date", "__init__.py", 516), ("date -> WORD_NUMBER", "date", 1, "p_single_date", "__init__.py", 517), ("date -> AT NUMBER", "date", 2, "p_single_date", "__init__.py", 518), ("date -> AT WORD_NUMBER", "date", 2, "p_single_date", "__init__.py", 519), ("date -> TIME", "date", 1, "p_single_date", "__init__.py", 520), ("date -> NUMBER TIME", "date", 2, "p_single_date", "__init__.py", 521), ("date -> NUMBER AM", "date", 2, "p_single_date", "__init__.py", 522), ("date -> NUMBER PM", "date", 2, "p_single_date", "__init__.py", 523), ("date -> AT NUMBER AM", "date", 3, "p_single_date", "__init__.py", 524), ("date -> AT NUMBER PM", "date", 3, "p_single_date", "__init__.py", 525), ("date -> WORD_NUMBER TIME", "date", 2, "p_single_date", "__init__.py", 526), ("date -> PHRASE TIME", "date", 2, "p_single_date", "__init__.py", 527), ("date -> TIME PHRASE", "date", 2, "p_single_date", "__init__.py", 528), ("date -> NUMBER TIME PHRASE", "date", 3, "p_single_date", "__init__.py", 529), ("date -> WORD_NUMBER TIME PHRASE", "date", 3, "p_single_date", "__init__.py", 530), ("date -> PHRASE TIME PHRASE", "date", 3, "p_single_date", "__init__.py", 531), ("date_twice -> date date", "date_twice", 2, "p_twice", "__init__.py", 610), ("date_twice -> date_day date", "date_twice", 2, "p_twice", "__init__.py", 611), ("in -> PHRASE NUMBER TIME", "in", 3, "p_single_date_in", "__init__.py", 641), ("in -> PHRASE WORD_NUMBER TIME", "in", 3, "p_single_date_in", "__init__.py", 642), ("adder -> PLUS NUMBER TIME", "adder", 3, "p_single_date_plus", "__init__.py", 655), ( "adder -> PLUS WORD_NUMBER TIME", "adder", 3, "p_single_date_plus", "__init__.py", 656, ), ( "remover -> MINUS NUMBER TIME", "remover", 3, "p_single_date_minus", "__init__.py", 669, ), ( "remover -> MINUS WORD_NUMBER TIME", "remover", 3, "p_single_date_minus", "__init__.py", 670, ), ( "date_past -> NUMBER TIME PAST_PHRASE", "date_past", 3, "p_single_date_past", "__init__.py", 684, ), ( "date_past -> WORD_NUMBER TIME PAST_PHRASE", "date_past", 3, "p_single_date_past", "__init__.py", 685, ), ( "date_yesterday -> YESTERDAY", "date_yesterday", 1, "p_single_date_yesterday", "__init__.py", 693, ), ( "date_yesterday -> YESTERDAY AT NUMBER", "date_yesterday", 3, "p_single_date_yesterday", "__init__.py", 694, ), ( "date_yesterday -> YESTERDAY AT WORD_NUMBER", "date_yesterday", 3, "p_single_date_yesterday", "__init__.py", 695, ), ( "date_2moro -> TOMORROW", "date_2moro", 1, "p_single_date_2moro", "__init__.py", 712, ), ( "date_2moro -> TOMORROW AT NUMBER", "date_2moro", 3, "p_single_date_2moro", "__init__.py", 713, ), ( "date_2moro -> TOMORROW AT WORD_NUMBER", "date_2moro", 3, "p_single_date_2moro", "__init__.py", 714, ), ("date_day -> DAY", "date_day", 1, "p_single_date_day", "__init__.py", 731), ("date_day -> ON DAY", "date_day", 2, "p_single_date_day", "__init__.py", 732), ("date_day -> PHRASE DAY", "date_day", 2, "p_single_date_day", "__init__.py", 733), ( "date_day -> PAST_PHRASE DAY", "date_day", 2, "p_single_date_day", "__init__.py", 734, ), ( "date_or -> PAST_PHRASE TIME", "date_or", 2, "p_this_or_next_period", "__init__.py", 765, ), ( "date_before_yesterday -> BEFORE_YESTERDAY", "date_before_yesterday", 1, "p_before_yesterday", "__init__.py", 786, ), ( "date_before_yesterday -> THE BEFORE_YESTERDAY", "date_before_yesterday", 2, "p_before_yesterday", "__init__.py", 787, ), ( "date_before_yesterday -> THE TIME BEFORE_YESTERDAY", "date_before_yesterday", 3, "p_before_yesterday", "__init__.py", 788, ), ( "date_after_tomorrow -> AFTER_TOMORROW", "date_after_tomorrow", 1, "p_after_tomorrow", "__init__.py", 798, ), ( "date_after_tomorrow -> THE TIME AFTER_TOMORROW", "date_after_tomorrow", 3, "p_after_tomorrow", "__init__.py", 799, ), ( "date_end -> NUMBER DATE_END", "date_end", 2, "p_single_date_end", "__init__.py", 809, ), ( "date_end -> THE NUMBER DATE_END", "date_end", 3, "p_single_date_end", "__init__.py", 810, ), ( "date_end -> MONTH NUMBER DATE_END", "date_end", 3, "p_single_date_end", "__init__.py", 811, ), ( "date_end -> NUMBER DATE_END OF MONTH", "date_end", 4, "p_single_date_end", "__init__.py", 812, ), ( "date_end -> ON THE NUMBER DATE_END", "date_end", 4, "p_single_date_end", "__init__.py", 813, ), ( "date_end -> MONTH THE NUMBER DATE_END", "date_end", 4, "p_single_date_end", "__init__.py", 814, ), ( "date_end -> THE NUMBER DATE_END OF MONTH", "date_end", 5, "p_single_date_end", "__init__.py", 815, ), ]
_tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'A AFTER_TOMORROW AM AT BEFORE_YESTERDAY COLON DATE_END DAY MINUS MONTH NUMBER OF ON PAST_PHRASE PHRASE PLUS PM THE TIME TODAY TOMORROW WORD_NUMBER YEAR YESTERDAY\n date_object :\n date_object : date_list\n date_list : date_list date\n date_list : date\n date_list : date_past\n date_list : in\n date_list : adder\n date_list : remover\n date_list : date_yesterday\n date_list : date_2moro\n date_list : date_day\n date_list : date_end\n date_list : date_or\n date_list : date_before_yesterday\n date_list : date_after_tomorrow\n date_list : date_twice\n date_list : timestamp\n date_list : timestamp_adpt\n \n timestamp : NUMBER COLON NUMBER\n timestamp : NUMBER COLON NUMBER COLON NUMBER\n \n timestamp_adpt : timestamp AM\n timestamp_adpt : timestamp PM\n timestamp_adpt : AT timestamp\n timestamp_adpt : AT timestamp PM\n timestamp_adpt : AT timestamp AM\n \n date : NUMBER\n date : WORD_NUMBER\n date : AT NUMBER\n date : AT WORD_NUMBER\n date : TIME\n date : NUMBER TIME\n date : NUMBER AM\n date : NUMBER PM\n date : AT NUMBER AM\n date : AT NUMBER PM\n date : WORD_NUMBER TIME\n date : PHRASE TIME\n date : TIME PHRASE\n date : NUMBER TIME PHRASE\n date : WORD_NUMBER TIME PHRASE\n date : PHRASE TIME PHRASE\n \n date_twice : date date\n date_twice : date_day date\n \n in : PHRASE NUMBER TIME\n in : PHRASE WORD_NUMBER TIME\n \n adder : PLUS NUMBER TIME\n adder : PLUS WORD_NUMBER TIME\n \n remover : MINUS NUMBER TIME\n remover : MINUS WORD_NUMBER TIME\n \n date_past : NUMBER TIME PAST_PHRASE\n date_past : WORD_NUMBER TIME PAST_PHRASE\n \n date_yesterday : YESTERDAY\n date_yesterday : YESTERDAY AT NUMBER\n date_yesterday : YESTERDAY AT WORD_NUMBER\n \n date_2moro : TOMORROW\n date_2moro : TOMORROW AT NUMBER\n date_2moro : TOMORROW AT WORD_NUMBER\n \n date_day : DAY\n date_day : ON DAY\n date_day : PHRASE DAY\n date_day : PAST_PHRASE DAY\n \n date_or : PAST_PHRASE TIME\n \n date_before_yesterday : BEFORE_YESTERDAY\n date_before_yesterday : THE BEFORE_YESTERDAY\n date_before_yesterday : THE TIME BEFORE_YESTERDAY\n \n date_after_tomorrow : AFTER_TOMORROW\n date_after_tomorrow : THE TIME AFTER_TOMORROW\n \n date_end : NUMBER DATE_END\n date_end : THE NUMBER DATE_END\n date_end : MONTH NUMBER DATE_END\n date_end : NUMBER DATE_END OF MONTH\n date_end : ON THE NUMBER DATE_END\n date_end : MONTH THE NUMBER DATE_END\n date_end : THE NUMBER DATE_END OF MONTH\n ' _lr_action_items = {'$end': ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 26, 27, 28, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108], [-1, 0, -2, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -26, -27, -30, -52, -55, -58, -63, -66, -3, -26, -27, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, -60, -61, -62, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74]), 'NUMBER': ([0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 56, 57, 58, 63, 64, 65, 66, 68, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 103, 104, 106, 107, 108], [18, 35, 35, -5, -6, -7, -8, -9, -10, 35, -12, -13, -14, -15, -16, -17, -18, -26, -27, 49, -30, 54, 59, 61, -52, -55, -58, 67, 70, -63, -66, -3, -26, -27, 74, -42, -43, -21, -22, -31, -32, -33, -68, 78, -36, -28, -29, -23, -38, -37, -60, -61, -62, 92, 94, -59, 96, -64, 101, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, 107, -72, -73, -20, -74]), 'WORD_NUMBER': ([0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 63, 64, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108], [19, 36, 36, -5, -6, -7, -8, -9, -10, 36, -12, -13, -14, -15, -16, -17, -18, -26, -27, 50, -30, 55, 60, 62, -52, -55, -58, -63, -66, -3, -26, -27, 50, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, -60, -61, -62, 93, 95, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74]), 'AT': ([0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 26, 27, 28, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108], [20, 37, 37, -5, -6, -7, -8, -9, -10, 37, -12, -13, -14, -15, -16, -17, -18, -26, -27, -30, 63, 64, -58, -63, -66, -3, -26, -27, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, -60, -61, -62, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74]), 'TIME': ([0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108], [21, 21, 21, -5, -6, -7, -8, -9, -10, 21, -12, -13, -14, -15, -16, -17, -18, 43, 48, -30, 53, 58, -52, -55, -58, 69, -63, -66, -3, 72, 73, 53, -42, -43, -21, -22, -31, -32, -33, -68, -36, -28, -29, -23, -38, -37, 86, 87, -60, -61, -62, 88, 89, 90, 91, -59, -64, -31, -36, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74]), 'PHRASE': ([0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 26, 27, 28, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 65, 68, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 102, 104, 106, 107, 108], [22, 38, 38, -5, -6, -7, -8, -9, -10, 38, -12, -13, -14, -15, -16, -17, -18, -26, -27, 52, -52, -55, -58, -63, -66, -3, -26, -27, -42, -43, -21, -22, 75, -32, -33, -68, 79, -28, -29, -23, -38, 85, -60, -61, -62, -59, -64, 75, 79, -28, -39, -50, -19, -40, -51, -34, -35, -24, -25, -41, -44, -45, -46, -47, -48, -49, -53, -54, -56, -57, -69, -65, -67, -70, -71, -72, -73, -20, -74]), 'PLUS': ([0], [24]), 'MINUS': ([0], [25]), 'YESTERDAY': ([0], [26]), 'TOMORROW': ([0], [27]), 'DAY': ([0, 22, 23, 29], [28, 56, 57, 65]), 'ON': ([0], [29]), 'PAST_PHRASE': ([0, 43, 48], [23, 76, 80]), 'THE': ([0, 29, 31], [30, 66, 71]), 'MONTH': ([0, 77, 105], [31, 102, 108]), 'BEFORE_YESTERDAY': ([0, 30, 69], [32, 68, 98]), 'AFTER_TOMORROW': ([0, 69], [33, 99]), 'AM': ([16, 18, 35, 49, 51, 74, 78, 107], [41, 44, 44, 81, 84, 81, -19, -20]), 'PM': ([16, 18, 35, 49, 51, 74, 78, 107], [42, 45, 45, 82, 83, 82, -19, -20]), 'DATE_END': ([18, 67, 70, 96, 101], [46, 97, 100, 104, 106]), 'COLON': ([18, 49, 78], [47, 47, 103]), 'OF': ([46, 97], [77, 105])} _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 = {'date_object': ([0], [1]), 'date_list': ([0], [2]), 'date': ([0, 2, 3, 10], [3, 34, 39, 40]), 'date_past': ([0], [4]), 'in': ([0], [5]), 'adder': ([0], [6]), 'remover': ([0], [7]), 'date_yesterday': ([0], [8]), 'date_2moro': ([0], [9]), 'date_day': ([0], [10]), 'date_end': ([0], [11]), 'date_or': ([0], [12]), 'date_before_yesterday': ([0], [13]), 'date_after_tomorrow': ([0], [14]), 'date_twice': ([0], [15]), 'timestamp': ([0, 20], [16, 51]), 'timestamp_adpt': ([0], [17])} _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' -> date_object", "S'", 1, None, None, None), ('date_object -> <empty>', 'date_object', 0, 'p_date_object', '__init__.py', 422), ('date_object -> date_list', 'date_object', 1, 'p_date_object', '__init__.py', 423), ('date_list -> date_list date', 'date_list', 2, 'p_date_list', '__init__.py', 433), ('date_list -> date', 'date_list', 1, 'p_date', '__init__.py', 439), ('date_list -> date_past', 'date_list', 1, 'p_date', '__init__.py', 440), ('date_list -> in', 'date_list', 1, 'p_date', '__init__.py', 441), ('date_list -> adder', 'date_list', 1, 'p_date', '__init__.py', 442), ('date_list -> remover', 'date_list', 1, 'p_date', '__init__.py', 443), ('date_list -> date_yesterday', 'date_list', 1, 'p_date', '__init__.py', 444), ('date_list -> date_2moro', 'date_list', 1, 'p_date', '__init__.py', 445), ('date_list -> date_day', 'date_list', 1, 'p_date', '__init__.py', 446), ('date_list -> date_end', 'date_list', 1, 'p_date', '__init__.py', 447), ('date_list -> date_or', 'date_list', 1, 'p_date', '__init__.py', 448), ('date_list -> date_before_yesterday', 'date_list', 1, 'p_date', '__init__.py', 449), ('date_list -> date_after_tomorrow', 'date_list', 1, 'p_date', '__init__.py', 450), ('date_list -> date_twice', 'date_list', 1, 'p_date', '__init__.py', 451), ('date_list -> timestamp', 'date_list', 1, 'p_date', '__init__.py', 452), ('date_list -> timestamp_adpt', 'date_list', 1, 'p_date', '__init__.py', 453), ('timestamp -> NUMBER COLON NUMBER', 'timestamp', 3, 'p_timestamp', '__init__.py', 473), ('timestamp -> NUMBER COLON NUMBER COLON NUMBER', 'timestamp', 5, 'p_timestamp', '__init__.py', 474), ('timestamp_adpt -> timestamp AM', 'timestamp_adpt', 2, 'p_timestamp_adapter', '__init__.py', 497), ('timestamp_adpt -> timestamp PM', 'timestamp_adpt', 2, 'p_timestamp_adapter', '__init__.py', 498), ('timestamp_adpt -> AT timestamp', 'timestamp_adpt', 2, 'p_timestamp_adapter', '__init__.py', 499), ('timestamp_adpt -> AT timestamp PM', 'timestamp_adpt', 3, 'p_timestamp_adapter', '__init__.py', 500), ('timestamp_adpt -> AT timestamp AM', 'timestamp_adpt', 3, 'p_timestamp_adapter', '__init__.py', 501), ('date -> NUMBER', 'date', 1, 'p_single_date', '__init__.py', 516), ('date -> WORD_NUMBER', 'date', 1, 'p_single_date', '__init__.py', 517), ('date -> AT NUMBER', 'date', 2, 'p_single_date', '__init__.py', 518), ('date -> AT WORD_NUMBER', 'date', 2, 'p_single_date', '__init__.py', 519), ('date -> TIME', 'date', 1, 'p_single_date', '__init__.py', 520), ('date -> NUMBER TIME', 'date', 2, 'p_single_date', '__init__.py', 521), ('date -> NUMBER AM', 'date', 2, 'p_single_date', '__init__.py', 522), ('date -> NUMBER PM', 'date', 2, 'p_single_date', '__init__.py', 523), ('date -> AT NUMBER AM', 'date', 3, 'p_single_date', '__init__.py', 524), ('date -> AT NUMBER PM', 'date', 3, 'p_single_date', '__init__.py', 525), ('date -> WORD_NUMBER TIME', 'date', 2, 'p_single_date', '__init__.py', 526), ('date -> PHRASE TIME', 'date', 2, 'p_single_date', '__init__.py', 527), ('date -> TIME PHRASE', 'date', 2, 'p_single_date', '__init__.py', 528), ('date -> NUMBER TIME PHRASE', 'date', 3, 'p_single_date', '__init__.py', 529), ('date -> WORD_NUMBER TIME PHRASE', 'date', 3, 'p_single_date', '__init__.py', 530), ('date -> PHRASE TIME PHRASE', 'date', 3, 'p_single_date', '__init__.py', 531), ('date_twice -> date date', 'date_twice', 2, 'p_twice', '__init__.py', 610), ('date_twice -> date_day date', 'date_twice', 2, 'p_twice', '__init__.py', 611), ('in -> PHRASE NUMBER TIME', 'in', 3, 'p_single_date_in', '__init__.py', 641), ('in -> PHRASE WORD_NUMBER TIME', 'in', 3, 'p_single_date_in', '__init__.py', 642), ('adder -> PLUS NUMBER TIME', 'adder', 3, 'p_single_date_plus', '__init__.py', 655), ('adder -> PLUS WORD_NUMBER TIME', 'adder', 3, 'p_single_date_plus', '__init__.py', 656), ('remover -> MINUS NUMBER TIME', 'remover', 3, 'p_single_date_minus', '__init__.py', 669), ('remover -> MINUS WORD_NUMBER TIME', 'remover', 3, 'p_single_date_minus', '__init__.py', 670), ('date_past -> NUMBER TIME PAST_PHRASE', 'date_past', 3, 'p_single_date_past', '__init__.py', 684), ('date_past -> WORD_NUMBER TIME PAST_PHRASE', 'date_past', 3, 'p_single_date_past', '__init__.py', 685), ('date_yesterday -> YESTERDAY', 'date_yesterday', 1, 'p_single_date_yesterday', '__init__.py', 693), ('date_yesterday -> YESTERDAY AT NUMBER', 'date_yesterday', 3, 'p_single_date_yesterday', '__init__.py', 694), ('date_yesterday -> YESTERDAY AT WORD_NUMBER', 'date_yesterday', 3, 'p_single_date_yesterday', '__init__.py', 695), ('date_2moro -> TOMORROW', 'date_2moro', 1, 'p_single_date_2moro', '__init__.py', 712), ('date_2moro -> TOMORROW AT NUMBER', 'date_2moro', 3, 'p_single_date_2moro', '__init__.py', 713), ('date_2moro -> TOMORROW AT WORD_NUMBER', 'date_2moro', 3, 'p_single_date_2moro', '__init__.py', 714), ('date_day -> DAY', 'date_day', 1, 'p_single_date_day', '__init__.py', 731), ('date_day -> ON DAY', 'date_day', 2, 'p_single_date_day', '__init__.py', 732), ('date_day -> PHRASE DAY', 'date_day', 2, 'p_single_date_day', '__init__.py', 733), ('date_day -> PAST_PHRASE DAY', 'date_day', 2, 'p_single_date_day', '__init__.py', 734), ('date_or -> PAST_PHRASE TIME', 'date_or', 2, 'p_this_or_next_period', '__init__.py', 765), ('date_before_yesterday -> BEFORE_YESTERDAY', 'date_before_yesterday', 1, 'p_before_yesterday', '__init__.py', 786), ('date_before_yesterday -> THE BEFORE_YESTERDAY', 'date_before_yesterday', 2, 'p_before_yesterday', '__init__.py', 787), ('date_before_yesterday -> THE TIME BEFORE_YESTERDAY', 'date_before_yesterday', 3, 'p_before_yesterday', '__init__.py', 788), ('date_after_tomorrow -> AFTER_TOMORROW', 'date_after_tomorrow', 1, 'p_after_tomorrow', '__init__.py', 798), ('date_after_tomorrow -> THE TIME AFTER_TOMORROW', 'date_after_tomorrow', 3, 'p_after_tomorrow', '__init__.py', 799), ('date_end -> NUMBER DATE_END', 'date_end', 2, 'p_single_date_end', '__init__.py', 809), ('date_end -> THE NUMBER DATE_END', 'date_end', 3, 'p_single_date_end', '__init__.py', 810), ('date_end -> MONTH NUMBER DATE_END', 'date_end', 3, 'p_single_date_end', '__init__.py', 811), ('date_end -> NUMBER DATE_END OF MONTH', 'date_end', 4, 'p_single_date_end', '__init__.py', 812), ('date_end -> ON THE NUMBER DATE_END', 'date_end', 4, 'p_single_date_end', '__init__.py', 813), ('date_end -> MONTH THE NUMBER DATE_END', 'date_end', 4, 'p_single_date_end', '__init__.py', 814), ('date_end -> THE NUMBER DATE_END OF MONTH', 'date_end', 5, 'p_single_date_end', '__init__.py', 815)]
def fakulteta(n): if n == 0: return 1 else: return n * fakulteta(n - 1) def vsota_stevk_fakultete(n): seznam = [int(d) for d in str(fakulteta(n))] vsota = 0 for i in range(0, len(seznam)): vsota = vsota + seznam[i] return(vsota) print(vsota_stevk_fakultete(100))
def fakulteta(n): if n == 0: return 1 else: return n * fakulteta(n - 1) def vsota_stevk_fakultete(n): seznam = [int(d) for d in str(fakulteta(n))] vsota = 0 for i in range(0, len(seznam)): vsota = vsota + seznam[i] return vsota print(vsota_stevk_fakultete(100))
class Motor: def __init__(self): self.velocidade = 0 def acelerar(self): self.velocidade += 1 def frear(self): self.velocidade -= 2 self.velocidade = max(0, self.velocidade) NORTE = 'Norte' SUL = 'Sul' LESTE = 'Leste' OESTE = 'Oeste' class Direcao: rotacao_a_direita_dct={NORTE:LESTE, LESTE:SUL, SUL:OESTE, OESTE:NORTE} rotacao_a_esquerda_dct={NORTE:OESTE, OESTE:SUL, SUL:LESTE, LESTE:NORTE} def __init__(self): self.valor = NORTE def girar_a_direta(self): self.valor = self.rotacao_a_direita_dct[self.valor] def girar_a_esquerda(self): self.valor = self.rotacao_a_esquerda_dct[self.valor]
class Motor: def __init__(self): self.velocidade = 0 def acelerar(self): self.velocidade += 1 def frear(self): self.velocidade -= 2 self.velocidade = max(0, self.velocidade) norte = 'Norte' sul = 'Sul' leste = 'Leste' oeste = 'Oeste' class Direcao: rotacao_a_direita_dct = {NORTE: LESTE, LESTE: SUL, SUL: OESTE, OESTE: NORTE} rotacao_a_esquerda_dct = {NORTE: OESTE, OESTE: SUL, SUL: LESTE, LESTE: NORTE} def __init__(self): self.valor = NORTE def girar_a_direta(self): self.valor = self.rotacao_a_direita_dct[self.valor] def girar_a_esquerda(self): self.valor = self.rotacao_a_esquerda_dct[self.valor]
# (C) Datadog, Inc. 2010-2017 # All rights reserved # Licensed under Simplified BSD License (see LICENSE) PORT = 11211 SERVICE_CHECK = 'memcache.can_connect'
port = 11211 service_check = 'memcache.can_connect'
PI = 3.1415 # Globale Variable def kreisumfang(radius): kreisumfang = 2 * PI * radius return kreisumfang def zylinder(radius, hoehe): return hoehe * kreisumfang(radius) print(zylinder(50, 20))
pi = 3.1415 def kreisumfang(radius): kreisumfang = 2 * PI * radius return kreisumfang def zylinder(radius, hoehe): return hoehe * kreisumfang(radius) print(zylinder(50, 20))
def help_normalize_variations(variations: list[dict]) -> list[dict]: list_normalized = [] obj_normalized = {} list_obj_normalized = [] last_color = "" count = 0 for element in variations: if last_color == element.color or last_color == "": list_normalized.append( { "size": element.size, "quantity": element.quantity, } ) obj_normalized["color_name"] = element.color obj_normalized["sizes_product"] = [*list_normalized] last_color = element.color if count == len(variations) - 1: list_obj_normalized.append(obj_normalized) else: list_obj_normalized.append(obj_normalized) obj_normalized = {} last_color = "" list_normalized = [] list_normalized.append( { "size": element.size, "quantity": element.quantity, } ) count += 1 return list_obj_normalized
def help_normalize_variations(variations: list[dict]) -> list[dict]: list_normalized = [] obj_normalized = {} list_obj_normalized = [] last_color = '' count = 0 for element in variations: if last_color == element.color or last_color == '': list_normalized.append({'size': element.size, 'quantity': element.quantity}) obj_normalized['color_name'] = element.color obj_normalized['sizes_product'] = [*list_normalized] last_color = element.color if count == len(variations) - 1: list_obj_normalized.append(obj_normalized) else: list_obj_normalized.append(obj_normalized) obj_normalized = {} last_color = '' list_normalized = [] list_normalized.append({'size': element.size, 'quantity': element.quantity}) count += 1 return list_obj_normalized
class aSumPrint: def run(self, context): #include context a_sum = context["aSum"] #to extract from shared dictionary print(f'a_sum = {a_sum}') def __call__(self, context): self.run(context) #to run the function
class Asumprint: def run(self, context): a_sum = context['aSum'] print(f'a_sum = {a_sum}') def __call__(self, context): self.run(context)
#set following variables types_of_people = 10 x = f"There are {types_of_people} types of people." binary = "binary" do_not = "don't" y = f"Those who know {binary} and those who {do_not}." #print variables "x" and "y" to create sentences print(x) print(y) #print f-strings, notated with "f" in initial position. #Using f-strings allow you to print literal strings AND variables notated in {} print(f"I said: {x}") print(f"I also said: '{y}'") hilarious = False #Empty curly braces set so for following print with formatting joke_evaluation = "Isn't that joke so funny?! {}" #Since we did not use the format (print (f...)) here, we used curly braces as #a replacement field. Anything placed in {} are evaluating code, like normal. print(joke_evaluation.format(hilarious)) w = "This is the left side of ..." e = "a string with a right side" #printing variables with "+" operator print (w + e)
types_of_people = 10 x = f'There are {types_of_people} types of people.' binary = 'binary' do_not = "don't" y = f'Those who know {binary} and those who {do_not}.' print(x) print(y) print(f'I said: {x}') print(f"I also said: '{y}'") hilarious = False joke_evaluation = "Isn't that joke so funny?! {}" print(joke_evaluation.format(hilarious)) w = 'This is the left side of ...' e = 'a string with a right side' print(w + e)
comida = ["tacos", "pozole", "pan de muerto", "pastel", "spaghetti", "gorditas"] print("Acceder a los elementos de la lista individualmente") print(comida[0]) print(comida[2]) print(comida[5]) print("Mostrar todos los elementos") print(comida) print() print("Eliminar algun elemento") del comida[3] comida.pop() print(comida) print() print("Agregar elementos en distintos puntos de la lista") print("Al inicio burritos") comida.insert(0,"burritos") print("Al medio sopa") comida.insert(2, "sopa") print("Al final con .append tostadas") comida.append("tostadas") print("Asi quedaria ahora") print(comida) print() print("Ahora a jugar con el orden de la lista") print("Orden original") print(comida,"\n") print("Ordenados alfabeticamente sin alterar la lista original") print(sorted(comida), "\n") print("No se modifico la original") print(comida,"\n") print("Ordenados alfabeticamente de manera inversa sin alterar la lista original") print(sorted(comida,reverse=True),"\n") print("No se modifico la original") print(comida,"\n") print("Invertir la lista original") comida.reverse() print(comida,"\n") print("Regresar la lista que acabamos de invertir a como estaba") comida.reverse() print(comida,"\n") print("Ordenar la lista alfabeticamente modificando la lista") comida.sort() print(comida,"\n") print("Ordenar la lista alfabeticamente de forma invertida modificando la lista") comida.sort(reverse=True) print(comida) print() print("Al final mostrar la longitud de esta lista que es de:",len(comida))
comida = ['tacos', 'pozole', 'pan de muerto', 'pastel', 'spaghetti', 'gorditas'] print('Acceder a los elementos de la lista individualmente') print(comida[0]) print(comida[2]) print(comida[5]) print('Mostrar todos los elementos') print(comida) print() print('Eliminar algun elemento') del comida[3] comida.pop() print(comida) print() print('Agregar elementos en distintos puntos de la lista') print('Al inicio burritos') comida.insert(0, 'burritos') print('Al medio sopa') comida.insert(2, 'sopa') print('Al final con .append tostadas') comida.append('tostadas') print('Asi quedaria ahora') print(comida) print() print('Ahora a jugar con el orden de la lista') print('Orden original') print(comida, '\n') print('Ordenados alfabeticamente sin alterar la lista original') print(sorted(comida), '\n') print('No se modifico la original') print(comida, '\n') print('Ordenados alfabeticamente de manera inversa sin alterar la lista original') print(sorted(comida, reverse=True), '\n') print('No se modifico la original') print(comida, '\n') print('Invertir la lista original') comida.reverse() print(comida, '\n') print('Regresar la lista que acabamos de invertir a como estaba') comida.reverse() print(comida, '\n') print('Ordenar la lista alfabeticamente modificando la lista') comida.sort() print(comida, '\n') print('Ordenar la lista alfabeticamente de forma invertida modificando la lista') comida.sort(reverse=True) print(comida) print() print('Al final mostrar la longitud de esta lista que es de:', len(comida))
class Solution: def depthSum(self, nestedList: List[NestedInteger]) -> int: def helper(current, depth): res = 0 for item in current: if item.isInteger(): res += item.getInteger() * depth else: res += helper(item.getList(), depth + 1) return res return helper(nestedList, 1)
class Solution: def depth_sum(self, nestedList: List[NestedInteger]) -> int: def helper(current, depth): res = 0 for item in current: if item.isInteger(): res += item.getInteger() * depth else: res += helper(item.getList(), depth + 1) return res return helper(nestedList, 1)
argv = [''] def exit(n): pass exit(0) stdout = open("/dev/null") stderr = open("/dev/null") stdin = open("/dev/null")
argv = [''] def exit(n): pass exit(0) stdout = open('/dev/null') stderr = open('/dev/null') stdin = open('/dev/null')
x = int(input()) n = int(input()) a = [] for y in range(n): a.append(input().split()) for y in range(n): if x >= int(a[y][0]) and x <= int(a[y][1]): print(a[y][2])
x = int(input()) n = int(input()) a = [] for y in range(n): a.append(input().split()) for y in range(n): if x >= int(a[y][0]) and x <= int(a[y][1]): print(a[y][2])
print("Sartu zenbakiak...") a=int(input("Sartu lehenengoa: ")) b=int(input("sartu bigarrena: ")) def baino_haundiagoa(a, b): if a > b: return("Lehenengo zenbakia haundiagoa da.") elif a < b: return("Bigarren zenbakia haundiagoa da.") else: return("Zenbaki berdina sartu dezu.") print(baino_haundiagoa(a, b))
print('Sartu zenbakiak...') a = int(input('Sartu lehenengoa: ')) b = int(input('sartu bigarrena: ')) def baino_haundiagoa(a, b): if a > b: return 'Lehenengo zenbakia haundiagoa da.' elif a < b: return 'Bigarren zenbakia haundiagoa da.' else: return 'Zenbaki berdina sartu dezu.' print(baino_haundiagoa(a, b))
''' @author: Kittl ''' def exportSubstations(dpf, exportProfile, tables, colHeads): # Get the index in the list of worksheets if exportProfile is 2: cmpStr = "Substation" elif exportProfile is 3: cmpStr = "" idxWs = [idx for idx,val in enumerate(tables[exportProfile-1]) if val == cmpStr] if not idxWs: dpf.PrintPlain('') dpf.PrintInfo('There is no worksheet '+( cmpStr if not cmpStr == "" else "for substations" )+' defined. Skip this one!') return (None, None) elif len(idxWs) > 1: dpf.PrintError('There is more than one table with the name '+cmpStr+' defined. Cancel this script.') exit(1) else: idxWs = idxWs[0] dpf.PrintPlain('') dpf.PrintPlain('###################################') dpf.PrintPlain('# Starting to export substations. #') dpf.PrintPlain('###################################') colHead = list(); for cHead in colHeads[exportProfile-1][idxWs]: colHead.append(str(cHead.name)) expMat = list() expMat.append(colHead) substats = dpf.GetCalcRelevantObjects('*.ElmSubstat') for substat in substats: if exportProfile is 2: expMat.append([ substat.loc_name, # id substat.pArea.loc_name if substat.pArea is not None else "", # subnet substat.pZone.loc_name if substat.pZone is not None else "" # voltLvl ]) else: dpf.PrintError("This export profile isn't implemented yet.") exit(1) return (idxWs, expMat)
""" @author: Kittl """ def export_substations(dpf, exportProfile, tables, colHeads): if exportProfile is 2: cmp_str = 'Substation' elif exportProfile is 3: cmp_str = '' idx_ws = [idx for (idx, val) in enumerate(tables[exportProfile - 1]) if val == cmpStr] if not idxWs: dpf.PrintPlain('') dpf.PrintInfo('There is no worksheet ' + (cmpStr if not cmpStr == '' else 'for substations') + ' defined. Skip this one!') return (None, None) elif len(idxWs) > 1: dpf.PrintError('There is more than one table with the name ' + cmpStr + ' defined. Cancel this script.') exit(1) else: idx_ws = idxWs[0] dpf.PrintPlain('') dpf.PrintPlain('###################################') dpf.PrintPlain('# Starting to export substations. #') dpf.PrintPlain('###################################') col_head = list() for c_head in colHeads[exportProfile - 1][idxWs]: colHead.append(str(cHead.name)) exp_mat = list() expMat.append(colHead) substats = dpf.GetCalcRelevantObjects('*.ElmSubstat') for substat in substats: if exportProfile is 2: expMat.append([substat.loc_name, substat.pArea.loc_name if substat.pArea is not None else '', substat.pZone.loc_name if substat.pZone is not None else '']) else: dpf.PrintError("This export profile isn't implemented yet.") exit(1) return (idxWs, expMat)