content
stringlengths 7
1.05M
| fixed_cases
stringlengths 1
1.28M
|
---|---|
n = int(input())
total = 1
while n != 0:
total *= n
n -= 1
print(n)
print(total) | n = int(input())
total = 1
while n != 0:
total *= n
n -= 1
print(n)
print(total) |
# https://leetcode.com/problems/matrix-diagonal-sum/
class Solution:
def diagonalSum(self, mat: List[List[int]]) -> int:
res = 0
i, j = 0, 0
while (j < len(mat)):
#print(i,j)
res += mat[i][j]
i += 1
j += 1
i, j = 0, len(mat)-1
while (j >= 0):
#print(i, j)
if i!=j:
res += mat[i][j]
i += 1
j -= 1
return res
| class Solution:
def diagonal_sum(self, mat: List[List[int]]) -> int:
res = 0
(i, j) = (0, 0)
while j < len(mat):
res += mat[i][j]
i += 1
j += 1
(i, j) = (0, len(mat) - 1)
while j >= 0:
if i != j:
res += mat[i][j]
i += 1
j -= 1
return res |
def test():
print('\nNON-NESTED BLOCK COMMENT EXAMPLE:')
sample = ''' /**
* Some comments
* longer comments here that we can parse.
*
* Rahoo
*/
function subroutine() {
a = /* inline comment */ b + c ;
}
/*/ <-- tricky comments */
/**
* Another comment.
*/
function something() {
}'''
print(commentstripper(sample))
print('\nNESTED BLOCK COMMENT EXAMPLE:')
sample = ''' /**
* Some comments
* longer comments here that we can parse.
*
* Rahoo
*//*
function subroutine() {
a = /* inline comment */ b + c ;
}
/*/ <-- tricky comments */
*/
/**
* Another comment.
*/
function something() {
}'''
print(commentstripper(sample))
if __name__ == '__main__':
test()
| def test():
print('\nNON-NESTED BLOCK COMMENT EXAMPLE:')
sample = ' /**\n * Some comments\n * longer comments here that we can parse.\n *\n * Rahoo\n */\n function subroutine() {\n a = /* inline comment */ b + c ;\n }\n /*/ <-- tricky comments */\n\n /**\n * Another comment.\n */\n function something() {\n }'
print(commentstripper(sample))
print('\nNESTED BLOCK COMMENT EXAMPLE:')
sample = ' /**\n * Some comments\n * longer comments here that we can parse.\n *\n * Rahoo\n *//*\n function subroutine() {\n a = /* inline comment */ b + c ;\n }\n /*/ <-- tricky comments */\n */\n /**\n * Another comment.\n */\n function something() {\n }'
print(commentstripper(sample))
if __name__ == '__main__':
test() |
class Solution:
def maxSlidingWindow(self, nums: List[int], k: int) -> List[int]:
window = collections.deque()
ans = []
for i, num in enumerate(nums):
while window and num >= window[-1][0]:
window.pop()
window.append((num, i))
if i - window[0][-1] > k - 1:
window.popleft()
if i >= k - 1:
ans.append(window[0][0])
return ans
| class Solution:
def max_sliding_window(self, nums: List[int], k: int) -> List[int]:
window = collections.deque()
ans = []
for (i, num) in enumerate(nums):
while window and num >= window[-1][0]:
window.pop()
window.append((num, i))
if i - window[0][-1] > k - 1:
window.popleft()
if i >= k - 1:
ans.append(window[0][0])
return ans |
#Tuples - faster Lists you can't change
friends = ['John','Michael','Terry','Eric','Graham']
friends_tuple = ('John','Michael','Terry','Eric','Graham')
print(friends)
print(friends_tuple)
print(friends[2:4])
print(friends_tuple[2:4]) | friends = ['John', 'Michael', 'Terry', 'Eric', 'Graham']
friends_tuple = ('John', 'Michael', 'Terry', 'Eric', 'Graham')
print(friends)
print(friends_tuple)
print(friends[2:4])
print(friends_tuple[2:4]) |
t1 = 0
t2 = 1
print(f'{t1} -> {t2} -> ', end='')
for c in range(1, 21):
t3 = t1 + t2
print(f'{t3} -> ', end='')
t1 = t2
t2 = t3
print('FIM', end='') | t1 = 0
t2 = 1
print(f'{t1} -> {t2} -> ', end='')
for c in range(1, 21):
t3 = t1 + t2
print(f'{t3} -> ', end='')
t1 = t2
t2 = t3
print('FIM', end='') |
# COLORS = ['V', 'I', 'B', 'G', 'Y', 'O', 'R']
EMPTY = "-"
# DIRS = np.array([(1, 0), (0, -1), (-1, 0), (0, 1)])
RIGHTMOST = -1
def is_color(board, x, y, color):
if min(x, y) < 0:
return False
if x >= len(board):
return False
if y >= len(board[0]):
return False
if board[x][y] != color:
return False
return True
def get_group(board, x, y):
color = board[x][y]
group = []
if color == EMPTY:
return []
test = [(x, y)]
for i, j in test:
if is_color(board, i, j, color):
group.append((i, j))
board[i][j] = EMPTY
test.append((i + 1, j))
test.append((i, j - 1))
test.append((i - 1, j))
test.append((i, j + 1))
if len(group) > 1:
return (group, color)
return []
def get_groups(board):
copy = [row.copy() for row in board]
groups = []
x_max, y_max = len(copy), len(copy[0])
for x in range(x_max):
for y in range(y_max):
group = get_group(copy, x, y)
if group:
groups.append(group)
return groups
def get_color_count(board):
color_count = {}
for x in range(len(board)):
for y in range(len(board[x])):
if board[x][y] not in color_count:
color_count[board[x][y]] = 1
else:
color_count[board[x][y]] += 1
return color_count
def next_move(x, y, board):
groups = get_groups(board)
groups.sort(key=lambda x: len(x[0]))
return groups[0][0][0]
# print(groups)
# color_count = get_color_count(board)
# for group, color in groups:
# if color_count[color] - len(group) == 0:
# return group[0]
# for group, color in groups:
# if color_count[color] - len(group) != 1:
# return group[0]
# return groups[0][0][0]
| empty = '-'
rightmost = -1
def is_color(board, x, y, color):
if min(x, y) < 0:
return False
if x >= len(board):
return False
if y >= len(board[0]):
return False
if board[x][y] != color:
return False
return True
def get_group(board, x, y):
color = board[x][y]
group = []
if color == EMPTY:
return []
test = [(x, y)]
for (i, j) in test:
if is_color(board, i, j, color):
group.append((i, j))
board[i][j] = EMPTY
test.append((i + 1, j))
test.append((i, j - 1))
test.append((i - 1, j))
test.append((i, j + 1))
if len(group) > 1:
return (group, color)
return []
def get_groups(board):
copy = [row.copy() for row in board]
groups = []
(x_max, y_max) = (len(copy), len(copy[0]))
for x in range(x_max):
for y in range(y_max):
group = get_group(copy, x, y)
if group:
groups.append(group)
return groups
def get_color_count(board):
color_count = {}
for x in range(len(board)):
for y in range(len(board[x])):
if board[x][y] not in color_count:
color_count[board[x][y]] = 1
else:
color_count[board[x][y]] += 1
return color_count
def next_move(x, y, board):
groups = get_groups(board)
groups.sort(key=lambda x: len(x[0]))
return groups[0][0][0] |
def solveQuestion(inputPath, minValComp, maxValComp):
fileP = open(inputPath, 'r')
fileLines = fileP.readlines()
fileP.close()
botMoves = {}
botValues = {}
for line in fileLines:
line = line.strip('\n')
isLowOutput = False
isHighOutput = False
if line[:5] == 'value':
splitText = line.split(' ')
value = int(splitText[1])
botIndex = int(splitText[5])
if botIndex in botValues:
botValues[botIndex].append(value)
else:
botValues[botIndex] = [value]
else:
splitText = line.split(' ')
if splitText[5] == 'output':
isLowOutput = True
if splitText[10] == 'output':
isHighOutput = True
botIndexSource = int(splitText[1])
botIndexLow = int(splitText[6])
botIndexHigh = int(splitText[11])
botMoves[botIndexSource] = {}
if isLowOutput == True:
botMoves[botIndexSource]['low'] = -1 * botIndexLow - 1
else:
botMoves[botIndexSource]['low'] = botIndexLow
if isHighOutput == True:
botMoves[botIndexSource]['high'] = -1 * botIndexHigh - 1
else:
botMoves[botIndexSource]['high'] = botIndexHigh
while 1:
for bot in botValues:
values = list(botValues[bot])
if len(values) == 2:
moves = botMoves[bot]
botValues[bot] = []
lowBotIndex = moves['low']
highBotIndex = moves['high']
if values[0] > values[1]:
highValue = values[0]
lowValue = values[1]
else:
highValue = values[1]
lowValue = values[0]
if highValue == maxValComp and lowValue == minValComp:
return bot
if lowBotIndex in botValues:
botValues[lowBotIndex].append(lowValue)
else:
botValues[lowBotIndex] = [lowValue]
if highBotIndex in botValues:
botValues[highBotIndex].append(highValue)
else:
botValues[highBotIndex] = [highValue]
break
print(solveQuestion('InputD10Q1.txt', 17, 61))
| def solve_question(inputPath, minValComp, maxValComp):
file_p = open(inputPath, 'r')
file_lines = fileP.readlines()
fileP.close()
bot_moves = {}
bot_values = {}
for line in fileLines:
line = line.strip('\n')
is_low_output = False
is_high_output = False
if line[:5] == 'value':
split_text = line.split(' ')
value = int(splitText[1])
bot_index = int(splitText[5])
if botIndex in botValues:
botValues[botIndex].append(value)
else:
botValues[botIndex] = [value]
else:
split_text = line.split(' ')
if splitText[5] == 'output':
is_low_output = True
if splitText[10] == 'output':
is_high_output = True
bot_index_source = int(splitText[1])
bot_index_low = int(splitText[6])
bot_index_high = int(splitText[11])
botMoves[botIndexSource] = {}
if isLowOutput == True:
botMoves[botIndexSource]['low'] = -1 * botIndexLow - 1
else:
botMoves[botIndexSource]['low'] = botIndexLow
if isHighOutput == True:
botMoves[botIndexSource]['high'] = -1 * botIndexHigh - 1
else:
botMoves[botIndexSource]['high'] = botIndexHigh
while 1:
for bot in botValues:
values = list(botValues[bot])
if len(values) == 2:
moves = botMoves[bot]
botValues[bot] = []
low_bot_index = moves['low']
high_bot_index = moves['high']
if values[0] > values[1]:
high_value = values[0]
low_value = values[1]
else:
high_value = values[1]
low_value = values[0]
if highValue == maxValComp and lowValue == minValComp:
return bot
if lowBotIndex in botValues:
botValues[lowBotIndex].append(lowValue)
else:
botValues[lowBotIndex] = [lowValue]
if highBotIndex in botValues:
botValues[highBotIndex].append(highValue)
else:
botValues[highBotIndex] = [highValue]
break
print(solve_question('InputD10Q1.txt', 17, 61)) |
def Mergesort(arr):
n= len(arr)
if n > 1:
mid = int(n/2)
left = arr[0:mid]
right = arr[mid:n]
Mergesort(left)
Mergesort(right)
Merge(left, right, arr)
def Merge(left, right, arr):
i = 0
j = 0
k = 0
while i < len(left) and j < len(right):
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k =k + 1
while i < len(left):
arr[k] = left[i]
i += 1
k += 1
while j < len(right):
arr[k] = right[j]
j += 1
k += 1
if __name__ == "__main__":
merge = [8,4,23,42,16,15]
Mergesort(merge)
print(merge)
merge2 = [20,18,12,8,5,-2]
Mergesort(merge2)
print(merge2)
merge3 = [5,12,7,5,5,7]
Mergesort(merge3)
print(merge3)
merge4 =[2,3,5,7,13,11]
Mergesort(merge4)
print(merge4)
| def mergesort(arr):
n = len(arr)
if n > 1:
mid = int(n / 2)
left = arr[0:mid]
right = arr[mid:n]
mergesort(left)
mergesort(right)
merge(left, right, arr)
def merge(left, right, arr):
i = 0
j = 0
k = 0
while i < len(left) and j < len(right):
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k = k + 1
while i < len(left):
arr[k] = left[i]
i += 1
k += 1
while j < len(right):
arr[k] = right[j]
j += 1
k += 1
if __name__ == '__main__':
merge = [8, 4, 23, 42, 16, 15]
mergesort(merge)
print(merge)
merge2 = [20, 18, 12, 8, 5, -2]
mergesort(merge2)
print(merge2)
merge3 = [5, 12, 7, 5, 5, 7]
mergesort(merge3)
print(merge3)
merge4 = [2, 3, 5, 7, 13, 11]
mergesort(merge4)
print(merge4) |
a = [5, 4, 8, 3, 4, 14, 90, 45, 9, 3, 2, 4]
for i in range(len(a), 0, -1):
for j in range(0, i - 1):
if a[j] > a[j + 1]:
a[j], a[j + 1] = a[j + 1], a[j]
print(a) | a = [5, 4, 8, 3, 4, 14, 90, 45, 9, 3, 2, 4]
for i in range(len(a), 0, -1):
for j in range(0, i - 1):
if a[j] > a[j + 1]:
(a[j], a[j + 1]) = (a[j + 1], a[j])
print(a) |
# MEDIUM
# find smallest x, largest x, draw a line to split those two value
# store all points in to a set([])
# check if every point in set can be matched by mirroring the y axis
class Solution:
def isReflected(self, points: List[List[int]]) -> bool:
print(max(points),min(points))
check = set([(x,y) for x,y in points])
count = 0
minx,maxx = float("inf"), -float("inf")
for x,y in points:
minx = min(minx,x)
maxx = max(maxx,x)
line = (maxx+ minx) / 2
for x,y in check:
diff = abs(x-line)
if x > line:
if (x-diff*2,y) not in check:
return False
elif x< line:
if (x+diff*2,y) not in check :
return False
return True
| class Solution:
def is_reflected(self, points: List[List[int]]) -> bool:
print(max(points), min(points))
check = set([(x, y) for (x, y) in points])
count = 0
(minx, maxx) = (float('inf'), -float('inf'))
for (x, y) in points:
minx = min(minx, x)
maxx = max(maxx, x)
line = (maxx + minx) / 2
for (x, y) in check:
diff = abs(x - line)
if x > line:
if (x - diff * 2, y) not in check:
return False
elif x < line:
if (x + diff * 2, y) not in check:
return False
return True |
def is_prime(num):
if num <= 1:
return False
d = 2
while d * d <= num and num % d != 0:
d += 1
return d * d > num | def is_prime(num):
if num <= 1:
return False
d = 2
while d * d <= num and num % d != 0:
d += 1
return d * d > num |
c = 0
arr = [8,7,3,2,1,8,18,9,7,3,4]
for i in range(len(arr)):
if arr.count(i) == 1:
c += 1
print(c)
| c = 0
arr = [8, 7, 3, 2, 1, 8, 18, 9, 7, 3, 4]
for i in range(len(arr)):
if arr.count(i) == 1:
c += 1
print(c) |
# coding=UTF8
# Processamento
for num in range(100, 201):
if num % 2 > 0:
print(num) | for num in range(100, 201):
if num % 2 > 0:
print(num) |
## https://leetcode.com/submissions/detail/230651834/
## problem is to find the numbers between 1 and length of the
## array that aren't in the array. simple way to do that is to
## do the set difference between range(1, len(ar)+1) and the
## input numbers
## hits 98th percentile in terms of runtime, though only
## 14th percentile in memory usage
class Solution:
def findDisappearedNumbers(self, nums: List[int]) -> List[int]:
return list(set(range(1, len(nums)+1)) - set(nums)) | class Solution:
def find_disappeared_numbers(self, nums: List[int]) -> List[int]:
return list(set(range(1, len(nums) + 1)) - set(nums)) |
player_1_score = 0
player_2_score = 0
LOOP_UNTIL_USER_CHOOSES_TO_EXIT_AFTER_A_ROUND = True
while LOOP_UNTIL_USER_CHOOSES_TO_EXIT_AFTER_A_ROUND:
player_1_shape = input('[PLAYER 1]: Choose "rock", "paper", or "scissors": ')
player_2_shape = input('[PLAYER 2]: Choose "rock", "paper", or "scissors": ')
ROCK_SHAPE = 'rock'
PAPER_SHAPE = 'paper'
SCISSORS_SHAPE = 'scissors'
player_1_wins = (
(ROCK_SHAPE == player_1_shape and SCISSORS_SHAPE == player_2_shape) or
(PAPER_SHAPE == player_1_shape and ROCK_SHAPE == player_2_shape) or
(SCISSORS_SHAPE == player_1_shape and PAPER_SHAPE == player_2_shape))
player_2_wins = (
(ROCK_SHAPE == player_2_shape and SCISSORS_SHAPE == player_1_shape) or
(PAPER_SHAPE == player_2_shape and ROCK_SHAPE == player_1_shape) or
(SCISSORS_SHAPE == player_2_shape and PAPER_SHAPE == player_1_shape))
tie = (player_1_shape == player_2_shape)
if player_1_wins:
print('PLAYER 1 wins!')
player_1_score += 1
elif player_2_wins:
print('PLAYER 2 wins!')
player_2_score += 1
elif tie:
print('It is a tie!')
else:
print('Invalid choices!')
print("Player 1 Score: " + str(player_1_score))
print("Player 2 Score: " + str(player_2_score))
continue_playing_option = input("Continue playing? (enter YES or NO): ")
if "YES" == continue_playing_option:
continue
elif "NO" == continue_playing_option:
break
else:
print("Invalid choice. Exiting game...")
break
| player_1_score = 0
player_2_score = 0
loop_until_user_chooses_to_exit_after_a_round = True
while LOOP_UNTIL_USER_CHOOSES_TO_EXIT_AFTER_A_ROUND:
player_1_shape = input('[PLAYER 1]: Choose "rock", "paper", or "scissors": ')
player_2_shape = input('[PLAYER 2]: Choose "rock", "paper", or "scissors": ')
rock_shape = 'rock'
paper_shape = 'paper'
scissors_shape = 'scissors'
player_1_wins = ROCK_SHAPE == player_1_shape and SCISSORS_SHAPE == player_2_shape or (PAPER_SHAPE == player_1_shape and ROCK_SHAPE == player_2_shape) or (SCISSORS_SHAPE == player_1_shape and PAPER_SHAPE == player_2_shape)
player_2_wins = ROCK_SHAPE == player_2_shape and SCISSORS_SHAPE == player_1_shape or (PAPER_SHAPE == player_2_shape and ROCK_SHAPE == player_1_shape) or (SCISSORS_SHAPE == player_2_shape and PAPER_SHAPE == player_1_shape)
tie = player_1_shape == player_2_shape
if player_1_wins:
print('PLAYER 1 wins!')
player_1_score += 1
elif player_2_wins:
print('PLAYER 2 wins!')
player_2_score += 1
elif tie:
print('It is a tie!')
else:
print('Invalid choices!')
print('Player 1 Score: ' + str(player_1_score))
print('Player 2 Score: ' + str(player_2_score))
continue_playing_option = input('Continue playing? (enter YES or NO): ')
if 'YES' == continue_playing_option:
continue
elif 'NO' == continue_playing_option:
break
else:
print('Invalid choice. Exiting game...')
break |
#isdecimal
n1 = "947"
print(n1.isdecimal()) # -- D1
n2 = "947 2"
print(n2.isdecimal()) # -- D2
n3 = "abx123"
print(n3.isdecimal()) # -- D3
n4 = "\u0034"
print(n4.isdecimal()) # -- D4
n5 = "\u0038"
print(n5.isdecimal()) # -- D5
n6 = "\u0041"
print(n6.isdecimal()) # -- D6
n7 = "3.4"
print(n7.isdecimal()) # -- D7
n8 = "#$!@"
print(n8.isdecimal()) # -- D8
| n1 = '947'
print(n1.isdecimal())
n2 = '947 2'
print(n2.isdecimal())
n3 = 'abx123'
print(n3.isdecimal())
n4 = '4'
print(n4.isdecimal())
n5 = '8'
print(n5.isdecimal())
n6 = 'A'
print(n6.isdecimal())
n7 = '3.4'
print(n7.isdecimal())
n8 = '#$!@'
print(n8.isdecimal()) |
def memoize(f):
storage = {}
def wrapper(*args):
key = tuple(args)
if storage.has_key(key):
return storage[key]
else:
result = f(*args)
storage[key] = result
return result
return wrapper
def test_memoize():
@memoize
def silly(x):
if x==0:
return 0
else:
return silly(x-1) + 1
assert silly(100)==100
assert silly.func_closure[1].cell_contents[(100,)] == 100
| def memoize(f):
storage = {}
def wrapper(*args):
key = tuple(args)
if storage.has_key(key):
return storage[key]
else:
result = f(*args)
storage[key] = result
return result
return wrapper
def test_memoize():
@memoize
def silly(x):
if x == 0:
return 0
else:
return silly(x - 1) + 1
assert silly(100) == 100
assert silly.func_closure[1].cell_contents[100,] == 100 |
# Fitur .append()
print(">>> Fitur .append()")
list_makanan = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_makanan.append('Ketoprak')
print(list_makanan)
# Fitur .clear()
print(">>> Fitur .clear()")
list_makanan = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_makanan.clear()
print(list_makanan)
# Fitur .copy()
print(">>> Fitur .copy()")
list_makanan1 = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_makanan2 = list_makanan1.copy()
list_makanan3 = list_makanan1
list_makanan2.append('Opor')
list_makanan3.append('Ketoprak')
print(list_makanan1)
print(list_makanan2)
# Fitur .count()
print(">>> Fitur .count()")
list_score = ['Budi', 'Sud', 'Budi', 'Budi', 'Budi', 'Sud', 'Sud']
score_budi = list_score.count('Budi')
score_sud = list_score.count('Sud')
print(score_budi) # akan menampilkan output 4
print(score_sud) # akan menampilkan output 3
# Fitur .extend()
print(">>> Fitur .extend()")
list_menu = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_minuman = ['Es Teh', 'Es Jeruk', 'Es Campur']
list_menu.extend(list_minuman)
print(list_menu) | print('>>> Fitur .append()')
list_makanan = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_makanan.append('Ketoprak')
print(list_makanan)
print('>>> Fitur .clear()')
list_makanan = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_makanan.clear()
print(list_makanan)
print('>>> Fitur .copy()')
list_makanan1 = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_makanan2 = list_makanan1.copy()
list_makanan3 = list_makanan1
list_makanan2.append('Opor')
list_makanan3.append('Ketoprak')
print(list_makanan1)
print(list_makanan2)
print('>>> Fitur .count()')
list_score = ['Budi', 'Sud', 'Budi', 'Budi', 'Budi', 'Sud', 'Sud']
score_budi = list_score.count('Budi')
score_sud = list_score.count('Sud')
print(score_budi)
print(score_sud)
print('>>> Fitur .extend()')
list_menu = ['Gado-gado', 'Ayam Goreng', 'Rendang']
list_minuman = ['Es Teh', 'Es Jeruk', 'Es Campur']
list_menu.extend(list_minuman)
print(list_menu) |
#!/usr/bin/python
# coding=utf-8
class BasicGenerater(object):
def __init__(self):
self.first_name = 'Jack'
self.last_name = 'Freeman'
def my_name(self):
print('.'.join((self.first_name, self.last_name)))
def __del__(self):
print("call del")
class AdvaceGenerator(BasicGenerater):
def __init__(self):
BasicGenerater.__init__(self)
self.first_name = 'Bob'
class AdvaceGenerator2(BasicGenerater):
def __init__(self):
super(AdvaceGenerator2, self).__init__()
self.first_name = 'Alon'
if __name__ == "__main__":
basic = AdvaceGenerator2()
basic.my_name()
print("end")
| class Basicgenerater(object):
def __init__(self):
self.first_name = 'Jack'
self.last_name = 'Freeman'
def my_name(self):
print('.'.join((self.first_name, self.last_name)))
def __del__(self):
print('call del')
class Advacegenerator(BasicGenerater):
def __init__(self):
BasicGenerater.__init__(self)
self.first_name = 'Bob'
class Advacegenerator2(BasicGenerater):
def __init__(self):
super(AdvaceGenerator2, self).__init__()
self.first_name = 'Alon'
if __name__ == '__main__':
basic = advace_generator2()
basic.my_name()
print('end') |
class Solution:
def change(self, amount, coins):
dp = [0 for i in range(amount + 1)]
# for amount 0, you can have 1 combination, do not include any coin
dp[0] = 1
for coin in coins:
for i in range(coin, amount + 1):
# add i - coin dp value, the number of combinations excluding current coin, to current dp value
dp[i] += dp[i - coin]
return dp[amount]
def main():
mySol = Solution()
print("For the coins 1, 2, 3, 5, and amount 11, the number of combinations to make up the amount are ")
print(mySol.change(11, [1, 2, 3, 5]))
print("For the coins 1, 2, 5, and amount 5, the number of combinations to make up the amount are ")
print(mySol.change(5, [1, 2, 5]))
if __name__ == "__main__":
main()
| class Solution:
def change(self, amount, coins):
dp = [0 for i in range(amount + 1)]
dp[0] = 1
for coin in coins:
for i in range(coin, amount + 1):
dp[i] += dp[i - coin]
return dp[amount]
def main():
my_sol = solution()
print('For the coins 1, 2, 3, 5, and amount 11, the number of combinations to make up the amount are ')
print(mySol.change(11, [1, 2, 3, 5]))
print('For the coins 1, 2, 5, and amount 5, the number of combinations to make up the amount are ')
print(mySol.change(5, [1, 2, 5]))
if __name__ == '__main__':
main() |
class UI:
def __init__(self):
'''
'''
print('Welcome to calculator v1')
def start(self, controller):
'''
We ask the user for 2 numbers and add them.
'''
print('Please enter number1')
number1 = input()
print('Please enter number2')
number2 = input()
result = controller.add( int(number1), int(number2) )
print ('Result:', result)
print('Thank you for using the calculator!')
| class Ui:
def __init__(self):
"""
"""
print('Welcome to calculator v1')
def start(self, controller):
"""
We ask the user for 2 numbers and add them.
"""
print('Please enter number1')
number1 = input()
print('Please enter number2')
number2 = input()
result = controller.add(int(number1), int(number2))
print('Result:', result)
print('Thank you for using the calculator!') |
DEBUG = True
TESTING = False
MONGODB_SETTINGS = [{
'host':'localhost',
'port':27017,
'db':'REALTIME_APP'
}] | debug = True
testing = False
mongodb_settings = [{'host': 'localhost', 'port': 27017, 'db': 'REALTIME_APP'}] |
# Week-11 Challenge 1 And Extra Challenge
x = open("Week-11/Week-11-Challenge.txt", "r")
print(x.read())
x.close()
print("\n-*-*-*-*-*-*")
print("-*-*-*-*-*-*")
print("-*-*-*-*-*-*\n")
y = open("Week-11/Week-11-Challenge.txt", "a")
y.write("\nThe best way we learn anything is by practice and exercise questions ")
y = open("Week-11/Week-11-Challenge.txt", "r")
print(y.read())
y.close()
print("\n-*-*-*-*-*-*")
print("-*-*-*-*-*-*")
print("-*-*-*-*-*-*\n")
f = open("Week-11/readline.txt", "r")
print(f.readlines())
f.close | x = open('Week-11/Week-11-Challenge.txt', 'r')
print(x.read())
x.close()
print('\n-*-*-*-*-*-*')
print('-*-*-*-*-*-*')
print('-*-*-*-*-*-*\n')
y = open('Week-11/Week-11-Challenge.txt', 'a')
y.write('\nThe best way we learn anything is by practice and exercise questions ')
y = open('Week-11/Week-11-Challenge.txt', 'r')
print(y.read())
y.close()
print('\n-*-*-*-*-*-*')
print('-*-*-*-*-*-*')
print('-*-*-*-*-*-*\n')
f = open('Week-11/readline.txt', 'r')
print(f.readlines())
f.close |
'''
Note: This kata is inspired by Convert a Number to a String!. Try that one too.
Description
We need a function that can transform a string into a number. What ways of achieving this do you know?
Note: Don't worry, all inputs will be strings, and every string is a perfectly valid representation of an integral number.
Examples
stringToNumber("1234") == 1234
stringToNumber("605" ) == 605
stringToNumber("1405") == 1405
stringToNumber("-7" ) == -7
'''
def string_to_number(num):
return int(num) | """
Note: This kata is inspired by Convert a Number to a String!. Try that one too.
Description
We need a function that can transform a string into a number. What ways of achieving this do you know?
Note: Don't worry, all inputs will be strings, and every string is a perfectly valid representation of an integral number.
Examples
stringToNumber("1234") == 1234
stringToNumber("605" ) == 605
stringToNumber("1405") == 1405
stringToNumber("-7" ) == -7
"""
def string_to_number(num):
return int(num) |
print(-1)
print(-0)
print(-(6))
print(-(12*2))
print(- -10)
| print(-1)
print(-0)
print(-6)
print(-(12 * 2))
print(--10) |
# Problem Statement: https://leetcode.com/problems/valid-anagram/
class Solution:
def isAnagram(self, s: str, t: str) -> bool:
if len(s) != len(t):
return False
else:
letter_cnt = {}
for letter in s:
if not letter in letter_cnt:
letter_cnt[letter] = 1
else:
letter_cnt[letter] = letter_cnt[letter] + 1
for letter in t:
if not letter in letter_cnt:
letter_cnt[letter] = 1
else:
letter_cnt[letter] = letter_cnt[letter] - 1
for letter in letter_cnt:
if letter_cnt[letter] > 0:
return False
return True
| class Solution:
def is_anagram(self, s: str, t: str) -> bool:
if len(s) != len(t):
return False
else:
letter_cnt = {}
for letter in s:
if not letter in letter_cnt:
letter_cnt[letter] = 1
else:
letter_cnt[letter] = letter_cnt[letter] + 1
for letter in t:
if not letter in letter_cnt:
letter_cnt[letter] = 1
else:
letter_cnt[letter] = letter_cnt[letter] - 1
for letter in letter_cnt:
if letter_cnt[letter] > 0:
return False
return True |
# -*- coding: utf-8 -*-
description = 'detectors'
group = 'lowlevel' # is included by panda.py
display_order = 70
excludes = ['qmesydaq']
tango_base = 'tango://phys.panda.frm2:10000/panda/'
devices = dict(
timer = device('nicos.devices.entangle.TimerChannel',
tangodevice = tango_base + 'frmctr2/timer',
visibility = (),
),
mon1 = device('nicos.devices.entangle.CounterChannel',
tangodevice = tango_base + 'frmctr2/mon1',
type = 'monitor',
fmtstr = '%d',
visibility = (),
),
mon2 = device('nicos.devices.entangle.CounterChannel',
tangodevice = tango_base + 'frmctr2/mon2',
type = 'monitor',
fmtstr = '%d',
visibility = (),
),
det1 = device('nicos.devices.entangle.CounterChannel',
tangodevice = tango_base + 'frmctr2/det1',
type = 'counter',
fmtstr = '%d',
visibility = (),
),
det2 = device('nicos.devices.entangle.CounterChannel',
tangodevice = tango_base + 'frmctr2/det2',
type = 'counter',
fmtstr = '%d',
visibility = (),
),
mon1_c = device('nicos.devices.tas.OrderCorrectedMonitor',
description = 'Monitor corrected for higher-order influence',
ki = 'ki',
mapping = {
1.2: 3.40088101,
1.3: 2.20258647,
1.4: 1.97398164,
1.5: 1.67008065,
1.6: 1.63189593,
1.7: 1.51506763,
1.8: 1.48594030,
1.9: 1.40500060,
2.0: 1.35613988,
2.1: 1.30626513,
2.2: 1.30626513,
2.3: 1.25470102,
2.4: 1.23979656,
2.5: 1.19249904,
2.6: 1.18458214,
2.7: 1.14345899,
2.8: 1.12199877,
2.9: 1.10924699,
3.0: 1.14791169,
3.1: 1.15693786,
3.2: 1.06977760,
3.3: 1.02518334,
3.4: 1.11537790,
3.5: 1.11127232,
3.6: 1.04328656,
3.7: 1.07179793,
3.8: 1.10400989,
3.9: 1.07342487,
4.0: 1.10219356,
4.1: 1.00121974,
},
),
det = device('nicos.devices.generic.Detector',
description = 'combined four channel single counter detector',
timers = ['timer'],
monitors = ['mon1', 'mon2', 'mon1_c'],
counters = ['det1', 'det2'],
# counters = ['det2'],
postprocess = [('mon1_c', 'mon1')],
maxage = 1,
pollinterval = 1,
),
)
startupcode = '''
SetDetectors(det)
'''
| description = 'detectors'
group = 'lowlevel'
display_order = 70
excludes = ['qmesydaq']
tango_base = 'tango://phys.panda.frm2:10000/panda/'
devices = dict(timer=device('nicos.devices.entangle.TimerChannel', tangodevice=tango_base + 'frmctr2/timer', visibility=()), mon1=device('nicos.devices.entangle.CounterChannel', tangodevice=tango_base + 'frmctr2/mon1', type='monitor', fmtstr='%d', visibility=()), mon2=device('nicos.devices.entangle.CounterChannel', tangodevice=tango_base + 'frmctr2/mon2', type='monitor', fmtstr='%d', visibility=()), det1=device('nicos.devices.entangle.CounterChannel', tangodevice=tango_base + 'frmctr2/det1', type='counter', fmtstr='%d', visibility=()), det2=device('nicos.devices.entangle.CounterChannel', tangodevice=tango_base + 'frmctr2/det2', type='counter', fmtstr='%d', visibility=()), mon1_c=device('nicos.devices.tas.OrderCorrectedMonitor', description='Monitor corrected for higher-order influence', ki='ki', mapping={1.2: 3.40088101, 1.3: 2.20258647, 1.4: 1.97398164, 1.5: 1.67008065, 1.6: 1.63189593, 1.7: 1.51506763, 1.8: 1.4859403, 1.9: 1.4050006, 2.0: 1.35613988, 2.1: 1.30626513, 2.2: 1.30626513, 2.3: 1.25470102, 2.4: 1.23979656, 2.5: 1.19249904, 2.6: 1.18458214, 2.7: 1.14345899, 2.8: 1.12199877, 2.9: 1.10924699, 3.0: 1.14791169, 3.1: 1.15693786, 3.2: 1.0697776, 3.3: 1.02518334, 3.4: 1.1153779, 3.5: 1.11127232, 3.6: 1.04328656, 3.7: 1.07179793, 3.8: 1.10400989, 3.9: 1.07342487, 4.0: 1.10219356, 4.1: 1.00121974}), det=device('nicos.devices.generic.Detector', description='combined four channel single counter detector', timers=['timer'], monitors=['mon1', 'mon2', 'mon1_c'], counters=['det1', 'det2'], postprocess=[('mon1_c', 'mon1')], maxage=1, pollinterval=1))
startupcode = '\nSetDetectors(det)\n' |
expected_output = {
"key_chains": {
"bla": {
"keys": {
1: {
"accept_lifetime": {
"end": "always valid",
"is_valid": True,
"start": "always valid",
},
"key_string": "cisco123",
"send_lifetime": {
"end": "always valid",
"is_valid": True,
"start": "always valid",
},
},
2: {
"accept_lifetime": {
"end": "06:01:00 UTC Jan 1 2010",
"is_valid": False,
"start": "10:10:10 UTC Jan 1 2002",
},
"key_string": "blabla",
"send_lifetime": {
"end": "06:01:00 UTC Jan 1 2010",
"is_valid": False,
"start": "10:10:10 UTC Jan 1 2002",
},
},
},
},
"cisco": {
"keys": {
1: {
"accept_lifetime": {
"end": "infinite",
"is_valid": True,
"start": "11:11:11 UTC Mar 1 2001",
},
"key_string": "cisco123",
"send_lifetime": {
"end": "infinite",
"is_valid": True,
"start": "11:11:11 UTC Mar 1 2001",
},
},
2: {
"accept_lifetime": {
"end": "22:11:11 UTC Dec 20 2030",
"is_valid": True,
"start": "11:22:11 UTC Jan 1 2001",
},
"key_string": "cisco234",
"send_lifetime": {
"end": "always valid",
"is_valid": True,
"start": "always valid",
},
},
3: {
"accept_lifetime": {
"end": "always valid",
"is_valid": True,
"start": "always valid",
},
"key_string": "cisco",
"send_lifetime": {
"end": "always valid",
"is_valid": True,
"start": "always valid",
},
},
},
},
},
}
| expected_output = {'key_chains': {'bla': {'keys': {1: {'accept_lifetime': {'end': 'always valid', 'is_valid': True, 'start': 'always valid'}, 'key_string': 'cisco123', 'send_lifetime': {'end': 'always valid', 'is_valid': True, 'start': 'always valid'}}, 2: {'accept_lifetime': {'end': '06:01:00 UTC Jan 1 2010', 'is_valid': False, 'start': '10:10:10 UTC Jan 1 2002'}, 'key_string': 'blabla', 'send_lifetime': {'end': '06:01:00 UTC Jan 1 2010', 'is_valid': False, 'start': '10:10:10 UTC Jan 1 2002'}}}}, 'cisco': {'keys': {1: {'accept_lifetime': {'end': 'infinite', 'is_valid': True, 'start': '11:11:11 UTC Mar 1 2001'}, 'key_string': 'cisco123', 'send_lifetime': {'end': 'infinite', 'is_valid': True, 'start': '11:11:11 UTC Mar 1 2001'}}, 2: {'accept_lifetime': {'end': '22:11:11 UTC Dec 20 2030', 'is_valid': True, 'start': '11:22:11 UTC Jan 1 2001'}, 'key_string': 'cisco234', 'send_lifetime': {'end': 'always valid', 'is_valid': True, 'start': 'always valid'}}, 3: {'accept_lifetime': {'end': 'always valid', 'is_valid': True, 'start': 'always valid'}, 'key_string': 'cisco', 'send_lifetime': {'end': 'always valid', 'is_valid': True, 'start': 'always valid'}}}}}} |
# Challenge 3 : Write a function called delete_starting_evens() that has a parameter named lst.
# The function should remove elements from the front of lst until the front of the list is not even.
# The function should then return lst.
# Date : Sun 07 Jun 2020 07:21:17 AM IST
def delete_starting_evens(lst):
while len(lst) != 0 and lst[0] % 2 == 0:
del lst[0]
return lst
print(delete_starting_evens([4, 8, 10, 11, 12, 15]))
print(delete_starting_evens([4, 8, 10]))
| def delete_starting_evens(lst):
while len(lst) != 0 and lst[0] % 2 == 0:
del lst[0]
return lst
print(delete_starting_evens([4, 8, 10, 11, 12, 15]))
print(delete_starting_evens([4, 8, 10])) |
def test(n):
i = 0
res = 0
while i < n:
i = i + 1
print(res)
test(100)
| def test(n):
i = 0
res = 0
while i < n:
i = i + 1
print(res)
test(100) |
# Online Python compiler (interpreter) to run Python online.
# Write Python 3 code in this online editor and run it.
vegetables = ["rucula", "tomate", "lechuga", "acelga"];
print(vegetables);
print(len(vegetables));
print(str(type(vegetables)));
print('-'*10);
print(vegetables[0]); # Elemento 0
print(vegetables[1:]) # Primer elemento en adelante
print(vegetables[2:]) # Segundo elemento en adelante
print(vegetables[0:10000]) # Python es magico y anda
print(vegetables[:]) # Copia todos los elementos en memoria ponele
print(vegetables[1:3][::-1]) # Invierte la lista
print('-'*10);
vegetables.append("berenjena") # Agrega a la lista
other_vegetables = ["brocoli", "coliflor", "lechuga"];
print(vegetables + other_vegetables);
vegetables.extend(other_vegetables);
print(vegetables);
print('-'*10);
a = [*vegetables, *other_vegetables];
print(a);
b = [vegetables, other_vegetables];
print(b);
c = ["d", *vegetables[1:3], "f", *other_vegetables]
print(c);
print('-'*10);
for vegetable in vegetables:
print(vegetable);
print('-'*10);
print(vegetables.pop());
print(vegetables.pop());
print(vegetables.pop());
print(vegetables.pop(0));
print(vegetables);
vegetables.remove("acelga");
print(vegetables);
print('-'*10);
new_list = vegetables; # Referencia
vegetables.append("acelga");
print(vegetables == new_list, vegetables, new_list)
print(id(vegetables), id(new_list));
new_list = vegetables[:]; # Copia
new_list.pop();
print(vegetables == new_list, vegetables, new_list)
print(id(vegetables), id(new_list));
# Otras formas copia lista
# new_list = vegetables.copy();
# new_list = list(vegetables);
# new_list = [+vegetables];
| vegetables = ['rucula', 'tomate', 'lechuga', 'acelga']
print(vegetables)
print(len(vegetables))
print(str(type(vegetables)))
print('-' * 10)
print(vegetables[0])
print(vegetables[1:])
print(vegetables[2:])
print(vegetables[0:10000])
print(vegetables[:])
print(vegetables[1:3][::-1])
print('-' * 10)
vegetables.append('berenjena')
other_vegetables = ['brocoli', 'coliflor', 'lechuga']
print(vegetables + other_vegetables)
vegetables.extend(other_vegetables)
print(vegetables)
print('-' * 10)
a = [*vegetables, *other_vegetables]
print(a)
b = [vegetables, other_vegetables]
print(b)
c = ['d', *vegetables[1:3], 'f', *other_vegetables]
print(c)
print('-' * 10)
for vegetable in vegetables:
print(vegetable)
print('-' * 10)
print(vegetables.pop())
print(vegetables.pop())
print(vegetables.pop())
print(vegetables.pop(0))
print(vegetables)
vegetables.remove('acelga')
print(vegetables)
print('-' * 10)
new_list = vegetables
vegetables.append('acelga')
print(vegetables == new_list, vegetables, new_list)
print(id(vegetables), id(new_list))
new_list = vegetables[:]
new_list.pop()
print(vegetables == new_list, vegetables, new_list)
print(id(vegetables), id(new_list)) |
class DashboardMixin(object):
def getTitle(self):
raise NotImplementedError("You must override this method in a child class.")
def getContent(self):
raise NotImplementedError("You must override this method in a child class.")
| class Dashboardmixin(object):
def get_title(self):
raise not_implemented_error('You must override this method in a child class.')
def get_content(self):
raise not_implemented_error('You must override this method in a child class.') |
class Solution:
def getSmallestString(self, n: int, k: int) -> str:
def toChar(n):
return chr(97 + n - 1)
ans = [''] * n
i = 0
while i < n:
# how many spaces left to fill?
left = n - i
if k < left:
# you got `left` spaces to fill,
# but k is not enough
# won't happen with a valid input
pass
if k - 26 < (left - 1):
# if you subtract 26 from k,
# there won't be enough k to
# fill the remaining spaces.
# subtract just enough so that
# the remaining spaces can be filled
# with just a's
# k - x = left - 1
ans[i] = toChar(k - (left - 1))
i += 1
while i < n:
ans[i] = 'a'
i += 1
break
ans[i] = 'z'
k -= 26
i += 1
return ''.join(ans)[::-1]
| class Solution:
def get_smallest_string(self, n: int, k: int) -> str:
def to_char(n):
return chr(97 + n - 1)
ans = [''] * n
i = 0
while i < n:
left = n - i
if k < left:
pass
if k - 26 < left - 1:
ans[i] = to_char(k - (left - 1))
i += 1
while i < n:
ans[i] = 'a'
i += 1
break
ans[i] = 'z'
k -= 26
i += 1
return ''.join(ans)[::-1] |
def version():
if __grains__['os'] == 'eos':
res = __salt__['napalm.pyeapi_run_commands']('show version')
return res[0]['version']
else:
return 'Not supported on this platform'
def model():
if __grains__['os'] == 'eos':
res = __salt__['napalm.pyeapi_run_commands']('show version')
return res[0]['modelName']
else:
return 'Not supported on this platform' | def version():
if __grains__['os'] == 'eos':
res = __salt__['napalm.pyeapi_run_commands']('show version')
return res[0]['version']
else:
return 'Not supported on this platform'
def model():
if __grains__['os'] == 'eos':
res = __salt__['napalm.pyeapi_run_commands']('show version')
return res[0]['modelName']
else:
return 'Not supported on this platform' |
class digested_sequence:
def __init__(ds, sticky0, sticky1, sequence):
# Both sticky ends (left and right, respectively) encoded based on sticky stranded alphabet with respect to top sequence.
ds.sticky0 = sticky0
ds.sticky1 = sticky1
# Top sequence between two sticky ends
ds.sequence = sequence
| class Digested_Sequence:
def __init__(ds, sticky0, sticky1, sequence):
ds.sticky0 = sticky0
ds.sticky1 = sticky1
ds.sequence = sequence |
class Publication:
def __init__(self, title, price):
self.title = title
self.price = price
class Periodical(Publication):
def __init__(self, title, publisher, price, period):
Publication.__init__(self, title, price)
self.period = period
self.publisher = publisher
class Book(Publication):
def __init__(self, title, author, pages, price):
Publication.__init__(self, title, price)
self.author = author
self.pages = pages
class Magazine(Periodical):
def __init__(self, title, publisher, price, period):
Periodical.__init__(self, title, publisher, price, period)
class Newspaper(Periodical):
def __init__(self, title, publisher, price, period):
Periodical.__init__(self, title, publisher, price, period)
b1 = Book("Brave New World", "Aldous Huxley", 311, 29.0)
n1 = Newspaper("NY Times", "New York Times Company", 6.0, "Daily")
m1 = Magazine("Scientific American", "Springer Nature", 5.99, "Monthly")
# print(b1.author)
# print(n1.publisher)
# print(b1.price, m1.price, n1.price)
print(isinstance(b1, Book)) # True
print(isinstance(b1, Newspaper)) # False
print(isinstance(b1, Publication)) # T/F?
print(isinstance(m1, Magazine)) # True
print(isinstance(m1, Periodical)) # True
print(isinstance(m1, Publication)) # True
p1 = Periodical("Scientific American", "Springer Nature", 5.99, "Monthly")
print(isinstance(p1, Magazine), "isinstance(p1, Magazine)") # T/F? F
print(isinstance(p1, Publication), "isinstance(p1, Publication)") # T/F? T
print(isinstance(p1, Periodical), "isinstance(p1, Periodical)") # T/F? T | class Publication:
def __init__(self, title, price):
self.title = title
self.price = price
class Periodical(Publication):
def __init__(self, title, publisher, price, period):
Publication.__init__(self, title, price)
self.period = period
self.publisher = publisher
class Book(Publication):
def __init__(self, title, author, pages, price):
Publication.__init__(self, title, price)
self.author = author
self.pages = pages
class Magazine(Periodical):
def __init__(self, title, publisher, price, period):
Periodical.__init__(self, title, publisher, price, period)
class Newspaper(Periodical):
def __init__(self, title, publisher, price, period):
Periodical.__init__(self, title, publisher, price, period)
b1 = book('Brave New World', 'Aldous Huxley', 311, 29.0)
n1 = newspaper('NY Times', 'New York Times Company', 6.0, 'Daily')
m1 = magazine('Scientific American', 'Springer Nature', 5.99, 'Monthly')
print(isinstance(b1, Book))
print(isinstance(b1, Newspaper))
print(isinstance(b1, Publication))
print(isinstance(m1, Magazine))
print(isinstance(m1, Periodical))
print(isinstance(m1, Publication))
p1 = periodical('Scientific American', 'Springer Nature', 5.99, 'Monthly')
print(isinstance(p1, Magazine), 'isinstance(p1, Magazine)')
print(isinstance(p1, Publication), 'isinstance(p1, Publication)')
print(isinstance(p1, Periodical), 'isinstance(p1, Periodical)') |
def configurations():
return {
"components": {
"kvstore": False,
"web": True,
"indexing": False,
"dmc": True
}
} | def configurations():
return {'components': {'kvstore': False, 'web': True, 'indexing': False, 'dmc': True}} |
#!/bin/python3
if __name__ == '__main__':
n = int(input())
english = list(map(int, input().split(' ')))
b = int(input())
french = list(map(int, input().split(' ')))
students = set(english).difference(french)
print(len(students))
| if __name__ == '__main__':
n = int(input())
english = list(map(int, input().split(' ')))
b = int(input())
french = list(map(int, input().split(' ')))
students = set(english).difference(french)
print(len(students)) |
class Ssh:
def __init__(self,user,server,port,mode):
self.user=user
self.server=server
self.port=port
self.mode=mode
@classmethod
def fromconfig(cls, config):
propbag={}
for key, item in config:
if key.strip()[0] == ";":
continue
propbag[key]=item
return cls(propbag['user'],propbag['server'],propbag['port'],propbag['mode'])
def get_command(self):
if self.mode==0:
return ""
return "ssh {}@{}".format(self.user,self.server)
def get_option(self):
if self.mode==0:
return []
return ["ssh","-p",""+self.port,"-l",self.user]
def get_server(self):
return self.server | class Ssh:
def __init__(self, user, server, port, mode):
self.user = user
self.server = server
self.port = port
self.mode = mode
@classmethod
def fromconfig(cls, config):
propbag = {}
for (key, item) in config:
if key.strip()[0] == ';':
continue
propbag[key] = item
return cls(propbag['user'], propbag['server'], propbag['port'], propbag['mode'])
def get_command(self):
if self.mode == 0:
return ''
return 'ssh {}@{}'.format(self.user, self.server)
def get_option(self):
if self.mode == 0:
return []
return ['ssh', '-p', '' + self.port, '-l', self.user]
def get_server(self):
return self.server |
def extractLizonkanovelsWordpressCom(item):
'''
Parser for 'lizonkanovels.wordpress.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('bestial blade by priest', 'bestial blade', 'translated'),
('creatures of habit by meat in the shell', 'creatures of habit', 'translated'),
('seal cultivation for self-improvement by mo xiao xian', 'seal cultivation for self-improvement', 'translated'),
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous', 'oel'),
]
for tagname, name, tl_type in tagmap:
if tagname in item['tags']:
return buildReleaseMessageWithType(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False | def extract_lizonkanovels_wordpress_com(item):
"""
Parser for 'lizonkanovels.wordpress.com'
"""
(vol, chp, frag, postfix) = extract_vol_chapter_fragment_postfix(item['title'])
if not (chp or vol) or 'preview' in item['title'].lower():
return None
tagmap = [('bestial blade by priest', 'bestial blade', 'translated'), ('creatures of habit by meat in the shell', 'creatures of habit', 'translated'), ('seal cultivation for self-improvement by mo xiao xian', 'seal cultivation for self-improvement', 'translated'), ('PRC', 'PRC', 'translated'), ('Loiterous', 'Loiterous', 'oel')]
for (tagname, name, tl_type) in tagmap:
if tagname in item['tags']:
return build_release_message_with_type(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False |
def debug( content ):
print( "[*] " + str(content) , flush=True)
def bad( content ):
print( "[-] " + str(content) , flush=True)
def good( content ):
print( "[+] " + str(content) , flush=True)
# sample output:
# [*] Gimme yo money
# [-] Money taken by chad.
# [+] Chad receives the money.
| def debug(content):
print('[*] ' + str(content), flush=True)
def bad(content):
print('[-] ' + str(content), flush=True)
def good(content):
print('[+] ' + str(content), flush=True) |
# API Error Codes
AUTHORIZATION_FAILED = 5 # Invalid access token
PERMISSION_IS_DENIED = 7
CAPTCHA_IS_NEEDED = 14
ACCESS_DENIED = 15 # No access to call this method
INVALID_USER_ID = 113 # User deactivated
class VkException(Exception):
pass
class VkAuthError(VkException):
pass
class VkAPIError(VkException):
__slots__ = ['error', 'code', 'message', 'request_params', 'redirect_uri']
CAPTCHA_NEEDED = 14
ACCESS_DENIED = 15
def __init__(self, error_data):
super(VkAPIError, self).__init__()
self.error_data = error_data
self.code = error_data.get('error_code')
self.message = error_data.get('error_msg')
self.request_params = self.get_pretty_request_params(error_data)
self.redirect_uri = error_data.get('redirect_uri')
@staticmethod
def get_pretty_request_params(error_data):
request_params = error_data.get('request_params', ())
request_params = {param['key']: param['value'] for param in request_params}
return request_params
def is_access_token_incorrect(self):
return self.code == self.ACCESS_DENIED and 'access_token' in self.message
def is_captcha_needed(self):
return self.code == self.CAPTCHA_NEEDED
@property
def captcha_sid(self):
return self.error_data.get('captcha_sid')
@property
def captcha_img(self):
return self.error_data.get('captcha_img')
def __str__(self):
error_message = '{self.code}. {self.message}. request_params = {self.request_params}'.format(self=self)
if self.redirect_uri:
error_message += ',\nredirect_uri = "{self.redirect_uri}"'.format(self=self)
return error_message
| authorization_failed = 5
permission_is_denied = 7
captcha_is_needed = 14
access_denied = 15
invalid_user_id = 113
class Vkexception(Exception):
pass
class Vkautherror(VkException):
pass
class Vkapierror(VkException):
__slots__ = ['error', 'code', 'message', 'request_params', 'redirect_uri']
captcha_needed = 14
access_denied = 15
def __init__(self, error_data):
super(VkAPIError, self).__init__()
self.error_data = error_data
self.code = error_data.get('error_code')
self.message = error_data.get('error_msg')
self.request_params = self.get_pretty_request_params(error_data)
self.redirect_uri = error_data.get('redirect_uri')
@staticmethod
def get_pretty_request_params(error_data):
request_params = error_data.get('request_params', ())
request_params = {param['key']: param['value'] for param in request_params}
return request_params
def is_access_token_incorrect(self):
return self.code == self.ACCESS_DENIED and 'access_token' in self.message
def is_captcha_needed(self):
return self.code == self.CAPTCHA_NEEDED
@property
def captcha_sid(self):
return self.error_data.get('captcha_sid')
@property
def captcha_img(self):
return self.error_data.get('captcha_img')
def __str__(self):
error_message = '{self.code}. {self.message}. request_params = {self.request_params}'.format(self=self)
if self.redirect_uri:
error_message += ',\nredirect_uri = "{self.redirect_uri}"'.format(self=self)
return error_message |
def read_ims_legacy(name):
data = {}
dls = []
#should read in .tex file
infile = open(name + ".tex")
instring = infile.read()
##instring = instring.replace(':description',' :citation') ## to be deprecated soon
instring = unicode(instring,'utf-8')
meta = {}
metatxt = instring.split('::')[1]
meta['record_txt'] = '::' + metatxt.strip() + '\n\n'
meta['bibtype'],rest= metatxt.split(None,1)
meta['id'],rest= rest.split(None,1)
rest = '\n' + rest.strip()
secs = rest.split('\n:')[1:]
for sec in secs:
k,v = sec.split(None,1)
meta[k] = v
data['metadata'] = meta
for x in instring.split('::person')[1:]:
x = x.split('\n::')[0]
d = {}
d['record_txt'] = '::person ' + x.strip() + '\n'
lines = d['record_txt'].split('\n')
lines = [line for line in lines if not line.find('Email') >= 0 ]
pubrecord = '\n'.join(lines) + '\n'
d['public_record_txt'] = break_txt(pubrecord,80)
secs = x.split('\n:')
toplines = secs[0].strip()
d['id'], toplines = toplines.split(None,1)
try: name,toplines = toplines.split('\n',1)
except:
name = toplines
toplines = ''
d['complete_name'] = name
#d['link_lines'] = toplines
d['link_ls'] = lines2link_ls(toplines)
for sec in secs[1:]:
words = sec.split()
key = words[0]
if len(words) > 1:
val = sec.split(None,1)[1] ## keep newlines
else: val = ''
if d.has_key(key): d[key] += [val]
else: d[key] = [val]
d['Honor'] = [ read_honor(x) for x in d.get('Honor',[]) ]
d['Degree'] = [ read_degree(x) for x in d.get('Degree',[]) ]
d['Education'] = [ read_education(x) for x in d.get('Education',[]) ]
d['Service'] = [ read_service(x) for x in d.get('Service',[]) ]
d['Position'] = [ read_position(x) for x in d.get('Position',[]) ]
d['Member'] = [ read_member(x) for x in d.get('Member',[]) ]
d['Image'] = [ read_image(x) for x in d.get('Image',[]) ]
d['Homepage'] = [ read_homepage(x) for x in d.get('Homepage',[]) ]
for k in bio_cat_order:
#d['Biography'] = [ read_bio(x) for x in d.get('Biography',[]) ]
d[k] = [ read_bio(x) for x in d.get(k,[]) ]
dls += [d]
links_txt = instring.split('::links',1)[1].split('\n::')[0]
data['link_ls'] = links_txt2ls(links_txt)
data['records'] = dls
books = instring.split('::book')[1:]
book_dict = {}
for b in books:
b = 'book' + b
d = read_book(b)
del d['top_line']
book_dict[ d['id'] ] = d
data['books'] = book_dict
links_txt = instring.split('::links',1)[1].split('\n::')[0]
data['link_ls'] = links_txt2ls(links_txt)
return data | def read_ims_legacy(name):
data = {}
dls = []
infile = open(name + '.tex')
instring = infile.read()
instring = unicode(instring, 'utf-8')
meta = {}
metatxt = instring.split('::')[1]
meta['record_txt'] = '::' + metatxt.strip() + '\n\n'
(meta['bibtype'], rest) = metatxt.split(None, 1)
(meta['id'], rest) = rest.split(None, 1)
rest = '\n' + rest.strip()
secs = rest.split('\n:')[1:]
for sec in secs:
(k, v) = sec.split(None, 1)
meta[k] = v
data['metadata'] = meta
for x in instring.split('::person')[1:]:
x = x.split('\n::')[0]
d = {}
d['record_txt'] = '::person ' + x.strip() + '\n'
lines = d['record_txt'].split('\n')
lines = [line for line in lines if not line.find('Email') >= 0]
pubrecord = '\n'.join(lines) + '\n'
d['public_record_txt'] = break_txt(pubrecord, 80)
secs = x.split('\n:')
toplines = secs[0].strip()
(d['id'], toplines) = toplines.split(None, 1)
try:
(name, toplines) = toplines.split('\n', 1)
except:
name = toplines
toplines = ''
d['complete_name'] = name
d['link_ls'] = lines2link_ls(toplines)
for sec in secs[1:]:
words = sec.split()
key = words[0]
if len(words) > 1:
val = sec.split(None, 1)[1]
else:
val = ''
if d.has_key(key):
d[key] += [val]
else:
d[key] = [val]
d['Honor'] = [read_honor(x) for x in d.get('Honor', [])]
d['Degree'] = [read_degree(x) for x in d.get('Degree', [])]
d['Education'] = [read_education(x) for x in d.get('Education', [])]
d['Service'] = [read_service(x) for x in d.get('Service', [])]
d['Position'] = [read_position(x) for x in d.get('Position', [])]
d['Member'] = [read_member(x) for x in d.get('Member', [])]
d['Image'] = [read_image(x) for x in d.get('Image', [])]
d['Homepage'] = [read_homepage(x) for x in d.get('Homepage', [])]
for k in bio_cat_order:
d[k] = [read_bio(x) for x in d.get(k, [])]
dls += [d]
links_txt = instring.split('::links', 1)[1].split('\n::')[0]
data['link_ls'] = links_txt2ls(links_txt)
data['records'] = dls
books = instring.split('::book')[1:]
book_dict = {}
for b in books:
b = 'book' + b
d = read_book(b)
del d['top_line']
book_dict[d['id']] = d
data['books'] = book_dict
links_txt = instring.split('::links', 1)[1].split('\n::')[0]
data['link_ls'] = links_txt2ls(links_txt)
return data |
first_line = input().split()
second_line = input().split()
third_line = input().split()
board_list = [
first_line,
second_line,
third_line
]
first = '1'
second = '2'
empty = '0'
first_win = [first] * 3
second_win = [second] * 3
is_first_player = False
is_second_player = False
diagonals = [
board_list[0][0], board_list[1][1], board_list[2][2],
board_list[0][2], board_list[1][1], board_list[2][0]
]
columns = [
board_list[0][0], board_list[1][0], board_list[2][0],
board_list[0][1], board_list[1][1], board_list[2][1],
board_list[0][2], board_list[1][2], board_list[2][2],
]
for i in range(8):
if first_line == first_win or second_line == first_win or third_line == first_win:
is_first_player = True
break
if diagonals[:3] == first_win or diagonals[3:] == first_win:
is_first_player = True
break
if columns[:3] == first_win or columns[3:6] == first_win or columns[6:] == first_win:
is_first_player = True
break
if first_line == second_win or second_line == second_win or third_line == second_win:
is_second_player = True
break
if diagonals[:3] == second_win or diagonals[3:] == second_win:
is_second_player = True
break
if columns[:3] == second_win or columns[3:6] == second_win or columns[6:] == second_win:
is_second_player = True
break
if is_first_player:
message = 'First player won'
elif is_second_player:
message = 'Second player won'
else:
message = 'Draw!'
print(message)
| first_line = input().split()
second_line = input().split()
third_line = input().split()
board_list = [first_line, second_line, third_line]
first = '1'
second = '2'
empty = '0'
first_win = [first] * 3
second_win = [second] * 3
is_first_player = False
is_second_player = False
diagonals = [board_list[0][0], board_list[1][1], board_list[2][2], board_list[0][2], board_list[1][1], board_list[2][0]]
columns = [board_list[0][0], board_list[1][0], board_list[2][0], board_list[0][1], board_list[1][1], board_list[2][1], board_list[0][2], board_list[1][2], board_list[2][2]]
for i in range(8):
if first_line == first_win or second_line == first_win or third_line == first_win:
is_first_player = True
break
if diagonals[:3] == first_win or diagonals[3:] == first_win:
is_first_player = True
break
if columns[:3] == first_win or columns[3:6] == first_win or columns[6:] == first_win:
is_first_player = True
break
if first_line == second_win or second_line == second_win or third_line == second_win:
is_second_player = True
break
if diagonals[:3] == second_win or diagonals[3:] == second_win:
is_second_player = True
break
if columns[:3] == second_win or columns[3:6] == second_win or columns[6:] == second_win:
is_second_player = True
break
if is_first_player:
message = 'First player won'
elif is_second_player:
message = 'Second player won'
else:
message = 'Draw!'
print(message) |
try:
count = int(input("Give me a number: "))
except ValueError:
print("That's not a number!")
else:
print("Hi " * count) | try:
count = int(input('Give me a number: '))
except ValueError:
print("That's not a number!")
else:
print('Hi ' * count) |
x = int(input())
dentro = fora = 0
for y in range(0, x, 1):
num = int(input())
if num >= 10 and num <= 20:
dentro += 1
else:
fora += 1;
print('{} in'.format(dentro))
print('{} out'.format(fora)) | x = int(input())
dentro = fora = 0
for y in range(0, x, 1):
num = int(input())
if num >= 10 and num <= 20:
dentro += 1
else:
fora += 1
print('{} in'.format(dentro))
print('{} out'.format(fora)) |
#
# PySNMP MIB module NNCFRINTSTATISTICS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NNCFRINTSTATISTICS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:23:02 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
NncExtIntvlStateType, = mibBuilder.importSymbols("NNC-INTERVAL-STATISTICS-TC-MIB", "NncExtIntvlStateType")
nncExtensions, NncExtCounter64 = mibBuilder.importSymbols("NNCGNI0001-SMI", "nncExtensions", "NncExtCounter64")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
TimeTicks, Integer32, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ObjectIdentity, Unsigned32, ModuleIdentity, MibIdentifier, NotificationType, Bits, Counter64, iso, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "Integer32", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ObjectIdentity", "Unsigned32", "ModuleIdentity", "MibIdentifier", "NotificationType", "Bits", "Counter64", "iso", "Gauge32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
nncFrIntStatistics = ModuleIdentity((1, 3, 6, 1, 4, 1, 123, 3, 30))
if mibBuilder.loadTexts: nncFrIntStatistics.setLastUpdated('9803031200Z')
if mibBuilder.loadTexts: nncFrIntStatistics.setOrganization('Newbridge Networks Corporation')
if mibBuilder.loadTexts: nncFrIntStatistics.setContactInfo('Newbridge Networks Corporation Postal: 600 March Road Kanata, Ontario Canada K2K 2E6 Phone: +1 613 591 3600 Fax: +1 613 591 3680')
if mibBuilder.loadTexts: nncFrIntStatistics.setDescription('This module contains definitions for performance monitoring of Frame Relay Streams')
nncFrIntStatisticsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 1))
nncFrIntStatisticsTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 2))
nncFrIntStatisticsGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 3))
nncFrIntStatisticsCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 4))
nncFrStrStatCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1), )
if mibBuilder.loadTexts: nncFrStrStatCurrentTable.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentTable.setDescription('The nncFrStrStatCurrentTable contains objects for monitoring the performance of a frame relay stream during the current 1hr interval.')
nncFrStrStatCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: nncFrStrStatCurrentEntry.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentEntry.setDescription('An entry in the 1hr current statistics table. Each conceptual row contains current interval statistics for a particular frame relay stream.')
nncFrStrStatCurrentState = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 1), NncExtIntvlStateType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentState.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentState.setDescription('The state of the current interval. The object provides a status for those entries which have been reset by the user or have been subject to a wall-clock time change.')
nncFrStrStatCurrentAbsoluteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nncFrStrStatCurrentInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 3), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInOctets.setDescription('Number of bytes received on this stream.')
nncFrStrStatCurrentOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 4), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutOctets.setDescription('Number of bytes transmitted on this stream.')
nncFrStrStatCurrentInUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 5), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInUCastPackets.setDescription('Number of unerrored, unicast frames received.')
nncFrStrStatCurrentOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 6), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted.')
nncFrStrStatCurrentInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 7), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscards.setDescription('Number of incoming frames discarded due to these reasons: policing, congestion.')
nncFrStrStatCurrentOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 8), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscards.setDescription('Number of outgoing frames discarded due to these reasons: policing, congestion.')
nncFrStrStatCurrentInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 9), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInErrors.setDescription('Number of incoming frames discarded due to errors: invalid lengths, non-integral bytes, CRC errors, bad encapsulation, invalid EA, reserved DLCI')
nncFrStrStatCurrentOutErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 10), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutErrors.setDescription('Number of outgoing frames discarded due to errors: eg. bad encapsulation.')
nncFrStrStatCurrentSigUserProtErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 11), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentSigUserProtErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentSigUserProtErrors.setDescription('Number of user-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentSigNetProtErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 12), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentSigNetProtErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentSigNetProtErrors.setDescription('Number of network-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentSigUserLinkRelErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 13), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentSigUserLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentSigUserLinkRelErrors.setDescription('Number of user-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verifi- cation information element) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentSigNetLinkRelErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 14), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentSigNetLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentSigNetLinkRelErrors.setDescription('Number of network-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verification information element) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentSigUserChanInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 15), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentSigUserChanInactive.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentSigUserChanInactive.setDescription('Number of times the user-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentSigNetChanInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 16), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentSigNetChanInactive.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentSigNetChanInactive.setDescription('Number of times the network-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStSCAlarms = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStSCAlarms.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStSCAlarms.setDescription('Number of one second intervals for which the stream entered the severely congested state.')
nncFrStrStatCurrentStTimeSC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 18), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStTimeSC.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStTimeSC.setDescription("Period of time the stream was in the severely congested state during the current interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nncFrStrStatCurrentStMaxDurationRED = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStMaxDurationRED.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStMaxDurationRED.setDescription('Longest period of time the stream spent in the Red (severely congested) state, expressed in seconds.')
nncFrStrStatCurrentStMCAlarms = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStMCAlarms.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStMCAlarms.setDescription('Number of one second intervals for which the stream entered the mildly congested state.')
nncFrStrStatCurrentStTimeMC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 21), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStTimeMC.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStTimeMC.setDescription("Period of time the stream was in the mildly congested state during the current interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nncFrStrStatCurrentOutLinkUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 22), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutLinkUtilization.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutLinkUtilization.setDescription('The percentage utilization on the outgoing link during the current interval.')
nncFrStrStatCurrentInLinkUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 23), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInLinkUtilization.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInLinkUtilization.setDescription('The percentage utilization on the incoming link during the current interval.')
nncFrStrStatCurrentInInvdLength = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 24), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInInvdLength.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInInvdLength.setDescription('Number of frames discarded because there was no data in the frame, or because the frame exceeded the maximum allowed length.')
nncFrStrStatCurrentStLastErroredDLCI = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8388607))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLastErroredDLCI.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLastErroredDLCI.setDescription('DLCI of the most recent DLC to receive invalid frames on this frame stream.')
nncFrStrStatCurrentInDiscdOctetsCOS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 26), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdOctetsCOS.setDescription('Number of ingress bytes discarded due to receive Class-of-Service procedures.')
nncFrStrStatCurrentInDiscdCOSDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 27), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdCOSDESet.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was set.')
nncFrStrStatCurrentInDiscdCOSDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 28), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdCOSDEClr.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was not set.')
nncFrStrStatCurrentInDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 29), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdBadEncaps.setDescription('Number of ingress frames discarded due to having a bad RFC1490 encapsulation header.')
nncFrStrStatCurrentOutDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 30), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdBadEncaps.setDescription('Number of egress frames discarded due to having a bad RFC1483 encapsulation header.')
nncFrStrStatCurrentInDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 31), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdUnsupEncaps.setDescription('Number of ingress frames discarded due to having an unsupported RFC1490 encapsulation header.')
nncFrStrStatCurrentOutDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 32), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdUnsupEncaps.setDescription('Number of egress frames discarded due to having an unsupported RFC1483 encapsulation header.')
nncFrStrStatCurrentOutDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 33), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdDESet.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was set.')
nncFrStrStatCurrentOutDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 34), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutDiscdDEClr.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was not set.')
nncFrStrStatCurrentInDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 35), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdDESet.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was set.')
nncFrStrStatCurrentInDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 36), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInDiscdDEClr.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was not set.')
nncFrStrStatCurrentStLMSigInvldField = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 37), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldField.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldField.setDescription('Number of Status signalling frames with incorrect values for the Unnumbered Information Frame field, Protocol Discrimator field, or Call Reference Field.')
nncFrStrStatCurrentStLMSigUnsupMsgType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 38), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigUnsupMsgType.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigUnsupMsgType.setDescription('Number of Status signalling frames that are not a Status or Status Enquiry messsage (Unsupported message type).')
nncFrStrStatCurrentStLMSigInvldEID = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 39), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldEID.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldEID.setDescription('Number of Status signalling frames with an IEID that is not a Report Type IEID, Keep Alive Sequence IEID, or a PVC Status IEID.')
nncFrStrStatCurrentStLMSigInvldIELen = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 40), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldIELen.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldIELen.setDescription('Number of Status signalling frames with an IE length field size that does not conform with the Frame Relay status signalling protocol.')
nncFrStrStatCurrentStLMSigInvldRepType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 41), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldRepType.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigInvldRepType.setDescription('Number of Status signalling frames with a Report Type IE that were not a Full Report Type or a Keep Alive Confirmation.')
nncFrStrStatCurrentStLMSigFrmWithNoIEs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 42), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigFrmWithNoIEs.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMSigFrmWithNoIEs.setDescription('Number of Status signalling frames that terminate before the IE appears.')
nncFrStrStatCurrentStUserSequenceErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 43), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStUserSequenceErrs.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStUserSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Current Sequence Number. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStNetSequenceErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 44), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStNetSequenceErrs.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStNetSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Current Sequence Number. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMUTimeoutsnT1 = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 45), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUTimeoutsnT1.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUTimeoutsnT1.setDescription('Number of times the link integrity verification interval has been exceeded without receiving a Status message. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMUStatusMsgsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 46), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUStatusMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUStatusMsgsRcvd.setDescription('Number of Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMUStatusENQMsgsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 47), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUStatusENQMsgsSent.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUStatusENQMsgsSent.setDescription('Number of Status Enquiry messages sent. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMUAsyncStatusRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 48), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUAsyncStatusRcvd.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMUAsyncStatusRcvd.setDescription('Number of asynchronous Update Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMNTimeoutsnT2 = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 49), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNTimeoutsnT2.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNTimeoutsnT2.setDescription('Number of times the polling verification interval was exceeded without receivung a Keep Alive Sequence. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMNStatusMsgsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 50), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNStatusMsgsSent.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNStatusMsgsSent.setDescription('Number of Status messages sent. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMNStatusENQMsgsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 51), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNStatusENQMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNStatusENQMsgsRcvd.setDescription('Number of Status Enquiry messages received. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentStLMNAsyncStatusSent = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 52), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNAsyncStatusSent.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStLMNAsyncStatusSent.setDescription('Number of asynchronous Update Status messages transmitted. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatCurrentInCRCErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 53), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInCRCErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInCRCErrors.setDescription('Number of frames with an incorrect CRC-16 value.')
nncFrStrStatCurrentInNonIntegral = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 54), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInNonIntegral.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInNonIntegral.setDescription('Number of frames with a non-integral number of octets between the delimiting HDLC flags.')
nncFrStrStatCurrentInReservedDLCI = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 55), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInReservedDLCI.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInReservedDLCI.setDescription('Number of frames with a DLCI that cannot be assigned to user connections.')
nncFrStrStatCurrentInInvldEA = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 56), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInInvldEA.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInInvldEA.setDescription('Number of frames with the EA (extended address) bit incorrectly set.')
nncFrStrStatCurrentStFrmTooSmall = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 57), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStFrmTooSmall.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStFrmTooSmall.setDescription('Number of frames that are smaller than the allowed minimum size.')
nncFrStrStatCurrentInAborts = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 58), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInAborts.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInAborts.setDescription('Number of aborted frames.')
nncFrStrStatCurrentInSumOfDisagremnts = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 59), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInSumOfDisagremnts.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInSumOfDisagremnts.setDescription('Total number of frames discarded because: the frame relay UNI or ICI was unavailable to accept frame traffic, the frame had a DLCI not available for end-user connections, the DLCI was inactive, the frame exceeded the maximum configured frame length (but its length was legal within the frame relay protocol), the frame violated the configured address field size (but had a legal address field size with the frame relay protocol), or was an unexpected status signalling frame.')
nncFrStrStatCurrentInOverRuns = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 60), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentInOverRuns.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentInOverRuns.setDescription('Number of times the receiver was forced to overrun.')
nncFrStrStatCurrentOutUnderRuns = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 61), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentOutUnderRuns.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentOutUnderRuns.setDescription('Number of times the transmitter was forced to underrun.')
nncFrStrStatCurrentStIntervalDuration = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 62), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentStIntervalDuration.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentStIntervalDuration.setDescription('Duration of the statistics accumulation interval.')
nncFrStrStatCurrentBestEffortPeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 63), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortPeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Best Effort.')
nncFrStrStatCurrentCommittedPeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 64), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedPeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Committed Throughptut.')
nncFrStrStatCurrentLowDelayPeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 65), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayPeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Low Delay.')
nncFrStrStatCurrentRealTimePeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 66), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimePeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimePeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Real Time.')
nncFrStrStatCurrentBestEffortAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 67), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Best Effort. Combined with the Out Ucast Packets for service category Best Effort, the average delay per frame can be calculated.')
nncFrStrStatCurrentCommittedAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 68), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Committed Throughput. Combined with the Out Ucast Packets for service category Committed Throughput, the average delay per frame can be calculated.')
nncFrStrStatCurrentLowDelayAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 69), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Low Delay. Combined with the Out Ucast Packets for service category Low Delay, the average delay per frame can be calculated.')
nncFrStrStatCurrentRealTimeAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 70), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Real Time. Combined with the Out Ucast Packets for service category Real Time, the average delay per frame can be calculated.')
nncFrStrStatCurrentBestEffortOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 71), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Best Effort.')
nncFrStrStatCurrentCommittedOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 72), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Committed Throughput.')
nncFrStrStatCurrentLowDelayOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 73), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Low Delay.')
nncFrStrStatCurrentRealTimeOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 74), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Real Time.')
nncFrStrStatCurrentBestEffortUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 75), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Best Effort.')
nncFrStrStatCurrentCommittedUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 76), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Committed Throughput.')
nncFrStrStatCurrentLowDelayUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 77), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Low Delay.')
nncFrStrStatCurrentRealTimeUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 78), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, transmitted in service category Real Time.')
nncFrStrStatCurrentBestEffortDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 79), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentBestEffortDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Best Effort.')
nncFrStrStatCurrentCommittedDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 80), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentCommittedDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Committed Throughput.')
nncFrStrStatCurrentLowDelayDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 81), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentLowDelayDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Low Delay.')
nncFrStrStatCurrentRealTimeDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 82), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentRealTimeDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Real Time.')
nncFrStrStatIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2), )
if mibBuilder.loadTexts: nncFrStrStatIntervalTable.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalTable.setDescription('The nncFrStrStatIntervalTable contains objects for monitoring the performance of a frame relay stream over M historical intervals of 1hr each.')
nncFrStrStatIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalNumber"))
if mibBuilder.loadTexts: nncFrStrStatIntervalEntry.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalEntry.setDescription('An entry in the 1hr interval statistics table. Each conceptual row contains interval statistics for a par- ticular interval on a particular stream.')
nncFrStrStatIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96)))
if mibBuilder.loadTexts: nncFrStrStatIntervalNumber.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalNumber.setDescription('The interval number (N) of the statistics in this row.')
nncFrStrStatIntervalState = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 2), NncExtIntvlStateType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalState.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalState.setDescription('The state of the interval represented by this row. The object provides a status for those entries which have been reset by the user or subject to a wall-clock time change.')
nncFrStrStatIntervalAbsoluteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96)))
if mibBuilder.loadTexts: nncFrStrStatIntervalAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nncFrStrStatIntervalInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 4), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInOctets.setDescription('Number of bytes received on this stream.')
nncFrStrStatIntervalOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 5), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutOctets.setDescription('Number of bytes transmitted on this stream.')
nncFrStrStatIntervalInUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 6), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInUCastPackets.setDescription('Number of unerrored, unicast frames received.')
nncFrStrStatIntervalOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 7), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted.')
nncFrStrStatIntervalInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 8), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscards.setDescription('Number of incoming frames discarded due to these reasons: policing, congestion.')
nncFrStrStatIntervalOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 9), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscards.setDescription('Number of outgoing frames discarded due to these reasons: policing, congestion.')
nncFrStrStatIntervalInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 10), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInErrors.setDescription('Number of incoming frames discarded due to errors: eg. invalid lengths, non-integral bytes...')
nncFrStrStatIntervalOutErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 11), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutErrors.setDescription('Number of outgoing frames discarded due to errors: eg. bad encapsulation.')
nncFrStrStatIntervalSigUserProtErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 12), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalSigUserProtErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalSigUserProtErrors.setDescription('Number of user-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalSigNetProtErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 13), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalSigNetProtErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalSigNetProtErrors.setDescription('Number of network-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalSigUserLinkRelErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 14), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalSigUserLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalSigUserLinkRelErrors.setDescription('Number of user-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verifi- cation information element) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalSigNetLinkRelErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 15), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalSigNetLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalSigNetLinkRelErrors.setDescription('Number of network-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verification information element) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalSigUserChanInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 16), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalSigUserChanInactive.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalSigUserChanInactive.setDescription('Number of times the user-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalSigNetChanInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 17), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalSigNetChanInactive.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalSigNetChanInactive.setDescription('Number of times the network-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStSCAlarms = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStSCAlarms.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStSCAlarms.setDescription('Number of one second intervals for which the stream entered the severely congested state.')
nncFrStrStatIntervalStTimeSC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 19), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStTimeSC.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStTimeSC.setDescription("Period of time the stream was in the severely congested state during the designated interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nncFrStrStatIntervalStMaxDurationRED = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStMaxDurationRED.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStMaxDurationRED.setDescription('Longest period of time the stream spent in the Red (severely congested) state, expressed in seconds.')
nncFrStrStatIntervalStMCAlarms = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStMCAlarms.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStMCAlarms.setDescription('Number of one second intervals for which the stream entered the mildly congested state.')
nncFrStrStatIntervalStTimeMC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 22), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStTimeMC.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStTimeMC.setDescription("Period of time the stream was in the mildly congested state during the designated interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nncFrStrStatIntervalOutLinkUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 23), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutLinkUtilization.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutLinkUtilization.setDescription('The percentage utilization on the outgoing link during the designated interval.')
nncFrStrStatIntervalInLinkUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 24), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInLinkUtilization.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInLinkUtilization.setDescription('The percentage utilization on the incoming link during the designated interval.')
nncFrStrStatIntervalInInvdLength = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 25), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInInvdLength.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInInvdLength.setDescription('Number of frames discarded because there was no data in the frame, or because the frame exceeded the maximum allowed length.')
nncFrStrStatIntervalStLastErroredDLCI = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8388607))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLastErroredDLCI.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLastErroredDLCI.setDescription('DLCI of the most recent DLC to receive invalid frames on this frame stream.')
nncFrStrStatIntervalInDiscdOctetsCOS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 27), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdOctetsCOS.setDescription('Number of ingress bytes discarded due to receive Class-of-Service procedures.')
nncFrStrStatIntervalInDiscdCOSDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 28), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdCOSDESet.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was set.')
nncFrStrStatIntervalInDiscdCOSDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 29), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdCOSDEClr.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was not set.')
nncFrStrStatIntervalInDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 30), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdBadEncaps.setDescription('Number of ingress frames discarded due to having a bad RFC1490 encapsulation header.')
nncFrStrStatIntervalOutDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 31), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdBadEncaps.setDescription('Number of egress frames discarded due to having a bad RFC1483 encapsulation header.')
nncFrStrStatIntervalInDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 32), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdUnsupEncaps.setDescription('Number of ingress frames discarded due to having an unsupported RFC1490 encapsulation header.')
nncFrStrStatIntervalOutDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 33), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdUnsupEncaps.setDescription('Number of egress frames discarded due to having an unsupported RFC1483 encapsulation header.')
nncFrStrStatIntervalOutDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 34), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdDESet.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was set.')
nncFrStrStatIntervalOutDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 35), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutDiscdDEClr.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was not set.')
nncFrStrStatIntervalInDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 36), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdDESet.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was set.')
nncFrStrStatIntervalInDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 37), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInDiscdDEClr.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was not set.')
nncFrStrStatIntervalStLMSigInvldField = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 38), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldField.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldField.setDescription('Number of Status signalling frames with incorrect values for the Unnumbered Information Frame field, Protocol Discriminator field, or Call Reference Field.')
nncFrStrStatIntervalStLMSigUnsupMsgType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 39), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigUnsupMsgType.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigUnsupMsgType.setDescription('Number of Status signalling frames that are not a Status or Status Enquiry messsage (Unsupported message type).')
nncFrStrStatIntervalStLMSigInvldEID = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 40), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldEID.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldEID.setDescription('Number of Status signalling frames with an IEID that is not a Report Type IEID, Keep Alive Sequence IEID, or a PVC Status IEID.')
nncFrStrStatIntervalStLMSigInvldIELen = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 41), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldIELen.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldIELen.setDescription('Number of Status signalling frames with an IE length field size that does not conform with the Frame Relay status signalling protocol.')
nncFrStrStatIntervalStLMSigInvldRepType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 42), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldRepType.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigInvldRepType.setDescription('Number of Status signalling frames with a Report Type IE that were not a Full Report Type or a Keep Alive Confirmation.')
nncFrStrStatIntervalStLMSigFrmWithNoIEs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 43), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigFrmWithNoIEs.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMSigFrmWithNoIEs.setDescription('Number of Status signalling frames that terminate before the IE appears.')
nncFrStrStatIntervalStUserSequenceErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 44), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStUserSequenceErrs.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStUserSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Interval Sequence Number. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStNetSequenceErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 45), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStNetSequenceErrs.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStNetSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Interval Sequence Number. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMUTimeoutsnT1 = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 46), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUTimeoutsnT1.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUTimeoutsnT1.setDescription('Number of times the link integrity verification interval has been exceeded without receiving a Status message. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMUStatusMsgsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 47), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUStatusMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUStatusMsgsRcvd.setDescription('Number of Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMUStatusENQMsgsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 48), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUStatusENQMsgsSent.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUStatusENQMsgsSent.setDescription('Number of Status Enquiry messages sent. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMUAsyncStatusRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 49), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUAsyncStatusRcvd.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMUAsyncStatusRcvd.setDescription('Number of asynchronous Update Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMNTimeoutsnT2 = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 50), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNTimeoutsnT2.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNTimeoutsnT2.setDescription('Number of times the polling verification interval was exceeded without receivung a Keep Alive Sequence. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMNStatusMsgsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 51), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNStatusMsgsSent.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNStatusMsgsSent.setDescription('Number of Status messages sent. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMNStatusENQMsgsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 52), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNStatusENQMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNStatusENQMsgsRcvd.setDescription('Number of Status Enquiry messages received. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalStLMNAsyncStatusSent = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 53), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNAsyncStatusSent.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStLMNAsyncStatusSent.setDescription('Number of asynchronous Update Status messages transmitted. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nncFrStrStatIntervalInCRCErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 54), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInCRCErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInCRCErrors.setDescription('Number of frames with an incorrect CRC-16 value.')
nncFrStrStatIntervalInNonIntegral = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 55), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInNonIntegral.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInNonIntegral.setDescription('Number of frames with a non-integral number of octets between the delimiting HDLC flags.')
nncFrStrStatIntervalInReservedDLCI = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 56), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInReservedDLCI.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInReservedDLCI.setDescription('Number of frames with a DLCI that cannot be assigned to user connections.')
nncFrStrStatIntervalInInvldEA = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 57), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInInvldEA.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInInvldEA.setDescription('Number of frames with the EA (extended address) bit incorrectly set.')
nncFrStrStatIntervalStFrmTooSmall = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 58), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStFrmTooSmall.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStFrmTooSmall.setDescription('Number of frames that are smaller than the allowed minimum size.')
nncFrStrStatIntervalInAborts = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 59), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInAborts.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInAborts.setDescription('Number of aborted frames.')
nncFrStrStatIntervalInSumOfDisagremnts = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 60), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInSumOfDisagremnts.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInSumOfDisagremnts.setDescription('Total number of frames discarded because: the frame relay UNI or ICI was unavailable to accept frame traffic, the frame had a DLCI not available for end-user connections, the DLCI was inactive, the frame exceeded the maximum configured frame length (but its length was legal within the frame relay protocol), the frame violated the configured address field size (but had a legal address field size with the frame relay protocol), or was an unexpected status signalling frame.')
nncFrStrStatIntervalInOverRuns = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 61), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalInOverRuns.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalInOverRuns.setDescription('Number of times the receiver was forced to overrun.')
nncFrStrStatIntervalOutUnderRuns = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 62), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalOutUnderRuns.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalOutUnderRuns.setDescription('Number of times the transmitter was forced to underrun.')
nncFrStrStatIntervalStIntervalDuration = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 63), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalStIntervalDuration.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalStIntervalDuration.setDescription('Duration of the statistics accumulation interval.')
nncFrStrStatIntervalBestEffortPeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 64), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortPeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Best Effort.')
nncFrStrStatIntervalCommittedPeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 65), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedPeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Committed Throughptut.')
nncFrStrStatIntervalLowDelayPeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 66), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayPeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Low Delay.')
nncFrStrStatIntervalRealTimePeakDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 67), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 60000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimePeakDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimePeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Real Time.')
nncFrStrStatIntervalBestEffortAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 68), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Best Effort. Combined with the Out Ucast Packets for service category Best Effort, the average delay per frame can be calculated.')
nncFrStrStatIntervalCommittedAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 69), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Committed Throughput. Combined with the Out Ucast Packets for service category Committed Throughput, the average delay per frame can be calculated.')
nncFrStrStatIntervalLowDelayAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 70), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Low Delay. Combined with the Out Ucast Packets for service category Low Delay, the average delay per frame can be calculated.')
nncFrStrStatIntervalRealTimeAccDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 71), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeAccDelay.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Real Time. Combined with the Out Ucast Packets for service category Real Time, the average delay per frame can be calculated.')
nncFrStrStatIntervalBestEffortOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 72), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Best Effort.')
nncFrStrStatIntervalCommittedOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 73), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Committed Throughput.')
nncFrStrStatIntervalLowDelayOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 74), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Low Delay.')
nncFrStrStatIntervalRealTimeOutUCastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 75), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Real Time.')
nncFrStrStatIntervalBestEffortUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 76), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Best Effort.')
nncFrStrStatIntervalCommittedUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 77), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Committed Throughput.')
nncFrStrStatIntervalLowDelayUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 78), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Low Delay.')
nncFrStrStatIntervalRealTimeUCastPacketsDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 79), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, transmitted in service category Real Time.')
nncFrStrStatIntervalBestEffortDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 80), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalBestEffortDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Best Effort.')
nncFrStrStatIntervalCommittedDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 81), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalCommittedDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Committed Throughput.')
nncFrStrStatIntervalLowDelayDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 82), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalLowDelayDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Low Delay.')
nncFrStrStatIntervalRealTimeDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 83), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalRealTimeDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Real Time.')
nncFrPVCEndptStatCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3), )
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentTable.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentTable.setDescription('The nncFrPVCEndptStatCurrentTable contains objects for monitoring performance of a frame relay endpoint during the current 1hr interval.')
nncFrPVCEndptStatCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentDLCINumber"))
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentEntry.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentEntry.setDescription('An entry in the 1hr current statistics table. Each conceptual row contains current interval statistics for a particular PVC Endpoint.')
nncFrPVCEndptStatCurrentDLCINumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024)))
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentDLCINumber.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentDLCINumber.setDescription('The DLCI number of the stream to which statistics in this row belong.')
nncFrPVCEndptStatCurrentState = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 2), NncExtIntvlStateType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentState.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentState.setDescription('The state of the current interval. The object provides a status for those entries which have been reset by the user or have been subject to a wall-clock time change.')
nncFrPVCEndptStatCurrentAbsoluteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96)))
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nncFrPVCEndptStatCurrentInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 4), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInFrames.setDescription('Number of frames received on this PVC Endpoint.')
nncFrPVCEndptStatCurrentOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 5), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFrames.setDescription('Number of frames transmitted on this PVC Endpoint.')
nncFrPVCEndptStatCurrentInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 6), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInOctets.setDescription('Number of bytes received on this PVC Endpoint.')
nncFrPVCEndptStatCurrentOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 7), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutOctets.setDescription('Number of bytes transmitted on this PVC Endpoint.')
nncFrPVCEndptStatCurrentInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 8), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscards.setDescription('Number of frames received by the network (ingress) that were discarded due to traffic enforcement for this PVC Endpoint.')
nncFrPVCEndptStatCurrentOutExcessFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 9), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutExcessFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutExcessFrames.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that were treated as excess traffic (the DE bit may be set to one).')
nncFrPVCEndptStatCurrentInDEFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 10), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDEFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDEFrames.setDescription('Number of frames received by the network (ingress) with the DE bit set to (1) for the PVC Endpoint.')
nncFrPVCEndptStatCurrentInCosTagDeFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 11), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInCosTagDeFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInCosTagDeFrames.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were policed from normal to excess traffic (the DE bit was set to one) and transmitted.')
nncFrPVCEndptStatCurrentInOctetsDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 12), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInOctetsDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInOctetsDESet.setDescription('Number of bytes received on this PVC Endpoint with the DE bit set.')
nncFrPVCEndptStatCurrentInFramesBECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 13), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInFramesBECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the BECN bit set.')
nncFrPVCEndptStatCurrentInFramesFECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 14), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInFramesFECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the FECN bit set.')
nncFrPVCEndptStatCurrentInInvdLength = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 15), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInInvdLength.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInInvdLength.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were discarded because the frame had no data, or the data exceeded the maximum allowed length.')
nncFrPVCEndptStatCurrentOutOctetsDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 16), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutOctetsDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutOctetsDESet.setDescription('Number of bytes transmitted on this PVC Endpoint with the DE bit set.')
nncFrPVCEndptStatCurrentOutFramesBECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 17), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFramesBECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the BECN bit set.')
nncFrPVCEndptStatCurrentOutFramesFECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 18), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFramesFECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the FECN bit set.')
nncFrPVCEndptStatCurrentOutFramesInRed = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 19), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFramesInRed.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutFramesInRed.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint when the frame stream was in Red State.')
nncFrPVCEndptStatCurrentInDiscdOctetsCOS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 20), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdOctetsCOS.setDescription('Number of bytes discarded because of receive class-of-service enforcement on the PVC Endpoint.')
nncFrPVCEndptStatCurrentInDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 21), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdDESet.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was set.')
nncFrPVCEndptStatCurrentInDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 22), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdDEClr.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was not set.')
nncFrPVCEndptStatCurrentInDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 23), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdBadEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of a bad receive RFC1490 encapsulation header.')
nncFrPVCEndptStatCurrentInDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 24), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdUnsupEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of an unsupported receive RFC1490 encapsulation header.')
nncFrPVCEndptStatCurrentInDiscdCOSDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 25), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdCOSDESet.setDescription('Number of frames discarded due to receive class of service procedures, in which the DE bit was set.')
nncFrPVCEndptStatCurrentInDiscdCOSDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 26), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentInDiscdCOSDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to receive class of service procedures, in which the DE bit was not set.')
nncFrPVCEndptStatCurrentOutDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 27), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdDESet.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was set.')
nncFrPVCEndptStatCurrentOutDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 28), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was not set.')
nncFrPVCEndptStatCurrentOutDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 29), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdBadEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having a bad RFC1483 encapsulation header.')
nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 30), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having an unsupported RFC1483 encapsulation header.')
nncFrPVCEndptStatCurrentStReasDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 31), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentStReasDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentStReasDiscards.setDescription('Number of frames discarded for the PVC Endpoint due to any reassembly errors.')
nncFrPVCEndptStatIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4), )
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalTable.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalTable.setDescription('The nncFrPVCEndptStatIntervalTable contains objects for monitoring performance of a frame relay endpoint over M 1hr historical intervals.')
nncFrPVCEndptStatIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalDLCINumber"), (0, "NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalNumber"))
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalEntry.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalEntry.setDescription('An entry in the 1hr interval statistics table. Each conceptual row contains statistics for a particular PVC Endpoint and interval.')
nncFrPVCEndptStatIntervalDLCINumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024)))
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalDLCINumber.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalDLCINumber.setDescription('The DLCI number of the stream to which statistics in this row belong.')
nncFrPVCEndptStatIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96)))
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalNumber.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalNumber.setDescription('The interval number (N) of the statistics in this row.')
nncFrPVCEndptStatIntervalState = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 3), NncExtIntvlStateType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalState.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalState.setDescription('The state of the interval represented by this row. The object provides a status for those entries which have been reset by the user or have been subject to a wall- clock time change.')
nncFrPVCEndptStatIntervalAbsoluteIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96)))
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nncFrPVCEndptStatIntervalInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 5), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInFrames.setDescription('Number of frames received on this PVC Endpoint.')
nncFrPVCEndptStatIntervalOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 6), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFrames.setDescription('Number of frames transmitted on this PVC Endpoint.')
nncFrPVCEndptStatIntervalInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 7), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInOctets.setDescription('Number of bytes received on this PVC Endpoint.')
nncFrPVCEndptStatIntervalOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 8), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutOctets.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutOctets.setDescription('Number of bytes transmitted on this PVC Endpoint.')
nncFrPVCEndptStatIntervalInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 9), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscards.setDescription('Number of frames received by the network (ingress) that were discarded due to traffic enforcement for this PVC Endpoint.')
nncFrPVCEndptStatIntervalOutExcessFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 10), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutExcessFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutExcessFrames.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that were treated as excess traffic (the DE bit may be set to one).')
nncFrPVCEndptStatIntervalInDEFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 11), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDEFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDEFrames.setDescription('Number of frames received by the network (ingress) with the DE bit set to (1) for the PVC Endpoint.')
nncFrPVCEndptStatIntervalInCosTagDeFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 12), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInCosTagDeFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInCosTagDeFrames.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were policed to be excess traffic (the DE bit was set to one) and transmitted.')
nncFrPVCEndptStatIntervalInOctetsDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 13), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInOctetsDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInOctetsDESet.setDescription('Number of bytes received on this PVC Endpoint with the DE bit set.')
nncFrPVCEndptStatIntervalInFramesBECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 14), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInFramesBECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the BECN bit set.')
nncFrPVCEndptStatIntervalInFramesFECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 15), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInFramesFECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the FECN bit set.')
nncFrPVCEndptStatIntervalInInvdLength = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 16), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInInvdLength.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInInvdLength.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were discarded because the frame had no data, or the data exceeded the maximum allowed length.')
nncFrPVCEndptStatIntervalOutOctetsDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 17), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutOctetsDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutOctetsDESet.setDescription('Number of bytes transmitted on this PVC Endpoint with the DE bit set.')
nncFrPVCEndptStatIntervalOutFramesBECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 18), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFramesBECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the BECN bit set.')
nncFrPVCEndptStatIntervalOutFramesFECNSet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 19), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFramesFECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the FECN bit set.')
nncFrPVCEndptStatIntervalOutFramesInRed = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 20), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFramesInRed.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutFramesInRed.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint when the frame stream was in Red State.')
nncFrPVCEndptStatIntervalInDiscdOctetsCOS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 21), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdOctetsCOS.setDescription('Number of bytes discarded because of receive class-of-service enforcement on the PVC Endpoint.')
nncFrPVCEndptStatIntervalInDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 22), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdDESet.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was set.')
nncFrPVCEndptStatIntervalInDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 23), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdDEClr.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was not set.')
nncFrPVCEndptStatIntervalInDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 24), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdBadEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of a bad receive RFC1490 encapsulation header.')
nncFrPVCEndptStatIntervalInDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 25), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdUnsupEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of an unsupported receive RFC1490 encapsulation header.')
nncFrPVCEndptStatIntervalInDiscdCOSDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 26), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdCOSDESet.setDescription('Number of frames discarded due to receive class of service procedures, in which the DE bit was set.')
nncFrPVCEndptStatIntervalInDiscdCOSDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 27), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalInDiscdCOSDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to receive class of service procedures, in which the DE bit was not set.')
nncFrPVCEndptStatIntervalOutDiscdDESet = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 28), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdDESet.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was set.')
nncFrPVCEndptStatIntervalOutDiscdDEClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 29), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was not set.')
nncFrPVCEndptStatIntervalOutDiscdBadEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 30), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdBadEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having a bad RFC1483 encapsulation header.')
nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 31), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having an unsupported RFC1483 encapsulation header.')
nncFrPVCEndptStatIntervalStReasDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 32), NncExtCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalStReasDiscards.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalStReasDiscards.setDescription('Number of frames discarded for the PVC Endpoint due to any reassembly errors.')
nncFrDepthOfHistoricalStrata = MibScalar((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrDepthOfHistoricalStrata.setStatus('current')
if mibBuilder.loadTexts: nncFrDepthOfHistoricalStrata.setDescription('Depth of historical strata of FR interval statistics.')
nncFrStrBertStatTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6), )
if mibBuilder.loadTexts: nncFrStrBertStatTable.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatTable.setDescription('The nncFrStrBertStatTable contains objects for reporting the current statistics of a BERT being performed on a frame relay stream. This feature is introduced in Rel 2.2 frame relay cards.')
nncFrStrBertStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: nncFrStrBertStatEntry.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatEntry.setDescription('An entry in the BERT statistics table. Each conceptual row contains statistics related to the BERT being performed on a specific DLCI within a particular frame relay stream.')
nncFrStrBertDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertDlci.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertDlci.setDescription('This object indicates if there is a BERT active on the frame relay stream, and when active on which DLCI the BERT is active on. WHERE: 0 = BERT not active, non-zero = DLCI')
nncFrStrBertStatStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatStatus.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatStatus.setDescription('The current status of the BERT when the BERT is activated: where 0 = Loss of pattern sync. 1 = Pattern Sync.')
nncFrStrBertStatTxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 3), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatTxFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatTxFrames.setDescription('The number of Frames transmitted onto the stream by BERT Task. Each BERT Frame is of a fixed size and contains a fixed pattern.')
nncFrStrBertStatRxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 4), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatRxFrames.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatRxFrames.setDescription('The number of Frames received while the BERT is in pattern sync. The Rx Frame count will only be incremented when in pattern sync and the received packet is the correct size and contains the DLCI being BERTED.')
nncFrStrBertStatRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 5), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatRxBytes.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatRxBytes.setDescription('The number of Bytes transmitted onto the stream by BERT Task. Each BERT packet is of a fixed size and contains a fixed pattern.')
nncFrStrBertStatTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 6), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatTxBytes.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatTxBytes.setDescription('The number of Bytes transmitted while the BERT is in pattern sync. The Tx Byte count will only be incremented when in pattern sync.')
nncFrStrBertStatRxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 7), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatRxErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatRxErrors.setDescription('The number of errors detected in the received packets while the BERT is in pattern sync. Packets flagged as having CRC errors that contain the DLCI being BERTED and the correct packet size being BERTED will be scanned for errors and the number of errors accumulated in this counter.')
nncFrStrBertStatEstErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 8), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nncFrStrBertStatEstErrors.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatEstErrors.setDescription('The estimated number of errors encountered by the packets being transmitted while the BERT is in pattern sync based on the fact that the packets are not returned, and pattern sync is maintained.')
nncFrStrStatCurrentGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 1)).setObjects(("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentState"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentAbsoluteIntervalNumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscards"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutDiscards"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentSigUserProtErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentSigNetProtErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentSigUserLinkRelErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentSigNetLinkRelErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentSigUserChanInactive"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentSigNetChanInactive"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStSCAlarms"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStTimeSC"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStMaxDurationRED"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStMCAlarms"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStTimeMC"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutLinkUtilization"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInLinkUtilization"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInInvdLength"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLastErroredDLCI"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdOctetsCOS"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdCOSDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdCOSDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMSigInvldField"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMSigUnsupMsgType"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMSigInvldEID"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMSigInvldIELen"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMSigInvldRepType"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMSigFrmWithNoIEs"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStUserSequenceErrs"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStNetSequenceErrs"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMUTimeoutsnT1"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMUStatusMsgsRcvd"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMUStatusENQMsgsSent"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMUAsyncStatusRcvd"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMNTimeoutsnT2"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMNStatusMsgsSent"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMNStatusENQMsgsRcvd"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStLMNAsyncStatusSent"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInCRCErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInNonIntegral"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInReservedDLCI"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInInvldEA"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStFrmTooSmall"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInAborts"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInSumOfDisagremnts"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentInOverRuns"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentOutUnderRuns"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentStIntervalDuration"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentBestEffortPeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentCommittedPeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentLowDelayPeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentRealTimePeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentBestEffortAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentCommittedAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentLowDelayAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentRealTimeAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentBestEffortOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentCommittedOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentLowDelayOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentRealTimeOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentBestEffortUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentCommittedUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentLowDelayUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentRealTimeUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentBestEffortDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentCommittedDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentLowDelayDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentRealTimeDiscdDEClr"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nncFrStrStatCurrentGroup = nncFrStrStatCurrentGroup.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatCurrentGroup.setDescription('Collection of objects providing 1hr current statistics for a FR stream.')
nncFrStrStatIntervalGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 2)).setObjects(("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalNumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalState"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalAbsoluteIntervalNumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscards"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutDiscards"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalSigUserProtErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalSigNetProtErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalSigUserLinkRelErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalSigNetLinkRelErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalSigUserChanInactive"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalSigNetChanInactive"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStSCAlarms"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStTimeSC"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStMaxDurationRED"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStMCAlarms"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStTimeMC"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutLinkUtilization"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInLinkUtilization"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInInvdLength"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLastErroredDLCI"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdOctetsCOS"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdCOSDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdCOSDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMSigInvldField"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMSigUnsupMsgType"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMSigInvldEID"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMSigInvldIELen"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMSigInvldRepType"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMSigFrmWithNoIEs"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStUserSequenceErrs"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStNetSequenceErrs"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMUTimeoutsnT1"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMUStatusMsgsRcvd"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMUStatusENQMsgsSent"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMUAsyncStatusRcvd"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMNTimeoutsnT2"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMNStatusMsgsSent"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMNStatusENQMsgsRcvd"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStLMNAsyncStatusSent"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInCRCErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInNonIntegral"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInReservedDLCI"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInInvldEA"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStFrmTooSmall"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInAborts"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInSumOfDisagremnts"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalInOverRuns"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalOutUnderRuns"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalStIntervalDuration"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalBestEffortPeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalCommittedPeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalLowDelayPeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalRealTimePeakDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalBestEffortAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalCommittedAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalLowDelayAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalRealTimeAccDelay"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalBestEffortOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalCommittedOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalLowDelayOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalRealTimeOutUCastPackets"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalBestEffortUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalCommittedUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalLowDelayUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalRealTimeUCastPacketsDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalBestEffortDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalCommittedDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalLowDelayDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrStatIntervalRealTimeDiscdDEClr"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nncFrStrStatIntervalGroup = nncFrStrStatIntervalGroup.setStatus('current')
if mibBuilder.loadTexts: nncFrStrStatIntervalGroup.setDescription('Collection of objects providing 1hr interval statistics for a FR stream.')
nncFrPVCEndptStatCurrentGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 3)).setObjects(("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentDLCINumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentState"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentAbsoluteIntervalNumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscards"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutExcessFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDEFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInCosTagDeFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInOctetsDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInFramesBECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInFramesFECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInInvdLength"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutOctetsDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutFramesBECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutFramesFECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutFramesInRed"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdOctetsCOS"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdCOSDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentInDiscdCOSDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentStReasDiscards"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nncFrPVCEndptStatCurrentGroup = nncFrPVCEndptStatCurrentGroup.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatCurrentGroup.setDescription('Collection of objects providing 1hr current statistics for a FR PVC Endpoint.')
nncFrPVCEndptStatIntervalGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 4)).setObjects(("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalDLCINumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalNumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalState"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalAbsoluteIntervalNumber"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutOctets"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscards"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutExcessFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDEFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInCosTagDeFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInOctetsDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInFramesBECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInFramesFECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInInvdLength"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutOctetsDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutFramesBECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutFramesFECNSet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutFramesInRed"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdOctetsCOS"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdCOSDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalInDiscdCOSDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutDiscdDESet"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutDiscdDEClr"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutDiscdBadEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatIntervalStReasDiscards"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nncFrPVCEndptStatIntervalGroup = nncFrPVCEndptStatIntervalGroup.setStatus('current')
if mibBuilder.loadTexts: nncFrPVCEndptStatIntervalGroup.setDescription('Collection of objects providing 1hr current statistics for a FR PVC Endpoint.')
nncFrStrBertStatGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 6)).setObjects(("NNCFRINTSTATISTICS-MIB", "nncFrStrBertDlci"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatStatus"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatTxFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatRxFrames"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatTxBytes"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatRxBytes"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatRxErrors"), ("NNCFRINTSTATISTICS-MIB", "nncFrStrBertStatEstErrors"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nncFrStrBertStatGroup = nncFrStrBertStatGroup.setStatus('current')
if mibBuilder.loadTexts: nncFrStrBertStatGroup.setDescription('Collection of objects providing BERT statistics for a BERT performed on a Frame Relay stream.')
nncFrIntStatisticsCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 123, 3, 30, 4, 1)).setObjects(("NNCFRINTSTATISTICS-MIB", "nncFrStrStatCurrentGroup"), ("NNCFRINTSTATISTICS-MIB", "nncFrPVCEndptStatCurrentGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nncFrIntStatisticsCompliance = nncFrIntStatisticsCompliance.setStatus('current')
if mibBuilder.loadTexts: nncFrIntStatisticsCompliance.setDescription('The compliance statement for Newbridge SNMP entities which have FR streams and endpoints.')
mibBuilder.exportSymbols("NNCFRINTSTATISTICS-MIB", nncFrStrStatIntervalInDiscdOctetsCOS=nncFrStrStatIntervalInDiscdOctetsCOS, nncFrStrStatCurrentStMCAlarms=nncFrStrStatCurrentStMCAlarms, nncFrStrStatCurrentTable=nncFrStrStatCurrentTable, nncFrPVCEndptStatCurrentOutDiscdBadEncaps=nncFrPVCEndptStatCurrentOutDiscdBadEncaps, nncFrPVCEndptStatCurrentStReasDiscards=nncFrPVCEndptStatCurrentStReasDiscards, nncFrStrStatIntervalStLMUStatusENQMsgsSent=nncFrStrStatIntervalStLMUStatusENQMsgsSent, nncFrStrStatCurrentSigNetLinkRelErrors=nncFrStrStatCurrentSigNetLinkRelErrors, nncFrStrStatIntervalOutDiscdUnsupEncaps=nncFrStrStatIntervalOutDiscdUnsupEncaps, nncFrStrStatCurrentInDiscdOctetsCOS=nncFrStrStatCurrentInDiscdOctetsCOS, nncFrStrStatCurrentCommittedOutUCastPackets=nncFrStrStatCurrentCommittedOutUCastPackets, nncFrPVCEndptStatCurrentGroup=nncFrPVCEndptStatCurrentGroup, nncFrStrStatIntervalStTimeMC=nncFrStrStatIntervalStTimeMC, nncFrPVCEndptStatIntervalInOctets=nncFrPVCEndptStatIntervalInOctets, nncFrStrBertStatTxBytes=nncFrStrBertStatTxBytes, nncFrStrStatCurrentCommittedPeakDelay=nncFrStrStatCurrentCommittedPeakDelay, nncFrPVCEndptStatCurrentInFrames=nncFrPVCEndptStatCurrentInFrames, nncFrStrStatCurrentInInvldEA=nncFrStrStatCurrentInInvldEA, nncFrStrStatCurrentInOverRuns=nncFrStrStatCurrentInOverRuns, nncFrPVCEndptStatIntervalNumber=nncFrPVCEndptStatIntervalNumber, nncFrStrStatIntervalLowDelayOutUCastPackets=nncFrStrStatIntervalLowDelayOutUCastPackets, nncFrPVCEndptStatCurrentOutOctets=nncFrPVCEndptStatCurrentOutOctets, nncFrPVCEndptStatIntervalInInvdLength=nncFrPVCEndptStatIntervalInInvdLength, nncFrStrStatIntervalSigUserLinkRelErrors=nncFrStrStatIntervalSigUserLinkRelErrors, nncFrPVCEndptStatCurrentInFramesFECNSet=nncFrPVCEndptStatCurrentInFramesFECNSet, nncFrIntStatisticsGroups=nncFrIntStatisticsGroups, nncFrStrBertStatTxFrames=nncFrStrBertStatTxFrames, nncFrStrStatIntervalStUserSequenceErrs=nncFrStrStatIntervalStUserSequenceErrs, nncFrPVCEndptStatCurrentOutOctetsDESet=nncFrPVCEndptStatCurrentOutOctetsDESet, nncFrPVCEndptStatIntervalInDiscdOctetsCOS=nncFrPVCEndptStatIntervalInDiscdOctetsCOS, nncFrStrBertStatEstErrors=nncFrStrBertStatEstErrors, nncFrStrStatCurrentAbsoluteIntervalNumber=nncFrStrStatCurrentAbsoluteIntervalNumber, nncFrStrStatCurrentStLMSigInvldRepType=nncFrStrStatCurrentStLMSigInvldRepType, nncFrPVCEndptStatIntervalInOctetsDESet=nncFrPVCEndptStatIntervalInOctetsDESet, nncFrStrStatCurrentInDiscdUnsupEncaps=nncFrStrStatCurrentInDiscdUnsupEncaps, nncFrStrStatIntervalInDiscards=nncFrStrStatIntervalInDiscards, nncFrIntStatistics=nncFrIntStatistics, nncFrStrStatCurrentCommittedDiscdDEClr=nncFrStrStatCurrentCommittedDiscdDEClr, nncFrStrStatIntervalInDiscdCOSDESet=nncFrStrStatIntervalInDiscdCOSDESet, nncFrPVCEndptStatIntervalInFramesFECNSet=nncFrPVCEndptStatIntervalInFramesFECNSet, nncFrStrStatCurrentInSumOfDisagremnts=nncFrStrStatCurrentInSumOfDisagremnts, nncFrPVCEndptStatIntervalInDiscdCOSDESet=nncFrPVCEndptStatIntervalInDiscdCOSDESet, nncFrPVCEndptStatIntervalStReasDiscards=nncFrPVCEndptStatIntervalStReasDiscards, nncFrStrStatCurrentSigNetChanInactive=nncFrStrStatCurrentSigNetChanInactive, nncFrStrStatCurrentInInvdLength=nncFrStrStatCurrentInInvdLength, nncFrStrStatCurrentStTimeMC=nncFrStrStatCurrentStTimeMC, nncFrStrStatCurrentRealTimePeakDelay=nncFrStrStatCurrentRealTimePeakDelay, nncFrStrStatIntervalInDiscdUnsupEncaps=nncFrStrStatIntervalInDiscdUnsupEncaps, nncFrStrStatIntervalStIntervalDuration=nncFrStrStatIntervalStIntervalDuration, nncFrPVCEndptStatCurrentInDiscdOctetsCOS=nncFrPVCEndptStatCurrentInDiscdOctetsCOS, nncFrStrStatCurrentStUserSequenceErrs=nncFrStrStatCurrentStUserSequenceErrs, nncFrPVCEndptStatIntervalOutDiscdDESet=nncFrPVCEndptStatIntervalOutDiscdDESet, nncFrStrBertStatRxFrames=nncFrStrBertStatRxFrames, nncFrStrStatCurrentInErrors=nncFrStrStatCurrentInErrors, nncFrStrStatIntervalStLMSigUnsupMsgType=nncFrStrStatIntervalStLMSigUnsupMsgType, nncFrStrStatIntervalRealTimeOutUCastPackets=nncFrStrStatIntervalRealTimeOutUCastPackets, nncFrStrStatIntervalLowDelayUCastPacketsDEClr=nncFrStrStatIntervalLowDelayUCastPacketsDEClr, nncFrStrStatCurrentState=nncFrStrStatCurrentState, nncFrStrStatIntervalOutDiscards=nncFrStrStatIntervalOutDiscards, nncFrStrStatIntervalRealTimeDiscdDEClr=nncFrStrStatIntervalRealTimeDiscdDEClr, nncFrStrStatCurrentStLMUStatusENQMsgsSent=nncFrStrStatCurrentStLMUStatusENQMsgsSent, nncFrStrStatIntervalBestEffortOutUCastPackets=nncFrStrStatIntervalBestEffortOutUCastPackets, nncFrStrStatCurrentInDiscdDEClr=nncFrStrStatCurrentInDiscdDEClr, nncFrIntStatisticsCompliances=nncFrIntStatisticsCompliances, nncFrStrStatCurrentBestEffortPeakDelay=nncFrStrStatCurrentBestEffortPeakDelay, nncFrStrStatIntervalStTimeSC=nncFrStrStatIntervalStTimeSC, nncFrStrBertStatRxErrors=nncFrStrBertStatRxErrors, nncFrStrStatCurrentLowDelayOutUCastPackets=nncFrStrStatCurrentLowDelayOutUCastPackets, nncFrStrStatCurrentInUCastPackets=nncFrStrStatCurrentInUCastPackets, nncFrStrStatIntervalStLMSigInvldIELen=nncFrStrStatIntervalStLMSigInvldIELen, nncFrStrStatIntervalRealTimeAccDelay=nncFrStrStatIntervalRealTimeAccDelay, nncFrStrStatCurrentOutUnderRuns=nncFrStrStatCurrentOutUnderRuns, nncFrStrStatIntervalOutDiscdDESet=nncFrStrStatIntervalOutDiscdDESet, nncFrStrStatIntervalOutUnderRuns=nncFrStrStatIntervalOutUnderRuns, nncFrPVCEndptStatIntervalState=nncFrPVCEndptStatIntervalState, nncFrStrStatCurrentStLastErroredDLCI=nncFrStrStatCurrentStLastErroredDLCI, nncFrStrStatIntervalTable=nncFrStrStatIntervalTable, nncFrStrStatCurrentInCRCErrors=nncFrStrStatCurrentInCRCErrors, nncFrStrStatCurrentStLMUTimeoutsnT1=nncFrStrStatCurrentStLMUTimeoutsnT1, nncFrStrStatIntervalStMaxDurationRED=nncFrStrStatIntervalStMaxDurationRED, nncFrStrStatIntervalLowDelayAccDelay=nncFrStrStatIntervalLowDelayAccDelay, nncFrStrStatIntervalAbsoluteIntervalNumber=nncFrStrStatIntervalAbsoluteIntervalNumber, nncFrStrStatIntervalStNetSequenceErrs=nncFrStrStatIntervalStNetSequenceErrs, nncFrStrStatIntervalStFrmTooSmall=nncFrStrStatIntervalStFrmTooSmall, nncFrStrStatCurrentStLMUAsyncStatusRcvd=nncFrStrStatCurrentStLMUAsyncStatusRcvd, nncFrPVCEndptStatCurrentDLCINumber=nncFrPVCEndptStatCurrentDLCINumber, nncFrPVCEndptStatCurrentOutFramesBECNSet=nncFrPVCEndptStatCurrentOutFramesBECNSet, nncFrStrStatCurrentInAborts=nncFrStrStatCurrentInAborts, nncFrStrStatIntervalCommittedOutUCastPackets=nncFrStrStatIntervalCommittedOutUCastPackets, nncFrPVCEndptStatIntervalDLCINumber=nncFrPVCEndptStatIntervalDLCINumber, nncFrStrStatIntervalOutDiscdBadEncaps=nncFrStrStatIntervalOutDiscdBadEncaps, nncFrPVCEndptStatCurrentEntry=nncFrPVCEndptStatCurrentEntry, nncFrStrStatCurrentStLMNStatusENQMsgsRcvd=nncFrStrStatCurrentStLMNStatusENQMsgsRcvd, nncFrStrStatIntervalSigUserProtErrors=nncFrStrStatIntervalSigUserProtErrors, nncFrIntStatisticsObjects=nncFrIntStatisticsObjects, nncFrStrStatIntervalStLMNStatusENQMsgsRcvd=nncFrStrStatIntervalStLMNStatusENQMsgsRcvd, nncFrStrStatCurrentStIntervalDuration=nncFrStrStatCurrentStIntervalDuration, nncFrPVCEndptStatIntervalInDiscards=nncFrPVCEndptStatIntervalInDiscards, nncFrDepthOfHistoricalStrata=nncFrDepthOfHistoricalStrata, nncFrPVCEndptStatCurrentOutDiscdDESet=nncFrPVCEndptStatCurrentOutDiscdDESet, nncFrStrStatCurrentInDiscdCOSDESet=nncFrStrStatCurrentInDiscdCOSDESet, nncFrStrStatCurrentInNonIntegral=nncFrStrStatCurrentInNonIntegral, nncFrStrStatCurrentStLMSigInvldIELen=nncFrStrStatCurrentStLMSigInvldIELen, nncFrStrStatCurrentStFrmTooSmall=nncFrStrStatCurrentStFrmTooSmall, nncFrStrStatIntervalNumber=nncFrStrStatIntervalNumber, nncFrPVCEndptStatIntervalOutOctets=nncFrPVCEndptStatIntervalOutOctets, nncFrStrStatCurrentInDiscdDESet=nncFrStrStatCurrentInDiscdDESet, nncFrPVCEndptStatIntervalOutDiscdBadEncaps=nncFrPVCEndptStatIntervalOutDiscdBadEncaps, nncFrStrStatIntervalOutUCastPackets=nncFrStrStatIntervalOutUCastPackets, nncFrStrStatIntervalInDiscdDESet=nncFrStrStatIntervalInDiscdDESet, nncFrPVCEndptStatCurrentInDiscdCOSDESet=nncFrPVCEndptStatCurrentInDiscdCOSDESet, nncFrPVCEndptStatCurrentInCosTagDeFrames=nncFrPVCEndptStatCurrentInCosTagDeFrames, nncFrStrStatIntervalSigNetProtErrors=nncFrStrStatIntervalSigNetProtErrors, nncFrStrStatIntervalInCRCErrors=nncFrStrStatIntervalInCRCErrors, nncFrPVCEndptStatIntervalOutFramesFECNSet=nncFrPVCEndptStatIntervalOutFramesFECNSet, nncFrStrStatIntervalSigNetChanInactive=nncFrStrStatIntervalSigNetChanInactive, nncFrStrStatCurrentOutOctets=nncFrStrStatCurrentOutOctets, nncFrStrStatIntervalInDiscdDEClr=nncFrStrStatIntervalInDiscdDEClr, nncFrStrStatCurrentSigUserProtErrors=nncFrStrStatCurrentSigUserProtErrors, nncFrStrStatIntervalInNonIntegral=nncFrStrStatIntervalInNonIntegral, nncFrPVCEndptStatIntervalAbsoluteIntervalNumber=nncFrPVCEndptStatIntervalAbsoluteIntervalNumber, nncFrPVCEndptStatIntervalInDiscdDESet=nncFrPVCEndptStatIntervalInDiscdDESet, nncFrStrStatCurrentRealTimeAccDelay=nncFrStrStatCurrentRealTimeAccDelay, nncFrStrStatIntervalInDiscdBadEncaps=nncFrStrStatIntervalInDiscdBadEncaps, nncFrStrStatIntervalStLMUTimeoutsnT1=nncFrStrStatIntervalStLMUTimeoutsnT1, nncFrStrStatIntervalStLMUStatusMsgsRcvd=nncFrStrStatIntervalStLMUStatusMsgsRcvd, nncFrPVCEndptStatIntervalGroup=nncFrPVCEndptStatIntervalGroup, nncFrPVCEndptStatIntervalTable=nncFrPVCEndptStatIntervalTable, nncFrStrStatIntervalLowDelayPeakDelay=nncFrStrStatIntervalLowDelayPeakDelay, nncFrStrStatIntervalInLinkUtilization=nncFrStrStatIntervalInLinkUtilization, nncFrStrStatCurrentOutErrors=nncFrStrStatCurrentOutErrors, nncFrPVCEndptStatCurrentInDiscards=nncFrPVCEndptStatCurrentInDiscards, nncFrStrStatCurrentLowDelayPeakDelay=nncFrStrStatCurrentLowDelayPeakDelay, nncFrStrStatCurrentCommittedAccDelay=nncFrStrStatCurrentCommittedAccDelay, nncFrStrStatIntervalOutDiscdDEClr=nncFrStrStatIntervalOutDiscdDEClr, nncFrStrStatCurrentSigUserLinkRelErrors=nncFrStrStatCurrentSigUserLinkRelErrors, nncFrStrStatCurrentStLMSigInvldField=nncFrStrStatCurrentStLMSigInvldField, nncFrPVCEndptStatCurrentInFramesBECNSet=nncFrPVCEndptStatCurrentInFramesBECNSet, nncFrPVCEndptStatIntervalInCosTagDeFrames=nncFrPVCEndptStatIntervalInCosTagDeFrames, nncFrStrStatCurrentStTimeSC=nncFrStrStatCurrentStTimeSC, nncFrPVCEndptStatIntervalEntry=nncFrPVCEndptStatIntervalEntry, nncFrStrStatIntervalOutOctets=nncFrStrStatIntervalOutOctets, nncFrStrStatCurrentLowDelayUCastPacketsDEClr=nncFrStrStatCurrentLowDelayUCastPacketsDEClr, nncFrStrStatIntervalInSumOfDisagremnts=nncFrStrStatIntervalInSumOfDisagremnts, nncFrStrStatCurrentOutLinkUtilization=nncFrStrStatCurrentOutLinkUtilization, nncFrStrStatIntervalCommittedUCastPacketsDEClr=nncFrStrStatIntervalCommittedUCastPacketsDEClr, nncFrIntStatisticsCompliance=nncFrIntStatisticsCompliance, nncFrStrStatIntervalStLMSigInvldRepType=nncFrStrStatIntervalStLMSigInvldRepType, nncFrStrStatIntervalInReservedDLCI=nncFrStrStatIntervalInReservedDLCI, nncFrStrStatIntervalBestEffortUCastPacketsDEClr=nncFrStrStatIntervalBestEffortUCastPacketsDEClr, nncFrPVCEndptStatIntervalInFrames=nncFrPVCEndptStatIntervalInFrames, nncFrStrStatCurrentStLMSigFrmWithNoIEs=nncFrStrStatCurrentStLMSigFrmWithNoIEs, nncFrPVCEndptStatCurrentInDiscdCOSDEClr=nncFrPVCEndptStatCurrentInDiscdCOSDEClr, nncFrPVCEndptStatIntervalInFramesBECNSet=nncFrPVCEndptStatIntervalInFramesBECNSet, nncFrStrBertStatGroup=nncFrStrBertStatGroup, nncFrPVCEndptStatCurrentInDEFrames=nncFrPVCEndptStatCurrentInDEFrames, nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps=nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps, nncFrStrStatCurrentBestEffortOutUCastPackets=nncFrStrStatCurrentBestEffortOutUCastPackets, nncFrStrStatIntervalBestEffortDiscdDEClr=nncFrStrStatIntervalBestEffortDiscdDEClr, nncFrPVCEndptStatCurrentOutExcessFrames=nncFrPVCEndptStatCurrentOutExcessFrames, nncFrStrStatIntervalInDiscdCOSDEClr=nncFrStrStatIntervalInDiscdCOSDEClr, nncFrStrStatCurrentGroup=nncFrStrStatCurrentGroup, nncFrStrStatCurrentRealTimeDiscdDEClr=nncFrStrStatCurrentRealTimeDiscdDEClr, nncFrStrStatIntervalOutLinkUtilization=nncFrStrStatIntervalOutLinkUtilization, nncFrPVCEndptStatCurrentAbsoluteIntervalNumber=nncFrPVCEndptStatCurrentAbsoluteIntervalNumber, nncFrIntStatisticsTraps=nncFrIntStatisticsTraps, nncFrPVCEndptStatCurrentInInvdLength=nncFrPVCEndptStatCurrentInInvdLength, nncFrStrStatIntervalBestEffortPeakDelay=nncFrStrStatIntervalBestEffortPeakDelay, nncFrStrStatCurrentInDiscdBadEncaps=nncFrStrStatCurrentInDiscdBadEncaps, nncFrStrStatCurrentStLMSigUnsupMsgType=nncFrStrStatCurrentStLMSigUnsupMsgType, nncFrStrStatCurrentStNetSequenceErrs=nncFrStrStatCurrentStNetSequenceErrs, nncFrPVCEndptStatCurrentInDiscdUnsupEncaps=nncFrPVCEndptStatCurrentInDiscdUnsupEncaps, nncFrStrStatCurrentInDiscdCOSDEClr=nncFrStrStatCurrentInDiscdCOSDEClr, nncFrPVCEndptStatIntervalInDiscdDEClr=nncFrPVCEndptStatIntervalInDiscdDEClr, nncFrStrStatIntervalStLMSigFrmWithNoIEs=nncFrStrStatIntervalStLMSigFrmWithNoIEs, nncFrStrStatIntervalState=nncFrStrStatIntervalState, nncFrStrStatCurrentOutUCastPackets=nncFrStrStatCurrentOutUCastPackets, nncFrPVCEndptStatIntervalOutFramesBECNSet=nncFrPVCEndptStatIntervalOutFramesBECNSet, nncFrStrStatIntervalInInvldEA=nncFrStrStatIntervalInInvldEA, nncFrStrStatCurrentStLMUStatusMsgsRcvd=nncFrStrStatCurrentStLMUStatusMsgsRcvd, nncFrPVCEndptStatCurrentInOctets=nncFrPVCEndptStatCurrentInOctets, nncFrStrStatCurrentInDiscards=nncFrStrStatCurrentInDiscards, nncFrPVCEndptStatIntervalInDEFrames=nncFrPVCEndptStatIntervalInDEFrames, nncFrStrStatIntervalStLMSigInvldEID=nncFrStrStatIntervalStLMSigInvldEID, nncFrPVCEndptStatCurrentTable=nncFrPVCEndptStatCurrentTable, nncFrStrBertStatStatus=nncFrStrBertStatStatus, nncFrStrStatIntervalEntry=nncFrStrStatIntervalEntry, nncFrStrStatIntervalInUCastPackets=nncFrStrStatIntervalInUCastPackets, nncFrStrStatCurrentRealTimeOutUCastPackets=nncFrStrStatCurrentRealTimeOutUCastPackets, nncFrPVCEndptStatCurrentInOctetsDESet=nncFrPVCEndptStatCurrentInOctetsDESet, nncFrPVCEndptStatIntervalOutExcessFrames=nncFrPVCEndptStatIntervalOutExcessFrames, nncFrPVCEndptStatIntervalOutFramesInRed=nncFrPVCEndptStatIntervalOutFramesInRed, nncFrStrStatIntervalGroup=nncFrStrStatIntervalGroup, nncFrStrStatCurrentBestEffortUCastPacketsDEClr=nncFrStrStatCurrentBestEffortUCastPacketsDEClr, nncFrStrStatCurrentOutDiscdBadEncaps=nncFrStrStatCurrentOutDiscdBadEncaps, nncFrStrStatCurrentStLMSigInvldEID=nncFrStrStatCurrentStLMSigInvldEID, nncFrPVCEndptStatIntervalOutDiscdDEClr=nncFrPVCEndptStatIntervalOutDiscdDEClr, nncFrStrStatIntervalOutErrors=nncFrStrStatIntervalOutErrors, nncFrPVCEndptStatCurrentOutFramesFECNSet=nncFrPVCEndptStatCurrentOutFramesFECNSet, nncFrPVCEndptStatIntervalInDiscdCOSDEClr=nncFrPVCEndptStatIntervalInDiscdCOSDEClr, nncFrStrStatCurrentBestEffortAccDelay=nncFrStrStatCurrentBestEffortAccDelay, nncFrStrStatIntervalStLastErroredDLCI=nncFrStrStatIntervalStLastErroredDLCI, nncFrPVCEndptStatIntervalInDiscdUnsupEncaps=nncFrPVCEndptStatIntervalInDiscdUnsupEncaps, nncFrStrStatCurrentBestEffortDiscdDEClr=nncFrStrStatCurrentBestEffortDiscdDEClr, nncFrStrStatIntervalStLMSigInvldField=nncFrStrStatIntervalStLMSigInvldField, nncFrStrStatCurrentLowDelayAccDelay=nncFrStrStatCurrentLowDelayAccDelay, nncFrStrStatCurrentInReservedDLCI=nncFrStrStatCurrentInReservedDLCI, nncFrPVCEndptStatCurrentOutDiscdDEClr=nncFrPVCEndptStatCurrentOutDiscdDEClr, nncFrStrStatCurrentOutDiscdDESet=nncFrStrStatCurrentOutDiscdDESet, nncFrPVCEndptStatIntervalInDiscdBadEncaps=nncFrPVCEndptStatIntervalInDiscdBadEncaps, nncFrStrStatIntervalCommittedDiscdDEClr=nncFrStrStatIntervalCommittedDiscdDEClr, nncFrStrStatIntervalBestEffortAccDelay=nncFrStrStatIntervalBestEffortAccDelay, nncFrStrStatIntervalStMCAlarms=nncFrStrStatIntervalStMCAlarms, nncFrStrStatCurrentInOctets=nncFrStrStatCurrentInOctets, nncFrStrStatCurrentStLMNTimeoutsnT2=nncFrStrStatCurrentStLMNTimeoutsnT2, nncFrStrStatIntervalSigNetLinkRelErrors=nncFrStrStatIntervalSigNetLinkRelErrors, nncFrStrStatIntervalLowDelayDiscdDEClr=nncFrStrStatIntervalLowDelayDiscdDEClr, nncFrStrStatIntervalStLMUAsyncStatusRcvd=nncFrStrStatIntervalStLMUAsyncStatusRcvd, nncFrStrStatCurrentOutDiscards=nncFrStrStatCurrentOutDiscards, nncFrPVCEndptStatCurrentInDiscdBadEncaps=nncFrPVCEndptStatCurrentInDiscdBadEncaps, nncFrPVCEndptStatIntervalOutFrames=nncFrPVCEndptStatIntervalOutFrames, nncFrPVCEndptStatCurrentInDiscdDEClr=nncFrPVCEndptStatCurrentInDiscdDEClr, nncFrStrStatCurrentStLMNAsyncStatusSent=nncFrStrStatCurrentStLMNAsyncStatusSent, nncFrPVCEndptStatIntervalOutOctetsDESet=nncFrPVCEndptStatIntervalOutOctetsDESet, nncFrPVCEndptStatCurrentOutFramesInRed=nncFrPVCEndptStatCurrentOutFramesInRed, nncFrStrBertDlci=nncFrStrBertDlci, nncFrStrStatCurrentCommittedUCastPacketsDEClr=nncFrStrStatCurrentCommittedUCastPacketsDEClr, nncFrStrStatCurrentLowDelayDiscdDEClr=nncFrStrStatCurrentLowDelayDiscdDEClr, nncFrStrStatIntervalCommittedAccDelay=nncFrStrStatIntervalCommittedAccDelay, nncFrStrStatIntervalSigUserChanInactive=nncFrStrStatIntervalSigUserChanInactive, nncFrStrStatCurrentStSCAlarms=nncFrStrStatCurrentStSCAlarms, nncFrStrStatIntervalStLMNTimeoutsnT2=nncFrStrStatIntervalStLMNTimeoutsnT2, nncFrStrStatIntervalInErrors=nncFrStrStatIntervalInErrors, nncFrStrBertStatRxBytes=nncFrStrBertStatRxBytes, nncFrStrStatCurrentOutDiscdDEClr=nncFrStrStatCurrentOutDiscdDEClr, nncFrStrBertStatEntry=nncFrStrBertStatEntry, nncFrStrStatIntervalInOctets=nncFrStrStatIntervalInOctets, nncFrStrStatCurrentInLinkUtilization=nncFrStrStatCurrentInLinkUtilization, nncFrStrStatIntervalCommittedPeakDelay=nncFrStrStatIntervalCommittedPeakDelay, nncFrStrBertStatTable=nncFrStrBertStatTable, nncFrStrStatIntervalInOverRuns=nncFrStrStatIntervalInOverRuns, nncFrStrStatIntervalInInvdLength=nncFrStrStatIntervalInInvdLength, nncFrPVCEndptStatCurrentOutFrames=nncFrPVCEndptStatCurrentOutFrames, nncFrStrStatIntervalRealTimeUCastPacketsDEClr=nncFrStrStatIntervalRealTimeUCastPacketsDEClr, nncFrStrStatIntervalStLMNAsyncStatusSent=nncFrStrStatIntervalStLMNAsyncStatusSent, nncFrStrStatCurrentStMaxDurationRED=nncFrStrStatCurrentStMaxDurationRED, nncFrStrStatIntervalStLMNStatusMsgsSent=nncFrStrStatIntervalStLMNStatusMsgsSent, nncFrPVCEndptStatCurrentState=nncFrPVCEndptStatCurrentState, nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps=nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps, nncFrStrStatIntervalRealTimePeakDelay=nncFrStrStatIntervalRealTimePeakDelay, nncFrStrStatCurrentSigNetProtErrors=nncFrStrStatCurrentSigNetProtErrors, PYSNMP_MODULE_ID=nncFrIntStatistics, nncFrStrStatCurrentStLMNStatusMsgsSent=nncFrStrStatCurrentStLMNStatusMsgsSent, nncFrStrStatIntervalStSCAlarms=nncFrStrStatIntervalStSCAlarms, nncFrStrStatCurrentRealTimeUCastPacketsDEClr=nncFrStrStatCurrentRealTimeUCastPacketsDEClr)
mibBuilder.exportSymbols("NNCFRINTSTATISTICS-MIB", nncFrStrStatCurrentOutDiscdUnsupEncaps=nncFrStrStatCurrentOutDiscdUnsupEncaps, nncFrPVCEndptStatCurrentInDiscdDESet=nncFrPVCEndptStatCurrentInDiscdDESet, nncFrStrStatCurrentEntry=nncFrStrStatCurrentEntry, nncFrStrStatIntervalInAborts=nncFrStrStatIntervalInAborts, nncFrStrStatCurrentSigUserChanInactive=nncFrStrStatCurrentSigUserChanInactive)
| (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_union, single_value_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(nnc_ext_intvl_state_type,) = mibBuilder.importSymbols('NNC-INTERVAL-STATISTICS-TC-MIB', 'NncExtIntvlStateType')
(nnc_extensions, nnc_ext_counter64) = mibBuilder.importSymbols('NNCGNI0001-SMI', 'nncExtensions', 'NncExtCounter64')
(object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance')
(time_ticks, integer32, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, object_identity, unsigned32, module_identity, mib_identifier, notification_type, bits, counter64, iso, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'Integer32', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ObjectIdentity', 'Unsigned32', 'ModuleIdentity', 'MibIdentifier', 'NotificationType', 'Bits', 'Counter64', 'iso', 'Gauge32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
nnc_fr_int_statistics = module_identity((1, 3, 6, 1, 4, 1, 123, 3, 30))
if mibBuilder.loadTexts:
nncFrIntStatistics.setLastUpdated('9803031200Z')
if mibBuilder.loadTexts:
nncFrIntStatistics.setOrganization('Newbridge Networks Corporation')
if mibBuilder.loadTexts:
nncFrIntStatistics.setContactInfo('Newbridge Networks Corporation Postal: 600 March Road Kanata, Ontario Canada K2K 2E6 Phone: +1 613 591 3600 Fax: +1 613 591 3680')
if mibBuilder.loadTexts:
nncFrIntStatistics.setDescription('This module contains definitions for performance monitoring of Frame Relay Streams')
nnc_fr_int_statistics_objects = mib_identifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 1))
nnc_fr_int_statistics_traps = mib_identifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 2))
nnc_fr_int_statistics_groups = mib_identifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 3))
nnc_fr_int_statistics_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 123, 3, 30, 4))
nnc_fr_str_stat_current_table = mib_table((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1))
if mibBuilder.loadTexts:
nncFrStrStatCurrentTable.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentTable.setDescription('The nncFrStrStatCurrentTable contains objects for monitoring the performance of a frame relay stream during the current 1hr interval.')
nnc_fr_str_stat_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
nncFrStrStatCurrentEntry.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentEntry.setDescription('An entry in the 1hr current statistics table. Each conceptual row contains current interval statistics for a particular frame relay stream.')
nnc_fr_str_stat_current_state = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 1), nnc_ext_intvl_state_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentState.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentState.setDescription('The state of the current interval. The object provides a status for those entries which have been reset by the user or have been subject to a wall-clock time change.')
nnc_fr_str_stat_current_absolute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 96))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nnc_fr_str_stat_current_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 3), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInOctets.setDescription('Number of bytes received on this stream.')
nnc_fr_str_stat_current_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 4), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutOctets.setDescription('Number of bytes transmitted on this stream.')
nnc_fr_str_stat_current_in_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 5), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInUCastPackets.setDescription('Number of unerrored, unicast frames received.')
nnc_fr_str_stat_current_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 6), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted.')
nnc_fr_str_stat_current_in_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 7), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscards.setDescription('Number of incoming frames discarded due to these reasons: policing, congestion.')
nnc_fr_str_stat_current_out_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 8), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscards.setDescription('Number of outgoing frames discarded due to these reasons: policing, congestion.')
nnc_fr_str_stat_current_in_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 9), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInErrors.setDescription('Number of incoming frames discarded due to errors: invalid lengths, non-integral bytes, CRC errors, bad encapsulation, invalid EA, reserved DLCI')
nnc_fr_str_stat_current_out_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 10), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutErrors.setDescription('Number of outgoing frames discarded due to errors: eg. bad encapsulation.')
nnc_fr_str_stat_current_sig_user_prot_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 11), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigUserProtErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigUserProtErrors.setDescription('Number of user-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_sig_net_prot_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 12), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigNetProtErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigNetProtErrors.setDescription('Number of network-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_sig_user_link_rel_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 13), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigUserLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigUserLinkRelErrors.setDescription('Number of user-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verifi- cation information element) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_sig_net_link_rel_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 14), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigNetLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigNetLinkRelErrors.setDescription('Number of network-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verification information element) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_sig_user_chan_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 15), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigUserChanInactive.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigUserChanInactive.setDescription('Number of times the user-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_sig_net_chan_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 16), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigNetChanInactive.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentSigNetChanInactive.setDescription('Number of times the network-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_sc_alarms = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 17), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStSCAlarms.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStSCAlarms.setDescription('Number of one second intervals for which the stream entered the severely congested state.')
nnc_fr_str_stat_current_st_time_sc = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 18), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStTimeSC.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStTimeSC.setDescription("Period of time the stream was in the severely congested state during the current interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nnc_fr_str_stat_current_st_max_duration_red = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 19), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStMaxDurationRED.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStMaxDurationRED.setDescription('Longest period of time the stream spent in the Red (severely congested) state, expressed in seconds.')
nnc_fr_str_stat_current_st_mc_alarms = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStMCAlarms.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStMCAlarms.setDescription('Number of one second intervals for which the stream entered the mildly congested state.')
nnc_fr_str_stat_current_st_time_mc = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 21), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStTimeMC.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStTimeMC.setDescription("Period of time the stream was in the mildly congested state during the current interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nnc_fr_str_stat_current_out_link_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 22), gauge32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutLinkUtilization.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutLinkUtilization.setDescription('The percentage utilization on the outgoing link during the current interval.')
nnc_fr_str_stat_current_in_link_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 23), gauge32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInLinkUtilization.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInLinkUtilization.setDescription('The percentage utilization on the incoming link during the current interval.')
nnc_fr_str_stat_current_in_invd_length = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 24), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInInvdLength.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInInvdLength.setDescription('Number of frames discarded because there was no data in the frame, or because the frame exceeded the maximum allowed length.')
nnc_fr_str_stat_current_st_last_errored_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 8388607))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLastErroredDLCI.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLastErroredDLCI.setDescription('DLCI of the most recent DLC to receive invalid frames on this frame stream.')
nnc_fr_str_stat_current_in_discd_octets_cos = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 26), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdOctetsCOS.setDescription('Number of ingress bytes discarded due to receive Class-of-Service procedures.')
nnc_fr_str_stat_current_in_discd_cosde_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 27), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdCOSDESet.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was set.')
nnc_fr_str_stat_current_in_discd_cosde_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 28), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdCOSDEClr.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was not set.')
nnc_fr_str_stat_current_in_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 29), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdBadEncaps.setDescription('Number of ingress frames discarded due to having a bad RFC1490 encapsulation header.')
nnc_fr_str_stat_current_out_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 30), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdBadEncaps.setDescription('Number of egress frames discarded due to having a bad RFC1483 encapsulation header.')
nnc_fr_str_stat_current_in_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 31), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdUnsupEncaps.setDescription('Number of ingress frames discarded due to having an unsupported RFC1490 encapsulation header.')
nnc_fr_str_stat_current_out_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 32), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdUnsupEncaps.setDescription('Number of egress frames discarded due to having an unsupported RFC1483 encapsulation header.')
nnc_fr_str_stat_current_out_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 33), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdDESet.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was set.')
nnc_fr_str_stat_current_out_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 34), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutDiscdDEClr.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was not set.')
nnc_fr_str_stat_current_in_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 35), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdDESet.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was set.')
nnc_fr_str_stat_current_in_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 36), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInDiscdDEClr.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was not set.')
nnc_fr_str_stat_current_st_lm_sig_invld_field = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 37), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldField.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldField.setDescription('Number of Status signalling frames with incorrect values for the Unnumbered Information Frame field, Protocol Discrimator field, or Call Reference Field.')
nnc_fr_str_stat_current_st_lm_sig_unsup_msg_type = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 38), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigUnsupMsgType.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigUnsupMsgType.setDescription('Number of Status signalling frames that are not a Status or Status Enquiry messsage (Unsupported message type).')
nnc_fr_str_stat_current_st_lm_sig_invld_eid = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 39), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldEID.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldEID.setDescription('Number of Status signalling frames with an IEID that is not a Report Type IEID, Keep Alive Sequence IEID, or a PVC Status IEID.')
nnc_fr_str_stat_current_st_lm_sig_invld_ie_len = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 40), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldIELen.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldIELen.setDescription('Number of Status signalling frames with an IE length field size that does not conform with the Frame Relay status signalling protocol.')
nnc_fr_str_stat_current_st_lm_sig_invld_rep_type = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 41), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldRepType.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigInvldRepType.setDescription('Number of Status signalling frames with a Report Type IE that were not a Full Report Type or a Keep Alive Confirmation.')
nnc_fr_str_stat_current_st_lm_sig_frm_with_no_i_es = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 42), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigFrmWithNoIEs.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMSigFrmWithNoIEs.setDescription('Number of Status signalling frames that terminate before the IE appears.')
nnc_fr_str_stat_current_st_user_sequence_errs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 43), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStUserSequenceErrs.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStUserSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Current Sequence Number. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_net_sequence_errs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 44), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStNetSequenceErrs.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStNetSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Current Sequence Number. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmu_timeoutsn_t1 = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 45), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUTimeoutsnT1.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUTimeoutsnT1.setDescription('Number of times the link integrity verification interval has been exceeded without receiving a Status message. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmu_status_msgs_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 46), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUStatusMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUStatusMsgsRcvd.setDescription('Number of Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmu_status_enq_msgs_sent = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 47), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUStatusENQMsgsSent.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUStatusENQMsgsSent.setDescription('Number of Status Enquiry messages sent. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmu_async_status_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 48), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUAsyncStatusRcvd.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMUAsyncStatusRcvd.setDescription('Number of asynchronous Update Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmn_timeoutsn_t2 = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 49), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNTimeoutsnT2.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNTimeoutsnT2.setDescription('Number of times the polling verification interval was exceeded without receivung a Keep Alive Sequence. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmn_status_msgs_sent = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 50), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNStatusMsgsSent.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNStatusMsgsSent.setDescription('Number of Status messages sent. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmn_status_enq_msgs_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 51), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNStatusENQMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNStatusENQMsgsRcvd.setDescription('Number of Status Enquiry messages received. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_st_lmn_async_status_sent = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 52), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNAsyncStatusSent.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStLMNAsyncStatusSent.setDescription('Number of asynchronous Update Status messages transmitted. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_current_in_crc_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 53), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInCRCErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInCRCErrors.setDescription('Number of frames with an incorrect CRC-16 value.')
nnc_fr_str_stat_current_in_non_integral = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 54), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInNonIntegral.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInNonIntegral.setDescription('Number of frames with a non-integral number of octets between the delimiting HDLC flags.')
nnc_fr_str_stat_current_in_reserved_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 55), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInReservedDLCI.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInReservedDLCI.setDescription('Number of frames with a DLCI that cannot be assigned to user connections.')
nnc_fr_str_stat_current_in_invld_ea = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 56), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInInvldEA.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInInvldEA.setDescription('Number of frames with the EA (extended address) bit incorrectly set.')
nnc_fr_str_stat_current_st_frm_too_small = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 57), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStFrmTooSmall.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStFrmTooSmall.setDescription('Number of frames that are smaller than the allowed minimum size.')
nnc_fr_str_stat_current_in_aborts = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 58), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInAborts.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInAborts.setDescription('Number of aborted frames.')
nnc_fr_str_stat_current_in_sum_of_disagremnts = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 59), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInSumOfDisagremnts.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInSumOfDisagremnts.setDescription('Total number of frames discarded because: the frame relay UNI or ICI was unavailable to accept frame traffic, the frame had a DLCI not available for end-user connections, the DLCI was inactive, the frame exceeded the maximum configured frame length (but its length was legal within the frame relay protocol), the frame violated the configured address field size (but had a legal address field size with the frame relay protocol), or was an unexpected status signalling frame.')
nnc_fr_str_stat_current_in_over_runs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 60), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInOverRuns.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentInOverRuns.setDescription('Number of times the receiver was forced to overrun.')
nnc_fr_str_stat_current_out_under_runs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 61), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutUnderRuns.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentOutUnderRuns.setDescription('Number of times the transmitter was forced to underrun.')
nnc_fr_str_stat_current_st_interval_duration = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 62), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStIntervalDuration.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentStIntervalDuration.setDescription('Duration of the statistics accumulation interval.')
nnc_fr_str_stat_current_best_effort_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 63), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortPeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Best Effort.')
nnc_fr_str_stat_current_committed_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 64), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedPeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Committed Throughptut.')
nnc_fr_str_stat_current_low_delay_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 65), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayPeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Low Delay.')
nnc_fr_str_stat_current_real_time_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 66), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimePeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimePeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Real Time.')
nnc_fr_str_stat_current_best_effort_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 67), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Best Effort. Combined with the Out Ucast Packets for service category Best Effort, the average delay per frame can be calculated.')
nnc_fr_str_stat_current_committed_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 68), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Committed Throughput. Combined with the Out Ucast Packets for service category Committed Throughput, the average delay per frame can be calculated.')
nnc_fr_str_stat_current_low_delay_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 69), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Low Delay. Combined with the Out Ucast Packets for service category Low Delay, the average delay per frame can be calculated.')
nnc_fr_str_stat_current_real_time_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 70), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Real Time. Combined with the Out Ucast Packets for service category Real Time, the average delay per frame can be calculated.')
nnc_fr_str_stat_current_best_effort_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 71), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Best Effort.')
nnc_fr_str_stat_current_committed_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 72), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Committed Throughput.')
nnc_fr_str_stat_current_low_delay_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 73), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Low Delay.')
nnc_fr_str_stat_current_real_time_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 74), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Real Time.')
nnc_fr_str_stat_current_best_effort_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 75), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Best Effort.')
nnc_fr_str_stat_current_committed_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 76), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Committed Throughput.')
nnc_fr_str_stat_current_low_delay_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 77), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Low Delay.')
nnc_fr_str_stat_current_real_time_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 78), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, transmitted in service category Real Time.')
nnc_fr_str_stat_current_best_effort_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 79), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentBestEffortDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Best Effort.')
nnc_fr_str_stat_current_committed_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 80), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentCommittedDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Committed Throughput.')
nnc_fr_str_stat_current_low_delay_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 81), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentLowDelayDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Low Delay.')
nnc_fr_str_stat_current_real_time_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 1, 1, 82), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentRealTimeDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Real Time.')
nnc_fr_str_stat_interval_table = mib_table((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2))
if mibBuilder.loadTexts:
nncFrStrStatIntervalTable.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalTable.setDescription('The nncFrStrStatIntervalTable contains objects for monitoring the performance of a frame relay stream over M historical intervals of 1hr each.')
nnc_fr_str_stat_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalNumber'))
if mibBuilder.loadTexts:
nncFrStrStatIntervalEntry.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalEntry.setDescription('An entry in the 1hr interval statistics table. Each conceptual row contains interval statistics for a par- ticular interval on a particular stream.')
nnc_fr_str_stat_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 96)))
if mibBuilder.loadTexts:
nncFrStrStatIntervalNumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalNumber.setDescription('The interval number (N) of the statistics in this row.')
nnc_fr_str_stat_interval_state = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 2), nnc_ext_intvl_state_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalState.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalState.setDescription('The state of the interval represented by this row. The object provides a status for those entries which have been reset by the user or subject to a wall-clock time change.')
nnc_fr_str_stat_interval_absolute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 96)))
if mibBuilder.loadTexts:
nncFrStrStatIntervalAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nnc_fr_str_stat_interval_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 4), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInOctets.setDescription('Number of bytes received on this stream.')
nnc_fr_str_stat_interval_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 5), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutOctets.setDescription('Number of bytes transmitted on this stream.')
nnc_fr_str_stat_interval_in_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 6), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInUCastPackets.setDescription('Number of unerrored, unicast frames received.')
nnc_fr_str_stat_interval_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 7), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted.')
nnc_fr_str_stat_interval_in_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 8), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscards.setDescription('Number of incoming frames discarded due to these reasons: policing, congestion.')
nnc_fr_str_stat_interval_out_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 9), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscards.setDescription('Number of outgoing frames discarded due to these reasons: policing, congestion.')
nnc_fr_str_stat_interval_in_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 10), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInErrors.setDescription('Number of incoming frames discarded due to errors: eg. invalid lengths, non-integral bytes...')
nnc_fr_str_stat_interval_out_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 11), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutErrors.setDescription('Number of outgoing frames discarded due to errors: eg. bad encapsulation.')
nnc_fr_str_stat_interval_sig_user_prot_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 12), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigUserProtErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigUserProtErrors.setDescription('Number of user-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_sig_net_prot_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 13), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigNetProtErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigNetProtErrors.setDescription('Number of network-side local in-channel signalling protocol errors (protocol discriminator, message type, call reference & mandatory information eleement errors) for this uni/nni stream. If the stream is not perfor- ming network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_sig_user_link_rel_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 14), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigUserLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigUserLinkRelErrors.setDescription('Number of user-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verifi- cation information element) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_sig_net_link_rel_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 15), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigNetLinkRelErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigNetLinkRelErrors.setDescription('Number of network-side local in-channel signalling link reliability errors (non receipt of Enq/Status messages or invalid sequence numbers in a link integrity verification information element) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_sig_user_chan_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 16), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigUserChanInactive.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigUserChanInactive.setDescription('Number of times the user-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_sig_net_chan_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 17), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigNetChanInactive.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalSigNetChanInactive.setDescription('Number of times the network-side channel was declared inactive (N2 errors in N3 events) for this stream. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_sc_alarms = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 18), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStSCAlarms.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStSCAlarms.setDescription('Number of one second intervals for which the stream entered the severely congested state.')
nnc_fr_str_stat_interval_st_time_sc = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 19), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStTimeSC.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStTimeSC.setDescription("Period of time the stream was in the severely congested state during the designated interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nnc_fr_str_stat_interval_st_max_duration_red = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStMaxDurationRED.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStMaxDurationRED.setDescription('Longest period of time the stream spent in the Red (severely congested) state, expressed in seconds.')
nnc_fr_str_stat_interval_st_mc_alarms = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStMCAlarms.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStMCAlarms.setDescription('Number of one second intervals for which the stream entered the mildly congested state.')
nnc_fr_str_stat_interval_st_time_mc = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 22), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStTimeMC.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStTimeMC.setDescription("Period of time the stream was in the mildly congested state during the designated interval (expressed in 10's of milliseconds). Divide into the entire length of the interval to get a ratio.")
nnc_fr_str_stat_interval_out_link_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 23), gauge32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutLinkUtilization.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutLinkUtilization.setDescription('The percentage utilization on the outgoing link during the designated interval.')
nnc_fr_str_stat_interval_in_link_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 24), gauge32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInLinkUtilization.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInLinkUtilization.setDescription('The percentage utilization on the incoming link during the designated interval.')
nnc_fr_str_stat_interval_in_invd_length = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 25), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInInvdLength.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInInvdLength.setDescription('Number of frames discarded because there was no data in the frame, or because the frame exceeded the maximum allowed length.')
nnc_fr_str_stat_interval_st_last_errored_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 26), integer32().subtype(subtypeSpec=value_range_constraint(0, 8388607))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLastErroredDLCI.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLastErroredDLCI.setDescription('DLCI of the most recent DLC to receive invalid frames on this frame stream.')
nnc_fr_str_stat_interval_in_discd_octets_cos = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 27), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdOctetsCOS.setDescription('Number of ingress bytes discarded due to receive Class-of-Service procedures.')
nnc_fr_str_stat_interval_in_discd_cosde_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 28), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdCOSDESet.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was set.')
nnc_fr_str_stat_interval_in_discd_cosde_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 29), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdCOSDEClr.setDescription('Number of ingress frames discarded due to receive Class-of-Service procedures, in which the DE bit was not set.')
nnc_fr_str_stat_interval_in_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 30), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdBadEncaps.setDescription('Number of ingress frames discarded due to having a bad RFC1490 encapsulation header.')
nnc_fr_str_stat_interval_out_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 31), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdBadEncaps.setDescription('Number of egress frames discarded due to having a bad RFC1483 encapsulation header.')
nnc_fr_str_stat_interval_in_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 32), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdUnsupEncaps.setDescription('Number of ingress frames discarded due to having an unsupported RFC1490 encapsulation header.')
nnc_fr_str_stat_interval_out_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 33), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdUnsupEncaps.setDescription('Number of egress frames discarded due to having an unsupported RFC1483 encapsulation header.')
nnc_fr_str_stat_interval_out_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 34), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdDESet.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was set.')
nnc_fr_str_stat_interval_out_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 35), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutDiscdDEClr.setDescription('Number of egress frames discarded due to transmit congestion procedures, in which the DE bit was not set.')
nnc_fr_str_stat_interval_in_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 36), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdDESet.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was set.')
nnc_fr_str_stat_interval_in_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 37), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInDiscdDEClr.setDescription('Number of ingress frames discarded due to receive congestion procedures, in which the DE bit was not set.')
nnc_fr_str_stat_interval_st_lm_sig_invld_field = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 38), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldField.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldField.setDescription('Number of Status signalling frames with incorrect values for the Unnumbered Information Frame field, Protocol Discriminator field, or Call Reference Field.')
nnc_fr_str_stat_interval_st_lm_sig_unsup_msg_type = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 39), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigUnsupMsgType.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigUnsupMsgType.setDescription('Number of Status signalling frames that are not a Status or Status Enquiry messsage (Unsupported message type).')
nnc_fr_str_stat_interval_st_lm_sig_invld_eid = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 40), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldEID.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldEID.setDescription('Number of Status signalling frames with an IEID that is not a Report Type IEID, Keep Alive Sequence IEID, or a PVC Status IEID.')
nnc_fr_str_stat_interval_st_lm_sig_invld_ie_len = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 41), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldIELen.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldIELen.setDescription('Number of Status signalling frames with an IE length field size that does not conform with the Frame Relay status signalling protocol.')
nnc_fr_str_stat_interval_st_lm_sig_invld_rep_type = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 42), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldRepType.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigInvldRepType.setDescription('Number of Status signalling frames with a Report Type IE that were not a Full Report Type or a Keep Alive Confirmation.')
nnc_fr_str_stat_interval_st_lm_sig_frm_with_no_i_es = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 43), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigFrmWithNoIEs.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMSigFrmWithNoIEs.setDescription('Number of Status signalling frames that terminate before the IE appears.')
nnc_fr_str_stat_interval_st_user_sequence_errs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 44), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStUserSequenceErrs.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStUserSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Interval Sequence Number. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_net_sequence_errs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 45), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStNetSequenceErrs.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStNetSequenceErrs.setDescription('Number of status signalling frames received with a Last Received Sequence number that is inconsistent with the expected value, the last transmitted Interval Sequence Number. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmu_timeoutsn_t1 = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 46), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUTimeoutsnT1.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUTimeoutsnT1.setDescription('Number of times the link integrity verification interval has been exceeded without receiving a Status message. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmu_status_msgs_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 47), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUStatusMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUStatusMsgsRcvd.setDescription('Number of Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmu_status_enq_msgs_sent = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 48), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUStatusENQMsgsSent.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUStatusENQMsgsSent.setDescription('Number of Status Enquiry messages sent. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmu_async_status_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 49), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUAsyncStatusRcvd.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMUAsyncStatusRcvd.setDescription('Number of asynchronous Update Status messages received. If the stream is not performing user-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmn_timeoutsn_t2 = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 50), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNTimeoutsnT2.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNTimeoutsnT2.setDescription('Number of times the polling verification interval was exceeded without receivung a Keep Alive Sequence. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmn_status_msgs_sent = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 51), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNStatusMsgsSent.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNStatusMsgsSent.setDescription('Number of Status messages sent. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmn_status_enq_msgs_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 52), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNStatusENQMsgsRcvd.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNStatusENQMsgsRcvd.setDescription('Number of Status Enquiry messages received. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_st_lmn_async_status_sent = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 53), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNAsyncStatusSent.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStLMNAsyncStatusSent.setDescription('Number of asynchronous Update Status messages transmitted. If the stream is not performing network-side procedures, this value is equal to noSuchName.')
nnc_fr_str_stat_interval_in_crc_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 54), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInCRCErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInCRCErrors.setDescription('Number of frames with an incorrect CRC-16 value.')
nnc_fr_str_stat_interval_in_non_integral = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 55), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInNonIntegral.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInNonIntegral.setDescription('Number of frames with a non-integral number of octets between the delimiting HDLC flags.')
nnc_fr_str_stat_interval_in_reserved_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 56), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInReservedDLCI.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInReservedDLCI.setDescription('Number of frames with a DLCI that cannot be assigned to user connections.')
nnc_fr_str_stat_interval_in_invld_ea = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 57), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInInvldEA.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInInvldEA.setDescription('Number of frames with the EA (extended address) bit incorrectly set.')
nnc_fr_str_stat_interval_st_frm_too_small = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 58), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStFrmTooSmall.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStFrmTooSmall.setDescription('Number of frames that are smaller than the allowed minimum size.')
nnc_fr_str_stat_interval_in_aborts = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 59), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInAborts.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInAborts.setDescription('Number of aborted frames.')
nnc_fr_str_stat_interval_in_sum_of_disagremnts = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 60), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInSumOfDisagremnts.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInSumOfDisagremnts.setDescription('Total number of frames discarded because: the frame relay UNI or ICI was unavailable to accept frame traffic, the frame had a DLCI not available for end-user connections, the DLCI was inactive, the frame exceeded the maximum configured frame length (but its length was legal within the frame relay protocol), the frame violated the configured address field size (but had a legal address field size with the frame relay protocol), or was an unexpected status signalling frame.')
nnc_fr_str_stat_interval_in_over_runs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 61), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInOverRuns.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalInOverRuns.setDescription('Number of times the receiver was forced to overrun.')
nnc_fr_str_stat_interval_out_under_runs = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 62), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutUnderRuns.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalOutUnderRuns.setDescription('Number of times the transmitter was forced to underrun.')
nnc_fr_str_stat_interval_st_interval_duration = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 63), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStIntervalDuration.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalStIntervalDuration.setDescription('Duration of the statistics accumulation interval.')
nnc_fr_str_stat_interval_best_effort_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 64), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortPeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Best Effort.')
nnc_fr_str_stat_interval_committed_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 65), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedPeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Committed Throughptut.')
nnc_fr_str_stat_interval_low_delay_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 66), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayPeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayPeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category: Low Delay.')
nnc_fr_str_stat_interval_real_time_peak_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 67), gauge32().subtype(subtypeSpec=value_range_constraint(1, 60000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimePeakDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimePeakDelay.setDescription('The largest delay experienced by any frame that was transmitted on the stream in service category Real Time.')
nnc_fr_str_stat_interval_best_effort_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 68), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Best Effort. Combined with the Out Ucast Packets for service category Best Effort, the average delay per frame can be calculated.')
nnc_fr_str_stat_interval_committed_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 69), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Committed Throughput. Combined with the Out Ucast Packets for service category Committed Throughput, the average delay per frame can be calculated.')
nnc_fr_str_stat_interval_low_delay_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 70), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Low Delay. Combined with the Out Ucast Packets for service category Low Delay, the average delay per frame can be calculated.')
nnc_fr_str_stat_interval_real_time_acc_delay = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 71), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeAccDelay.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeAccDelay.setDescription('The accumulated delay experienced by all frames in a stream transmitted in service category Real Time. Combined with the Out Ucast Packets for service category Real Time, the average delay per frame can be calculated.')
nnc_fr_str_stat_interval_best_effort_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 72), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Best Effort.')
nnc_fr_str_stat_interval_committed_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 73), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Committed Throughput.')
nnc_fr_str_stat_interval_low_delay_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 74), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Low Delay.')
nnc_fr_str_stat_interval_real_time_out_u_cast_packets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 75), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeOutUCastPackets.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeOutUCastPackets.setDescription('Number of unerrored, unicast frames transmitted in service category Real Time.')
nnc_fr_str_stat_interval_best_effort_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 76), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Best Effort.')
nnc_fr_str_stat_interval_committed_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 77), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Committed Throughput.')
nnc_fr_str_stat_interval_low_delay_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 78), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set transmitted in service category Low Delay.')
nnc_fr_str_stat_interval_real_time_u_cast_packets_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 79), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeUCastPacketsDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeUCastPacketsDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, transmitted in service category Real Time.')
nnc_fr_str_stat_interval_best_effort_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 80), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalBestEffortDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Best Effort.')
nnc_fr_str_stat_interval_committed_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 81), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalCommittedDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Committed Throughput.')
nnc_fr_str_stat_interval_low_delay_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 82), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalLowDelayDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Low Delay.')
nnc_fr_str_stat_interval_real_time_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 2, 1, 83), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalRealTimeDiscdDEClr.setDescription('Number of unerrored, unicast frames with the DE bit not set, discarded by QoS procedures in service category Real Time.')
nnc_fr_pvc_endpt_stat_current_table = mib_table((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3))
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentTable.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentTable.setDescription('The nncFrPVCEndptStatCurrentTable contains objects for monitoring performance of a frame relay endpoint during the current 1hr interval.')
nnc_fr_pvc_endpt_stat_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentDLCINumber'))
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentEntry.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentEntry.setDescription('An entry in the 1hr current statistics table. Each conceptual row contains current interval statistics for a particular PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_dlci_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1024)))
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentDLCINumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentDLCINumber.setDescription('The DLCI number of the stream to which statistics in this row belong.')
nnc_fr_pvc_endpt_stat_current_state = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 2), nnc_ext_intvl_state_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentState.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentState.setDescription('The state of the current interval. The object provides a status for those entries which have been reset by the user or have been subject to a wall-clock time change.')
nnc_fr_pvc_endpt_stat_current_absolute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 96)))
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nnc_fr_pvc_endpt_stat_current_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 4), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInFrames.setDescription('Number of frames received on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 5), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFrames.setDescription('Number of frames transmitted on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 6), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInOctets.setDescription('Number of bytes received on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 7), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutOctets.setDescription('Number of bytes transmitted on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_in_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 8), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscards.setDescription('Number of frames received by the network (ingress) that were discarded due to traffic enforcement for this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_out_excess_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 9), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutExcessFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutExcessFrames.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that were treated as excess traffic (the DE bit may be set to one).')
nnc_fr_pvc_endpt_stat_current_in_de_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 10), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDEFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDEFrames.setDescription('Number of frames received by the network (ingress) with the DE bit set to (1) for the PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_in_cos_tag_de_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 11), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInCosTagDeFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInCosTagDeFrames.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were policed from normal to excess traffic (the DE bit was set to one) and transmitted.')
nnc_fr_pvc_endpt_stat_current_in_octets_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 12), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInOctetsDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInOctetsDESet.setDescription('Number of bytes received on this PVC Endpoint with the DE bit set.')
nnc_fr_pvc_endpt_stat_current_in_frames_becn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 13), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInFramesBECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the BECN bit set.')
nnc_fr_pvc_endpt_stat_current_in_frames_fecn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 14), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInFramesFECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the FECN bit set.')
nnc_fr_pvc_endpt_stat_current_in_invd_length = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 15), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInInvdLength.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInInvdLength.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were discarded because the frame had no data, or the data exceeded the maximum allowed length.')
nnc_fr_pvc_endpt_stat_current_out_octets_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 16), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutOctetsDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutOctetsDESet.setDescription('Number of bytes transmitted on this PVC Endpoint with the DE bit set.')
nnc_fr_pvc_endpt_stat_current_out_frames_becn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 17), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFramesBECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the BECN bit set.')
nnc_fr_pvc_endpt_stat_current_out_frames_fecn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 18), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFramesFECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the FECN bit set.')
nnc_fr_pvc_endpt_stat_current_out_frames_in_red = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 19), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFramesInRed.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutFramesInRed.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint when the frame stream was in Red State.')
nnc_fr_pvc_endpt_stat_current_in_discd_octets_cos = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 20), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdOctetsCOS.setDescription('Number of bytes discarded because of receive class-of-service enforcement on the PVC Endpoint.')
nnc_fr_pvc_endpt_stat_current_in_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 21), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdDESet.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was set.')
nnc_fr_pvc_endpt_stat_current_in_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 22), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdDEClr.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was not set.')
nnc_fr_pvc_endpt_stat_current_in_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 23), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdBadEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of a bad receive RFC1490 encapsulation header.')
nnc_fr_pvc_endpt_stat_current_in_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 24), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdUnsupEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of an unsupported receive RFC1490 encapsulation header.')
nnc_fr_pvc_endpt_stat_current_in_discd_cosde_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 25), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdCOSDESet.setDescription('Number of frames discarded due to receive class of service procedures, in which the DE bit was set.')
nnc_fr_pvc_endpt_stat_current_in_discd_cosde_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 26), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentInDiscdCOSDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to receive class of service procedures, in which the DE bit was not set.')
nnc_fr_pvc_endpt_stat_current_out_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 27), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdDESet.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was set.')
nnc_fr_pvc_endpt_stat_current_out_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 28), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was not set.')
nnc_fr_pvc_endpt_stat_current_out_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 29), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdBadEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having a bad RFC1483 encapsulation header.')
nnc_fr_pvc_endpt_stat_current_out_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 30), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having an unsupported RFC1483 encapsulation header.')
nnc_fr_pvc_endpt_stat_current_st_reas_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 3, 1, 31), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentStReasDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentStReasDiscards.setDescription('Number of frames discarded for the PVC Endpoint due to any reassembly errors.')
nnc_fr_pvc_endpt_stat_interval_table = mib_table((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4))
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalTable.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalTable.setDescription('The nncFrPVCEndptStatIntervalTable contains objects for monitoring performance of a frame relay endpoint over M 1hr historical intervals.')
nnc_fr_pvc_endpt_stat_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalDLCINumber'), (0, 'NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalNumber'))
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalEntry.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalEntry.setDescription('An entry in the 1hr interval statistics table. Each conceptual row contains statistics for a particular PVC Endpoint and interval.')
nnc_fr_pvc_endpt_stat_interval_dlci_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1024)))
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalDLCINumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalDLCINumber.setDescription('The DLCI number of the stream to which statistics in this row belong.')
nnc_fr_pvc_endpt_stat_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 96)))
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalNumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalNumber.setDescription('The interval number (N) of the statistics in this row.')
nnc_fr_pvc_endpt_stat_interval_state = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 3), nnc_ext_intvl_state_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalState.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalState.setDescription('The state of the interval represented by this row. The object provides a status for those entries which have been reset by the user or have been subject to a wall- clock time change.')
nnc_fr_pvc_endpt_stat_interval_absolute_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 96)))
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalAbsoluteIntervalNumber.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalAbsoluteIntervalNumber.setDescription('The absolute interval number of this interval.')
nnc_fr_pvc_endpt_stat_interval_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 5), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInFrames.setDescription('Number of frames received on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 6), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFrames.setDescription('Number of frames transmitted on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 7), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInOctets.setDescription('Number of bytes received on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 8), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutOctets.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutOctets.setDescription('Number of bytes transmitted on this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_in_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 9), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscards.setDescription('Number of frames received by the network (ingress) that were discarded due to traffic enforcement for this PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_out_excess_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 10), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutExcessFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutExcessFrames.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that were treated as excess traffic (the DE bit may be set to one).')
nnc_fr_pvc_endpt_stat_interval_in_de_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 11), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDEFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDEFrames.setDescription('Number of frames received by the network (ingress) with the DE bit set to (1) for the PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_in_cos_tag_de_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 12), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInCosTagDeFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInCosTagDeFrames.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were policed to be excess traffic (the DE bit was set to one) and transmitted.')
nnc_fr_pvc_endpt_stat_interval_in_octets_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 13), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInOctetsDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInOctetsDESet.setDescription('Number of bytes received on this PVC Endpoint with the DE bit set.')
nnc_fr_pvc_endpt_stat_interval_in_frames_becn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 14), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInFramesBECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the BECN bit set.')
nnc_fr_pvc_endpt_stat_interval_in_frames_fecn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 15), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInFramesFECNSet.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that had the FECN bit set.')
nnc_fr_pvc_endpt_stat_interval_in_invd_length = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 16), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInInvdLength.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInInvdLength.setDescription('Number of frames received by the network (ingress) for this PVC Endpoint that were discarded because the frame had no data, or the data exceeded the maximum allowed length.')
nnc_fr_pvc_endpt_stat_interval_out_octets_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 17), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutOctetsDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutOctetsDESet.setDescription('Number of bytes transmitted on this PVC Endpoint with the DE bit set.')
nnc_fr_pvc_endpt_stat_interval_out_frames_becn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 18), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFramesBECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFramesBECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the BECN bit set.')
nnc_fr_pvc_endpt_stat_interval_out_frames_fecn_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 19), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFramesFECNSet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFramesFECNSet.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint that had the FECN bit set.')
nnc_fr_pvc_endpt_stat_interval_out_frames_in_red = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 20), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFramesInRed.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutFramesInRed.setDescription('Number of frames transmitted by the network (egress) for this PVC Endpoint when the frame stream was in Red State.')
nnc_fr_pvc_endpt_stat_interval_in_discd_octets_cos = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 21), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdOctetsCOS.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdOctetsCOS.setDescription('Number of bytes discarded because of receive class-of-service enforcement on the PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_in_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 22), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdDESet.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was set.')
nnc_fr_pvc_endpt_stat_interval_in_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 23), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdDEClr.setDescription('Number of frames discarded because of receive congestion procedures, in which the DE bit was not set.')
nnc_fr_pvc_endpt_stat_interval_in_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 24), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdBadEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of a bad receive RFC1490 encapsulation header.')
nnc_fr_pvc_endpt_stat_interval_in_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 25), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdUnsupEncaps.setDescription('Number of frames discarded on this PVC Endpoint because of an unsupported receive RFC1490 encapsulation header.')
nnc_fr_pvc_endpt_stat_interval_in_discd_cosde_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 26), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdCOSDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdCOSDESet.setDescription('Number of frames discarded due to receive class of service procedures, in which the DE bit was set.')
nnc_fr_pvc_endpt_stat_interval_in_discd_cosde_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 27), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdCOSDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalInDiscdCOSDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to receive class of service procedures, in which the DE bit was not set.')
nnc_fr_pvc_endpt_stat_interval_out_discd_de_set = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 28), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdDESet.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdDESet.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was set.')
nnc_fr_pvc_endpt_stat_interval_out_discd_de_clr = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 29), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdDEClr.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdDEClr.setDescription('Number of frames discarded for the PVC Endpoint due to transmit congestion procedures, in which the DE bit was not set.')
nnc_fr_pvc_endpt_stat_interval_out_discd_bad_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 30), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdBadEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdBadEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having a bad RFC1483 encapsulation header.')
nnc_fr_pvc_endpt_stat_interval_out_discd_unsup_encaps = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 31), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps.setDescription('Number of frames discarded for the PVC Endpoint due to having an unsupported RFC1483 encapsulation header.')
nnc_fr_pvc_endpt_stat_interval_st_reas_discards = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 4, 1, 32), nnc_ext_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalStReasDiscards.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalStReasDiscards.setDescription('Number of frames discarded for the PVC Endpoint due to any reassembly errors.')
nnc_fr_depth_of_historical_strata = mib_scalar((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 96))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrDepthOfHistoricalStrata.setStatus('current')
if mibBuilder.loadTexts:
nncFrDepthOfHistoricalStrata.setDescription('Depth of historical strata of FR interval statistics.')
nnc_fr_str_bert_stat_table = mib_table((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6))
if mibBuilder.loadTexts:
nncFrStrBertStatTable.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatTable.setDescription('The nncFrStrBertStatTable contains objects for reporting the current statistics of a BERT being performed on a frame relay stream. This feature is introduced in Rel 2.2 frame relay cards.')
nnc_fr_str_bert_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
nncFrStrBertStatEntry.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatEntry.setDescription('An entry in the BERT statistics table. Each conceptual row contains statistics related to the BERT being performed on a specific DLCI within a particular frame relay stream.')
nnc_fr_str_bert_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertDlci.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertDlci.setDescription('This object indicates if there is a BERT active on the frame relay stream, and when active on which DLCI the BERT is active on. WHERE: 0 = BERT not active, non-zero = DLCI')
nnc_fr_str_bert_stat_status = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatStatus.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatStatus.setDescription('The current status of the BERT when the BERT is activated: where 0 = Loss of pattern sync. 1 = Pattern Sync.')
nnc_fr_str_bert_stat_tx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 3), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatTxFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatTxFrames.setDescription('The number of Frames transmitted onto the stream by BERT Task. Each BERT Frame is of a fixed size and contains a fixed pattern.')
nnc_fr_str_bert_stat_rx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 4), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatRxFrames.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatRxFrames.setDescription('The number of Frames received while the BERT is in pattern sync. The Rx Frame count will only be incremented when in pattern sync and the received packet is the correct size and contains the DLCI being BERTED.')
nnc_fr_str_bert_stat_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 5), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatRxBytes.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatRxBytes.setDescription('The number of Bytes transmitted onto the stream by BERT Task. Each BERT packet is of a fixed size and contains a fixed pattern.')
nnc_fr_str_bert_stat_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 6), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatTxBytes.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatTxBytes.setDescription('The number of Bytes transmitted while the BERT is in pattern sync. The Tx Byte count will only be incremented when in pattern sync.')
nnc_fr_str_bert_stat_rx_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 7), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatRxErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatRxErrors.setDescription('The number of errors detected in the received packets while the BERT is in pattern sync. Packets flagged as having CRC errors that contain the DLCI being BERTED and the correct packet size being BERTED will be scanned for errors and the number of errors accumulated in this counter.')
nnc_fr_str_bert_stat_est_errors = mib_table_column((1, 3, 6, 1, 4, 1, 123, 3, 30, 1, 6, 1, 8), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nncFrStrBertStatEstErrors.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatEstErrors.setDescription('The estimated number of errors encountered by the packets being transmitted while the BERT is in pattern sync based on the fact that the packets are not returned, and pattern sync is maintained.')
nnc_fr_str_stat_current_group = object_group((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 1)).setObjects(('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentState'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentAbsoluteIntervalNumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscards'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutDiscards'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentSigUserProtErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentSigNetProtErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentSigUserLinkRelErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentSigNetLinkRelErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentSigUserChanInactive'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentSigNetChanInactive'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStSCAlarms'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStTimeSC'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStMaxDurationRED'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStMCAlarms'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStTimeMC'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutLinkUtilization'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInLinkUtilization'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInInvdLength'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLastErroredDLCI'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdOctetsCOS'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdCOSDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdCOSDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMSigInvldField'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMSigUnsupMsgType'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMSigInvldEID'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMSigInvldIELen'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMSigInvldRepType'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMSigFrmWithNoIEs'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStUserSequenceErrs'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStNetSequenceErrs'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMUTimeoutsnT1'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMUStatusMsgsRcvd'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMUStatusENQMsgsSent'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMUAsyncStatusRcvd'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMNTimeoutsnT2'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMNStatusMsgsSent'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMNStatusENQMsgsRcvd'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStLMNAsyncStatusSent'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInCRCErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInNonIntegral'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInReservedDLCI'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInInvldEA'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStFrmTooSmall'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInAborts'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInSumOfDisagremnts'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentInOverRuns'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentOutUnderRuns'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentStIntervalDuration'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentBestEffortPeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentCommittedPeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentLowDelayPeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentRealTimePeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentBestEffortAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentCommittedAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentLowDelayAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentRealTimeAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentBestEffortOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentCommittedOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentLowDelayOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentRealTimeOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentBestEffortUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentCommittedUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentLowDelayUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentRealTimeUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentBestEffortDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentCommittedDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentLowDelayDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentRealTimeDiscdDEClr'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nnc_fr_str_stat_current_group = nncFrStrStatCurrentGroup.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatCurrentGroup.setDescription('Collection of objects providing 1hr current statistics for a FR stream.')
nnc_fr_str_stat_interval_group = object_group((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 2)).setObjects(('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalNumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalState'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalAbsoluteIntervalNumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscards'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutDiscards'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalSigUserProtErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalSigNetProtErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalSigUserLinkRelErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalSigNetLinkRelErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalSigUserChanInactive'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalSigNetChanInactive'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStSCAlarms'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStTimeSC'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStMaxDurationRED'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStMCAlarms'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStTimeMC'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutLinkUtilization'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInLinkUtilization'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInInvdLength'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLastErroredDLCI'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdOctetsCOS'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdCOSDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdCOSDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMSigInvldField'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMSigUnsupMsgType'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMSigInvldEID'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMSigInvldIELen'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMSigInvldRepType'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMSigFrmWithNoIEs'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStUserSequenceErrs'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStNetSequenceErrs'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMUTimeoutsnT1'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMUStatusMsgsRcvd'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMUStatusENQMsgsSent'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMUAsyncStatusRcvd'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMNTimeoutsnT2'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMNStatusMsgsSent'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMNStatusENQMsgsRcvd'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStLMNAsyncStatusSent'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInCRCErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInNonIntegral'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInReservedDLCI'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInInvldEA'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStFrmTooSmall'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInAborts'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInSumOfDisagremnts'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalInOverRuns'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalOutUnderRuns'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalStIntervalDuration'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalBestEffortPeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalCommittedPeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalLowDelayPeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalRealTimePeakDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalBestEffortAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalCommittedAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalLowDelayAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalRealTimeAccDelay'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalBestEffortOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalCommittedOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalLowDelayOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalRealTimeOutUCastPackets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalBestEffortUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalCommittedUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalLowDelayUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalRealTimeUCastPacketsDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalBestEffortDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalCommittedDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalLowDelayDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatIntervalRealTimeDiscdDEClr'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nnc_fr_str_stat_interval_group = nncFrStrStatIntervalGroup.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrStatIntervalGroup.setDescription('Collection of objects providing 1hr interval statistics for a FR stream.')
nnc_fr_pvc_endpt_stat_current_group = object_group((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 3)).setObjects(('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentDLCINumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentState'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentAbsoluteIntervalNumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscards'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutExcessFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDEFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInCosTagDeFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInOctetsDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInFramesBECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInFramesFECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInInvdLength'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutOctetsDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutFramesBECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutFramesFECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutFramesInRed'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdOctetsCOS'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdCOSDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentInDiscdCOSDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentStReasDiscards'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nnc_fr_pvc_endpt_stat_current_group = nncFrPVCEndptStatCurrentGroup.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatCurrentGroup.setDescription('Collection of objects providing 1hr current statistics for a FR PVC Endpoint.')
nnc_fr_pvc_endpt_stat_interval_group = object_group((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 4)).setObjects(('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalDLCINumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalNumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalState'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalAbsoluteIntervalNumber'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutOctets'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscards'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutExcessFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDEFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInCosTagDeFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInOctetsDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInFramesBECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInFramesFECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInInvdLength'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutOctetsDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutFramesBECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutFramesFECNSet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutFramesInRed'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdOctetsCOS'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdCOSDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalInDiscdCOSDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutDiscdDESet'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutDiscdDEClr'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutDiscdBadEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatIntervalStReasDiscards'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nnc_fr_pvc_endpt_stat_interval_group = nncFrPVCEndptStatIntervalGroup.setStatus('current')
if mibBuilder.loadTexts:
nncFrPVCEndptStatIntervalGroup.setDescription('Collection of objects providing 1hr current statistics for a FR PVC Endpoint.')
nnc_fr_str_bert_stat_group = object_group((1, 3, 6, 1, 4, 1, 123, 3, 30, 3, 6)).setObjects(('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertDlci'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatStatus'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatTxFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatRxFrames'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatTxBytes'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatRxBytes'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatRxErrors'), ('NNCFRINTSTATISTICS-MIB', 'nncFrStrBertStatEstErrors'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nnc_fr_str_bert_stat_group = nncFrStrBertStatGroup.setStatus('current')
if mibBuilder.loadTexts:
nncFrStrBertStatGroup.setDescription('Collection of objects providing BERT statistics for a BERT performed on a Frame Relay stream.')
nnc_fr_int_statistics_compliance = module_compliance((1, 3, 6, 1, 4, 1, 123, 3, 30, 4, 1)).setObjects(('NNCFRINTSTATISTICS-MIB', 'nncFrStrStatCurrentGroup'), ('NNCFRINTSTATISTICS-MIB', 'nncFrPVCEndptStatCurrentGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
nnc_fr_int_statistics_compliance = nncFrIntStatisticsCompliance.setStatus('current')
if mibBuilder.loadTexts:
nncFrIntStatisticsCompliance.setDescription('The compliance statement for Newbridge SNMP entities which have FR streams and endpoints.')
mibBuilder.exportSymbols('NNCFRINTSTATISTICS-MIB', nncFrStrStatIntervalInDiscdOctetsCOS=nncFrStrStatIntervalInDiscdOctetsCOS, nncFrStrStatCurrentStMCAlarms=nncFrStrStatCurrentStMCAlarms, nncFrStrStatCurrentTable=nncFrStrStatCurrentTable, nncFrPVCEndptStatCurrentOutDiscdBadEncaps=nncFrPVCEndptStatCurrentOutDiscdBadEncaps, nncFrPVCEndptStatCurrentStReasDiscards=nncFrPVCEndptStatCurrentStReasDiscards, nncFrStrStatIntervalStLMUStatusENQMsgsSent=nncFrStrStatIntervalStLMUStatusENQMsgsSent, nncFrStrStatCurrentSigNetLinkRelErrors=nncFrStrStatCurrentSigNetLinkRelErrors, nncFrStrStatIntervalOutDiscdUnsupEncaps=nncFrStrStatIntervalOutDiscdUnsupEncaps, nncFrStrStatCurrentInDiscdOctetsCOS=nncFrStrStatCurrentInDiscdOctetsCOS, nncFrStrStatCurrentCommittedOutUCastPackets=nncFrStrStatCurrentCommittedOutUCastPackets, nncFrPVCEndptStatCurrentGroup=nncFrPVCEndptStatCurrentGroup, nncFrStrStatIntervalStTimeMC=nncFrStrStatIntervalStTimeMC, nncFrPVCEndptStatIntervalInOctets=nncFrPVCEndptStatIntervalInOctets, nncFrStrBertStatTxBytes=nncFrStrBertStatTxBytes, nncFrStrStatCurrentCommittedPeakDelay=nncFrStrStatCurrentCommittedPeakDelay, nncFrPVCEndptStatCurrentInFrames=nncFrPVCEndptStatCurrentInFrames, nncFrStrStatCurrentInInvldEA=nncFrStrStatCurrentInInvldEA, nncFrStrStatCurrentInOverRuns=nncFrStrStatCurrentInOverRuns, nncFrPVCEndptStatIntervalNumber=nncFrPVCEndptStatIntervalNumber, nncFrStrStatIntervalLowDelayOutUCastPackets=nncFrStrStatIntervalLowDelayOutUCastPackets, nncFrPVCEndptStatCurrentOutOctets=nncFrPVCEndptStatCurrentOutOctets, nncFrPVCEndptStatIntervalInInvdLength=nncFrPVCEndptStatIntervalInInvdLength, nncFrStrStatIntervalSigUserLinkRelErrors=nncFrStrStatIntervalSigUserLinkRelErrors, nncFrPVCEndptStatCurrentInFramesFECNSet=nncFrPVCEndptStatCurrentInFramesFECNSet, nncFrIntStatisticsGroups=nncFrIntStatisticsGroups, nncFrStrBertStatTxFrames=nncFrStrBertStatTxFrames, nncFrStrStatIntervalStUserSequenceErrs=nncFrStrStatIntervalStUserSequenceErrs, nncFrPVCEndptStatCurrentOutOctetsDESet=nncFrPVCEndptStatCurrentOutOctetsDESet, nncFrPVCEndptStatIntervalInDiscdOctetsCOS=nncFrPVCEndptStatIntervalInDiscdOctetsCOS, nncFrStrBertStatEstErrors=nncFrStrBertStatEstErrors, nncFrStrStatCurrentAbsoluteIntervalNumber=nncFrStrStatCurrentAbsoluteIntervalNumber, nncFrStrStatCurrentStLMSigInvldRepType=nncFrStrStatCurrentStLMSigInvldRepType, nncFrPVCEndptStatIntervalInOctetsDESet=nncFrPVCEndptStatIntervalInOctetsDESet, nncFrStrStatCurrentInDiscdUnsupEncaps=nncFrStrStatCurrentInDiscdUnsupEncaps, nncFrStrStatIntervalInDiscards=nncFrStrStatIntervalInDiscards, nncFrIntStatistics=nncFrIntStatistics, nncFrStrStatCurrentCommittedDiscdDEClr=nncFrStrStatCurrentCommittedDiscdDEClr, nncFrStrStatIntervalInDiscdCOSDESet=nncFrStrStatIntervalInDiscdCOSDESet, nncFrPVCEndptStatIntervalInFramesFECNSet=nncFrPVCEndptStatIntervalInFramesFECNSet, nncFrStrStatCurrentInSumOfDisagremnts=nncFrStrStatCurrentInSumOfDisagremnts, nncFrPVCEndptStatIntervalInDiscdCOSDESet=nncFrPVCEndptStatIntervalInDiscdCOSDESet, nncFrPVCEndptStatIntervalStReasDiscards=nncFrPVCEndptStatIntervalStReasDiscards, nncFrStrStatCurrentSigNetChanInactive=nncFrStrStatCurrentSigNetChanInactive, nncFrStrStatCurrentInInvdLength=nncFrStrStatCurrentInInvdLength, nncFrStrStatCurrentStTimeMC=nncFrStrStatCurrentStTimeMC, nncFrStrStatCurrentRealTimePeakDelay=nncFrStrStatCurrentRealTimePeakDelay, nncFrStrStatIntervalInDiscdUnsupEncaps=nncFrStrStatIntervalInDiscdUnsupEncaps, nncFrStrStatIntervalStIntervalDuration=nncFrStrStatIntervalStIntervalDuration, nncFrPVCEndptStatCurrentInDiscdOctetsCOS=nncFrPVCEndptStatCurrentInDiscdOctetsCOS, nncFrStrStatCurrentStUserSequenceErrs=nncFrStrStatCurrentStUserSequenceErrs, nncFrPVCEndptStatIntervalOutDiscdDESet=nncFrPVCEndptStatIntervalOutDiscdDESet, nncFrStrBertStatRxFrames=nncFrStrBertStatRxFrames, nncFrStrStatCurrentInErrors=nncFrStrStatCurrentInErrors, nncFrStrStatIntervalStLMSigUnsupMsgType=nncFrStrStatIntervalStLMSigUnsupMsgType, nncFrStrStatIntervalRealTimeOutUCastPackets=nncFrStrStatIntervalRealTimeOutUCastPackets, nncFrStrStatIntervalLowDelayUCastPacketsDEClr=nncFrStrStatIntervalLowDelayUCastPacketsDEClr, nncFrStrStatCurrentState=nncFrStrStatCurrentState, nncFrStrStatIntervalOutDiscards=nncFrStrStatIntervalOutDiscards, nncFrStrStatIntervalRealTimeDiscdDEClr=nncFrStrStatIntervalRealTimeDiscdDEClr, nncFrStrStatCurrentStLMUStatusENQMsgsSent=nncFrStrStatCurrentStLMUStatusENQMsgsSent, nncFrStrStatIntervalBestEffortOutUCastPackets=nncFrStrStatIntervalBestEffortOutUCastPackets, nncFrStrStatCurrentInDiscdDEClr=nncFrStrStatCurrentInDiscdDEClr, nncFrIntStatisticsCompliances=nncFrIntStatisticsCompliances, nncFrStrStatCurrentBestEffortPeakDelay=nncFrStrStatCurrentBestEffortPeakDelay, nncFrStrStatIntervalStTimeSC=nncFrStrStatIntervalStTimeSC, nncFrStrBertStatRxErrors=nncFrStrBertStatRxErrors, nncFrStrStatCurrentLowDelayOutUCastPackets=nncFrStrStatCurrentLowDelayOutUCastPackets, nncFrStrStatCurrentInUCastPackets=nncFrStrStatCurrentInUCastPackets, nncFrStrStatIntervalStLMSigInvldIELen=nncFrStrStatIntervalStLMSigInvldIELen, nncFrStrStatIntervalRealTimeAccDelay=nncFrStrStatIntervalRealTimeAccDelay, nncFrStrStatCurrentOutUnderRuns=nncFrStrStatCurrentOutUnderRuns, nncFrStrStatIntervalOutDiscdDESet=nncFrStrStatIntervalOutDiscdDESet, nncFrStrStatIntervalOutUnderRuns=nncFrStrStatIntervalOutUnderRuns, nncFrPVCEndptStatIntervalState=nncFrPVCEndptStatIntervalState, nncFrStrStatCurrentStLastErroredDLCI=nncFrStrStatCurrentStLastErroredDLCI, nncFrStrStatIntervalTable=nncFrStrStatIntervalTable, nncFrStrStatCurrentInCRCErrors=nncFrStrStatCurrentInCRCErrors, nncFrStrStatCurrentStLMUTimeoutsnT1=nncFrStrStatCurrentStLMUTimeoutsnT1, nncFrStrStatIntervalStMaxDurationRED=nncFrStrStatIntervalStMaxDurationRED, nncFrStrStatIntervalLowDelayAccDelay=nncFrStrStatIntervalLowDelayAccDelay, nncFrStrStatIntervalAbsoluteIntervalNumber=nncFrStrStatIntervalAbsoluteIntervalNumber, nncFrStrStatIntervalStNetSequenceErrs=nncFrStrStatIntervalStNetSequenceErrs, nncFrStrStatIntervalStFrmTooSmall=nncFrStrStatIntervalStFrmTooSmall, nncFrStrStatCurrentStLMUAsyncStatusRcvd=nncFrStrStatCurrentStLMUAsyncStatusRcvd, nncFrPVCEndptStatCurrentDLCINumber=nncFrPVCEndptStatCurrentDLCINumber, nncFrPVCEndptStatCurrentOutFramesBECNSet=nncFrPVCEndptStatCurrentOutFramesBECNSet, nncFrStrStatCurrentInAborts=nncFrStrStatCurrentInAborts, nncFrStrStatIntervalCommittedOutUCastPackets=nncFrStrStatIntervalCommittedOutUCastPackets, nncFrPVCEndptStatIntervalDLCINumber=nncFrPVCEndptStatIntervalDLCINumber, nncFrStrStatIntervalOutDiscdBadEncaps=nncFrStrStatIntervalOutDiscdBadEncaps, nncFrPVCEndptStatCurrentEntry=nncFrPVCEndptStatCurrentEntry, nncFrStrStatCurrentStLMNStatusENQMsgsRcvd=nncFrStrStatCurrentStLMNStatusENQMsgsRcvd, nncFrStrStatIntervalSigUserProtErrors=nncFrStrStatIntervalSigUserProtErrors, nncFrIntStatisticsObjects=nncFrIntStatisticsObjects, nncFrStrStatIntervalStLMNStatusENQMsgsRcvd=nncFrStrStatIntervalStLMNStatusENQMsgsRcvd, nncFrStrStatCurrentStIntervalDuration=nncFrStrStatCurrentStIntervalDuration, nncFrPVCEndptStatIntervalInDiscards=nncFrPVCEndptStatIntervalInDiscards, nncFrDepthOfHistoricalStrata=nncFrDepthOfHistoricalStrata, nncFrPVCEndptStatCurrentOutDiscdDESet=nncFrPVCEndptStatCurrentOutDiscdDESet, nncFrStrStatCurrentInDiscdCOSDESet=nncFrStrStatCurrentInDiscdCOSDESet, nncFrStrStatCurrentInNonIntegral=nncFrStrStatCurrentInNonIntegral, nncFrStrStatCurrentStLMSigInvldIELen=nncFrStrStatCurrentStLMSigInvldIELen, nncFrStrStatCurrentStFrmTooSmall=nncFrStrStatCurrentStFrmTooSmall, nncFrStrStatIntervalNumber=nncFrStrStatIntervalNumber, nncFrPVCEndptStatIntervalOutOctets=nncFrPVCEndptStatIntervalOutOctets, nncFrStrStatCurrentInDiscdDESet=nncFrStrStatCurrentInDiscdDESet, nncFrPVCEndptStatIntervalOutDiscdBadEncaps=nncFrPVCEndptStatIntervalOutDiscdBadEncaps, nncFrStrStatIntervalOutUCastPackets=nncFrStrStatIntervalOutUCastPackets, nncFrStrStatIntervalInDiscdDESet=nncFrStrStatIntervalInDiscdDESet, nncFrPVCEndptStatCurrentInDiscdCOSDESet=nncFrPVCEndptStatCurrentInDiscdCOSDESet, nncFrPVCEndptStatCurrentInCosTagDeFrames=nncFrPVCEndptStatCurrentInCosTagDeFrames, nncFrStrStatIntervalSigNetProtErrors=nncFrStrStatIntervalSigNetProtErrors, nncFrStrStatIntervalInCRCErrors=nncFrStrStatIntervalInCRCErrors, nncFrPVCEndptStatIntervalOutFramesFECNSet=nncFrPVCEndptStatIntervalOutFramesFECNSet, nncFrStrStatIntervalSigNetChanInactive=nncFrStrStatIntervalSigNetChanInactive, nncFrStrStatCurrentOutOctets=nncFrStrStatCurrentOutOctets, nncFrStrStatIntervalInDiscdDEClr=nncFrStrStatIntervalInDiscdDEClr, nncFrStrStatCurrentSigUserProtErrors=nncFrStrStatCurrentSigUserProtErrors, nncFrStrStatIntervalInNonIntegral=nncFrStrStatIntervalInNonIntegral, nncFrPVCEndptStatIntervalAbsoluteIntervalNumber=nncFrPVCEndptStatIntervalAbsoluteIntervalNumber, nncFrPVCEndptStatIntervalInDiscdDESet=nncFrPVCEndptStatIntervalInDiscdDESet, nncFrStrStatCurrentRealTimeAccDelay=nncFrStrStatCurrentRealTimeAccDelay, nncFrStrStatIntervalInDiscdBadEncaps=nncFrStrStatIntervalInDiscdBadEncaps, nncFrStrStatIntervalStLMUTimeoutsnT1=nncFrStrStatIntervalStLMUTimeoutsnT1, nncFrStrStatIntervalStLMUStatusMsgsRcvd=nncFrStrStatIntervalStLMUStatusMsgsRcvd, nncFrPVCEndptStatIntervalGroup=nncFrPVCEndptStatIntervalGroup, nncFrPVCEndptStatIntervalTable=nncFrPVCEndptStatIntervalTable, nncFrStrStatIntervalLowDelayPeakDelay=nncFrStrStatIntervalLowDelayPeakDelay, nncFrStrStatIntervalInLinkUtilization=nncFrStrStatIntervalInLinkUtilization, nncFrStrStatCurrentOutErrors=nncFrStrStatCurrentOutErrors, nncFrPVCEndptStatCurrentInDiscards=nncFrPVCEndptStatCurrentInDiscards, nncFrStrStatCurrentLowDelayPeakDelay=nncFrStrStatCurrentLowDelayPeakDelay, nncFrStrStatCurrentCommittedAccDelay=nncFrStrStatCurrentCommittedAccDelay, nncFrStrStatIntervalOutDiscdDEClr=nncFrStrStatIntervalOutDiscdDEClr, nncFrStrStatCurrentSigUserLinkRelErrors=nncFrStrStatCurrentSigUserLinkRelErrors, nncFrStrStatCurrentStLMSigInvldField=nncFrStrStatCurrentStLMSigInvldField, nncFrPVCEndptStatCurrentInFramesBECNSet=nncFrPVCEndptStatCurrentInFramesBECNSet, nncFrPVCEndptStatIntervalInCosTagDeFrames=nncFrPVCEndptStatIntervalInCosTagDeFrames, nncFrStrStatCurrentStTimeSC=nncFrStrStatCurrentStTimeSC, nncFrPVCEndptStatIntervalEntry=nncFrPVCEndptStatIntervalEntry, nncFrStrStatIntervalOutOctets=nncFrStrStatIntervalOutOctets, nncFrStrStatCurrentLowDelayUCastPacketsDEClr=nncFrStrStatCurrentLowDelayUCastPacketsDEClr, nncFrStrStatIntervalInSumOfDisagremnts=nncFrStrStatIntervalInSumOfDisagremnts, nncFrStrStatCurrentOutLinkUtilization=nncFrStrStatCurrentOutLinkUtilization, nncFrStrStatIntervalCommittedUCastPacketsDEClr=nncFrStrStatIntervalCommittedUCastPacketsDEClr, nncFrIntStatisticsCompliance=nncFrIntStatisticsCompliance, nncFrStrStatIntervalStLMSigInvldRepType=nncFrStrStatIntervalStLMSigInvldRepType, nncFrStrStatIntervalInReservedDLCI=nncFrStrStatIntervalInReservedDLCI, nncFrStrStatIntervalBestEffortUCastPacketsDEClr=nncFrStrStatIntervalBestEffortUCastPacketsDEClr, nncFrPVCEndptStatIntervalInFrames=nncFrPVCEndptStatIntervalInFrames, nncFrStrStatCurrentStLMSigFrmWithNoIEs=nncFrStrStatCurrentStLMSigFrmWithNoIEs, nncFrPVCEndptStatCurrentInDiscdCOSDEClr=nncFrPVCEndptStatCurrentInDiscdCOSDEClr, nncFrPVCEndptStatIntervalInFramesBECNSet=nncFrPVCEndptStatIntervalInFramesBECNSet, nncFrStrBertStatGroup=nncFrStrBertStatGroup, nncFrPVCEndptStatCurrentInDEFrames=nncFrPVCEndptStatCurrentInDEFrames, nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps=nncFrPVCEndptStatCurrentOutDiscdUnsupEncaps, nncFrStrStatCurrentBestEffortOutUCastPackets=nncFrStrStatCurrentBestEffortOutUCastPackets, nncFrStrStatIntervalBestEffortDiscdDEClr=nncFrStrStatIntervalBestEffortDiscdDEClr, nncFrPVCEndptStatCurrentOutExcessFrames=nncFrPVCEndptStatCurrentOutExcessFrames, nncFrStrStatIntervalInDiscdCOSDEClr=nncFrStrStatIntervalInDiscdCOSDEClr, nncFrStrStatCurrentGroup=nncFrStrStatCurrentGroup, nncFrStrStatCurrentRealTimeDiscdDEClr=nncFrStrStatCurrentRealTimeDiscdDEClr, nncFrStrStatIntervalOutLinkUtilization=nncFrStrStatIntervalOutLinkUtilization, nncFrPVCEndptStatCurrentAbsoluteIntervalNumber=nncFrPVCEndptStatCurrentAbsoluteIntervalNumber, nncFrIntStatisticsTraps=nncFrIntStatisticsTraps, nncFrPVCEndptStatCurrentInInvdLength=nncFrPVCEndptStatCurrentInInvdLength, nncFrStrStatIntervalBestEffortPeakDelay=nncFrStrStatIntervalBestEffortPeakDelay, nncFrStrStatCurrentInDiscdBadEncaps=nncFrStrStatCurrentInDiscdBadEncaps, nncFrStrStatCurrentStLMSigUnsupMsgType=nncFrStrStatCurrentStLMSigUnsupMsgType, nncFrStrStatCurrentStNetSequenceErrs=nncFrStrStatCurrentStNetSequenceErrs, nncFrPVCEndptStatCurrentInDiscdUnsupEncaps=nncFrPVCEndptStatCurrentInDiscdUnsupEncaps, nncFrStrStatCurrentInDiscdCOSDEClr=nncFrStrStatCurrentInDiscdCOSDEClr, nncFrPVCEndptStatIntervalInDiscdDEClr=nncFrPVCEndptStatIntervalInDiscdDEClr, nncFrStrStatIntervalStLMSigFrmWithNoIEs=nncFrStrStatIntervalStLMSigFrmWithNoIEs, nncFrStrStatIntervalState=nncFrStrStatIntervalState, nncFrStrStatCurrentOutUCastPackets=nncFrStrStatCurrentOutUCastPackets, nncFrPVCEndptStatIntervalOutFramesBECNSet=nncFrPVCEndptStatIntervalOutFramesBECNSet, nncFrStrStatIntervalInInvldEA=nncFrStrStatIntervalInInvldEA, nncFrStrStatCurrentStLMUStatusMsgsRcvd=nncFrStrStatCurrentStLMUStatusMsgsRcvd, nncFrPVCEndptStatCurrentInOctets=nncFrPVCEndptStatCurrentInOctets, nncFrStrStatCurrentInDiscards=nncFrStrStatCurrentInDiscards, nncFrPVCEndptStatIntervalInDEFrames=nncFrPVCEndptStatIntervalInDEFrames, nncFrStrStatIntervalStLMSigInvldEID=nncFrStrStatIntervalStLMSigInvldEID, nncFrPVCEndptStatCurrentTable=nncFrPVCEndptStatCurrentTable, nncFrStrBertStatStatus=nncFrStrBertStatStatus, nncFrStrStatIntervalEntry=nncFrStrStatIntervalEntry, nncFrStrStatIntervalInUCastPackets=nncFrStrStatIntervalInUCastPackets, nncFrStrStatCurrentRealTimeOutUCastPackets=nncFrStrStatCurrentRealTimeOutUCastPackets, nncFrPVCEndptStatCurrentInOctetsDESet=nncFrPVCEndptStatCurrentInOctetsDESet, nncFrPVCEndptStatIntervalOutExcessFrames=nncFrPVCEndptStatIntervalOutExcessFrames, nncFrPVCEndptStatIntervalOutFramesInRed=nncFrPVCEndptStatIntervalOutFramesInRed, nncFrStrStatIntervalGroup=nncFrStrStatIntervalGroup, nncFrStrStatCurrentBestEffortUCastPacketsDEClr=nncFrStrStatCurrentBestEffortUCastPacketsDEClr, nncFrStrStatCurrentOutDiscdBadEncaps=nncFrStrStatCurrentOutDiscdBadEncaps, nncFrStrStatCurrentStLMSigInvldEID=nncFrStrStatCurrentStLMSigInvldEID, nncFrPVCEndptStatIntervalOutDiscdDEClr=nncFrPVCEndptStatIntervalOutDiscdDEClr, nncFrStrStatIntervalOutErrors=nncFrStrStatIntervalOutErrors, nncFrPVCEndptStatCurrentOutFramesFECNSet=nncFrPVCEndptStatCurrentOutFramesFECNSet, nncFrPVCEndptStatIntervalInDiscdCOSDEClr=nncFrPVCEndptStatIntervalInDiscdCOSDEClr, nncFrStrStatCurrentBestEffortAccDelay=nncFrStrStatCurrentBestEffortAccDelay, nncFrStrStatIntervalStLastErroredDLCI=nncFrStrStatIntervalStLastErroredDLCI, nncFrPVCEndptStatIntervalInDiscdUnsupEncaps=nncFrPVCEndptStatIntervalInDiscdUnsupEncaps, nncFrStrStatCurrentBestEffortDiscdDEClr=nncFrStrStatCurrentBestEffortDiscdDEClr, nncFrStrStatIntervalStLMSigInvldField=nncFrStrStatIntervalStLMSigInvldField, nncFrStrStatCurrentLowDelayAccDelay=nncFrStrStatCurrentLowDelayAccDelay, nncFrStrStatCurrentInReservedDLCI=nncFrStrStatCurrentInReservedDLCI, nncFrPVCEndptStatCurrentOutDiscdDEClr=nncFrPVCEndptStatCurrentOutDiscdDEClr, nncFrStrStatCurrentOutDiscdDESet=nncFrStrStatCurrentOutDiscdDESet, nncFrPVCEndptStatIntervalInDiscdBadEncaps=nncFrPVCEndptStatIntervalInDiscdBadEncaps, nncFrStrStatIntervalCommittedDiscdDEClr=nncFrStrStatIntervalCommittedDiscdDEClr, nncFrStrStatIntervalBestEffortAccDelay=nncFrStrStatIntervalBestEffortAccDelay, nncFrStrStatIntervalStMCAlarms=nncFrStrStatIntervalStMCAlarms, nncFrStrStatCurrentInOctets=nncFrStrStatCurrentInOctets, nncFrStrStatCurrentStLMNTimeoutsnT2=nncFrStrStatCurrentStLMNTimeoutsnT2, nncFrStrStatIntervalSigNetLinkRelErrors=nncFrStrStatIntervalSigNetLinkRelErrors, nncFrStrStatIntervalLowDelayDiscdDEClr=nncFrStrStatIntervalLowDelayDiscdDEClr, nncFrStrStatIntervalStLMUAsyncStatusRcvd=nncFrStrStatIntervalStLMUAsyncStatusRcvd, nncFrStrStatCurrentOutDiscards=nncFrStrStatCurrentOutDiscards, nncFrPVCEndptStatCurrentInDiscdBadEncaps=nncFrPVCEndptStatCurrentInDiscdBadEncaps, nncFrPVCEndptStatIntervalOutFrames=nncFrPVCEndptStatIntervalOutFrames, nncFrPVCEndptStatCurrentInDiscdDEClr=nncFrPVCEndptStatCurrentInDiscdDEClr, nncFrStrStatCurrentStLMNAsyncStatusSent=nncFrStrStatCurrentStLMNAsyncStatusSent, nncFrPVCEndptStatIntervalOutOctetsDESet=nncFrPVCEndptStatIntervalOutOctetsDESet, nncFrPVCEndptStatCurrentOutFramesInRed=nncFrPVCEndptStatCurrentOutFramesInRed, nncFrStrBertDlci=nncFrStrBertDlci, nncFrStrStatCurrentCommittedUCastPacketsDEClr=nncFrStrStatCurrentCommittedUCastPacketsDEClr, nncFrStrStatCurrentLowDelayDiscdDEClr=nncFrStrStatCurrentLowDelayDiscdDEClr, nncFrStrStatIntervalCommittedAccDelay=nncFrStrStatIntervalCommittedAccDelay, nncFrStrStatIntervalSigUserChanInactive=nncFrStrStatIntervalSigUserChanInactive, nncFrStrStatCurrentStSCAlarms=nncFrStrStatCurrentStSCAlarms, nncFrStrStatIntervalStLMNTimeoutsnT2=nncFrStrStatIntervalStLMNTimeoutsnT2, nncFrStrStatIntervalInErrors=nncFrStrStatIntervalInErrors, nncFrStrBertStatRxBytes=nncFrStrBertStatRxBytes, nncFrStrStatCurrentOutDiscdDEClr=nncFrStrStatCurrentOutDiscdDEClr, nncFrStrBertStatEntry=nncFrStrBertStatEntry, nncFrStrStatIntervalInOctets=nncFrStrStatIntervalInOctets, nncFrStrStatCurrentInLinkUtilization=nncFrStrStatCurrentInLinkUtilization, nncFrStrStatIntervalCommittedPeakDelay=nncFrStrStatIntervalCommittedPeakDelay, nncFrStrBertStatTable=nncFrStrBertStatTable, nncFrStrStatIntervalInOverRuns=nncFrStrStatIntervalInOverRuns, nncFrStrStatIntervalInInvdLength=nncFrStrStatIntervalInInvdLength, nncFrPVCEndptStatCurrentOutFrames=nncFrPVCEndptStatCurrentOutFrames, nncFrStrStatIntervalRealTimeUCastPacketsDEClr=nncFrStrStatIntervalRealTimeUCastPacketsDEClr, nncFrStrStatIntervalStLMNAsyncStatusSent=nncFrStrStatIntervalStLMNAsyncStatusSent, nncFrStrStatCurrentStMaxDurationRED=nncFrStrStatCurrentStMaxDurationRED, nncFrStrStatIntervalStLMNStatusMsgsSent=nncFrStrStatIntervalStLMNStatusMsgsSent, nncFrPVCEndptStatCurrentState=nncFrPVCEndptStatCurrentState, nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps=nncFrPVCEndptStatIntervalOutDiscdUnsupEncaps, nncFrStrStatIntervalRealTimePeakDelay=nncFrStrStatIntervalRealTimePeakDelay, nncFrStrStatCurrentSigNetProtErrors=nncFrStrStatCurrentSigNetProtErrors, PYSNMP_MODULE_ID=nncFrIntStatistics, nncFrStrStatCurrentStLMNStatusMsgsSent=nncFrStrStatCurrentStLMNStatusMsgsSent, nncFrStrStatIntervalStSCAlarms=nncFrStrStatIntervalStSCAlarms, nncFrStrStatCurrentRealTimeUCastPacketsDEClr=nncFrStrStatCurrentRealTimeUCastPacketsDEClr)
mibBuilder.exportSymbols('NNCFRINTSTATISTICS-MIB', nncFrStrStatCurrentOutDiscdUnsupEncaps=nncFrStrStatCurrentOutDiscdUnsupEncaps, nncFrPVCEndptStatCurrentInDiscdDESet=nncFrPVCEndptStatCurrentInDiscdDESet, nncFrStrStatCurrentEntry=nncFrStrStatCurrentEntry, nncFrStrStatIntervalInAborts=nncFrStrStatIntervalInAborts, nncFrStrStatCurrentSigUserChanInactive=nncFrStrStatCurrentSigUserChanInactive) |
def betterSurround(st):
st = list(st)
if st[0]!= '+' and st[len(st)-1]!= '=':
return False
else:
for i in range(0,len(st)):
if st[i].isalpha():
if not (st[i-1]=='+' or st[i-1]=='=') and (st[i+1] == '+' or st[i+1] == '='):
return false
else:
if i!=0 and i!= len(st)-1:
if st[i-1].isalpha() and st[i+1].isalpha():
return False
return True
new = betterSurround("+f=+d+")
if new:
print("y")
else:
print("N")
| def better_surround(st):
st = list(st)
if st[0] != '+' and st[len(st) - 1] != '=':
return False
else:
for i in range(0, len(st)):
if st[i].isalpha():
if not (st[i - 1] == '+' or st[i - 1] == '=') and (st[i + 1] == '+' or st[i + 1] == '='):
return false
elif i != 0 and i != len(st) - 1:
if st[i - 1].isalpha() and st[i + 1].isalpha():
return False
return True
new = better_surround('+f=+d+')
if new:
print('y')
else:
print('N') |
for i in range(4):
outfile = 'paramslist.txt'
params = [0, 1, 2]
with open(outfile, 'a+') as f:
for param in params:
f.write(str(param))
f.write(' ')
f.write('\n')
| for i in range(4):
outfile = 'paramslist.txt'
params = [0, 1, 2]
with open(outfile, 'a+') as f:
for param in params:
f.write(str(param))
f.write(' ')
f.write('\n') |
# ParPy: A python natural language
# parser based on the one used
# by Zork, for use in Python games
# Copyright (c) Finn Lancaster 2021
# This file contains the BASE action words
# accepted by the users program. For example
# , take, move, etc.
# ParPy handles similar entries and conversion
# to program-accepted ones
# in parentheses, the first field is the word
# and the second field is whether or not the
# word needs something to do it with (yes or no)
recognizedTerms = [("",""),("","")]
| recognized_terms = [('', ''), ('', '')] |
config = {
'matrikkel_zip_files': [{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0709_Larvik/UTM32_Euref89/Shape/32_Matrikkeldata_0709.zip',
'target_shape_prefix': '32_0709adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0706_Sandefjord/UTM32_Euref89/Shape/32_Matrikkeldata_0706.zip',
'target_shape_prefix': '32_0706adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0719_Andebu/UTM32_Euref89/Shape/32_Matrikkeldata_0719.zip',
'target_shape_prefix': '32_0719adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/08_Telemark/0814_Bamble/UTM32_Euref89/Shape/32_Matrikkeldata_0814.zip',
'target_shape_prefix': '32_0814adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0722_Notteroy/UTM32_Euref89/Shape/32_Matrikkeldata_0722.zip',
'target_shape_prefix': '32_0722adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/08_Telemark/0805_Porsgrunn/UTM32_Euref89/Shape/32_Matrikkeldata_0805.zip',
'target_shape_prefix': '32_0805adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/08_Telemark/0806_Skien/UTM32_Euref89/Shape/32_Matrikkeldata_0806.zip',
'target_shape_prefix': '32_0806adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0720_Stokke/UTM32_Euref89/Shape/32_Matrikkeldata_0720.zip',
'target_shape_prefix': '32_0720adresse_punkt'
},{
'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0723_Tjome/UTM32_Euref89/Shape/32_Matrikkeldata_0723.zip',
'target_shape_prefix': '32_0723adresse_punkt'
}],
'temp_directory': 'C:/temp/ntnu_temp/',
'file_name_raw_merged_temp': 'merged_matrikkel.shp',
'file_name_raw_merged_transformed_temp': 'merged_matrikkel_transformed.shp',
'file_name_raw_kernel_density_temp': 'kernel_density_raw.img',
'file_name_raster_to_fit': 'Y:/prosesserte_data/slope_arcm_img.img',
'area_rectangle': '532687,5 6533912,5 589987,5 6561812,5',
'file_name_kernel_density': 'Y:/prosesserte_data/kernel_density_25_500.img',
'kernel_density_cell_size': 25,
'kernel_density_search_radius': 500
}
| config = {'matrikkel_zip_files': [{'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0709_Larvik/UTM32_Euref89/Shape/32_Matrikkeldata_0709.zip', 'target_shape_prefix': '32_0709adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0706_Sandefjord/UTM32_Euref89/Shape/32_Matrikkeldata_0706.zip', 'target_shape_prefix': '32_0706adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0719_Andebu/UTM32_Euref89/Shape/32_Matrikkeldata_0719.zip', 'target_shape_prefix': '32_0719adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/08_Telemark/0814_Bamble/UTM32_Euref89/Shape/32_Matrikkeldata_0814.zip', 'target_shape_prefix': '32_0814adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0722_Notteroy/UTM32_Euref89/Shape/32_Matrikkeldata_0722.zip', 'target_shape_prefix': '32_0722adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/08_Telemark/0805_Porsgrunn/UTM32_Euref89/Shape/32_Matrikkeldata_0805.zip', 'target_shape_prefix': '32_0805adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/08_Telemark/0806_Skien/UTM32_Euref89/Shape/32_Matrikkeldata_0806.zip', 'target_shape_prefix': '32_0806adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0720_Stokke/UTM32_Euref89/Shape/32_Matrikkeldata_0720.zip', 'target_shape_prefix': '32_0720adresse_punkt'}, {'zip_name': 'Y:/kartdata/Matrikkeldata/SOSIuttrekk/07_Vestfold/0723_Tjome/UTM32_Euref89/Shape/32_Matrikkeldata_0723.zip', 'target_shape_prefix': '32_0723adresse_punkt'}], 'temp_directory': 'C:/temp/ntnu_temp/', 'file_name_raw_merged_temp': 'merged_matrikkel.shp', 'file_name_raw_merged_transformed_temp': 'merged_matrikkel_transformed.shp', 'file_name_raw_kernel_density_temp': 'kernel_density_raw.img', 'file_name_raster_to_fit': 'Y:/prosesserte_data/slope_arcm_img.img', 'area_rectangle': '532687,5 6533912,5 589987,5 6561812,5', 'file_name_kernel_density': 'Y:/prosesserte_data/kernel_density_25_500.img', 'kernel_density_cell_size': 25, 'kernel_density_search_radius': 500} |
'''
Gets memory usage of Linux python process
Tyson Jones, Nov 2017
[email protected]
'''
_FIELDS = ['VmRSS', 'VmHWM', 'VmSize', 'VmPeak']
def get_memory():
'''
returns the current and peak, real and virtual memories
used by the calling linux python process, in Bytes
'''
# read in process info
with open('/proc/self/status', 'r') as file:
lines = file.read().split('\n')
# container of memory values (_FIELDS)
values = {}
# check all process info fields
for line in lines:
if ':' in line:
name, val = line.split(':')
# collect relevant memory fields
if name in _FIELDS:
values[name] = int(val.strip().split(' ')[0]) # strip off "kB"
values[name] *= 1000 # convert to B
# check we collected all info
assert len(values)==len(_FIELDS)
return values
if __name__ == '__main__':
# a simple test
print(get_memory())
mylist = [1.5]*2**30
print(get_memory())
del mylist
print(get_memory())
| """
Gets memory usage of Linux python process
Tyson Jones, Nov 2017
[email protected]
"""
_fields = ['VmRSS', 'VmHWM', 'VmSize', 'VmPeak']
def get_memory():
"""
returns the current and peak, real and virtual memories
used by the calling linux python process, in Bytes
"""
with open('/proc/self/status', 'r') as file:
lines = file.read().split('\n')
values = {}
for line in lines:
if ':' in line:
(name, val) = line.split(':')
if name in _FIELDS:
values[name] = int(val.strip().split(' ')[0])
values[name] *= 1000
assert len(values) == len(_FIELDS)
return values
if __name__ == '__main__':
print(get_memory())
mylist = [1.5] * 2 ** 30
print(get_memory())
del mylist
print(get_memory()) |
class Time():
current_world = None
current_time_step = None
@staticmethod
def get_current_world():
return Time.current_world
@staticmethod
def get_current_time_step():
return Time.current_time_step
@staticmethod
def reset():
Time.current_world = None
Time.current_time_step = None
@staticmethod
def new_world():
if Time.current_world is None:
Time.current_world = 0
else:
Time.current_world += 1
Time.current_time_step = 0
@staticmethod
def increment_current_time_step():
Time.current_time_step += 1
| class Time:
current_world = None
current_time_step = None
@staticmethod
def get_current_world():
return Time.current_world
@staticmethod
def get_current_time_step():
return Time.current_time_step
@staticmethod
def reset():
Time.current_world = None
Time.current_time_step = None
@staticmethod
def new_world():
if Time.current_world is None:
Time.current_world = 0
else:
Time.current_world += 1
Time.current_time_step = 0
@staticmethod
def increment_current_time_step():
Time.current_time_step += 1 |
class InvalidPasswordException(Exception):
pass
class InvalidValueException(Exception):
pass
| class Invalidpasswordexception(Exception):
pass
class Invalidvalueexception(Exception):
pass |
class Carta():
CARTAS_VALORES = {
"3": 10,
"2": 9,
"1": 8,
"13": 7,
"12": 6,
"11": 5,
"7": 4,
"6": 3,
"5": 2,
"4": 1
}
NAIPES_VALORES = {
"Paus": 4,
"Copas": 3,
"Espadas": 2,
"Moles": 1
}
def __init__(self, numero, naipe):
self.numero = numero
self.naipe = naipe
def verificarCarta(self, carta_jogador_01, carta_jogador_02):
if self.CARTAS_VALORES[str(carta_jogador_01.numero)] > self.CARTAS_VALORES[str(carta_jogador_02.numero)]:
return carta_jogador_01
elif self.CARTAS_VALORES[str(carta_jogador_01.retornarNumero())] < self.CARTAS_VALORES[str(carta_jogador_02.retornarNumero())]:
return carta_jogador_02
else:
return "Empate"
def verificarManilha(self, carta_jogador_01, carta_jogador_02):
if self.NAIPES_VALORES[carta_jogador_01.naipe] > self.NAIPES_VALORES[carta_jogador_02.naipe]:
return carta_jogador_01
elif self.NAIPES_VALORES[carta_jogador_01.naipe] < self.NAIPES_VALORES[carta_jogador_02.naipe]:
return carta_jogador_02
else:
raise "Erro"
def printarCarta(self):
if self.numero == 1:
print(f"A de {self.naipe}")
elif self.numero == 13:
print(f"K de {self.naipe}")
elif self.numero == 12:
print(f"J de {self.naipe}")
elif self.numero == 11:
print(f"Q de {self.naipe}")
else:
print(f"{self.numero} de {self.naipe}")
def retornarNumero(self):
return self.numero
def retornarNaipe(self):
return self.naipe | class Carta:
cartas_valores = {'3': 10, '2': 9, '1': 8, '13': 7, '12': 6, '11': 5, '7': 4, '6': 3, '5': 2, '4': 1}
naipes_valores = {'Paus': 4, 'Copas': 3, 'Espadas': 2, 'Moles': 1}
def __init__(self, numero, naipe):
self.numero = numero
self.naipe = naipe
def verificar_carta(self, carta_jogador_01, carta_jogador_02):
if self.CARTAS_VALORES[str(carta_jogador_01.numero)] > self.CARTAS_VALORES[str(carta_jogador_02.numero)]:
return carta_jogador_01
elif self.CARTAS_VALORES[str(carta_jogador_01.retornarNumero())] < self.CARTAS_VALORES[str(carta_jogador_02.retornarNumero())]:
return carta_jogador_02
else:
return 'Empate'
def verificar_manilha(self, carta_jogador_01, carta_jogador_02):
if self.NAIPES_VALORES[carta_jogador_01.naipe] > self.NAIPES_VALORES[carta_jogador_02.naipe]:
return carta_jogador_01
elif self.NAIPES_VALORES[carta_jogador_01.naipe] < self.NAIPES_VALORES[carta_jogador_02.naipe]:
return carta_jogador_02
else:
raise 'Erro'
def printar_carta(self):
if self.numero == 1:
print(f'A de {self.naipe}')
elif self.numero == 13:
print(f'K de {self.naipe}')
elif self.numero == 12:
print(f'J de {self.naipe}')
elif self.numero == 11:
print(f'Q de {self.naipe}')
else:
print(f'{self.numero} de {self.naipe}')
def retornar_numero(self):
return self.numero
def retornar_naipe(self):
return self.naipe |
def subUnsort(A):
n = len(A)
for i in range(0, n - 1):
if A[i] > A[i + 1]:
break
if i == n - 1:
return -1
start = i
for i in range(n - 1, start, -1):
if A[i] < A[start] or A[i] < A[i - 1]:
break
end = i
min = A[start]
max = A[start]
for i in range(start, end):
if A[i] < min:
min = A[i]
if A[i] > max:
max = A[i]
for i in range (0, start):
if A[i] > min:
start = i
break
for i in range (n-1, end, -1):
if A[i] < max:
end = i
break
return [start,end]
print(subUnsort([2, 6, 4, 8, 10, 9, 15]))
| def sub_unsort(A):
n = len(A)
for i in range(0, n - 1):
if A[i] > A[i + 1]:
break
if i == n - 1:
return -1
start = i
for i in range(n - 1, start, -1):
if A[i] < A[start] or A[i] < A[i - 1]:
break
end = i
min = A[start]
max = A[start]
for i in range(start, end):
if A[i] < min:
min = A[i]
if A[i] > max:
max = A[i]
for i in range(0, start):
if A[i] > min:
start = i
break
for i in range(n - 1, end, -1):
if A[i] < max:
end = i
break
return [start, end]
print(sub_unsort([2, 6, 4, 8, 10, 9, 15])) |
#!/usr/bin/env python3
#pylint: disable=missing-docstring
class DeviceNotFoundException(Exception):
status_code = 404
def __init__(self, message):
Exception.__init__(self)
self.message = message
def to_dict(self):
return {'message': self.message}
class UpstreamApiException(Exception):
status_code = 502
def __init__(self, message):
Exception.__init__(self)
self.message = message
def to_dict(self):
return {'message': self.message}
| class Devicenotfoundexception(Exception):
status_code = 404
def __init__(self, message):
Exception.__init__(self)
self.message = message
def to_dict(self):
return {'message': self.message}
class Upstreamapiexception(Exception):
status_code = 502
def __init__(self, message):
Exception.__init__(self)
self.message = message
def to_dict(self):
return {'message': self.message} |
Node11 = {"ip":"10.1.3.11",
"user":"marian",
"password":"descartes"}
Node17 = {"ip":"10.1.3.17",
"user":"marian",
"password":"descartes"} | node11 = {'ip': '10.1.3.11', 'user': 'marian', 'password': 'descartes'}
node17 = {'ip': '10.1.3.17', 'user': 'marian', 'password': 'descartes'} |
user_name,age = input("Enter the name and age to watch the movie : ").split()
age = int(age)
conduction = user_name[0].lower()
if conduction == 'a' and age >= 10 :
print(f"Hello {user_name}!! \n You can watch the coco movie ")
else :
if age < 10:
print("Your age is smaller then limit to watch the movie ")
else:
print("You can't procedue, Sorry!!")
| (user_name, age) = input('Enter the name and age to watch the movie : ').split()
age = int(age)
conduction = user_name[0].lower()
if conduction == 'a' and age >= 10:
print(f'Hello {user_name}!! \n You can watch the coco movie ')
elif age < 10:
print('Your age is smaller then limit to watch the movie ')
else:
print("You can't procedue, Sorry!!") |
def test_can_withdraw_as_alice(nft_funded, alice, bob, accounts, beneficiary):
nft_funded.withdraw({"from": alice})
init_balance = beneficiary.balance()
accounts[1].transfer(nft_funded, 10 ** 18)
nft_funded.mint({"from": bob})
nft_funded.withdraw({"from": alice})
final_balance = beneficiary.balance()
assert final_balance - init_balance == 10 ** 18
def test_can_withdraw_as_bob(nft_funded, alice, bob, accounts, beneficiary):
nft_funded.withdraw({"from": alice})
init_balance = beneficiary.balance()
accounts[1].transfer(nft_funded, 10 ** 18)
nft_funded.mint({"from": bob})
nft_funded.withdraw({"from": bob})
final_balance = beneficiary.balance()
assert final_balance - init_balance == 10 ** 18
def test_bob_gets_nothing_on_withdraw(nft_funded, bob):
bob_balance = bob.balance()
nft_funded.withdraw({"from": bob})
assert bob.balance() <= bob_balance
def test_withdrawal_increases_balance(nft_funded, alice, accounts, beneficiary):
init_balance = beneficiary.balance()
accounts[3].transfer(nft_funded, 10 ** 18)
nft_funded.withdraw({"from": alice})
final_balance = beneficiary.balance()
assert final_balance > init_balance
def test_can_receive_funds_through_fallback(nft, alice, bob, accounts, beneficiary):
init_balance = beneficiary.balance()
bob_balance = bob.balance()
accounts[3].transfer(nft, 10 ** 18)
bob.transfer(nft, bob_balance)
nft.withdraw({"from": alice})
final_balance = beneficiary.balance()
assert final_balance - init_balance >= bob_balance
| def test_can_withdraw_as_alice(nft_funded, alice, bob, accounts, beneficiary):
nft_funded.withdraw({'from': alice})
init_balance = beneficiary.balance()
accounts[1].transfer(nft_funded, 10 ** 18)
nft_funded.mint({'from': bob})
nft_funded.withdraw({'from': alice})
final_balance = beneficiary.balance()
assert final_balance - init_balance == 10 ** 18
def test_can_withdraw_as_bob(nft_funded, alice, bob, accounts, beneficiary):
nft_funded.withdraw({'from': alice})
init_balance = beneficiary.balance()
accounts[1].transfer(nft_funded, 10 ** 18)
nft_funded.mint({'from': bob})
nft_funded.withdraw({'from': bob})
final_balance = beneficiary.balance()
assert final_balance - init_balance == 10 ** 18
def test_bob_gets_nothing_on_withdraw(nft_funded, bob):
bob_balance = bob.balance()
nft_funded.withdraw({'from': bob})
assert bob.balance() <= bob_balance
def test_withdrawal_increases_balance(nft_funded, alice, accounts, beneficiary):
init_balance = beneficiary.balance()
accounts[3].transfer(nft_funded, 10 ** 18)
nft_funded.withdraw({'from': alice})
final_balance = beneficiary.balance()
assert final_balance > init_balance
def test_can_receive_funds_through_fallback(nft, alice, bob, accounts, beneficiary):
init_balance = beneficiary.balance()
bob_balance = bob.balance()
accounts[3].transfer(nft, 10 ** 18)
bob.transfer(nft, bob_balance)
nft.withdraw({'from': alice})
final_balance = beneficiary.balance()
assert final_balance - init_balance >= bob_balance |
class Solution:
def solve(self, nums):
numsDict = {}
for i in nums:
if i in numsDict:
numsDict[i] += 1
else:
numsDict[i] = 1
for num in numsDict:
if num == numsDict[num]:
return True
return False
| class Solution:
def solve(self, nums):
nums_dict = {}
for i in nums:
if i in numsDict:
numsDict[i] += 1
else:
numsDict[i] = 1
for num in numsDict:
if num == numsDict[num]:
return True
return False |
# Author: veelion
db_host = 'localhost'
db_db = 'crawler'
db_user = 'your-user'
db_password = 'your-password'
| db_host = 'localhost'
db_db = 'crawler'
db_user = 'your-user'
db_password = 'your-password' |
BCT_ADDRESS = '0x2f800db0fdb5223b3c3f354886d907a671414a7f'
NCT_ADDRESS = '0xd838290e877e0188a4a44700463419ed96c16107'
UBO_ADDRESS = '0x2b3ecb0991af0498ece9135bcd04013d7993110c'
NBO_ADDRESS = '0x6bca3b77c1909ce1a4ba1a20d1103bde8d222e48'
GRAY = '#232B2B'
DARK_GRAY = '#343a40'
FIGURE_BG_COLOR = '#202020'
MCO2_ADDRESS = '0xfC98e825A2264D890F9a1e68ed50E1526abCcacD'
MCO2_ADDRESS_MATIC = '0xaa7dbd1598251f856c12f63557a4c4397c253cea'
VERRA_FALLBACK_NOTE = "Note: Off-Chain Verra Registry data is not updated, we are temporarily using fallback data"
KLIMA_RETIRED_NOTE = "Note: This only includes Retired Tonnes coming through the KlimaDAO retirement aggregator tool"
VERRA_FALLBACK_URL = 'https://prod-klimadao-data.nyc3.digitaloceanspaces.com/verra_registry_fallback_data.csv'
rename_map = {
'carbonOffsets_bridges_value': 'Quantity',
'carbonOffsets_bridges_timestamp': 'Date',
'carbonOffsets_bridge': 'Bridge',
'carbonOffsets_region': 'Region',
'carbonOffsets_vintage': 'Vintage',
'carbonOffsets_projectID': 'Project ID',
'carbonOffsets_standard': 'Standard',
'carbonOffsets_methodology': 'Methodology',
'carbonOffsets_country': 'Country',
'carbonOffsets_category': 'Project Type',
'carbonOffsets_name': 'Name',
'carbonOffsets_tokenAddress': 'Token Address',
'carbonOffsets_balanceBCT': 'BCT Quantity',
'carbonOffsets_balanceNCT': 'NCT Quantity',
'carbonOffsets_balanceUBO': 'UBO Quantity',
'carbonOffsets_balanceNBO': 'NBO Quantity',
'carbonOffsets_totalBridged': 'Total Quantity',
}
mco2_bridged_rename_map = {
'batches_id': 'ID',
'batches_serialNumber': 'Serial Number',
'batches_timestamp': 'Date',
'batches_tokenAddress': 'Token Address',
'batches_vintage': 'Vintage',
'batches_projectID': 'Project ID',
'batches_value': 'Quantity',
'batches_originaltx': 'Original Tx Address',
}
retires_rename_map = {
'retires_value': 'Quantity',
'retires_timestamp': 'Date',
'retires_offset_bridge': 'Bridge',
'retires_offset_region': 'Region',
'retires_offset_vintage': 'Vintage',
'retires_offset_projectID': 'Project ID',
'retires_offset_standard': 'Standard',
'retires_offset_methodology': 'Methodology',
'retires_offset_country': 'Country',
'retires_offset_category': 'Project Type',
'retires_offset_name': 'Name',
'retires_offset_tokenAddress': 'Token Address',
'retires_offset_totalRetired': 'Total Quantity',
}
bridges_rename_map = {
'bridges_value': 'Quantity',
'bridges_timestamp': 'Date',
'bridges_transaction_id': 'Tx Address',
}
redeems_rename_map = {
'redeems_value': 'Quantity',
'redeems_timestamp': 'Date',
'redeems_pool': 'Pool',
'redeems_offset_region': 'Region',
}
deposits_rename_map = {
'deposits_value': 'Quantity',
'deposits_timestamp': 'Date',
'deposits_pool': 'Pool',
'deposits_offset_region': 'Region',
}
pool_retires_rename_map = {
'klimaRetires_amount': 'Quantity',
'klimaRetires_timestamp': 'Date',
'klimaRetires_pool': 'Pool',
}
verra_rename_map = {
'issuanceDate': 'Issuance Date',
'programObjectives': 'Sustainable Development Goals',
'instrumentType': 'Credit Type',
'vintageStart': 'Vintage Start',
'vintageEnd': 'Vintage End',
'reportingPeriodStart': 'Reporting Period Start',
'reportingPeriodEnd': 'Reporting Period End',
'resourceIdentifier': 'ID',
'resourceName': 'Name',
'region': 'Region',
'country': 'Country',
'protocolCategory': 'Project Type',
'protocol': 'Methodology',
'totalVintageQuantity': 'Total Vintage Quantity',
'quantity': 'Quantity Issued',
'serialNumbers': 'Serial Number',
'additionalCertifications': 'Additional Certifications',
'retiredCancelled': 'Is Cancelled',
'retireOrCancelDate': 'Retirement/Cancellation Date',
'retirementBeneficiary': 'Retirement Beneficiary',
'retirementReason': 'Retirement Reason',
'retirementDetails': 'Retirement Details',
'inputTypes': 'Input Type',
'holdingIdentifier': 'Holding ID'
}
merge_columns = ["ID", "Name", "Region", "Country",
"Project Type", "Methodology", "Toucan"]
verra_columns = ['Issuance Date', 'Sustainable Development Goals',
'Credit Type', 'Vintage Start', 'Vintage End', 'Reporting Period Start', 'Reporting Period End', 'ID',
'Name', 'Region', 'Country', 'Project Type', 'Methodology', 'Total Vintage Quantity',
'Quantity Issued', 'Serial Number', 'Additional Certifications',
'Is Cancelled', 'Retirement/Cancellation Date', 'Retirement Beneficiary', 'Retirement Reason',
'Retirement Details', 'Input Type', 'Holding ID']
mco2_verra_rename_map = {
'Project Name': 'Name',
'Quantity of Credits': 'Quantity',
}
| bct_address = '0x2f800db0fdb5223b3c3f354886d907a671414a7f'
nct_address = '0xd838290e877e0188a4a44700463419ed96c16107'
ubo_address = '0x2b3ecb0991af0498ece9135bcd04013d7993110c'
nbo_address = '0x6bca3b77c1909ce1a4ba1a20d1103bde8d222e48'
gray = '#232B2B'
dark_gray = '#343a40'
figure_bg_color = '#202020'
mco2_address = '0xfC98e825A2264D890F9a1e68ed50E1526abCcacD'
mco2_address_matic = '0xaa7dbd1598251f856c12f63557a4c4397c253cea'
verra_fallback_note = 'Note: Off-Chain Verra Registry data is not updated, we are temporarily using fallback data'
klima_retired_note = 'Note: This only includes Retired Tonnes coming through the KlimaDAO retirement aggregator tool'
verra_fallback_url = 'https://prod-klimadao-data.nyc3.digitaloceanspaces.com/verra_registry_fallback_data.csv'
rename_map = {'carbonOffsets_bridges_value': 'Quantity', 'carbonOffsets_bridges_timestamp': 'Date', 'carbonOffsets_bridge': 'Bridge', 'carbonOffsets_region': 'Region', 'carbonOffsets_vintage': 'Vintage', 'carbonOffsets_projectID': 'Project ID', 'carbonOffsets_standard': 'Standard', 'carbonOffsets_methodology': 'Methodology', 'carbonOffsets_country': 'Country', 'carbonOffsets_category': 'Project Type', 'carbonOffsets_name': 'Name', 'carbonOffsets_tokenAddress': 'Token Address', 'carbonOffsets_balanceBCT': 'BCT Quantity', 'carbonOffsets_balanceNCT': 'NCT Quantity', 'carbonOffsets_balanceUBO': 'UBO Quantity', 'carbonOffsets_balanceNBO': 'NBO Quantity', 'carbonOffsets_totalBridged': 'Total Quantity'}
mco2_bridged_rename_map = {'batches_id': 'ID', 'batches_serialNumber': 'Serial Number', 'batches_timestamp': 'Date', 'batches_tokenAddress': 'Token Address', 'batches_vintage': 'Vintage', 'batches_projectID': 'Project ID', 'batches_value': 'Quantity', 'batches_originaltx': 'Original Tx Address'}
retires_rename_map = {'retires_value': 'Quantity', 'retires_timestamp': 'Date', 'retires_offset_bridge': 'Bridge', 'retires_offset_region': 'Region', 'retires_offset_vintage': 'Vintage', 'retires_offset_projectID': 'Project ID', 'retires_offset_standard': 'Standard', 'retires_offset_methodology': 'Methodology', 'retires_offset_country': 'Country', 'retires_offset_category': 'Project Type', 'retires_offset_name': 'Name', 'retires_offset_tokenAddress': 'Token Address', 'retires_offset_totalRetired': 'Total Quantity'}
bridges_rename_map = {'bridges_value': 'Quantity', 'bridges_timestamp': 'Date', 'bridges_transaction_id': 'Tx Address'}
redeems_rename_map = {'redeems_value': 'Quantity', 'redeems_timestamp': 'Date', 'redeems_pool': 'Pool', 'redeems_offset_region': 'Region'}
deposits_rename_map = {'deposits_value': 'Quantity', 'deposits_timestamp': 'Date', 'deposits_pool': 'Pool', 'deposits_offset_region': 'Region'}
pool_retires_rename_map = {'klimaRetires_amount': 'Quantity', 'klimaRetires_timestamp': 'Date', 'klimaRetires_pool': 'Pool'}
verra_rename_map = {'issuanceDate': 'Issuance Date', 'programObjectives': 'Sustainable Development Goals', 'instrumentType': 'Credit Type', 'vintageStart': 'Vintage Start', 'vintageEnd': 'Vintage End', 'reportingPeriodStart': 'Reporting Period Start', 'reportingPeriodEnd': 'Reporting Period End', 'resourceIdentifier': 'ID', 'resourceName': 'Name', 'region': 'Region', 'country': 'Country', 'protocolCategory': 'Project Type', 'protocol': 'Methodology', 'totalVintageQuantity': 'Total Vintage Quantity', 'quantity': 'Quantity Issued', 'serialNumbers': 'Serial Number', 'additionalCertifications': 'Additional Certifications', 'retiredCancelled': 'Is Cancelled', 'retireOrCancelDate': 'Retirement/Cancellation Date', 'retirementBeneficiary': 'Retirement Beneficiary', 'retirementReason': 'Retirement Reason', 'retirementDetails': 'Retirement Details', 'inputTypes': 'Input Type', 'holdingIdentifier': 'Holding ID'}
merge_columns = ['ID', 'Name', 'Region', 'Country', 'Project Type', 'Methodology', 'Toucan']
verra_columns = ['Issuance Date', 'Sustainable Development Goals', 'Credit Type', 'Vintage Start', 'Vintage End', 'Reporting Period Start', 'Reporting Period End', 'ID', 'Name', 'Region', 'Country', 'Project Type', 'Methodology', 'Total Vintage Quantity', 'Quantity Issued', 'Serial Number', 'Additional Certifications', 'Is Cancelled', 'Retirement/Cancellation Date', 'Retirement Beneficiary', 'Retirement Reason', 'Retirement Details', 'Input Type', 'Holding ID']
mco2_verra_rename_map = {'Project Name': 'Name', 'Quantity of Credits': 'Quantity'} |
CrfSegMoodPath = 'E:\python_code\Djangotest2\cmdb\model\msr.crfsuite'
HmmDIC = 'E:\python_code\Djangotest2\cmdb\model\HMMDic.pkl'
HmmDISTRIBUTION = 'E:\python_code\Djangotest2\cmdb\model\HMMDistribution.pkl'
CrfNERMoodPath = 'E:\python_code\Djangotest2\cmdb\model\PKU.crfsuite'
BiLSTMCXPath = 'E:\python_code\Djangotest2\cmdb\model\BiLSTMCX'
BiLSTMNERPath = 'E:\python_code\Djangotest2\cmdb\model\BiLSTMNER'
| crf_seg_mood_path = 'E:\\python_code\\Djangotest2\\cmdb\\model\\msr.crfsuite'
hmm_dic = 'E:\\python_code\\Djangotest2\\cmdb\\model\\HMMDic.pkl'
hmm_distribution = 'E:\\python_code\\Djangotest2\\cmdb\\model\\HMMDistribution.pkl'
crf_ner_mood_path = 'E:\\python_code\\Djangotest2\\cmdb\\model\\PKU.crfsuite'
bi_lstmcx_path = 'E:\\python_code\\Djangotest2\\cmdb\\model\\BiLSTMCX'
bi_lstmner_path = 'E:\\python_code\\Djangotest2\\cmdb\\model\\BiLSTMNER' |
#
# @lc app=leetcode.cn id=50 lang=python3
#
# [50] Pow(x, n)
#
n = 5
x = 6
x & 1
# @lc code=start
class Solution:
def myPow(self, x: float, n: int) -> float:
ans = 0
pow_n = x
if n > 0:
while x > 0:
if x & 1 == 1:
ans += pow_n
x = x >> 1
pow_n *= pow_n
# @lc code=end
| n = 5
x = 6
x & 1
class Solution:
def my_pow(self, x: float, n: int) -> float:
ans = 0
pow_n = x
if n > 0:
while x > 0:
if x & 1 == 1:
ans += pow_n
x = x >> 1
pow_n *= pow_n |
class UnknownList(Exception):
pass
class InsufficientPermissions(Exception):
pass
class AlreadySubscribed(Exception):
pass
class NotSubscribed(Exception):
pass
class ClosedSubscription(Exception):
pass
class ClosedUnsubscription(Exception):
pass
class UnknownFlag(Exception):
pass
class UnknownOption(Exception):
pass
class ModeratedMessageNotFound(Exception):
pass
| class Unknownlist(Exception):
pass
class Insufficientpermissions(Exception):
pass
class Alreadysubscribed(Exception):
pass
class Notsubscribed(Exception):
pass
class Closedsubscription(Exception):
pass
class Closedunsubscription(Exception):
pass
class Unknownflag(Exception):
pass
class Unknownoption(Exception):
pass
class Moderatedmessagenotfound(Exception):
pass |
heroes_number = int(input())
heroes_list = dict()
for heroes in range(heroes_number):
hero = input().split(' ')
hero_name = hero[0]
hero_hit_points = int(hero[1])
hero_mana_points = int(hero[2])
heroes_list[hero_name] = {'HP': hero_hit_points, 'MP': hero_mana_points}
command = input()
while command != 'End':
current_command = command.split(' - ')
action = current_command[0]
name_of_hero = current_command[1]
if action == 'CastSpell':
mp_needed = int(current_command[2])
spell_name = current_command[3]
if heroes_list[name_of_hero]['MP'] >= mp_needed:
heroes_list[name_of_hero]['MP'] -= mp_needed
print(f"{name_of_hero} has successfully cast {spell_name} and now has {heroes_list[name_of_hero]['MP']} MP!")
else:
print(f"{name_of_hero} does not have enough MP to cast {spell_name}!")
elif action == 'TakeDamage':
damage = int(current_command[2])
attacker = current_command[3]
heroes_list[name_of_hero]['HP'] -= damage
if heroes_list[name_of_hero]['HP'] > 0:
print(f"{name_of_hero} was hit for {damage} HP by {attacker} and now has {heroes_list[name_of_hero]['HP']} HP left!")
else:
del heroes_list[name_of_hero]
print(f"{name_of_hero} has been killed by {attacker}!")
elif action == 'Recharge':
amount = int(current_command[2])
heroes_list[name_of_hero]['MP'] += amount
if heroes_list[name_of_hero]['MP'] >= 200:
print(f"{name_of_hero} recharged for {abs(heroes_list[name_of_hero]['MP'] - 200 - amount)} MP!")
heroes_list[name_of_hero]['MP'] = 200
else:
print(f"{name_of_hero} recharged for {amount} MP!")
elif action == 'Heal':
heal_amount = int(current_command[2])
heroes_list[name_of_hero]['HP'] += heal_amount
if heroes_list[name_of_hero]['HP'] >= 100:
print(f"{name_of_hero} healed for {abs(heroes_list[name_of_hero]['HP'] - 100 - heal_amount)} HP!")
heroes_list[name_of_hero]['HP'] = 100
else:
print(f"{name_of_hero} healed for {heal_amount} HP!")
command = input()
for hero in heroes_list:
print(f"{hero}")
print(f" HP: {heroes_list[hero]['HP']}")
print(f" MP: {heroes_list[hero]['MP']}")
| heroes_number = int(input())
heroes_list = dict()
for heroes in range(heroes_number):
hero = input().split(' ')
hero_name = hero[0]
hero_hit_points = int(hero[1])
hero_mana_points = int(hero[2])
heroes_list[hero_name] = {'HP': hero_hit_points, 'MP': hero_mana_points}
command = input()
while command != 'End':
current_command = command.split(' - ')
action = current_command[0]
name_of_hero = current_command[1]
if action == 'CastSpell':
mp_needed = int(current_command[2])
spell_name = current_command[3]
if heroes_list[name_of_hero]['MP'] >= mp_needed:
heroes_list[name_of_hero]['MP'] -= mp_needed
print(f"{name_of_hero} has successfully cast {spell_name} and now has {heroes_list[name_of_hero]['MP']} MP!")
else:
print(f'{name_of_hero} does not have enough MP to cast {spell_name}!')
elif action == 'TakeDamage':
damage = int(current_command[2])
attacker = current_command[3]
heroes_list[name_of_hero]['HP'] -= damage
if heroes_list[name_of_hero]['HP'] > 0:
print(f"{name_of_hero} was hit for {damage} HP by {attacker} and now has {heroes_list[name_of_hero]['HP']} HP left!")
else:
del heroes_list[name_of_hero]
print(f'{name_of_hero} has been killed by {attacker}!')
elif action == 'Recharge':
amount = int(current_command[2])
heroes_list[name_of_hero]['MP'] += amount
if heroes_list[name_of_hero]['MP'] >= 200:
print(f"{name_of_hero} recharged for {abs(heroes_list[name_of_hero]['MP'] - 200 - amount)} MP!")
heroes_list[name_of_hero]['MP'] = 200
else:
print(f'{name_of_hero} recharged for {amount} MP!')
elif action == 'Heal':
heal_amount = int(current_command[2])
heroes_list[name_of_hero]['HP'] += heal_amount
if heroes_list[name_of_hero]['HP'] >= 100:
print(f"{name_of_hero} healed for {abs(heroes_list[name_of_hero]['HP'] - 100 - heal_amount)} HP!")
heroes_list[name_of_hero]['HP'] = 100
else:
print(f'{name_of_hero} healed for {heal_amount} HP!')
command = input()
for hero in heroes_list:
print(f'{hero}')
print(f" HP: {heroes_list[hero]['HP']}")
print(f" MP: {heroes_list[hero]['MP']}") |
#!/usr/bin/python
# ==============================================================================
# Author: Tao Li ([email protected])
# Date: May 1, 2015
# Question: 083-Remove-Duplicates-from-Sorted-List
# Link: https://leetcode.com/problems/remove-duplicates-from-sorted-list/
# ==============================================================================
# Given a sorted linked list, delete all duplicates such that each element
# appear only once.
#
# For example,
# Given 1->1->2, return 1->2.
# Given 1->1->2->3->3, return 1->2->3.
# ==============================================================================
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
# @param {ListNode} head
# @return {ListNode}
def deleteDuplicates(self, head):
ptr = head
while ptr:
ptr.next = self.findNext(ptr)
ptr = ptr.next
return head
def findNext(self, head):
if not head or not head.next:
return None
elif head.val != head.next.val:
return head.next
else:
return self.findNext(head.next) | class Solution:
def delete_duplicates(self, head):
ptr = head
while ptr:
ptr.next = self.findNext(ptr)
ptr = ptr.next
return head
def find_next(self, head):
if not head or not head.next:
return None
elif head.val != head.next.val:
return head.next
else:
return self.findNext(head.next) |
#Check if NOT
txt = "Hello buddie unu!"
print("owo" not in txt)
txt = "The best things in life are free!"
if "expensive" not in txt:
print("Yes, 'expensive' is NOT present.")
'''
Terminal:
True
Yes, 'expensive' is NOT present.
'''
#https://www.w3schools.com/python/python_strings.asp | txt = 'Hello buddie unu!'
print('owo' not in txt)
txt = 'The best things in life are free!'
if 'expensive' not in txt:
print("Yes, 'expensive' is NOT present.")
"\nTerminal:\nTrue\nYes, 'expensive' is NOT present.\n" |
class InternalError(Exception):
pass
class InvalidAccessError(Exception):
pass
class InvalidStateError(Exception):
pass
| class Internalerror(Exception):
pass
class Invalidaccesserror(Exception):
pass
class Invalidstateerror(Exception):
pass |
{
'targets': [
{
'target_name': 'profiler',
'sources': [
'cpu_profiler.cc',
'graph_edge.cc',
'graph_node.cc',
'heap_profiler.cc',
'profile.cc',
'profile_node.cc',
'profiler.cc',
'snapshot.cc',
],
}
]
}
| {'targets': [{'target_name': 'profiler', 'sources': ['cpu_profiler.cc', 'graph_edge.cc', 'graph_node.cc', 'heap_profiler.cc', 'profile.cc', 'profile_node.cc', 'profiler.cc', 'snapshot.cc']}]} |
def Insertionsort(A):
for i in range(1, len(A)):
tmp = A[i]
k = i
while k > 0 and tmp < A[k - 1]:
A[k] = A[k - 1]
k -= 1
A[k] = tmp
A = [54, 26, 93, 17, 77, 31, 44, 55, 20]
Insertionsort(A)
print(A) | def insertionsort(A):
for i in range(1, len(A)):
tmp = A[i]
k = i
while k > 0 and tmp < A[k - 1]:
A[k] = A[k - 1]
k -= 1
A[k] = tmp
a = [54, 26, 93, 17, 77, 31, 44, 55, 20]
insertionsort(A)
print(A) |
class policy_name_protection():
def __init__(self,name_protection):
self.np=name_protection
def __call__(self,target):
try:
if target.policy.has_key('name_protection')==True:
if target.policy.get('name_protection')==False and self.np==True:
target.policy['name_protection']=self.np
else:
target.policy['name_protection']=self.np
except AttributeError:
target.policy={'name_protection':self.np}
return target
class policy_replay_protection():
def __init__(self,replay_time,replay_protection=True):
self.rp=replay_protection
if type(replay_time) is int:
if replay_time>0:
self.rt=replay_time
else:
self.rt=0
elif replay_time.isdigit() == True:
self.rt=int(replay_time)
else:
self.rt=0
self.rp=False
def __call__(self,target):
try:
if target.policy.has_key('replay_protection')==True:
target.policy['replay_protection']['enable']=self.rp
target.policy['replay_protection']['interval']=self.rt
else:
target.policy['replay_protection']={'enable':self.rp,'interval':self.rt}
except AttributeError:
target.policy={'replay_protection':{'enable':self.rp,'interval':self.rt}}
return target
class policy():
def __init__(self,**kwargs):
self.__dict__.update(kwargs)
def __call__(self,target):
tmp_pol = {}
for x in self.__dict__.keys():
if len(self.__dict__[x])==1 and isinstance(self.__dict__[x][0],str)==True:
if self.__dict__[x][0].lower()=='control' or self.__dict__[x][0].lower()=='c':
tmp_pol[x]={'action':'control',}
elif self.__dict__[x][1].lower()=='control' or self.__dict__[x][1].lower()=='c':
tmp_pol[x]={'action':'control',}
elif len(self.__dict__[x])==2 and isinstance(self.__dict__[x][0],str)==True or isinstance(self.__dict__[x][1],str)==True:
if self.__dict__[x][0].lower()=='validate' or self.__dict__[x][0].lower()=='v':
tmp_pol[x]={'action':'validate','value':self.__dict__[x][1]}
elif self.__dict__[x][1].lower()=='validate' or self.__dict__[x][1].lower()=='v':
tmp_pol[x]={'action':'validate','value':self.__dict__[x][0]}
try:
if target.policy.has_key('parameter_protection')==True:
target.policy['parameter_protection'].update(tmp_pol)
else:
target.policy['parameter_protection']=tmp_pol
except AttributeError:
target.policy={'parameter_protection':tmp_pol}
return target
| class Policy_Name_Protection:
def __init__(self, name_protection):
self.np = name_protection
def __call__(self, target):
try:
if target.policy.has_key('name_protection') == True:
if target.policy.get('name_protection') == False and self.np == True:
target.policy['name_protection'] = self.np
else:
target.policy['name_protection'] = self.np
except AttributeError:
target.policy = {'name_protection': self.np}
return target
class Policy_Replay_Protection:
def __init__(self, replay_time, replay_protection=True):
self.rp = replay_protection
if type(replay_time) is int:
if replay_time > 0:
self.rt = replay_time
else:
self.rt = 0
elif replay_time.isdigit() == True:
self.rt = int(replay_time)
else:
self.rt = 0
self.rp = False
def __call__(self, target):
try:
if target.policy.has_key('replay_protection') == True:
target.policy['replay_protection']['enable'] = self.rp
target.policy['replay_protection']['interval'] = self.rt
else:
target.policy['replay_protection'] = {'enable': self.rp, 'interval': self.rt}
except AttributeError:
target.policy = {'replay_protection': {'enable': self.rp, 'interval': self.rt}}
return target
class Policy:
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
def __call__(self, target):
tmp_pol = {}
for x in self.__dict__.keys():
if len(self.__dict__[x]) == 1 and isinstance(self.__dict__[x][0], str) == True:
if self.__dict__[x][0].lower() == 'control' or self.__dict__[x][0].lower() == 'c':
tmp_pol[x] = {'action': 'control'}
elif self.__dict__[x][1].lower() == 'control' or self.__dict__[x][1].lower() == 'c':
tmp_pol[x] = {'action': 'control'}
elif len(self.__dict__[x]) == 2 and isinstance(self.__dict__[x][0], str) == True or isinstance(self.__dict__[x][1], str) == True:
if self.__dict__[x][0].lower() == 'validate' or self.__dict__[x][0].lower() == 'v':
tmp_pol[x] = {'action': 'validate', 'value': self.__dict__[x][1]}
elif self.__dict__[x][1].lower() == 'validate' or self.__dict__[x][1].lower() == 'v':
tmp_pol[x] = {'action': 'validate', 'value': self.__dict__[x][0]}
try:
if target.policy.has_key('parameter_protection') == True:
target.policy['parameter_protection'].update(tmp_pol)
else:
target.policy['parameter_protection'] = tmp_pol
except AttributeError:
target.policy = {'parameter_protection': tmp_pol}
return target |
#!/usr/bin/env python3
# Problem Set 4A
# Name: John L. Jones
# Collaborators:
# Time Spent: x:xx
def get_permutations(sequence):
'''
Enumerate all permutations of a given string
sequence (string): an arbitrary string to permute. Assume that it is a
non-empty string.
You MUST use recursion for this part. Non-recursive solutions will not be
accepted.
Returns: a list of all permutations of sequence
Example:
>>> get_permutations('abc')
['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
Note: depending on your implementation, you may return the permutations in
a different order than what is listed here.
'''
permutations = []
if len(sequence) <= 1:
permutations.append(sequence)
else:
sub_perms = get_permutations(sequence[1:])
for s in sub_perms:
for i in range(len(s)+1):
permutations.append(s[:i] + sequence[0] + s[i:])
return permutations
if __name__ == '__main__':
# # Put three example test cases here (for your sanity, limit your inputs
# to be three characters or fewer as you will have n! permutations for a
# sequence of length n)
example_input = 'a'
print('Input:', example_input)
print('Expected Output:', ['a'])
print('Actual Output: ', get_permutations(example_input))
example_input = 'ab'
print('')
print('Input:', example_input)
expected_output = ['ab', 'ba']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
example_input = 'abc'
print('')
print('Input:', example_input)
expected_output = ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
example_input = 'cat'
print('')
print('Input:', example_input)
expected_output = ['cat', 'act', 'atc', 'tca', 'cta', 'tac']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
example_input = 'zyx'
print('')
print('Input:', example_input)
expected_output = ['zyx', 'zxy', 'yzx', 'yxz', 'xyz', 'xzy']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
| def get_permutations(sequence):
"""
Enumerate all permutations of a given string
sequence (string): an arbitrary string to permute. Assume that it is a
non-empty string.
You MUST use recursion for this part. Non-recursive solutions will not be
accepted.
Returns: a list of all permutations of sequence
Example:
>>> get_permutations('abc')
['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
Note: depending on your implementation, you may return the permutations in
a different order than what is listed here.
"""
permutations = []
if len(sequence) <= 1:
permutations.append(sequence)
else:
sub_perms = get_permutations(sequence[1:])
for s in sub_perms:
for i in range(len(s) + 1):
permutations.append(s[:i] + sequence[0] + s[i:])
return permutations
if __name__ == '__main__':
example_input = 'a'
print('Input:', example_input)
print('Expected Output:', ['a'])
print('Actual Output: ', get_permutations(example_input))
example_input = 'ab'
print('')
print('Input:', example_input)
expected_output = ['ab', 'ba']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
example_input = 'abc'
print('')
print('Input:', example_input)
expected_output = ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
example_input = 'cat'
print('')
print('Input:', example_input)
expected_output = ['cat', 'act', 'atc', 'tca', 'cta', 'tac']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output)
example_input = 'zyx'
print('')
print('Input:', example_input)
expected_output = ['zyx', 'zxy', 'yzx', 'yxz', 'xyz', 'xzy']
expected_output.sort()
actual_output = get_permutations(example_input)
actual_output.sort()
print('Expected Output:', expected_output)
print('Actual Output: ', actual_output) |
def function(param, param1):
pass
def result():
pass
function(result<arg1>(), result())
| def function(param, param1):
pass
def result():
pass
function(result < arg1 > (), result()) |
# https://open.kattis.com/problems/stockbroker
# init values
cash = 100
shares = 0
prices = []
#first input: num days (1-365)
num_days = int(input())
#next inputs: values on each day (1-500)
for _ in range(num_days):
prices.append(int(input()))
for i in range(len(prices)-1):
if prices[i] < prices[i+1]:
#buy
if (shares + (cash // prices[i])) > 100000:
cash = cash - ((100000 - shares)*prices[i])
shares = 100000
else:
shares += cash // prices[i]
cash = cash % prices[i]
elif prices[i] > prices[i+1]:
#sell
cash += shares * prices[i]
shares = 0
if shares > 0:
cash += shares * prices[-1]
print(cash) | cash = 100
shares = 0
prices = []
num_days = int(input())
for _ in range(num_days):
prices.append(int(input()))
for i in range(len(prices) - 1):
if prices[i] < prices[i + 1]:
if shares + cash // prices[i] > 100000:
cash = cash - (100000 - shares) * prices[i]
shares = 100000
else:
shares += cash // prices[i]
cash = cash % prices[i]
elif prices[i] > prices[i + 1]:
cash += shares * prices[i]
shares = 0
if shares > 0:
cash += shares * prices[-1]
print(cash) |
class RequestInfo:
def __init__(self,
human_string, # human-readable string (will be printed for Human object)
action_requested, # action requested ('card' + index of card / 'opponent' / 'guess')
current_hand = [], # player's current hand
discard_pile = [], # discard pile
move_history = [], # list of player moves
players_active_status = [], # players' active status (active / lost)
players_protection_status = [], # players' protection status (protected / not protected)
invalid_moves = [], # invalid moves (optional) - an assist from Game
valid_moves = [], # valid moves (optional) - an assist from Game
players_active = [], # list of currently active players
players_protected = []): # Protection status of all players (including inactive ones)
self.human_string = human_string
self.action_requested = action_requested
self.current_hand = current_hand
self.discard_pile = discard_pile
self.move_history = move_history
self.players_active_status = players_active_status
self.players_protection_status = players_protection_status
self.invalid_moves = invalid_moves
self.valid_moves = valid_moves
self.players_active = players_active
self.players_protected = players_protected
def get_request_info(self):
return ({'human_string' : self.human_string,
'action_requested' : self.action_requested,
'current_hand' : self.current_hand,
'discard_pile' : self.discard_pile,
'move_history' : self.move_history,
'players_active_status' : self.players_active_status,
'players_protection_status' : self.players_protection_status,
'invalid_moves' : self.invalid_moves,
'valid_moves' : self.valid_moves,
'players_active' : self.players_active,
'players_protected' : self.players_protected})
| class Requestinfo:
def __init__(self, human_string, action_requested, current_hand=[], discard_pile=[], move_history=[], players_active_status=[], players_protection_status=[], invalid_moves=[], valid_moves=[], players_active=[], players_protected=[]):
self.human_string = human_string
self.action_requested = action_requested
self.current_hand = current_hand
self.discard_pile = discard_pile
self.move_history = move_history
self.players_active_status = players_active_status
self.players_protection_status = players_protection_status
self.invalid_moves = invalid_moves
self.valid_moves = valid_moves
self.players_active = players_active
self.players_protected = players_protected
def get_request_info(self):
return {'human_string': self.human_string, 'action_requested': self.action_requested, 'current_hand': self.current_hand, 'discard_pile': self.discard_pile, 'move_history': self.move_history, 'players_active_status': self.players_active_status, 'players_protection_status': self.players_protection_status, 'invalid_moves': self.invalid_moves, 'valid_moves': self.valid_moves, 'players_active': self.players_active, 'players_protected': self.players_protected} |
class RawMemory(object):
'''Represents raw memory.'''
def __init__(self):
self._pointer_to_object = {}
self._object_to_pointer = {}
# address 0 won't be used
self._current_pointer = 0
def get_pointer(self, obj):
assert obj in self._object_to_pointer
return self._object_to_pointer[obj]
def dereference_pointer(self, pointer):
assert pointer in self._pointer_to_object
return self._pointer_to_object[pointer]
def allocate(self, obj):
new_pointer = self._current_pointer + 1
self._current_pointer = new_pointer
self._pointer_to_object[new_pointer] = obj
self._object_to_pointer[obj] = new_pointer
return new_pointer
class Node(object):
def __init__(self, value):
self.value = value
self.both = 0
class XORLinkedList(object):
'''Compact double-linked list.
>>> l = XORLinkedList()
>>> l.add(5)
>>> l.add(8)
>>> l.add(50)
>>> l.add(23)
>>> l.get(0)
5
>>> l.get(1)
8
>>> l.get(2)
50
>>> l.get(3)
23
'''
def __init__(self):
self.mem = RawMemory()
self.begin_node_pointer = 0
self.amount = 0
def add(self, element):
# instead of inserting at the end, we insert at the beginning and change the get function
new_node = Node(element)
new_node_pointer = self.mem.allocate(new_node)
if self.begin_node_pointer != 0:
old_node = self.mem.dereference_pointer(self.begin_node_pointer)
# old_node.both is the following node xor'd with 0, and a ^ 0 = a
old_node.both = old_node.both ^ new_node_pointer
new_node.both = self.begin_node_pointer ^ 0
self.begin_node_pointer = new_node_pointer
self.amount += 1
def get(self, index):
assert index in range(self.amount), "Index not in linked list"
# instead of inserting at the end, we insert at the beginning and change the get function
index = self.amount - index - 1
previous_pointer = 0
current_pointer = self.begin_node_pointer
for _ in range(index):
next_pointer = self.mem.dereference_pointer(current_pointer).both ^ previous_pointer
previous_pointer, current_pointer = (current_pointer, next_pointer)
return self.mem.dereference_pointer(current_pointer).value
| class Rawmemory(object):
"""Represents raw memory."""
def __init__(self):
self._pointer_to_object = {}
self._object_to_pointer = {}
self._current_pointer = 0
def get_pointer(self, obj):
assert obj in self._object_to_pointer
return self._object_to_pointer[obj]
def dereference_pointer(self, pointer):
assert pointer in self._pointer_to_object
return self._pointer_to_object[pointer]
def allocate(self, obj):
new_pointer = self._current_pointer + 1
self._current_pointer = new_pointer
self._pointer_to_object[new_pointer] = obj
self._object_to_pointer[obj] = new_pointer
return new_pointer
class Node(object):
def __init__(self, value):
self.value = value
self.both = 0
class Xorlinkedlist(object):
"""Compact double-linked list.
>>> l = XORLinkedList()
>>> l.add(5)
>>> l.add(8)
>>> l.add(50)
>>> l.add(23)
>>> l.get(0)
5
>>> l.get(1)
8
>>> l.get(2)
50
>>> l.get(3)
23
"""
def __init__(self):
self.mem = raw_memory()
self.begin_node_pointer = 0
self.amount = 0
def add(self, element):
new_node = node(element)
new_node_pointer = self.mem.allocate(new_node)
if self.begin_node_pointer != 0:
old_node = self.mem.dereference_pointer(self.begin_node_pointer)
old_node.both = old_node.both ^ new_node_pointer
new_node.both = self.begin_node_pointer ^ 0
self.begin_node_pointer = new_node_pointer
self.amount += 1
def get(self, index):
assert index in range(self.amount), 'Index not in linked list'
index = self.amount - index - 1
previous_pointer = 0
current_pointer = self.begin_node_pointer
for _ in range(index):
next_pointer = self.mem.dereference_pointer(current_pointer).both ^ previous_pointer
(previous_pointer, current_pointer) = (current_pointer, next_pointer)
return self.mem.dereference_pointer(current_pointer).value |
class Paginator:
def __init__(self, configuration, request):
self.configuration = configuration
self.page = request.args.get('page', 1, type=int)
self.page_size = request.args.get('page_size', configuration.per_page, type=int)
if self.page_size > configuration.max_page_size:
self.page_size = configuration.max_page_size
def items(self, query):
return query.paginate(self.page, self.page_size, False).items
| class Paginator:
def __init__(self, configuration, request):
self.configuration = configuration
self.page = request.args.get('page', 1, type=int)
self.page_size = request.args.get('page_size', configuration.per_page, type=int)
if self.page_size > configuration.max_page_size:
self.page_size = configuration.max_page_size
def items(self, query):
return query.paginate(self.page, self.page_size, False).items |
'''
Python To-Do
A simple to-do list program using text files to hold tasks
Authored by: Bryce Buchanan
'''
# TO DO 1. Convert to class
# TO DO 2. Allow editing of tasks
# TO DO 3. Detemine and implement best data structure
# TO DO 4. File I/O
# TO DO 5. GUI
#class ToDoItem:
# def __init__(self, task):
# self.task = task
# self.next = None
# def get(self):
# return self.task
class ToDoModule:
def __init__(self, toDoList, completedTasks, head = None):
self.toDoList = toDoList
self.completedTasks = completedTasks
self.head = head
def add(self):
self.toDoList.append(input('Type your task here: '))
def completeTask(self):
while (1):
try:
completed = int(input('Which task number would you like to complete? (Enter index): '))
break
except ValueError:
print('Not a valid task number')
self.completedTasks.append(self.toDoList[completed - 1])
del self.toDoList[completed - 1]
def printTasks(self):
for task in self.toDoList:
index = "{}".format(self.toDoList.index(task) + 1)
print(index + '. ' + task + '\n')
print('\n')
def printCompleted(self):
for task in self.completedTasks:
index = "{}".format(self.completedTasks.index(task) + 1)
print(index + '. ' + task, end = '\n')
print('\n') | """
Python To-Do
A simple to-do list program using text files to hold tasks
Authored by: Bryce Buchanan
"""
class Todomodule:
def __init__(self, toDoList, completedTasks, head=None):
self.toDoList = toDoList
self.completedTasks = completedTasks
self.head = head
def add(self):
self.toDoList.append(input('Type your task here: '))
def complete_task(self):
while 1:
try:
completed = int(input('Which task number would you like to complete? (Enter index): '))
break
except ValueError:
print('Not a valid task number')
self.completedTasks.append(self.toDoList[completed - 1])
del self.toDoList[completed - 1]
def print_tasks(self):
for task in self.toDoList:
index = '{}'.format(self.toDoList.index(task) + 1)
print(index + '. ' + task + '\n')
print('\n')
def print_completed(self):
for task in self.completedTasks:
index = '{}'.format(self.completedTasks.index(task) + 1)
print(index + '. ' + task, end='\n')
print('\n') |
EXECUTE_MODE_AUTO = "auto"
EXECUTE_MODE_ASYNC = "async"
EXECUTE_MODE_SYNC = "sync"
EXECUTE_MODE_OPTIONS = frozenset([
EXECUTE_MODE_AUTO,
EXECUTE_MODE_ASYNC,
EXECUTE_MODE_SYNC,
])
EXECUTE_CONTROL_OPTION_ASYNC = "async-execute"
EXECUTE_CONTROL_OPTION_SYNC = "sync-execute"
EXECUTE_CONTROL_OPTIONS = frozenset([
EXECUTE_CONTROL_OPTION_ASYNC,
EXECUTE_CONTROL_OPTION_SYNC,
])
EXECUTE_RESPONSE_RAW = "raw"
EXECUTE_RESPONSE_DOCUMENT = "document"
EXECUTE_RESPONSE_OPTIONS = frozenset([
EXECUTE_RESPONSE_RAW,
EXECUTE_RESPONSE_DOCUMENT,
])
EXECUTE_TRANSMISSION_MODE_VALUE = "value"
EXECUTE_TRANSMISSION_MODE_REFERENCE = "reference"
EXECUTE_TRANSMISSION_MODE_OPTIONS = frozenset([
EXECUTE_TRANSMISSION_MODE_VALUE,
EXECUTE_TRANSMISSION_MODE_REFERENCE,
])
| execute_mode_auto = 'auto'
execute_mode_async = 'async'
execute_mode_sync = 'sync'
execute_mode_options = frozenset([EXECUTE_MODE_AUTO, EXECUTE_MODE_ASYNC, EXECUTE_MODE_SYNC])
execute_control_option_async = 'async-execute'
execute_control_option_sync = 'sync-execute'
execute_control_options = frozenset([EXECUTE_CONTROL_OPTION_ASYNC, EXECUTE_CONTROL_OPTION_SYNC])
execute_response_raw = 'raw'
execute_response_document = 'document'
execute_response_options = frozenset([EXECUTE_RESPONSE_RAW, EXECUTE_RESPONSE_DOCUMENT])
execute_transmission_mode_value = 'value'
execute_transmission_mode_reference = 'reference'
execute_transmission_mode_options = frozenset([EXECUTE_TRANSMISSION_MODE_VALUE, EXECUTE_TRANSMISSION_MODE_REFERENCE]) |
# Euler problem 90: Cube digit pairs
def solve():
# Find all possible dies with 6 digits on faces out of 10 combinations
options = []
find_options(options, [])
count = 0
# Figure out which combinations of two dies make a square
for die1 in options:
for die2 in options:
if is_solution(die1, die2):
count += 1
# Devide by 2 because dices can be interchanges (symmetry)
print(count // 2)
def find_options(options, die):
if len(die) == 6:
options.append(die)
return
if len(die) == 0:
start = 0
else:
start = die[-1] + 1
for d in range(start, 10):
find_options(options, die + [d])
def is_solution(die1, die2):
if not digits_match(die1, die2, 0, 1):
return False
if not digits_match(die1, die2, 0, 4):
return False
if not digits_match(die1, die2, 0, 9) and not digits_match(die1, die2, 0, 6):
return False
if not digits_match(die1, die2, 1, 6) and not digits_match(die1, die2, 1, 9):
return False
if not digits_match(die1, die2, 2, 5):
return False
if not digits_match(die1, die2, 3, 6) and not digits_match(die1, die2, 3, 9):
return False
if not digits_match(die1, die2, 4, 9) and not digits_match(die1, die2, 4, 6):
return False
if not digits_match(die1, die2, 6, 4) and not digits_match(die1, die2, 9, 4):
return False
if not digits_match(die1, die2, 8, 1):
return False
return True
def digits_match(die1, die2, digit1, digit2):
if (digit1 in die1) and (digit2 in die2):
return True
if (digit2 in die1) and (digit1 in die2):
return True
return False
solve()
| def solve():
options = []
find_options(options, [])
count = 0
for die1 in options:
for die2 in options:
if is_solution(die1, die2):
count += 1
print(count // 2)
def find_options(options, die):
if len(die) == 6:
options.append(die)
return
if len(die) == 0:
start = 0
else:
start = die[-1] + 1
for d in range(start, 10):
find_options(options, die + [d])
def is_solution(die1, die2):
if not digits_match(die1, die2, 0, 1):
return False
if not digits_match(die1, die2, 0, 4):
return False
if not digits_match(die1, die2, 0, 9) and (not digits_match(die1, die2, 0, 6)):
return False
if not digits_match(die1, die2, 1, 6) and (not digits_match(die1, die2, 1, 9)):
return False
if not digits_match(die1, die2, 2, 5):
return False
if not digits_match(die1, die2, 3, 6) and (not digits_match(die1, die2, 3, 9)):
return False
if not digits_match(die1, die2, 4, 9) and (not digits_match(die1, die2, 4, 6)):
return False
if not digits_match(die1, die2, 6, 4) and (not digits_match(die1, die2, 9, 4)):
return False
if not digits_match(die1, die2, 8, 1):
return False
return True
def digits_match(die1, die2, digit1, digit2):
if digit1 in die1 and digit2 in die2:
return True
if digit2 in die1 and digit1 in die2:
return True
return False
solve() |
class SimHash:
def __init__(self, bit=64, limit=3):
self.bit = bit
self.limit = limit
self.docs = []
def compute_bits(self, text):
word_hash = []
for word in text:
word_hash.append(hash(word))
hash_bits = []
while len(hash_bits) < self.bit:
bit = 0
for i, word in enumerate(word_hash):
if word & 1:
bit += 1
else:
bit -= 1
word_hash[i] = word >> 1
hash_bits.append(bit)
# print(hash_bits)
return int(''.join(['1' if b > 0 else '0' for b in hash_bits[::-1]]), 2)
def hamming_distance(self, x, y):
return bin(x ^ y).count('1')
def add_doc(self, text):
text_bits = self.compute_bits(text)
for doc in self.docs:
if self.hamming_distance(doc, text_bits) < self.limit:
return False
self.docs.append(text_bits)
return True
def compare(self, x, y):
bit_x = self.compute_bits(x)
bit_y = self.compute_bits(y)
print('x: {}\ny: {}'.format(bin(bit_x), bin(bit_y)))
return self.hamming_distance(bit_x, bit_y)
class SegmentSimHash(SimHash):
def __init__(self, bit=64, limit=3, num_segment=4):
super().__init__(bit, limit)
self.docs = {}
assert bit % num_segment == 0
self.num_segment = num_segment
self.seg_length = bit // num_segment
self.masks = [int('1' * self.seg_length + '0' * self.seg_length * i, 2)
for i in range(num_segment)]
def compute_segments(self, text):
text_bits = super().compute_bits(text)
segments = [(text_bits & self.masks[i]) >> i * self.seg_length
for i in range(self.num_segment)]
return text_bits, segments
def add_doc(self, text):
text_bits, segments = self.compute_segments(text)
# find similar doc
for seg in segments:
if seg in self.docs:
for doc_seg in self.docs[seg]:
if super().hamming_distance(text_bits, doc_seg) < self.limit:
return False
# add to docs
for seg in segments:
if seg not in self.docs:
self.docs[seg] = set()
self.docs[seg].add(text_bits)
return True
if __name__ == '__main__':
text = ['we all scream for ice cream', 'we all scream for ice']
simhash = SimHash()
print(simhash.compare(text[0], text[1]))
segment = SegmentSimHash()
for t in text:
segment.add_doc(t)
print(segment.docs)
| class Simhash:
def __init__(self, bit=64, limit=3):
self.bit = bit
self.limit = limit
self.docs = []
def compute_bits(self, text):
word_hash = []
for word in text:
word_hash.append(hash(word))
hash_bits = []
while len(hash_bits) < self.bit:
bit = 0
for (i, word) in enumerate(word_hash):
if word & 1:
bit += 1
else:
bit -= 1
word_hash[i] = word >> 1
hash_bits.append(bit)
return int(''.join(['1' if b > 0 else '0' for b in hash_bits[::-1]]), 2)
def hamming_distance(self, x, y):
return bin(x ^ y).count('1')
def add_doc(self, text):
text_bits = self.compute_bits(text)
for doc in self.docs:
if self.hamming_distance(doc, text_bits) < self.limit:
return False
self.docs.append(text_bits)
return True
def compare(self, x, y):
bit_x = self.compute_bits(x)
bit_y = self.compute_bits(y)
print('x: {}\ny: {}'.format(bin(bit_x), bin(bit_y)))
return self.hamming_distance(bit_x, bit_y)
class Segmentsimhash(SimHash):
def __init__(self, bit=64, limit=3, num_segment=4):
super().__init__(bit, limit)
self.docs = {}
assert bit % num_segment == 0
self.num_segment = num_segment
self.seg_length = bit // num_segment
self.masks = [int('1' * self.seg_length + '0' * self.seg_length * i, 2) for i in range(num_segment)]
def compute_segments(self, text):
text_bits = super().compute_bits(text)
segments = [(text_bits & self.masks[i]) >> i * self.seg_length for i in range(self.num_segment)]
return (text_bits, segments)
def add_doc(self, text):
(text_bits, segments) = self.compute_segments(text)
for seg in segments:
if seg in self.docs:
for doc_seg in self.docs[seg]:
if super().hamming_distance(text_bits, doc_seg) < self.limit:
return False
for seg in segments:
if seg not in self.docs:
self.docs[seg] = set()
self.docs[seg].add(text_bits)
return True
if __name__ == '__main__':
text = ['we all scream for ice cream', 'we all scream for ice']
simhash = sim_hash()
print(simhash.compare(text[0], text[1]))
segment = segment_sim_hash()
for t in text:
segment.add_doc(t)
print(segment.docs) |
# Write a function that takes a string as input and returns the string reversed.
class Solution(object):
def reverseString(self, s):
return s[::-1] | class Solution(object):
def reverse_string(self, s):
return s[::-1] |
# Copyright 2018, Michael DeHaan LLC
# License: Apache License Version 2.0 + Commons Clause
# ---------------------------------------------------------------------------
# workers.py - configuration related to worker setup. This file *CAN* be
# different per worker.
# ---------------------------------------------------------------------------
BUILD_ROOT = "/tmp/vespene/buildroot/"
# ---------------------------------------------------------------------------
# all of these settings deal with serving up the buildroot.
# to disable file serving thorugh Django you can set this to FALSE
FILESERVING_ENABLED = True
FILESERVING_PORT = 8000
# leave this blank and the system will try to figure this out
# the setup scripts will usually set this to `hostname` though if
# unset the registration code will run `hostname`
FILESERVING_HOSTNAME = ""
FILESERVING_URL="/srv"
# if you disable fileserving but are using triggers to copy build roots
# to some other location (perhaps NFS served up by a web server or an FTP
# server) you can set this FILESERVING_ENABLED to False and the following pattern will
# be used instead to generate web links in the main GUI. If this pattern
# is set the links to the built-in fileserver will NOT be rendered, but this will
# not turn on the fileserver. To do that, set FILESERVING_ENABLED to False also
# BUILDROOT_WEB_LINK = "http://build-fileserver.example.com/builds/{{ build.id }}"
BUILDROOT_WEB_LINK = ""
| build_root = '/tmp/vespene/buildroot/'
fileserving_enabled = True
fileserving_port = 8000
fileserving_hostname = ''
fileserving_url = '/srv'
buildroot_web_link = '' |
#1016
#ENTRADA DE DADOS
entrada = int(input())
#SE O CARRO Y CONSEGUE SE DISTANCIAR EM CADA MINUTO 500metros = 0.5km
tempo = entrada/0.5
print(int(tempo), 'minutos')
| entrada = int(input())
tempo = entrada / 0.5
print(int(tempo), 'minutos') |
class InsertQueryComposer(object):
_insert_part = None
_values_part_template = None
_values_part = None
values_count = None
def __init__(self, table_name, columns):
columns_clause = ""
values_clause = ""
for column in columns:
columns_clause += "`{column_name}`, ".format(
column_name=column['Field'])
val = "{{0[{column_name}]}}, "
values_clause += val.format(column_name=column['Field'])
columns_clause = columns_clause.rstrip(", ")
values_clause = values_clause.rstrip(", ")
self._insert_part = "INSERT INTO `" + table_name + "` (" + columns_clause + ") VALUES"
self._values_part_template = "(" + values_clause + "),"
self._values_part = ""
self.values_count = 0
def add_value(self, record):
self._values_part += self._values_part_template.format(record)
self.values_count += 1
def get_query(self):
if self.values_count == 0:
raise Exception("No values provided to InsertQueryComposer")
self._values_part = self._values_part.rstrip(",")
return "{insert}{values};".format(insert=self._insert_part, values=self._values_part)
def reset(self):
self.values_count = 0
self._values_part = "" | class Insertquerycomposer(object):
_insert_part = None
_values_part_template = None
_values_part = None
values_count = None
def __init__(self, table_name, columns):
columns_clause = ''
values_clause = ''
for column in columns:
columns_clause += '`{column_name}`, '.format(column_name=column['Field'])
val = '{{0[{column_name}]}}, '
values_clause += val.format(column_name=column['Field'])
columns_clause = columns_clause.rstrip(', ')
values_clause = values_clause.rstrip(', ')
self._insert_part = 'INSERT INTO `' + table_name + '` (' + columns_clause + ') VALUES'
self._values_part_template = '(' + values_clause + '),'
self._values_part = ''
self.values_count = 0
def add_value(self, record):
self._values_part += self._values_part_template.format(record)
self.values_count += 1
def get_query(self):
if self.values_count == 0:
raise exception('No values provided to InsertQueryComposer')
self._values_part = self._values_part.rstrip(',')
return '{insert}{values};'.format(insert=self._insert_part, values=self._values_part)
def reset(self):
self.values_count = 0
self._values_part = '' |
# parsetable.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'AND ARRAY ASSIGNMENT BINDIGSEQ CASE CHAR COLON COMMA COMMENT CONST DIGSEQ DIV DO DOT DOTDOT DOWNTO ELSE END EQUAL FOR FORWARD FUNCTION GE GOTO GT HEXDIGSEQ IDENTIFIER IF IN LABEL LBRAC LE LPAREN LT MINUS MOD NIL NOT NOTEQUAL OCTDIGSEQ OF OR OTHERWISE PACKED PBEGIN PFILE PLUS PROCEDURE PROGRAM RBRAC REALNUMBER RECORD REPEAT RPAREN SEMICOLON SET SLASH STAR STARSTAR STRING THEN TO TYPE UNTIL UPARROW UNPACKED VAR WHILE WITHfile : program\n program : PROGRAM identifier LPAREN identifier_list RPAREN semicolon block DOT\n program : PROGRAM identifier semicolon block DOTidentifier_list : identifier_list comma identifieridentifier_list : identifierblock : label_declaration_part constant_definition_part type_definition_part variable_declaration_part procedure_and_function_declaration_part statement_partlabel_declaration_part : LABEL label_list semicolonlabel_declaration_part : emptylabel_list : label_list comma labellabel_list : labellabel : DIGSEQconstant_definition_part : CONST constant_listconstant_definition_part : emptyconstant_list : constant_list constant_definitionconstant_list : constant_definitionconstant_definition : identifier EQUAL cexpression semicoloncexpression : csimple_expressioncexpression : csimple_expression relop csimple_expressioncsimple_expression : ctermcsimple_expression : csimple_expression addop ctermcterm : cfactorcterm : cterm mulop cfactorcfactor : sign cfactorcfactor : cprimarycprimary : identifiercprimary : LPAREN cexpression RPARENcprimary : unsigned_constantcprimary : NOT cprimaryconstant : non_stringconstant : sign non_stringconstant : STRINGconstant : CHARsign : PLUSsign : MINUSnon_string : DIGSEQnon_string : identifiernon_string : REALNUMBERtype_definition_part : TYPE type_definition_listtype_definition_part : emptytype_definition_list : type_definition_list type_definitiontype_definition_list : type_definitiontype_definition : identifier EQUAL type_denoter semicolontype_denoter : identifiertype_denoter : new_typenew_type : new_ordinal_typenew_type : new_structured_typenew_type : new_pointer_typenew_ordinal_type : enumerated_typenew_ordinal_type : subrange_typeenumerated_type : LPAREN identifier_list RPARENsubrange_type : constant DOTDOT constantnew_structured_type : structured_typenew_structured_type : PACKED structured_typestructured_type : array_typestructured_type : record_typestructured_type : set_typestructured_type : file_typearray_type : ARRAY LBRAC index_list RBRAC OF component_typeindex_list : index_list comma index_typeindex_list : index_typeindex_type : ordinal_typeordinal_type : new_ordinal_typeordinal_type : identifiercomponent_type : type_denoterrecord_type : RECORD record_section_list ENDrecord_type : RECORD record_section_list semicolon variant_part ENDrecord_type : RECORD variant_part ENDrecord_section_list : record_section_list semicolon record_sectionrecord_section_list : record_sectionrecord_section : identifier_list COLON type_denotervariant_selector : tag_field COLON tag_typevariant_selector : tag_typevariant_list : variant_list semicolon variantvariant_list : variantvariant : case_constant_list COLON LPAREN record_section_list RPARENvariant : case_constant_list COLON LPAREN record_section_list semicolon variant_part RPARENvariant : case_constant_list COLON LPAREN variant_part RPARENvariant_part : CASE variant_selector OF variant_listvariant_part : CASE variant_selector OF variant_list semicolonvariant_part : emptycase_constant_list : case_constant_list comma case_constantcase_constant_list : case_constantcase_constant : constantcase_constant : constant DOTDOT constanttag_field : identifiertag_type : identifierset_type : SET OF base_typebase_type : ordinal_typefile_type : PFILE OF component_typenew_pointer_type : UPARROW domain_typedomain_type : identifiervariable_declaration_part : VAR variable_declaration_list semicolonvariable_declaration_part : emptyvariable_declaration_list : variable_declaration_list semicolon variable_declarationvariable_declaration_list : variable_declarationvariable_declaration : identifier_list COLON type_denoterprocedure_and_function_declaration_part : proc_or_func_declaration_list semicolonprocedure_and_function_declaration_part : emptyproc_or_func_declaration_list : proc_or_func_declaration_list semicolon proc_or_func_declarationproc_or_func_declaration_list : proc_or_func_declarationproc_or_func_declaration : procedure_declarationproc_or_func_declaration : function_declarationprocedure_declaration : procedure_heading semicolon procedure_blockprocedure_heading : procedure_identificationprocedure_heading : procedure_identification formal_parameter_listformal_parameter_list : LPAREN formal_parameter_section_list RPARENformal_parameter_section_list : formal_parameter_section_list semicolon formal_parameter_sectionformal_parameter_section_list : formal_parameter_sectionformal_parameter_section : value_parameter_specificationformal_parameter_section : variable_parameter_specificationformal_parameter_section : procedural_parameter_specificationformal_parameter_section : functional_parameter_specificationvalue_parameter_specification : identifier_list COLON identifier\n variable_parameter_specification : VAR identifier_list COLON identifier\n procedural_parameter_specification : procedure_headingfunctional_parameter_specification : function_headingprocedure_identification : PROCEDURE identifierprocedure_block : block\n function_declaration : function_identification semicolon function_block\n function_declaration : function_heading semicolon function_blockfunction_heading : FUNCTION identifier COLON result_typefunction_heading : FUNCTION identifier formal_parameter_list COLON result_typeresult_type : identifierfunction_identification : FUNCTION identifierfunction_block : blockstatement_part : compound_statementcompound_statement : PBEGIN statement_sequence ENDstatement_sequence : statement_sequence semicolon statementstatement_sequence : statementstatement : open_statementstatement : closed_statementopen_statement : label COLON non_labeled_open_statementopen_statement : non_labeled_open_statementclosed_statement : label COLON non_labeled_closed_statementclosed_statement : non_labeled_closed_statementnon_labeled_open_statement : open_with_statementnon_labeled_open_statement : open_if_statementnon_labeled_open_statement : open_while_statementnon_labeled_open_statement : open_for_statement\n non_labeled_closed_statement : assignment_statement\n | procedure_statement\n | goto_statement\n | compound_statement\n | case_statement\n | repeat_statement\n | closed_with_statement\n | closed_if_statement\n | closed_while_statement\n | closed_for_statement\n | empty\n repeat_statement : REPEAT statement_sequence UNTIL boolean_expressionopen_while_statement : WHILE boolean_expression DO open_statementclosed_while_statement : WHILE boolean_expression DO closed_statementopen_for_statement : FOR control_variable ASSIGNMENT initial_value direction final_value DO open_statementclosed_for_statement : FOR control_variable ASSIGNMENT initial_value direction final_value DO closed_statementopen_with_statement : WITH record_variable_list DO open_statementclosed_with_statement : WITH record_variable_list DO closed_statementopen_if_statement : IF boolean_expression THEN statementopen_if_statement : IF boolean_expression THEN closed_statement ELSE open_statementclosed_if_statement : IF boolean_expression THEN closed_statement ELSE closed_statementassignment_statement : variable_access ASSIGNMENT expressionvariable_access : identifiervariable_access : indexed_variablevariable_access : field_designatorvariable_access : variable_access UPARROWindexed_variable : variable_access LBRAC index_expression_list RBRACindex_expression_list : index_expression_list comma index_expressionindex_expression_list : index_expressionindex_expression : expressionfield_designator : variable_access DOT identifierprocedure_statement : identifier paramsprocedure_statement : identifierparams : LPAREN actual_parameter_list RPARENactual_parameter_list : actual_parameter_list comma actual_parameteractual_parameter_list : actual_parameteractual_parameter : expressionactual_parameter : expression COLON expressionactual_parameter : expression COLON expression COLON expressiongoto_statement : GOTO labelcase_statement : CASE case_index OF case_list_element_list END\n case_statement : CASE case_index OF case_list_element_list SEMICOLON END\n case_statement : CASE case_index OF case_list_element_list semicolon otherwisepart statement ENDcase_statement : CASE case_index OF case_list_element_list semicolon otherwisepart statement SEMICOLON ENDcase_index : expression\n case_list_element_list : case_list_element_list semicolon case_list_element\n case_list_element_list : case_list_elementcase_list_element : case_constant_list COLON statementotherwisepart : OTHERWISEotherwisepart : OTHERWISE COLONcontrol_variable : identifierinitial_value : expressiondirection : TOdirection : DOWNTOfinal_value : expressionrecord_variable_list : record_variable_list comma variable_accessrecord_variable_list : variable_accessboolean_expression : expressionexpression : simple_expressionexpression : simple_expression relop simple_expressionsimple_expression : termsimple_expression : simple_expression addop termterm : factorterm : term mulop factorfactor : sign factorfactor : primaryprimary : variable_accessprimary : unsigned_constantprimary : function_designatorprimary : set_constructorprimary : LPAREN expression RPARENprimary : NOT primaryunsigned_constant : unsigned_numberunsigned_constant : STRINGunsigned_constant : NILunsigned_constant : CHARunsigned_number : unsigned_integerunsigned_number : unsigned_realunsigned_integer : DIGSEQunsigned_integer : HEXDIGSEQunsigned_integer : OCTDIGSEQunsigned_integer : BINDIGSEQunsigned_real : REALNUMBERfunction_designator : identifier paramsset_constructor : LBRAC member_designator_list RBRACset_constructor : LBRAC RBRAC\n member_designator_list : member_designator_list comma member_designator\n member_designator_list : member_designatormember_designator : member_designator DOTDOT expressionmember_designator : expressionaddop : PLUSaddop : MINUSaddop : ORmulop : STARmulop : SLASHmulop : DIVmulop : MODmulop : ANDrelop : EQUALrelop : NOTEQUALrelop : LTrelop : GTrelop : LErelop : GErelop : INidentifier : IDENTIFIERsemicolon : SEMICOLONcomma : COMMAempty : '
_lr_action_items = {'OTHERWISE':([370,371,],[390,-246,]),'NOTEQUAL':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,136,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,136,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'STAR':([5,62,63,65,66,68,69,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,127,-222,-215,-217,-212,-219,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,127,-26,-205,-208,-206,-202,-207,127,-209,-162,-165,-204,-225,-211,-223,-170,127,-210,-224,-203,-166,-173,]),'SLASH':([5,62,63,65,66,68,69,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,129,-222,-215,-217,-212,-219,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,129,-26,-205,-208,-206,-202,-207,129,-209,-162,-165,-204,-225,-211,-223,-170,129,-210,-224,-203,-166,-173,]),'DO':([5,63,65,66,68,69,72,77,78,79,80,81,189,192,230,231,233,234,235,236,239,240,241,243,244,247,249,250,251,288,292,298,299,304,325,326,327,328,331,334,338,354,377,380,395,396,424,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-164,-163,-205,-208,-206,-202,-198,-207,-200,297,-209,-162,-197,-165,305,-196,-162,-204,-225,-211,-223,-170,-199,-201,-210,-224,-203,-166,-195,-173,397,401,408,-194,426,]),'ASSIGNMENT':([5,164,187,189,192,247,254,255,304,334,379,],[-245,246,-162,-164,-163,-165,308,-190,-170,-166,400,]),'THEN':([5,63,65,66,68,69,72,77,78,79,80,81,189,192,230,231,233,234,235,236,239,241,243,244,247,259,288,292,298,299,304,325,326,327,328,331,334,354,382,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-164,-163,-205,-208,-206,-202,-198,-207,-200,-209,-162,-197,-165,312,-204,-225,-211,-223,-170,-199,-201,-210,-224,-203,-166,-173,402,]),'EQUAL':([5,30,40,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,42,61,-19,-222,-215,-217,-212,-219,138,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,138,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'GOTO':([6,91,178,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,179,179,179,179,179,179,179,179,179,179,179,-188,179,179,179,-189,179,179,179,]),'LABEL':([6,7,33,93,95,96,],[-246,11,11,11,11,11,]),'CHAR':([6,24,42,61,64,67,71,76,82,98,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,202,206,213,218,232,237,238,242,245,246,261,277,289,290,296,307,308,311,317,323,329,330,335,347,353,355,356,363,368,370,371,373,374,375,376,386,400,403,418,],[-246,-247,65,120,65,-34,-33,65,65,120,-237,-233,65,-234,-235,-236,65,-241,65,-239,-243,-238,-232,-240,-242,-230,-244,-231,65,65,65,120,120,120,120,65,65,65,65,65,65,65,120,65,65,65,120,65,65,120,120,65,65,65,65,65,65,65,120,120,120,-246,120,65,-193,-192,120,65,65,65,]),'PBEGIN':([6,7,9,10,15,17,25,27,28,29,31,33,35,37,38,39,41,47,49,60,86,91,93,95,96,97,147,178,214,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,-248,-8,-248,-248,-13,-248,-39,-12,-15,-7,-248,-248,-93,-41,-38,-14,91,-98,-40,-97,91,-248,-248,-248,-92,-16,91,-42,91,91,91,91,91,91,91,91,91,-188,91,91,91,-189,91,91,91,]),'WHILE':([6,91,178,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,162,162,162,162,162,162,347,162,162,347,162,-188,347,347,347,-189,162,347,347,]),'PROGRAM':([0,],[3,]),'REPEAT':([6,91,178,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,178,178,178,178,178,178,178,178,178,178,178,-188,178,178,178,-189,178,178,178,]),'CONST':([6,7,9,10,31,33,93,95,96,],[-246,-248,-8,16,-7,-248,-248,-248,-248,]),'DIV':([5,62,63,65,66,68,69,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,130,-222,-215,-217,-212,-219,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,130,-26,-205,-208,-206,-202,-207,130,-209,-162,-165,-204,-225,-211,-223,-170,130,-210,-224,-203,-166,-173,]),'WITH':([6,91,178,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,166,166,166,166,166,166,350,166,166,350,166,-188,350,350,350,-189,166,350,350,]),'MINUS':([5,6,24,42,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,83,98,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,146,162,168,186,189,192,202,206,213,218,219,220,221,222,230,231,232,233,234,235,236,237,238,239,241,243,245,246,247,261,277,288,289,290,292,296,298,299,304,307,308,311,317,323,325,326,327,328,329,330,331,334,335,347,353,354,355,356,363,368,370,371,373,374,375,376,386,400,403,418,],[-245,-246,-247,67,67,-19,-222,67,-215,-217,-34,-212,-219,144,-33,-213,-24,-27,-21,67,-220,-218,-214,-221,-216,-25,67,-237,-233,67,-234,-235,-236,-23,67,-241,67,-239,-243,-238,-232,-240,-242,-230,-244,-231,-28,67,67,67,-164,-163,67,67,67,67,-22,-20,144,-26,-205,-208,67,-206,-202,144,-207,67,67,-200,-209,-162,67,67,-165,67,67,-204,67,67,-225,67,-211,-223,-170,67,67,67,67,67,144,-201,-210,-224,67,67,-203,-166,67,67,67,-173,67,67,67,67,67,-246,67,67,-193,-192,67,67,67,67,]),'DOT':([5,12,44,89,90,164,187,189,192,228,233,243,247,250,251,304,334,338,],[-245,21,85,-6,-126,248,-162,-164,-163,-127,248,-162,-165,248,-162,-170,-166,248,]),'REALNUMBER':([6,24,42,61,64,67,71,76,82,98,102,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,202,206,213,218,232,237,238,242,245,246,261,277,289,290,296,307,308,311,317,323,329,330,335,347,353,355,356,363,368,370,371,373,374,375,376,386,400,403,418,],[-246,-247,63,100,63,-34,-33,63,63,100,100,-237,-233,63,-234,-235,-236,63,-241,63,-239,-243,-238,-232,-240,-242,-230,-244,-231,63,63,63,100,100,100,100,63,63,63,63,63,63,63,100,63,63,63,100,63,63,100,100,63,63,63,63,63,63,63,100,100,100,-246,100,63,-193,-192,100,63,63,63,]),'CASE':([6,91,110,178,229,256,275,297,305,312,372,378,381,389,390,397,401,402,404,407,408,419,421,426,],[-246,168,207,168,168,168,207,168,168,168,168,168,168,168,-188,168,168,168,207,-189,168,168,207,168,]),'LE':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,141,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,141,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'RPAREN':([5,6,13,14,34,46,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,87,94,100,101,103,104,105,107,109,111,114,116,117,119,120,121,122,124,125,132,145,146,149,150,152,153,156,157,158,159,189,192,203,204,205,208,212,215,216,217,219,220,221,222,224,230,231,233,234,235,236,239,241,243,247,263,264,265,266,267,268,269,274,276,281,282,283,284,286,288,291,292,298,299,304,313,314,315,316,319,321,324,325,326,327,328,331,334,354,357,359,362,383,384,386,387,404,405,411,412,413,420,421,422,425,427,],[-245,-246,-5,22,-4,-104,-19,-222,-215,-217,-212,-219,-17,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-105,-117,-37,-57,-45,-46,-55,-31,-29,-48,-49,-56,-35,-54,-32,-52,-44,-47,-43,-23,222,-28,-109,-110,-111,224,-115,-112,-116,-108,-164,-163,-36,-30,-53,-69,-80,-90,-91,281,-22,-20,-18,-26,-106,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,-123,-121,-51,-87,-88,-62,-63,-65,-67,-50,-64,-89,-107,-113,-204,327,-225,-211,-223,-170,354,-175,-176,-122,-68,-70,-114,-199,-201,-210,-224,-203,-166,-173,-74,-78,-66,-174,-177,-79,-58,-248,-73,-178,420,422,-75,-248,-77,427,-76,]),'SEMICOLON':([4,5,6,18,19,20,22,43,45,46,48,51,53,54,55,56,57,59,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,84,87,89,90,91,92,94,100,101,103,104,105,107,109,111,113,114,116,117,119,120,121,122,124,125,132,146,148,149,150,152,153,156,157,158,159,160,161,163,165,167,170,171,172,174,175,176,177,178,180,181,182,183,184,185,187,188,189,190,191,192,195,196,197,198,199,200,201,203,204,205,208,209,215,216,219,220,221,222,224,228,229,230,231,233,234,235,236,239,241,243,244,247,256,257,258,260,263,264,265,266,267,268,269,274,276,281,282,283,284,286,287,288,292,297,298,299,303,304,305,309,310,312,316,319,321,324,325,326,327,328,331,332,333,334,336,337,340,342,346,348,352,354,357,359,362,369,372,378,381,387,389,390,391,392,393,397,398,399,401,402,405,406,407,408,410,412,414,416,417,419,420,422,423,426,427,],[6,-245,-246,6,-10,-11,6,-9,6,-104,-100,6,6,-102,-101,6,6,-95,-19,-222,-215,-217,-212,-219,-17,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,6,-105,-6,-126,-248,-124,-117,-37,-57,-45,-46,-55,-31,-29,-48,6,-49,-56,-35,-54,-32,-52,-44,-47,-43,-23,-28,-99,-109,-110,-111,6,-115,-112,-116,-108,-147,6,-142,-136,-131,-143,-140,-141,-129,-138,-150,-145,-248,-148,-139,-130,-144,-137,-149,-172,-146,-164,-133,-135,-163,-119,-125,-103,-118,-120,-94,-96,-36,-30,-53,-69,6,-90,-91,-22,-20,-18,-26,-106,-127,-248,-205,-208,-206,-202,-198,-207,-200,-209,-162,-197,-165,-248,6,-179,-171,-123,-121,-51,-87,-88,-62,-63,-65,-67,-50,-64,-89,-107,-113,-128,-204,-225,-248,-211,-223,-161,-170,-248,-132,-134,-248,-122,-68,-70,-114,-199,-201,-210,-224,-203,-153,-152,-166,-157,-156,-186,371,-151,-131,-158,-173,-74,6,-66,-180,-248,-248,-248,-58,-248,-188,-185,-181,-187,-248,-160,-159,-248,-248,-73,415,-189,-248,-131,6,-182,-155,-154,-248,-75,-77,-183,-248,-76,]),'RECORD':([61,98,106,218,277,363,],[110,110,110,110,110,110,]),'RBRAC':([5,63,65,66,68,69,72,77,78,79,80,81,100,107,109,111,114,117,120,189,192,203,204,230,231,233,234,235,236,238,239,241,243,247,265,268,269,278,279,280,281,288,292,293,294,295,298,299,300,301,302,304,325,326,327,328,331,334,354,364,365,366,367,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-37,-31,-29,-48,-49,-35,-32,-164,-163,-36,-30,-205,-208,-206,-202,-198,-207,292,-200,-209,-162,-165,-51,-62,-63,-60,-61,322,-50,-204,-225,328,-227,-229,-211,-223,334,-168,-169,-170,-199,-201,-210,-224,-203,-166,-173,-59,-226,-228,-167,]),'PLUS':([5,6,24,42,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,83,98,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,146,162,168,186,189,192,202,206,213,218,219,220,221,222,230,231,232,233,234,235,236,237,238,239,241,243,245,246,247,261,277,288,289,290,292,296,298,299,304,307,308,311,317,323,325,326,327,328,329,330,331,334,335,347,353,354,355,356,363,368,370,371,373,374,375,376,386,400,403,418,],[-245,-246,-247,71,71,-19,-222,71,-215,-217,-34,-212,-219,142,-33,-213,-24,-27,-21,71,-220,-218,-214,-221,-216,-25,71,-237,-233,71,-234,-235,-236,-23,71,-241,71,-239,-243,-238,-232,-240,-242,-230,-244,-231,-28,71,71,71,-164,-163,71,71,71,71,-22,-20,142,-26,-205,-208,71,-206,-202,142,-207,71,71,-200,-209,-162,71,71,-165,71,71,-204,71,71,-225,71,-211,-223,-170,71,71,71,71,71,142,-201,-210,-224,71,71,-203,-166,71,71,71,-173,71,71,71,71,71,-246,71,71,-193,-192,71,71,71,71,]),'DOTDOT':([5,63,65,66,68,69,72,77,78,79,80,81,99,100,107,109,117,120,125,189,192,203,204,230,231,233,234,235,236,239,241,243,247,269,288,292,294,295,298,299,304,325,326,327,328,331,334,339,354,365,366,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,202,-37,-31,-29,-35,-32,-36,-164,-163,-36,-30,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,-36,-204,-225,330,-229,-211,-223,-170,-199,-201,-210,-224,-203,-166,368,-173,330,-228,]),'TO':([5,63,65,66,68,69,72,77,78,79,80,81,189,192,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,325,326,327,328,331,334,344,345,354,409,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-164,-163,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-199,-201,-210,-224,-203,-166,376,-191,-173,376,]),'LT':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,140,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,140,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'COLON':([5,13,20,34,58,63,65,66,68,69,72,77,78,79,80,81,92,100,107,109,117,120,155,173,189,192,193,203,204,211,223,224,226,230,231,233,234,235,236,239,241,243,247,271,272,288,292,298,299,304,315,325,326,327,328,331,334,339,341,343,351,354,358,384,388,390,394,],[-245,-5,-11,-4,98,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,194,-37,-31,-29,-35,-32,227,256,-164,-163,262,-36,-30,277,194,-106,285,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,-85,318,-204,-225,-211,-223,-170,356,-199,-201,-210,-224,-203,-166,-83,-82,372,381,-173,385,403,-84,407,-81,]),'PACKED':([61,98,218,277,363,],[106,106,106,106,106,]),'HEXDIGSEQ':([24,42,64,67,71,76,82,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,375,376,400,403,418,],[-247,69,69,-34,-33,69,69,-237,-233,69,-234,-235,-236,69,-241,69,-239,-243,-238,-232,-240,-242,-230,-244,-231,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,-193,-192,69,69,69,]),'COMMA':([5,13,14,18,19,20,34,43,58,63,65,66,68,69,72,77,78,79,80,81,100,107,109,111,114,117,120,155,189,192,203,204,211,217,226,230,231,233,234,235,236,239,241,243,247,249,250,251,265,268,269,278,279,280,281,288,292,293,294,295,298,299,300,301,302,304,313,314,315,325,326,327,328,331,334,338,339,341,343,354,358,364,365,366,367,380,383,384,388,394,411,],[-245,-5,24,24,-10,-11,-4,-9,24,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-37,-31,-29,-48,-49,-35,-32,24,-164,-163,-36,-30,24,24,24,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,24,-196,-162,-51,-62,-63,-60,-61,24,-50,-204,-225,24,-227,-229,-211,-223,24,-168,-169,-170,24,-175,-176,-199,-201,-210,-224,-203,-166,-195,-83,-82,24,-173,24,-59,-226,-228,-167,24,-174,-177,-84,-81,-178,]),'ARRAY':([61,98,106,218,277,363,],[112,112,112,112,112,112,]),'IDENTIFIER':([3,6,8,16,23,24,26,28,29,36,38,39,41,42,50,52,60,61,64,67,71,76,82,88,91,97,98,102,110,115,118,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,147,151,154,162,166,168,169,178,186,194,202,206,207,213,214,218,225,227,229,232,237,238,242,245,246,248,256,261,262,275,277,285,289,290,296,297,305,306,307,308,311,312,317,318,323,329,330,335,347,349,350,353,355,356,363,368,370,371,372,373,374,375,376,378,381,386,389,390,397,400,401,402,403,404,407,408,418,419,421,426,],[5,-246,5,5,5,-247,5,5,-15,5,-41,5,-14,5,5,5,-40,5,5,-34,-33,5,5,5,5,5,5,5,5,5,5,-237,-233,5,-234,-235,-236,5,-241,5,-239,-243,-238,-232,-240,-242,-230,-244,-231,-16,5,5,5,5,5,5,5,5,5,5,5,5,5,-42,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,-246,5,5,5,-193,-192,5,5,5,5,-188,5,5,5,5,5,5,-189,5,5,5,5,5,]),'$end':([1,2,21,85,],[-1,0,-3,-2,]),'FUNCTION':([6,7,9,10,15,17,25,27,28,29,31,33,35,37,38,39,41,60,86,88,93,95,96,97,147,214,225,],[-246,-248,-8,-248,-248,-13,-248,-39,-12,-15,-7,-248,50,-93,-41,-38,-14,-40,50,151,-248,-248,-248,-92,-16,-42,151,]),'GT':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,134,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,134,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'END':([5,6,20,63,65,66,68,69,72,77,78,79,80,81,91,100,101,103,104,105,107,109,110,111,114,116,117,119,120,121,122,124,125,160,161,163,165,167,170,171,172,174,175,176,177,180,181,182,183,184,185,187,188,189,190,191,192,203,204,205,208,209,210,212,215,216,228,229,230,231,233,234,235,236,239,241,243,244,247,256,258,260,265,266,267,268,269,274,275,276,281,282,283,287,288,292,297,298,299,303,304,305,309,310,312,319,320,321,325,326,327,328,331,332,333,334,336,337,340,342,346,348,352,354,357,359,362,369,371,372,378,381,386,387,389,390,391,392,393,397,398,399,401,402,405,406,407,408,410,414,415,416,417,419,420,422,423,426,427,],[-245,-246,-11,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-248,-37,-57,-45,-46,-55,-31,-29,-248,-48,-49,-56,-35,-54,-32,-52,-44,-47,-43,-147,228,-142,-136,-131,-143,-140,-141,-129,-138,-150,-145,-148,-139,-130,-144,-137,-149,-172,-146,-164,-133,-135,-163,-36,-30,-53,-69,274,276,-80,-90,-91,-127,-248,-205,-208,-206,-202,-198,-207,-200,-209,-162,-197,-165,-248,-179,-171,-51,-87,-88,-62,-63,-65,-248,-67,-50,-64,-89,-128,-204,-225,-248,-211,-223,-161,-170,-248,-132,-134,-248,-68,362,-70,-199,-201,-210,-224,-203,-153,-152,-166,-157,-156,-186,369,-151,-131,-158,-173,-74,-78,-66,-180,392,-248,-248,-248,-79,-58,-248,-188,-185,-181,-187,-248,-160,-159,-248,-248,-73,414,-189,-248,-131,-182,423,-155,-154,-248,-75,-77,-183,-248,-76,]),'STRING':([6,24,42,61,64,67,71,76,82,98,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,202,206,213,218,232,237,238,242,245,246,261,277,289,290,296,307,308,311,317,323,329,330,335,347,353,355,356,363,368,370,371,373,374,375,376,386,400,403,418,],[-246,-247,72,107,72,-34,-33,72,72,107,-237,-233,72,-234,-235,-236,72,-241,72,-239,-243,-238,-232,-240,-242,-230,-244,-231,72,72,72,107,107,107,107,72,72,72,72,72,72,72,107,72,72,72,107,72,72,107,107,72,72,72,72,72,72,72,107,107,107,-246,107,72,-193,-192,107,72,72,72,]),'FOR':([6,91,178,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,169,169,169,169,169,169,349,169,169,349,169,-188,349,349,349,-189,169,349,349,]),'UPARROW':([5,61,98,164,187,189,192,218,233,243,247,250,251,277,304,334,338,363,],[-245,115,115,247,-162,-164,-163,115,247,-162,-165,247,-162,115,-170,-166,247,115,]),'ELSE':([5,20,63,65,66,68,69,72,77,78,79,80,81,160,163,170,171,172,176,177,180,183,185,187,188,189,191,192,228,230,231,233,234,235,236,239,241,243,244,247,256,258,260,288,292,297,298,299,303,304,305,310,312,325,326,327,328,331,332,334,336,346,348,354,369,378,381,392,397,398,401,402,408,410,414,416,419,423,426,],[-245,-11,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-147,-142,-143,-140,-141,-150,-145,-148,-144,-149,-172,-146,-164,-135,-163,-127,-205,-208,-206,-202,-198,-207,-200,-209,-162,-197,-165,-248,-179,-171,-204,-225,-248,-211,-223,-161,-170,-248,-134,-248,-199,-201,-210,-224,-203,-153,-166,-157,-151,378,-173,-180,-248,-248,-181,-248,-160,-248,-248,-248,419,-182,-155,-248,-183,-248,]),'GE':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,137,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,137,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'SET':([61,98,106,218,277,363,],[108,108,108,108,108,108,]),'LPAREN':([4,5,24,42,46,61,64,67,71,76,82,92,94,98,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,187,206,213,218,223,232,237,238,242,243,245,246,261,277,289,290,296,308,311,323,329,330,335,347,353,355,356,363,374,375,376,385,400,403,418,],[8,-245,-247,76,88,118,76,-34,-33,76,76,88,-117,118,-237,-233,76,-234,-235,-236,76,-241,76,-239,-243,-238,-232,-240,-242,-230,-244,-231,237,237,237,261,118,118,118,88,237,237,237,237,261,237,237,237,118,237,237,237,237,237,118,237,237,237,237,237,237,237,118,237,-193,-192,404,237,237,237,]),'IN':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,143,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,-26,-205,-208,-206,-202,143,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-201,-210,-224,-203,-166,-173,]),'VAR':([6,7,9,10,15,17,25,27,28,29,31,33,38,39,41,60,88,93,95,96,147,214,225,],[-246,-248,-8,-248,-248,-13,36,-39,-12,-15,-7,-248,-41,-38,-14,-40,154,-248,-248,-248,-16,-42,154,]),'UNTIL':([5,6,20,63,65,66,68,69,72,77,78,79,80,81,160,163,165,167,170,171,172,174,175,176,177,178,180,181,182,183,184,185,187,188,189,190,191,192,228,229,230,231,233,234,235,236,239,241,243,244,247,256,257,258,260,287,288,292,297,298,299,303,304,305,309,310,312,325,326,327,328,331,332,333,334,336,337,346,348,352,354,369,378,381,392,397,398,399,401,402,408,410,414,416,417,419,423,426,],[-245,-246,-11,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-147,-142,-136,-131,-143,-140,-141,-129,-138,-150,-145,-248,-148,-139,-130,-144,-137,-149,-172,-146,-164,-133,-135,-163,-127,-248,-205,-208,-206,-202,-198,-207,-200,-209,-162,-197,-165,-248,311,-179,-171,-128,-204,-225,-248,-211,-223,-161,-170,-248,-132,-134,-248,-199,-201,-210,-224,-203,-153,-152,-166,-157,-156,-151,-131,-158,-173,-180,-248,-248,-181,-248,-160,-159,-248,-248,-248,-131,-182,-155,-154,-248,-183,-248,]),'PROCEDURE':([6,7,9,10,15,17,25,27,28,29,31,33,35,37,38,39,41,60,86,88,93,95,96,97,147,214,225,],[-246,-248,-8,-248,-248,-13,-248,-39,-12,-15,-7,-248,52,-93,-41,-38,-14,-40,52,52,-248,-248,-248,-92,-16,-42,52,]),'IF':([6,91,178,229,256,297,305,312,372,378,381,389,390,397,401,402,407,408,419,426,],[-246,186,186,186,186,186,186,353,186,186,353,186,-188,353,353,353,-189,186,353,353,]),'AND':([5,62,63,65,66,68,69,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,126,-222,-215,-217,-212,-219,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,126,-26,-205,-208,-206,-202,-207,126,-209,-162,-165,-204,-225,-211,-223,-170,126,-210,-224,-203,-166,-173,]),'OCTDIGSEQ':([24,42,64,67,71,76,82,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,375,376,400,403,418,],[-247,77,77,-34,-33,77,77,-237,-233,77,-234,-235,-236,77,-241,77,-239,-243,-238,-232,-240,-242,-230,-244,-231,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,-193,-192,77,77,77,]),'LBRAC':([5,24,67,71,112,126,127,129,130,131,134,136,137,138,139,140,141,142,143,144,162,164,168,186,187,189,192,232,233,237,238,242,243,245,246,247,250,251,261,289,290,296,304,308,311,329,330,334,335,338,347,353,355,356,374,375,376,400,403,418,],[-245,-247,-34,-33,213,-237,-233,-234,-235,-236,-241,-239,-243,-238,-232,-240,-242,-230,-244,-231,238,245,238,238,-162,-164,-163,238,245,238,238,238,-162,238,238,-165,245,-162,238,238,238,238,-170,238,238,238,238,-166,238,245,238,238,238,238,238,-193,-192,238,238,238,]),'NIL':([24,42,64,67,71,76,82,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,375,376,400,403,418,],[-247,79,79,-34,-33,79,79,-237,-233,79,-234,-235,-236,79,-241,79,-239,-243,-238,-232,-240,-242,-230,-244,-231,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,-193,-192,79,79,79,]),'PFILE':([61,98,106,218,277,363,],[123,123,123,123,123,123,]),'OF':([5,63,65,66,68,69,72,77,78,79,80,81,108,123,189,192,230,231,233,234,235,236,239,241,243,247,252,253,270,271,273,288,292,298,299,304,322,325,326,327,328,331,334,354,360,361,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,206,218,-164,-163,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,307,-184,317,-86,-72,-204,-225,-211,-223,-170,363,-199,-201,-210,-224,-203,-166,-173,-86,-71,]),'DOWNTO':([5,63,65,66,68,69,72,77,78,79,80,81,189,192,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,325,326,327,328,331,334,344,345,354,409,],[-245,-222,-215,-217,-212,-219,-213,-220,-218,-214,-221,-216,-164,-163,-205,-208,-206,-202,-198,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,-199,-201,-210,-224,-203,-166,375,-191,-173,375,]),'BINDIGSEQ':([24,42,64,67,71,76,82,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,375,376,400,403,418,],[-247,80,80,-34,-33,80,80,-237,-233,80,-234,-235,-236,80,-241,80,-239,-243,-238,-232,-240,-242,-230,-244,-231,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,-193,-192,80,80,80,]),'NOT':([24,42,64,67,71,76,82,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,375,376,400,403,418,],[-247,82,82,-34,-33,82,82,-237,-233,82,-234,-235,-236,82,-241,82,-239,-243,-238,-232,-240,-242,-230,-244,-231,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,-193,-192,242,242,242,]),'DIGSEQ':([6,11,24,32,42,61,64,67,71,76,82,91,98,102,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,162,168,178,179,186,202,206,213,218,229,232,237,238,242,245,246,261,277,289,290,296,297,305,307,308,311,312,317,323,329,330,335,347,353,355,356,363,368,370,371,372,373,374,375,376,378,386,389,390,397,400,401,402,403,407,408,418,419,426,],[-246,20,-247,20,78,117,78,-34,-33,78,78,20,117,117,-237,-233,78,-234,-235,-236,78,-241,78,-239,-243,-238,-232,-240,-242,-230,-244,-231,78,78,20,20,78,117,117,117,117,20,78,78,78,78,78,78,78,117,78,78,78,20,20,117,78,78,20,117,117,78,78,78,78,78,78,78,117,117,117,-246,20,117,78,-193,-192,20,117,20,-188,20,78,20,20,78,-189,20,78,20,20,]),'TYPE':([6,7,9,10,15,17,28,29,31,33,41,93,95,96,147,],[-246,-248,-8,-248,26,-13,-12,-15,-7,-248,-14,-248,-248,-248,-16,]),'OR':([5,62,63,65,66,68,69,70,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,221,222,230,231,233,234,235,236,239,241,243,247,288,292,298,299,304,325,326,327,328,331,334,354,],[-245,-19,-222,-215,-217,-212,-219,139,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,-20,139,-26,-205,-208,-206,-202,139,-207,-200,-209,-162,-165,-204,-225,-211,-223,-170,139,-201,-210,-224,-203,-166,-173,]),'MOD':([5,62,63,65,66,68,69,72,73,74,75,77,78,79,80,81,83,132,146,189,192,219,220,222,230,231,233,234,236,239,241,243,247,288,292,298,299,304,326,327,328,331,334,354,],[-245,131,-222,-215,-217,-212,-219,-213,-24,-27,-21,-220,-218,-214,-221,-216,-25,-23,-28,-164,-163,-22,131,-26,-205,-208,-206,-202,-207,131,-209,-162,-165,-204,-225,-211,-223,-170,131,-210,-224,-203,-166,-173,]),}
_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 = {'cterm':([42,76,133,135,],[62,62,220,62,]),'file_type':([61,98,106,218,277,363,],[101,101,101,101,101,101,]),'variable_declaration_part':([25,],[35,]),'closed_if_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,]),'new_type':([61,98,218,277,363,],[122,122,122,122,122,]),'comma':([14,18,58,155,211,217,226,249,280,293,300,313,343,358,380,],[23,32,23,23,23,23,23,306,323,329,335,355,373,373,306,]),'closed_statement':([91,178,229,297,305,312,372,378,389,397,401,402,408,419,426,],[167,167,167,332,336,348,167,398,167,332,336,410,416,398,416,]),'otherwisepart':([370,],[389,]),'final_value':([374,418,],[395,424,]),'field_designator':([91,162,166,168,178,186,229,232,237,238,242,245,246,256,261,289,290,296,297,305,306,308,311,312,329,330,335,347,350,353,355,356,372,374,378,381,389,397,400,401,402,403,408,418,419,426,],[189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,]),'procedure_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,]),'index_type':([213,323,],[278,364,]),'enumerated_type':([61,98,206,213,218,277,323,363,],[111,111,111,111,111,111,111,111,]),'program':([0,],[1,]),'variable_parameter_specification':([88,225,],[150,150,]),'type_definition_list':([26,],[39,]),'formal_parameter_list':([46,92,223,],[87,193,193,]),'formal_parameter_section_list':([88,],[153,]),'index_expression_list':([245,],[300,]),'index_list':([213,],[280,]),'domain_type':([115,],[215,]),'cfactor':([42,64,76,128,133,135,],[75,132,75,219,75,75,]),'case_list_element':([307,370,],[340,391,]),'case_constant':([307,317,370,373,386,],[341,341,341,394,341,]),'case_list_element_list':([307,],[342,]),'type_definition':([26,39,],[38,60,]),'term':([162,168,186,237,238,245,246,261,289,290,308,311,329,330,335,347,353,355,356,374,400,403,418,],[239,239,239,239,239,239,239,239,239,326,239,239,239,239,239,239,239,239,239,239,239,239,239,]),'closed_with_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,]),'record_type':([61,98,106,218,277,363,],[105,105,105,105,105,105,]),'boolean_expression':([162,186,311,347,353,],[240,259,346,377,382,]),'actual_parameter':([261,355,],[314,383,]),'identifier':([3,8,16,23,26,28,36,39,42,50,52,61,64,76,82,88,91,97,98,102,110,115,118,128,133,135,151,154,162,166,168,169,178,186,194,202,206,207,213,218,225,227,229,232,237,238,242,245,246,248,256,261,262,275,277,285,289,290,296,297,305,306,307,308,311,312,317,318,323,329,330,335,347,349,350,353,355,356,363,368,370,372,373,374,378,381,386,389,397,400,401,402,403,404,408,418,419,421,426,],[4,13,30,34,40,30,13,40,83,92,94,125,83,83,83,13,187,13,125,203,13,216,13,83,83,83,223,13,243,251,243,255,187,243,263,203,269,271,269,125,13,286,187,243,243,243,243,243,243,304,187,243,263,13,125,324,243,243,243,187,187,251,203,243,243,187,203,360,269,243,243,243,243,255,251,243,243,243,125,203,203,187,203,243,187,187,203,187,187,243,187,187,243,13,187,243,187,13,187,]),'unsigned_integer':([42,64,76,82,128,133,135,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,]),'actual_parameter_list':([261,],[313,]),'label_list':([11,],[18,]),'sign':([42,61,64,76,98,128,133,135,162,168,186,202,206,213,218,232,237,238,245,246,261,277,289,290,296,307,308,311,317,323,329,330,335,347,353,355,356,363,368,370,373,374,386,400,403,418,],[64,102,64,64,102,64,64,64,232,232,232,102,102,102,102,232,232,232,232,232,232,102,232,232,232,102,232,232,102,102,232,232,232,232,232,232,232,102,102,102,102,232,102,232,232,232,]),'procedure_identification':([35,86,88,225,],[46,46,46,46,]),'goto_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,]),'unsigned_real':([42,64,76,82,128,133,135,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,]),'open_with_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,]),'tag_field':([207,],[272,]),'simple_expression':([162,168,186,237,238,245,246,261,289,308,311,329,330,335,347,353,355,356,374,400,403,418,],[235,235,235,235,235,235,235,235,325,235,235,235,235,235,235,235,235,235,235,235,235,235,]),'constant_definition_part':([10,],[15,]),'ordinal_type':([206,213,323,],[267,279,279,]),'compound_statement':([47,91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[90,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,]),'member_designator_list':([238,],[293,]),'statement_part':([47,],[89,]),'label':([11,32,91,178,179,229,297,305,312,372,378,389,397,401,402,408,419,426,],[19,43,173,173,258,173,173,173,351,173,173,173,351,351,351,173,351,351,]),'proc_or_func_declaration':([35,86,],[48,148,]),'unsigned_number':([42,64,76,82,128,133,135,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,]),'type_denoter':([61,98,218,277,363,],[113,201,282,321,282,]),'procedural_parameter_specification':([88,225,],[152,152,]),'closed_while_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,]),'cprimary':([42,64,76,82,128,133,135,],[73,73,73,146,73,73,73,]),'open_for_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,]),'record_variable_list':([166,350,],[249,380,]),'set_type':([61,98,106,218,277,363,],[116,116,116,116,116,116,]),'case_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,]),'open_if_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,]),'array_type':([61,98,106,218,277,363,],[119,119,119,119,119,119,]),'case_index':([168,],[252,]),'type_definition_part':([15,],[25,]),'constant_list':([16,],[28,]),'function_declaration':([35,86,],[54,54,]),'component_type':([218,363,],[283,387,]),'function_heading':([35,86,88,225,],[56,56,158,158,]),'label_declaration_part':([7,33,93,95,96,],[10,10,10,10,10,]),'expression':([162,168,186,237,238,245,246,261,308,311,329,330,335,347,353,355,356,374,400,403,418,],[244,253,244,291,295,302,303,315,345,244,295,366,302,244,244,315,384,396,345,411,396,]),'new_pointer_type':([61,98,218,277,363,],[124,124,124,124,124,]),'index_expression':([245,335,],[301,367,]),'mulop':([62,220,239,326,],[128,128,296,296,]),'statement_sequence':([91,178,],[161,257,]),'cexpression':([42,76,],[84,145,]),'indexed_variable':([91,162,166,168,178,186,229,232,237,238,242,245,246,256,261,289,290,296,297,305,306,308,311,312,329,330,335,347,350,353,355,356,372,374,378,381,389,397,400,401,402,403,408,418,419,426,],[192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,]),'primary':([162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[230,230,230,230,230,230,298,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,]),'control_variable':([169,349,],[254,379,]),'constant_definition':([16,28,],[29,41,]),'set_constructor':([162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,]),'proc_or_func_declaration_list':([35,],[45,]),'value_parameter_specification':([88,225,],[149,149,]),'variable_declaration':([36,97,],[59,200,]),'assignment_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,]),'params':([187,243,],[260,299,]),'statement':([91,178,229,312,372,389,402,],[174,174,287,352,393,406,352,]),'csimple_expression':([42,76,135,],[70,70,221,]),'non_labeled_open_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[190,190,190,309,190,190,190,190,190,309,190,190,190,190,190,190,190,]),'empty':([7,10,15,25,33,35,91,93,95,96,110,178,229,256,275,297,305,312,372,378,381,389,397,401,402,404,408,419,421,426,],[9,17,27,37,9,49,176,9,9,9,212,176,176,176,212,176,176,176,176,176,176,176,176,176,176,212,176,176,212,176,]),'repeat_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,]),'addop':([70,221,235,325,],[133,133,290,290,]),'direction':([344,409,],[374,418,]),'subrange_type':([61,98,206,213,218,277,323,363,],[114,114,114,114,114,114,114,114,]),'factor':([162,168,186,232,237,238,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[234,234,234,288,234,234,234,234,234,234,234,331,234,234,234,234,234,234,234,234,234,234,234,234,234,]),'open_statement':([91,178,229,297,305,312,372,378,389,397,401,402,408,419,426,],[182,182,182,333,337,182,182,399,182,333,337,182,417,399,417,]),'record_section_list':([110,404,],[209,412,]),'variable_declaration_list':([36,],[57,]),'closed_for_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,]),'new_ordinal_type':([61,98,206,213,218,277,323,363,],[103,103,268,268,103,103,268,103,]),'procedure_heading':([35,86,88,225,],[53,53,156,156,]),'record_section':([110,275,404,421,],[208,319,208,319,]),'procedure_declaration':([35,86,],[55,55,]),'initial_value':([308,400,],[344,409,]),'variant_list':([317,],[359,]),'non_labeled_closed_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[191,191,191,310,191,191,191,191,191,310,191,191,191,191,191,191,191,]),'functional_parameter_specification':([88,225,],[157,157,]),'constant':([61,98,202,206,213,218,277,307,317,323,363,368,370,373,386,],[99,99,265,99,99,99,99,339,339,99,99,388,339,339,339,]),'semicolon':([4,18,22,45,51,53,56,57,84,113,153,161,209,257,342,359,412,],[7,31,33,86,93,95,96,97,147,214,225,229,275,229,370,386,421,]),'function_designator':([162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,231,]),'new_structured_type':([61,98,218,277,363,],[104,104,104,104,104,]),'file':([0,],[2,]),'variant_selector':([207,],[270,]),'procedure_and_function_declaration_part':([35,],[47,]),'non_string':([61,98,102,202,206,213,218,277,307,317,323,363,368,370,373,386,],[109,109,204,109,109,109,109,109,109,109,109,109,109,109,109,109,]),'variable_access':([91,162,166,168,178,186,229,232,237,238,242,245,246,256,261,289,290,296,297,305,306,308,311,312,329,330,335,347,350,353,355,356,372,374,378,381,389,397,400,401,402,403,408,418,419,426,],[164,233,250,233,164,233,164,233,233,233,233,233,233,164,233,233,233,233,164,164,338,233,233,164,233,233,233,233,250,233,233,233,164,233,164,164,164,164,233,164,164,233,164,233,164,164,]),'base_type':([206,],[266,]),'member_designator':([238,329,],[294,365,]),'structured_type':([61,98,106,218,277,363,],[121,121,205,121,121,121,]),'open_while_statement':([91,178,229,256,297,305,312,372,378,381,389,397,401,402,408,419,426,],[175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,]),'procedure_block':([95,],[197,]),'variant':([317,386,],[357,405,]),'unsigned_constant':([42,64,76,82,128,133,135,162,168,186,232,237,238,242,245,246,261,289,290,296,308,311,329,330,335,347,353,355,356,374,400,403,418,],[74,74,74,74,74,74,74,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,236,]),'function_identification':([35,86,],[51,51,]),'variant_part':([110,275,404,421,],[210,320,413,425,]),'function_block':([93,96,],[195,199,]),'identifier_list':([8,36,88,97,110,118,154,225,275,404,421,],[14,58,155,58,211,217,226,155,211,211,211,]),'case_constant_list':([307,317,370,386,],[343,358,343,358,]),'relop':([70,235,],[135,289,]),'formal_parameter_section':([88,225,],[159,284,]),'block':([7,33,93,95,96,],[12,44,196,198,196,]),'result_type':([194,262,],[264,316,]),'tag_type':([207,318,],[273,361,]),}
_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' -> file","S'",1,None,None,None),
('file -> program','file',1,'p_file_1','parser.py',57),
('program -> PROGRAM identifier LPAREN identifier_list RPAREN semicolon block DOT','program',8,'p_program_1','parser.py',63),
('program -> PROGRAM identifier semicolon block DOT','program',5,'p_program_2','parser.py',70),
('identifier_list -> identifier_list comma identifier','identifier_list',3,'p_identifier_list_1','parser.py',76),
('identifier_list -> identifier','identifier_list',1,'p_identifier_list_2','parser.py',82),
('block -> label_declaration_part constant_definition_part type_definition_part variable_declaration_part procedure_and_function_declaration_part statement_part','block',6,'p_block_1','parser.py',88),
('label_declaration_part -> LABEL label_list semicolon','label_declaration_part',3,'p_label_declaration_part_1','parser.py',94),
('label_declaration_part -> empty','label_declaration_part',1,'p_label_declaration_part_2','parser.py',100),
('label_list -> label_list comma label','label_list',3,'p_label_list_1','parser.py',105),
('label_list -> label','label_list',1,'p_label_list_2','parser.py',111),
('label -> DIGSEQ','label',1,'p_label_1','parser.py',117),
('constant_definition_part -> CONST constant_list','constant_definition_part',2,'p_constant_definition_part_1','parser.py',123),
('constant_definition_part -> empty','constant_definition_part',1,'p_constant_definition_part_2','parser.py',128),
('constant_list -> constant_list constant_definition','constant_list',2,'p_constant_list_1','parser.py',133),
('constant_list -> constant_definition','constant_list',1,'p_constant_list_2','parser.py',139),
('constant_definition -> identifier EQUAL cexpression semicolon','constant_definition',4,'p_constant_definition_1','parser.py',145),
('cexpression -> csimple_expression','cexpression',1,'p_cexpression_1','parser.py',151),
('cexpression -> csimple_expression relop csimple_expression','cexpression',3,'p_cexpression_2','parser.py',156),
('csimple_expression -> cterm','csimple_expression',1,'p_csimple_expression_1','parser.py',162),
('csimple_expression -> csimple_expression addop cterm','csimple_expression',3,'p_csimple_expression_2','parser.py',167),
('cterm -> cfactor','cterm',1,'p_cterm_1','parser.py',173),
('cterm -> cterm mulop cfactor','cterm',3,'p_cterm_2','parser.py',178),
('cfactor -> sign cfactor','cfactor',2,'p_cfactor_1','parser.py',184),
('cfactor -> cprimary','cfactor',1,'p_cfactor_2','parser.py',190),
('cprimary -> identifier','cprimary',1,'p_cprimary_1','parser.py',195),
('cprimary -> LPAREN cexpression RPAREN','cprimary',3,'p_cprimary_2','parser.py',200),
('cprimary -> unsigned_constant','cprimary',1,'p_cprimary_3','parser.py',205),
('cprimary -> NOT cprimary','cprimary',2,'p_cprimary_4','parser.py',210),
('constant -> non_string','constant',1,'p_constant_1','parser.py',216),
('constant -> sign non_string','constant',2,'p_constant_2','parser.py',221),
('constant -> STRING','constant',1,'p_constant_3','parser.py',227),
('constant -> CHAR','constant',1,'p_constant_4','parser.py',233),
('sign -> PLUS','sign',1,'p_sign_1','parser.py',239),
('sign -> MINUS','sign',1,'p_sign_2','parser.py',244),
('non_string -> DIGSEQ','non_string',1,'p_non_string_1','parser.py',249),
('non_string -> identifier','non_string',1,'p_non_string_2','parser.py',255),
('non_string -> REALNUMBER','non_string',1,'p_non_string_3','parser.py',261),
('type_definition_part -> TYPE type_definition_list','type_definition_part',2,'p_type_definition_part_1','parser.py',267),
('type_definition_part -> empty','type_definition_part',1,'p_type_definition_part_2','parser.py',272),
('type_definition_list -> type_definition_list type_definition','type_definition_list',2,'p_type_definition_list_1','parser.py',277),
('type_definition_list -> type_definition','type_definition_list',1,'p_type_definition_list_2','parser.py',283),
('type_definition -> identifier EQUAL type_denoter semicolon','type_definition',4,'p_type_definition_1','parser.py',289),
('type_denoter -> identifier','type_denoter',1,'p_type_denoter_1','parser.py',295),
('type_denoter -> new_type','type_denoter',1,'p_type_denoter_2','parser.py',301),
('new_type -> new_ordinal_type','new_type',1,'p_new_type_1','parser.py',306),
('new_type -> new_structured_type','new_type',1,'p_new_type_2','parser.py',311),
('new_type -> new_pointer_type','new_type',1,'p_new_type_3','parser.py',316),
('new_ordinal_type -> enumerated_type','new_ordinal_type',1,'p_new_ordinal_type_1','parser.py',321),
('new_ordinal_type -> subrange_type','new_ordinal_type',1,'p_new_ordinal_type_2','parser.py',326),
('enumerated_type -> LPAREN identifier_list RPAREN','enumerated_type',3,'p_enumerated_type_1','parser.py',331),
('subrange_type -> constant DOTDOT constant','subrange_type',3,'p_subrange_type_1','parser.py',337),
('new_structured_type -> structured_type','new_structured_type',1,'p_new_structured_type_1','parser.py',343),
('new_structured_type -> PACKED structured_type','new_structured_type',2,'p_new_structured_type_2','parser.py',348),
('structured_type -> array_type','structured_type',1,'p_structured_type_1','parser.py',354),
('structured_type -> record_type','structured_type',1,'p_structured_type_2','parser.py',359),
('structured_type -> set_type','structured_type',1,'p_structured_type_3','parser.py',364),
('structured_type -> file_type','structured_type',1,'p_structured_type_4','parser.py',369),
('array_type -> ARRAY LBRAC index_list RBRAC OF component_type','array_type',6,'p_array_type_1','parser.py',375),
('index_list -> index_list comma index_type','index_list',3,'p_index_list_1','parser.py',381),
('index_list -> index_type','index_list',1,'p_index_list_2','parser.py',387),
('index_type -> ordinal_type','index_type',1,'p_index_type_1','parser.py',393),
('ordinal_type -> new_ordinal_type','ordinal_type',1,'p_ordinal_type_1','parser.py',398),
('ordinal_type -> identifier','ordinal_type',1,'p_ordinal_type_2','parser.py',403),
('component_type -> type_denoter','component_type',1,'p_component_type_1','parser.py',408),
('record_type -> RECORD record_section_list END','record_type',3,'p_record_type_1','parser.py',413),
('record_type -> RECORD record_section_list semicolon variant_part END','record_type',5,'p_record_type_2','parser.py',419),
('record_type -> RECORD variant_part END','record_type',3,'p_record_type_3','parser.py',425),
('record_section_list -> record_section_list semicolon record_section','record_section_list',3,'p_record_section_list_1','parser.py',431),
('record_section_list -> record_section','record_section_list',1,'p_record_section_list_2','parser.py',437),
('record_section -> identifier_list COLON type_denoter','record_section',3,'p_record_section_1','parser.py',443),
('variant_selector -> tag_field COLON tag_type','variant_selector',3,'p_variant_selector_1','parser.py',449),
('variant_selector -> tag_type','variant_selector',1,'p_variant_selector_2','parser.py',455),
('variant_list -> variant_list semicolon variant','variant_list',3,'p_variant_list_1','parser.py',461),
('variant_list -> variant','variant_list',1,'p_variant_list_2','parser.py',467),
('variant -> case_constant_list COLON LPAREN record_section_list RPAREN','variant',5,'p_variant_1','parser.py',473),
('variant -> case_constant_list COLON LPAREN record_section_list semicolon variant_part RPAREN','variant',7,'p_variant_2','parser.py',479),
('variant -> case_constant_list COLON LPAREN variant_part RPAREN','variant',5,'p_variant_3','parser.py',485),
('variant_part -> CASE variant_selector OF variant_list','variant_part',4,'p_variant_part_1','parser.py',491),
('variant_part -> CASE variant_selector OF variant_list semicolon','variant_part',5,'p_variant_part_2','parser.py',497),
('variant_part -> empty','variant_part',1,'p_variant_part_3','parser.py',503),
('case_constant_list -> case_constant_list comma case_constant','case_constant_list',3,'p_case_constant_list_1','parser.py',508),
('case_constant_list -> case_constant','case_constant_list',1,'p_case_constant_list_2','parser.py',514),
('case_constant -> constant','case_constant',1,'p_case_constant_1','parser.py',520),
('case_constant -> constant DOTDOT constant','case_constant',3,'p_case_constant_2','parser.py',526),
('tag_field -> identifier','tag_field',1,'p_tag_field_1','parser.py',532),
('tag_type -> identifier','tag_type',1,'p_tag_type_1','parser.py',537),
('set_type -> SET OF base_type','set_type',3,'p_set_type_1','parser.py',542),
('base_type -> ordinal_type','base_type',1,'p_base_type_1','parser.py',548),
('file_type -> PFILE OF component_type','file_type',3,'p_file_type_1','parser.py',553),
('new_pointer_type -> UPARROW domain_type','new_pointer_type',2,'p_new_pointer_type_1','parser.py',559),
('domain_type -> identifier','domain_type',1,'p_domain_type_1','parser.py',565),
('variable_declaration_part -> VAR variable_declaration_list semicolon','variable_declaration_part',3,'p_variable_declaration_part_1','parser.py',571),
('variable_declaration_part -> empty','variable_declaration_part',1,'p_variable_declaration_part_2','parser.py',576),
('variable_declaration_list -> variable_declaration_list semicolon variable_declaration','variable_declaration_list',3,'p_variable_declaration_list_1','parser.py',581),
('variable_declaration_list -> variable_declaration','variable_declaration_list',1,'p_variable_declaration_list_2','parser.py',587),
('variable_declaration -> identifier_list COLON type_denoter','variable_declaration',3,'p_variable_declaration_1','parser.py',593),
('procedure_and_function_declaration_part -> proc_or_func_declaration_list semicolon','procedure_and_function_declaration_part',2,'p_procedure_and_function_declaration_part_1','parser.py',599),
('procedure_and_function_declaration_part -> empty','procedure_and_function_declaration_part',1,'p_procedure_and_function_declaration_part_2','parser.py',604),
('proc_or_func_declaration_list -> proc_or_func_declaration_list semicolon proc_or_func_declaration','proc_or_func_declaration_list',3,'p_proc_or_func_declaration_list_1','parser.py',609),
('proc_or_func_declaration_list -> proc_or_func_declaration','proc_or_func_declaration_list',1,'p_proc_or_func_declaration_list_2','parser.py',615),
('proc_or_func_declaration -> procedure_declaration','proc_or_func_declaration',1,'p_proc_or_func_declaration_1','parser.py',621),
('proc_or_func_declaration -> function_declaration','proc_or_func_declaration',1,'p_proc_or_func_declaration_2','parser.py',626),
('procedure_declaration -> procedure_heading semicolon procedure_block','procedure_declaration',3,'p_procedure_declaration_1','parser.py',631),
('procedure_heading -> procedure_identification','procedure_heading',1,'p_procedure_heading_1','parser.py',637),
('procedure_heading -> procedure_identification formal_parameter_list','procedure_heading',2,'p_procedure_heading_2','parser.py',643),
('formal_parameter_list -> LPAREN formal_parameter_section_list RPAREN','formal_parameter_list',3,'p_formal_parameter_list_1','parser.py',649),
('formal_parameter_section_list -> formal_parameter_section_list semicolon formal_parameter_section','formal_parameter_section_list',3,'p_formal_parameter_section_list_1','parser.py',654),
('formal_parameter_section_list -> formal_parameter_section','formal_parameter_section_list',1,'p_formal_parameter_section_list_2','parser.py',660),
('formal_parameter_section -> value_parameter_specification','formal_parameter_section',1,'p_formal_parameter_section_1','parser.py',666),
('formal_parameter_section -> variable_parameter_specification','formal_parameter_section',1,'p_formal_parameter_section_2','parser.py',671),
('formal_parameter_section -> procedural_parameter_specification','formal_parameter_section',1,'p_formal_parameter_section_3','parser.py',676),
('formal_parameter_section -> functional_parameter_specification','formal_parameter_section',1,'p_formal_parameter_section_4','parser.py',681),
('value_parameter_specification -> identifier_list COLON identifier','value_parameter_specification',3,'p_value_parameter_specification_1','parser.py',686),
('variable_parameter_specification -> VAR identifier_list COLON identifier','variable_parameter_specification',4,'p_variable_parameter_specification_1','parser.py',693),
('procedural_parameter_specification -> procedure_heading','procedural_parameter_specification',1,'p_procedural_parameter_specification_1','parser.py',700),
('functional_parameter_specification -> function_heading','functional_parameter_specification',1,'p_functional_parameter_specification_1','parser.py',706),
('procedure_identification -> PROCEDURE identifier','procedure_identification',2,'p_procedure_identification_1','parser.py',712),
('procedure_block -> block','procedure_block',1,'p_procedure_block_1','parser.py',717),
('function_declaration -> function_identification semicolon function_block','function_declaration',3,'p_function_declaration_1','parser.py',723),
('function_declaration -> function_heading semicolon function_block','function_declaration',3,'p_function_declaration_2','parser.py',730),
('function_heading -> FUNCTION identifier COLON result_type','function_heading',4,'p_function_heading_1','parser.py',736),
('function_heading -> FUNCTION identifier formal_parameter_list COLON result_type','function_heading',5,'p_function_heading_2','parser.py',742),
('result_type -> identifier','result_type',1,'p_result_type_1','parser.py',748),
('function_identification -> FUNCTION identifier','function_identification',2,'p_function_identification_1','parser.py',754),
('function_block -> block','function_block',1,'p_function_block_1','parser.py',760),
('statement_part -> compound_statement','statement_part',1,'p_statement_part_1','parser.py',765),
('compound_statement -> PBEGIN statement_sequence END','compound_statement',3,'p_compound_statement_1','parser.py',770),
('statement_sequence -> statement_sequence semicolon statement','statement_sequence',3,'p_statement_sequence_1','parser.py',775),
('statement_sequence -> statement','statement_sequence',1,'p_statement_sequence_2','parser.py',781),
('statement -> open_statement','statement',1,'p_statement_1','parser.py',787),
('statement -> closed_statement','statement',1,'p_statement_2','parser.py',792),
('open_statement -> label COLON non_labeled_open_statement','open_statement',3,'p_open_statement_1','parser.py',797),
('open_statement -> non_labeled_open_statement','open_statement',1,'p_open_statement_2','parser.py',803),
('closed_statement -> label COLON non_labeled_closed_statement','closed_statement',3,'p_closed_statement_1','parser.py',808),
('closed_statement -> non_labeled_closed_statement','closed_statement',1,'p_closed_statement_2','parser.py',814),
('non_labeled_open_statement -> open_with_statement','non_labeled_open_statement',1,'p_non_labeled_open_statement_1','parser.py',819),
('non_labeled_open_statement -> open_if_statement','non_labeled_open_statement',1,'p_non_labeled_open_statement_2','parser.py',824),
('non_labeled_open_statement -> open_while_statement','non_labeled_open_statement',1,'p_non_labeled_open_statement_3','parser.py',829),
('non_labeled_open_statement -> open_for_statement','non_labeled_open_statement',1,'p_non_labeled_open_statement_4','parser.py',834),
('non_labeled_closed_statement -> assignment_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',840),
('non_labeled_closed_statement -> procedure_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',841),
('non_labeled_closed_statement -> goto_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',842),
('non_labeled_closed_statement -> compound_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',843),
('non_labeled_closed_statement -> case_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',844),
('non_labeled_closed_statement -> repeat_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',845),
('non_labeled_closed_statement -> closed_with_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',846),
('non_labeled_closed_statement -> closed_if_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',847),
('non_labeled_closed_statement -> closed_while_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',848),
('non_labeled_closed_statement -> closed_for_statement','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',849),
('non_labeled_closed_statement -> empty','non_labeled_closed_statement',1,'p_non_labeled_closed_statement','parser.py',850),
('repeat_statement -> REPEAT statement_sequence UNTIL boolean_expression','repeat_statement',4,'p_repeat_statement_1','parser.py',858),
('open_while_statement -> WHILE boolean_expression DO open_statement','open_while_statement',4,'p_open_while_statement_1','parser.py',864),
('closed_while_statement -> WHILE boolean_expression DO closed_statement','closed_while_statement',4,'p_closed_while_statement_1','parser.py',870),
('open_for_statement -> FOR control_variable ASSIGNMENT initial_value direction final_value DO open_statement','open_for_statement',8,'p_open_for_statement_1','parser.py',876),
('closed_for_statement -> FOR control_variable ASSIGNMENT initial_value direction final_value DO closed_statement','closed_for_statement',8,'p_closed_for_statement_1','parser.py',882),
('open_with_statement -> WITH record_variable_list DO open_statement','open_with_statement',4,'p_open_with_statement_1','parser.py',888),
('closed_with_statement -> WITH record_variable_list DO closed_statement','closed_with_statement',4,'p_closed_with_statement_1','parser.py',894),
('open_if_statement -> IF boolean_expression THEN statement','open_if_statement',4,'p_open_if_statement_1','parser.py',900),
('open_if_statement -> IF boolean_expression THEN closed_statement ELSE open_statement','open_if_statement',6,'p_open_if_statement_2','parser.py',906),
('closed_if_statement -> IF boolean_expression THEN closed_statement ELSE closed_statement','closed_if_statement',6,'p_closed_if_statement_1','parser.py',912),
('assignment_statement -> variable_access ASSIGNMENT expression','assignment_statement',3,'p_assignment_statement_1','parser.py',918),
('variable_access -> identifier','variable_access',1,'p_variable_access_1','parser.py',924),
('variable_access -> indexed_variable','variable_access',1,'p_variable_access_2','parser.py',930),
('variable_access -> field_designator','variable_access',1,'p_variable_access_3','parser.py',935),
('variable_access -> variable_access UPARROW','variable_access',2,'p_variable_access_4','parser.py',940),
('indexed_variable -> variable_access LBRAC index_expression_list RBRAC','indexed_variable',4,'p_indexed_variable_1','parser.py',946),
('index_expression_list -> index_expression_list comma index_expression','index_expression_list',3,'p_index_expression_list_1','parser.py',952),
('index_expression_list -> index_expression','index_expression_list',1,'p_index_expression_list_2','parser.py',958),
('index_expression -> expression','index_expression',1,'p_index_expression_1','parser.py',964),
('field_designator -> variable_access DOT identifier','field_designator',3,'p_field_designator_1','parser.py',969),
('procedure_statement -> identifier params','procedure_statement',2,'p_procedure_statement_1','parser.py',975),
('procedure_statement -> identifier','procedure_statement',1,'p_procedure_statement_2','parser.py',981),
('params -> LPAREN actual_parameter_list RPAREN','params',3,'p_params_1','parser.py',987),
('actual_parameter_list -> actual_parameter_list comma actual_parameter','actual_parameter_list',3,'p_actual_parameter_list_1','parser.py',992),
('actual_parameter_list -> actual_parameter','actual_parameter_list',1,'p_actual_parameter_list_2','parser.py',998),
('actual_parameter -> expression','actual_parameter',1,'p_actual_parameter_1','parser.py',1004),
('actual_parameter -> expression COLON expression','actual_parameter',3,'p_actual_parameter_2','parser.py',1010),
('actual_parameter -> expression COLON expression COLON expression','actual_parameter',5,'p_actual_parameter_3','parser.py',1017),
('goto_statement -> GOTO label','goto_statement',2,'p_goto_statement_1','parser.py',1024),
('case_statement -> CASE case_index OF case_list_element_list END','case_statement',5,'p_case_statement_1','parser.py',1030),
('case_statement -> CASE case_index OF case_list_element_list SEMICOLON END','case_statement',6,'p_case_statement_2','parser.py',1037),
('case_statement -> CASE case_index OF case_list_element_list semicolon otherwisepart statement END','case_statement',8,'p_case_statement_3','parser.py',1044),
('case_statement -> CASE case_index OF case_list_element_list semicolon otherwisepart statement SEMICOLON END','case_statement',9,'p_case_statement_4','parser.py',1050),
('case_index -> expression','case_index',1,'p_case_index_1','parser.py',1056),
('case_list_element_list -> case_list_element_list semicolon case_list_element','case_list_element_list',3,'p_case_list_element_list_1','parser.py',1062),
('case_list_element_list -> case_list_element','case_list_element_list',1,'p_case_list_element_list_2','parser.py',1069),
('case_list_element -> case_constant_list COLON statement','case_list_element',3,'p_case_list_element_1','parser.py',1075),
('otherwisepart -> OTHERWISE','otherwisepart',1,'p_otherwisepart_1','parser.py',1081),
('otherwisepart -> OTHERWISE COLON','otherwisepart',2,'p_otherwisepart_2','parser.py',1086),
('control_variable -> identifier','control_variable',1,'p_control_variable_1','parser.py',1091),
('initial_value -> expression','initial_value',1,'p_initial_value_1','parser.py',1096),
('direction -> TO','direction',1,'p_direction_1','parser.py',1101),
('direction -> DOWNTO','direction',1,'p_direction_2','parser.py',1106),
('final_value -> expression','final_value',1,'p_final_value_1','parser.py',1111),
('record_variable_list -> record_variable_list comma variable_access','record_variable_list',3,'p_record_variable_list_1','parser.py',1116),
('record_variable_list -> variable_access','record_variable_list',1,'p_record_variable_list_2','parser.py',1122),
('boolean_expression -> expression','boolean_expression',1,'p_boolean_expression_1','parser.py',1128),
('expression -> simple_expression','expression',1,'p_expression_1','parser.py',1133),
('expression -> simple_expression relop simple_expression','expression',3,'p_expression_2','parser.py',1138),
('simple_expression -> term','simple_expression',1,'p_simple_expression_1','parser.py',1144),
('simple_expression -> simple_expression addop term','simple_expression',3,'p_simple_expression_2','parser.py',1149),
('term -> factor','term',1,'p_term_1','parser.py',1155),
('term -> term mulop factor','term',3,'p_term_2','parser.py',1160),
('factor -> sign factor','factor',2,'p_factor_1','parser.py',1166),
('factor -> primary','factor',1,'p_factor_2','parser.py',1172),
('primary -> variable_access','primary',1,'p_primary_1','parser.py',1177),
('primary -> unsigned_constant','primary',1,'p_primary_2','parser.py',1183),
('primary -> function_designator','primary',1,'p_primary_3','parser.py',1188),
('primary -> set_constructor','primary',1,'p_primary_4','parser.py',1193),
('primary -> LPAREN expression RPAREN','primary',3,'p_primary_5','parser.py',1198),
('primary -> NOT primary','primary',2,'p_primary_6','parser.py',1203),
('unsigned_constant -> unsigned_number','unsigned_constant',1,'p_unsigned_constant_1','parser.py',1209),
('unsigned_constant -> STRING','unsigned_constant',1,'p_unsigned_constant_2','parser.py',1214),
('unsigned_constant -> NIL','unsigned_constant',1,'p_unsigned_constant_3','parser.py',1220),
('unsigned_constant -> CHAR','unsigned_constant',1,'p_unsigned_constant_4','parser.py',1226),
('unsigned_number -> unsigned_integer','unsigned_number',1,'p_unsigned_number_1','parser.py',1232),
('unsigned_number -> unsigned_real','unsigned_number',1,'p_unsigned_number_2','parser.py',1237),
('unsigned_integer -> DIGSEQ','unsigned_integer',1,'p_unsigned_integer_1','parser.py',1242),
('unsigned_integer -> HEXDIGSEQ','unsigned_integer',1,'p_unsigned_integer_2','parser.py',1248),
('unsigned_integer -> OCTDIGSEQ','unsigned_integer',1,'p_unsigned_integer_3','parser.py',1254),
('unsigned_integer -> BINDIGSEQ','unsigned_integer',1,'p_unsigned_integer_4','parser.py',1260),
('unsigned_real -> REALNUMBER','unsigned_real',1,'p_unsigned_real_1','parser.py',1266),
('function_designator -> identifier params','function_designator',2,'p_function_designator_1','parser.py',1272),
('set_constructor -> LBRAC member_designator_list RBRAC','set_constructor',3,'p_set_constructor_1','parser.py',1278),
('set_constructor -> LBRAC RBRAC','set_constructor',2,'p_set_constructor_2','parser.py',1284),
('member_designator_list -> member_designator_list comma member_designator','member_designator_list',3,'p_member_designator_list_1','parser.py',1291),
('member_designator_list -> member_designator','member_designator_list',1,'p_member_designator_list_2','parser.py',1298),
('member_designator -> member_designator DOTDOT expression','member_designator',3,'p_member_designator_1','parser.py',1304),
('member_designator -> expression','member_designator',1,'p_member_designator_2','parser.py',1310),
('addop -> PLUS','addop',1,'p_addop_1','parser.py',1315),
('addop -> MINUS','addop',1,'p_addop_2','parser.py',1321),
('addop -> OR','addop',1,'p_addop_3','parser.py',1327),
('mulop -> STAR','mulop',1,'p_mulop_1','parser.py',1333),
('mulop -> SLASH','mulop',1,'p_mulop_2','parser.py',1339),
('mulop -> DIV','mulop',1,'p_mulop_3','parser.py',1345),
('mulop -> MOD','mulop',1,'p_mulop_4','parser.py',1351),
('mulop -> AND','mulop',1,'p_mulop_5','parser.py',1357),
('relop -> EQUAL','relop',1,'p_relop_1','parser.py',1363),
('relop -> NOTEQUAL','relop',1,'p_relop_2','parser.py',1369),
('relop -> LT','relop',1,'p_relop_3','parser.py',1375),
('relop -> GT','relop',1,'p_relop_4','parser.py',1381),
('relop -> LE','relop',1,'p_relop_5','parser.py',1387),
('relop -> GE','relop',1,'p_relop_6','parser.py',1393),
('relop -> IN','relop',1,'p_relop_7','parser.py',1399),
('identifier -> IDENTIFIER','identifier',1,'p_identifier_1','parser.py',1405),
('semicolon -> SEMICOLON','semicolon',1,'p_semicolon_1','parser.py',1411),
('comma -> COMMA','comma',1,'p_comma_1','parser.py',1416),
('empty -> <empty>','empty',0,'p_empty_1','parser.py',1429),
]
| _tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'AND ARRAY ASSIGNMENT BINDIGSEQ CASE CHAR COLON COMMA COMMENT CONST DIGSEQ DIV DO DOT DOTDOT DOWNTO ELSE END EQUAL FOR FORWARD FUNCTION GE GOTO GT HEXDIGSEQ IDENTIFIER IF IN LABEL LBRAC LE LPAREN LT MINUS MOD NIL NOT NOTEQUAL OCTDIGSEQ OF OR OTHERWISE PACKED PBEGIN PFILE PLUS PROCEDURE PROGRAM RBRAC REALNUMBER RECORD REPEAT RPAREN SEMICOLON SET SLASH STAR STARSTAR STRING THEN TO TYPE UNTIL UPARROW UNPACKED VAR WHILE WITHfile : program\n program : PROGRAM identifier LPAREN identifier_list RPAREN semicolon block DOT\n program : PROGRAM identifier semicolon block DOTidentifier_list : identifier_list comma identifieridentifier_list : identifierblock : label_declaration_part constant_definition_part type_definition_part variable_declaration_part procedure_and_function_declaration_part statement_partlabel_declaration_part : LABEL label_list semicolonlabel_declaration_part : emptylabel_list : label_list comma labellabel_list : labellabel : DIGSEQconstant_definition_part : CONST constant_listconstant_definition_part : emptyconstant_list : constant_list constant_definitionconstant_list : constant_definitionconstant_definition : identifier EQUAL cexpression semicoloncexpression : csimple_expressioncexpression : csimple_expression relop csimple_expressioncsimple_expression : ctermcsimple_expression : csimple_expression addop ctermcterm : cfactorcterm : cterm mulop cfactorcfactor : sign cfactorcfactor : cprimarycprimary : identifiercprimary : LPAREN cexpression RPARENcprimary : unsigned_constantcprimary : NOT cprimaryconstant : non_stringconstant : sign non_stringconstant : STRINGconstant : CHARsign : PLUSsign : MINUSnon_string : DIGSEQnon_string : identifiernon_string : REALNUMBERtype_definition_part : TYPE type_definition_listtype_definition_part : emptytype_definition_list : type_definition_list type_definitiontype_definition_list : type_definitiontype_definition : identifier EQUAL type_denoter semicolontype_denoter : identifiertype_denoter : new_typenew_type : new_ordinal_typenew_type : new_structured_typenew_type : new_pointer_typenew_ordinal_type : enumerated_typenew_ordinal_type : subrange_typeenumerated_type : LPAREN identifier_list RPARENsubrange_type : constant DOTDOT constantnew_structured_type : structured_typenew_structured_type : PACKED structured_typestructured_type : array_typestructured_type : record_typestructured_type : set_typestructured_type : file_typearray_type : ARRAY LBRAC index_list RBRAC OF component_typeindex_list : index_list comma index_typeindex_list : index_typeindex_type : ordinal_typeordinal_type : new_ordinal_typeordinal_type : identifiercomponent_type : type_denoterrecord_type : RECORD record_section_list ENDrecord_type : RECORD record_section_list semicolon variant_part ENDrecord_type : RECORD variant_part ENDrecord_section_list : record_section_list semicolon record_sectionrecord_section_list : record_sectionrecord_section : identifier_list COLON type_denotervariant_selector : tag_field COLON tag_typevariant_selector : tag_typevariant_list : variant_list semicolon variantvariant_list : variantvariant : case_constant_list COLON LPAREN record_section_list RPARENvariant : case_constant_list COLON LPAREN record_section_list semicolon variant_part RPARENvariant : case_constant_list COLON LPAREN variant_part RPARENvariant_part : CASE variant_selector OF variant_listvariant_part : CASE variant_selector OF variant_list semicolonvariant_part : emptycase_constant_list : case_constant_list comma case_constantcase_constant_list : case_constantcase_constant : constantcase_constant : constant DOTDOT constanttag_field : identifiertag_type : identifierset_type : SET OF base_typebase_type : ordinal_typefile_type : PFILE OF component_typenew_pointer_type : UPARROW domain_typedomain_type : identifiervariable_declaration_part : VAR variable_declaration_list semicolonvariable_declaration_part : emptyvariable_declaration_list : variable_declaration_list semicolon variable_declarationvariable_declaration_list : variable_declarationvariable_declaration : identifier_list COLON type_denoterprocedure_and_function_declaration_part : proc_or_func_declaration_list semicolonprocedure_and_function_declaration_part : emptyproc_or_func_declaration_list : proc_or_func_declaration_list semicolon proc_or_func_declarationproc_or_func_declaration_list : proc_or_func_declarationproc_or_func_declaration : procedure_declarationproc_or_func_declaration : function_declarationprocedure_declaration : procedure_heading semicolon procedure_blockprocedure_heading : procedure_identificationprocedure_heading : procedure_identification formal_parameter_listformal_parameter_list : LPAREN formal_parameter_section_list RPARENformal_parameter_section_list : formal_parameter_section_list semicolon formal_parameter_sectionformal_parameter_section_list : formal_parameter_sectionformal_parameter_section : value_parameter_specificationformal_parameter_section : variable_parameter_specificationformal_parameter_section : procedural_parameter_specificationformal_parameter_section : functional_parameter_specificationvalue_parameter_specification : identifier_list COLON identifier\n variable_parameter_specification : VAR identifier_list COLON identifier\n procedural_parameter_specification : procedure_headingfunctional_parameter_specification : function_headingprocedure_identification : PROCEDURE identifierprocedure_block : block\n function_declaration : function_identification semicolon function_block\n function_declaration : function_heading semicolon function_blockfunction_heading : FUNCTION identifier COLON result_typefunction_heading : FUNCTION identifier formal_parameter_list COLON result_typeresult_type : identifierfunction_identification : FUNCTION identifierfunction_block : blockstatement_part : compound_statementcompound_statement : PBEGIN statement_sequence ENDstatement_sequence : statement_sequence semicolon statementstatement_sequence : statementstatement : open_statementstatement : closed_statementopen_statement : label COLON non_labeled_open_statementopen_statement : non_labeled_open_statementclosed_statement : label COLON non_labeled_closed_statementclosed_statement : non_labeled_closed_statementnon_labeled_open_statement : open_with_statementnon_labeled_open_statement : open_if_statementnon_labeled_open_statement : open_while_statementnon_labeled_open_statement : open_for_statement\n non_labeled_closed_statement : assignment_statement\n | procedure_statement\n | goto_statement\n | compound_statement\n | case_statement\n | repeat_statement\n | closed_with_statement\n | closed_if_statement\n | closed_while_statement\n | closed_for_statement\n | empty\n repeat_statement : REPEAT statement_sequence UNTIL boolean_expressionopen_while_statement : WHILE boolean_expression DO open_statementclosed_while_statement : WHILE boolean_expression DO closed_statementopen_for_statement : FOR control_variable ASSIGNMENT initial_value direction final_value DO open_statementclosed_for_statement : FOR control_variable ASSIGNMENT initial_value direction final_value DO closed_statementopen_with_statement : WITH record_variable_list DO open_statementclosed_with_statement : WITH record_variable_list DO closed_statementopen_if_statement : IF boolean_expression THEN statementopen_if_statement : IF boolean_expression THEN closed_statement ELSE open_statementclosed_if_statement : IF boolean_expression THEN closed_statement ELSE closed_statementassignment_statement : variable_access ASSIGNMENT expressionvariable_access : identifiervariable_access : indexed_variablevariable_access : field_designatorvariable_access : variable_access UPARROWindexed_variable : variable_access LBRAC index_expression_list RBRACindex_expression_list : index_expression_list comma index_expressionindex_expression_list : index_expressionindex_expression : expressionfield_designator : variable_access DOT identifierprocedure_statement : identifier paramsprocedure_statement : identifierparams : LPAREN actual_parameter_list RPARENactual_parameter_list : actual_parameter_list comma actual_parameteractual_parameter_list : actual_parameteractual_parameter : expressionactual_parameter : expression COLON expressionactual_parameter : expression COLON expression COLON expressiongoto_statement : GOTO labelcase_statement : CASE case_index OF case_list_element_list END\n case_statement : CASE case_index OF case_list_element_list SEMICOLON END\n case_statement : CASE case_index OF case_list_element_list semicolon otherwisepart statement ENDcase_statement : CASE case_index OF case_list_element_list semicolon otherwisepart statement SEMICOLON ENDcase_index : expression\n case_list_element_list : case_list_element_list semicolon case_list_element\n case_list_element_list : case_list_elementcase_list_element : case_constant_list COLON statementotherwisepart : OTHERWISEotherwisepart : OTHERWISE COLONcontrol_variable : identifierinitial_value : expressiondirection : TOdirection : DOWNTOfinal_value : expressionrecord_variable_list : record_variable_list comma variable_accessrecord_variable_list : variable_accessboolean_expression : expressionexpression : simple_expressionexpression : simple_expression relop simple_expressionsimple_expression : termsimple_expression : simple_expression addop termterm : factorterm : term mulop factorfactor : sign factorfactor : primaryprimary : variable_accessprimary : unsigned_constantprimary : function_designatorprimary : set_constructorprimary : LPAREN expression RPARENprimary : NOT primaryunsigned_constant : unsigned_numberunsigned_constant : STRINGunsigned_constant : NILunsigned_constant : CHARunsigned_number : unsigned_integerunsigned_number : unsigned_realunsigned_integer : DIGSEQunsigned_integer : HEXDIGSEQunsigned_integer : OCTDIGSEQunsigned_integer : BINDIGSEQunsigned_real : REALNUMBERfunction_designator : identifier paramsset_constructor : LBRAC member_designator_list RBRACset_constructor : LBRAC RBRAC\n member_designator_list : member_designator_list comma member_designator\n member_designator_list : member_designatormember_designator : member_designator DOTDOT expressionmember_designator : expressionaddop : PLUSaddop : MINUSaddop : ORmulop : STARmulop : SLASHmulop : DIVmulop : MODmulop : ANDrelop : EQUALrelop : NOTEQUALrelop : LTrelop : GTrelop : LErelop : GErelop : INidentifier : IDENTIFIERsemicolon : SEMICOLONcomma : COMMAempty : '
_lr_action_items = {'OTHERWISE': ([370, 371], [390, -246]), 'NOTEQUAL': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 136, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 136, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'STAR': ([5, 62, 63, 65, 66, 68, 69, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, 127, -222, -215, -217, -212, -219, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, 127, -26, -205, -208, -206, -202, -207, 127, -209, -162, -165, -204, -225, -211, -223, -170, 127, -210, -224, -203, -166, -173]), 'SLASH': ([5, 62, 63, 65, 66, 68, 69, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, 129, -222, -215, -217, -212, -219, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, 129, -26, -205, -208, -206, -202, -207, 129, -209, -162, -165, -204, -225, -211, -223, -170, 129, -210, -224, -203, -166, -173]), 'DO': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 189, 192, 230, 231, 233, 234, 235, 236, 239, 240, 241, 243, 244, 247, 249, 250, 251, 288, 292, 298, 299, 304, 325, 326, 327, 328, 331, 334, 338, 354, 377, 380, 395, 396, 424], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -164, -163, -205, -208, -206, -202, -198, -207, -200, 297, -209, -162, -197, -165, 305, -196, -162, -204, -225, -211, -223, -170, -199, -201, -210, -224, -203, -166, -195, -173, 397, 401, 408, -194, 426]), 'ASSIGNMENT': ([5, 164, 187, 189, 192, 247, 254, 255, 304, 334, 379], [-245, 246, -162, -164, -163, -165, 308, -190, -170, -166, 400]), 'THEN': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 189, 192, 230, 231, 233, 234, 235, 236, 239, 241, 243, 244, 247, 259, 288, 292, 298, 299, 304, 325, 326, 327, 328, 331, 334, 354, 382], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -164, -163, -205, -208, -206, -202, -198, -207, -200, -209, -162, -197, -165, 312, -204, -225, -211, -223, -170, -199, -201, -210, -224, -203, -166, -173, 402]), 'EQUAL': ([5, 30, 40, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, 42, 61, -19, -222, -215, -217, -212, -219, 138, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 138, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'GOTO': ([6, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, -188, 179, 179, 179, -189, 179, 179, 179]), 'LABEL': ([6, 7, 33, 93, 95, 96], [-246, 11, 11, 11, 11, 11]), 'CHAR': ([6, 24, 42, 61, 64, 67, 71, 76, 82, 98, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 202, 206, 213, 218, 232, 237, 238, 242, 245, 246, 261, 277, 289, 290, 296, 307, 308, 311, 317, 323, 329, 330, 335, 347, 353, 355, 356, 363, 368, 370, 371, 373, 374, 375, 376, 386, 400, 403, 418], [-246, -247, 65, 120, 65, -34, -33, 65, 65, 120, -237, -233, 65, -234, -235, -236, 65, -241, 65, -239, -243, -238, -232, -240, -242, -230, -244, -231, 65, 65, 65, 120, 120, 120, 120, 65, 65, 65, 65, 65, 65, 65, 120, 65, 65, 65, 120, 65, 65, 120, 120, 65, 65, 65, 65, 65, 65, 65, 120, 120, 120, -246, 120, 65, -193, -192, 120, 65, 65, 65]), 'PBEGIN': ([6, 7, 9, 10, 15, 17, 25, 27, 28, 29, 31, 33, 35, 37, 38, 39, 41, 47, 49, 60, 86, 91, 93, 95, 96, 97, 147, 178, 214, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, -248, -8, -248, -248, -13, -248, -39, -12, -15, -7, -248, -248, -93, -41, -38, -14, 91, -98, -40, -97, 91, -248, -248, -248, -92, -16, 91, -42, 91, 91, 91, 91, 91, 91, 91, 91, 91, -188, 91, 91, 91, -189, 91, 91, 91]), 'WHILE': ([6, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, 162, 162, 162, 162, 162, 162, 347, 162, 162, 347, 162, -188, 347, 347, 347, -189, 162, 347, 347]), 'PROGRAM': ([0], [3]), 'REPEAT': ([6, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, -188, 178, 178, 178, -189, 178, 178, 178]), 'CONST': ([6, 7, 9, 10, 31, 33, 93, 95, 96], [-246, -248, -8, 16, -7, -248, -248, -248, -248]), 'DIV': ([5, 62, 63, 65, 66, 68, 69, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, 130, -222, -215, -217, -212, -219, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, 130, -26, -205, -208, -206, -202, -207, 130, -209, -162, -165, -204, -225, -211, -223, -170, 130, -210, -224, -203, -166, -173]), 'WITH': ([6, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, 166, 166, 166, 166, 166, 166, 350, 166, 166, 350, 166, -188, 350, 350, 350, -189, 166, 350, 350]), 'MINUS': ([5, 6, 24, 42, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 98, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 146, 162, 168, 186, 189, 192, 202, 206, 213, 218, 219, 220, 221, 222, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 241, 243, 245, 246, 247, 261, 277, 288, 289, 290, 292, 296, 298, 299, 304, 307, 308, 311, 317, 323, 325, 326, 327, 328, 329, 330, 331, 334, 335, 347, 353, 354, 355, 356, 363, 368, 370, 371, 373, 374, 375, 376, 386, 400, 403, 418], [-245, -246, -247, 67, 67, -19, -222, 67, -215, -217, -34, -212, -219, 144, -33, -213, -24, -27, -21, 67, -220, -218, -214, -221, -216, -25, 67, -237, -233, 67, -234, -235, -236, -23, 67, -241, 67, -239, -243, -238, -232, -240, -242, -230, -244, -231, -28, 67, 67, 67, -164, -163, 67, 67, 67, 67, -22, -20, 144, -26, -205, -208, 67, -206, -202, 144, -207, 67, 67, -200, -209, -162, 67, 67, -165, 67, 67, -204, 67, 67, -225, 67, -211, -223, -170, 67, 67, 67, 67, 67, 144, -201, -210, -224, 67, 67, -203, -166, 67, 67, 67, -173, 67, 67, 67, 67, 67, -246, 67, 67, -193, -192, 67, 67, 67, 67]), 'DOT': ([5, 12, 44, 89, 90, 164, 187, 189, 192, 228, 233, 243, 247, 250, 251, 304, 334, 338], [-245, 21, 85, -6, -126, 248, -162, -164, -163, -127, 248, -162, -165, 248, -162, -170, -166, 248]), 'REALNUMBER': ([6, 24, 42, 61, 64, 67, 71, 76, 82, 98, 102, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 202, 206, 213, 218, 232, 237, 238, 242, 245, 246, 261, 277, 289, 290, 296, 307, 308, 311, 317, 323, 329, 330, 335, 347, 353, 355, 356, 363, 368, 370, 371, 373, 374, 375, 376, 386, 400, 403, 418], [-246, -247, 63, 100, 63, -34, -33, 63, 63, 100, 100, -237, -233, 63, -234, -235, -236, 63, -241, 63, -239, -243, -238, -232, -240, -242, -230, -244, -231, 63, 63, 63, 100, 100, 100, 100, 63, 63, 63, 63, 63, 63, 63, 100, 63, 63, 63, 100, 63, 63, 100, 100, 63, 63, 63, 63, 63, 63, 63, 100, 100, 100, -246, 100, 63, -193, -192, 100, 63, 63, 63]), 'CASE': ([6, 91, 110, 178, 229, 256, 275, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 404, 407, 408, 419, 421, 426], [-246, 168, 207, 168, 168, 168, 207, 168, 168, 168, 168, 168, 168, 168, -188, 168, 168, 168, 207, -189, 168, 168, 207, 168]), 'LE': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 141, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 141, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'RPAREN': ([5, 6, 13, 14, 34, 46, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 87, 94, 100, 101, 103, 104, 105, 107, 109, 111, 114, 116, 117, 119, 120, 121, 122, 124, 125, 132, 145, 146, 149, 150, 152, 153, 156, 157, 158, 159, 189, 192, 203, 204, 205, 208, 212, 215, 216, 217, 219, 220, 221, 222, 224, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 263, 264, 265, 266, 267, 268, 269, 274, 276, 281, 282, 283, 284, 286, 288, 291, 292, 298, 299, 304, 313, 314, 315, 316, 319, 321, 324, 325, 326, 327, 328, 331, 334, 354, 357, 359, 362, 383, 384, 386, 387, 404, 405, 411, 412, 413, 420, 421, 422, 425, 427], [-245, -246, -5, 22, -4, -104, -19, -222, -215, -217, -212, -219, -17, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -105, -117, -37, -57, -45, -46, -55, -31, -29, -48, -49, -56, -35, -54, -32, -52, -44, -47, -43, -23, 222, -28, -109, -110, -111, 224, -115, -112, -116, -108, -164, -163, -36, -30, -53, -69, -80, -90, -91, 281, -22, -20, -18, -26, -106, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, -123, -121, -51, -87, -88, -62, -63, -65, -67, -50, -64, -89, -107, -113, -204, 327, -225, -211, -223, -170, 354, -175, -176, -122, -68, -70, -114, -199, -201, -210, -224, -203, -166, -173, -74, -78, -66, -174, -177, -79, -58, -248, -73, -178, 420, 422, -75, -248, -77, 427, -76]), 'SEMICOLON': ([4, 5, 6, 18, 19, 20, 22, 43, 45, 46, 48, 51, 53, 54, 55, 56, 57, 59, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 84, 87, 89, 90, 91, 92, 94, 100, 101, 103, 104, 105, 107, 109, 111, 113, 114, 116, 117, 119, 120, 121, 122, 124, 125, 132, 146, 148, 149, 150, 152, 153, 156, 157, 158, 159, 160, 161, 163, 165, 167, 170, 171, 172, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 187, 188, 189, 190, 191, 192, 195, 196, 197, 198, 199, 200, 201, 203, 204, 205, 208, 209, 215, 216, 219, 220, 221, 222, 224, 228, 229, 230, 231, 233, 234, 235, 236, 239, 241, 243, 244, 247, 256, 257, 258, 260, 263, 264, 265, 266, 267, 268, 269, 274, 276, 281, 282, 283, 284, 286, 287, 288, 292, 297, 298, 299, 303, 304, 305, 309, 310, 312, 316, 319, 321, 324, 325, 326, 327, 328, 331, 332, 333, 334, 336, 337, 340, 342, 346, 348, 352, 354, 357, 359, 362, 369, 372, 378, 381, 387, 389, 390, 391, 392, 393, 397, 398, 399, 401, 402, 405, 406, 407, 408, 410, 412, 414, 416, 417, 419, 420, 422, 423, 426, 427], [6, -245, -246, 6, -10, -11, 6, -9, 6, -104, -100, 6, 6, -102, -101, 6, 6, -95, -19, -222, -215, -217, -212, -219, -17, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, 6, -105, -6, -126, -248, -124, -117, -37, -57, -45, -46, -55, -31, -29, -48, 6, -49, -56, -35, -54, -32, -52, -44, -47, -43, -23, -28, -99, -109, -110, -111, 6, -115, -112, -116, -108, -147, 6, -142, -136, -131, -143, -140, -141, -129, -138, -150, -145, -248, -148, -139, -130, -144, -137, -149, -172, -146, -164, -133, -135, -163, -119, -125, -103, -118, -120, -94, -96, -36, -30, -53, -69, 6, -90, -91, -22, -20, -18, -26, -106, -127, -248, -205, -208, -206, -202, -198, -207, -200, -209, -162, -197, -165, -248, 6, -179, -171, -123, -121, -51, -87, -88, -62, -63, -65, -67, -50, -64, -89, -107, -113, -128, -204, -225, -248, -211, -223, -161, -170, -248, -132, -134, -248, -122, -68, -70, -114, -199, -201, -210, -224, -203, -153, -152, -166, -157, -156, -186, 371, -151, -131, -158, -173, -74, 6, -66, -180, -248, -248, -248, -58, -248, -188, -185, -181, -187, -248, -160, -159, -248, -248, -73, 415, -189, -248, -131, 6, -182, -155, -154, -248, -75, -77, -183, -248, -76]), 'RECORD': ([61, 98, 106, 218, 277, 363], [110, 110, 110, 110, 110, 110]), 'RBRAC': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 100, 107, 109, 111, 114, 117, 120, 189, 192, 203, 204, 230, 231, 233, 234, 235, 236, 238, 239, 241, 243, 247, 265, 268, 269, 278, 279, 280, 281, 288, 292, 293, 294, 295, 298, 299, 300, 301, 302, 304, 325, 326, 327, 328, 331, 334, 354, 364, 365, 366, 367], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -37, -31, -29, -48, -49, -35, -32, -164, -163, -36, -30, -205, -208, -206, -202, -198, -207, 292, -200, -209, -162, -165, -51, -62, -63, -60, -61, 322, -50, -204, -225, 328, -227, -229, -211, -223, 334, -168, -169, -170, -199, -201, -210, -224, -203, -166, -173, -59, -226, -228, -167]), 'PLUS': ([5, 6, 24, 42, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 98, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 146, 162, 168, 186, 189, 192, 202, 206, 213, 218, 219, 220, 221, 222, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 241, 243, 245, 246, 247, 261, 277, 288, 289, 290, 292, 296, 298, 299, 304, 307, 308, 311, 317, 323, 325, 326, 327, 328, 329, 330, 331, 334, 335, 347, 353, 354, 355, 356, 363, 368, 370, 371, 373, 374, 375, 376, 386, 400, 403, 418], [-245, -246, -247, 71, 71, -19, -222, 71, -215, -217, -34, -212, -219, 142, -33, -213, -24, -27, -21, 71, -220, -218, -214, -221, -216, -25, 71, -237, -233, 71, -234, -235, -236, -23, 71, -241, 71, -239, -243, -238, -232, -240, -242, -230, -244, -231, -28, 71, 71, 71, -164, -163, 71, 71, 71, 71, -22, -20, 142, -26, -205, -208, 71, -206, -202, 142, -207, 71, 71, -200, -209, -162, 71, 71, -165, 71, 71, -204, 71, 71, -225, 71, -211, -223, -170, 71, 71, 71, 71, 71, 142, -201, -210, -224, 71, 71, -203, -166, 71, 71, 71, -173, 71, 71, 71, 71, 71, -246, 71, 71, -193, -192, 71, 71, 71, 71]), 'DOTDOT': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 99, 100, 107, 109, 117, 120, 125, 189, 192, 203, 204, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 269, 288, 292, 294, 295, 298, 299, 304, 325, 326, 327, 328, 331, 334, 339, 354, 365, 366], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, 202, -37, -31, -29, -35, -32, -36, -164, -163, -36, -30, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, -36, -204, -225, 330, -229, -211, -223, -170, -199, -201, -210, -224, -203, -166, 368, -173, 330, -228]), 'TO': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 189, 192, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 325, 326, 327, 328, 331, 334, 344, 345, 354, 409], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -164, -163, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -199, -201, -210, -224, -203, -166, 376, -191, -173, 376]), 'LT': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 140, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 140, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'COLON': ([5, 13, 20, 34, 58, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 92, 100, 107, 109, 117, 120, 155, 173, 189, 192, 193, 203, 204, 211, 223, 224, 226, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 271, 272, 288, 292, 298, 299, 304, 315, 325, 326, 327, 328, 331, 334, 339, 341, 343, 351, 354, 358, 384, 388, 390, 394], [-245, -5, -11, -4, 98, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, 194, -37, -31, -29, -35, -32, 227, 256, -164, -163, 262, -36, -30, 277, 194, -106, 285, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, -85, 318, -204, -225, -211, -223, -170, 356, -199, -201, -210, -224, -203, -166, -83, -82, 372, 381, -173, 385, 403, -84, 407, -81]), 'PACKED': ([61, 98, 218, 277, 363], [106, 106, 106, 106, 106]), 'HEXDIGSEQ': ([24, 42, 64, 67, 71, 76, 82, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 375, 376, 400, 403, 418], [-247, 69, 69, -34, -33, 69, 69, -237, -233, 69, -234, -235, -236, 69, -241, 69, -239, -243, -238, -232, -240, -242, -230, -244, -231, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, -193, -192, 69, 69, 69]), 'COMMA': ([5, 13, 14, 18, 19, 20, 34, 43, 58, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 100, 107, 109, 111, 114, 117, 120, 155, 189, 192, 203, 204, 211, 217, 226, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 249, 250, 251, 265, 268, 269, 278, 279, 280, 281, 288, 292, 293, 294, 295, 298, 299, 300, 301, 302, 304, 313, 314, 315, 325, 326, 327, 328, 331, 334, 338, 339, 341, 343, 354, 358, 364, 365, 366, 367, 380, 383, 384, 388, 394, 411], [-245, -5, 24, 24, -10, -11, -4, -9, 24, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -37, -31, -29, -48, -49, -35, -32, 24, -164, -163, -36, -30, 24, 24, 24, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, 24, -196, -162, -51, -62, -63, -60, -61, 24, -50, -204, -225, 24, -227, -229, -211, -223, 24, -168, -169, -170, 24, -175, -176, -199, -201, -210, -224, -203, -166, -195, -83, -82, 24, -173, 24, -59, -226, -228, -167, 24, -174, -177, -84, -81, -178]), 'ARRAY': ([61, 98, 106, 218, 277, 363], [112, 112, 112, 112, 112, 112]), 'IDENTIFIER': ([3, 6, 8, 16, 23, 24, 26, 28, 29, 36, 38, 39, 41, 42, 50, 52, 60, 61, 64, 67, 71, 76, 82, 88, 91, 97, 98, 102, 110, 115, 118, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 147, 151, 154, 162, 166, 168, 169, 178, 186, 194, 202, 206, 207, 213, 214, 218, 225, 227, 229, 232, 237, 238, 242, 245, 246, 248, 256, 261, 262, 275, 277, 285, 289, 290, 296, 297, 305, 306, 307, 308, 311, 312, 317, 318, 323, 329, 330, 335, 347, 349, 350, 353, 355, 356, 363, 368, 370, 371, 372, 373, 374, 375, 376, 378, 381, 386, 389, 390, 397, 400, 401, 402, 403, 404, 407, 408, 418, 419, 421, 426], [5, -246, 5, 5, 5, -247, 5, 5, -15, 5, -41, 5, -14, 5, 5, 5, -40, 5, 5, -34, -33, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -237, -233, 5, -234, -235, -236, 5, -241, 5, -239, -243, -238, -232, -240, -242, -230, -244, -231, -16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -42, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -246, 5, 5, 5, -193, -192, 5, 5, 5, 5, -188, 5, 5, 5, 5, 5, 5, -189, 5, 5, 5, 5, 5]), '$end': ([1, 2, 21, 85], [-1, 0, -3, -2]), 'FUNCTION': ([6, 7, 9, 10, 15, 17, 25, 27, 28, 29, 31, 33, 35, 37, 38, 39, 41, 60, 86, 88, 93, 95, 96, 97, 147, 214, 225], [-246, -248, -8, -248, -248, -13, -248, -39, -12, -15, -7, -248, 50, -93, -41, -38, -14, -40, 50, 151, -248, -248, -248, -92, -16, -42, 151]), 'GT': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 134, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 134, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'END': ([5, 6, 20, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 91, 100, 101, 103, 104, 105, 107, 109, 110, 111, 114, 116, 117, 119, 120, 121, 122, 124, 125, 160, 161, 163, 165, 167, 170, 171, 172, 174, 175, 176, 177, 180, 181, 182, 183, 184, 185, 187, 188, 189, 190, 191, 192, 203, 204, 205, 208, 209, 210, 212, 215, 216, 228, 229, 230, 231, 233, 234, 235, 236, 239, 241, 243, 244, 247, 256, 258, 260, 265, 266, 267, 268, 269, 274, 275, 276, 281, 282, 283, 287, 288, 292, 297, 298, 299, 303, 304, 305, 309, 310, 312, 319, 320, 321, 325, 326, 327, 328, 331, 332, 333, 334, 336, 337, 340, 342, 346, 348, 352, 354, 357, 359, 362, 369, 371, 372, 378, 381, 386, 387, 389, 390, 391, 392, 393, 397, 398, 399, 401, 402, 405, 406, 407, 408, 410, 414, 415, 416, 417, 419, 420, 422, 423, 426, 427], [-245, -246, -11, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -248, -37, -57, -45, -46, -55, -31, -29, -248, -48, -49, -56, -35, -54, -32, -52, -44, -47, -43, -147, 228, -142, -136, -131, -143, -140, -141, -129, -138, -150, -145, -148, -139, -130, -144, -137, -149, -172, -146, -164, -133, -135, -163, -36, -30, -53, -69, 274, 276, -80, -90, -91, -127, -248, -205, -208, -206, -202, -198, -207, -200, -209, -162, -197, -165, -248, -179, -171, -51, -87, -88, -62, -63, -65, -248, -67, -50, -64, -89, -128, -204, -225, -248, -211, -223, -161, -170, -248, -132, -134, -248, -68, 362, -70, -199, -201, -210, -224, -203, -153, -152, -166, -157, -156, -186, 369, -151, -131, -158, -173, -74, -78, -66, -180, 392, -248, -248, -248, -79, -58, -248, -188, -185, -181, -187, -248, -160, -159, -248, -248, -73, 414, -189, -248, -131, -182, 423, -155, -154, -248, -75, -77, -183, -248, -76]), 'STRING': ([6, 24, 42, 61, 64, 67, 71, 76, 82, 98, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 202, 206, 213, 218, 232, 237, 238, 242, 245, 246, 261, 277, 289, 290, 296, 307, 308, 311, 317, 323, 329, 330, 335, 347, 353, 355, 356, 363, 368, 370, 371, 373, 374, 375, 376, 386, 400, 403, 418], [-246, -247, 72, 107, 72, -34, -33, 72, 72, 107, -237, -233, 72, -234, -235, -236, 72, -241, 72, -239, -243, -238, -232, -240, -242, -230, -244, -231, 72, 72, 72, 107, 107, 107, 107, 72, 72, 72, 72, 72, 72, 72, 107, 72, 72, 72, 107, 72, 72, 107, 107, 72, 72, 72, 72, 72, 72, 72, 107, 107, 107, -246, 107, 72, -193, -192, 107, 72, 72, 72]), 'FOR': ([6, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, 169, 169, 169, 169, 169, 169, 349, 169, 169, 349, 169, -188, 349, 349, 349, -189, 169, 349, 349]), 'UPARROW': ([5, 61, 98, 164, 187, 189, 192, 218, 233, 243, 247, 250, 251, 277, 304, 334, 338, 363], [-245, 115, 115, 247, -162, -164, -163, 115, 247, -162, -165, 247, -162, 115, -170, -166, 247, 115]), 'ELSE': ([5, 20, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 160, 163, 170, 171, 172, 176, 177, 180, 183, 185, 187, 188, 189, 191, 192, 228, 230, 231, 233, 234, 235, 236, 239, 241, 243, 244, 247, 256, 258, 260, 288, 292, 297, 298, 299, 303, 304, 305, 310, 312, 325, 326, 327, 328, 331, 332, 334, 336, 346, 348, 354, 369, 378, 381, 392, 397, 398, 401, 402, 408, 410, 414, 416, 419, 423, 426], [-245, -11, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -147, -142, -143, -140, -141, -150, -145, -148, -144, -149, -172, -146, -164, -135, -163, -127, -205, -208, -206, -202, -198, -207, -200, -209, -162, -197, -165, -248, -179, -171, -204, -225, -248, -211, -223, -161, -170, -248, -134, -248, -199, -201, -210, -224, -203, -153, -166, -157, -151, 378, -173, -180, -248, -248, -181, -248, -160, -248, -248, -248, 419, -182, -155, -248, -183, -248]), 'GE': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 137, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 137, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'SET': ([61, 98, 106, 218, 277, 363], [108, 108, 108, 108, 108, 108]), 'LPAREN': ([4, 5, 24, 42, 46, 61, 64, 67, 71, 76, 82, 92, 94, 98, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 187, 206, 213, 218, 223, 232, 237, 238, 242, 243, 245, 246, 261, 277, 289, 290, 296, 308, 311, 323, 329, 330, 335, 347, 353, 355, 356, 363, 374, 375, 376, 385, 400, 403, 418], [8, -245, -247, 76, 88, 118, 76, -34, -33, 76, 76, 88, -117, 118, -237, -233, 76, -234, -235, -236, 76, -241, 76, -239, -243, -238, -232, -240, -242, -230, -244, -231, 237, 237, 237, 261, 118, 118, 118, 88, 237, 237, 237, 237, 261, 237, 237, 237, 118, 237, 237, 237, 237, 237, 118, 237, 237, 237, 237, 237, 237, 237, 118, 237, -193, -192, 404, 237, 237, 237]), 'IN': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 143, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, -26, -205, -208, -206, -202, 143, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -201, -210, -224, -203, -166, -173]), 'VAR': ([6, 7, 9, 10, 15, 17, 25, 27, 28, 29, 31, 33, 38, 39, 41, 60, 88, 93, 95, 96, 147, 214, 225], [-246, -248, -8, -248, -248, -13, 36, -39, -12, -15, -7, -248, -41, -38, -14, -40, 154, -248, -248, -248, -16, -42, 154]), 'UNTIL': ([5, 6, 20, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 160, 163, 165, 167, 170, 171, 172, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 187, 188, 189, 190, 191, 192, 228, 229, 230, 231, 233, 234, 235, 236, 239, 241, 243, 244, 247, 256, 257, 258, 260, 287, 288, 292, 297, 298, 299, 303, 304, 305, 309, 310, 312, 325, 326, 327, 328, 331, 332, 333, 334, 336, 337, 346, 348, 352, 354, 369, 378, 381, 392, 397, 398, 399, 401, 402, 408, 410, 414, 416, 417, 419, 423, 426], [-245, -246, -11, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -147, -142, -136, -131, -143, -140, -141, -129, -138, -150, -145, -248, -148, -139, -130, -144, -137, -149, -172, -146, -164, -133, -135, -163, -127, -248, -205, -208, -206, -202, -198, -207, -200, -209, -162, -197, -165, -248, 311, -179, -171, -128, -204, -225, -248, -211, -223, -161, -170, -248, -132, -134, -248, -199, -201, -210, -224, -203, -153, -152, -166, -157, -156, -151, -131, -158, -173, -180, -248, -248, -181, -248, -160, -159, -248, -248, -248, -131, -182, -155, -154, -248, -183, -248]), 'PROCEDURE': ([6, 7, 9, 10, 15, 17, 25, 27, 28, 29, 31, 33, 35, 37, 38, 39, 41, 60, 86, 88, 93, 95, 96, 97, 147, 214, 225], [-246, -248, -8, -248, -248, -13, -248, -39, -12, -15, -7, -248, 52, -93, -41, -38, -14, -40, 52, 52, -248, -248, -248, -92, -16, -42, 52]), 'IF': ([6, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 390, 397, 401, 402, 407, 408, 419, 426], [-246, 186, 186, 186, 186, 186, 186, 353, 186, 186, 353, 186, -188, 353, 353, 353, -189, 186, 353, 353]), 'AND': ([5, 62, 63, 65, 66, 68, 69, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, 126, -222, -215, -217, -212, -219, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, 126, -26, -205, -208, -206, -202, -207, 126, -209, -162, -165, -204, -225, -211, -223, -170, 126, -210, -224, -203, -166, -173]), 'OCTDIGSEQ': ([24, 42, 64, 67, 71, 76, 82, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 375, 376, 400, 403, 418], [-247, 77, 77, -34, -33, 77, 77, -237, -233, 77, -234, -235, -236, 77, -241, 77, -239, -243, -238, -232, -240, -242, -230, -244, -231, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, -193, -192, 77, 77, 77]), 'LBRAC': ([5, 24, 67, 71, 112, 126, 127, 129, 130, 131, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 164, 168, 186, 187, 189, 192, 232, 233, 237, 238, 242, 243, 245, 246, 247, 250, 251, 261, 289, 290, 296, 304, 308, 311, 329, 330, 334, 335, 338, 347, 353, 355, 356, 374, 375, 376, 400, 403, 418], [-245, -247, -34, -33, 213, -237, -233, -234, -235, -236, -241, -239, -243, -238, -232, -240, -242, -230, -244, -231, 238, 245, 238, 238, -162, -164, -163, 238, 245, 238, 238, 238, -162, 238, 238, -165, 245, -162, 238, 238, 238, 238, -170, 238, 238, 238, 238, -166, 238, 245, 238, 238, 238, 238, 238, -193, -192, 238, 238, 238]), 'NIL': ([24, 42, 64, 67, 71, 76, 82, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 375, 376, 400, 403, 418], [-247, 79, 79, -34, -33, 79, 79, -237, -233, 79, -234, -235, -236, 79, -241, 79, -239, -243, -238, -232, -240, -242, -230, -244, -231, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, -193, -192, 79, 79, 79]), 'PFILE': ([61, 98, 106, 218, 277, 363], [123, 123, 123, 123, 123, 123]), 'OF': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 108, 123, 189, 192, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 252, 253, 270, 271, 273, 288, 292, 298, 299, 304, 322, 325, 326, 327, 328, 331, 334, 354, 360, 361], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, 206, 218, -164, -163, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, 307, -184, 317, -86, -72, -204, -225, -211, -223, -170, 363, -199, -201, -210, -224, -203, -166, -173, -86, -71]), 'DOWNTO': ([5, 63, 65, 66, 68, 69, 72, 77, 78, 79, 80, 81, 189, 192, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 325, 326, 327, 328, 331, 334, 344, 345, 354, 409], [-245, -222, -215, -217, -212, -219, -213, -220, -218, -214, -221, -216, -164, -163, -205, -208, -206, -202, -198, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, -199, -201, -210, -224, -203, -166, 375, -191, -173, 375]), 'BINDIGSEQ': ([24, 42, 64, 67, 71, 76, 82, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 375, 376, 400, 403, 418], [-247, 80, 80, -34, -33, 80, 80, -237, -233, 80, -234, -235, -236, 80, -241, 80, -239, -243, -238, -232, -240, -242, -230, -244, -231, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, -193, -192, 80, 80, 80]), 'NOT': ([24, 42, 64, 67, 71, 76, 82, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 375, 376, 400, 403, 418], [-247, 82, 82, -34, -33, 82, 82, -237, -233, 82, -234, -235, -236, 82, -241, 82, -239, -243, -238, -232, -240, -242, -230, -244, -231, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, -193, -192, 242, 242, 242]), 'DIGSEQ': ([6, 11, 24, 32, 42, 61, 64, 67, 71, 76, 82, 91, 98, 102, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 162, 168, 178, 179, 186, 202, 206, 213, 218, 229, 232, 237, 238, 242, 245, 246, 261, 277, 289, 290, 296, 297, 305, 307, 308, 311, 312, 317, 323, 329, 330, 335, 347, 353, 355, 356, 363, 368, 370, 371, 372, 373, 374, 375, 376, 378, 386, 389, 390, 397, 400, 401, 402, 403, 407, 408, 418, 419, 426], [-246, 20, -247, 20, 78, 117, 78, -34, -33, 78, 78, 20, 117, 117, -237, -233, 78, -234, -235, -236, 78, -241, 78, -239, -243, -238, -232, -240, -242, -230, -244, -231, 78, 78, 20, 20, 78, 117, 117, 117, 117, 20, 78, 78, 78, 78, 78, 78, 78, 117, 78, 78, 78, 20, 20, 117, 78, 78, 20, 117, 117, 78, 78, 78, 78, 78, 78, 78, 117, 117, 117, -246, 20, 117, 78, -193, -192, 20, 117, 20, -188, 20, 78, 20, 20, 78, -189, 20, 78, 20, 20]), 'TYPE': ([6, 7, 9, 10, 15, 17, 28, 29, 31, 33, 41, 93, 95, 96, 147], [-246, -248, -8, -248, 26, -13, -12, -15, -7, -248, -14, -248, -248, -248, -16]), 'OR': ([5, 62, 63, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 221, 222, 230, 231, 233, 234, 235, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 325, 326, 327, 328, 331, 334, 354], [-245, -19, -222, -215, -217, -212, -219, 139, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, -20, 139, -26, -205, -208, -206, -202, 139, -207, -200, -209, -162, -165, -204, -225, -211, -223, -170, 139, -201, -210, -224, -203, -166, -173]), 'MOD': ([5, 62, 63, 65, 66, 68, 69, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 132, 146, 189, 192, 219, 220, 222, 230, 231, 233, 234, 236, 239, 241, 243, 247, 288, 292, 298, 299, 304, 326, 327, 328, 331, 334, 354], [-245, 131, -222, -215, -217, -212, -219, -213, -24, -27, -21, -220, -218, -214, -221, -216, -25, -23, -28, -164, -163, -22, 131, -26, -205, -208, -206, -202, -207, 131, -209, -162, -165, -204, -225, -211, -223, -170, 131, -210, -224, -203, -166, -173])}
_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 = {'cterm': ([42, 76, 133, 135], [62, 62, 220, 62]), 'file_type': ([61, 98, 106, 218, 277, 363], [101, 101, 101, 101, 101, 101]), 'variable_declaration_part': ([25], [35]), 'closed_if_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160]), 'new_type': ([61, 98, 218, 277, 363], [122, 122, 122, 122, 122]), 'comma': ([14, 18, 58, 155, 211, 217, 226, 249, 280, 293, 300, 313, 343, 358, 380], [23, 32, 23, 23, 23, 23, 23, 306, 323, 329, 335, 355, 373, 373, 306]), 'closed_statement': ([91, 178, 229, 297, 305, 312, 372, 378, 389, 397, 401, 402, 408, 419, 426], [167, 167, 167, 332, 336, 348, 167, 398, 167, 332, 336, 410, 416, 398, 416]), 'otherwisepart': ([370], [389]), 'final_value': ([374, 418], [395, 424]), 'field_designator': ([91, 162, 166, 168, 178, 186, 229, 232, 237, 238, 242, 245, 246, 256, 261, 289, 290, 296, 297, 305, 306, 308, 311, 312, 329, 330, 335, 347, 350, 353, 355, 356, 372, 374, 378, 381, 389, 397, 400, 401, 402, 403, 408, 418, 419, 426], [189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189]), 'procedure_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172]), 'index_type': ([213, 323], [278, 364]), 'enumerated_type': ([61, 98, 206, 213, 218, 277, 323, 363], [111, 111, 111, 111, 111, 111, 111, 111]), 'program': ([0], [1]), 'variable_parameter_specification': ([88, 225], [150, 150]), 'type_definition_list': ([26], [39]), 'formal_parameter_list': ([46, 92, 223], [87, 193, 193]), 'formal_parameter_section_list': ([88], [153]), 'index_expression_list': ([245], [300]), 'index_list': ([213], [280]), 'domain_type': ([115], [215]), 'cfactor': ([42, 64, 76, 128, 133, 135], [75, 132, 75, 219, 75, 75]), 'case_list_element': ([307, 370], [340, 391]), 'case_constant': ([307, 317, 370, 373, 386], [341, 341, 341, 394, 341]), 'case_list_element_list': ([307], [342]), 'type_definition': ([26, 39], [38, 60]), 'term': ([162, 168, 186, 237, 238, 245, 246, 261, 289, 290, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [239, 239, 239, 239, 239, 239, 239, 239, 239, 326, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239]), 'closed_with_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188]), 'record_type': ([61, 98, 106, 218, 277, 363], [105, 105, 105, 105, 105, 105]), 'boolean_expression': ([162, 186, 311, 347, 353], [240, 259, 346, 377, 382]), 'actual_parameter': ([261, 355], [314, 383]), 'identifier': ([3, 8, 16, 23, 26, 28, 36, 39, 42, 50, 52, 61, 64, 76, 82, 88, 91, 97, 98, 102, 110, 115, 118, 128, 133, 135, 151, 154, 162, 166, 168, 169, 178, 186, 194, 202, 206, 207, 213, 218, 225, 227, 229, 232, 237, 238, 242, 245, 246, 248, 256, 261, 262, 275, 277, 285, 289, 290, 296, 297, 305, 306, 307, 308, 311, 312, 317, 318, 323, 329, 330, 335, 347, 349, 350, 353, 355, 356, 363, 368, 370, 372, 373, 374, 378, 381, 386, 389, 397, 400, 401, 402, 403, 404, 408, 418, 419, 421, 426], [4, 13, 30, 34, 40, 30, 13, 40, 83, 92, 94, 125, 83, 83, 83, 13, 187, 13, 125, 203, 13, 216, 13, 83, 83, 83, 223, 13, 243, 251, 243, 255, 187, 243, 263, 203, 269, 271, 269, 125, 13, 286, 187, 243, 243, 243, 243, 243, 243, 304, 187, 243, 263, 13, 125, 324, 243, 243, 243, 187, 187, 251, 203, 243, 243, 187, 203, 360, 269, 243, 243, 243, 243, 255, 251, 243, 243, 243, 125, 203, 203, 187, 203, 243, 187, 187, 203, 187, 187, 243, 187, 187, 243, 13, 187, 243, 187, 13, 187]), 'unsigned_integer': ([42, 64, 76, 82, 128, 133, 135, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81]), 'actual_parameter_list': ([261], [313]), 'label_list': ([11], [18]), 'sign': ([42, 61, 64, 76, 98, 128, 133, 135, 162, 168, 186, 202, 206, 213, 218, 232, 237, 238, 245, 246, 261, 277, 289, 290, 296, 307, 308, 311, 317, 323, 329, 330, 335, 347, 353, 355, 356, 363, 368, 370, 373, 374, 386, 400, 403, 418], [64, 102, 64, 64, 102, 64, 64, 64, 232, 232, 232, 102, 102, 102, 102, 232, 232, 232, 232, 232, 232, 102, 232, 232, 232, 102, 232, 232, 102, 102, 232, 232, 232, 232, 232, 232, 232, 102, 102, 102, 102, 232, 102, 232, 232, 232]), 'procedure_identification': ([35, 86, 88, 225], [46, 46, 46, 46]), 'goto_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163]), 'unsigned_real': ([42, 64, 76, 82, 128, 133, 135, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66]), 'open_with_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165]), 'tag_field': ([207], [272]), 'simple_expression': ([162, 168, 186, 237, 238, 245, 246, 261, 289, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [235, 235, 235, 235, 235, 235, 235, 235, 325, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235]), 'constant_definition_part': ([10], [15]), 'ordinal_type': ([206, 213, 323], [267, 279, 279]), 'compound_statement': ([47, 91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [90, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170]), 'member_designator_list': ([238], [293]), 'statement_part': ([47], [89]), 'label': ([11, 32, 91, 178, 179, 229, 297, 305, 312, 372, 378, 389, 397, 401, 402, 408, 419, 426], [19, 43, 173, 173, 258, 173, 173, 173, 351, 173, 173, 173, 351, 351, 351, 173, 351, 351]), 'proc_or_func_declaration': ([35, 86], [48, 148]), 'unsigned_number': ([42, 64, 76, 82, 128, 133, 135, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68]), 'type_denoter': ([61, 98, 218, 277, 363], [113, 201, 282, 321, 282]), 'procedural_parameter_specification': ([88, 225], [152, 152]), 'closed_while_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180]), 'cprimary': ([42, 64, 76, 82, 128, 133, 135], [73, 73, 73, 146, 73, 73, 73]), 'open_for_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181]), 'record_variable_list': ([166, 350], [249, 380]), 'set_type': ([61, 98, 106, 218, 277, 363], [116, 116, 116, 116, 116, 116]), 'case_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183]), 'open_if_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184]), 'array_type': ([61, 98, 106, 218, 277, 363], [119, 119, 119, 119, 119, 119]), 'case_index': ([168], [252]), 'type_definition_part': ([15], [25]), 'constant_list': ([16], [28]), 'function_declaration': ([35, 86], [54, 54]), 'component_type': ([218, 363], [283, 387]), 'function_heading': ([35, 86, 88, 225], [56, 56, 158, 158]), 'label_declaration_part': ([7, 33, 93, 95, 96], [10, 10, 10, 10, 10]), 'expression': ([162, 168, 186, 237, 238, 245, 246, 261, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [244, 253, 244, 291, 295, 302, 303, 315, 345, 244, 295, 366, 302, 244, 244, 315, 384, 396, 345, 411, 396]), 'new_pointer_type': ([61, 98, 218, 277, 363], [124, 124, 124, 124, 124]), 'index_expression': ([245, 335], [301, 367]), 'mulop': ([62, 220, 239, 326], [128, 128, 296, 296]), 'statement_sequence': ([91, 178], [161, 257]), 'cexpression': ([42, 76], [84, 145]), 'indexed_variable': ([91, 162, 166, 168, 178, 186, 229, 232, 237, 238, 242, 245, 246, 256, 261, 289, 290, 296, 297, 305, 306, 308, 311, 312, 329, 330, 335, 347, 350, 353, 355, 356, 372, 374, 378, 381, 389, 397, 400, 401, 402, 403, 408, 418, 419, 426], [192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192]), 'primary': ([162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [230, 230, 230, 230, 230, 230, 298, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230]), 'control_variable': ([169, 349], [254, 379]), 'constant_definition': ([16, 28], [29, 41]), 'set_constructor': ([162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241]), 'proc_or_func_declaration_list': ([35], [45]), 'value_parameter_specification': ([88, 225], [149, 149]), 'variable_declaration': ([36, 97], [59, 200]), 'assignment_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171]), 'params': ([187, 243], [260, 299]), 'statement': ([91, 178, 229, 312, 372, 389, 402], [174, 174, 287, 352, 393, 406, 352]), 'csimple_expression': ([42, 76, 135], [70, 70, 221]), 'non_labeled_open_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [190, 190, 190, 309, 190, 190, 190, 190, 190, 309, 190, 190, 190, 190, 190, 190, 190]), 'empty': ([7, 10, 15, 25, 33, 35, 91, 93, 95, 96, 110, 178, 229, 256, 275, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 404, 408, 419, 421, 426], [9, 17, 27, 37, 9, 49, 176, 9, 9, 9, 212, 176, 176, 176, 212, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 212, 176, 176, 212, 176]), 'repeat_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177]), 'addop': ([70, 221, 235, 325], [133, 133, 290, 290]), 'direction': ([344, 409], [374, 418]), 'subrange_type': ([61, 98, 206, 213, 218, 277, 323, 363], [114, 114, 114, 114, 114, 114, 114, 114]), 'factor': ([162, 168, 186, 232, 237, 238, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [234, 234, 234, 288, 234, 234, 234, 234, 234, 234, 234, 331, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234]), 'open_statement': ([91, 178, 229, 297, 305, 312, 372, 378, 389, 397, 401, 402, 408, 419, 426], [182, 182, 182, 333, 337, 182, 182, 399, 182, 333, 337, 182, 417, 399, 417]), 'record_section_list': ([110, 404], [209, 412]), 'variable_declaration_list': ([36], [57]), 'closed_for_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185]), 'new_ordinal_type': ([61, 98, 206, 213, 218, 277, 323, 363], [103, 103, 268, 268, 103, 103, 268, 103]), 'procedure_heading': ([35, 86, 88, 225], [53, 53, 156, 156]), 'record_section': ([110, 275, 404, 421], [208, 319, 208, 319]), 'procedure_declaration': ([35, 86], [55, 55]), 'initial_value': ([308, 400], [344, 409]), 'variant_list': ([317], [359]), 'non_labeled_closed_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [191, 191, 191, 310, 191, 191, 191, 191, 191, 310, 191, 191, 191, 191, 191, 191, 191]), 'functional_parameter_specification': ([88, 225], [157, 157]), 'constant': ([61, 98, 202, 206, 213, 218, 277, 307, 317, 323, 363, 368, 370, 373, 386], [99, 99, 265, 99, 99, 99, 99, 339, 339, 99, 99, 388, 339, 339, 339]), 'semicolon': ([4, 18, 22, 45, 51, 53, 56, 57, 84, 113, 153, 161, 209, 257, 342, 359, 412], [7, 31, 33, 86, 93, 95, 96, 97, 147, 214, 225, 229, 275, 229, 370, 386, 421]), 'function_designator': ([162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231, 231]), 'new_structured_type': ([61, 98, 218, 277, 363], [104, 104, 104, 104, 104]), 'file': ([0], [2]), 'variant_selector': ([207], [270]), 'procedure_and_function_declaration_part': ([35], [47]), 'non_string': ([61, 98, 102, 202, 206, 213, 218, 277, 307, 317, 323, 363, 368, 370, 373, 386], [109, 109, 204, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109]), 'variable_access': ([91, 162, 166, 168, 178, 186, 229, 232, 237, 238, 242, 245, 246, 256, 261, 289, 290, 296, 297, 305, 306, 308, 311, 312, 329, 330, 335, 347, 350, 353, 355, 356, 372, 374, 378, 381, 389, 397, 400, 401, 402, 403, 408, 418, 419, 426], [164, 233, 250, 233, 164, 233, 164, 233, 233, 233, 233, 233, 233, 164, 233, 233, 233, 233, 164, 164, 338, 233, 233, 164, 233, 233, 233, 233, 250, 233, 233, 233, 164, 233, 164, 164, 164, 164, 233, 164, 164, 233, 164, 233, 164, 164]), 'base_type': ([206], [266]), 'member_designator': ([238, 329], [294, 365]), 'structured_type': ([61, 98, 106, 218, 277, 363], [121, 121, 205, 121, 121, 121]), 'open_while_statement': ([91, 178, 229, 256, 297, 305, 312, 372, 378, 381, 389, 397, 401, 402, 408, 419, 426], [175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175]), 'procedure_block': ([95], [197]), 'variant': ([317, 386], [357, 405]), 'unsigned_constant': ([42, 64, 76, 82, 128, 133, 135, 162, 168, 186, 232, 237, 238, 242, 245, 246, 261, 289, 290, 296, 308, 311, 329, 330, 335, 347, 353, 355, 356, 374, 400, 403, 418], [74, 74, 74, 74, 74, 74, 74, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, 236]), 'function_identification': ([35, 86], [51, 51]), 'variant_part': ([110, 275, 404, 421], [210, 320, 413, 425]), 'function_block': ([93, 96], [195, 199]), 'identifier_list': ([8, 36, 88, 97, 110, 118, 154, 225, 275, 404, 421], [14, 58, 155, 58, 211, 217, 226, 155, 211, 211, 211]), 'case_constant_list': ([307, 317, 370, 386], [343, 358, 343, 358]), 'relop': ([70, 235], [135, 289]), 'formal_parameter_section': ([88, 225], [159, 284]), 'block': ([7, 33, 93, 95, 96], [12, 44, 196, 198, 196]), 'result_type': ([194, 262], [264, 316]), 'tag_type': ([207, 318], [273, 361])}
_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' -> file", "S'", 1, None, None, None), ('file -> program', 'file', 1, 'p_file_1', 'parser.py', 57), ('program -> PROGRAM identifier LPAREN identifier_list RPAREN semicolon block DOT', 'program', 8, 'p_program_1', 'parser.py', 63), ('program -> PROGRAM identifier semicolon block DOT', 'program', 5, 'p_program_2', 'parser.py', 70), ('identifier_list -> identifier_list comma identifier', 'identifier_list', 3, 'p_identifier_list_1', 'parser.py', 76), ('identifier_list -> identifier', 'identifier_list', 1, 'p_identifier_list_2', 'parser.py', 82), ('block -> label_declaration_part constant_definition_part type_definition_part variable_declaration_part procedure_and_function_declaration_part statement_part', 'block', 6, 'p_block_1', 'parser.py', 88), ('label_declaration_part -> LABEL label_list semicolon', 'label_declaration_part', 3, 'p_label_declaration_part_1', 'parser.py', 94), ('label_declaration_part -> empty', 'label_declaration_part', 1, 'p_label_declaration_part_2', 'parser.py', 100), ('label_list -> label_list comma label', 'label_list', 3, 'p_label_list_1', 'parser.py', 105), ('label_list -> label', 'label_list', 1, 'p_label_list_2', 'parser.py', 111), ('label -> DIGSEQ', 'label', 1, 'p_label_1', 'parser.py', 117), ('constant_definition_part -> CONST constant_list', 'constant_definition_part', 2, 'p_constant_definition_part_1', 'parser.py', 123), ('constant_definition_part -> empty', 'constant_definition_part', 1, 'p_constant_definition_part_2', 'parser.py', 128), ('constant_list -> constant_list constant_definition', 'constant_list', 2, 'p_constant_list_1', 'parser.py', 133), ('constant_list -> constant_definition', 'constant_list', 1, 'p_constant_list_2', 'parser.py', 139), ('constant_definition -> identifier EQUAL cexpression semicolon', 'constant_definition', 4, 'p_constant_definition_1', 'parser.py', 145), ('cexpression -> csimple_expression', 'cexpression', 1, 'p_cexpression_1', 'parser.py', 151), ('cexpression -> csimple_expression relop csimple_expression', 'cexpression', 3, 'p_cexpression_2', 'parser.py', 156), ('csimple_expression -> cterm', 'csimple_expression', 1, 'p_csimple_expression_1', 'parser.py', 162), ('csimple_expression -> csimple_expression addop cterm', 'csimple_expression', 3, 'p_csimple_expression_2', 'parser.py', 167), ('cterm -> cfactor', 'cterm', 1, 'p_cterm_1', 'parser.py', 173), ('cterm -> cterm mulop cfactor', 'cterm', 3, 'p_cterm_2', 'parser.py', 178), ('cfactor -> sign cfactor', 'cfactor', 2, 'p_cfactor_1', 'parser.py', 184), ('cfactor -> cprimary', 'cfactor', 1, 'p_cfactor_2', 'parser.py', 190), ('cprimary -> identifier', 'cprimary', 1, 'p_cprimary_1', 'parser.py', 195), ('cprimary -> LPAREN cexpression RPAREN', 'cprimary', 3, 'p_cprimary_2', 'parser.py', 200), ('cprimary -> unsigned_constant', 'cprimary', 1, 'p_cprimary_3', 'parser.py', 205), ('cprimary -> NOT cprimary', 'cprimary', 2, 'p_cprimary_4', 'parser.py', 210), ('constant -> non_string', 'constant', 1, 'p_constant_1', 'parser.py', 216), ('constant -> sign non_string', 'constant', 2, 'p_constant_2', 'parser.py', 221), ('constant -> STRING', 'constant', 1, 'p_constant_3', 'parser.py', 227), ('constant -> CHAR', 'constant', 1, 'p_constant_4', 'parser.py', 233), ('sign -> PLUS', 'sign', 1, 'p_sign_1', 'parser.py', 239), ('sign -> MINUS', 'sign', 1, 'p_sign_2', 'parser.py', 244), ('non_string -> DIGSEQ', 'non_string', 1, 'p_non_string_1', 'parser.py', 249), ('non_string -> identifier', 'non_string', 1, 'p_non_string_2', 'parser.py', 255), ('non_string -> REALNUMBER', 'non_string', 1, 'p_non_string_3', 'parser.py', 261), ('type_definition_part -> TYPE type_definition_list', 'type_definition_part', 2, 'p_type_definition_part_1', 'parser.py', 267), ('type_definition_part -> empty', 'type_definition_part', 1, 'p_type_definition_part_2', 'parser.py', 272), ('type_definition_list -> type_definition_list type_definition', 'type_definition_list', 2, 'p_type_definition_list_1', 'parser.py', 277), ('type_definition_list -> type_definition', 'type_definition_list', 1, 'p_type_definition_list_2', 'parser.py', 283), ('type_definition -> identifier EQUAL type_denoter semicolon', 'type_definition', 4, 'p_type_definition_1', 'parser.py', 289), ('type_denoter -> identifier', 'type_denoter', 1, 'p_type_denoter_1', 'parser.py', 295), ('type_denoter -> new_type', 'type_denoter', 1, 'p_type_denoter_2', 'parser.py', 301), ('new_type -> new_ordinal_type', 'new_type', 1, 'p_new_type_1', 'parser.py', 306), ('new_type -> new_structured_type', 'new_type', 1, 'p_new_type_2', 'parser.py', 311), ('new_type -> new_pointer_type', 'new_type', 1, 'p_new_type_3', 'parser.py', 316), ('new_ordinal_type -> enumerated_type', 'new_ordinal_type', 1, 'p_new_ordinal_type_1', 'parser.py', 321), ('new_ordinal_type -> subrange_type', 'new_ordinal_type', 1, 'p_new_ordinal_type_2', 'parser.py', 326), ('enumerated_type -> LPAREN identifier_list RPAREN', 'enumerated_type', 3, 'p_enumerated_type_1', 'parser.py', 331), ('subrange_type -> constant DOTDOT constant', 'subrange_type', 3, 'p_subrange_type_1', 'parser.py', 337), ('new_structured_type -> structured_type', 'new_structured_type', 1, 'p_new_structured_type_1', 'parser.py', 343), ('new_structured_type -> PACKED structured_type', 'new_structured_type', 2, 'p_new_structured_type_2', 'parser.py', 348), ('structured_type -> array_type', 'structured_type', 1, 'p_structured_type_1', 'parser.py', 354), ('structured_type -> record_type', 'structured_type', 1, 'p_structured_type_2', 'parser.py', 359), ('structured_type -> set_type', 'structured_type', 1, 'p_structured_type_3', 'parser.py', 364), ('structured_type -> file_type', 'structured_type', 1, 'p_structured_type_4', 'parser.py', 369), ('array_type -> ARRAY LBRAC index_list RBRAC OF component_type', 'array_type', 6, 'p_array_type_1', 'parser.py', 375), ('index_list -> index_list comma index_type', 'index_list', 3, 'p_index_list_1', 'parser.py', 381), ('index_list -> index_type', 'index_list', 1, 'p_index_list_2', 'parser.py', 387), ('index_type -> ordinal_type', 'index_type', 1, 'p_index_type_1', 'parser.py', 393), ('ordinal_type -> new_ordinal_type', 'ordinal_type', 1, 'p_ordinal_type_1', 'parser.py', 398), ('ordinal_type -> identifier', 'ordinal_type', 1, 'p_ordinal_type_2', 'parser.py', 403), ('component_type -> type_denoter', 'component_type', 1, 'p_component_type_1', 'parser.py', 408), ('record_type -> RECORD record_section_list END', 'record_type', 3, 'p_record_type_1', 'parser.py', 413), ('record_type -> RECORD record_section_list semicolon variant_part END', 'record_type', 5, 'p_record_type_2', 'parser.py', 419), ('record_type -> RECORD variant_part END', 'record_type', 3, 'p_record_type_3', 'parser.py', 425), ('record_section_list -> record_section_list semicolon record_section', 'record_section_list', 3, 'p_record_section_list_1', 'parser.py', 431), ('record_section_list -> record_section', 'record_section_list', 1, 'p_record_section_list_2', 'parser.py', 437), ('record_section -> identifier_list COLON type_denoter', 'record_section', 3, 'p_record_section_1', 'parser.py', 443), ('variant_selector -> tag_field COLON tag_type', 'variant_selector', 3, 'p_variant_selector_1', 'parser.py', 449), ('variant_selector -> tag_type', 'variant_selector', 1, 'p_variant_selector_2', 'parser.py', 455), ('variant_list -> variant_list semicolon variant', 'variant_list', 3, 'p_variant_list_1', 'parser.py', 461), ('variant_list -> variant', 'variant_list', 1, 'p_variant_list_2', 'parser.py', 467), ('variant -> case_constant_list COLON LPAREN record_section_list RPAREN', 'variant', 5, 'p_variant_1', 'parser.py', 473), ('variant -> case_constant_list COLON LPAREN record_section_list semicolon variant_part RPAREN', 'variant', 7, 'p_variant_2', 'parser.py', 479), ('variant -> case_constant_list COLON LPAREN variant_part RPAREN', 'variant', 5, 'p_variant_3', 'parser.py', 485), ('variant_part -> CASE variant_selector OF variant_list', 'variant_part', 4, 'p_variant_part_1', 'parser.py', 491), ('variant_part -> CASE variant_selector OF variant_list semicolon', 'variant_part', 5, 'p_variant_part_2', 'parser.py', 497), ('variant_part -> empty', 'variant_part', 1, 'p_variant_part_3', 'parser.py', 503), ('case_constant_list -> case_constant_list comma case_constant', 'case_constant_list', 3, 'p_case_constant_list_1', 'parser.py', 508), ('case_constant_list -> case_constant', 'case_constant_list', 1, 'p_case_constant_list_2', 'parser.py', 514), ('case_constant -> constant', 'case_constant', 1, 'p_case_constant_1', 'parser.py', 520), ('case_constant -> constant DOTDOT constant', 'case_constant', 3, 'p_case_constant_2', 'parser.py', 526), ('tag_field -> identifier', 'tag_field', 1, 'p_tag_field_1', 'parser.py', 532), ('tag_type -> identifier', 'tag_type', 1, 'p_tag_type_1', 'parser.py', 537), ('set_type -> SET OF base_type', 'set_type', 3, 'p_set_type_1', 'parser.py', 542), ('base_type -> ordinal_type', 'base_type', 1, 'p_base_type_1', 'parser.py', 548), ('file_type -> PFILE OF component_type', 'file_type', 3, 'p_file_type_1', 'parser.py', 553), ('new_pointer_type -> UPARROW domain_type', 'new_pointer_type', 2, 'p_new_pointer_type_1', 'parser.py', 559), ('domain_type -> identifier', 'domain_type', 1, 'p_domain_type_1', 'parser.py', 565), ('variable_declaration_part -> VAR variable_declaration_list semicolon', 'variable_declaration_part', 3, 'p_variable_declaration_part_1', 'parser.py', 571), ('variable_declaration_part -> empty', 'variable_declaration_part', 1, 'p_variable_declaration_part_2', 'parser.py', 576), ('variable_declaration_list -> variable_declaration_list semicolon variable_declaration', 'variable_declaration_list', 3, 'p_variable_declaration_list_1', 'parser.py', 581), ('variable_declaration_list -> variable_declaration', 'variable_declaration_list', 1, 'p_variable_declaration_list_2', 'parser.py', 587), ('variable_declaration -> identifier_list COLON type_denoter', 'variable_declaration', 3, 'p_variable_declaration_1', 'parser.py', 593), ('procedure_and_function_declaration_part -> proc_or_func_declaration_list semicolon', 'procedure_and_function_declaration_part', 2, 'p_procedure_and_function_declaration_part_1', 'parser.py', 599), ('procedure_and_function_declaration_part -> empty', 'procedure_and_function_declaration_part', 1, 'p_procedure_and_function_declaration_part_2', 'parser.py', 604), ('proc_or_func_declaration_list -> proc_or_func_declaration_list semicolon proc_or_func_declaration', 'proc_or_func_declaration_list', 3, 'p_proc_or_func_declaration_list_1', 'parser.py', 609), ('proc_or_func_declaration_list -> proc_or_func_declaration', 'proc_or_func_declaration_list', 1, 'p_proc_or_func_declaration_list_2', 'parser.py', 615), ('proc_or_func_declaration -> procedure_declaration', 'proc_or_func_declaration', 1, 'p_proc_or_func_declaration_1', 'parser.py', 621), ('proc_or_func_declaration -> function_declaration', 'proc_or_func_declaration', 1, 'p_proc_or_func_declaration_2', 'parser.py', 626), ('procedure_declaration -> procedure_heading semicolon procedure_block', 'procedure_declaration', 3, 'p_procedure_declaration_1', 'parser.py', 631), ('procedure_heading -> procedure_identification', 'procedure_heading', 1, 'p_procedure_heading_1', 'parser.py', 637), ('procedure_heading -> procedure_identification formal_parameter_list', 'procedure_heading', 2, 'p_procedure_heading_2', 'parser.py', 643), ('formal_parameter_list -> LPAREN formal_parameter_section_list RPAREN', 'formal_parameter_list', 3, 'p_formal_parameter_list_1', 'parser.py', 649), ('formal_parameter_section_list -> formal_parameter_section_list semicolon formal_parameter_section', 'formal_parameter_section_list', 3, 'p_formal_parameter_section_list_1', 'parser.py', 654), ('formal_parameter_section_list -> formal_parameter_section', 'formal_parameter_section_list', 1, 'p_formal_parameter_section_list_2', 'parser.py', 660), ('formal_parameter_section -> value_parameter_specification', 'formal_parameter_section', 1, 'p_formal_parameter_section_1', 'parser.py', 666), ('formal_parameter_section -> variable_parameter_specification', 'formal_parameter_section', 1, 'p_formal_parameter_section_2', 'parser.py', 671), ('formal_parameter_section -> procedural_parameter_specification', 'formal_parameter_section', 1, 'p_formal_parameter_section_3', 'parser.py', 676), ('formal_parameter_section -> functional_parameter_specification', 'formal_parameter_section', 1, 'p_formal_parameter_section_4', 'parser.py', 681), ('value_parameter_specification -> identifier_list COLON identifier', 'value_parameter_specification', 3, 'p_value_parameter_specification_1', 'parser.py', 686), ('variable_parameter_specification -> VAR identifier_list COLON identifier', 'variable_parameter_specification', 4, 'p_variable_parameter_specification_1', 'parser.py', 693), ('procedural_parameter_specification -> procedure_heading', 'procedural_parameter_specification', 1, 'p_procedural_parameter_specification_1', 'parser.py', 700), ('functional_parameter_specification -> function_heading', 'functional_parameter_specification', 1, 'p_functional_parameter_specification_1', 'parser.py', 706), ('procedure_identification -> PROCEDURE identifier', 'procedure_identification', 2, 'p_procedure_identification_1', 'parser.py', 712), ('procedure_block -> block', 'procedure_block', 1, 'p_procedure_block_1', 'parser.py', 717), ('function_declaration -> function_identification semicolon function_block', 'function_declaration', 3, 'p_function_declaration_1', 'parser.py', 723), ('function_declaration -> function_heading semicolon function_block', 'function_declaration', 3, 'p_function_declaration_2', 'parser.py', 730), ('function_heading -> FUNCTION identifier COLON result_type', 'function_heading', 4, 'p_function_heading_1', 'parser.py', 736), ('function_heading -> FUNCTION identifier formal_parameter_list COLON result_type', 'function_heading', 5, 'p_function_heading_2', 'parser.py', 742), ('result_type -> identifier', 'result_type', 1, 'p_result_type_1', 'parser.py', 748), ('function_identification -> FUNCTION identifier', 'function_identification', 2, 'p_function_identification_1', 'parser.py', 754), ('function_block -> block', 'function_block', 1, 'p_function_block_1', 'parser.py', 760), ('statement_part -> compound_statement', 'statement_part', 1, 'p_statement_part_1', 'parser.py', 765), ('compound_statement -> PBEGIN statement_sequence END', 'compound_statement', 3, 'p_compound_statement_1', 'parser.py', 770), ('statement_sequence -> statement_sequence semicolon statement', 'statement_sequence', 3, 'p_statement_sequence_1', 'parser.py', 775), ('statement_sequence -> statement', 'statement_sequence', 1, 'p_statement_sequence_2', 'parser.py', 781), ('statement -> open_statement', 'statement', 1, 'p_statement_1', 'parser.py', 787), ('statement -> closed_statement', 'statement', 1, 'p_statement_2', 'parser.py', 792), ('open_statement -> label COLON non_labeled_open_statement', 'open_statement', 3, 'p_open_statement_1', 'parser.py', 797), ('open_statement -> non_labeled_open_statement', 'open_statement', 1, 'p_open_statement_2', 'parser.py', 803), ('closed_statement -> label COLON non_labeled_closed_statement', 'closed_statement', 3, 'p_closed_statement_1', 'parser.py', 808), ('closed_statement -> non_labeled_closed_statement', 'closed_statement', 1, 'p_closed_statement_2', 'parser.py', 814), ('non_labeled_open_statement -> open_with_statement', 'non_labeled_open_statement', 1, 'p_non_labeled_open_statement_1', 'parser.py', 819), ('non_labeled_open_statement -> open_if_statement', 'non_labeled_open_statement', 1, 'p_non_labeled_open_statement_2', 'parser.py', 824), ('non_labeled_open_statement -> open_while_statement', 'non_labeled_open_statement', 1, 'p_non_labeled_open_statement_3', 'parser.py', 829), ('non_labeled_open_statement -> open_for_statement', 'non_labeled_open_statement', 1, 'p_non_labeled_open_statement_4', 'parser.py', 834), ('non_labeled_closed_statement -> assignment_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 840), ('non_labeled_closed_statement -> procedure_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 841), ('non_labeled_closed_statement -> goto_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 842), ('non_labeled_closed_statement -> compound_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 843), ('non_labeled_closed_statement -> case_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 844), ('non_labeled_closed_statement -> repeat_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 845), ('non_labeled_closed_statement -> closed_with_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 846), ('non_labeled_closed_statement -> closed_if_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 847), ('non_labeled_closed_statement -> closed_while_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 848), ('non_labeled_closed_statement -> closed_for_statement', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 849), ('non_labeled_closed_statement -> empty', 'non_labeled_closed_statement', 1, 'p_non_labeled_closed_statement', 'parser.py', 850), ('repeat_statement -> REPEAT statement_sequence UNTIL boolean_expression', 'repeat_statement', 4, 'p_repeat_statement_1', 'parser.py', 858), ('open_while_statement -> WHILE boolean_expression DO open_statement', 'open_while_statement', 4, 'p_open_while_statement_1', 'parser.py', 864), ('closed_while_statement -> WHILE boolean_expression DO closed_statement', 'closed_while_statement', 4, 'p_closed_while_statement_1', 'parser.py', 870), ('open_for_statement -> FOR control_variable ASSIGNMENT initial_value direction final_value DO open_statement', 'open_for_statement', 8, 'p_open_for_statement_1', 'parser.py', 876), ('closed_for_statement -> FOR control_variable ASSIGNMENT initial_value direction final_value DO closed_statement', 'closed_for_statement', 8, 'p_closed_for_statement_1', 'parser.py', 882), ('open_with_statement -> WITH record_variable_list DO open_statement', 'open_with_statement', 4, 'p_open_with_statement_1', 'parser.py', 888), ('closed_with_statement -> WITH record_variable_list DO closed_statement', 'closed_with_statement', 4, 'p_closed_with_statement_1', 'parser.py', 894), ('open_if_statement -> IF boolean_expression THEN statement', 'open_if_statement', 4, 'p_open_if_statement_1', 'parser.py', 900), ('open_if_statement -> IF boolean_expression THEN closed_statement ELSE open_statement', 'open_if_statement', 6, 'p_open_if_statement_2', 'parser.py', 906), ('closed_if_statement -> IF boolean_expression THEN closed_statement ELSE closed_statement', 'closed_if_statement', 6, 'p_closed_if_statement_1', 'parser.py', 912), ('assignment_statement -> variable_access ASSIGNMENT expression', 'assignment_statement', 3, 'p_assignment_statement_1', 'parser.py', 918), ('variable_access -> identifier', 'variable_access', 1, 'p_variable_access_1', 'parser.py', 924), ('variable_access -> indexed_variable', 'variable_access', 1, 'p_variable_access_2', 'parser.py', 930), ('variable_access -> field_designator', 'variable_access', 1, 'p_variable_access_3', 'parser.py', 935), ('variable_access -> variable_access UPARROW', 'variable_access', 2, 'p_variable_access_4', 'parser.py', 940), ('indexed_variable -> variable_access LBRAC index_expression_list RBRAC', 'indexed_variable', 4, 'p_indexed_variable_1', 'parser.py', 946), ('index_expression_list -> index_expression_list comma index_expression', 'index_expression_list', 3, 'p_index_expression_list_1', 'parser.py', 952), ('index_expression_list -> index_expression', 'index_expression_list', 1, 'p_index_expression_list_2', 'parser.py', 958), ('index_expression -> expression', 'index_expression', 1, 'p_index_expression_1', 'parser.py', 964), ('field_designator -> variable_access DOT identifier', 'field_designator', 3, 'p_field_designator_1', 'parser.py', 969), ('procedure_statement -> identifier params', 'procedure_statement', 2, 'p_procedure_statement_1', 'parser.py', 975), ('procedure_statement -> identifier', 'procedure_statement', 1, 'p_procedure_statement_2', 'parser.py', 981), ('params -> LPAREN actual_parameter_list RPAREN', 'params', 3, 'p_params_1', 'parser.py', 987), ('actual_parameter_list -> actual_parameter_list comma actual_parameter', 'actual_parameter_list', 3, 'p_actual_parameter_list_1', 'parser.py', 992), ('actual_parameter_list -> actual_parameter', 'actual_parameter_list', 1, 'p_actual_parameter_list_2', 'parser.py', 998), ('actual_parameter -> expression', 'actual_parameter', 1, 'p_actual_parameter_1', 'parser.py', 1004), ('actual_parameter -> expression COLON expression', 'actual_parameter', 3, 'p_actual_parameter_2', 'parser.py', 1010), ('actual_parameter -> expression COLON expression COLON expression', 'actual_parameter', 5, 'p_actual_parameter_3', 'parser.py', 1017), ('goto_statement -> GOTO label', 'goto_statement', 2, 'p_goto_statement_1', 'parser.py', 1024), ('case_statement -> CASE case_index OF case_list_element_list END', 'case_statement', 5, 'p_case_statement_1', 'parser.py', 1030), ('case_statement -> CASE case_index OF case_list_element_list SEMICOLON END', 'case_statement', 6, 'p_case_statement_2', 'parser.py', 1037), ('case_statement -> CASE case_index OF case_list_element_list semicolon otherwisepart statement END', 'case_statement', 8, 'p_case_statement_3', 'parser.py', 1044), ('case_statement -> CASE case_index OF case_list_element_list semicolon otherwisepart statement SEMICOLON END', 'case_statement', 9, 'p_case_statement_4', 'parser.py', 1050), ('case_index -> expression', 'case_index', 1, 'p_case_index_1', 'parser.py', 1056), ('case_list_element_list -> case_list_element_list semicolon case_list_element', 'case_list_element_list', 3, 'p_case_list_element_list_1', 'parser.py', 1062), ('case_list_element_list -> case_list_element', 'case_list_element_list', 1, 'p_case_list_element_list_2', 'parser.py', 1069), ('case_list_element -> case_constant_list COLON statement', 'case_list_element', 3, 'p_case_list_element_1', 'parser.py', 1075), ('otherwisepart -> OTHERWISE', 'otherwisepart', 1, 'p_otherwisepart_1', 'parser.py', 1081), ('otherwisepart -> OTHERWISE COLON', 'otherwisepart', 2, 'p_otherwisepart_2', 'parser.py', 1086), ('control_variable -> identifier', 'control_variable', 1, 'p_control_variable_1', 'parser.py', 1091), ('initial_value -> expression', 'initial_value', 1, 'p_initial_value_1', 'parser.py', 1096), ('direction -> TO', 'direction', 1, 'p_direction_1', 'parser.py', 1101), ('direction -> DOWNTO', 'direction', 1, 'p_direction_2', 'parser.py', 1106), ('final_value -> expression', 'final_value', 1, 'p_final_value_1', 'parser.py', 1111), ('record_variable_list -> record_variable_list comma variable_access', 'record_variable_list', 3, 'p_record_variable_list_1', 'parser.py', 1116), ('record_variable_list -> variable_access', 'record_variable_list', 1, 'p_record_variable_list_2', 'parser.py', 1122), ('boolean_expression -> expression', 'boolean_expression', 1, 'p_boolean_expression_1', 'parser.py', 1128), ('expression -> simple_expression', 'expression', 1, 'p_expression_1', 'parser.py', 1133), ('expression -> simple_expression relop simple_expression', 'expression', 3, 'p_expression_2', 'parser.py', 1138), ('simple_expression -> term', 'simple_expression', 1, 'p_simple_expression_1', 'parser.py', 1144), ('simple_expression -> simple_expression addop term', 'simple_expression', 3, 'p_simple_expression_2', 'parser.py', 1149), ('term -> factor', 'term', 1, 'p_term_1', 'parser.py', 1155), ('term -> term mulop factor', 'term', 3, 'p_term_2', 'parser.py', 1160), ('factor -> sign factor', 'factor', 2, 'p_factor_1', 'parser.py', 1166), ('factor -> primary', 'factor', 1, 'p_factor_2', 'parser.py', 1172), ('primary -> variable_access', 'primary', 1, 'p_primary_1', 'parser.py', 1177), ('primary -> unsigned_constant', 'primary', 1, 'p_primary_2', 'parser.py', 1183), ('primary -> function_designator', 'primary', 1, 'p_primary_3', 'parser.py', 1188), ('primary -> set_constructor', 'primary', 1, 'p_primary_4', 'parser.py', 1193), ('primary -> LPAREN expression RPAREN', 'primary', 3, 'p_primary_5', 'parser.py', 1198), ('primary -> NOT primary', 'primary', 2, 'p_primary_6', 'parser.py', 1203), ('unsigned_constant -> unsigned_number', 'unsigned_constant', 1, 'p_unsigned_constant_1', 'parser.py', 1209), ('unsigned_constant -> STRING', 'unsigned_constant', 1, 'p_unsigned_constant_2', 'parser.py', 1214), ('unsigned_constant -> NIL', 'unsigned_constant', 1, 'p_unsigned_constant_3', 'parser.py', 1220), ('unsigned_constant -> CHAR', 'unsigned_constant', 1, 'p_unsigned_constant_4', 'parser.py', 1226), ('unsigned_number -> unsigned_integer', 'unsigned_number', 1, 'p_unsigned_number_1', 'parser.py', 1232), ('unsigned_number -> unsigned_real', 'unsigned_number', 1, 'p_unsigned_number_2', 'parser.py', 1237), ('unsigned_integer -> DIGSEQ', 'unsigned_integer', 1, 'p_unsigned_integer_1', 'parser.py', 1242), ('unsigned_integer -> HEXDIGSEQ', 'unsigned_integer', 1, 'p_unsigned_integer_2', 'parser.py', 1248), ('unsigned_integer -> OCTDIGSEQ', 'unsigned_integer', 1, 'p_unsigned_integer_3', 'parser.py', 1254), ('unsigned_integer -> BINDIGSEQ', 'unsigned_integer', 1, 'p_unsigned_integer_4', 'parser.py', 1260), ('unsigned_real -> REALNUMBER', 'unsigned_real', 1, 'p_unsigned_real_1', 'parser.py', 1266), ('function_designator -> identifier params', 'function_designator', 2, 'p_function_designator_1', 'parser.py', 1272), ('set_constructor -> LBRAC member_designator_list RBRAC', 'set_constructor', 3, 'p_set_constructor_1', 'parser.py', 1278), ('set_constructor -> LBRAC RBRAC', 'set_constructor', 2, 'p_set_constructor_2', 'parser.py', 1284), ('member_designator_list -> member_designator_list comma member_designator', 'member_designator_list', 3, 'p_member_designator_list_1', 'parser.py', 1291), ('member_designator_list -> member_designator', 'member_designator_list', 1, 'p_member_designator_list_2', 'parser.py', 1298), ('member_designator -> member_designator DOTDOT expression', 'member_designator', 3, 'p_member_designator_1', 'parser.py', 1304), ('member_designator -> expression', 'member_designator', 1, 'p_member_designator_2', 'parser.py', 1310), ('addop -> PLUS', 'addop', 1, 'p_addop_1', 'parser.py', 1315), ('addop -> MINUS', 'addop', 1, 'p_addop_2', 'parser.py', 1321), ('addop -> OR', 'addop', 1, 'p_addop_3', 'parser.py', 1327), ('mulop -> STAR', 'mulop', 1, 'p_mulop_1', 'parser.py', 1333), ('mulop -> SLASH', 'mulop', 1, 'p_mulop_2', 'parser.py', 1339), ('mulop -> DIV', 'mulop', 1, 'p_mulop_3', 'parser.py', 1345), ('mulop -> MOD', 'mulop', 1, 'p_mulop_4', 'parser.py', 1351), ('mulop -> AND', 'mulop', 1, 'p_mulop_5', 'parser.py', 1357), ('relop -> EQUAL', 'relop', 1, 'p_relop_1', 'parser.py', 1363), ('relop -> NOTEQUAL', 'relop', 1, 'p_relop_2', 'parser.py', 1369), ('relop -> LT', 'relop', 1, 'p_relop_3', 'parser.py', 1375), ('relop -> GT', 'relop', 1, 'p_relop_4', 'parser.py', 1381), ('relop -> LE', 'relop', 1, 'p_relop_5', 'parser.py', 1387), ('relop -> GE', 'relop', 1, 'p_relop_6', 'parser.py', 1393), ('relop -> IN', 'relop', 1, 'p_relop_7', 'parser.py', 1399), ('identifier -> IDENTIFIER', 'identifier', 1, 'p_identifier_1', 'parser.py', 1405), ('semicolon -> SEMICOLON', 'semicolon', 1, 'p_semicolon_1', 'parser.py', 1411), ('comma -> COMMA', 'comma', 1, 'p_comma_1', 'parser.py', 1416), ('empty -> <empty>', 'empty', 0, 'p_empty_1', 'parser.py', 1429)] |
# program to display student's marks from record
student_n = 'Soyuj'
marks = {'James': 90, 'Jules': 55, 'Arthur': 77}
for student in marks:
if student == student_n:
print(marks[student])
break
else:
print('No entry with that name found.') | student_n = 'Soyuj'
marks = {'James': 90, 'Jules': 55, 'Arthur': 77}
for student in marks:
if student == student_n:
print(marks[student])
break
else:
print('No entry with that name found.') |
def shouldAttack(target):
return target and target.type != "burl"
while True:
enemy = hero.findNearestEnemy()
if shouldAttack(enemy):
hero.attack(enemy)
| def should_attack(target):
return target and target.type != 'burl'
while True:
enemy = hero.findNearestEnemy()
if should_attack(enemy):
hero.attack(enemy) |
class Animal:
cat = "cat"
dog = "dog"
panda = "panda"
koala = "koala"
fox = "fox"
bird = "bird"
racoon = "racoon"
kangaroo = "kangaroo"
elephant = "elephant"
giraffe = "giraffe"
whale = "whale"
birb = "birb"
raccoon = "raccoon"
class Gif:
wink = "wink"
pat = "pat"
hug = "hug"
facepalm = "face-palm"
class Filter:
greyscale = "greyscale"
invert = "invert"
invertgreyscale = "invertgreyscale"
brightness = "brightness"
threshold = "threshold"
sepia = "sepia"
red = "red"
green = "green"
blue = "blue"
blurple = "blurple"
pixelate = "pixelate"
blur = "blur"
gay = "gay"
glass = "glass"
wasted = "wasted"
triggered = "triggered"
spin = "spin"
| class Animal:
cat = 'cat'
dog = 'dog'
panda = 'panda'
koala = 'koala'
fox = 'fox'
bird = 'bird'
racoon = 'racoon'
kangaroo = 'kangaroo'
elephant = 'elephant'
giraffe = 'giraffe'
whale = 'whale'
birb = 'birb'
raccoon = 'raccoon'
class Gif:
wink = 'wink'
pat = 'pat'
hug = 'hug'
facepalm = 'face-palm'
class Filter:
greyscale = 'greyscale'
invert = 'invert'
invertgreyscale = 'invertgreyscale'
brightness = 'brightness'
threshold = 'threshold'
sepia = 'sepia'
red = 'red'
green = 'green'
blue = 'blue'
blurple = 'blurple'
pixelate = 'pixelate'
blur = 'blur'
gay = 'gay'
glass = 'glass'
wasted = 'wasted'
triggered = 'triggered'
spin = 'spin' |
##### Functions ################################################################
def lgis3( seq, count ):
'''
Returns reversed version of (a) longest increasing subsequence.
seq: the sequence for which (a) longest increasing subsequence is desired.
count: number of items in seq
Notes:
Uses "Patience Sorting"
Each 'pile' is a subsequence with the opposite polarity {decreasing} to
that of the desired longest subsequence {increasing}
**LOGIC**: when backtracking, once an element from a pile is selected,
all elements to the left are larger, and all to the right are smaller
THUS only one element from each pile can be used in an increasing subseq
'''
# list of lists of decreasing subsequences
piles = []
# all possible indices that could be used for decreasing subsequences
# -- i.e. if whole sequence is increasing
pile_indices = range(count)
# loop appends each item to the end of first 'pile' for which it continues
# the descending subsequence
# the second value in each tuple is the index + 1 of the preceeding
# pile's last element (or -1 if no preceeding pile)
# this allows the traceback to find the last element from the
# preceeding pile that was added before this element
for item in seq:
# using for & break is simpler and faster than the original
# elminating range(len(piles)) and catching the exception when going
# beyond the end of the list (instead of using else) gives an
# additional slight improvement in speed
try:
for j in pile_indices:
if piles[j][-1][0] > item:
# pile index
idx = j
# append tuple comprising the current item and the position
# of the preceeding pile's last element (for traceback)
piles[idx].append(
(
item,
len(piles[idx-1]) if idx > 0 else -1
)
)
# resume outer loop
break
except:
# start a new pile each time the current element is larger than the
# last element of all current piles
piles.append(
[(
item,
# length of the last 'pile' (before this one is created)
len(piles[-1]) if piles else -1
)]
)
# the increasing subsequence (reversed)
result = []
# backward pointer -- index of last item in the preceeding pile that was
# added before the current item
point_back = -1
# reverse iteration over the piles
for i in range( len(piles) - 1, -1, -1 ):
result.append( piles[i][point_back][0] )
point_back = piles[i][point_back][1] - 1
return result
##### Execution ################################################################
# read permutation from file
with open('input.txt', 'r') as infile:
# size of permutation
count = int(infile.readline().strip())
# sequence of permutation
seq = [int(item) for item in infile.readline().split()]
# write results to file
with open('output.txt', 'w') as outfile:
outfile.write(
" ".join(map(str, lgis3(seq, count)[::-1])) +
'\n' +
" ".join(map(str, lgis3(seq[::-1], count)))
)
| def lgis3(seq, count):
"""
Returns reversed version of (a) longest increasing subsequence.
seq: the sequence for which (a) longest increasing subsequence is desired.
count: number of items in seq
Notes:
Uses "Patience Sorting"
Each 'pile' is a subsequence with the opposite polarity {decreasing} to
that of the desired longest subsequence {increasing}
**LOGIC**: when backtracking, once an element from a pile is selected,
all elements to the left are larger, and all to the right are smaller
THUS only one element from each pile can be used in an increasing subseq
"""
piles = []
pile_indices = range(count)
for item in seq:
try:
for j in pile_indices:
if piles[j][-1][0] > item:
idx = j
piles[idx].append((item, len(piles[idx - 1]) if idx > 0 else -1))
break
except:
piles.append([(item, len(piles[-1]) if piles else -1)])
result = []
point_back = -1
for i in range(len(piles) - 1, -1, -1):
result.append(piles[i][point_back][0])
point_back = piles[i][point_back][1] - 1
return result
with open('input.txt', 'r') as infile:
count = int(infile.readline().strip())
seq = [int(item) for item in infile.readline().split()]
with open('output.txt', 'w') as outfile:
outfile.write(' '.join(map(str, lgis3(seq, count)[::-1])) + '\n' + ' '.join(map(str, lgis3(seq[::-1], count)))) |
class Customer(object):
def __init__(self, match, customer, **kwargs):
self.id = kwargs.get('id', None)
self.match = match
self.customer = customer
def __repr__(self):
return 'Customer(id=%r, match=%r, customer=%r)' % (
self.id, self.match, self.customer)
@classmethod
def parse(cls, json):
return Customer(
id=json.get('id', None),
match=json.get('match', None),
customer=json.get('customer', None)
)
def tabular(self):
return {
'id': self.id,
'match': self.match,
'customer': self.customer
}
| class Customer(object):
def __init__(self, match, customer, **kwargs):
self.id = kwargs.get('id', None)
self.match = match
self.customer = customer
def __repr__(self):
return 'Customer(id=%r, match=%r, customer=%r)' % (self.id, self.match, self.customer)
@classmethod
def parse(cls, json):
return customer(id=json.get('id', None), match=json.get('match', None), customer=json.get('customer', None))
def tabular(self):
return {'id': self.id, 'match': self.match, 'customer': self.customer} |
{
'variables': {
'zmq_shared%': 'false',
'zmq_draft%': 'false',
'zmq_no_sync_resolve%': 'false',
},
'targets': [
{
'target_name': 'libzmq',
'type': 'none',
'conditions': [
["zmq_shared == 'false'", {
'actions': [{
'action_name': 'build_libzmq',
'inputs': ['package.json'],
'outputs': ['libzmq/lib'],
'action': ['sh', '<(PRODUCT_DIR)/../../script/build.sh', '<(target_arch)'],
}],
}],
],
},
{
'target_name': 'zeromq',
'dependencies': ['libzmq'],
'sources': [
'src/context.cc',
'src/incoming_msg.cc',
'src/module.cc',
'src/observer.cc',
'src/outgoing_msg.cc',
'src/proxy.cc',
'src/socket.cc',
],
'include_dirs': [
"vendor",
'<(PRODUCT_DIR)/../libzmq/include',
],
'defines': [
'NAPI_VERSION=3',
'NAPI_DISABLE_CPP_EXCEPTIONS',
'ZMQ_STATIC',
],
'conditions': [
["zmq_draft == 'true'", {
'defines': [
'ZMQ_BUILD_DRAFT_API',
],
}],
["zmq_no_sync_resolve == 'true'", {
'defines': [
'ZMQ_NO_SYNC_RESOLVE',
],
}],
["zmq_shared == 'true'", {
'link_settings': {
'libraries': ['-lzmq'],
},
}, {
'conditions': [
['OS != "win"', {
'libraries': [
'<(PRODUCT_DIR)/../libzmq/lib/libzmq.a',
],
}],
['OS == "win"', {
'msbuild_toolset': 'v141',
'libraries': [
'<(PRODUCT_DIR)/../libzmq/lib/libzmq',
'ws2_32.lib',
'iphlpapi',
],
}],
],
}],
],
'configurations': {
'Debug': {
'conditions': [
['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
'cflags_cc!': [
'-std=gnu++0x',
'-std=gnu++1y'
],
'cflags_cc+': [
'-std=c++17',
'-Wno-missing-field-initializers',
],
}],
['OS == "mac"', {
'xcode_settings': {
# https://pewpewthespells.com/blog/buildsettings.html
'CLANG_CXX_LIBRARY': 'libc++',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++17',
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'WARNING_CFLAGS': [
'-Wextra',
'-Wno-unused-parameter',
'-Wno-missing-field-initializers',
],
},
}],
['OS == "win"', {
'msvs_settings': {
'VCCLCompilerTool': {
# 0 - MultiThreaded (/MT)
# 1 - MultiThreadedDebug (/MTd)
# 2 - MultiThreadedDLL (/MD)
# 3 - MultiThreadedDebugDLL (/MDd)
'RuntimeLibrary': 3,
'AdditionalOptions': [
'-std:c++17',
],
},
},
}],
],
},
'Release': {
'conditions': [
['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
'cflags_cc!': [
'-std=gnu++0x',
'-std=gnu++1y'
],
'cflags_cc+': [
'-std=c++17',
'-flto',
'-Wno-missing-field-initializers',
],
}],
['OS == "mac"', {
# https://pewpewthespells.com/blog/buildsettings.html
'xcode_settings': {
'CLANG_CXX_LIBRARY': 'libc++',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++17',
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'LLVM_LTO': 'YES',
'GCC_OPTIMIZATION_LEVEL': '3',
'DEPLOYMENT_POSTPROCESSING': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
'DEAD_CODE_STRIPPING': 'YES',
},
}],
['OS == "win"', {
'msvs_settings': {
'VCCLCompilerTool': {
# 0 - MultiThreaded (/MT)
# 1 - MultiThreadedDebug (/MTd)
# 2 - MultiThreadedDLL (/MD)
# 3 - MultiThreadedDebugDLL (/MDd)
'RuntimeLibrary': 2,
'AdditionalOptions': [
'-std:c++17',
],
},
'VCLinkerTool': {
'AdditionalOptions': ['/ignore:4099'],
},
},
}],
],
},
},
},
],
}
| {'variables': {'zmq_shared%': 'false', 'zmq_draft%': 'false', 'zmq_no_sync_resolve%': 'false'}, 'targets': [{'target_name': 'libzmq', 'type': 'none', 'conditions': [["zmq_shared == 'false'", {'actions': [{'action_name': 'build_libzmq', 'inputs': ['package.json'], 'outputs': ['libzmq/lib'], 'action': ['sh', '<(PRODUCT_DIR)/../../script/build.sh', '<(target_arch)']}]}]]}, {'target_name': 'zeromq', 'dependencies': ['libzmq'], 'sources': ['src/context.cc', 'src/incoming_msg.cc', 'src/module.cc', 'src/observer.cc', 'src/outgoing_msg.cc', 'src/proxy.cc', 'src/socket.cc'], 'include_dirs': ['vendor', '<(PRODUCT_DIR)/../libzmq/include'], 'defines': ['NAPI_VERSION=3', 'NAPI_DISABLE_CPP_EXCEPTIONS', 'ZMQ_STATIC'], 'conditions': [["zmq_draft == 'true'", {'defines': ['ZMQ_BUILD_DRAFT_API']}], ["zmq_no_sync_resolve == 'true'", {'defines': ['ZMQ_NO_SYNC_RESOLVE']}], ["zmq_shared == 'true'", {'link_settings': {'libraries': ['-lzmq']}}, {'conditions': [['OS != "win"', {'libraries': ['<(PRODUCT_DIR)/../libzmq/lib/libzmq.a']}], ['OS == "win"', {'msbuild_toolset': 'v141', 'libraries': ['<(PRODUCT_DIR)/../libzmq/lib/libzmq', 'ws2_32.lib', 'iphlpapi']}]]}]], 'configurations': {'Debug': {'conditions': [['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {'cflags_cc!': ['-std=gnu++0x', '-std=gnu++1y'], 'cflags_cc+': ['-std=c++17', '-Wno-missing-field-initializers']}], ['OS == "mac"', {'xcode_settings': {'CLANG_CXX_LIBRARY': 'libc++', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', 'MACOSX_DEPLOYMENT_TARGET': '10.9', 'WARNING_CFLAGS': ['-Wextra', '-Wno-unused-parameter', '-Wno-missing-field-initializers']}}], ['OS == "win"', {'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': 3, 'AdditionalOptions': ['-std:c++17']}}}]]}, 'Release': {'conditions': [['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {'cflags_cc!': ['-std=gnu++0x', '-std=gnu++1y'], 'cflags_cc+': ['-std=c++17', '-flto', '-Wno-missing-field-initializers']}], ['OS == "mac"', {'xcode_settings': {'CLANG_CXX_LIBRARY': 'libc++', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', 'MACOSX_DEPLOYMENT_TARGET': '10.9', 'LLVM_LTO': 'YES', 'GCC_OPTIMIZATION_LEVEL': '3', 'DEPLOYMENT_POSTPROCESSING': 'YES', 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', 'DEAD_CODE_STRIPPING': 'YES'}}], ['OS == "win"', {'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': 2, 'AdditionalOptions': ['-std:c++17']}, 'VCLinkerTool': {'AdditionalOptions': ['/ignore:4099']}}}]]}}}]} |
#n! = 1 * 2 * 3 * 4 ..... * n
#n! = [1 * 2 * 3 * 4 ..... n-1]* n
#n! = n * (n-1)!
# n = 7
# product = 1
# for i in range(n):
# product = product * (i+1)
# print(product)
def factorial_iter(n):
product = 1
for i in range(n):
product = product * (i+1)
return product
def factorial_recursive(n):
if n == 1 or n ==0:
return 1
return n * factorial_recursive(n-1)
# f = factorial_iter(5)
f = factorial_recursive(3)
print(f)
| def factorial_iter(n):
product = 1
for i in range(n):
product = product * (i + 1)
return product
def factorial_recursive(n):
if n == 1 or n == 0:
return 1
return n * factorial_recursive(n - 1)
f = factorial_recursive(3)
print(f) |
#!/usr/bin/env python2
# The MIT License (MIT)
#
# Copyright (c) 2015 Shane O'Connor
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
rgb_colors = dict(
neon_green = '#39FF14',
brown = '#774400',
purple = '#440077',
cornflower_blue = '#6495ED',
firebrick = '#B22222',
) | rgb_colors = dict(neon_green='#39FF14', brown='#774400', purple='#440077', cornflower_blue='#6495ED', firebrick='#B22222') |
class Cell:
def __init__(self, c=' '):
self.c = c
self.highlight = {}
def __mul__(self, n):
return [Cell(self.c) for i in range(n)]
def __str__(self):
return self.c
class Highlight:
def __init__(self, line, highlight):
self.line = line
self.highlight = highlight
self.start = 0
self.end = 0
def s(self):
return (self.line, self.start, self.end, tuple(self.highlight.items()))
def __eq__(self, h):
return self.s() == h.s()
def __hash__(self):
return hash((self.line, self.start, self.end, tuple(self.highlight.items())))
class Screen:
def __init__(self):
self.x = 0
self.y = 0
self.resize(1, 1)
self.highlight = {}
self.changes = 0
def resize(self, w, h):
self.w = w
self.h = h
# TODO: should resize clear?
self.screen = [Cell() * w for i in range(h)]
self.scroll_region = [0, self.h, 0, self.w]
# clamp cursor
self.x = min(self.x, w - 1)
self.y = min(self.y, h - 1)
def clear(self):
self.resize(self.w, self.h)
def scroll(self, dy):
ya, yb = self.scroll_region[0:2]
xa, xb = self.scroll_region[2:4]
yi = (ya, yb)
if dy < 0:
yi = (yb, ya - 1)
for y in range(yi[0], yi[1], int(dy / abs(dy))):
if ya <= y + dy < yb:
self.screen[y][xa:xb] = self.screen[y + dy][xa:xb]
else:
self.screen[y][xa:xb] = Cell() * (xb - xa)
def redraw(self, updates):
blacklist = [
'mode_change',
'bell', 'mouse_on', 'highlight_set',
'update_fb', 'update_bg', 'update_sp', 'clear',
]
changed = False
for cmd in updates:
if not cmd:
continue
name, args = cmd[0], cmd[1:]
if name == 'cursor_goto':
self.y, self.x = args[0]
elif name == 'eol_clear':
changed = True
self.screen[self.y][self.x:] = Cell() * (self.w - self.x)
elif name == 'put':
changed = True
for cs in args:
for c in cs:
cell = self.screen[self.y][self.x]
cell.c = c
cell.highlight = self.highlight
self.x += 1
# TODO: line wrap is not specified, neither is wrapping off the end. semi-sane defaults.
if self.x >= self.w:
self.x = 0
self.y += 1
if self.y >= self.h:
self.y = 0
elif name == 'resize':
changed = True
self.resize(*args[0])
elif name == 'highlight_set':
self.highlight = args[0][0]
elif name == 'set_scroll_region':
self.scroll_region = args[0]
elif name == 'scroll':
changed = True
self.scroll(args[0][0])
elif name in blacklist:
pass
# else:
# print('unknown update cmd', name)
if changed:
self.changes += 1
def highlights(self):
hlset = []
for y, line in enumerate(self.screen):
cur = {}
h = None
for x, cell in enumerate(line):
if h and cur and cell.highlight == cur:
h.end = x + 1
else:
cur = cell.highlight
if cur:
h = Highlight(y, cur)
h.start = x
h.end = x + 1
hlset.append(h)
return hlset
def p(self):
print('-' * self.w)
print(str(self))
print('-' * self.w)
def __setitem__(self, xy, c):
x, y = xy
try:
cell = self.screen[y][x]
cell.c = c
cell.highlight = self.highlight
except IndexError:
pass
def __getitem__(self, y):
if isinstance(y, tuple):
return self.screen[y[1]][y[0]]
return ''.join(str(c) for c in self.screen[y])
def __str__(self):
return '\n'.join([self[y] for y in range(self.h)])
| class Cell:
def __init__(self, c=' '):
self.c = c
self.highlight = {}
def __mul__(self, n):
return [cell(self.c) for i in range(n)]
def __str__(self):
return self.c
class Highlight:
def __init__(self, line, highlight):
self.line = line
self.highlight = highlight
self.start = 0
self.end = 0
def s(self):
return (self.line, self.start, self.end, tuple(self.highlight.items()))
def __eq__(self, h):
return self.s() == h.s()
def __hash__(self):
return hash((self.line, self.start, self.end, tuple(self.highlight.items())))
class Screen:
def __init__(self):
self.x = 0
self.y = 0
self.resize(1, 1)
self.highlight = {}
self.changes = 0
def resize(self, w, h):
self.w = w
self.h = h
self.screen = [cell() * w for i in range(h)]
self.scroll_region = [0, self.h, 0, self.w]
self.x = min(self.x, w - 1)
self.y = min(self.y, h - 1)
def clear(self):
self.resize(self.w, self.h)
def scroll(self, dy):
(ya, yb) = self.scroll_region[0:2]
(xa, xb) = self.scroll_region[2:4]
yi = (ya, yb)
if dy < 0:
yi = (yb, ya - 1)
for y in range(yi[0], yi[1], int(dy / abs(dy))):
if ya <= y + dy < yb:
self.screen[y][xa:xb] = self.screen[y + dy][xa:xb]
else:
self.screen[y][xa:xb] = cell() * (xb - xa)
def redraw(self, updates):
blacklist = ['mode_change', 'bell', 'mouse_on', 'highlight_set', 'update_fb', 'update_bg', 'update_sp', 'clear']
changed = False
for cmd in updates:
if not cmd:
continue
(name, args) = (cmd[0], cmd[1:])
if name == 'cursor_goto':
(self.y, self.x) = args[0]
elif name == 'eol_clear':
changed = True
self.screen[self.y][self.x:] = cell() * (self.w - self.x)
elif name == 'put':
changed = True
for cs in args:
for c in cs:
cell = self.screen[self.y][self.x]
cell.c = c
cell.highlight = self.highlight
self.x += 1
if self.x >= self.w:
self.x = 0
self.y += 1
if self.y >= self.h:
self.y = 0
elif name == 'resize':
changed = True
self.resize(*args[0])
elif name == 'highlight_set':
self.highlight = args[0][0]
elif name == 'set_scroll_region':
self.scroll_region = args[0]
elif name == 'scroll':
changed = True
self.scroll(args[0][0])
elif name in blacklist:
pass
if changed:
self.changes += 1
def highlights(self):
hlset = []
for (y, line) in enumerate(self.screen):
cur = {}
h = None
for (x, cell) in enumerate(line):
if h and cur and (cell.highlight == cur):
h.end = x + 1
else:
cur = cell.highlight
if cur:
h = highlight(y, cur)
h.start = x
h.end = x + 1
hlset.append(h)
return hlset
def p(self):
print('-' * self.w)
print(str(self))
print('-' * self.w)
def __setitem__(self, xy, c):
(x, y) = xy
try:
cell = self.screen[y][x]
cell.c = c
cell.highlight = self.highlight
except IndexError:
pass
def __getitem__(self, y):
if isinstance(y, tuple):
return self.screen[y[1]][y[0]]
return ''.join((str(c) for c in self.screen[y]))
def __str__(self):
return '\n'.join([self[y] for y in range(self.h)]) |
def parse_args(r_args):
columns = r_args.get('columns')
args = {key:value for (key,value) in r_args.items() if key not in ('columns', 'api_key')}
return columns, args | def parse_args(r_args):
columns = r_args.get('columns')
args = {key: value for (key, value) in r_args.items() if key not in ('columns', 'api_key')}
return (columns, args) |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class Config(object):
config = None
def __init__(self, config):
self.config = config
def __str__(self):
return str(self.config)
def __getitem__(self, item):
return self.config[item]
def interactive(self):
return self.config['app']['interactive']
def dry(self):
return self.config['app']['dry']
def log_file(self):
return self.config['app']['log-file']
def log_level(self):
return self.config['app']['log-level']
def pid_file(self):
return self.config['app']['pid_file']
def ch_config_folder(self):
return self.config['manager']['config-folder']
def ch_config_file(self):
return self.config['manager']['config.xml']
def ch_config_user_file(self):
return self.config['manager']['user.xml']
def ssh_username(self):
return self.config['ssh']['username']
def ssh_password(self):
return self.config['ssh']['password']
def ssh_port(self):
return self.config['ssh']['port']
| class Config(object):
config = None
def __init__(self, config):
self.config = config
def __str__(self):
return str(self.config)
def __getitem__(self, item):
return self.config[item]
def interactive(self):
return self.config['app']['interactive']
def dry(self):
return self.config['app']['dry']
def log_file(self):
return self.config['app']['log-file']
def log_level(self):
return self.config['app']['log-level']
def pid_file(self):
return self.config['app']['pid_file']
def ch_config_folder(self):
return self.config['manager']['config-folder']
def ch_config_file(self):
return self.config['manager']['config.xml']
def ch_config_user_file(self):
return self.config['manager']['user.xml']
def ssh_username(self):
return self.config['ssh']['username']
def ssh_password(self):
return self.config['ssh']['password']
def ssh_port(self):
return self.config['ssh']['port'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.