content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
def powerLevelForCell(x, y, gridSerialNumber):
rackID = x + 11
powerLevel = rackID * (y + 1)
powerLevel += gridSerialNumber
powerLevel *= rackID
powerLevel //= 100
toSubtract = powerLevel // 10 * 10
powerLevel -= toSubtract
powerLevel -= 5
return powerLevel
"""
print(powerLevelForCell(2, 4, 8))
print(powerLevelForCell(121, 78, 57))
print(powerLevelForCell(216, 195, 39))
print(powerLevelForCell(100, 152, 71))
"""
gridSerialNumber = 42
grid = []
for y in range(300):
row = []
for x in range(300):
row.append(powerLevelForCell(x, y, gridSerialNumber))
grid.append(row)
largest = -1e12
for y in range(300):
print(y)
for x in range(300):
squareValue = 0
for squareSize in range(min(50, 300 - max(x, y))):
squareValue += grid[y+squareSize][x+squareSize]
column = x + squareSize
for row in range(squareSize):
squareValue += grid[y+row][column]
row = y + squareSize
for column in range(squareSize):
squareValue += grid[row][x+column]
if squareValue > largest:
largest = squareValue
largestCoordinate = (x+1, y+1, squareSize+1)
print(largestCoordinate)
| def power_level_for_cell(x, y, gridSerialNumber):
rack_id = x + 11
power_level = rackID * (y + 1)
power_level += gridSerialNumber
power_level *= rackID
power_level //= 100
to_subtract = powerLevel // 10 * 10
power_level -= toSubtract
power_level -= 5
return powerLevel
'\t\nprint(powerLevelForCell(2, 4, 8))\nprint(powerLevelForCell(121, 78, 57))\nprint(powerLevelForCell(216, 195, 39))\nprint(powerLevelForCell(100, 152, 71))\n\n'
grid_serial_number = 42
grid = []
for y in range(300):
row = []
for x in range(300):
row.append(power_level_for_cell(x, y, gridSerialNumber))
grid.append(row)
largest = -1000000000000.0
for y in range(300):
print(y)
for x in range(300):
square_value = 0
for square_size in range(min(50, 300 - max(x, y))):
square_value += grid[y + squareSize][x + squareSize]
column = x + squareSize
for row in range(squareSize):
square_value += grid[y + row][column]
row = y + squareSize
for column in range(squareSize):
square_value += grid[row][x + column]
if squareValue > largest:
largest = squareValue
largest_coordinate = (x + 1, y + 1, squareSize + 1)
print(largestCoordinate) |
# Input: Two strings, Pattern and Genome
# Output: A list containing all starting positions where Pattern appears as a substring of Genome
def PatternMatching(pattern, genome):
positions = [] # output variable
# your code here
for i in range(len(genome)-len(pattern)+1):
if genome[i:i+len(pattern)] == pattern:
positions.append(i)
return positions
# Input: Strings Pattern and Text along with an integer d
# Output: A list containing all starting positions where Pattern appears
# as a substring of Text with at most d mismatches
def ApproximatePatternMatching(pattern, genome, d):
positions = [] # output variable
for i in range(len(genome)-len(pattern)+1):
variants = HammingDistance(pattern,genome[i:i+len(pattern)])
if variants <= d:
positions.append(i)
return positions
'''
Input: Strings Pattern and Text
Output: The number of times Pattern appears in Text
PatternCount("ACTAT", "ACAACTATGCATACTATCGGGAACTATCCT") = 3.
'''
def PatternCount(Pattern, Text):
count = 0
for i in range(len(Text)-len(Pattern)+1):
if Text[i:i+len(Pattern)] == Pattern:
count = count+1
return count
# Input: Strings Pattern and Text, and an integer d
# Output: The number of times Pattern appears in Text with at most d mismatches
def ApproximatePatternCount(Pattern, Text, d):
count = 0
for i in range(len(Text)-len(Pattern)+1):
variants = HammingDistance(Pattern,Text[i:i+len(Pattern)])
if variants <= d:
count = count + 1
return count
'''
Input: Strings Text and integer k
Output: The dictionary of the count of every k-mer string
CountDict("CGATATATCCATAG",3) = {0: 1, 1: 1, 2: 3, 3: 2, 4: 3, 5: 2, 6: 1, 7: 1, 8: 1, 9: 1, 10: 3, 11: 1}.
'''
def CountDict(Text, k):
Count = {}
for i in range(len(Text)-k+1):
Pattern = Text[i:i+k]
Count[i] = PatternCount(Pattern, Text)
return Count
'''
Input: a list of items
Output: the non-duplicate items
Remove_duplicates([1,2,3,3]) = [1,2,3]
'''
def Remove_duplicates(Items):
ItemsNoDuplicates = [] # output variable
ItemsNoDuplicates = list(set(Items))
return ItemsNoDuplicates
'''
Input: Strings Text and integer k
Output: The freqent k-mer
FrequentWords("GATCCAGATCCCCATAC",2) = "CC".
'''
def FrequentWords(Text, k):
FrequentPatterns = []
Count = CountDict(Text, k)
m= max(Count.values())
for i in Count:
if Count[i] == m:
FrequentPatterns.append(Text[i:i+k])
FrequentPatternsNoDuplicates = Remove_duplicates(FrequentPatterns)
return FrequentPatternsNoDuplicates
# Input: Strings Genome and symbol
# Output: SymbolArray(Genome, symbol)
def SymbolArray(Genome, symbol):
array = {}
n = len(Genome)
ExtendedGenome = Genome + Genome[0:n//2]
for i in range(n):
array[i] = PatternCount(symbol, ExtendedGenome[i:i+(n//2)])
return array
# Input: Strings Genome and symbol
# Output: FasterSymbolArray(Genome, symbol)
def FasterSymbolArray(Genome, symbol):
array = {}
n = len(Genome)
ExtendedGenome = Genome + Genome[0:n//2]
array[0] = PatternCount(symbol, Genome[0:n//2])
for i in range(1, n):
array[i] = array[i-1]
if ExtendedGenome[i-1] == symbol:
array[i] = array[i]-1
if ExtendedGenome[i+(n//2)-1] == symbol:
array[i] = array[i]+1
return array
# Input: A String Genome
# Output: Skew(Genome)
def Skew(Genome):
n = len(Genome)
skew = {} #initializing the dictionary
skew[0] = 0
for i in range(1,n+1):
skew[i] = skew[i-1]
if Genome[i-1] == 'G':
skew[i] = skew[i] + 1
if Genome[i-1] == 'C':
skew[i] = skew[i] - 1
return skew
# Input: A DNA string Genome
# Output: A list containing all integers i minimizing Skew(Prefix_i(Text)) over all values of i (from 0 to |Genome|)
def MinimumSkew(Genome):
positions = [] # output variable
# your code here
a_skew = Skew(Genome)
values = list(a_skew.values())
min_value = min(values)
for i in range(len(a_skew)):
if (a_skew[i] == min_value):
positions.append(i)
return positions
# Input: Two strings p and q (same length)
# Output: An integer value representing the Hamming Distance between p and q.
def HammingDistance(p, q):
m = len(p)
n = len(q)
result = 0
if (m != n):
return result
else:
for i in range(n):
if (p[i] != q[i]):
result = result + 1
return result
### DO NOT MODIFY THE CODE BELOW THIS LINE ###
if __name__ == '__main__':
#target ='TGATCA'
gene =str('ATCAATGATCAACGTAAGCTTCTAAGCATGATCAAGGTGCTCACACAGTTTATCCACAACCTGAGTGGATGACATCAAGATAGGTCGTTGTATCTCCTTCCTCTCGTACTCTCATGACCACGGAAAGATGATCAAGAGAGGATGATTTCTTGGCCATATCGCAATGAATACTTGTGACTTGTGCTTCCAATTGACATCTTCAGCGCCATATTGCGCTGGCCAAGGTGACGGAGCGGGATTACGAAAGCATGATCATGGCTGTTGTTCTGTTTATCTTGTTTTGACTGAGACTTGTTAGGATAGACGGTTTTTCATCACTGACTAGCCAAAGCCTTACTCTGCCTGACATCGACCGTAAATTGATAATGAATTTACATGCTTCCGCGACGATTTACCTCTTGATCATCGATCCGATTGAAGATCTTCAATTGTTAATTCTCTTGCCTCGACTCATAGCCATGATGAGCTCTTGATCATGTTTCCTTAACCCTCTATTTTTTACGGAAGAATGATCAAGCTGCTGCTCTTGATCATCGTTTC')
#print(PatternCount(target, gene))
#print (CountDict(gene,10))
print (FrequentWords(gene,10))
#print(PatternCount("TGT", "ACTGTACGATGATGTGTGTCAAAG"))
#print(PatternMatching('ATAT','GATATATGCATATACTT'))
# print(SymbolArray('AAAAGGGG','A'))
# print(FasterSymbolArray('AAAAGGGG','A'))
# print(Skew('CATGGGCATCGGCCATACGCC'))
# print(MinimumSkew('CATTCCAGTACTTCGATGATGGCGTGAAGA'))
# print(MinimumSkew('TAAAGACTGCCGAGAGGCCAACACGAGTGCTAGAACGAGGGGCGTAAACGCGGGTCCGAT'))
# print(HammingDistance('GGGCCGTTGGT','GGACCGTTGAC'))
# print(ApproximatePatternMatching('ATTCTGGA','CGCCCGAATCCAGAACGCATTCCCATATTTCGGGACCACTGGCCTCCACGGTACGGACGTCAATCAAAT',3))
# print(ApproximatePatternCount('GAGG','TTTAGAGCCTTCAGAGG',2))
# print(HammingDistance('CTTGAAGTGGACCTCTAGTTCCTCTACAAAGAACAGGTTGACCTGTCGCGAAG','ATGCCTTACCTAGATGCAATGACGGACGTATTCCTTTTGCCTCAACGGCTCCT')) | def pattern_matching(pattern, genome):
positions = []
for i in range(len(genome) - len(pattern) + 1):
if genome[i:i + len(pattern)] == pattern:
positions.append(i)
return positions
def approximate_pattern_matching(pattern, genome, d):
positions = []
for i in range(len(genome) - len(pattern) + 1):
variants = hamming_distance(pattern, genome[i:i + len(pattern)])
if variants <= d:
positions.append(i)
return positions
'\nInput: Strings Pattern and Text\nOutput: The number of times Pattern appears in Text\nPatternCount("ACTAT", "ACAACTATGCATACTATCGGGAACTATCCT") = 3.\n'
def pattern_count(Pattern, Text):
count = 0
for i in range(len(Text) - len(Pattern) + 1):
if Text[i:i + len(Pattern)] == Pattern:
count = count + 1
return count
def approximate_pattern_count(Pattern, Text, d):
count = 0
for i in range(len(Text) - len(Pattern) + 1):
variants = hamming_distance(Pattern, Text[i:i + len(Pattern)])
if variants <= d:
count = count + 1
return count
'\nInput: Strings Text and integer k\nOutput: The dictionary of the count of every k-mer string \nCountDict("CGATATATCCATAG",3) = {0: 1, 1: 1, 2: 3, 3: 2, 4: 3, 5: 2, 6: 1, 7: 1, 8: 1, 9: 1, 10: 3, 11: 1}.\n'
def count_dict(Text, k):
count = {}
for i in range(len(Text) - k + 1):
pattern = Text[i:i + k]
Count[i] = pattern_count(Pattern, Text)
return Count
'\nInput: a list of items\nOutput: the non-duplicate items \nRemove_duplicates([1,2,3,3]) = [1,2,3]\n'
def remove_duplicates(Items):
items_no_duplicates = []
items_no_duplicates = list(set(Items))
return ItemsNoDuplicates
'\nInput: Strings Text and integer k\nOutput: The freqent k-mer \nFrequentWords("GATCCAGATCCCCATAC",2) = "CC".\n'
def frequent_words(Text, k):
frequent_patterns = []
count = count_dict(Text, k)
m = max(Count.values())
for i in Count:
if Count[i] == m:
FrequentPatterns.append(Text[i:i + k])
frequent_patterns_no_duplicates = remove_duplicates(FrequentPatterns)
return FrequentPatternsNoDuplicates
def symbol_array(Genome, symbol):
array = {}
n = len(Genome)
extended_genome = Genome + Genome[0:n // 2]
for i in range(n):
array[i] = pattern_count(symbol, ExtendedGenome[i:i + n // 2])
return array
def faster_symbol_array(Genome, symbol):
array = {}
n = len(Genome)
extended_genome = Genome + Genome[0:n // 2]
array[0] = pattern_count(symbol, Genome[0:n // 2])
for i in range(1, n):
array[i] = array[i - 1]
if ExtendedGenome[i - 1] == symbol:
array[i] = array[i] - 1
if ExtendedGenome[i + n // 2 - 1] == symbol:
array[i] = array[i] + 1
return array
def skew(Genome):
n = len(Genome)
skew = {}
skew[0] = 0
for i in range(1, n + 1):
skew[i] = skew[i - 1]
if Genome[i - 1] == 'G':
skew[i] = skew[i] + 1
if Genome[i - 1] == 'C':
skew[i] = skew[i] - 1
return skew
def minimum_skew(Genome):
positions = []
a_skew = skew(Genome)
values = list(a_skew.values())
min_value = min(values)
for i in range(len(a_skew)):
if a_skew[i] == min_value:
positions.append(i)
return positions
def hamming_distance(p, q):
m = len(p)
n = len(q)
result = 0
if m != n:
return result
else:
for i in range(n):
if p[i] != q[i]:
result = result + 1
return result
if __name__ == '__main__':
gene = str('ATCAATGATCAACGTAAGCTTCTAAGCATGATCAAGGTGCTCACACAGTTTATCCACAACCTGAGTGGATGACATCAAGATAGGTCGTTGTATCTCCTTCCTCTCGTACTCTCATGACCACGGAAAGATGATCAAGAGAGGATGATTTCTTGGCCATATCGCAATGAATACTTGTGACTTGTGCTTCCAATTGACATCTTCAGCGCCATATTGCGCTGGCCAAGGTGACGGAGCGGGATTACGAAAGCATGATCATGGCTGTTGTTCTGTTTATCTTGTTTTGACTGAGACTTGTTAGGATAGACGGTTTTTCATCACTGACTAGCCAAAGCCTTACTCTGCCTGACATCGACCGTAAATTGATAATGAATTTACATGCTTCCGCGACGATTTACCTCTTGATCATCGATCCGATTGAAGATCTTCAATTGTTAATTCTCTTGCCTCGACTCATAGCCATGATGAGCTCTTGATCATGTTTCCTTAACCCTCTATTTTTTACGGAAGAATGATCAAGCTGCTGCTCTTGATCATCGTTTC')
print(frequent_words(gene, 10)) |
def encodenum(num):
num = str(num)
line =""
for c in num:
line += chr(int(c) + ord('a'))
return line
def decodenum(line):
num = ""
for c in line:
num += str(ord(c)-ord('a'))
return num | def encodenum(num):
num = str(num)
line = ''
for c in num:
line += chr(int(c) + ord('a'))
return line
def decodenum(line):
num = ''
for c in line:
num += str(ord(c) - ord('a'))
return num |
class exemplo():
def __init__(self):
pass
def thg_print(darkcode):
print(darkcode)
| class Exemplo:
def __init__(self):
pass
def thg_print(darkcode):
print(darkcode) |
class Foo():
_myprop = 3
@property
def myprop(self):
return self.__class__._myprop
@myprop.setter
def myprop(self, val):
self.__class__._myprop = val
f = Foo()
g = Foo()
print(f.myprop, g.myprop)
f.myprop = 4
print(f.myprop, g.myprop)
| class Foo:
_myprop = 3
@property
def myprop(self):
return self.__class__._myprop
@myprop.setter
def myprop(self, val):
self.__class__._myprop = val
f = foo()
g = foo()
print(f.myprop, g.myprop)
f.myprop = 4
print(f.myprop, g.myprop) |
#author: Lynijah
# date: 07-01-2021
def blank():
return print(" ")
# --------------- Section 1 --------------- #
# ---------- Integers and Floats ---------- #
# you may use floats or integers for these operations, it is at your discretion
# addition
# instructions
# 1 - create a print statement that prints the sum of two numbers
# 2 - create a print statement that prints the sum of three numbers
# 3 - create a print statement the prints the sum of two negative numbers
print("Addition Section")
print(2006+2000)
print(2000+9000+4)
print(-4 + -7)
blank()
# subtraction
# instructions
# 1 - create a print statement that prints the difference of two numbers
# 2 - create a print statement that prints the difference of three numbers
# 3 - create a print statement the prints the difference of two negative numbers
print("Subtraction Section")
print(2006-2000)
print(2000-10-90)
print(-4 - -7)
blank()
# multiplication and true division
# instructions
# 1 - create a print statement the prints the product of two numbers
# 2 - create a print statement that prints the dividend of two numbers
# 3 - create a print statement that evaluates an operation using both multiplication and division
print("Multiplication And True Division Section")
print(6*2000)
print(2000/9)
print(5*8/2)
blank()
# floor division
# instructions
# 1 - using floor division, print the dividend of two numbers.
print("Floor Division Section")
print(200//9)
blank()
# exponentiation
# instructions
# 1 - using exponentiation, print the power of two numbers
print("Exponent Section")
print(50**11)
blank()
# modulus
# instructions
# 1 - using modulus, print the remainder of two numbers
print("Modulus Section")
print(1083108323%22)
# --------------- Section 2 --------------- #
# ---------- String Concatenation --------- #
# concatenation
# instructions
# 1 - print the concatenation of your first and last name
print(" ")
print("Name")
x = "Lynijah "
y = "Russell"
z = x + y
print(z)
print(" ")
# 2 - print the concatenation of five animals you like
a = "Cats "
b = "Dogs "
c = "Bunnies "
d = "Merecats "
e = "Ducks"
f = a+b+c+d+e
print(f)
# 3 - print the concatenation of each word in a phrase
print(" ")
print("My name is", x , y, "and my favorite animals are", a,",",c,",",d,",",e)
# duplication
# instructions
# 1 - print the duplpication of your first 5 times
print(" ")
print("Duplication")
print("Lynijah"*5)
# 2 - print the duplication of a song you like 10 times
print("I'm not pretty"*10)
print(" ")
# concatenation and duplpication
# instructions
print("Concatenation")
# 1 - print the concatenation of two strings duplicated 3 times each
print("hey gurllll "*3 + "MWUHAHAHAHAHHAHAHAH "*3)
| def blank():
return print(' ')
print('Addition Section')
print(2006 + 2000)
print(2000 + 9000 + 4)
print(-4 + -7)
blank()
print('Subtraction Section')
print(2006 - 2000)
print(2000 - 10 - 90)
print(-4 - -7)
blank()
print('Multiplication And True Division Section')
print(6 * 2000)
print(2000 / 9)
print(5 * 8 / 2)
blank()
print('Floor Division Section')
print(200 // 9)
blank()
print('Exponent Section')
print(50 ** 11)
blank()
print('Modulus Section')
print(1083108323 % 22)
print(' ')
print('Name')
x = 'Lynijah '
y = 'Russell'
z = x + y
print(z)
print(' ')
a = 'Cats '
b = 'Dogs '
c = 'Bunnies '
d = 'Merecats '
e = 'Ducks'
f = a + b + c + d + e
print(f)
print(' ')
print('My name is', x, y, 'and my favorite animals are', a, ',', c, ',', d, ',', e)
print(' ')
print('Duplication')
print('Lynijah' * 5)
print("I'm not pretty" * 10)
print(' ')
print('Concatenation')
print('hey gurllll ' * 3 + 'MWUHAHAHAHAHHAHAHAH ' * 3) |
class RemoteError(Exception):
"""A base class for all remote's custom exception"""
class RemoteConnectionError(RemoteError):
"""Remote wasn't able to connect to remote host"""
class RemoteExecutionError(RemoteError):
"""A command executed remotely exited with non-zero status"""
class ConfigurationError(RemoteError):
"""The workspace configuration is incorrect"""
class InvalidInputError(RemoteError):
"""Invalid user input is passed from the cli"""
class InvalidRemoteHostLabel(RemoteError):
"""Invalid label is passed to the workspace."""
| class Remoteerror(Exception):
"""A base class for all remote's custom exception"""
class Remoteconnectionerror(RemoteError):
"""Remote wasn't able to connect to remote host"""
class Remoteexecutionerror(RemoteError):
"""A command executed remotely exited with non-zero status"""
class Configurationerror(RemoteError):
"""The workspace configuration is incorrect"""
class Invalidinputerror(RemoteError):
"""Invalid user input is passed from the cli"""
class Invalidremotehostlabel(RemoteError):
"""Invalid label is passed to the workspace.""" |
#
# PySNMP MIB module CISCO-ENTITY-REDUNDANCY-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ENTITY-REDUNDANCY-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:39:51 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint")
CeRedunSwitchCommand, CeRedunReasonCategories, CeRedunType, CeRedunStateCategories, CeRedunScope, CeRedunMode, CeRedunMbrStatus, CeRedunArch = mibBuilder.importSymbols("CISCO-ENTITY-REDUNDANCY-TC-MIB", "CeRedunSwitchCommand", "CeRedunReasonCategories", "CeRedunType", "CeRedunStateCategories", "CeRedunScope", "CeRedunMode", "CeRedunMbrStatus", "CeRedunArch")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
PhysicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndex")
InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
Counter64, ModuleIdentity, TimeTicks, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Bits, iso, Gauge32, Unsigned32, NotificationType, ObjectIdentity, IpAddress, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "ModuleIdentity", "TimeTicks", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Bits", "iso", "Gauge32", "Unsigned32", "NotificationType", "ObjectIdentity", "IpAddress", "Integer32")
TimeStamp, DisplayString, TextualConvention, RowStatus, TruthValue, StorageType, AutonomousType = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "DisplayString", "TextualConvention", "RowStatus", "TruthValue", "StorageType", "AutonomousType")
ciscoEntityRedunMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 498))
ciscoEntityRedunMIB.setRevisions(('2005-10-01 00:00',))
if mibBuilder.loadTexts: ciscoEntityRedunMIB.setLastUpdated('200510010000Z')
if mibBuilder.loadTexts: ciscoEntityRedunMIB.setOrganization('Cisco Systems, Inc.')
ciscoEntityRedunMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 0))
ciscoEntityRedunMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 1))
ciscoEntityRedunMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 2))
ceRedunGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1))
ceRedunGroupTypesTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1), )
if mibBuilder.loadTexts: ceRedunGroupTypesTable.setStatus('current')
ceRedunGroupTypesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"))
if mibBuilder.loadTexts: ceRedunGroupTypesEntry.setStatus('current')
ceRedunGroupTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 1), Unsigned32())
if mibBuilder.loadTexts: ceRedunGroupTypeIndex.setStatus('current')
ceRedunGroupTypeName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunGroupTypeName.setStatus('current')
ceRedunGroupCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 3), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunGroupCounts.setStatus('current')
ceRedunNextUnusedGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunNextUnusedGroupIndex.setStatus('current')
ceRedunMaxMbrsInGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMaxMbrsInGroup.setStatus('current')
ceRedunUsesGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 6), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunUsesGroupName.setStatus('current')
ceRedunGroupDefinitionChanged = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 7), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunGroupDefinitionChanged.setStatus('current')
ceRedunVendorTypesTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 2), )
if mibBuilder.loadTexts: ceRedunVendorTypesTable.setStatus('current')
ceRedunVendorTypesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunVendorType"))
if mibBuilder.loadTexts: ceRedunVendorTypesEntry.setStatus('current')
ceRedunVendorType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 2, 1, 1), AutonomousType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunVendorType.setStatus('current')
ceRedunInternalStatesTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3), )
if mibBuilder.loadTexts: ceRedunInternalStatesTable.setStatus('current')
ceRedunInternalStatesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunInternalStateIndex"))
if mibBuilder.loadTexts: ceRedunInternalStatesEntry.setStatus('current')
ceRedunInternalStateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1, 1), Unsigned32())
if mibBuilder.loadTexts: ceRedunInternalStateIndex.setStatus('current')
ceRedunStateCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1, 2), CeRedunStateCategories()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunStateCategory.setStatus('current')
ceRedunInternalStateDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunInternalStateDescr.setStatus('current')
ceRedunSwitchoverReasonTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4), )
if mibBuilder.loadTexts: ceRedunSwitchoverReasonTable.setStatus('current')
ceRedunSwitchoverReasonEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunSwitchoverReasonIndex"))
if mibBuilder.loadTexts: ceRedunSwitchoverReasonEntry.setStatus('current')
ceRedunSwitchoverReasonIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1, 1), Unsigned32())
if mibBuilder.loadTexts: ceRedunSwitchoverReasonIndex.setStatus('current')
ceRedunReasonCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1, 2), CeRedunReasonCategories()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunReasonCategory.setStatus('current')
ceRedunSwitchoverReasonDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunSwitchoverReasonDescr.setStatus('current')
ceRedunGroupLastChanged = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 5), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunGroupLastChanged.setStatus('current')
ceRedunGroupTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6), )
if mibBuilder.loadTexts: ceRedunGroupTable.setStatus('current')
ceRedunGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupIndex"))
if mibBuilder.loadTexts: ceRedunGroupEntry.setStatus('current')
ceRedunGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 1), Unsigned32())
if mibBuilder.loadTexts: ceRedunGroupIndex.setStatus('current')
ceRedunGroupString = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 2), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupString.setStatus('current')
ceRedunGroupRedunType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 3), CeRedunType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupRedunType.setStatus('current')
ceRedunGroupScope = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 4), CeRedunScope().clone('local')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupScope.setStatus('current')
ceRedunGroupArch = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 5), CeRedunArch().clone('onePlusOne')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupArch.setStatus('current')
ceRedunGroupRevert = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("nonrevertive", 1), ("revertive", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupRevert.setStatus('current')
ceRedunGroupWaitToRestore = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 7), Unsigned32().clone(300)).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupWaitToRestore.setStatus('current')
ceRedunGroupDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unidirectional", 1), ("bidirectional", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupDirection.setStatus('current')
ceRedunGroupStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 9), StorageType().clone('volatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupStorageType.setStatus('current')
ceRedunGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 10), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunGroupRowStatus.setStatus('current')
ceRedunMembers = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2))
ceRedunMbrLastChanged = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 1), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrLastChanged.setStatus('current')
ceRedunMbrConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2), )
if mibBuilder.loadTexts: ceRedunMbrConfigTable.setStatus('current')
ceRedunMbrConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrNumber"))
if mibBuilder.loadTexts: ceRedunMbrConfigEntry.setStatus('current')
ceRedunMbrNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 1), Unsigned32())
if mibBuilder.loadTexts: ceRedunMbrNumber.setStatus('current')
ceRedunMbrPhysIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 2), PhysicalIndex()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrPhysIndex.setStatus('current')
ceRedunMbrMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 3), CeRedunMode()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrMode.setStatus('current')
ceRedunMbrAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 4), InetAddressType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrAddressType.setStatus('current')
ceRedunMbrRemoteAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 5), InetAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrRemoteAddress.setStatus('current')
ceRedunMbrPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("low", 1), ("high", 2))).clone('low')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrPriority.setStatus('current')
ceRedunMbrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 8), StorageType().clone('volatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrStorageType.setStatus('current')
ceRedunMbrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 9), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ceRedunMbrRowStatus.setStatus('current')
ceRedunMbrStatusLastChanged = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 3), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrStatusLastChanged.setStatus('current')
ceRedunMbrStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4), )
if mibBuilder.loadTexts: ceRedunMbrStatusTable.setStatus('current')
ceRedunMbrStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1), )
ceRedunMbrConfigEntry.registerAugmentions(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrStatusEntry"))
ceRedunMbrStatusEntry.setIndexNames(*ceRedunMbrConfigEntry.getIndexNames())
if mibBuilder.loadTexts: ceRedunMbrStatusEntry.setStatus('current')
ceRedunMbrStatusCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 1), CeRedunMbrStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrStatusCurrent.setStatus('current')
ceRedunMbrProtectingMbr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrProtectingMbr.setStatus('current')
ceRedunMbrInternalState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrInternalState.setStatus('current')
ceRedunMbrSwitchoverCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 4), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrSwitchoverCounts.setStatus('current')
ceRedunMbrLastSwitchover = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 5), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrLastSwitchover.setStatus('current')
ceRedunMbrSwitchoverReason = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrSwitchoverReason.setStatus('current')
ceRedunMbrSwitchoverSeconds = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ceRedunMbrSwitchoverSeconds.setStatus('current')
ceRedunCommandTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3), )
if mibBuilder.loadTexts: ceRedunCommandTable.setStatus('current')
ceRedunCommandEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3, 1), ).setIndexNames((0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeIndex"), (0, "CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupIndex"))
if mibBuilder.loadTexts: ceRedunCommandEntry.setStatus('current')
ceRedunCommandMbrNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ceRedunCommandMbrNumber.setStatus('current')
ceRedunCommandSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3, 1, 2), CeRedunSwitchCommand()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ceRedunCommandSwitch.setStatus('current')
ceRedunEnableSwitchoverNotifs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ceRedunEnableSwitchoverNotifs.setStatus('current')
ceRedunEnableStatusChangeNotifs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ceRedunEnableStatusChangeNotifs.setStatus('current')
ceRedunEventSwitchover = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 498, 0, 1)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrProtectingMbr"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrStatusCurrent"))
if mibBuilder.loadTexts: ceRedunEventSwitchover.setStatus('current')
ceRedunProtectStatusChange = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 498, 0, 2)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrStatusCurrent"))
if mibBuilder.loadTexts: ceRedunProtectStatusChange.setStatus('current')
ceRedunCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 1))
ceRedunGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2))
ceRedunCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 1, 1)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeGroup"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupObjects"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMemberConfig"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMemberStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunCompliance = ceRedunCompliance.setStatus('current')
ceRedunGroupTypeGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 1)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunNextUnusedGroupIndex"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMaxMbrsInGroup"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunUsesGroupName"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupDefinitionChanged"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunGroupTypeGroup = ceRedunGroupTypeGroup.setStatus('current')
ceRedunOptionalGroupTypes = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 2)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupTypeName"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupCounts"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunOptionalGroupTypes = ceRedunOptionalGroupTypes.setStatus('current')
ceRedunInternalStates = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 3)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunStateCategory"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunInternalStateDescr"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunInternalStates = ceRedunInternalStates.setStatus('current')
ceRedunSwitchoverReason = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 4)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunReasonCategory"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunSwitchoverReasonDescr"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunSwitchoverReason = ceRedunSwitchoverReason.setStatus('current')
ceRedunGroupObjects = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 5)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupLastChanged"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupString"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupRedunType"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupScope"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupArch"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupStorageType"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunGroupObjects = ceRedunGroupObjects.setStatus('current')
ceRedunRevertiveGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 6)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupRevert"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupWaitToRestore"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunRevertiveGroup = ceRedunRevertiveGroup.setStatus('current')
ceRedunBidirectional = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 7)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunGroupDirection"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunBidirectional = ceRedunBidirectional.setStatus('current')
ceRedunMemberConfig = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 8)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrLastChanged"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrPhysIndex"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrMode"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrStorageType"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunMemberConfig = ceRedunMemberConfig.setStatus('current')
ceRedunRemoteSystem = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 9)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrAddressType"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrRemoteAddress"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunRemoteSystem = ceRedunRemoteSystem.setStatus('current')
ceRedunOneToN = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 10)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunOneToN = ceRedunOneToN.setStatus('current')
ceRedunMemberStatus = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 11)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrStatusLastChanged"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrStatusCurrent"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrProtectingMbr"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrSwitchoverCounts"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrLastSwitchover"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunMemberStatus = ceRedunMemberStatus.setStatus('current')
ceRedunOptionalMbrStatus = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 12)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrInternalState"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrSwitchoverReason"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunMbrSwitchoverSeconds"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunOptionalMbrStatus = ceRedunOptionalMbrStatus.setStatus('current')
ceRedunCommandsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 13)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunCommandMbrNumber"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunCommandSwitch"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunCommandsGroup = ceRedunCommandsGroup.setStatus('current')
ceRedunNotifEnables = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 14)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunEnableSwitchoverNotifs"), ("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunEnableStatusChangeNotifs"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunNotifEnables = ceRedunNotifEnables.setStatus('current')
ceRedunSwitchNotifGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 15)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunEventSwitchover"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunSwitchNotifGroup = ceRedunSwitchNotifGroup.setStatus('current')
ceRedunProtectStatusNotifGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 16)).setObjects(("CISCO-ENTITY-REDUNDANCY-MIB", "ceRedunProtectStatusChange"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ceRedunProtectStatusNotifGroup = ceRedunProtectStatusNotifGroup.setStatus('current')
mibBuilder.exportSymbols("CISCO-ENTITY-REDUNDANCY-MIB", ceRedunCompliance=ceRedunCompliance, ceRedunSwitchoverReasonDescr=ceRedunSwitchoverReasonDescr, ceRedunMbrInternalState=ceRedunMbrInternalState, ceRedunUsesGroupName=ceRedunUsesGroupName, ceRedunSwitchoverReason=ceRedunSwitchoverReason, ceRedunEnableSwitchoverNotifs=ceRedunEnableSwitchoverNotifs, ceRedunGroups=ceRedunGroups, ceRedunGroup=ceRedunGroup, ciscoEntityRedunMIB=ciscoEntityRedunMIB, ceRedunStateCategory=ceRedunStateCategory, ceRedunGroupScope=ceRedunGroupScope, ceRedunGroupTypesTable=ceRedunGroupTypesTable, ceRedunMbrRowStatus=ceRedunMbrRowStatus, ceRedunCommandTable=ceRedunCommandTable, ceRedunCommandMbrNumber=ceRedunCommandMbrNumber, PYSNMP_MODULE_ID=ciscoEntityRedunMIB, ciscoEntityRedunMIBObjects=ciscoEntityRedunMIBObjects, ceRedunRevertiveGroup=ceRedunRevertiveGroup, ceRedunInternalStateDescr=ceRedunInternalStateDescr, ceRedunMbrSwitchoverReason=ceRedunMbrSwitchoverReason, ceRedunNextUnusedGroupIndex=ceRedunNextUnusedGroupIndex, ceRedunMbrLastChanged=ceRedunMbrLastChanged, ceRedunGroupStorageType=ceRedunGroupStorageType, ceRedunMaxMbrsInGroup=ceRedunMaxMbrsInGroup, ceRedunSwitchoverReasonEntry=ceRedunSwitchoverReasonEntry, ceRedunSwitchoverReasonIndex=ceRedunSwitchoverReasonIndex, ceRedunGroupObjects=ceRedunGroupObjects, ceRedunOneToN=ceRedunOneToN, ceRedunCommandSwitch=ceRedunCommandSwitch, ceRedunSwitchoverReasonTable=ceRedunSwitchoverReasonTable, ceRedunGroupCounts=ceRedunGroupCounts, ceRedunEnableStatusChangeNotifs=ceRedunEnableStatusChangeNotifs, ceRedunProtectStatusChange=ceRedunProtectStatusChange, ceRedunVendorTypesTable=ceRedunVendorTypesTable, ceRedunMbrStatusCurrent=ceRedunMbrStatusCurrent, ceRedunGroupArch=ceRedunGroupArch, ceRedunEventSwitchover=ceRedunEventSwitchover, ceRedunNotifEnables=ceRedunNotifEnables, ceRedunGroupDirection=ceRedunGroupDirection, ceRedunVendorTypesEntry=ceRedunVendorTypesEntry, ceRedunGroupRedunType=ceRedunGroupRedunType, ceRedunInternalStates=ceRedunInternalStates, ceRedunGroupEntry=ceRedunGroupEntry, ceRedunGroupTable=ceRedunGroupTable, ceRedunMbrAddressType=ceRedunMbrAddressType, ceRedunReasonCategory=ceRedunReasonCategory, ceRedunGroupWaitToRestore=ceRedunGroupWaitToRestore, ceRedunMbrConfigTable=ceRedunMbrConfigTable, ceRedunOptionalMbrStatus=ceRedunOptionalMbrStatus, ceRedunInternalStateIndex=ceRedunInternalStateIndex, ceRedunGroupTypeIndex=ceRedunGroupTypeIndex, ceRedunGroupRevert=ceRedunGroupRevert, ceRedunMbrConfigEntry=ceRedunMbrConfigEntry, ceRedunCompliances=ceRedunCompliances, ceRedunMemberStatus=ceRedunMemberStatus, ciscoEntityRedunMIBConform=ciscoEntityRedunMIBConform, ceRedunMbrStorageType=ceRedunMbrStorageType, ceRedunMbrPriority=ceRedunMbrPriority, ceRedunInternalStatesTable=ceRedunInternalStatesTable, ceRedunMbrMode=ceRedunMbrMode, ceRedunMbrSwitchoverSeconds=ceRedunMbrSwitchoverSeconds, ceRedunCommandsGroup=ceRedunCommandsGroup, ceRedunOptionalGroupTypes=ceRedunOptionalGroupTypes, ceRedunMbrProtectingMbr=ceRedunMbrProtectingMbr, ceRedunGroupTypeName=ceRedunGroupTypeName, ceRedunRemoteSystem=ceRedunRemoteSystem, ceRedunInternalStatesEntry=ceRedunInternalStatesEntry, ceRedunGroupIndex=ceRedunGroupIndex, ceRedunGroupTypesEntry=ceRedunGroupTypesEntry, ceRedunBidirectional=ceRedunBidirectional, ceRedunMbrLastSwitchover=ceRedunMbrLastSwitchover, ceRedunMbrSwitchoverCounts=ceRedunMbrSwitchoverCounts, ceRedunMbrRemoteAddress=ceRedunMbrRemoteAddress, ceRedunProtectStatusNotifGroup=ceRedunProtectStatusNotifGroup, ceRedunMbrPhysIndex=ceRedunMbrPhysIndex, ceRedunVendorType=ceRedunVendorType, ceRedunGroupRowStatus=ceRedunGroupRowStatus, ceRedunGroupTypeGroup=ceRedunGroupTypeGroup, ceRedunMbrStatusLastChanged=ceRedunMbrStatusLastChanged, ceRedunSwitchNotifGroup=ceRedunSwitchNotifGroup, ceRedunGroupString=ceRedunGroupString, ciscoEntityRedunMIBNotifs=ciscoEntityRedunMIBNotifs, ceRedunMbrStatusTable=ceRedunMbrStatusTable, ceRedunMbrStatusEntry=ceRedunMbrStatusEntry, ceRedunMembers=ceRedunMembers, ceRedunMbrNumber=ceRedunMbrNumber, ceRedunGroupLastChanged=ceRedunGroupLastChanged, ceRedunGroupDefinitionChanged=ceRedunGroupDefinitionChanged, ceRedunCommandEntry=ceRedunCommandEntry, ceRedunMemberConfig=ceRedunMemberConfig)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_union, constraints_intersection, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint')
(ce_redun_switch_command, ce_redun_reason_categories, ce_redun_type, ce_redun_state_categories, ce_redun_scope, ce_redun_mode, ce_redun_mbr_status, ce_redun_arch) = mibBuilder.importSymbols('CISCO-ENTITY-REDUNDANCY-TC-MIB', 'CeRedunSwitchCommand', 'CeRedunReasonCategories', 'CeRedunType', 'CeRedunStateCategories', 'CeRedunScope', 'CeRedunMode', 'CeRedunMbrStatus', 'CeRedunArch')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(physical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'PhysicalIndex')
(inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance')
(counter64, module_identity, time_ticks, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, bits, iso, gauge32, unsigned32, notification_type, object_identity, ip_address, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'ModuleIdentity', 'TimeTicks', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Bits', 'iso', 'Gauge32', 'Unsigned32', 'NotificationType', 'ObjectIdentity', 'IpAddress', 'Integer32')
(time_stamp, display_string, textual_convention, row_status, truth_value, storage_type, autonomous_type) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeStamp', 'DisplayString', 'TextualConvention', 'RowStatus', 'TruthValue', 'StorageType', 'AutonomousType')
cisco_entity_redun_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 498))
ciscoEntityRedunMIB.setRevisions(('2005-10-01 00:00',))
if mibBuilder.loadTexts:
ciscoEntityRedunMIB.setLastUpdated('200510010000Z')
if mibBuilder.loadTexts:
ciscoEntityRedunMIB.setOrganization('Cisco Systems, Inc.')
cisco_entity_redun_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 0))
cisco_entity_redun_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 1))
cisco_entity_redun_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 2))
ce_redun_group = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1))
ce_redun_group_types_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1))
if mibBuilder.loadTexts:
ceRedunGroupTypesTable.setStatus('current')
ce_redun_group_types_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'))
if mibBuilder.loadTexts:
ceRedunGroupTypesEntry.setStatus('current')
ce_redun_group_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 1), unsigned32())
if mibBuilder.loadTexts:
ceRedunGroupTypeIndex.setStatus('current')
ce_redun_group_type_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 2), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunGroupTypeName.setStatus('current')
ce_redun_group_counts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 3), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunGroupCounts.setStatus('current')
ce_redun_next_unused_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 4), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunNextUnusedGroupIndex.setStatus('current')
ce_redun_max_mbrs_in_group = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMaxMbrsInGroup.setStatus('current')
ce_redun_uses_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 6), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunUsesGroupName.setStatus('current')
ce_redun_group_definition_changed = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 1, 1, 7), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunGroupDefinitionChanged.setStatus('current')
ce_redun_vendor_types_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 2))
if mibBuilder.loadTexts:
ceRedunVendorTypesTable.setStatus('current')
ce_redun_vendor_types_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunVendorType'))
if mibBuilder.loadTexts:
ceRedunVendorTypesEntry.setStatus('current')
ce_redun_vendor_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 2, 1, 1), autonomous_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunVendorType.setStatus('current')
ce_redun_internal_states_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3))
if mibBuilder.loadTexts:
ceRedunInternalStatesTable.setStatus('current')
ce_redun_internal_states_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunInternalStateIndex'))
if mibBuilder.loadTexts:
ceRedunInternalStatesEntry.setStatus('current')
ce_redun_internal_state_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1, 1), unsigned32())
if mibBuilder.loadTexts:
ceRedunInternalStateIndex.setStatus('current')
ce_redun_state_category = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1, 2), ce_redun_state_categories()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunStateCategory.setStatus('current')
ce_redun_internal_state_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 3, 1, 3), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunInternalStateDescr.setStatus('current')
ce_redun_switchover_reason_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4))
if mibBuilder.loadTexts:
ceRedunSwitchoverReasonTable.setStatus('current')
ce_redun_switchover_reason_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunSwitchoverReasonIndex'))
if mibBuilder.loadTexts:
ceRedunSwitchoverReasonEntry.setStatus('current')
ce_redun_switchover_reason_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1, 1), unsigned32())
if mibBuilder.loadTexts:
ceRedunSwitchoverReasonIndex.setStatus('current')
ce_redun_reason_category = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1, 2), ce_redun_reason_categories()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunReasonCategory.setStatus('current')
ce_redun_switchover_reason_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 4, 1, 3), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunSwitchoverReasonDescr.setStatus('current')
ce_redun_group_last_changed = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 5), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunGroupLastChanged.setStatus('current')
ce_redun_group_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6))
if mibBuilder.loadTexts:
ceRedunGroupTable.setStatus('current')
ce_redun_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupIndex'))
if mibBuilder.loadTexts:
ceRedunGroupEntry.setStatus('current')
ce_redun_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 1), unsigned32())
if mibBuilder.loadTexts:
ceRedunGroupIndex.setStatus('current')
ce_redun_group_string = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 2), snmp_admin_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupString.setStatus('current')
ce_redun_group_redun_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 3), ce_redun_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupRedunType.setStatus('current')
ce_redun_group_scope = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 4), ce_redun_scope().clone('local')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupScope.setStatus('current')
ce_redun_group_arch = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 5), ce_redun_arch().clone('onePlusOne')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupArch.setStatus('current')
ce_redun_group_revert = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('nonrevertive', 1), ('revertive', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupRevert.setStatus('current')
ce_redun_group_wait_to_restore = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 7), unsigned32().clone(300)).setUnits('seconds').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupWaitToRestore.setStatus('current')
ce_redun_group_direction = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unidirectional', 1), ('bidirectional', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupDirection.setStatus('current')
ce_redun_group_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 9), storage_type().clone('volatile')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupStorageType.setStatus('current')
ce_redun_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 1, 6, 1, 10), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunGroupRowStatus.setStatus('current')
ce_redun_members = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2))
ce_redun_mbr_last_changed = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 1), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrLastChanged.setStatus('current')
ce_redun_mbr_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2))
if mibBuilder.loadTexts:
ceRedunMbrConfigTable.setStatus('current')
ce_redun_mbr_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrNumber'))
if mibBuilder.loadTexts:
ceRedunMbrConfigEntry.setStatus('current')
ce_redun_mbr_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 1), unsigned32())
if mibBuilder.loadTexts:
ceRedunMbrNumber.setStatus('current')
ce_redun_mbr_phys_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 2), physical_index()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrPhysIndex.setStatus('current')
ce_redun_mbr_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 3), ce_redun_mode()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrMode.setStatus('current')
ce_redun_mbr_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 4), inet_address_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrAddressType.setStatus('current')
ce_redun_mbr_remote_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 5), inet_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrRemoteAddress.setStatus('current')
ce_redun_mbr_priority = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('low', 1), ('high', 2))).clone('low')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrPriority.setStatus('current')
ce_redun_mbr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 8), storage_type().clone('volatile')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrStorageType.setStatus('current')
ce_redun_mbr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 2, 1, 9), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ceRedunMbrRowStatus.setStatus('current')
ce_redun_mbr_status_last_changed = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 3), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrStatusLastChanged.setStatus('current')
ce_redun_mbr_status_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4))
if mibBuilder.loadTexts:
ceRedunMbrStatusTable.setStatus('current')
ce_redun_mbr_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1))
ceRedunMbrConfigEntry.registerAugmentions(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrStatusEntry'))
ceRedunMbrStatusEntry.setIndexNames(*ceRedunMbrConfigEntry.getIndexNames())
if mibBuilder.loadTexts:
ceRedunMbrStatusEntry.setStatus('current')
ce_redun_mbr_status_current = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 1), ce_redun_mbr_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrStatusCurrent.setStatus('current')
ce_redun_mbr_protecting_mbr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrProtectingMbr.setStatus('current')
ce_redun_mbr_internal_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 3), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrInternalState.setStatus('current')
ce_redun_mbr_switchover_counts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 4), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrSwitchoverCounts.setStatus('current')
ce_redun_mbr_last_switchover = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 5), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrLastSwitchover.setStatus('current')
ce_redun_mbr_switchover_reason = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 6), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrSwitchoverReason.setStatus('current')
ce_redun_mbr_switchover_seconds = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 2, 4, 1, 8), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ceRedunMbrSwitchoverSeconds.setStatus('current')
ce_redun_command_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3))
if mibBuilder.loadTexts:
ceRedunCommandTable.setStatus('current')
ce_redun_command_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3, 1)).setIndexNames((0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeIndex'), (0, 'CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupIndex'))
if mibBuilder.loadTexts:
ceRedunCommandEntry.setStatus('current')
ce_redun_command_mbr_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(-1, 2147483647))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ceRedunCommandMbrNumber.setStatus('current')
ce_redun_command_switch = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 3, 1, 2), ce_redun_switch_command()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ceRedunCommandSwitch.setStatus('current')
ce_redun_enable_switchover_notifs = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 4), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ceRedunEnableSwitchoverNotifs.setStatus('current')
ce_redun_enable_status_change_notifs = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 498, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ceRedunEnableStatusChangeNotifs.setStatus('current')
ce_redun_event_switchover = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 498, 0, 1)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrProtectingMbr'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrStatusCurrent'))
if mibBuilder.loadTexts:
ceRedunEventSwitchover.setStatus('current')
ce_redun_protect_status_change = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 498, 0, 2)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrStatusCurrent'))
if mibBuilder.loadTexts:
ceRedunProtectStatusChange.setStatus('current')
ce_redun_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 1))
ce_redun_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2))
ce_redun_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 1, 1)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeGroup'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupObjects'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMemberConfig'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMemberStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_compliance = ceRedunCompliance.setStatus('current')
ce_redun_group_type_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 1)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunNextUnusedGroupIndex'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMaxMbrsInGroup'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunUsesGroupName'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupDefinitionChanged'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_group_type_group = ceRedunGroupTypeGroup.setStatus('current')
ce_redun_optional_group_types = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 2)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupTypeName'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupCounts'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_optional_group_types = ceRedunOptionalGroupTypes.setStatus('current')
ce_redun_internal_states = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 3)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunStateCategory'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunInternalStateDescr'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_internal_states = ceRedunInternalStates.setStatus('current')
ce_redun_switchover_reason = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 4)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunReasonCategory'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunSwitchoverReasonDescr'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_switchover_reason = ceRedunSwitchoverReason.setStatus('current')
ce_redun_group_objects = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 5)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupLastChanged'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupString'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupRedunType'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupScope'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupArch'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupStorageType'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_group_objects = ceRedunGroupObjects.setStatus('current')
ce_redun_revertive_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 6)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupRevert'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupWaitToRestore'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_revertive_group = ceRedunRevertiveGroup.setStatus('current')
ce_redun_bidirectional = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 7)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunGroupDirection'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_bidirectional = ceRedunBidirectional.setStatus('current')
ce_redun_member_config = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 8)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrLastChanged'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrPhysIndex'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrMode'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrStorageType'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_member_config = ceRedunMemberConfig.setStatus('current')
ce_redun_remote_system = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 9)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrAddressType'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrRemoteAddress'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_remote_system = ceRedunRemoteSystem.setStatus('current')
ce_redun_one_to_n = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 10)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_one_to_n = ceRedunOneToN.setStatus('current')
ce_redun_member_status = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 11)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrStatusLastChanged'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrStatusCurrent'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrProtectingMbr'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrSwitchoverCounts'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrLastSwitchover'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_member_status = ceRedunMemberStatus.setStatus('current')
ce_redun_optional_mbr_status = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 12)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrInternalState'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrSwitchoverReason'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunMbrSwitchoverSeconds'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_optional_mbr_status = ceRedunOptionalMbrStatus.setStatus('current')
ce_redun_commands_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 13)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunCommandMbrNumber'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunCommandSwitch'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_commands_group = ceRedunCommandsGroup.setStatus('current')
ce_redun_notif_enables = object_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 14)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunEnableSwitchoverNotifs'), ('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunEnableStatusChangeNotifs'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_notif_enables = ceRedunNotifEnables.setStatus('current')
ce_redun_switch_notif_group = notification_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 15)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunEventSwitchover'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_switch_notif_group = ceRedunSwitchNotifGroup.setStatus('current')
ce_redun_protect_status_notif_group = notification_group((1, 3, 6, 1, 4, 1, 9, 9, 498, 2, 2, 16)).setObjects(('CISCO-ENTITY-REDUNDANCY-MIB', 'ceRedunProtectStatusChange'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ce_redun_protect_status_notif_group = ceRedunProtectStatusNotifGroup.setStatus('current')
mibBuilder.exportSymbols('CISCO-ENTITY-REDUNDANCY-MIB', ceRedunCompliance=ceRedunCompliance, ceRedunSwitchoverReasonDescr=ceRedunSwitchoverReasonDescr, ceRedunMbrInternalState=ceRedunMbrInternalState, ceRedunUsesGroupName=ceRedunUsesGroupName, ceRedunSwitchoverReason=ceRedunSwitchoverReason, ceRedunEnableSwitchoverNotifs=ceRedunEnableSwitchoverNotifs, ceRedunGroups=ceRedunGroups, ceRedunGroup=ceRedunGroup, ciscoEntityRedunMIB=ciscoEntityRedunMIB, ceRedunStateCategory=ceRedunStateCategory, ceRedunGroupScope=ceRedunGroupScope, ceRedunGroupTypesTable=ceRedunGroupTypesTable, ceRedunMbrRowStatus=ceRedunMbrRowStatus, ceRedunCommandTable=ceRedunCommandTable, ceRedunCommandMbrNumber=ceRedunCommandMbrNumber, PYSNMP_MODULE_ID=ciscoEntityRedunMIB, ciscoEntityRedunMIBObjects=ciscoEntityRedunMIBObjects, ceRedunRevertiveGroup=ceRedunRevertiveGroup, ceRedunInternalStateDescr=ceRedunInternalStateDescr, ceRedunMbrSwitchoverReason=ceRedunMbrSwitchoverReason, ceRedunNextUnusedGroupIndex=ceRedunNextUnusedGroupIndex, ceRedunMbrLastChanged=ceRedunMbrLastChanged, ceRedunGroupStorageType=ceRedunGroupStorageType, ceRedunMaxMbrsInGroup=ceRedunMaxMbrsInGroup, ceRedunSwitchoverReasonEntry=ceRedunSwitchoverReasonEntry, ceRedunSwitchoverReasonIndex=ceRedunSwitchoverReasonIndex, ceRedunGroupObjects=ceRedunGroupObjects, ceRedunOneToN=ceRedunOneToN, ceRedunCommandSwitch=ceRedunCommandSwitch, ceRedunSwitchoverReasonTable=ceRedunSwitchoverReasonTable, ceRedunGroupCounts=ceRedunGroupCounts, ceRedunEnableStatusChangeNotifs=ceRedunEnableStatusChangeNotifs, ceRedunProtectStatusChange=ceRedunProtectStatusChange, ceRedunVendorTypesTable=ceRedunVendorTypesTable, ceRedunMbrStatusCurrent=ceRedunMbrStatusCurrent, ceRedunGroupArch=ceRedunGroupArch, ceRedunEventSwitchover=ceRedunEventSwitchover, ceRedunNotifEnables=ceRedunNotifEnables, ceRedunGroupDirection=ceRedunGroupDirection, ceRedunVendorTypesEntry=ceRedunVendorTypesEntry, ceRedunGroupRedunType=ceRedunGroupRedunType, ceRedunInternalStates=ceRedunInternalStates, ceRedunGroupEntry=ceRedunGroupEntry, ceRedunGroupTable=ceRedunGroupTable, ceRedunMbrAddressType=ceRedunMbrAddressType, ceRedunReasonCategory=ceRedunReasonCategory, ceRedunGroupWaitToRestore=ceRedunGroupWaitToRestore, ceRedunMbrConfigTable=ceRedunMbrConfigTable, ceRedunOptionalMbrStatus=ceRedunOptionalMbrStatus, ceRedunInternalStateIndex=ceRedunInternalStateIndex, ceRedunGroupTypeIndex=ceRedunGroupTypeIndex, ceRedunGroupRevert=ceRedunGroupRevert, ceRedunMbrConfigEntry=ceRedunMbrConfigEntry, ceRedunCompliances=ceRedunCompliances, ceRedunMemberStatus=ceRedunMemberStatus, ciscoEntityRedunMIBConform=ciscoEntityRedunMIBConform, ceRedunMbrStorageType=ceRedunMbrStorageType, ceRedunMbrPriority=ceRedunMbrPriority, ceRedunInternalStatesTable=ceRedunInternalStatesTable, ceRedunMbrMode=ceRedunMbrMode, ceRedunMbrSwitchoverSeconds=ceRedunMbrSwitchoverSeconds, ceRedunCommandsGroup=ceRedunCommandsGroup, ceRedunOptionalGroupTypes=ceRedunOptionalGroupTypes, ceRedunMbrProtectingMbr=ceRedunMbrProtectingMbr, ceRedunGroupTypeName=ceRedunGroupTypeName, ceRedunRemoteSystem=ceRedunRemoteSystem, ceRedunInternalStatesEntry=ceRedunInternalStatesEntry, ceRedunGroupIndex=ceRedunGroupIndex, ceRedunGroupTypesEntry=ceRedunGroupTypesEntry, ceRedunBidirectional=ceRedunBidirectional, ceRedunMbrLastSwitchover=ceRedunMbrLastSwitchover, ceRedunMbrSwitchoverCounts=ceRedunMbrSwitchoverCounts, ceRedunMbrRemoteAddress=ceRedunMbrRemoteAddress, ceRedunProtectStatusNotifGroup=ceRedunProtectStatusNotifGroup, ceRedunMbrPhysIndex=ceRedunMbrPhysIndex, ceRedunVendorType=ceRedunVendorType, ceRedunGroupRowStatus=ceRedunGroupRowStatus, ceRedunGroupTypeGroup=ceRedunGroupTypeGroup, ceRedunMbrStatusLastChanged=ceRedunMbrStatusLastChanged, ceRedunSwitchNotifGroup=ceRedunSwitchNotifGroup, ceRedunGroupString=ceRedunGroupString, ciscoEntityRedunMIBNotifs=ciscoEntityRedunMIBNotifs, ceRedunMbrStatusTable=ceRedunMbrStatusTable, ceRedunMbrStatusEntry=ceRedunMbrStatusEntry, ceRedunMembers=ceRedunMembers, ceRedunMbrNumber=ceRedunMbrNumber, ceRedunGroupLastChanged=ceRedunGroupLastChanged, ceRedunGroupDefinitionChanged=ceRedunGroupDefinitionChanged, ceRedunCommandEntry=ceRedunCommandEntry, ceRedunMemberConfig=ceRedunMemberConfig) |
message = "This is a message!"
print(message)
message = "This is a new message!"
print(message) | message = 'This is a message!'
print(message)
message = 'This is a new message!'
print(message) |
# author: Roy Kid
# contact: lijichen365@126.com
# date: 2021-09-20
# version: 0.0.1
def flat_kwargs(kwargs):
tmp = []
values = list(kwargs.values())
lenValue = len(values[0])
for v in values:
assert len(v) == lenValue, 'kwargs request aligned value'
for i in range(lenValue):
tmp.append({})
for k, v in kwargs.items():
for i, vv in enumerate(v):
tmp[i].update({k: vv})
return tmp
a = {'A': [1, 2, 3, 4], 'B': [2, 3, 4, 5]}
print(flat_kwargs(a)) | def flat_kwargs(kwargs):
tmp = []
values = list(kwargs.values())
len_value = len(values[0])
for v in values:
assert len(v) == lenValue, 'kwargs request aligned value'
for i in range(lenValue):
tmp.append({})
for (k, v) in kwargs.items():
for (i, vv) in enumerate(v):
tmp[i].update({k: vv})
return tmp
a = {'A': [1, 2, 3, 4], 'B': [2, 3, 4, 5]}
print(flat_kwargs(a)) |
# Feel free to add new properties and methods to the class.
"""
class MinMaxStack:
def __init__(self):
self.stack = []
self.min = float('inf')
self.max = float('-inf')
def _update_min(self, num, drop=False):
if drop and num == self.min:
self.min = min(self.stack or [float('inf')])
elif not drop and num < self.min:
self.min = num
def _update_max(self, num, drop=False):
if drop and num == self.max:
self.max = max(self.stack or [float('-inf')])
elif not drop and num > self.max:
self.max = num
def peek(self):
return self.stack[-1]
def pop(self):
num = self.stack.pop()
self._update_min(num, True)
self._update_max(num, True)
return num
def push(self, number):
self.stack.append(number)
self._update_min(number)
self._update_max(number)
def getMin(self):
return self.min
def getMax(self):
return self.max
"""
# Feel free to add new properties and methods to the class.
class MinMaxStack:
def __init__(self):
self.cached = []
self.stack = []
def peek(self):
return self.stack[-1]
def pop(self):
self.cached.pop()
return self.stack.pop()
def push(self, number):
cache = {'min': number, 'max': number}
if len(self.stack):
latest = self.cached[-1]
cache['min'] = min(number, latest['min'])
cache['max'] = max(number, latest['max'])
self.cached.append(cache)
self.stack.append(number)
def getMin(self):
return self.cached[-1]['min']
def getMax(self):
return self.cached[-1]['max']
| """
class MinMaxStack:
def __init__(self):
self.stack = []
self.min = float('inf')
self.max = float('-inf')
def _update_min(self, num, drop=False):
if drop and num == self.min:
self.min = min(self.stack or [float('inf')])
elif not drop and num < self.min:
self.min = num
def _update_max(self, num, drop=False):
if drop and num == self.max:
self.max = max(self.stack or [float('-inf')])
elif not drop and num > self.max:
self.max = num
def peek(self):
return self.stack[-1]
def pop(self):
num = self.stack.pop()
self._update_min(num, True)
self._update_max(num, True)
return num
def push(self, number):
self.stack.append(number)
self._update_min(number)
self._update_max(number)
def getMin(self):
return self.min
def getMax(self):
return self.max
"""
class Minmaxstack:
def __init__(self):
self.cached = []
self.stack = []
def peek(self):
return self.stack[-1]
def pop(self):
self.cached.pop()
return self.stack.pop()
def push(self, number):
cache = {'min': number, 'max': number}
if len(self.stack):
latest = self.cached[-1]
cache['min'] = min(number, latest['min'])
cache['max'] = max(number, latest['max'])
self.cached.append(cache)
self.stack.append(number)
def get_min(self):
return self.cached[-1]['min']
def get_max(self):
return self.cached[-1]['max'] |
# Created by MechAviv
# Kinesis Introduction
# Map ID :: 331001120
# Hideout :: Training Room 2
KINESIS = 1531000
JAY = 1531001
if "1" not in sm.getQuestEx(22700, "E2"):
sm.setNpcOverrideBoxChat(KINESIS)
sm.sendNext("Jay, I feel so slow walking around like this. I'm going to switch to my speedier moves.")
sm.setNpcOverrideBoxChat(JAY)
sm.sendSay("#face9#Fine, whatever! Just ignore the test plan I spent hours on... Okay, I updated my database with your #bTriple Jump#k and #bAttack Skills#k for the final stage. Go nuts, dude.")
sm.lockForIntro()
sm.playSound("Sound/Field.img/masteryBook/EnchantSuccess")
sm.showClearStageExpWindow(600)
sm.giveExp(600)
sm.playExclSoundWithDownBGM("Voice3.img/Kinesis/guide_04", 100)
sm.sendDelay(2500)
sm.unlockForIntro()
sm.warp(331001130, 0)
sm.setQuestEx(22700, "E1", "1") | kinesis = 1531000
jay = 1531001
if '1' not in sm.getQuestEx(22700, 'E2'):
sm.setNpcOverrideBoxChat(KINESIS)
sm.sendNext("Jay, I feel so slow walking around like this. I'm going to switch to my speedier moves.")
sm.setNpcOverrideBoxChat(JAY)
sm.sendSay('#face9#Fine, whatever! Just ignore the test plan I spent hours on... Okay, I updated my database with your #bTriple Jump#k and #bAttack Skills#k for the final stage. Go nuts, dude.')
sm.lockForIntro()
sm.playSound('Sound/Field.img/masteryBook/EnchantSuccess')
sm.showClearStageExpWindow(600)
sm.giveExp(600)
sm.playExclSoundWithDownBGM('Voice3.img/Kinesis/guide_04', 100)
sm.sendDelay(2500)
sm.unlockForIntro()
sm.warp(331001130, 0)
sm.setQuestEx(22700, 'E1', '1') |
def do_something(x):
sq_x=x**2
return (sq_x) # this will make it much easier in future problems to see that something is actually happening
| def do_something(x):
sq_x = x ** 2
return sq_x |
"""1143. Longest Common Subsequence"""
class Solution(object):
def longestCommonSubsequence(self, text1, text2):
"""
:type text1: str
:type text2: str
:rtype: int
"""
m = len(text1)
n = len(text2)
dp = [[0]*(n+1) for _ in range(m+1)]
for i, a in enumerate(text1):
for j, b in enumerate(text2):
dp[i+1][j+1] = dp[i][j] + 1 if a == b else max(dp[i][j+1], dp[i+1][j])
return dp[-1][-1]
| """1143. Longest Common Subsequence"""
class Solution(object):
def longest_common_subsequence(self, text1, text2):
"""
:type text1: str
:type text2: str
:rtype: int
"""
m = len(text1)
n = len(text2)
dp = [[0] * (n + 1) for _ in range(m + 1)]
for (i, a) in enumerate(text1):
for (j, b) in enumerate(text2):
dp[i + 1][j + 1] = dp[i][j] + 1 if a == b else max(dp[i][j + 1], dp[i + 1][j])
return dp[-1][-1] |
class Solution:
def repeatedSubstringPattern(self, s):
"""
:type s: str
:rtype: bool
"""
return s in (s[1:] + s[:-1])
if __name__ == '__main__':
solution = Solution()
print(solution.repeatedSubstringPattern("abab"))
print(solution.repeatedSubstringPattern("aaaa"))
print(solution.repeatedSubstringPattern("abaa"))
print(solution.repeatedSubstringPattern("abcabcabcabcabc"))
else:
pass
| class Solution:
def repeated_substring_pattern(self, s):
"""
:type s: str
:rtype: bool
"""
return s in s[1:] + s[:-1]
if __name__ == '__main__':
solution = solution()
print(solution.repeatedSubstringPattern('abab'))
print(solution.repeatedSubstringPattern('aaaa'))
print(solution.repeatedSubstringPattern('abaa'))
print(solution.repeatedSubstringPattern('abcabcabcabcabc'))
else:
pass |
"""Exercise 2: Step Over, Step Into, Step Out"""
def calculate_sum(list_of_nums):
"""Calculates the sum of a list of numbers."""
total = 0
for num in list_of_nums:
total += num
return total
def calculate_average(list_of_nums):
"""Calculates the average of a list of numbers."""
average = calculate_sum(list_of_nums) / len(list_of_nums)
return average
if __name__ == '__main__':
# Call calculate_average
mylist = [2, 7, 3, 5, 11, 9]
result = calculate_average(mylist)
print(result) | """Exercise 2: Step Over, Step Into, Step Out"""
def calculate_sum(list_of_nums):
"""Calculates the sum of a list of numbers."""
total = 0
for num in list_of_nums:
total += num
return total
def calculate_average(list_of_nums):
"""Calculates the average of a list of numbers."""
average = calculate_sum(list_of_nums) / len(list_of_nums)
return average
if __name__ == '__main__':
mylist = [2, 7, 3, 5, 11, 9]
result = calculate_average(mylist)
print(result) |
class SetUp:
base = "http://localhost:8890/"
URL = "http://localhost:8890/notebooks/test/testing.ipynb"
kernel_link = "#kernellink"
start_kernel = "link=Restart & Run All"
start_confirm = "(.//*[normalize-space(text()) and normalize-space(.)='Continue Running'])[1]/following::button[1]"
title = '//div[@class=" title"]'
class Header:
head = '//div[@class=" title"]/h1'
logo = "//div[@class='logo']"
class GeneralInfo:
# test the info headings
base_path = "//div[contains(@class,'options')]"
backend = base_path + "/div[1]"
opt_level = base_path + "/div[2]"
qiskit_v, terra_v = (base_path + "/div[3]"), (base_path + "/div[4]")
class Params:
# check the params set for trebugger
param_button = "//button[@title='Params for transpilation']"
key = '//p[@class="params-key"]'
value = '//p[@class="params-value"]'
class Summary:
# check the summary headings
# check the circuit stat headings
panel = "//div[@id = 'notebook-container']/div/div[2]/div[2]/div/div[3]/div/div[5]"
header = panel + "/div/div/h2"
transform_label = "//p[@class='transform-label']"
analyse_label = "//p[@class='analyse-label']"
stats_base1 = "//div[@id='notebook-container']/div[1]/div[2]/div[2]/div/div[3]/div/div[5]/div[2]"
stats_base2 = "/div/p[1]"
@classmethod
def stat_path(cls, num):
num += 2 # starts from 3
return cls.stats_base1 + f"/div[{num}]" + cls.stats_base2
class TimelinePanel:
# general
# a. Displaying list of passes
main_button = '//*[@id="notebook-container"]/div[1]/div[2]/div[2]/div/div[3]/div/div[6]/button'
# b. Displaying circuit stats for each pass
step = "//*[@id='notebook-container']/div[1]/div[2]/div[2]/div/div[3]/div/div[6]/div/div/div/div[1]"
pass_name = step + "/div[2]/div/p"
time_taken = step + "/div[3]"
stats = {"Depth": "4", "Size": "5", "Width": "4", "1Q ops": "3", "2Q ops": "1"}
pass_button = step + "/div[1]/button"
@classmethod
def get_stat(cls, num, index):
num += 4
return cls.step + f"/div[{num}]/div/span[{index}]"
# c. Highlight changed circuit stats
# 2. Check the uncollapsed view with :
diff_link = '//input[@title="Highlight diff"]'
# a. Provide pass docs
# b. Provide circuit plot
# c. Provide log panel
# d. Provide property set
tabs = []
names = ["img", "prop", "log", "doc"]
for i in range(4):
tabs.append({"name": names[i], "path": f"//li[@id='tab-key-{i}']"})
# highlights
highlight_step = '//*[@id="notebook-container"]/div[1]/div[2]/div[2]/div/div[3]/div/div[6]/div/div/div/div[19]'
# divs 4,5 and 7 contain the highlights
highlights = [
highlight_step + "/div[4]",
highlight_step + "/div[5]",
highlight_step + "/div[7]",
]
class Downloads:
circuit_img = "//li[@id='tab-key-0']"
base_path = '//div[@class="circuit-export-wpr"]'
# Provide download in qasm
# provide download in qpy
# provide download in img
formats = {".png": "/a[1]", ".qpy": "/a[2]", ".qasm": "/a[3]"}
| class Setup:
base = 'http://localhost:8890/'
url = 'http://localhost:8890/notebooks/test/testing.ipynb'
kernel_link = '#kernellink'
start_kernel = 'link=Restart & Run All'
start_confirm = "(.//*[normalize-space(text()) and normalize-space(.)='Continue Running'])[1]/following::button[1]"
title = '//div[@class=" title"]'
class Header:
head = '//div[@class=" title"]/h1'
logo = "//div[@class='logo']"
class Generalinfo:
base_path = "//div[contains(@class,'options')]"
backend = base_path + '/div[1]'
opt_level = base_path + '/div[2]'
(qiskit_v, terra_v) = (base_path + '/div[3]', base_path + '/div[4]')
class Params:
param_button = "//button[@title='Params for transpilation']"
key = '//p[@class="params-key"]'
value = '//p[@class="params-value"]'
class Summary:
panel = "//div[@id = 'notebook-container']/div/div[2]/div[2]/div/div[3]/div/div[5]"
header = panel + '/div/div/h2'
transform_label = "//p[@class='transform-label']"
analyse_label = "//p[@class='analyse-label']"
stats_base1 = "//div[@id='notebook-container']/div[1]/div[2]/div[2]/div/div[3]/div/div[5]/div[2]"
stats_base2 = '/div/p[1]'
@classmethod
def stat_path(cls, num):
num += 2
return cls.stats_base1 + f'/div[{num}]' + cls.stats_base2
class Timelinepanel:
main_button = '//*[@id="notebook-container"]/div[1]/div[2]/div[2]/div/div[3]/div/div[6]/button'
step = "//*[@id='notebook-container']/div[1]/div[2]/div[2]/div/div[3]/div/div[6]/div/div/div/div[1]"
pass_name = step + '/div[2]/div/p'
time_taken = step + '/div[3]'
stats = {'Depth': '4', 'Size': '5', 'Width': '4', '1Q ops': '3', '2Q ops': '1'}
pass_button = step + '/div[1]/button'
@classmethod
def get_stat(cls, num, index):
num += 4
return cls.step + f'/div[{num}]/div/span[{index}]'
diff_link = '//input[@title="Highlight diff"]'
tabs = []
names = ['img', 'prop', 'log', 'doc']
for i in range(4):
tabs.append({'name': names[i], 'path': f"//li[@id='tab-key-{i}']"})
highlight_step = '//*[@id="notebook-container"]/div[1]/div[2]/div[2]/div/div[3]/div/div[6]/div/div/div/div[19]'
highlights = [highlight_step + '/div[4]', highlight_step + '/div[5]', highlight_step + '/div[7]']
class Downloads:
circuit_img = "//li[@id='tab-key-0']"
base_path = '//div[@class="circuit-export-wpr"]'
formats = {'.png': '/a[1]', '.qpy': '/a[2]', '.qasm': '/a[3]'} |
# int object is immutable
age = 30
print(id(age)) # id is used to get a object reference id
age = 40
print(id(age))
# list is mutable
series1 = [1, 2, 3]
series2 = series1
print(id(series1))
print(id(series1))
series1[1] = 10
print(series1)
print(series2)
print(id(series1))
print(id(series1))
# is operator can be used for object equality
series1 = [1, 2, 3]
series2 = [1, 2, 3]
print(series1 is series2) # reference equality
print(series1 == series2) # value equality
| age = 30
print(id(age))
age = 40
print(id(age))
series1 = [1, 2, 3]
series2 = series1
print(id(series1))
print(id(series1))
series1[1] = 10
print(series1)
print(series2)
print(id(series1))
print(id(series1))
series1 = [1, 2, 3]
series2 = [1, 2, 3]
print(series1 is series2)
print(series1 == series2) |
class Node:
def __init__(self, value, next=None):
self.value = value
self.next = next
def has_cycle(head):
fast = head
slow = head
while slow != None and fast.next:
slow = slow.next
fast = fast.next.next
if slow == fast:
return True
return False
def get_length(seed):
ptr = seed.next
L = 1
while ptr != seed:
ptr = ptr.next
L += 1
return L
def find_start(head, length):
ptr1 = head
ptr2 = head
for i in range(length):
ptr1 = ptr1.next
while ptr1 != ptr2:
ptr1 = ptr1.next
ptr2 = ptr2.next
return ptr1.value
def find_duplicate(head):
fast = head
slow = head
while slow != None and fast.next:
slow = slow.next # slow = A[slow]
fast = fast.next.next # fast = A[ A[fast] ]
if slow == fast:
L = get_length(slow)
break
if L == 0:
return -1
return find_start(head, L)
def main():
head = Node(2)
head.next = Node(1)
head.next.next = Node(3)
head.next.next.next = Node(4)
head.next.next.next.next = head.next
print(find_duplicate(head))
main()
| class Node:
def __init__(self, value, next=None):
self.value = value
self.next = next
def has_cycle(head):
fast = head
slow = head
while slow != None and fast.next:
slow = slow.next
fast = fast.next.next
if slow == fast:
return True
return False
def get_length(seed):
ptr = seed.next
l = 1
while ptr != seed:
ptr = ptr.next
l += 1
return L
def find_start(head, length):
ptr1 = head
ptr2 = head
for i in range(length):
ptr1 = ptr1.next
while ptr1 != ptr2:
ptr1 = ptr1.next
ptr2 = ptr2.next
return ptr1.value
def find_duplicate(head):
fast = head
slow = head
while slow != None and fast.next:
slow = slow.next
fast = fast.next.next
if slow == fast:
l = get_length(slow)
break
if L == 0:
return -1
return find_start(head, L)
def main():
head = node(2)
head.next = node(1)
head.next.next = node(3)
head.next.next.next = node(4)
head.next.next.next.next = head.next
print(find_duplicate(head))
main() |
__author__ = 'rene_esteves'
def factorial(input):
if input < 1: # base case
return 1
else:
return input * factorial(input - 1) # recursive call
def sum(input):
if input == 1: # base_case
return 1
else:
return input + sum(input - 1) # recursive call
def fibonacci(input):
if input == 1 or input == 0: # base_case
print("PAROU")
return 1
else:
return fibonacci(input - 1) + fibonacci(input - 2) # recursive call
# ====
def cres_natural_order(input):
if input == 0: # base_case
return print(input, "- ", end="")
else:
cres_natural_order(input - 1) # recursive call
return print(input, "- ", end="")
def descres_natural_order(input):
if input == 0: # base_case
return print(input, end="")
else:
print(input, "- ", end="")
return descres_natural_order(input - 1) # recursive call
def array_max(array, position):
if position >= 0: # base case
maior = int(array_max(array, position - 1)) # recursive call
if position < len(array): # vet size
if (maior > array[position]):
return maior
else:
return array[position]
return maior # final return
else:
return 0 # first valid return
def is_true(array, position, value):
if len(array) > position: # base_case
if array[position] == value:
return True
else:
return is_true(array, position + 1, value) # recursive call
else:
return False
def seekvalue(array, position, value):
if position >= 0: # base case
is_true = seekvalue(array, position - 1, value) # recursive call
if position < len(array) and is_true is not True: # vet lenght and valid return
if array[position] == value:
return True
else:
return False
return is_true # final return
else:
return False # first valid return
def binary_search(array, start, end, value):
middle = int((start + end) / 2)
if array[middle] == value:
return True
else:
if start == end:
return False
else:
if (value < array[middle]):
return binary_search(array, start, middle - 1, value)
else:
return binary_search(array, middle + 1, end, value)
def sum_array(array, position):
if len(array) == position: # base_case
return 0
else:
return array[position] + sum_array(array, position + 1) # recursive call
def invt_array(array, position): # TODO there's something wrong
if len(array) - 1 == position: # base_case
return print(array[position])
else:
array[len(array) - position - 1] = invt_array(array, position + 1) # recursive call
return print(array[position])
# ====
def decimal_to_binary(input):
if input <= 0: # base case
return str("")
else:
return decimal_to_binary(int(input / 2)) + str(input % 2) # recursive call
def factoring(input):
if input == 1: # base case
return 1
else:
return float(factoring(input - 1) + 1 / input) # recursive call
def exp(base, expo):
if expo == 0: # base case
return 1
else:
return exp(base, expo - 1) * base # recursive call
def sumdig(input):
if input < 0:
return sumdig(- input) # recursive call for negative numbers
if input == 0: # base case
return 0
else:
return input % 10 + int(sumdig(input / 10)) # recursive call
def invdig(input, size):
if input < 1: # base case
return 0
else:
return int(input % 10) * pow(10, size) + int(invdig(input / 10, size - 1)) # recursive call
def josephus(elements, interval):
if elements == 1:
return 1
else:
print(elements, interval)
return (josephus(elements - 1, interval) + interval) % elements
def triangle(input):
if input == 1: # base case
return 1
else:
return triangle(input - 1) + input # recursive call
def quad(input):
if input == 2: # base case
return 2
else:
return quad(input - 1) + (2 * input - 1) # recursive call
def mdc(p, q):
if q == 0: # base case
return p
else:
return mdc(q, p % q) # recursive call
def seekvalue2(array, position, value):
if position >= 0: # base case
if array[position] == value:
return True
else:
return seekvalue2(array, position - 1, value) # recursive call
else:
return False # worst case
def buscabinaria(array, inicio, fim, valor):
if inicio <= fim:
meio = int((inicio + fim) / 2)
if array[meio] == valor:
return True
else:
if array[meio] > valor:
return buscabinaria(array, inicio, meio - 1, valor)
else:
return buscabinaria(array, meio + 1, fim, valor)
else:
return False
def inverter(numero, expo):
print("numero", numero)
if numero == 0:
return numero
else:
return (int(numero % 10) * pow(10, expo)) + inverter(int(numero / 10), expo - 1)
v = []
def inv_array(i, f):
if i < f:
aux = v[i]
v[i] = v[f]
v[f] = aux
inv_array(i + 1, f - 1)
| __author__ = 'rene_esteves'
def factorial(input):
if input < 1:
return 1
else:
return input * factorial(input - 1)
def sum(input):
if input == 1:
return 1
else:
return input + sum(input - 1)
def fibonacci(input):
if input == 1 or input == 0:
print('PAROU')
return 1
else:
return fibonacci(input - 1) + fibonacci(input - 2)
def cres_natural_order(input):
if input == 0:
return print(input, '- ', end='')
else:
cres_natural_order(input - 1)
return print(input, '- ', end='')
def descres_natural_order(input):
if input == 0:
return print(input, end='')
else:
print(input, '- ', end='')
return descres_natural_order(input - 1)
def array_max(array, position):
if position >= 0:
maior = int(array_max(array, position - 1))
if position < len(array):
if maior > array[position]:
return maior
else:
return array[position]
return maior
else:
return 0
def is_true(array, position, value):
if len(array) > position:
if array[position] == value:
return True
else:
return is_true(array, position + 1, value)
else:
return False
def seekvalue(array, position, value):
if position >= 0:
is_true = seekvalue(array, position - 1, value)
if position < len(array) and is_true is not True:
if array[position] == value:
return True
else:
return False
return is_true
else:
return False
def binary_search(array, start, end, value):
middle = int((start + end) / 2)
if array[middle] == value:
return True
elif start == end:
return False
elif value < array[middle]:
return binary_search(array, start, middle - 1, value)
else:
return binary_search(array, middle + 1, end, value)
def sum_array(array, position):
if len(array) == position:
return 0
else:
return array[position] + sum_array(array, position + 1)
def invt_array(array, position):
if len(array) - 1 == position:
return print(array[position])
else:
array[len(array) - position - 1] = invt_array(array, position + 1)
return print(array[position])
def decimal_to_binary(input):
if input <= 0:
return str('')
else:
return decimal_to_binary(int(input / 2)) + str(input % 2)
def factoring(input):
if input == 1:
return 1
else:
return float(factoring(input - 1) + 1 / input)
def exp(base, expo):
if expo == 0:
return 1
else:
return exp(base, expo - 1) * base
def sumdig(input):
if input < 0:
return sumdig(-input)
if input == 0:
return 0
else:
return input % 10 + int(sumdig(input / 10))
def invdig(input, size):
if input < 1:
return 0
else:
return int(input % 10) * pow(10, size) + int(invdig(input / 10, size - 1))
def josephus(elements, interval):
if elements == 1:
return 1
else:
print(elements, interval)
return (josephus(elements - 1, interval) + interval) % elements
def triangle(input):
if input == 1:
return 1
else:
return triangle(input - 1) + input
def quad(input):
if input == 2:
return 2
else:
return quad(input - 1) + (2 * input - 1)
def mdc(p, q):
if q == 0:
return p
else:
return mdc(q, p % q)
def seekvalue2(array, position, value):
if position >= 0:
if array[position] == value:
return True
else:
return seekvalue2(array, position - 1, value)
else:
return False
def buscabinaria(array, inicio, fim, valor):
if inicio <= fim:
meio = int((inicio + fim) / 2)
if array[meio] == valor:
return True
elif array[meio] > valor:
return buscabinaria(array, inicio, meio - 1, valor)
else:
return buscabinaria(array, meio + 1, fim, valor)
else:
return False
def inverter(numero, expo):
print('numero', numero)
if numero == 0:
return numero
else:
return int(numero % 10) * pow(10, expo) + inverter(int(numero / 10), expo - 1)
v = []
def inv_array(i, f):
if i < f:
aux = v[i]
v[i] = v[f]
v[f] = aux
inv_array(i + 1, f - 1) |
""""
2 shelves
5 books
5 nooks
5 books in each shelve MAX VALUE = 5
1 book comes out,
4 books at any shelf
1 space is there
1 user 10 0 clock
another user 12 0 clock returned
another user 01 clock returned
10 -> out
12 -> out
1 -> in
2 -> out
3 -> out
5 -> in
5 operations
a stack of 10 books
""" | """"
2 shelves
5 books
5 nooks
5 books in each shelve MAX VALUE = 5
1 book comes out,
4 books at any shelf
1 space is there
1 user 10 0 clock
another user 12 0 clock returned
another user 01 clock returned
10 -> out
12 -> out
1 -> in
2 -> out
3 -> out
5 -> in
5 operations
a stack of 10 books
""" |
class MySQL:
def __init__(self, db):
self.__db = db
def pre_load(self):
# do nothing
return
def load(self, check_id, results):
for result in results:
responsetime = result.get('responsetime', None)
self.__db.query(
'REPLACE INTO pingdom_check_result (`check_id`, `at`, `probe_id`, `status`, `status_desc`, `status_desc_long`, `response_time`)\
VALUES (:check_id, FROM_UNIXTIME(:at), :probe_id, :status, :status_desc, :status_desc_long, :response_time)',
check_id=check_id,
at=result['time'],
probe_id=result['probeid'],
status=result['status'],
status_desc=result['statusdesc'],
status_desc_long=result['statusdesclong'],
response_time=responsetime
)
| class Mysql:
def __init__(self, db):
self.__db = db
def pre_load(self):
return
def load(self, check_id, results):
for result in results:
responsetime = result.get('responsetime', None)
self.__db.query('REPLACE INTO pingdom_check_result (`check_id`, `at`, `probe_id`, `status`, `status_desc`, `status_desc_long`, `response_time`) VALUES (:check_id, FROM_UNIXTIME(:at), :probe_id, :status, :status_desc, :status_desc_long, :response_time)', check_id=check_id, at=result['time'], probe_id=result['probeid'], status=result['status'], status_desc=result['statusdesc'], status_desc_long=result['statusdesclong'], response_time=responsetime) |
#
# PySNMP MIB module OPT-IF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OPT-IF-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:26:00 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
Integer32, Bits, Counter64, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Gauge32, iso, Unsigned32, ModuleIdentity, Counter32, ObjectIdentity, transmission, IpAddress, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Bits", "Counter64", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Gauge32", "iso", "Unsigned32", "ModuleIdentity", "Counter32", "ObjectIdentity", "transmission", "IpAddress", "NotificationType")
DisplayString, TruthValue, TextualConvention, RowPointer, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue", "TextualConvention", "RowPointer", "RowStatus")
optIfMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 133))
optIfMibModule.setRevisions(('2003-08-13 00:00',))
if mibBuilder.loadTexts: optIfMibModule.setLastUpdated('200308130000Z')
if mibBuilder.loadTexts: optIfMibModule.setOrganization('IETF AToM MIB Working Group')
class OptIfAcTI(TextualConvention, OctetString):
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(64, 64)
fixedLength = 64
class OptIfBitRateK(TextualConvention, Integer32):
status = 'current'
class OptIfDEGM(TextualConvention, Unsigned32):
status = 'current'
subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(2, 10)
class OptIfDEGThr(TextualConvention, Unsigned32):
status = 'current'
subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 100)
class OptIfDirectionality(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("sink", 1), ("source", 2), ("bidirectional", 3))
class OptIfSinkOrSource(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("sink", 1), ("source", 2))
class OptIfExDAPI(TextualConvention, OctetString):
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(16, 16)
fixedLength = 16
class OptIfExSAPI(TextualConvention, OctetString):
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(16, 16)
fixedLength = 16
class OptIfIntervalNumber(TextualConvention, Unsigned32):
status = 'current'
subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 96)
class OptIfTIMDetMode(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))
namedValues = NamedValues(("off", 1), ("dapi", 2), ("sapi", 3), ("both", 4))
class OptIfTxTI(TextualConvention, OctetString):
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(64, 64)
fixedLength = 64
optIfObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1))
optIfConfs = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 2))
optIfOTMn = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 1))
optIfPerfMon = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 2))
optIfOTSn = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 3))
optIfOMSn = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 4))
optIfOChGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 5))
optIfOCh = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 6))
optIfOTUk = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 7))
optIfODUk = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 8))
optIfODUkT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 9))
optIfGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 2, 1))
optIfCompl = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 2, 2))
optIfOTMnTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1), )
if mibBuilder.loadTexts: optIfOTMnTable.setStatus('current')
optIfOTMnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTMnEntry.setStatus('current')
optIfOTMnOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 900))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTMnOrder.setStatus('current')
optIfOTMnReduced = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTMnReduced.setStatus('current')
optIfOTMnBitRates = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 3), Bits().clone(namedValues=NamedValues(("bitRateK1", 0), ("bitRateK2", 1), ("bitRateK3", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTMnBitRates.setStatus('current')
optIfOTMnInterfaceType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTMnInterfaceType.setStatus('current')
optIfOTMnTcmMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 6))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTMnTcmMax.setStatus('current')
optIfOTMnOpticalReach = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("intraOffice", 1), ("shortHaul", 2), ("longHaul", 3), ("veryLongHaul", 4), ("ultraLongHaul", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTMnOpticalReach.setStatus('current')
optIfPerfMonIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1), )
if mibBuilder.loadTexts: optIfPerfMonIntervalTable.setStatus('current')
optIfPerfMonIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfPerfMonIntervalEntry.setStatus('current')
optIfPerfMonCurrentTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfPerfMonCurrentTimeElapsed.setStatus('current')
optIfPerfMonCurDayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfPerfMonCurDayTimeElapsed.setStatus('current')
optIfPerfMonIntervalNumIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfPerfMonIntervalNumIntervals.setStatus('current')
optIfPerfMonIntervalNumInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfPerfMonIntervalNumInvalidIntervals.setStatus('current')
optIfOTSnConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1), )
if mibBuilder.loadTexts: optIfOTSnConfigTable.setStatus('current')
optIfOTSnConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnConfigEntry.setStatus('current')
optIfOTSnDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnDirectionality.setStatus('current')
optIfOTSnAprStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnAprStatus.setStatus('current')
optIfOTSnAprControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 3), SnmpAdminString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnAprControl.setStatus('current')
optIfOTSnTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 4), OptIfTxTI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnTraceIdentifierTransmitted.setStatus('current')
optIfOTSnDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 5), OptIfExDAPI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnDAPIExpected.setStatus('current')
optIfOTSnSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 6), OptIfExSAPI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSAPIExpected.setStatus('current')
optIfOTSnTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 7), OptIfAcTI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnTraceIdentifierAccepted.setStatus('current')
optIfOTSnTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 8), OptIfTIMDetMode()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnTIMDetMode.setStatus('current')
optIfOTSnTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 9), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnTIMActEnabled.setStatus('current')
optIfOTSnCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 10), Bits().clone(namedValues=NamedValues(("bdiP", 0), ("bdiO", 1), ("bdi", 2), ("tim", 3), ("losP", 4), ("losO", 5), ("los", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnCurrentStatus.setStatus('current')
optIfOTSnSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2), )
if mibBuilder.loadTexts: optIfOTSnSinkCurrentTable.setStatus('current')
optIfOTSnSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnSinkCurrentEntry.setStatus('current')
optIfOTSnSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentSuspectedFlag.setStatus('current')
optIfOTSnSinkCurrentInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentInputPower.setStatus('current')
optIfOTSnSinkCurrentLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowInputPower.setStatus('current')
optIfOTSnSinkCurrentHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentHighInputPower.setStatus('current')
optIfOTSnSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowerInputPowerThreshold.setStatus('current')
optIfOTSnSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentUpperInputPowerThreshold.setStatus('current')
optIfOTSnSinkCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentOutputPower.setStatus('current')
optIfOTSnSinkCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowOutputPower.setStatus('current')
optIfOTSnSinkCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 9), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentHighOutputPower.setStatus('current')
optIfOTSnSinkCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 10), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOTSnSinkCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 11), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSinkCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOTSnSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3), )
if mibBuilder.loadTexts: optIfOTSnSinkIntervalTable.setStatus('current')
optIfOTSnSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOTSnSinkIntervalNumber"))
if mibBuilder.loadTexts: optIfOTSnSinkIntervalEntry.setStatus('current')
optIfOTSnSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOTSnSinkIntervalNumber.setStatus('current')
optIfOTSnSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalSuspectedFlag.setStatus('current')
optIfOTSnSinkIntervalLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalLastInputPower.setStatus('current')
optIfOTSnSinkIntervalLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalLowInputPower.setStatus('current')
optIfOTSnSinkIntervalHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalHighInputPower.setStatus('current')
optIfOTSnSinkIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalLastOutputPower.setStatus('current')
optIfOTSnSinkIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalLowOutputPower.setStatus('current')
optIfOTSnSinkIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkIntervalHighOutputPower.setStatus('current')
optIfOTSnSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4), )
if mibBuilder.loadTexts: optIfOTSnSinkCurDayTable.setStatus('current')
optIfOTSnSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnSinkCurDayEntry.setStatus('current')
optIfOTSnSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurDaySuspectedFlag.setStatus('current')
optIfOTSnSinkCurDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurDayLowInputPower.setStatus('current')
optIfOTSnSinkCurDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurDayHighInputPower.setStatus('current')
optIfOTSnSinkCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurDayLowOutputPower.setStatus('current')
optIfOTSnSinkCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkCurDayHighOutputPower.setStatus('current')
optIfOTSnSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5), )
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayTable.setStatus('current')
optIfOTSnSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayEntry.setStatus('current')
optIfOTSnSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDaySuspectedFlag.setStatus('current')
optIfOTSnSinkPrevDayLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLastInputPower.setStatus('current')
optIfOTSnSinkPrevDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLowInputPower.setStatus('current')
optIfOTSnSinkPrevDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayHighInputPower.setStatus('current')
optIfOTSnSinkPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLastOutputPower.setStatus('current')
optIfOTSnSinkPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLowOutputPower.setStatus('current')
optIfOTSnSinkPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSinkPrevDayHighOutputPower.setStatus('current')
optIfOTSnSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6), )
if mibBuilder.loadTexts: optIfOTSnSrcCurrentTable.setStatus('current')
optIfOTSnSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnSrcCurrentEntry.setStatus('current')
optIfOTSnSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentSuspectedFlag.setStatus('current')
optIfOTSnSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentOutputPower.setStatus('current')
optIfOTSnSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowOutputPower.setStatus('current')
optIfOTSnSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentHighOutputPower.setStatus('current')
optIfOTSnSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOTSnSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOTSnSrcCurrentInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentInputPower.setStatus('current')
optIfOTSnSrcCurrentLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowInputPower.setStatus('current')
optIfOTSnSrcCurrentHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 9), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentHighInputPower.setStatus('current')
optIfOTSnSrcCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 10), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowerInputPowerThreshold.setStatus('current')
optIfOTSnSrcCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 11), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTSnSrcCurrentUpperInputPowerThreshold.setStatus('current')
optIfOTSnSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7), )
if mibBuilder.loadTexts: optIfOTSnSrcIntervalTable.setStatus('current')
optIfOTSnSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOTSnSrcIntervalNumber"))
if mibBuilder.loadTexts: optIfOTSnSrcIntervalEntry.setStatus('current')
optIfOTSnSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOTSnSrcIntervalNumber.setStatus('current')
optIfOTSnSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalSuspectedFlag.setStatus('current')
optIfOTSnSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalLastOutputPower.setStatus('current')
optIfOTSnSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalLowOutputPower.setStatus('current')
optIfOTSnSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalHighOutputPower.setStatus('current')
optIfOTSnSrcIntervalLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalLastInputPower.setStatus('current')
optIfOTSnSrcIntervalLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalLowInputPower.setStatus('current')
optIfOTSnSrcIntervalHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcIntervalHighInputPower.setStatus('current')
optIfOTSnSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8), )
if mibBuilder.loadTexts: optIfOTSnSrcCurDayTable.setStatus('current')
optIfOTSnSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnSrcCurDayEntry.setStatus('current')
optIfOTSnSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurDaySuspectedFlag.setStatus('current')
optIfOTSnSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurDayLowOutputPower.setStatus('current')
optIfOTSnSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurDayHighOutputPower.setStatus('current')
optIfOTSnSrcCurDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurDayLowInputPower.setStatus('current')
optIfOTSnSrcCurDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcCurDayHighInputPower.setStatus('current')
optIfOTSnSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9), )
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayTable.setStatus('current')
optIfOTSnSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayEntry.setStatus('current')
optIfOTSnSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDaySuspectedFlag.setStatus('current')
optIfOTSnSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLastOutputPower.setStatus('current')
optIfOTSnSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLowOutputPower.setStatus('current')
optIfOTSnSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayHighOutputPower.setStatus('current')
optIfOTSnSrcPrevDayLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLastInputPower.setStatus('current')
optIfOTSnSrcPrevDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLowInputPower.setStatus('current')
optIfOTSnSrcPrevDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTSnSrcPrevDayHighInputPower.setStatus('current')
optIfOMSnConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1), )
if mibBuilder.loadTexts: optIfOMSnConfigTable.setStatus('current')
optIfOMSnConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnConfigEntry.setStatus('current')
optIfOMSnDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnDirectionality.setStatus('current')
optIfOMSnCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1, 2), Bits().clone(namedValues=NamedValues(("ssfP", 0), ("ssfO", 1), ("ssf", 2), ("bdiP", 3), ("bdiO", 4), ("bdi", 5), ("losP", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnCurrentStatus.setStatus('current')
optIfOMSnSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2), )
if mibBuilder.loadTexts: optIfOMSnSinkCurrentTable.setStatus('current')
optIfOMSnSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnSinkCurrentEntry.setStatus('current')
optIfOMSnSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentSuspectedFlag.setStatus('current')
optIfOMSnSinkCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentAggregatedInputPower.setStatus('current')
optIfOMSnSinkCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowAggregatedInputPower.setStatus('current')
optIfOMSnSinkCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentHighAggregatedInputPower.setStatus('current')
optIfOMSnSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowerInputPowerThreshold.setStatus('current')
optIfOMSnSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentUpperInputPowerThreshold.setStatus('current')
optIfOMSnSinkCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentOutputPower.setStatus('current')
optIfOMSnSinkCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowOutputPower.setStatus('current')
optIfOMSnSinkCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 9), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentHighOutputPower.setStatus('current')
optIfOMSnSinkCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 10), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOMSnSinkCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 11), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSinkCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOMSnSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3), )
if mibBuilder.loadTexts: optIfOMSnSinkIntervalTable.setStatus('current')
optIfOMSnSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOMSnSinkIntervalNumber"))
if mibBuilder.loadTexts: optIfOMSnSinkIntervalEntry.setStatus('current')
optIfOMSnSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOMSnSinkIntervalNumber.setStatus('current')
optIfOMSnSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalSuspectedFlag.setStatus('current')
optIfOMSnSinkIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalLastAggregatedInputPower.setStatus('current')
optIfOMSnSinkIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalLowAggregatedInputPower.setStatus('current')
optIfOMSnSinkIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalHighAggregatedInputPower.setStatus('current')
optIfOMSnSinkIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalLastOutputPower.setStatus('current')
optIfOMSnSinkIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalLowOutputPower.setStatus('current')
optIfOMSnSinkIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkIntervalHighOutputPower.setStatus('current')
optIfOMSnSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4), )
if mibBuilder.loadTexts: optIfOMSnSinkCurDayTable.setStatus('current')
optIfOMSnSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnSinkCurDayEntry.setStatus('current')
optIfOMSnSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurDaySuspectedFlag.setStatus('current')
optIfOMSnSinkCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurDayLowAggregatedInputPower.setStatus('current')
optIfOMSnSinkCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurDayHighAggregatedInputPower.setStatus('current')
optIfOMSnSinkCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurDayLowOutputPower.setStatus('current')
optIfOMSnSinkCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkCurDayHighOutputPower.setStatus('current')
optIfOMSnSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5), )
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayTable.setStatus('current')
optIfOMSnSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayEntry.setStatus('current')
optIfOMSnSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDaySuspectedFlag.setStatus('current')
optIfOMSnSinkPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLastAggregatedInputPower.setStatus('current')
optIfOMSnSinkPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLowAggregatedInputPower.setStatus('current')
optIfOMSnSinkPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayHighAggregatedInputPower.setStatus('current')
optIfOMSnSinkPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLastOutputPower.setStatus('current')
optIfOMSnSinkPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLowOutputPower.setStatus('current')
optIfOMSnSinkPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSinkPrevDayHighOutputPower.setStatus('current')
optIfOMSnSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6), )
if mibBuilder.loadTexts: optIfOMSnSrcCurrentTable.setStatus('current')
optIfOMSnSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnSrcCurrentEntry.setStatus('current')
optIfOMSnSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentSuspectedFlag.setStatus('current')
optIfOMSnSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentOutputPower.setStatus('current')
optIfOMSnSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowOutputPower.setStatus('current')
optIfOMSnSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentHighOutputPower.setStatus('current')
optIfOMSnSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOMSnSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOMSnSrcCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentAggregatedInputPower.setStatus('current')
optIfOMSnSrcCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowAggregatedInputPower.setStatus('current')
optIfOMSnSrcCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 9), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentHighAggregatedInputPower.setStatus('current')
optIfOMSnSrcCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 10), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowerInputPowerThreshold.setStatus('current')
optIfOMSnSrcCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 11), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOMSnSrcCurrentUpperInputPowerThreshold.setStatus('current')
optIfOMSnSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7), )
if mibBuilder.loadTexts: optIfOMSnSrcIntervalTable.setStatus('current')
optIfOMSnSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOMSnSrcIntervalNumber"))
if mibBuilder.loadTexts: optIfOMSnSrcIntervalEntry.setStatus('current')
optIfOMSnSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOMSnSrcIntervalNumber.setStatus('current')
optIfOMSnSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalSuspectedFlag.setStatus('current')
optIfOMSnSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalLastOutputPower.setStatus('current')
optIfOMSnSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalLowOutputPower.setStatus('current')
optIfOMSnSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalHighOutputPower.setStatus('current')
optIfOMSnSrcIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalLastAggregatedInputPower.setStatus('current')
optIfOMSnSrcIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalLowAggregatedInputPower.setStatus('current')
optIfOMSnSrcIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcIntervalHighAggregatedInputPower.setStatus('current')
optIfOMSnSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8), )
if mibBuilder.loadTexts: optIfOMSnSrcCurDayTable.setStatus('current')
optIfOMSnSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnSrcCurDayEntry.setStatus('current')
optIfOMSnSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurDaySuspectedFlag.setStatus('current')
optIfOMSnSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurDayLowOutputPower.setStatus('current')
optIfOMSnSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurDayHighOutputPower.setStatus('current')
optIfOMSnSrcCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurDayLowAggregatedInputPower.setStatus('current')
optIfOMSnSrcCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcCurDayHighAggregatedInputPower.setStatus('current')
optIfOMSnSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9), )
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayTable.setStatus('current')
optIfOMSnSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayEntry.setStatus('current')
optIfOMSnSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDaySuspectedFlag.setStatus('current')
optIfOMSnSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLastOutputPower.setStatus('current')
optIfOMSnSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLowOutputPower.setStatus('current')
optIfOMSnSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayHighOutputPower.setStatus('current')
optIfOMSnSrcPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLastAggregatedInputPower.setStatus('current')
optIfOMSnSrcPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLowAggregatedInputPower.setStatus('current')
optIfOMSnSrcPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOMSnSrcPrevDayHighAggregatedInputPower.setStatus('current')
optIfOChGroupConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1), )
if mibBuilder.loadTexts: optIfOChGroupConfigTable.setStatus('current')
optIfOChGroupConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupConfigEntry.setStatus('current')
optIfOChGroupDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupDirectionality.setStatus('current')
optIfOChGroupSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2), )
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentTable.setStatus('current')
optIfOChGroupSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentEntry.setStatus('current')
optIfOChGroupSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentSuspectedFlag.setStatus('current')
optIfOChGroupSinkCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentAggregatedInputPower.setStatus('current')
optIfOChGroupSinkCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowAggregatedInputPower.setStatus('current')
optIfOChGroupSinkCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentHighAggregatedInputPower.setStatus('current')
optIfOChGroupSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowerInputPowerThreshold.setStatus('current')
optIfOChGroupSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentUpperInputPowerThreshold.setStatus('current')
optIfOChGroupSinkCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentOutputPower.setStatus('current')
optIfOChGroupSinkCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowOutputPower.setStatus('current')
optIfOChGroupSinkCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 9), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentHighOutputPower.setStatus('current')
optIfOChGroupSinkCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 10), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOChGroupSinkCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 11), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSinkCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOChGroupSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3), )
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalTable.setStatus('current')
optIfOChGroupSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChGroupSinkIntervalNumber"))
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalEntry.setStatus('current')
optIfOChGroupSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalNumber.setStatus('current')
optIfOChGroupSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalSuspectedFlag.setStatus('current')
optIfOChGroupSinkIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLastAggregatedInputPower.setStatus('current')
optIfOChGroupSinkIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLowAggregatedInputPower.setStatus('current')
optIfOChGroupSinkIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalHighAggregatedInputPower.setStatus('current')
optIfOChGroupSinkIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLastOutputPower.setStatus('current')
optIfOChGroupSinkIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLowOutputPower.setStatus('current')
optIfOChGroupSinkIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkIntervalHighOutputPower.setStatus('current')
optIfOChGroupSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4), )
if mibBuilder.loadTexts: optIfOChGroupSinkCurDayTable.setStatus('current')
optIfOChGroupSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupSinkCurDayEntry.setStatus('current')
optIfOChGroupSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurDaySuspectedFlag.setStatus('current')
optIfOChGroupSinkCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurDayLowAggregatedInputPower.setStatus('current')
optIfOChGroupSinkCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurDayHighAggregatedInputPower.setStatus('current')
optIfOChGroupSinkCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurDayLowOutputPower.setStatus('current')
optIfOChGroupSinkCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkCurDayHighOutputPower.setStatus('current')
optIfOChGroupSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5), )
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayTable.setStatus('current')
optIfOChGroupSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayEntry.setStatus('current')
optIfOChGroupSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDaySuspectedFlag.setStatus('current')
optIfOChGroupSinkPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLastAggregatedInputPower.setStatus('current')
optIfOChGroupSinkPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLowAggregatedInputPower.setStatus('current')
optIfOChGroupSinkPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayHighAggregatedInputPower.setStatus('current')
optIfOChGroupSinkPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLastOutputPower.setStatus('current')
optIfOChGroupSinkPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLowOutputPower.setStatus('current')
optIfOChGroupSinkPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayHighOutputPower.setStatus('current')
optIfOChGroupSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6), )
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentTable.setStatus('current')
optIfOChGroupSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentEntry.setStatus('current')
optIfOChGroupSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentSuspectedFlag.setStatus('current')
optIfOChGroupSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentOutputPower.setStatus('current')
optIfOChGroupSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowOutputPower.setStatus('current')
optIfOChGroupSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentHighOutputPower.setStatus('current')
optIfOChGroupSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOChGroupSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOChGroupSrcCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentAggregatedInputPower.setStatus('current')
optIfOChGroupSrcCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowAggregatedInputPower.setStatus('current')
optIfOChGroupSrcCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 9), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentHighAggregatedInputPower.setStatus('current')
optIfOChGroupSrcCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 10), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowerInputPowerThreshold.setStatus('current')
optIfOChGroupSrcCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 11), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChGroupSrcCurrentUpperInputPowerThreshold.setStatus('current')
optIfOChGroupSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7), )
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalTable.setStatus('current')
optIfOChGroupSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChGroupSrcIntervalNumber"))
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalEntry.setStatus('current')
optIfOChGroupSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalNumber.setStatus('current')
optIfOChGroupSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalSuspectedFlag.setStatus('current')
optIfOChGroupSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLastOutputPower.setStatus('current')
optIfOChGroupSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLowOutputPower.setStatus('current')
optIfOChGroupSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalHighOutputPower.setStatus('current')
optIfOChGroupSrcIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLastAggregatedInputPower.setStatus('current')
optIfOChGroupSrcIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLowAggregatedInputPower.setStatus('current')
optIfOChGroupSrcIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 8), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcIntervalHighAggregatedInputPower.setStatus('current')
optIfOChGroupSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8), )
if mibBuilder.loadTexts: optIfOChGroupSrcCurDayTable.setStatus('current')
optIfOChGroupSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupSrcCurDayEntry.setStatus('current')
optIfOChGroupSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurDaySuspectedFlag.setStatus('current')
optIfOChGroupSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurDayLowOutputPower.setStatus('current')
optIfOChGroupSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurDayHighOutputPower.setStatus('current')
optIfOChGroupSrcCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurDayLowAggregatedInputPower.setStatus('current')
optIfOChGroupSrcCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcCurDayHighAggregatedInputPower.setStatus('current')
optIfOChGroupSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9), )
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayTable.setStatus('current')
optIfOChGroupSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayEntry.setStatus('current')
optIfOChGroupSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDaySuspectedFlag.setStatus('current')
optIfOChGroupSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLastOutputPower.setStatus('current')
optIfOChGroupSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLowOutputPower.setStatus('current')
optIfOChGroupSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayHighOutputPower.setStatus('current')
optIfOChGroupSrcPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLastAggregatedInputPower.setStatus('current')
optIfOChGroupSrcPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLowAggregatedInputPower.setStatus('current')
optIfOChGroupSrcPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 7), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayHighAggregatedInputPower.setStatus('current')
optIfOChConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1), )
if mibBuilder.loadTexts: optIfOChConfigTable.setStatus('current')
optIfOChConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChConfigEntry.setStatus('current')
optIfOChDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChDirectionality.setStatus('current')
optIfOChCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1, 2), Bits().clone(namedValues=NamedValues(("losP", 0), ("los", 1), ("oci", 2), ("ssfP", 3), ("ssfO", 4), ("ssf", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChCurrentStatus.setStatus('current')
optIfOChSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2), )
if mibBuilder.loadTexts: optIfOChSinkCurrentTable.setStatus('current')
optIfOChSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChSinkCurrentEntry.setStatus('current')
optIfOChSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurrentSuspectedFlag.setStatus('current')
optIfOChSinkCurrentInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurrentInputPower.setStatus('current')
optIfOChSinkCurrentLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurrentLowInputPower.setStatus('current')
optIfOChSinkCurrentHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurrentHighInputPower.setStatus('current')
optIfOChSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChSinkCurrentLowerInputPowerThreshold.setStatus('current')
optIfOChSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChSinkCurrentUpperInputPowerThreshold.setStatus('current')
optIfOChSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3), )
if mibBuilder.loadTexts: optIfOChSinkIntervalTable.setStatus('current')
optIfOChSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChSinkIntervalNumber"))
if mibBuilder.loadTexts: optIfOChSinkIntervalEntry.setStatus('current')
optIfOChSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOChSinkIntervalNumber.setStatus('current')
optIfOChSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkIntervalSuspectedFlag.setStatus('current')
optIfOChSinkIntervalLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkIntervalLastInputPower.setStatus('current')
optIfOChSinkIntervalLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkIntervalLowInputPower.setStatus('current')
optIfOChSinkIntervalHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkIntervalHighInputPower.setStatus('current')
optIfOChSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4), )
if mibBuilder.loadTexts: optIfOChSinkCurDayTable.setStatus('current')
optIfOChSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChSinkCurDayEntry.setStatus('current')
optIfOChSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurDaySuspectedFlag.setStatus('current')
optIfOChSinkCurDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurDayLowInputPower.setStatus('current')
optIfOChSinkCurDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkCurDayHighInputPower.setStatus('current')
optIfOChSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5), )
if mibBuilder.loadTexts: optIfOChSinkPrevDayTable.setStatus('current')
optIfOChSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChSinkPrevDayEntry.setStatus('current')
optIfOChSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkPrevDaySuspectedFlag.setStatus('current')
optIfOChSinkPrevDayLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkPrevDayLastInputPower.setStatus('current')
optIfOChSinkPrevDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkPrevDayLowInputPower.setStatus('current')
optIfOChSinkPrevDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSinkPrevDayHighInputPower.setStatus('current')
optIfOChSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6), )
if mibBuilder.loadTexts: optIfOChSrcCurrentTable.setStatus('current')
optIfOChSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChSrcCurrentEntry.setStatus('current')
optIfOChSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurrentSuspectedFlag.setStatus('current')
optIfOChSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurrentOutputPower.setStatus('current')
optIfOChSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurrentLowOutputPower.setStatus('current')
optIfOChSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurrentHighOutputPower.setStatus('current')
optIfOChSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChSrcCurrentLowerOutputPowerThreshold.setStatus('current')
optIfOChSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 6), Integer32()).setUnits('0.1 dbm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOChSrcCurrentUpperOutputPowerThreshold.setStatus('current')
optIfOChSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7), )
if mibBuilder.loadTexts: optIfOChSrcIntervalTable.setStatus('current')
optIfOChSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChSrcIntervalNumber"))
if mibBuilder.loadTexts: optIfOChSrcIntervalEntry.setStatus('current')
optIfOChSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 1), OptIfIntervalNumber())
if mibBuilder.loadTexts: optIfOChSrcIntervalNumber.setStatus('current')
optIfOChSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcIntervalSuspectedFlag.setStatus('current')
optIfOChSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcIntervalLastOutputPower.setStatus('current')
optIfOChSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcIntervalLowOutputPower.setStatus('current')
optIfOChSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 5), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcIntervalHighOutputPower.setStatus('current')
optIfOChSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8), )
if mibBuilder.loadTexts: optIfOChSrcCurDayTable.setStatus('current')
optIfOChSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChSrcCurDayEntry.setStatus('current')
optIfOChSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurDaySuspectedFlag.setStatus('current')
optIfOChSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurDayLowOutputPower.setStatus('current')
optIfOChSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcCurDayHighOutputPower.setStatus('current')
optIfOChSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9), )
if mibBuilder.loadTexts: optIfOChSrcPrevDayTable.setStatus('current')
optIfOChSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOChSrcPrevDayEntry.setStatus('current')
optIfOChSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcPrevDaySuspectedFlag.setStatus('current')
optIfOChSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 2), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcPrevDayLastOutputPower.setStatus('current')
optIfOChSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 3), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcPrevDayLowOutputPower.setStatus('current')
optIfOChSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 4), Integer32()).setUnits('0.1 dbm').setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOChSrcPrevDayHighOutputPower.setStatus('current')
optIfOTUkConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1), )
if mibBuilder.loadTexts: optIfOTUkConfigTable.setStatus('current')
optIfOTUkConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfOTUkConfigEntry.setStatus('current')
optIfOTUkDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTUkDirectionality.setStatus('current')
optIfOTUkBitRateK = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 2), OptIfBitRateK()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTUkBitRateK.setStatus('current')
optIfOTUkTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 3), OptIfTxTI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkTraceIdentifierTransmitted.setStatus('current')
optIfOTUkDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 4), OptIfExDAPI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkDAPIExpected.setStatus('current')
optIfOTUkSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 5), OptIfExSAPI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkSAPIExpected.setStatus('current')
optIfOTUkTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 6), OptIfAcTI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTUkTraceIdentifierAccepted.setStatus('current')
optIfOTUkTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 7), OptIfTIMDetMode()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkTIMDetMode.setStatus('current')
optIfOTUkTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 8), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkTIMActEnabled.setStatus('current')
optIfOTUkDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 9), OptIfDEGThr()).setUnits('percentage').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkDEGThr.setStatus('current')
optIfOTUkDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 10), OptIfDEGM()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkDEGM.setStatus('current')
optIfOTUkSinkAdaptActive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 11), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkSinkAdaptActive.setStatus('current')
optIfOTUkSourceAdaptActive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 12), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkSourceAdaptActive.setStatus('current')
optIfOTUkSinkFECEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 13), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfOTUkSinkFECEnabled.setStatus('current')
optIfOTUkCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 14), Bits().clone(namedValues=NamedValues(("tim", 0), ("deg", 1), ("bdi", 2), ("ssf", 3), ("lof", 4), ("ais", 5), ("lom", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfOTUkCurrentStatus.setStatus('current')
optIfGCC0ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2), )
if mibBuilder.loadTexts: optIfGCC0ConfigTable.setStatus('current')
optIfGCC0ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfGCC0Directionality"))
if mibBuilder.loadTexts: optIfGCC0ConfigEntry.setStatus('current')
optIfGCC0Directionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 1), OptIfDirectionality())
if mibBuilder.loadTexts: optIfGCC0Directionality.setStatus('current')
optIfGCC0Application = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfGCC0Application.setStatus('current')
optIfGCC0RowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfGCC0RowStatus.setStatus('current')
optIfODUkConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1), )
if mibBuilder.loadTexts: optIfODUkConfigTable.setStatus('current')
optIfODUkConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfODUkConfigEntry.setStatus('current')
optIfODUkDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkDirectionality.setStatus('current')
optIfODUkBitRateK = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 2), OptIfBitRateK()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkBitRateK.setStatus('current')
optIfODUkTcmFieldsInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 3), Bits().clone(namedValues=NamedValues(("tcmField1", 0), ("tcmField2", 1), ("tcmField3", 2), ("tcmField4", 3), ("tcmField5", 4), ("tcmField6", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTcmFieldsInUse.setStatus('current')
optIfODUkPositionSeqCurrentSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkPositionSeqCurrentSize.setStatus('current')
optIfODUkTtpPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 5), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTtpPresent.setStatus('current')
optIfODUkTtpConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2), )
if mibBuilder.loadTexts: optIfODUkTtpConfigTable.setStatus('current')
optIfODUkTtpConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: optIfODUkTtpConfigEntry.setStatus('current')
optIfODUkTtpTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 1), OptIfTxTI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpTraceIdentifierTransmitted.setStatus('current')
optIfODUkTtpDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 2), OptIfExDAPI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpDAPIExpected.setStatus('current')
optIfODUkTtpSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 3), OptIfExSAPI()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpSAPIExpected.setStatus('current')
optIfODUkTtpTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 4), OptIfAcTI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTtpTraceIdentifierAccepted.setStatus('current')
optIfODUkTtpTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 5), OptIfTIMDetMode()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpTIMDetMode.setStatus('current')
optIfODUkTtpTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 6), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpTIMActEnabled.setStatus('current')
optIfODUkTtpDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 7), OptIfDEGThr()).setUnits('percentage').setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpDEGThr.setStatus('current')
optIfODUkTtpDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 8), OptIfDEGM()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: optIfODUkTtpDEGM.setStatus('current')
optIfODUkTtpCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 9), Bits().clone(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTtpCurrentStatus.setStatus('current')
optIfODUkPositionSeqTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3), )
if mibBuilder.loadTexts: optIfODUkPositionSeqTable.setStatus('current')
optIfODUkPositionSeqEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkPositionSeqIndex"))
if mibBuilder.loadTexts: optIfODUkPositionSeqEntry.setStatus('current')
optIfODUkPositionSeqIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)))
if mibBuilder.loadTexts: optIfODUkPositionSeqIndex.setStatus('current')
optIfODUkPositionSeqPosition = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkPositionSeqPosition.setStatus('current')
optIfODUkPositionSeqPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 3), RowPointer()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkPositionSeqPointer.setStatus('current')
optIfODUkNimConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4), )
if mibBuilder.loadTexts: optIfODUkNimConfigTable.setStatus('current')
optIfODUkNimConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkNimDirectionality"))
if mibBuilder.loadTexts: optIfODUkNimConfigEntry.setStatus('current')
optIfODUkNimDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 1), OptIfSinkOrSource())
if mibBuilder.loadTexts: optIfODUkNimDirectionality.setStatus('current')
optIfODUkNimDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 2), OptIfExDAPI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimDAPIExpected.setStatus('current')
optIfODUkNimSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 3), OptIfExSAPI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimSAPIExpected.setStatus('current')
optIfODUkNimTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 4), OptIfAcTI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkNimTraceIdentifierAccepted.setStatus('current')
optIfODUkNimTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 5), OptIfTIMDetMode()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimTIMDetMode.setStatus('current')
optIfODUkNimTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 6), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimTIMActEnabled.setStatus('current')
optIfODUkNimDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 7), OptIfDEGThr()).setUnits('percentage').setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimDEGThr.setStatus('current')
optIfODUkNimDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 8), OptIfDEGM()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimDEGM.setStatus('current')
optIfODUkNimCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 9), Bits().clone(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkNimCurrentStatus.setStatus('current')
optIfODUkNimRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 10), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkNimRowStatus.setStatus('current')
optIfGCC12ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5), )
if mibBuilder.loadTexts: optIfGCC12ConfigTable.setStatus('current')
optIfGCC12ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfGCC12Codirectional"), (0, "OPT-IF-MIB", "optIfGCC12GCCAccess"))
if mibBuilder.loadTexts: optIfGCC12ConfigEntry.setStatus('current')
optIfGCC12Codirectional = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 1), TruthValue())
if mibBuilder.loadTexts: optIfGCC12Codirectional.setStatus('current')
optIfGCC12GCCAccess = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("gcc1", 1), ("gcc2", 2), ("gcc1and2", 3))))
if mibBuilder.loadTexts: optIfGCC12GCCAccess.setStatus('current')
optIfGCC12GCCPassThrough = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 3), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfGCC12GCCPassThrough.setStatus('current')
optIfGCC12Application = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 4), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfGCC12Application.setStatus('current')
optIfGCC12RowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfGCC12RowStatus.setStatus('current')
optIfODUkTConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1), )
if mibBuilder.loadTexts: optIfODUkTConfigTable.setStatus('current')
optIfODUkTConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkTTcmField"), (0, "OPT-IF-MIB", "optIfODUkTCodirectional"))
if mibBuilder.loadTexts: optIfODUkTConfigEntry.setStatus('current')
optIfODUkTTcmField = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: optIfODUkTTcmField.setStatus('current')
optIfODUkTCodirectional = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 2), TruthValue())
if mibBuilder.loadTexts: optIfODUkTCodirectional.setStatus('current')
optIfODUkTTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 3), OptIfTxTI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTTraceIdentifierTransmitted.setStatus('current')
optIfODUkTDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 4), OptIfExDAPI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTDAPIExpected.setStatus('current')
optIfODUkTSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 5), OptIfExSAPI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTSAPIExpected.setStatus('current')
optIfODUkTTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 6), OptIfAcTI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTTraceIdentifierAccepted.setStatus('current')
optIfODUkTTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 7), OptIfTIMDetMode()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTTIMDetMode.setStatus('current')
optIfODUkTTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 8), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTTIMActEnabled.setStatus('current')
optIfODUkTDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 9), OptIfDEGThr()).setUnits('percentage').setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTDEGThr.setStatus('current')
optIfODUkTDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 10), OptIfDEGM()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTDEGM.setStatus('current')
optIfODUkTSinkMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("operational", 1), ("monitor", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTSinkMode.setStatus('current')
optIfODUkTSinkLockSignalAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("locked", 1), ("normal", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTSinkLockSignalAdminState.setStatus('current')
optIfODUkTSourceLockSignalAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("locked", 1), ("normal", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTSourceLockSignalAdminState.setStatus('current')
optIfODUkTCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 14), Bits().clone(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTCurrentStatus.setStatus('current')
optIfODUkTRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 15), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTRowStatus.setStatus('current')
optIfODUkTNimConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2), )
if mibBuilder.loadTexts: optIfODUkTNimConfigTable.setStatus('current')
optIfODUkTNimConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkTNimTcmField"), (0, "OPT-IF-MIB", "optIfODUkTNimDirectionality"))
if mibBuilder.loadTexts: optIfODUkTNimConfigEntry.setStatus('current')
optIfODUkTNimTcmField = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: optIfODUkTNimTcmField.setStatus('current')
optIfODUkTNimDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 2), OptIfSinkOrSource())
if mibBuilder.loadTexts: optIfODUkTNimDirectionality.setStatus('current')
optIfODUkTNimDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 3), OptIfExDAPI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimDAPIExpected.setStatus('current')
optIfODUkTNimSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 4), OptIfExSAPI()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimSAPIExpected.setStatus('current')
optIfODUkTNimTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 5), OptIfAcTI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTNimTraceIdentifierAccepted.setStatus('current')
optIfODUkTNimTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 6), OptIfTIMDetMode()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimTIMDetMode.setStatus('current')
optIfODUkTNimTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 7), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimTIMActEnabled.setStatus('current')
optIfODUkTNimDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 8), OptIfDEGThr()).setUnits('percentage').setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimDEGThr.setStatus('current')
optIfODUkTNimDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 9), OptIfDEGM()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimDEGM.setStatus('current')
optIfODUkTNimCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 10), Bits().clone(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: optIfODUkTNimCurrentStatus.setStatus('current')
optIfODUkTNimRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: optIfODUkTNimRowStatus.setStatus('current')
optIfOTMnGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 1)).setObjects(("OPT-IF-MIB", "optIfOTMnOrder"), ("OPT-IF-MIB", "optIfOTMnReduced"), ("OPT-IF-MIB", "optIfOTMnBitRates"), ("OPT-IF-MIB", "optIfOTMnInterfaceType"), ("OPT-IF-MIB", "optIfOTMnTcmMax"), ("OPT-IF-MIB", "optIfOTMnOpticalReach"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTMnGroup = optIfOTMnGroup.setStatus('current')
optIfPerfMonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 2)).setObjects(("OPT-IF-MIB", "optIfPerfMonCurrentTimeElapsed"), ("OPT-IF-MIB", "optIfPerfMonCurDayTimeElapsed"), ("OPT-IF-MIB", "optIfPerfMonIntervalNumIntervals"), ("OPT-IF-MIB", "optIfPerfMonIntervalNumInvalidIntervals"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfPerfMonGroup = optIfPerfMonGroup.setStatus('current')
optIfOTSnCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 3)).setObjects(("OPT-IF-MIB", "optIfOTSnDirectionality"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnCommonGroup = optIfOTSnCommonGroup.setStatus('current')
optIfOTSnSourceGroupFull = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 4)).setObjects(("OPT-IF-MIB", "optIfOTSnTraceIdentifierTransmitted"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSourceGroupFull = optIfOTSnSourceGroupFull.setStatus('current')
optIfOTSnAPRStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 5)).setObjects(("OPT-IF-MIB", "optIfOTSnAprStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnAPRStatusGroup = optIfOTSnAPRStatusGroup.setStatus('current')
optIfOTSnAPRControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 6)).setObjects(("OPT-IF-MIB", "optIfOTSnAprControl"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnAPRControlGroup = optIfOTSnAPRControlGroup.setStatus('current')
optIfOTSnSinkGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 7)).setObjects(("OPT-IF-MIB", "optIfOTSnCurrentStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSinkGroupBasic = optIfOTSnSinkGroupBasic.setStatus('current')
optIfOTSnSinkGroupFull = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 8)).setObjects(("OPT-IF-MIB", "optIfOTSnDAPIExpected"), ("OPT-IF-MIB", "optIfOTSnSAPIExpected"), ("OPT-IF-MIB", "optIfOTSnTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfOTSnTIMDetMode"), ("OPT-IF-MIB", "optIfOTSnTIMActEnabled"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSinkGroupFull = optIfOTSnSinkGroupFull.setStatus('current')
optIfOTSnSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 9)).setObjects(("OPT-IF-MIB", "optIfOTSnSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayHighOutputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSinkPreOtnPMGroup = optIfOTSnSinkPreOtnPMGroup.setStatus('current')
optIfOTSnSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 10)).setObjects(("OPT-IF-MIB", "optIfOTSnSinkCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentUpperOutputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSinkPreOtnPMThresholdGroup = optIfOTSnSinkPreOtnPMThresholdGroup.setStatus('current')
optIfOTSnSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 11)).setObjects(("OPT-IF-MIB", "optIfOTSnSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayHighInputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSourcePreOtnPMGroup = optIfOTSnSourcePreOtnPMGroup.setStatus('current')
optIfOTSnSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 12)).setObjects(("OPT-IF-MIB", "optIfOTSnSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentUpperInputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTSnSourcePreOtnPMThresholdGroup = optIfOTSnSourcePreOtnPMThresholdGroup.setStatus('current')
optIfOMSnCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 13)).setObjects(("OPT-IF-MIB", "optIfOMSnDirectionality"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOMSnCommonGroup = optIfOMSnCommonGroup.setStatus('current')
optIfOMSnSinkGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 14)).setObjects(("OPT-IF-MIB", "optIfOMSnCurrentStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOMSnSinkGroupBasic = optIfOMSnSinkGroupBasic.setStatus('current')
optIfOMSnSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 15)).setObjects(("OPT-IF-MIB", "optIfOMSnSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayHighOutputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOMSnSinkPreOtnPMGroup = optIfOMSnSinkPreOtnPMGroup.setStatus('current')
optIfOMSnSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 16)).setObjects(("OPT-IF-MIB", "optIfOMSnSinkCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentUpperOutputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOMSnSinkPreOtnPMThresholdGroup = optIfOMSnSinkPreOtnPMThresholdGroup.setStatus('current')
optIfOMSnSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 17)).setObjects(("OPT-IF-MIB", "optIfOMSnSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayHighAggregatedInputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOMSnSourcePreOtnPMGroup = optIfOMSnSourcePreOtnPMGroup.setStatus('current')
optIfOMSnSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 18)).setObjects(("OPT-IF-MIB", "optIfOMSnSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentUpperInputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOMSnSourcePreOtnPMThresholdGroup = optIfOMSnSourcePreOtnPMThresholdGroup.setStatus('current')
optIfOChGroupCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 19)).setObjects(("OPT-IF-MIB", "optIfOChGroupDirectionality"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChGroupCommonGroup = optIfOChGroupCommonGroup.setStatus('current')
optIfOChGroupSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 20)).setObjects(("OPT-IF-MIB", "optIfOChGroupSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayHighOutputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChGroupSinkPreOtnPMGroup = optIfOChGroupSinkPreOtnPMGroup.setStatus('current')
optIfOChGroupSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 21)).setObjects(("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentUpperOutputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChGroupSinkPreOtnPMThresholdGroup = optIfOChGroupSinkPreOtnPMThresholdGroup.setStatus('current')
optIfOChGroupSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 22)).setObjects(("OPT-IF-MIB", "optIfOChGroupSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayHighAggregatedInputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChGroupSourcePreOtnPMGroup = optIfOChGroupSourcePreOtnPMGroup.setStatus('current')
optIfOChGroupSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 23)).setObjects(("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentUpperInputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChGroupSourcePreOtnPMThresholdGroup = optIfOChGroupSourcePreOtnPMThresholdGroup.setStatus('current')
optIfOChCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 24)).setObjects(("OPT-IF-MIB", "optIfOChDirectionality"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChCommonGroup = optIfOChCommonGroup.setStatus('current')
optIfOChSinkGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 25)).setObjects(("OPT-IF-MIB", "optIfOChCurrentStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChSinkGroupBasic = optIfOChSinkGroupBasic.setStatus('current')
optIfOChSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 26)).setObjects(("OPT-IF-MIB", "optIfOChSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkCurrentInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurrentLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurrentHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkIntervalLastInputPower"), ("OPT-IF-MIB", "optIfOChSinkIntervalLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkIntervalHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkCurDayLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurDayHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkPrevDayLastInputPower"), ("OPT-IF-MIB", "optIfOChSinkPrevDayLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkPrevDayHighInputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChSinkPreOtnPMGroup = optIfOChSinkPreOtnPMGroup.setStatus('current')
optIfOChSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 27)).setObjects(("OPT-IF-MIB", "optIfOChSinkCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChSinkCurrentUpperInputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChSinkPreOtnPMThresholdGroup = optIfOChSinkPreOtnPMThresholdGroup.setStatus('current')
optIfOChSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 28)).setObjects(("OPT-IF-MIB", "optIfOChSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOChSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOChSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcPrevDayHighOutputPower"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChSourcePreOtnPMGroup = optIfOChSourcePreOtnPMGroup.setStatus('current')
optIfOChSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 29)).setObjects(("OPT-IF-MIB", "optIfOChSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChSrcCurrentUpperOutputPowerThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOChSourcePreOtnPMThresholdGroup = optIfOChSourcePreOtnPMThresholdGroup.setStatus('current')
optIfOTUkCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 30)).setObjects(("OPT-IF-MIB", "optIfOTUkDirectionality"), ("OPT-IF-MIB", "optIfOTUkBitRateK"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTUkCommonGroup = optIfOTUkCommonGroup.setStatus('current')
optIfOTUkSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 31)).setObjects(("OPT-IF-MIB", "optIfOTUkTraceIdentifierTransmitted"), ("OPT-IF-MIB", "optIfOTUkSourceAdaptActive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTUkSourceGroup = optIfOTUkSourceGroup.setStatus('current')
optIfOTUkSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 32)).setObjects(("OPT-IF-MIB", "optIfOTUkDAPIExpected"), ("OPT-IF-MIB", "optIfOTUkSAPIExpected"), ("OPT-IF-MIB", "optIfOTUkTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfOTUkTIMDetMode"), ("OPT-IF-MIB", "optIfOTUkTIMActEnabled"), ("OPT-IF-MIB", "optIfOTUkDEGThr"), ("OPT-IF-MIB", "optIfOTUkDEGM"), ("OPT-IF-MIB", "optIfOTUkSinkAdaptActive"), ("OPT-IF-MIB", "optIfOTUkSinkFECEnabled"), ("OPT-IF-MIB", "optIfOTUkCurrentStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOTUkSinkGroup = optIfOTUkSinkGroup.setStatus('current')
optIfGCC0Group = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 33)).setObjects(("OPT-IF-MIB", "optIfGCC0Application"), ("OPT-IF-MIB", "optIfGCC0RowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfGCC0Group = optIfGCC0Group.setStatus('current')
optIfODUkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 34)).setObjects(("OPT-IF-MIB", "optIfODUkDirectionality"), ("OPT-IF-MIB", "optIfODUkBitRateK"), ("OPT-IF-MIB", "optIfODUkTcmFieldsInUse"), ("OPT-IF-MIB", "optIfODUkPositionSeqCurrentSize"), ("OPT-IF-MIB", "optIfODUkPositionSeqPosition"), ("OPT-IF-MIB", "optIfODUkPositionSeqPointer"), ("OPT-IF-MIB", "optIfODUkTtpPresent"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkGroup = optIfODUkGroup.setStatus('current')
optIfODUkTtpSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 35)).setObjects(("OPT-IF-MIB", "optIfODUkTtpTraceIdentifierTransmitted"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTtpSourceGroup = optIfODUkTtpSourceGroup.setStatus('current')
optIfODUkTtpSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 36)).setObjects(("OPT-IF-MIB", "optIfODUkTtpDAPIExpected"), ("OPT-IF-MIB", "optIfODUkTtpSAPIExpected"), ("OPT-IF-MIB", "optIfODUkTtpTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkTtpTIMDetMode"), ("OPT-IF-MIB", "optIfODUkTtpTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkTtpDEGThr"), ("OPT-IF-MIB", "optIfODUkTtpDEGM"), ("OPT-IF-MIB", "optIfODUkTtpCurrentStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTtpSinkGroup = optIfODUkTtpSinkGroup.setStatus('current')
optIfODUkNimGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 37)).setObjects(("OPT-IF-MIB", "optIfODUkNimDAPIExpected"), ("OPT-IF-MIB", "optIfODUkNimSAPIExpected"), ("OPT-IF-MIB", "optIfODUkNimTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkNimTIMDetMode"), ("OPT-IF-MIB", "optIfODUkNimTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkNimDEGThr"), ("OPT-IF-MIB", "optIfODUkNimDEGM"), ("OPT-IF-MIB", "optIfODUkNimCurrentStatus"), ("OPT-IF-MIB", "optIfODUkNimRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkNimGroup = optIfODUkNimGroup.setStatus('current')
optIfGCC12Group = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 38)).setObjects(("OPT-IF-MIB", "optIfGCC12GCCPassThrough"), ("OPT-IF-MIB", "optIfGCC12Application"), ("OPT-IF-MIB", "optIfGCC12RowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfGCC12Group = optIfGCC12Group.setStatus('current')
optIfODUkTCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 39)).setObjects(("OPT-IF-MIB", "optIfODUkTRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTCommonGroup = optIfODUkTCommonGroup.setStatus('current')
optIfODUkTSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 40)).setObjects(("OPT-IF-MIB", "optIfODUkTTraceIdentifierTransmitted"), ("OPT-IF-MIB", "optIfODUkTSourceLockSignalAdminState"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTSourceGroup = optIfODUkTSourceGroup.setStatus('current')
optIfODUkTSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 41)).setObjects(("OPT-IF-MIB", "optIfODUkTDAPIExpected"), ("OPT-IF-MIB", "optIfODUkTSAPIExpected"), ("OPT-IF-MIB", "optIfODUkTTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkTTIMDetMode"), ("OPT-IF-MIB", "optIfODUkTTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkTDEGThr"), ("OPT-IF-MIB", "optIfODUkTDEGM"), ("OPT-IF-MIB", "optIfODUkTCurrentStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTSinkGroup = optIfODUkTSinkGroup.setStatus('current')
optIfODUkTSinkGroupCtp = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 42)).setObjects(("OPT-IF-MIB", "optIfODUkTSinkMode"), ("OPT-IF-MIB", "optIfODUkTSinkLockSignalAdminState"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTSinkGroupCtp = optIfODUkTSinkGroupCtp.setStatus('current')
optIfODUkTNimGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 43)).setObjects(("OPT-IF-MIB", "optIfODUkTNimDAPIExpected"), ("OPT-IF-MIB", "optIfODUkTNimSAPIExpected"), ("OPT-IF-MIB", "optIfODUkTNimTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkTNimTIMDetMode"), ("OPT-IF-MIB", "optIfODUkTNimTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkTNimDEGThr"), ("OPT-IF-MIB", "optIfODUkTNimDEGM"), ("OPT-IF-MIB", "optIfODUkTNimCurrentStatus"), ("OPT-IF-MIB", "optIfODUkTNimRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfODUkTNimGroup = optIfODUkTNimGroup.setStatus('current')
optIfOtnConfigCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 133, 2, 2, 1)).setObjects(("OPT-IF-MIB", "optIfOTMnGroup"), ("OPT-IF-MIB", "optIfOTSnCommonGroup"), ("OPT-IF-MIB", "optIfOTSnSourceGroupFull"), ("OPT-IF-MIB", "optIfOTSnAPRStatusGroup"), ("OPT-IF-MIB", "optIfOTSnAPRControlGroup"), ("OPT-IF-MIB", "optIfOTSnSinkGroupBasic"), ("OPT-IF-MIB", "optIfOTSnSinkGroupFull"), ("OPT-IF-MIB", "optIfOMSnCommonGroup"), ("OPT-IF-MIB", "optIfOMSnSinkGroupBasic"), ("OPT-IF-MIB", "optIfOChGroupCommonGroup"), ("OPT-IF-MIB", "optIfOChCommonGroup"), ("OPT-IF-MIB", "optIfOChSinkGroupBasic"), ("OPT-IF-MIB", "optIfOTUkCommonGroup"), ("OPT-IF-MIB", "optIfOTUkSourceGroup"), ("OPT-IF-MIB", "optIfOTUkSinkGroup"), ("OPT-IF-MIB", "optIfGCC0Group"), ("OPT-IF-MIB", "optIfODUkGroup"), ("OPT-IF-MIB", "optIfODUkTtpSourceGroup"), ("OPT-IF-MIB", "optIfODUkTtpSinkGroup"), ("OPT-IF-MIB", "optIfODUkNimGroup"), ("OPT-IF-MIB", "optIfGCC12Group"), ("OPT-IF-MIB", "optIfODUkTCommonGroup"), ("OPT-IF-MIB", "optIfODUkTSourceGroup"), ("OPT-IF-MIB", "optIfODUkTSinkGroup"), ("OPT-IF-MIB", "optIfODUkTSinkGroupCtp"), ("OPT-IF-MIB", "optIfODUkTNimGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfOtnConfigCompl = optIfOtnConfigCompl.setStatus('current')
optIfPreOtnPMCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 133, 2, 2, 2)).setObjects(("OPT-IF-MIB", "optIfPerfMonGroup"), ("OPT-IF-MIB", "optIfOTSnSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOTSnSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOTSnSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOTSnSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOMSnSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOMSnSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOMSnSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOMSnSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChGroupSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChGroupSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChGroupSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChGroupSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChSourcePreOtnPMThresholdGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
optIfPreOtnPMCompl = optIfPreOtnPMCompl.setStatus('current')
mibBuilder.exportSymbols("OPT-IF-MIB", optIfOChSinkIntervalHighInputPower=optIfOChSinkIntervalHighInputPower, optIfOChSrcCurrentHighOutputPower=optIfOChSrcCurrentHighOutputPower, optIfOTSnSrcIntervalLowOutputPower=optIfOTSnSrcIntervalLowOutputPower, optIfOTMnInterfaceType=optIfOTMnInterfaceType, optIfOTSnSinkCurrentLowOutputPower=optIfOTSnSinkCurrentLowOutputPower, optIfOMSnSrcCurrentEntry=optIfOMSnSrcCurrentEntry, optIfODUkNimTIMDetMode=optIfODUkNimTIMDetMode, optIfOTSnSinkCurDayEntry=optIfOTSnSinkCurDayEntry, optIfOChSrcCurDayTable=optIfOChSrcCurDayTable, optIfOMSnSinkCurrentHighOutputPower=optIfOMSnSinkCurrentHighOutputPower, optIfOMSnSrcCurDayLowAggregatedInputPower=optIfOMSnSrcCurDayLowAggregatedInputPower, optIfOChSinkCurrentLowInputPower=optIfOChSinkCurrentLowInputPower, optIfOChSinkCurrentLowerInputPowerThreshold=optIfOChSinkCurrentLowerInputPowerThreshold, optIfOTSnSinkIntervalHighInputPower=optIfOTSnSinkIntervalHighInputPower, optIfOTSnSinkPreOtnPMThresholdGroup=optIfOTSnSinkPreOtnPMThresholdGroup, optIfOChSinkCurDayTable=optIfOChSinkCurDayTable, optIfOChGroupSrcPrevDayLastOutputPower=optIfOChGroupSrcPrevDayLastOutputPower, optIfOTSnSinkCurDayHighOutputPower=optIfOTSnSinkCurDayHighOutputPower, optIfOMSnSinkIntervalLastOutputPower=optIfOMSnSinkIntervalLastOutputPower, optIfOChGroupSrcCurrentHighOutputPower=optIfOChGroupSrcCurrentHighOutputPower, optIfOTSnAprStatus=optIfOTSnAprStatus, optIfODUkTTraceIdentifierAccepted=optIfODUkTTraceIdentifierAccepted, optIfOTSnSourceGroupFull=optIfOTSnSourceGroupFull, optIfOChGroupSinkIntervalHighAggregatedInputPower=optIfOChGroupSinkIntervalHighAggregatedInputPower, optIfODUkTSourceLockSignalAdminState=optIfODUkTSourceLockSignalAdminState, optIfOMSnSrcCurrentSuspectedFlag=optIfOMSnSrcCurrentSuspectedFlag, optIfOChGroupSrcIntervalTable=optIfOChGroupSrcIntervalTable, optIfOMSnSinkPrevDayHighOutputPower=optIfOMSnSinkPrevDayHighOutputPower, optIfODUkTCommonGroup=optIfODUkTCommonGroup, optIfOChSinkIntervalEntry=optIfOChSinkIntervalEntry, optIfOTSnSrcPrevDaySuspectedFlag=optIfOTSnSrcPrevDaySuspectedFlag, optIfOMSnSrcCurrentAggregatedInputPower=optIfOMSnSrcCurrentAggregatedInputPower, optIfOTSnSinkCurrentUpperOutputPowerThreshold=optIfOTSnSinkCurrentUpperOutputPowerThreshold, optIfOTSnSinkPrevDaySuspectedFlag=optIfOTSnSinkPrevDaySuspectedFlag, optIfOChGroupSrcCurDayTable=optIfOChGroupSrcCurDayTable, optIfOTSnSinkIntervalSuspectedFlag=optIfOTSnSinkIntervalSuspectedFlag, optIfOChGroupSinkIntervalLastAggregatedInputPower=optIfOChGroupSinkIntervalLastAggregatedInputPower, OptIfTIMDetMode=OptIfTIMDetMode, optIfOChGroupSinkPrevDayTable=optIfOChGroupSinkPrevDayTable, optIfOTUkConfigEntry=optIfOTUkConfigEntry, optIfOTSnSinkCurDayLowOutputPower=optIfOTSnSinkCurDayLowOutputPower, optIfOChGroupSrcCurDaySuspectedFlag=optIfOChGroupSrcCurDaySuspectedFlag, optIfOChSrcPrevDayLowOutputPower=optIfOChSrcPrevDayLowOutputPower, optIfOMSnSinkCurrentHighAggregatedInputPower=optIfOMSnSinkCurrentHighAggregatedInputPower, optIfOtnConfigCompl=optIfOtnConfigCompl, optIfOMSnSrcCurDayHighOutputPower=optIfOMSnSrcCurDayHighOutputPower, optIfOTSnSrcCurrentEntry=optIfOTSnSrcCurrentEntry, optIfOTSnSrcPrevDayLastInputPower=optIfOTSnSrcPrevDayLastInputPower, optIfGCC12ConfigTable=optIfGCC12ConfigTable, optIfOMSnSinkCurrentLowerOutputPowerThreshold=optIfOMSnSinkCurrentLowerOutputPowerThreshold, optIfGCC12GCCAccess=optIfGCC12GCCAccess, optIfGCC0Application=optIfGCC0Application, optIfOMSnSrcCurrentLowAggregatedInputPower=optIfOMSnSrcCurrentLowAggregatedInputPower, optIfOTSnSrcCurDayHighInputPower=optIfOTSnSrcCurDayHighInputPower, optIfODUkTTraceIdentifierTransmitted=optIfODUkTTraceIdentifierTransmitted, optIfPerfMonGroup=optIfPerfMonGroup, optIfOChGroupSinkPrevDayHighAggregatedInputPower=optIfOChGroupSinkPrevDayHighAggregatedInputPower, optIfOTSnSrcPrevDayLastOutputPower=optIfOTSnSrcPrevDayLastOutputPower, optIfOTSnSinkCurrentLowerOutputPowerThreshold=optIfOTSnSinkCurrentLowerOutputPowerThreshold, optIfOMSnSrcCurrentLowerInputPowerThreshold=optIfOMSnSrcCurrentLowerInputPowerThreshold, optIfGroups=optIfGroups, optIfOMSnSrcIntervalHighOutputPower=optIfOMSnSrcIntervalHighOutputPower, optIfOChGroupSinkCurDayLowAggregatedInputPower=optIfOChGroupSinkCurDayLowAggregatedInputPower, optIfODUkPositionSeqPosition=optIfODUkPositionSeqPosition, optIfOMSnSrcCurDayTable=optIfOMSnSrcCurDayTable, OptIfExDAPI=OptIfExDAPI, optIfOTSnSrcPrevDayLowOutputPower=optIfOTSnSrcPrevDayLowOutputPower, optIfGCC12Codirectional=optIfGCC12Codirectional, optIfOChSourcePreOtnPMThresholdGroup=optIfOChSourcePreOtnPMThresholdGroup, optIfGCC12ConfigEntry=optIfGCC12ConfigEntry, optIfODUkTCurrentStatus=optIfODUkTCurrentStatus, optIfOChSrcPrevDayEntry=optIfOChSrcPrevDayEntry, optIfOMSnSrcIntervalLowAggregatedInputPower=optIfOMSnSrcIntervalLowAggregatedInputPower, optIfConfs=optIfConfs, optIfODUkTtpSinkGroup=optIfODUkTtpSinkGroup, optIfGCC0ConfigTable=optIfGCC0ConfigTable, optIfOTUkDEGM=optIfOTUkDEGM, optIfODUkTNimSAPIExpected=optIfODUkTNimSAPIExpected, optIfOMSnSrcPrevDayTable=optIfOMSnSrcPrevDayTable, optIfOChGroupSrcPrevDayHighAggregatedInputPower=optIfOChGroupSrcPrevDayHighAggregatedInputPower, optIfOChGroupCommonGroup=optIfOChGroupCommonGroup, optIfOChGroupSinkIntervalHighOutputPower=optIfOChGroupSinkIntervalHighOutputPower, optIfOTSnSinkPrevDayLastInputPower=optIfOTSnSinkPrevDayLastInputPower, optIfOChGroupSrcCurrentLowerInputPowerThreshold=optIfOChGroupSrcCurrentLowerInputPowerThreshold, optIfOMSnSinkIntervalSuspectedFlag=optIfOMSnSinkIntervalSuspectedFlag, optIfOMSnSrcCurrentTable=optIfOMSnSrcCurrentTable, optIfOTSnSinkPrevDayTable=optIfOTSnSinkPrevDayTable, OptIfSinkOrSource=OptIfSinkOrSource, optIfOChGroupSrcIntervalLastOutputPower=optIfOChGroupSrcIntervalLastOutputPower, optIfODUkTcmFieldsInUse=optIfODUkTcmFieldsInUse, optIfOTSnSrcCurDayTable=optIfOTSnSrcCurDayTable, optIfODUkTNimConfigEntry=optIfODUkTNimConfigEntry, optIfOChSinkCurDayHighInputPower=optIfOChSinkCurDayHighInputPower, optIfOMSnSinkIntervalEntry=optIfOMSnSinkIntervalEntry, optIfODUkTNimDEGThr=optIfODUkTNimDEGThr, optIfOMSnSinkPrevDayLowOutputPower=optIfOMSnSinkPrevDayLowOutputPower, optIfOTSnSinkCurrentOutputPower=optIfOTSnSinkCurrentOutputPower, optIfPerfMonIntervalTable=optIfPerfMonIntervalTable, optIfOMSnSinkIntervalHighOutputPower=optIfOMSnSinkIntervalHighOutputPower, optIfOMSnCurrentStatus=optIfOMSnCurrentStatus, optIfMibModule=optIfMibModule, optIfOChGroupDirectionality=optIfOChGroupDirectionality, optIfODUkTtpConfigEntry=optIfODUkTtpConfigEntry, optIfODUkTtpPresent=optIfODUkTtpPresent, optIfODUkTNimTcmField=optIfODUkTNimTcmField, optIfOChSrcCurDayHighOutputPower=optIfOChSrcCurDayHighOutputPower, optIfOTUkTIMActEnabled=optIfOTUkTIMActEnabled, optIfOChSrcCurrentEntry=optIfOChSrcCurrentEntry, optIfODUkTSourceGroup=optIfODUkTSourceGroup, optIfOMSnSrcCurrentLowOutputPower=optIfOMSnSrcCurrentLowOutputPower, optIfOChSrcCurrentOutputPower=optIfOChSrcCurrentOutputPower, optIfOChGroupSourcePreOtnPMThresholdGroup=optIfOChGroupSourcePreOtnPMThresholdGroup, optIfOMSnSinkPrevDayLowAggregatedInputPower=optIfOMSnSinkPrevDayLowAggregatedInputPower, optIfOMSnSinkCurrentOutputPower=optIfOMSnSinkCurrentOutputPower, optIfOChGroupSrcCurDayLowOutputPower=optIfOChGroupSrcCurDayLowOutputPower, optIfOMSnSrcCurrentHighAggregatedInputPower=optIfOMSnSrcCurrentHighAggregatedInputPower, optIfOTSnAPRControlGroup=optIfOTSnAPRControlGroup, optIfODUkNimDEGM=optIfODUkNimDEGM, optIfOMSnSrcIntervalHighAggregatedInputPower=optIfOMSnSrcIntervalHighAggregatedInputPower, optIfODUkPositionSeqEntry=optIfODUkPositionSeqEntry, optIfODUk=optIfODUk, optIfOChGroupSinkCurrentUpperInputPowerThreshold=optIfOChGroupSinkCurrentUpperInputPowerThreshold, optIfOChGroupSinkCurDayHighOutputPower=optIfOChGroupSinkCurDayHighOutputPower, optIfOChGroupSinkCurrentLowerOutputPowerThreshold=optIfOChGroupSinkCurrentLowerOutputPowerThreshold, optIfOTMnReduced=optIfOTMnReduced, optIfOMSnSinkCurDayHighOutputPower=optIfOMSnSinkCurDayHighOutputPower, optIfOTSnSinkIntervalNumber=optIfOTSnSinkIntervalNumber, optIfOChGroupSourcePreOtnPMGroup=optIfOChGroupSourcePreOtnPMGroup, optIfOTSnAprControl=optIfOTSnAprControl, optIfOChSinkIntervalNumber=optIfOChSinkIntervalNumber, optIfOMSnSinkPrevDayLastAggregatedInputPower=optIfOMSnSinkPrevDayLastAggregatedInputPower, optIfODUkTTIMDetMode=optIfODUkTTIMDetMode, optIfODUkTNimRowStatus=optIfODUkTNimRowStatus, optIfOChSrcIntervalHighOutputPower=optIfOChSrcIntervalHighOutputPower, optIfODUkTNimCurrentStatus=optIfODUkTNimCurrentStatus, optIfODUkTtpSourceGroup=optIfODUkTtpSourceGroup, optIfOTSnSrcIntervalEntry=optIfOTSnSrcIntervalEntry, optIfPerfMonIntervalNumIntervals=optIfPerfMonIntervalNumIntervals, optIfOChSrcCurDaySuspectedFlag=optIfOChSrcCurDaySuspectedFlag, optIfOTUkSinkFECEnabled=optIfOTUkSinkFECEnabled, optIfOTSnSinkCurrentLowerInputPowerThreshold=optIfOTSnSinkCurrentLowerInputPowerThreshold, optIfOChSrcCurrentLowOutputPower=optIfOChSrcCurrentLowOutputPower, optIfOChGroupSrcPrevDayHighOutputPower=optIfOChGroupSrcPrevDayHighOutputPower, OptIfDirectionality=OptIfDirectionality, optIfOMSnSrcCurrentHighOutputPower=optIfOMSnSrcCurrentHighOutputPower, optIfOTSnSourcePreOtnPMGroup=optIfOTSnSourcePreOtnPMGroup, optIfOMSnSinkGroupBasic=optIfOMSnSinkGroupBasic, optIfODUkGroup=optIfODUkGroup, optIfOTSnSrcCurrentUpperOutputPowerThreshold=optIfOTSnSrcCurrentUpperOutputPowerThreshold, optIfOChGroupSinkCurrentUpperOutputPowerThreshold=optIfOChGroupSinkCurrentUpperOutputPowerThreshold, optIfOChGroupSrcCurrentAggregatedInputPower=optIfOChGroupSrcCurrentAggregatedInputPower, optIfOMSnConfigEntry=optIfOMSnConfigEntry, optIfOChSinkIntervalLastInputPower=optIfOChSinkIntervalLastInputPower, optIfOMSnSinkCurrentUpperOutputPowerThreshold=optIfOMSnSinkCurrentUpperOutputPowerThreshold, optIfOTUkBitRateK=optIfOTUkBitRateK, optIfOChGroupSrcIntervalLowOutputPower=optIfOChGroupSrcIntervalLowOutputPower, OptIfIntervalNumber=OptIfIntervalNumber, optIfOChSinkCurrentSuspectedFlag=optIfOChSinkCurrentSuspectedFlag, optIfOChGroupSrcIntervalHighOutputPower=optIfOChGroupSrcIntervalHighOutputPower, optIfODUkPositionSeqPointer=optIfODUkPositionSeqPointer, optIfODUkTNimTIMDetMode=optIfODUkTNimTIMDetMode, optIfOChGroupSinkPrevDayLowAggregatedInputPower=optIfOChGroupSinkPrevDayLowAggregatedInputPower, optIfOTUkDEGThr=optIfOTUkDEGThr, optIfObjects=optIfObjects, optIfOTSnCurrentStatus=optIfOTSnCurrentStatus, optIfOChSrcIntervalTable=optIfOChSrcIntervalTable, optIfOChCurrentStatus=optIfOChCurrentStatus, optIfOChSinkCurDayEntry=optIfOChSinkCurDayEntry, optIfOChSinkPreOtnPMThresholdGroup=optIfOChSinkPreOtnPMThresholdGroup, optIfOTSnSrcCurDaySuspectedFlag=optIfOTSnSrcCurDaySuspectedFlag, optIfOMSnSinkCurrentEntry=optIfOMSnSinkCurrentEntry, optIfOChDirectionality=optIfOChDirectionality, optIfODUkTtpTIMActEnabled=optIfODUkTtpTIMActEnabled, optIfOChSrcCurDayLowOutputPower=optIfOChSrcCurDayLowOutputPower, optIfOChGroupSinkIntervalLastOutputPower=optIfOChGroupSinkIntervalLastOutputPower, optIfOChGroupSinkIntervalLowOutputPower=optIfOChGroupSinkIntervalLowOutputPower, optIfOTSnSinkGroupFull=optIfOTSnSinkGroupFull, optIfOTSnSrcCurrentHighInputPower=optIfOTSnSrcCurrentHighInputPower, optIfOChGroupSrcIntervalLastAggregatedInputPower=optIfOChGroupSrcIntervalLastAggregatedInputPower, optIfOMSnCommonGroup=optIfOMSnCommonGroup, optIfOMSnSinkPrevDayTable=optIfOMSnSinkPrevDayTable, optIfOChGroupSinkPrevDayLastOutputPower=optIfOChGroupSinkPrevDayLastOutputPower, optIfOChSinkPrevDaySuspectedFlag=optIfOChSinkPrevDaySuspectedFlag, optIfGCC0ConfigEntry=optIfGCC0ConfigEntry, optIfODUkTtpDEGThr=optIfODUkTtpDEGThr, optIfODUkTCodirectional=optIfODUkTCodirectional, optIfOChSinkIntervalTable=optIfOChSinkIntervalTable, optIfPreOtnPMCompl=optIfPreOtnPMCompl, optIfOTUkTIMDetMode=optIfOTUkTIMDetMode, optIfOTUkSourceGroup=optIfOTUkSourceGroup, optIfOChGroupSinkCurrentTable=optIfOChGroupSinkCurrentTable, optIfOChGroupSinkIntervalEntry=optIfOChGroupSinkIntervalEntry, optIfOChSinkCurrentEntry=optIfOChSinkCurrentEntry, optIfOTSnSrcIntervalNumber=optIfOTSnSrcIntervalNumber, optIfOTSnSrcCurDayLowInputPower=optIfOTSnSrcCurDayLowInputPower, optIfOMSnSinkCurDaySuspectedFlag=optIfOMSnSinkCurDaySuspectedFlag, optIfOTSnSrcPrevDayTable=optIfOTSnSrcPrevDayTable, optIfOMSn=optIfOMSn, optIfOTUk=optIfOTUk, optIfOChGroupSrcCurDayEntry=optIfOChGroupSrcCurDayEntry, optIfOTSnDirectionality=optIfOTSnDirectionality, optIfOTSnDAPIExpected=optIfOTSnDAPIExpected, optIfOMSnSrcCurDaySuspectedFlag=optIfOMSnSrcCurDaySuspectedFlag, optIfOTUkConfigTable=optIfOTUkConfigTable, optIfOChGroupSrcIntervalNumber=optIfOChGroupSrcIntervalNumber, optIfOTSnSrcCurrentInputPower=optIfOTSnSrcCurrentInputPower, optIfOMSnDirectionality=optIfOMSnDirectionality, optIfOChGroupSinkIntervalNumber=optIfOChGroupSinkIntervalNumber, optIfOChGroupSinkCurDaySuspectedFlag=optIfOChGroupSinkCurDaySuspectedFlag, optIfOChGroup=optIfOChGroup, optIfOTSnSinkCurrentHighOutputPower=optIfOTSnSinkCurrentHighOutputPower, optIfODUkPositionSeqTable=optIfODUkPositionSeqTable, optIfOMSnSinkIntervalTable=optIfOMSnSinkIntervalTable, optIfOChGroupSrcPrevDayLastAggregatedInputPower=optIfOChGroupSrcPrevDayLastAggregatedInputPower, optIfOChSrcIntervalLastOutputPower=optIfOChSrcIntervalLastOutputPower, optIfCompl=optIfCompl, optIfOMSnSrcPrevDayLastAggregatedInputPower=optIfOMSnSrcPrevDayLastAggregatedInputPower, optIfOChGroupSinkCurrentOutputPower=optIfOChGroupSinkCurrentOutputPower, optIfOMSnSinkIntervalLowOutputPower=optIfOMSnSinkIntervalLowOutputPower, optIfOMSnSinkCurrentUpperInputPowerThreshold=optIfOMSnSinkCurrentUpperInputPowerThreshold, optIfPerfMonIntervalNumInvalidIntervals=optIfPerfMonIntervalNumInvalidIntervals, optIfOChSrcCurrentSuspectedFlag=optIfOChSrcCurrentSuspectedFlag, optIfOMSnSinkPrevDayLastOutputPower=optIfOMSnSinkPrevDayLastOutputPower, optIfOChSinkPrevDayLastInputPower=optIfOChSinkPrevDayLastInputPower, optIfODUkNimCurrentStatus=optIfODUkNimCurrentStatus, optIfOTSnSrcIntervalTable=optIfOTSnSrcIntervalTable, optIfOMSnSinkCurrentSuspectedFlag=optIfOMSnSinkCurrentSuspectedFlag, optIfOChGroupSrcCurrentLowerOutputPowerThreshold=optIfOChGroupSrcCurrentLowerOutputPowerThreshold, optIfODUkNimRowStatus=optIfODUkNimRowStatus, optIfOChSrcPrevDayLastOutputPower=optIfOChSrcPrevDayLastOutputPower, optIfOChGroupSrcCurrentHighAggregatedInputPower=optIfOChGroupSrcCurrentHighAggregatedInputPower, optIfODUkTNimDirectionality=optIfODUkTNimDirectionality, optIfOTSnSinkCurrentInputPower=optIfOTSnSinkCurrentInputPower, optIfOTUkCommonGroup=optIfOTUkCommonGroup, optIfOTSnSrcIntervalLastInputPower=optIfOTSnSrcIntervalLastInputPower, optIfOChSrcCurrentLowerOutputPowerThreshold=optIfOChSrcCurrentLowerOutputPowerThreshold, optIfOChSinkIntervalSuspectedFlag=optIfOChSinkIntervalSuspectedFlag, optIfODUkTtpDAPIExpected=optIfODUkTtpDAPIExpected, optIfOTMnTcmMax=optIfOTMnTcmMax, optIfOChGroupSrcIntervalLowAggregatedInputPower=optIfOChGroupSrcIntervalLowAggregatedInputPower, optIfODUkNimConfigTable=optIfODUkNimConfigTable, optIfOTUkSinkGroup=optIfOTUkSinkGroup, optIfODUkTDEGThr=optIfODUkTDEGThr, optIfOTUkSourceAdaptActive=optIfOTUkSourceAdaptActive, optIfOTSnConfigEntry=optIfOTSnConfigEntry, optIfODUkNimSAPIExpected=optIfODUkNimSAPIExpected, optIfODUkTNimDEGM=optIfODUkTNimDEGM, optIfOTSnSourcePreOtnPMThresholdGroup=optIfOTSnSourcePreOtnPMThresholdGroup, optIfOChSrcPrevDayHighOutputPower=optIfOChSrcPrevDayHighOutputPower, optIfOTUkTraceIdentifierAccepted=optIfOTUkTraceIdentifierAccepted, optIfOMSnSrcPrevDayLowOutputPower=optIfOMSnSrcPrevDayLowOutputPower, optIfODUkTNimTraceIdentifierAccepted=optIfODUkTNimTraceIdentifierAccepted, optIfODUkTtpConfigTable=optIfODUkTtpConfigTable, optIfOChGroupSrcCurrentSuspectedFlag=optIfOChGroupSrcCurrentSuspectedFlag)
mibBuilder.exportSymbols("OPT-IF-MIB", optIfOTSnSinkCurrentLowInputPower=optIfOTSnSinkCurrentLowInputPower, optIfOTUkTraceIdentifierTransmitted=optIfOTUkTraceIdentifierTransmitted, optIfOChGroupSinkCurrentLowAggregatedInputPower=optIfOChGroupSinkCurrentLowAggregatedInputPower, optIfOChSrcPrevDayTable=optIfOChSrcPrevDayTable, optIfOTSnTraceIdentifierTransmitted=optIfOTSnTraceIdentifierTransmitted, optIfGCC0Group=optIfGCC0Group, OptIfTxTI=OptIfTxTI, optIfOChGroupSrcIntervalEntry=optIfOChGroupSrcIntervalEntry, optIfOTSnSinkPrevDayLowInputPower=optIfOTSnSinkPrevDayLowInputPower, optIfODUkBitRateK=optIfODUkBitRateK, optIfOChSinkIntervalLowInputPower=optIfOChSinkIntervalLowInputPower, optIfODUkTSinkGroup=optIfODUkTSinkGroup, optIfOTMnBitRates=optIfOTMnBitRates, optIfODUkNimDAPIExpected=optIfODUkNimDAPIExpected, optIfOChSourcePreOtnPMGroup=optIfOChSourcePreOtnPMGroup, optIfOTSnSrcPrevDayHighInputPower=optIfOTSnSrcPrevDayHighInputPower, optIfOMSnSinkIntervalNumber=optIfOMSnSinkIntervalNumber, optIfOChGroupSrcPrevDayTable=optIfOChGroupSrcPrevDayTable, optIfOChSinkPreOtnPMGroup=optIfOChSinkPreOtnPMGroup, optIfOMSnSinkIntervalHighAggregatedInputPower=optIfOMSnSinkIntervalHighAggregatedInputPower, optIfPerfMonCurDayTimeElapsed=optIfPerfMonCurDayTimeElapsed, optIfOTSnSinkCurDaySuspectedFlag=optIfOTSnSinkCurDaySuspectedFlag, optIfODUkTSinkLockSignalAdminState=optIfODUkTSinkLockSignalAdminState, optIfOChSrcCurrentTable=optIfOChSrcCurrentTable, optIfOChSrcIntervalSuspectedFlag=optIfOChSrcIntervalSuspectedFlag, optIfOTSnSinkIntervalLowOutputPower=optIfOTSnSinkIntervalLowOutputPower, optIfODUkTSinkGroupCtp=optIfODUkTSinkGroupCtp, optIfOTSn=optIfOTSn, optIfOMSnSrcCurDayHighAggregatedInputPower=optIfOMSnSrcCurDayHighAggregatedInputPower, optIfOChSinkGroupBasic=optIfOChSinkGroupBasic, optIfOTSnSinkCurrentUpperInputPowerThreshold=optIfOTSnSinkCurrentUpperInputPowerThreshold, optIfOMSnSrcPrevDayEntry=optIfOMSnSrcPrevDayEntry, optIfOChGroupSinkPrevDayEntry=optIfOChGroupSinkPrevDayEntry, optIfODUkTSAPIExpected=optIfODUkTSAPIExpected, optIfOChGroupSinkCurrentLowerInputPowerThreshold=optIfOChGroupSinkCurrentLowerInputPowerThreshold, optIfOChGroupSinkIntervalTable=optIfOChGroupSinkIntervalTable, optIfOMSnSrcIntervalLowOutputPower=optIfOMSnSrcIntervalLowOutputPower, optIfOTSnConfigTable=optIfOTSnConfigTable, optIfOChGroupSrcCurrentOutputPower=optIfOChGroupSrcCurrentOutputPower, optIfOTSnSrcIntervalLastOutputPower=optIfOTSnSrcIntervalLastOutputPower, optIfOTSnSinkCurrentTable=optIfOTSnSinkCurrentTable, optIfOMSnSinkCurDayTable=optIfOMSnSinkCurDayTable, optIfOChGroupSinkPreOtnPMThresholdGroup=optIfOChGroupSinkPreOtnPMThresholdGroup, optIfOTMnOrder=optIfOTMnOrder, optIfOChSrcCurDayEntry=optIfOChSrcCurDayEntry, optIfOChGroupSinkCurDayEntry=optIfOChGroupSinkCurDayEntry, optIfOChGroupSrcCurrentUpperInputPowerThreshold=optIfOChGroupSrcCurrentUpperInputPowerThreshold, optIfPerfMonCurrentTimeElapsed=optIfPerfMonCurrentTimeElapsed, optIfOTSnSrcCurDayHighOutputPower=optIfOTSnSrcCurDayHighOutputPower, optIfOChSrcIntervalNumber=optIfOChSrcIntervalNumber, optIfGCC12Application=optIfGCC12Application, optIfOTSnSinkCurrentSuspectedFlag=optIfOTSnSinkCurrentSuspectedFlag, optIfOTUkCurrentStatus=optIfOTUkCurrentStatus, optIfOTSnSinkIntervalEntry=optIfOTSnSinkIntervalEntry, optIfOChGroupSrcCurDayHighAggregatedInputPower=optIfOChGroupSrcCurDayHighAggregatedInputPower, optIfOTSnSrcCurDayEntry=optIfOTSnSrcCurDayEntry, optIfOMSnSrcIntervalEntry=optIfOMSnSrcIntervalEntry, optIfOMSnConfigTable=optIfOMSnConfigTable, optIfOTSnSrcPrevDayEntry=optIfOTSnSrcPrevDayEntry, optIfOTSnSinkPrevDayLowOutputPower=optIfOTSnSinkPrevDayLowOutputPower, optIfODUkTtpTIMDetMode=optIfODUkTtpTIMDetMode, optIfOTSnSinkPrevDayHighOutputPower=optIfOTSnSinkPrevDayHighOutputPower, optIfOTSnSinkCurrentHighInputPower=optIfOTSnSinkCurrentHighInputPower, optIfODUkTDEGM=optIfODUkTDEGM, optIfOTSnSinkPreOtnPMGroup=optIfOTSnSinkPreOtnPMGroup, optIfOChGroupSinkPrevDayHighOutputPower=optIfOChGroupSinkPrevDayHighOutputPower, optIfGCC12RowStatus=optIfGCC12RowStatus, optIfODUkT=optIfODUkT, optIfOTSnSAPIExpected=optIfOTSnSAPIExpected, optIfOChSrcPrevDaySuspectedFlag=optIfOChSrcPrevDaySuspectedFlag, optIfOChSinkPrevDayHighInputPower=optIfOChSinkPrevDayHighInputPower, optIfOTSnSrcIntervalHighOutputPower=optIfOTSnSrcIntervalHighOutputPower, optIfOMSnSinkCurDayHighAggregatedInputPower=optIfOMSnSinkCurDayHighAggregatedInputPower, optIfOChGroupSrcCurrentUpperOutputPowerThreshold=optIfOChGroupSrcCurrentUpperOutputPowerThreshold, optIfOMSnSrcCurDayEntry=optIfOMSnSrcCurDayEntry, optIfOChGroupSinkIntervalSuspectedFlag=optIfOChGroupSinkIntervalSuspectedFlag, optIfOTUkDirectionality=optIfOTUkDirectionality, optIfOTSnSrcPrevDayLowInputPower=optIfOTSnSrcPrevDayLowInputPower, optIfOChGroupSrcCurrentTable=optIfOChGroupSrcCurrentTable, optIfODUkNimConfigEntry=optIfODUkNimConfigEntry, optIfOChGroupSinkCurrentAggregatedInputPower=optIfOChGroupSinkCurrentAggregatedInputPower, optIfODUkTtpTraceIdentifierTransmitted=optIfODUkTtpTraceIdentifierTransmitted, optIfOTMnEntry=optIfOTMnEntry, optIfODUkPositionSeqIndex=optIfODUkPositionSeqIndex, optIfOChGroupSrcPrevDaySuspectedFlag=optIfOChGroupSrcPrevDaySuspectedFlag, optIfOChGroupSrcPrevDayLowAggregatedInputPower=optIfOChGroupSrcPrevDayLowAggregatedInputPower, optIfODUkNimTIMActEnabled=optIfODUkNimTIMActEnabled, optIfOChSrcIntervalEntry=optIfOChSrcIntervalEntry, optIfOMSnSourcePreOtnPMThresholdGroup=optIfOMSnSourcePreOtnPMThresholdGroup, optIfOTSnSrcCurrentLowInputPower=optIfOTSnSrcCurrentLowInputPower, optIfOTSnSinkCurDayTable=optIfOTSnSinkCurDayTable, optIfODUkNimDEGThr=optIfODUkNimDEGThr, optIfODUkTTIMActEnabled=optIfODUkTTIMActEnabled, optIfODUkTRowStatus=optIfODUkTRowStatus, optIfOTSnTraceIdentifierAccepted=optIfOTSnTraceIdentifierAccepted, optIfODUkTSinkMode=optIfODUkTSinkMode, optIfOChGroupSrcCurrentEntry=optIfOChGroupSrcCurrentEntry, optIfOTSnTIMDetMode=optIfOTSnTIMDetMode, optIfOMSnSrcCurDayLowOutputPower=optIfOMSnSrcCurDayLowOutputPower, optIfOMSnSrcPrevDayHighOutputPower=optIfOMSnSrcPrevDayHighOutputPower, optIfOTMnGroup=optIfOTMnGroup, optIfODUkTConfigTable=optIfODUkTConfigTable, optIfOTSnSinkIntervalLastOutputPower=optIfOTSnSinkIntervalLastOutputPower, optIfOChGroupSinkPreOtnPMGroup=optIfOChGroupSinkPreOtnPMGroup, optIfGCC0RowStatus=optIfGCC0RowStatus, OptIfExSAPI=OptIfExSAPI, optIfOTSnSinkCurDayHighInputPower=optIfOTSnSinkCurDayHighInputPower, optIfOTSnSrcCurrentLowerOutputPowerThreshold=optIfOTSnSrcCurrentLowerOutputPowerThreshold, optIfOChConfigEntry=optIfOChConfigEntry, optIfOMSnSrcCurrentLowerOutputPowerThreshold=optIfOMSnSrcCurrentLowerOutputPowerThreshold, optIfOTSnSinkCurrentEntry=optIfOTSnSinkCurrentEntry, optIfOTSnSrcCurrentHighOutputPower=optIfOTSnSrcCurrentHighOutputPower, optIfODUkTtpSAPIExpected=optIfODUkTtpSAPIExpected, optIfOTSnSinkIntervalHighOutputPower=optIfOTSnSinkIntervalHighOutputPower, optIfOTSnSrcCurrentLowOutputPower=optIfOTSnSrcCurrentLowOutputPower, optIfODUkTNimConfigTable=optIfODUkTNimConfigTable, optIfOMSnSinkCurrentTable=optIfOMSnSinkCurrentTable, optIfOChGroupSinkCurDayHighAggregatedInputPower=optIfOChGroupSinkCurDayHighAggregatedInputPower, optIfOTMnOpticalReach=optIfOTMnOpticalReach, optIfOChGroupSinkCurrentEntry=optIfOChGroupSinkCurrentEntry, optIfOMSnSinkPrevDaySuspectedFlag=optIfOMSnSinkPrevDaySuspectedFlag, optIfOMSnSinkPreOtnPMGroup=optIfOMSnSinkPreOtnPMGroup, optIfOChGroupSrcCurrentLowAggregatedInputPower=optIfOChGroupSrcCurrentLowAggregatedInputPower, optIfOTSnSinkPrevDayLastOutputPower=optIfOTSnSinkPrevDayLastOutputPower, optIfOChSinkPrevDayLowInputPower=optIfOChSinkPrevDayLowInputPower, optIfOMSnSinkIntervalLastAggregatedInputPower=optIfOMSnSinkIntervalLastAggregatedInputPower, OptIfDEGM=OptIfDEGM, optIfOMSnSinkCurDayLowAggregatedInputPower=optIfOMSnSinkCurDayLowAggregatedInputPower, optIfOMSnSrcPrevDayLowAggregatedInputPower=optIfOMSnSrcPrevDayLowAggregatedInputPower, optIfOTUkSinkAdaptActive=optIfOTUkSinkAdaptActive, optIfOTSnSinkGroupBasic=optIfOTSnSinkGroupBasic, optIfOChSinkCurrentInputPower=optIfOChSinkCurrentInputPower, optIfOChConfigTable=optIfOChConfigTable, optIfOTSnSrcCurrentSuspectedFlag=optIfOTSnSrcCurrentSuspectedFlag, optIfOTSnSinkIntervalLowInputPower=optIfOTSnSinkIntervalLowInputPower, optIfOMSnSrcCurrentUpperInputPowerThreshold=optIfOMSnSrcCurrentUpperInputPowerThreshold, optIfOChGroupConfigTable=optIfOChGroupConfigTable, optIfOChSinkPrevDayEntry=optIfOChSinkPrevDayEntry, optIfOChGroupSinkPrevDaySuspectedFlag=optIfOChGroupSinkPrevDaySuspectedFlag, optIfOChSinkPrevDayTable=optIfOChSinkPrevDayTable, optIfOMSnSinkPrevDayHighAggregatedInputPower=optIfOMSnSinkPrevDayHighAggregatedInputPower, optIfGCC12GCCPassThrough=optIfGCC12GCCPassThrough, optIfOChGroupSrcCurDayLowAggregatedInputPower=optIfOChGroupSrcCurDayLowAggregatedInputPower, optIfOTSnSrcPrevDayHighOutputPower=optIfOTSnSrcPrevDayHighOutputPower, optIfOMSnSrcIntervalTable=optIfOMSnSrcIntervalTable, optIfOTSnSinkPrevDayEntry=optIfOTSnSinkPrevDayEntry, optIfOChGroupConfigEntry=optIfOChGroupConfigEntry, optIfPerfMon=optIfPerfMon, optIfODUkConfigTable=optIfODUkConfigTable, optIfODUkTtpDEGM=optIfODUkTtpDEGM, optIfOTSnSrcCurrentLowerInputPowerThreshold=optIfOTSnSrcCurrentLowerInputPowerThreshold, optIfOTSnSinkPrevDayHighInputPower=optIfOTSnSinkPrevDayHighInputPower, optIfOMSnSinkCurDayLowOutputPower=optIfOMSnSinkCurDayLowOutputPower, OptIfAcTI=OptIfAcTI, optIfOChGroupSinkPrevDayLastAggregatedInputPower=optIfOChGroupSinkPrevDayLastAggregatedInputPower, optIfOTSnSinkIntervalLastInputPower=optIfOTSnSinkIntervalLastInputPower, optIfODUkTtpCurrentStatus=optIfODUkTtpCurrentStatus, optIfOTMn=optIfOTMn, optIfOTSnSrcIntervalHighInputPower=optIfOTSnSrcIntervalHighInputPower, optIfOChGroupSrcPrevDayEntry=optIfOChGroupSrcPrevDayEntry, optIfOTSnSrcCurrentTable=optIfOTSnSrcCurrentTable, optIfPerfMonIntervalEntry=optIfPerfMonIntervalEntry, optIfOChGroupSinkCurrentLowOutputPower=optIfOChGroupSinkCurrentLowOutputPower, optIfOChGroupSinkPrevDayLowOutputPower=optIfOChGroupSinkPrevDayLowOutputPower, optIfOMSnSinkIntervalLowAggregatedInputPower=optIfOMSnSinkIntervalLowAggregatedInputPower, optIfODUkConfigEntry=optIfODUkConfigEntry, optIfOMSnSinkPreOtnPMThresholdGroup=optIfOMSnSinkPreOtnPMThresholdGroup, PYSNMP_MODULE_ID=optIfMibModule, optIfOChGroupSrcCurrentLowOutputPower=optIfOChGroupSrcCurrentLowOutputPower, optIfOMSnSinkCurrentLowerInputPowerThreshold=optIfOMSnSinkCurrentLowerInputPowerThreshold, optIfOMSnSrcIntervalNumber=optIfOMSnSrcIntervalNumber, optIfOChGroupSinkCurrentSuspectedFlag=optIfOChGroupSinkCurrentSuspectedFlag, optIfOChSinkCurDayLowInputPower=optIfOChSinkCurDayLowInputPower, optIfODUkNimTraceIdentifierAccepted=optIfODUkNimTraceIdentifierAccepted, optIfOChGroupSinkCurDayTable=optIfOChGroupSinkCurDayTable, optIfODUkNimGroup=optIfODUkNimGroup, optIfOMSnSrcPrevDayLastOutputPower=optIfOMSnSrcPrevDayLastOutputPower, optIfOChGroupSrcIntervalHighAggregatedInputPower=optIfOChGroupSrcIntervalHighAggregatedInputPower, optIfOChGroupSinkCurrentHighAggregatedInputPower=optIfOChGroupSinkCurrentHighAggregatedInputPower, optIfOTSnSrcCurrentUpperInputPowerThreshold=optIfOTSnSrcCurrentUpperInputPowerThreshold, optIfOMSnSinkCurDayEntry=optIfOMSnSinkCurDayEntry, optIfOChSrcIntervalLowOutputPower=optIfOChSrcIntervalLowOutputPower, OptIfBitRateK=OptIfBitRateK, optIfOChGroupSrcIntervalSuspectedFlag=optIfOChGroupSrcIntervalSuspectedFlag, optIfODUkDirectionality=optIfODUkDirectionality, optIfOTSnSrcCurDayLowOutputPower=optIfOTSnSrcCurDayLowOutputPower, optIfODUkTNimGroup=optIfODUkTNimGroup, optIfOMSnSrcCurrentOutputPower=optIfOMSnSrcCurrentOutputPower, optIfOTSnTIMActEnabled=optIfOTSnTIMActEnabled, optIfOTSnSinkIntervalTable=optIfOTSnSinkIntervalTable, optIfOTSnCommonGroup=optIfOTSnCommonGroup, optIfOTSnSrcIntervalSuspectedFlag=optIfOTSnSrcIntervalSuspectedFlag, optIfOTSnSrcIntervalLowInputPower=optIfOTSnSrcIntervalLowInputPower, optIfOMSnSrcIntervalLastOutputPower=optIfOMSnSrcIntervalLastOutputPower, optIfOChSrcCurrentUpperOutputPowerThreshold=optIfOChSrcCurrentUpperOutputPowerThreshold, optIfOMSnSrcPrevDaySuspectedFlag=optIfOMSnSrcPrevDaySuspectedFlag, optIfOMSnSinkCurrentLowAggregatedInputPower=optIfOMSnSinkCurrentLowAggregatedInputPower, optIfOTUkDAPIExpected=optIfOTUkDAPIExpected, optIfODUkTConfigEntry=optIfODUkTConfigEntry, optIfOChCommonGroup=optIfOChCommonGroup, optIfOTUkSAPIExpected=optIfOTUkSAPIExpected, optIfODUkTDAPIExpected=optIfODUkTDAPIExpected, optIfOTSnSrcCurrentOutputPower=optIfOTSnSrcCurrentOutputPower, optIfOChSinkCurrentHighInputPower=optIfOChSinkCurrentHighInputPower, optIfOMSnSinkPrevDayEntry=optIfOMSnSinkPrevDayEntry, optIfOCh=optIfOCh, optIfOTMnTable=optIfOTMnTable, optIfOTSnSinkCurDayLowInputPower=optIfOTSnSinkCurDayLowInputPower, optIfOMSnSinkCurrentLowOutputPower=optIfOMSnSinkCurrentLowOutputPower, optIfOChSinkCurDaySuspectedFlag=optIfOChSinkCurDaySuspectedFlag, optIfODUkTNimDAPIExpected=optIfODUkTNimDAPIExpected, optIfOTSnAPRStatusGroup=optIfOTSnAPRStatusGroup, OptIfDEGThr=OptIfDEGThr, optIfOChGroupSrcCurDayHighOutputPower=optIfOChGroupSrcCurDayHighOutputPower, optIfOChGroupSrcPrevDayLowOutputPower=optIfOChGroupSrcPrevDayLowOutputPower, optIfGCC0Directionality=optIfGCC0Directionality, optIfODUkNimDirectionality=optIfODUkNimDirectionality, optIfOChGroupSinkCurDayLowOutputPower=optIfOChGroupSinkCurDayLowOutputPower, optIfOChGroupSinkCurrentHighOutputPower=optIfOChGroupSinkCurrentHighOutputPower, optIfODUkPositionSeqCurrentSize=optIfODUkPositionSeqCurrentSize, optIfOChGroupSinkIntervalLowAggregatedInputPower=optIfOChGroupSinkIntervalLowAggregatedInputPower, optIfODUkTNimTIMActEnabled=optIfODUkTNimTIMActEnabled, optIfGCC12Group=optIfGCC12Group, optIfOChSinkCurrentUpperInputPowerThreshold=optIfOChSinkCurrentUpperInputPowerThreshold, optIfODUkTTcmField=optIfODUkTTcmField, optIfOMSnSrcPrevDayHighAggregatedInputPower=optIfOMSnSrcPrevDayHighAggregatedInputPower, optIfOMSnSrcIntervalSuspectedFlag=optIfOMSnSrcIntervalSuspectedFlag, optIfOChSinkCurrentTable=optIfOChSinkCurrentTable, optIfOMSnSrcCurrentUpperOutputPowerThreshold=optIfOMSnSrcCurrentUpperOutputPowerThreshold, optIfOMSnSourcePreOtnPMGroup=optIfOMSnSourcePreOtnPMGroup, optIfOMSnSinkCurrentAggregatedInputPower=optIfOMSnSinkCurrentAggregatedInputPower, optIfODUkTtpTraceIdentifierAccepted=optIfODUkTtpTraceIdentifierAccepted, optIfOMSnSrcIntervalLastAggregatedInputPower=optIfOMSnSrcIntervalLastAggregatedInputPower)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, value_size_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(integer32, bits, counter64, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, gauge32, iso, unsigned32, module_identity, counter32, object_identity, transmission, ip_address, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Bits', 'Counter64', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Gauge32', 'iso', 'Unsigned32', 'ModuleIdentity', 'Counter32', 'ObjectIdentity', 'transmission', 'IpAddress', 'NotificationType')
(display_string, truth_value, textual_convention, row_pointer, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TruthValue', 'TextualConvention', 'RowPointer', 'RowStatus')
opt_if_mib_module = module_identity((1, 3, 6, 1, 2, 1, 10, 133))
optIfMibModule.setRevisions(('2003-08-13 00:00',))
if mibBuilder.loadTexts:
optIfMibModule.setLastUpdated('200308130000Z')
if mibBuilder.loadTexts:
optIfMibModule.setOrganization('IETF AToM MIB Working Group')
class Optifacti(TextualConvention, OctetString):
status = 'current'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(64, 64)
fixed_length = 64
class Optifbitratek(TextualConvention, Integer32):
status = 'current'
class Optifdegm(TextualConvention, Unsigned32):
status = 'current'
subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(2, 10)
class Optifdegthr(TextualConvention, Unsigned32):
status = 'current'
subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 100)
class Optifdirectionality(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('sink', 1), ('source', 2), ('bidirectional', 3))
class Optifsinkorsource(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('sink', 1), ('source', 2))
class Optifexdapi(TextualConvention, OctetString):
status = 'current'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(16, 16)
fixed_length = 16
class Optifexsapi(TextualConvention, OctetString):
status = 'current'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(16, 16)
fixed_length = 16
class Optifintervalnumber(TextualConvention, Unsigned32):
status = 'current'
subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 96)
class Optiftimdetmode(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4))
named_values = named_values(('off', 1), ('dapi', 2), ('sapi', 3), ('both', 4))
class Optiftxti(TextualConvention, OctetString):
status = 'current'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(64, 64)
fixed_length = 64
opt_if_objects = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1))
opt_if_confs = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 2))
opt_if_ot_mn = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 1))
opt_if_perf_mon = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 2))
opt_if_ot_sn = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 3))
opt_if_om_sn = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 4))
opt_if_o_ch_group = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 5))
opt_if_o_ch = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 6))
opt_if_ot_uk = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 7))
opt_if_od_uk = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 8))
opt_if_od_uk_t = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 9))
opt_if_groups = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 2, 1))
opt_if_compl = mib_identifier((1, 3, 6, 1, 2, 1, 10, 133, 2, 2))
opt_if_ot_mn_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1))
if mibBuilder.loadTexts:
optIfOTMnTable.setStatus('current')
opt_if_ot_mn_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTMnEntry.setStatus('current')
opt_if_ot_mn_order = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 900))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTMnOrder.setStatus('current')
opt_if_ot_mn_reduced = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTMnReduced.setStatus('current')
opt_if_ot_mn_bit_rates = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 3), bits().clone(namedValues=named_values(('bitRateK1', 0), ('bitRateK2', 1), ('bitRateK3', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTMnBitRates.setStatus('current')
opt_if_ot_mn_interface_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 4), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTMnInterfaceType.setStatus('current')
opt_if_ot_mn_tcm_max = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 6))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTMnTcmMax.setStatus('current')
opt_if_ot_mn_optical_reach = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('intraOffice', 1), ('shortHaul', 2), ('longHaul', 3), ('veryLongHaul', 4), ('ultraLongHaul', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTMnOpticalReach.setStatus('current')
opt_if_perf_mon_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1))
if mibBuilder.loadTexts:
optIfPerfMonIntervalTable.setStatus('current')
opt_if_perf_mon_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfPerfMonIntervalEntry.setStatus('current')
opt_if_perf_mon_current_time_elapsed = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 900))).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfPerfMonCurrentTimeElapsed.setStatus('current')
opt_if_perf_mon_cur_day_time_elapsed = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(0, 86400))).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfPerfMonCurDayTimeElapsed.setStatus('current')
opt_if_perf_mon_interval_num_intervals = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 96))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfPerfMonIntervalNumIntervals.setStatus('current')
opt_if_perf_mon_interval_num_invalid_intervals = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 96))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfPerfMonIntervalNumInvalidIntervals.setStatus('current')
opt_if_ot_sn_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1))
if mibBuilder.loadTexts:
optIfOTSnConfigTable.setStatus('current')
opt_if_ot_sn_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnConfigEntry.setStatus('current')
opt_if_ot_sn_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 1), opt_if_directionality()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnDirectionality.setStatus('current')
opt_if_ot_sn_apr_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 2), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnAprStatus.setStatus('current')
opt_if_ot_sn_apr_control = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 3), snmp_admin_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnAprControl.setStatus('current')
opt_if_ot_sn_trace_identifier_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 4), opt_if_tx_ti()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnTraceIdentifierTransmitted.setStatus('current')
opt_if_ot_sn_dapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 5), opt_if_ex_dapi()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnDAPIExpected.setStatus('current')
opt_if_ot_sn_sapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 6), opt_if_ex_sapi()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSAPIExpected.setStatus('current')
opt_if_ot_sn_trace_identifier_accepted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 7), opt_if_ac_ti()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnTraceIdentifierAccepted.setStatus('current')
opt_if_ot_sn_tim_det_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 8), opt_if_tim_det_mode()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnTIMDetMode.setStatus('current')
opt_if_ot_sn_tim_act_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 9), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnTIMActEnabled.setStatus('current')
opt_if_ot_sn_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 10), bits().clone(namedValues=named_values(('bdiP', 0), ('bdiO', 1), ('bdi', 2), ('tim', 3), ('losP', 4), ('losO', 5), ('los', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnCurrentStatus.setStatus('current')
opt_if_ot_sn_sink_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2))
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentTable.setStatus('current')
opt_if_ot_sn_sink_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentEntry.setStatus('current')
opt_if_ot_sn_sink_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentSuspectedFlag.setStatus('current')
opt_if_ot_sn_sink_current_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentInputPower.setStatus('current')
opt_if_ot_sn_sink_current_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentLowInputPower.setStatus('current')
opt_if_ot_sn_sink_current_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentHighInputPower.setStatus('current')
opt_if_ot_sn_sink_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_ot_sn_sink_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_ot_sn_sink_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentOutputPower.setStatus('current')
opt_if_ot_sn_sink_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentLowOutputPower.setStatus('current')
opt_if_ot_sn_sink_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 9), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentHighOutputPower.setStatus('current')
opt_if_ot_sn_sink_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 10), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_ot_sn_sink_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 11), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSinkCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_ot_sn_sink_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3))
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalTable.setStatus('current')
opt_if_ot_sn_sink_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOTSnSinkIntervalNumber'))
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalEntry.setStatus('current')
opt_if_ot_sn_sink_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalNumber.setStatus('current')
opt_if_ot_sn_sink_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalSuspectedFlag.setStatus('current')
opt_if_ot_sn_sink_interval_last_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalLastInputPower.setStatus('current')
opt_if_ot_sn_sink_interval_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalLowInputPower.setStatus('current')
opt_if_ot_sn_sink_interval_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalHighInputPower.setStatus('current')
opt_if_ot_sn_sink_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalLastOutputPower.setStatus('current')
opt_if_ot_sn_sink_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalLowOutputPower.setStatus('current')
opt_if_ot_sn_sink_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkIntervalHighOutputPower.setStatus('current')
opt_if_ot_sn_sink_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4))
if mibBuilder.loadTexts:
optIfOTSnSinkCurDayTable.setStatus('current')
opt_if_ot_sn_sink_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnSinkCurDayEntry.setStatus('current')
opt_if_ot_sn_sink_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurDaySuspectedFlag.setStatus('current')
opt_if_ot_sn_sink_cur_day_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurDayLowInputPower.setStatus('current')
opt_if_ot_sn_sink_cur_day_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurDayHighInputPower.setStatus('current')
opt_if_ot_sn_sink_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurDayLowOutputPower.setStatus('current')
opt_if_ot_sn_sink_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkCurDayHighOutputPower.setStatus('current')
opt_if_ot_sn_sink_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5))
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayTable.setStatus('current')
opt_if_ot_sn_sink_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayEntry.setStatus('current')
opt_if_ot_sn_sink_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDaySuspectedFlag.setStatus('current')
opt_if_ot_sn_sink_prev_day_last_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayLastInputPower.setStatus('current')
opt_if_ot_sn_sink_prev_day_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayLowInputPower.setStatus('current')
opt_if_ot_sn_sink_prev_day_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayHighInputPower.setStatus('current')
opt_if_ot_sn_sink_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayLastOutputPower.setStatus('current')
opt_if_ot_sn_sink_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayLowOutputPower.setStatus('current')
opt_if_ot_sn_sink_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSinkPrevDayHighOutputPower.setStatus('current')
opt_if_ot_sn_src_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6))
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentTable.setStatus('current')
opt_if_ot_sn_src_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentEntry.setStatus('current')
opt_if_ot_sn_src_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentSuspectedFlag.setStatus('current')
opt_if_ot_sn_src_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentOutputPower.setStatus('current')
opt_if_ot_sn_src_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentLowOutputPower.setStatus('current')
opt_if_ot_sn_src_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentHighOutputPower.setStatus('current')
opt_if_ot_sn_src_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_ot_sn_src_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_ot_sn_src_current_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentInputPower.setStatus('current')
opt_if_ot_sn_src_current_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentLowInputPower.setStatus('current')
opt_if_ot_sn_src_current_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 9), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentHighInputPower.setStatus('current')
opt_if_ot_sn_src_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 10), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_ot_sn_src_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 11), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTSnSrcCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_ot_sn_src_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7))
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalTable.setStatus('current')
opt_if_ot_sn_src_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOTSnSrcIntervalNumber'))
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalEntry.setStatus('current')
opt_if_ot_sn_src_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalNumber.setStatus('current')
opt_if_ot_sn_src_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalSuspectedFlag.setStatus('current')
opt_if_ot_sn_src_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalLastOutputPower.setStatus('current')
opt_if_ot_sn_src_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalLowOutputPower.setStatus('current')
opt_if_ot_sn_src_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalHighOutputPower.setStatus('current')
opt_if_ot_sn_src_interval_last_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalLastInputPower.setStatus('current')
opt_if_ot_sn_src_interval_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalLowInputPower.setStatus('current')
opt_if_ot_sn_src_interval_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcIntervalHighInputPower.setStatus('current')
opt_if_ot_sn_src_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8))
if mibBuilder.loadTexts:
optIfOTSnSrcCurDayTable.setStatus('current')
opt_if_ot_sn_src_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnSrcCurDayEntry.setStatus('current')
opt_if_ot_sn_src_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurDaySuspectedFlag.setStatus('current')
opt_if_ot_sn_src_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurDayLowOutputPower.setStatus('current')
opt_if_ot_sn_src_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurDayHighOutputPower.setStatus('current')
opt_if_ot_sn_src_cur_day_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurDayLowInputPower.setStatus('current')
opt_if_ot_sn_src_cur_day_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcCurDayHighInputPower.setStatus('current')
opt_if_ot_sn_src_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9))
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayTable.setStatus('current')
opt_if_ot_sn_src_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayEntry.setStatus('current')
opt_if_ot_sn_src_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDaySuspectedFlag.setStatus('current')
opt_if_ot_sn_src_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayLastOutputPower.setStatus('current')
opt_if_ot_sn_src_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayLowOutputPower.setStatus('current')
opt_if_ot_sn_src_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayHighOutputPower.setStatus('current')
opt_if_ot_sn_src_prev_day_last_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayLastInputPower.setStatus('current')
opt_if_ot_sn_src_prev_day_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayLowInputPower.setStatus('current')
opt_if_ot_sn_src_prev_day_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTSnSrcPrevDayHighInputPower.setStatus('current')
opt_if_om_sn_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1))
if mibBuilder.loadTexts:
optIfOMSnConfigTable.setStatus('current')
opt_if_om_sn_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnConfigEntry.setStatus('current')
opt_if_om_sn_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1, 1), opt_if_directionality()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnDirectionality.setStatus('current')
opt_if_om_sn_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1, 2), bits().clone(namedValues=named_values(('ssfP', 0), ('ssfO', 1), ('ssf', 2), ('bdiP', 3), ('bdiO', 4), ('bdi', 5), ('losP', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnCurrentStatus.setStatus('current')
opt_if_om_sn_sink_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2))
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentTable.setStatus('current')
opt_if_om_sn_sink_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentEntry.setStatus('current')
opt_if_om_sn_sink_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentSuspectedFlag.setStatus('current')
opt_if_om_sn_sink_current_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_current_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_current_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_om_sn_sink_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_om_sn_sink_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentOutputPower.setStatus('current')
opt_if_om_sn_sink_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentLowOutputPower.setStatus('current')
opt_if_om_sn_sink_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 9), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentHighOutputPower.setStatus('current')
opt_if_om_sn_sink_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 10), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_om_sn_sink_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 11), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSinkCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_om_sn_sink_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3))
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalTable.setStatus('current')
opt_if_om_sn_sink_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOMSnSinkIntervalNumber'))
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalEntry.setStatus('current')
opt_if_om_sn_sink_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalNumber.setStatus('current')
opt_if_om_sn_sink_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalSuspectedFlag.setStatus('current')
opt_if_om_sn_sink_interval_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalLastAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_interval_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_interval_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalLastOutputPower.setStatus('current')
opt_if_om_sn_sink_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalLowOutputPower.setStatus('current')
opt_if_om_sn_sink_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkIntervalHighOutputPower.setStatus('current')
opt_if_om_sn_sink_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4))
if mibBuilder.loadTexts:
optIfOMSnSinkCurDayTable.setStatus('current')
opt_if_om_sn_sink_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnSinkCurDayEntry.setStatus('current')
opt_if_om_sn_sink_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurDaySuspectedFlag.setStatus('current')
opt_if_om_sn_sink_cur_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurDayLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_cur_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurDayHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurDayLowOutputPower.setStatus('current')
opt_if_om_sn_sink_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkCurDayHighOutputPower.setStatus('current')
opt_if_om_sn_sink_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5))
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayTable.setStatus('current')
opt_if_om_sn_sink_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayEntry.setStatus('current')
opt_if_om_sn_sink_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDaySuspectedFlag.setStatus('current')
opt_if_om_sn_sink_prev_day_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayLastAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_prev_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_prev_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_sink_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayLastOutputPower.setStatus('current')
opt_if_om_sn_sink_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayLowOutputPower.setStatus('current')
opt_if_om_sn_sink_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSinkPrevDayHighOutputPower.setStatus('current')
opt_if_om_sn_src_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6))
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentTable.setStatus('current')
opt_if_om_sn_src_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentEntry.setStatus('current')
opt_if_om_sn_src_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentSuspectedFlag.setStatus('current')
opt_if_om_sn_src_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentOutputPower.setStatus('current')
opt_if_om_sn_src_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentLowOutputPower.setStatus('current')
opt_if_om_sn_src_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentHighOutputPower.setStatus('current')
opt_if_om_sn_src_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_om_sn_src_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_om_sn_src_current_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_current_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_current_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 9), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 10), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_om_sn_src_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 11), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOMSnSrcCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_om_sn_src_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7))
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalTable.setStatus('current')
opt_if_om_sn_src_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOMSnSrcIntervalNumber'))
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalEntry.setStatus('current')
opt_if_om_sn_src_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalNumber.setStatus('current')
opt_if_om_sn_src_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalSuspectedFlag.setStatus('current')
opt_if_om_sn_src_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalLastOutputPower.setStatus('current')
opt_if_om_sn_src_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalLowOutputPower.setStatus('current')
opt_if_om_sn_src_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalHighOutputPower.setStatus('current')
opt_if_om_sn_src_interval_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalLastAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_interval_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_interval_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcIntervalHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8))
if mibBuilder.loadTexts:
optIfOMSnSrcCurDayTable.setStatus('current')
opt_if_om_sn_src_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnSrcCurDayEntry.setStatus('current')
opt_if_om_sn_src_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurDaySuspectedFlag.setStatus('current')
opt_if_om_sn_src_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurDayLowOutputPower.setStatus('current')
opt_if_om_sn_src_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurDayHighOutputPower.setStatus('current')
opt_if_om_sn_src_cur_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurDayLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_cur_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcCurDayHighAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9))
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayTable.setStatus('current')
opt_if_om_sn_src_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayEntry.setStatus('current')
opt_if_om_sn_src_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDaySuspectedFlag.setStatus('current')
opt_if_om_sn_src_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayLastOutputPower.setStatus('current')
opt_if_om_sn_src_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayLowOutputPower.setStatus('current')
opt_if_om_sn_src_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayHighOutputPower.setStatus('current')
opt_if_om_sn_src_prev_day_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayLastAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_prev_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayLowAggregatedInputPower.setStatus('current')
opt_if_om_sn_src_prev_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOMSnSrcPrevDayHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1))
if mibBuilder.loadTexts:
optIfOChGroupConfigTable.setStatus('current')
opt_if_o_ch_group_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupConfigEntry.setStatus('current')
opt_if_o_ch_group_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1, 1, 1), opt_if_directionality()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupDirectionality.setStatus('current')
opt_if_o_ch_group_sink_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2))
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentTable.setStatus('current')
opt_if_o_ch_group_sink_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentEntry.setStatus('current')
opt_if_o_ch_group_sink_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentSuspectedFlag.setStatus('current')
opt_if_o_ch_group_sink_current_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_current_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_current_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_o_ch_group_sink_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_o_ch_group_sink_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentOutputPower.setStatus('current')
opt_if_o_ch_group_sink_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentLowOutputPower.setStatus('current')
opt_if_o_ch_group_sink_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 9), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentHighOutputPower.setStatus('current')
opt_if_o_ch_group_sink_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 10), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_o_ch_group_sink_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 11), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_o_ch_group_sink_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3))
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalTable.setStatus('current')
opt_if_o_ch_group_sink_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOChGroupSinkIntervalNumber'))
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalEntry.setStatus('current')
opt_if_o_ch_group_sink_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalNumber.setStatus('current')
opt_if_o_ch_group_sink_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalSuspectedFlag.setStatus('current')
opt_if_o_ch_group_sink_interval_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalLastAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_interval_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_interval_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalLastOutputPower.setStatus('current')
opt_if_o_ch_group_sink_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalLowOutputPower.setStatus('current')
opt_if_o_ch_group_sink_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkIntervalHighOutputPower.setStatus('current')
opt_if_o_ch_group_sink_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4))
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDayTable.setStatus('current')
opt_if_o_ch_group_sink_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDayEntry.setStatus('current')
opt_if_o_ch_group_sink_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDaySuspectedFlag.setStatus('current')
opt_if_o_ch_group_sink_cur_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDayLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_cur_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDayHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDayLowOutputPower.setStatus('current')
opt_if_o_ch_group_sink_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkCurDayHighOutputPower.setStatus('current')
opt_if_o_ch_group_sink_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5))
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayTable.setStatus('current')
opt_if_o_ch_group_sink_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayEntry.setStatus('current')
opt_if_o_ch_group_sink_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDaySuspectedFlag.setStatus('current')
opt_if_o_ch_group_sink_prev_day_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayLastAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_prev_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_prev_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_sink_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayLastOutputPower.setStatus('current')
opt_if_o_ch_group_sink_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayLowOutputPower.setStatus('current')
opt_if_o_ch_group_sink_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSinkPrevDayHighOutputPower.setStatus('current')
opt_if_o_ch_group_src_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6))
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentTable.setStatus('current')
opt_if_o_ch_group_src_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentEntry.setStatus('current')
opt_if_o_ch_group_src_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentSuspectedFlag.setStatus('current')
opt_if_o_ch_group_src_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentOutputPower.setStatus('current')
opt_if_o_ch_group_src_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentLowOutputPower.setStatus('current')
opt_if_o_ch_group_src_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentHighOutputPower.setStatus('current')
opt_if_o_ch_group_src_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_o_ch_group_src_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_o_ch_group_src_current_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_current_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_current_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 9), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 10), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_o_ch_group_src_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 11), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_o_ch_group_src_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7))
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalTable.setStatus('current')
opt_if_o_ch_group_src_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOChGroupSrcIntervalNumber'))
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalEntry.setStatus('current')
opt_if_o_ch_group_src_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalNumber.setStatus('current')
opt_if_o_ch_group_src_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalSuspectedFlag.setStatus('current')
opt_if_o_ch_group_src_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalLastOutputPower.setStatus('current')
opt_if_o_ch_group_src_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalLowOutputPower.setStatus('current')
opt_if_o_ch_group_src_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalHighOutputPower.setStatus('current')
opt_if_o_ch_group_src_interval_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalLastAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_interval_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_interval_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 8), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcIntervalHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8))
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDayTable.setStatus('current')
opt_if_o_ch_group_src_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDayEntry.setStatus('current')
opt_if_o_ch_group_src_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDaySuspectedFlag.setStatus('current')
opt_if_o_ch_group_src_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDayLowOutputPower.setStatus('current')
opt_if_o_ch_group_src_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDayHighOutputPower.setStatus('current')
opt_if_o_ch_group_src_cur_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDayLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_cur_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcCurDayHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9))
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayTable.setStatus('current')
opt_if_o_ch_group_src_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayEntry.setStatus('current')
opt_if_o_ch_group_src_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDaySuspectedFlag.setStatus('current')
opt_if_o_ch_group_src_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayLastOutputPower.setStatus('current')
opt_if_o_ch_group_src_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayLowOutputPower.setStatus('current')
opt_if_o_ch_group_src_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayHighOutputPower.setStatus('current')
opt_if_o_ch_group_src_prev_day_last_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayLastAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_prev_day_low_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayLowAggregatedInputPower.setStatus('current')
opt_if_o_ch_group_src_prev_day_high_aggregated_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 7), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChGroupSrcPrevDayHighAggregatedInputPower.setStatus('current')
opt_if_o_ch_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1))
if mibBuilder.loadTexts:
optIfOChConfigTable.setStatus('current')
opt_if_o_ch_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChConfigEntry.setStatus('current')
opt_if_o_ch_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1, 1), opt_if_directionality()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChDirectionality.setStatus('current')
opt_if_o_ch_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1, 2), bits().clone(namedValues=named_values(('losP', 0), ('los', 1), ('oci', 2), ('ssfP', 3), ('ssfO', 4), ('ssf', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChCurrentStatus.setStatus('current')
opt_if_o_ch_sink_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2))
if mibBuilder.loadTexts:
optIfOChSinkCurrentTable.setStatus('current')
opt_if_o_ch_sink_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChSinkCurrentEntry.setStatus('current')
opt_if_o_ch_sink_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurrentSuspectedFlag.setStatus('current')
opt_if_o_ch_sink_current_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurrentInputPower.setStatus('current')
opt_if_o_ch_sink_current_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurrentLowInputPower.setStatus('current')
opt_if_o_ch_sink_current_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurrentHighInputPower.setStatus('current')
opt_if_o_ch_sink_current_lower_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChSinkCurrentLowerInputPowerThreshold.setStatus('current')
opt_if_o_ch_sink_current_upper_input_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChSinkCurrentUpperInputPowerThreshold.setStatus('current')
opt_if_o_ch_sink_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3))
if mibBuilder.loadTexts:
optIfOChSinkIntervalTable.setStatus('current')
opt_if_o_ch_sink_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOChSinkIntervalNumber'))
if mibBuilder.loadTexts:
optIfOChSinkIntervalEntry.setStatus('current')
opt_if_o_ch_sink_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOChSinkIntervalNumber.setStatus('current')
opt_if_o_ch_sink_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkIntervalSuspectedFlag.setStatus('current')
opt_if_o_ch_sink_interval_last_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkIntervalLastInputPower.setStatus('current')
opt_if_o_ch_sink_interval_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkIntervalLowInputPower.setStatus('current')
opt_if_o_ch_sink_interval_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkIntervalHighInputPower.setStatus('current')
opt_if_o_ch_sink_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4))
if mibBuilder.loadTexts:
optIfOChSinkCurDayTable.setStatus('current')
opt_if_o_ch_sink_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChSinkCurDayEntry.setStatus('current')
opt_if_o_ch_sink_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurDaySuspectedFlag.setStatus('current')
opt_if_o_ch_sink_cur_day_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurDayLowInputPower.setStatus('current')
opt_if_o_ch_sink_cur_day_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkCurDayHighInputPower.setStatus('current')
opt_if_o_ch_sink_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5))
if mibBuilder.loadTexts:
optIfOChSinkPrevDayTable.setStatus('current')
opt_if_o_ch_sink_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChSinkPrevDayEntry.setStatus('current')
opt_if_o_ch_sink_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkPrevDaySuspectedFlag.setStatus('current')
opt_if_o_ch_sink_prev_day_last_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkPrevDayLastInputPower.setStatus('current')
opt_if_o_ch_sink_prev_day_low_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkPrevDayLowInputPower.setStatus('current')
opt_if_o_ch_sink_prev_day_high_input_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSinkPrevDayHighInputPower.setStatus('current')
opt_if_o_ch_src_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6))
if mibBuilder.loadTexts:
optIfOChSrcCurrentTable.setStatus('current')
opt_if_o_ch_src_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChSrcCurrentEntry.setStatus('current')
opt_if_o_ch_src_current_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurrentSuspectedFlag.setStatus('current')
opt_if_o_ch_src_current_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurrentOutputPower.setStatus('current')
opt_if_o_ch_src_current_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurrentLowOutputPower.setStatus('current')
opt_if_o_ch_src_current_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurrentHighOutputPower.setStatus('current')
opt_if_o_ch_src_current_lower_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChSrcCurrentLowerOutputPowerThreshold.setStatus('current')
opt_if_o_ch_src_current_upper_output_power_threshold = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 6), integer32()).setUnits('0.1 dbm').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOChSrcCurrentUpperOutputPowerThreshold.setStatus('current')
opt_if_o_ch_src_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7))
if mibBuilder.loadTexts:
optIfOChSrcIntervalTable.setStatus('current')
opt_if_o_ch_src_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfOChSrcIntervalNumber'))
if mibBuilder.loadTexts:
optIfOChSrcIntervalEntry.setStatus('current')
opt_if_o_ch_src_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 1), opt_if_interval_number())
if mibBuilder.loadTexts:
optIfOChSrcIntervalNumber.setStatus('current')
opt_if_o_ch_src_interval_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 2), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcIntervalSuspectedFlag.setStatus('current')
opt_if_o_ch_src_interval_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcIntervalLastOutputPower.setStatus('current')
opt_if_o_ch_src_interval_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcIntervalLowOutputPower.setStatus('current')
opt_if_o_ch_src_interval_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 5), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcIntervalHighOutputPower.setStatus('current')
opt_if_o_ch_src_cur_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8))
if mibBuilder.loadTexts:
optIfOChSrcCurDayTable.setStatus('current')
opt_if_o_ch_src_cur_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChSrcCurDayEntry.setStatus('current')
opt_if_o_ch_src_cur_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurDaySuspectedFlag.setStatus('current')
opt_if_o_ch_src_cur_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurDayLowOutputPower.setStatus('current')
opt_if_o_ch_src_cur_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcCurDayHighOutputPower.setStatus('current')
opt_if_o_ch_src_prev_day_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9))
if mibBuilder.loadTexts:
optIfOChSrcPrevDayTable.setStatus('current')
opt_if_o_ch_src_prev_day_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOChSrcPrevDayEntry.setStatus('current')
opt_if_o_ch_src_prev_day_suspected_flag = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 1), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcPrevDaySuspectedFlag.setStatus('current')
opt_if_o_ch_src_prev_day_last_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 2), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcPrevDayLastOutputPower.setStatus('current')
opt_if_o_ch_src_prev_day_low_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 3), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcPrevDayLowOutputPower.setStatus('current')
opt_if_o_ch_src_prev_day_high_output_power = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 4), integer32()).setUnits('0.1 dbm').setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOChSrcPrevDayHighOutputPower.setStatus('current')
opt_if_ot_uk_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1))
if mibBuilder.loadTexts:
optIfOTUkConfigTable.setStatus('current')
opt_if_ot_uk_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfOTUkConfigEntry.setStatus('current')
opt_if_ot_uk_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 1), opt_if_directionality()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTUkDirectionality.setStatus('current')
opt_if_ot_uk_bit_rate_k = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 2), opt_if_bit_rate_k()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTUkBitRateK.setStatus('current')
opt_if_ot_uk_trace_identifier_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 3), opt_if_tx_ti()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkTraceIdentifierTransmitted.setStatus('current')
opt_if_ot_uk_dapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 4), opt_if_ex_dapi()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkDAPIExpected.setStatus('current')
opt_if_ot_uk_sapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 5), opt_if_ex_sapi()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkSAPIExpected.setStatus('current')
opt_if_ot_uk_trace_identifier_accepted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 6), opt_if_ac_ti()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTUkTraceIdentifierAccepted.setStatus('current')
opt_if_ot_uk_tim_det_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 7), opt_if_tim_det_mode()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkTIMDetMode.setStatus('current')
opt_if_ot_uk_tim_act_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 8), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkTIMActEnabled.setStatus('current')
opt_if_ot_uk_deg_thr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 9), opt_if_deg_thr()).setUnits('percentage').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkDEGThr.setStatus('current')
opt_if_ot_uk_degm = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 10), opt_if_degm()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkDEGM.setStatus('current')
opt_if_ot_uk_sink_adapt_active = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 11), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkSinkAdaptActive.setStatus('current')
opt_if_ot_uk_source_adapt_active = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 12), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkSourceAdaptActive.setStatus('current')
opt_if_ot_uk_sink_fec_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 13), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfOTUkSinkFECEnabled.setStatus('current')
opt_if_ot_uk_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 14), bits().clone(namedValues=named_values(('tim', 0), ('deg', 1), ('bdi', 2), ('ssf', 3), ('lof', 4), ('ais', 5), ('lom', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfOTUkCurrentStatus.setStatus('current')
opt_if_gcc0_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2))
if mibBuilder.loadTexts:
optIfGCC0ConfigTable.setStatus('current')
opt_if_gcc0_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfGCC0Directionality'))
if mibBuilder.loadTexts:
optIfGCC0ConfigEntry.setStatus('current')
opt_if_gcc0_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 1), opt_if_directionality())
if mibBuilder.loadTexts:
optIfGCC0Directionality.setStatus('current')
opt_if_gcc0_application = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 2), snmp_admin_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfGCC0Application.setStatus('current')
opt_if_gcc0_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfGCC0RowStatus.setStatus('current')
opt_if_od_uk_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1))
if mibBuilder.loadTexts:
optIfODUkConfigTable.setStatus('current')
opt_if_od_uk_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfODUkConfigEntry.setStatus('current')
opt_if_od_uk_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 1), opt_if_directionality()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkDirectionality.setStatus('current')
opt_if_od_uk_bit_rate_k = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 2), opt_if_bit_rate_k()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkBitRateK.setStatus('current')
opt_if_od_uk_tcm_fields_in_use = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 3), bits().clone(namedValues=named_values(('tcmField1', 0), ('tcmField2', 1), ('tcmField3', 2), ('tcmField4', 3), ('tcmField5', 4), ('tcmField6', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTcmFieldsInUse.setStatus('current')
opt_if_od_uk_position_seq_current_size = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 4), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkPositionSeqCurrentSize.setStatus('current')
opt_if_od_uk_ttp_present = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 5), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTtpPresent.setStatus('current')
opt_if_od_uk_ttp_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2))
if mibBuilder.loadTexts:
optIfODUkTtpConfigTable.setStatus('current')
opt_if_od_uk_ttp_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
optIfODUkTtpConfigEntry.setStatus('current')
opt_if_od_uk_ttp_trace_identifier_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 1), opt_if_tx_ti()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpTraceIdentifierTransmitted.setStatus('current')
opt_if_od_uk_ttp_dapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 2), opt_if_ex_dapi()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpDAPIExpected.setStatus('current')
opt_if_od_uk_ttp_sapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 3), opt_if_ex_sapi()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpSAPIExpected.setStatus('current')
opt_if_od_uk_ttp_trace_identifier_accepted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 4), opt_if_ac_ti()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTtpTraceIdentifierAccepted.setStatus('current')
opt_if_od_uk_ttp_tim_det_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 5), opt_if_tim_det_mode()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpTIMDetMode.setStatus('current')
opt_if_od_uk_ttp_tim_act_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 6), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpTIMActEnabled.setStatus('current')
opt_if_od_uk_ttp_deg_thr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 7), opt_if_deg_thr()).setUnits('percentage').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpDEGThr.setStatus('current')
opt_if_od_uk_ttp_degm = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 8), opt_if_degm()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
optIfODUkTtpDEGM.setStatus('current')
opt_if_od_uk_ttp_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 9), bits().clone(namedValues=named_values(('oci', 0), ('lck', 1), ('tim', 2), ('deg', 3), ('bdi', 4), ('ssf', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTtpCurrentStatus.setStatus('current')
opt_if_od_uk_position_seq_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3))
if mibBuilder.loadTexts:
optIfODUkPositionSeqTable.setStatus('current')
opt_if_od_uk_position_seq_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfODUkPositionSeqIndex'))
if mibBuilder.loadTexts:
optIfODUkPositionSeqEntry.setStatus('current')
opt_if_od_uk_position_seq_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295)))
if mibBuilder.loadTexts:
optIfODUkPositionSeqIndex.setStatus('current')
opt_if_od_uk_position_seq_position = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkPositionSeqPosition.setStatus('current')
opt_if_od_uk_position_seq_pointer = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 3), row_pointer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkPositionSeqPointer.setStatus('current')
opt_if_od_uk_nim_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4))
if mibBuilder.loadTexts:
optIfODUkNimConfigTable.setStatus('current')
opt_if_od_uk_nim_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfODUkNimDirectionality'))
if mibBuilder.loadTexts:
optIfODUkNimConfigEntry.setStatus('current')
opt_if_od_uk_nim_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 1), opt_if_sink_or_source())
if mibBuilder.loadTexts:
optIfODUkNimDirectionality.setStatus('current')
opt_if_od_uk_nim_dapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 2), opt_if_ex_dapi()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimDAPIExpected.setStatus('current')
opt_if_od_uk_nim_sapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 3), opt_if_ex_sapi()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimSAPIExpected.setStatus('current')
opt_if_od_uk_nim_trace_identifier_accepted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 4), opt_if_ac_ti()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkNimTraceIdentifierAccepted.setStatus('current')
opt_if_od_uk_nim_tim_det_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 5), opt_if_tim_det_mode()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimTIMDetMode.setStatus('current')
opt_if_od_uk_nim_tim_act_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 6), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimTIMActEnabled.setStatus('current')
opt_if_od_uk_nim_deg_thr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 7), opt_if_deg_thr()).setUnits('percentage').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimDEGThr.setStatus('current')
opt_if_od_uk_nim_degm = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 8), opt_if_degm()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimDEGM.setStatus('current')
opt_if_od_uk_nim_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 9), bits().clone(namedValues=named_values(('oci', 0), ('lck', 1), ('tim', 2), ('deg', 3), ('bdi', 4), ('ssf', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkNimCurrentStatus.setStatus('current')
opt_if_od_uk_nim_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 10), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkNimRowStatus.setStatus('current')
opt_if_gcc12_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5))
if mibBuilder.loadTexts:
optIfGCC12ConfigTable.setStatus('current')
opt_if_gcc12_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfGCC12Codirectional'), (0, 'OPT-IF-MIB', 'optIfGCC12GCCAccess'))
if mibBuilder.loadTexts:
optIfGCC12ConfigEntry.setStatus('current')
opt_if_gcc12_codirectional = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 1), truth_value())
if mibBuilder.loadTexts:
optIfGCC12Codirectional.setStatus('current')
opt_if_gcc12_gcc_access = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('gcc1', 1), ('gcc2', 2), ('gcc1and2', 3))))
if mibBuilder.loadTexts:
optIfGCC12GCCAccess.setStatus('current')
opt_if_gcc12_gcc_pass_through = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 3), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfGCC12GCCPassThrough.setStatus('current')
opt_if_gcc12_application = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 4), snmp_admin_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfGCC12Application.setStatus('current')
opt_if_gcc12_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfGCC12RowStatus.setStatus('current')
opt_if_od_uk_t_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1))
if mibBuilder.loadTexts:
optIfODUkTConfigTable.setStatus('current')
opt_if_od_uk_t_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfODUkTTcmField'), (0, 'OPT-IF-MIB', 'optIfODUkTCodirectional'))
if mibBuilder.loadTexts:
optIfODUkTConfigEntry.setStatus('current')
opt_if_od_uk_t_tcm_field = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
optIfODUkTTcmField.setStatus('current')
opt_if_od_uk_t_codirectional = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 2), truth_value())
if mibBuilder.loadTexts:
optIfODUkTCodirectional.setStatus('current')
opt_if_od_uk_t_trace_identifier_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 3), opt_if_tx_ti()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTTraceIdentifierTransmitted.setStatus('current')
opt_if_od_uk_tdapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 4), opt_if_ex_dapi()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTDAPIExpected.setStatus('current')
opt_if_od_uk_tsapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 5), opt_if_ex_sapi()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTSAPIExpected.setStatus('current')
opt_if_od_uk_t_trace_identifier_accepted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 6), opt_if_ac_ti()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTTraceIdentifierAccepted.setStatus('current')
opt_if_od_uk_ttim_det_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 7), opt_if_tim_det_mode()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTTIMDetMode.setStatus('current')
opt_if_od_uk_ttim_act_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 8), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTTIMActEnabled.setStatus('current')
opt_if_od_uk_tdeg_thr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 9), opt_if_deg_thr()).setUnits('percentage').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTDEGThr.setStatus('current')
opt_if_od_uk_tdegm = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 10), opt_if_degm()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTDEGM.setStatus('current')
opt_if_od_uk_t_sink_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('operational', 1), ('monitor', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTSinkMode.setStatus('current')
opt_if_od_uk_t_sink_lock_signal_admin_state = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('locked', 1), ('normal', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTSinkLockSignalAdminState.setStatus('current')
opt_if_od_uk_t_source_lock_signal_admin_state = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('locked', 1), ('normal', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTSourceLockSignalAdminState.setStatus('current')
opt_if_od_uk_t_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 14), bits().clone(namedValues=named_values(('oci', 0), ('lck', 1), ('tim', 2), ('deg', 3), ('bdi', 4), ('ssf', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTCurrentStatus.setStatus('current')
opt_if_od_uk_t_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 15), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTRowStatus.setStatus('current')
opt_if_od_uk_t_nim_config_table = mib_table((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2))
if mibBuilder.loadTexts:
optIfODUkTNimConfigTable.setStatus('current')
opt_if_od_uk_t_nim_config_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'OPT-IF-MIB', 'optIfODUkTNimTcmField'), (0, 'OPT-IF-MIB', 'optIfODUkTNimDirectionality'))
if mibBuilder.loadTexts:
optIfODUkTNimConfigEntry.setStatus('current')
opt_if_od_uk_t_nim_tcm_field = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
optIfODUkTNimTcmField.setStatus('current')
opt_if_od_uk_t_nim_directionality = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 2), opt_if_sink_or_source())
if mibBuilder.loadTexts:
optIfODUkTNimDirectionality.setStatus('current')
opt_if_od_uk_t_nim_dapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 3), opt_if_ex_dapi()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimDAPIExpected.setStatus('current')
opt_if_od_uk_t_nim_sapi_expected = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 4), opt_if_ex_sapi()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimSAPIExpected.setStatus('current')
opt_if_od_uk_t_nim_trace_identifier_accepted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 5), opt_if_ac_ti()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTNimTraceIdentifierAccepted.setStatus('current')
opt_if_od_uk_t_nim_tim_det_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 6), opt_if_tim_det_mode()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimTIMDetMode.setStatus('current')
opt_if_od_uk_t_nim_tim_act_enabled = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 7), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimTIMActEnabled.setStatus('current')
opt_if_od_uk_t_nim_deg_thr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 8), opt_if_deg_thr()).setUnits('percentage').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimDEGThr.setStatus('current')
opt_if_od_uk_t_nim_degm = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 9), opt_if_degm()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimDEGM.setStatus('current')
opt_if_od_uk_t_nim_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 10), bits().clone(namedValues=named_values(('oci', 0), ('lck', 1), ('tim', 2), ('deg', 3), ('bdi', 4), ('ssf', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
optIfODUkTNimCurrentStatus.setStatus('current')
opt_if_od_uk_t_nim_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
optIfODUkTNimRowStatus.setStatus('current')
opt_if_ot_mn_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 1)).setObjects(('OPT-IF-MIB', 'optIfOTMnOrder'), ('OPT-IF-MIB', 'optIfOTMnReduced'), ('OPT-IF-MIB', 'optIfOTMnBitRates'), ('OPT-IF-MIB', 'optIfOTMnInterfaceType'), ('OPT-IF-MIB', 'optIfOTMnTcmMax'), ('OPT-IF-MIB', 'optIfOTMnOpticalReach'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_mn_group = optIfOTMnGroup.setStatus('current')
opt_if_perf_mon_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 2)).setObjects(('OPT-IF-MIB', 'optIfPerfMonCurrentTimeElapsed'), ('OPT-IF-MIB', 'optIfPerfMonCurDayTimeElapsed'), ('OPT-IF-MIB', 'optIfPerfMonIntervalNumIntervals'), ('OPT-IF-MIB', 'optIfPerfMonIntervalNumInvalidIntervals'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_perf_mon_group = optIfPerfMonGroup.setStatus('current')
opt_if_ot_sn_common_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 3)).setObjects(('OPT-IF-MIB', 'optIfOTSnDirectionality'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_common_group = optIfOTSnCommonGroup.setStatus('current')
opt_if_ot_sn_source_group_full = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 4)).setObjects(('OPT-IF-MIB', 'optIfOTSnTraceIdentifierTransmitted'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_source_group_full = optIfOTSnSourceGroupFull.setStatus('current')
opt_if_ot_sn_apr_status_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 5)).setObjects(('OPT-IF-MIB', 'optIfOTSnAprStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_apr_status_group = optIfOTSnAPRStatusGroup.setStatus('current')
opt_if_ot_sn_apr_control_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 6)).setObjects(('OPT-IF-MIB', 'optIfOTSnAprControl'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_apr_control_group = optIfOTSnAPRControlGroup.setStatus('current')
opt_if_ot_sn_sink_group_basic = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 7)).setObjects(('OPT-IF-MIB', 'optIfOTSnCurrentStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_sink_group_basic = optIfOTSnSinkGroupBasic.setStatus('current')
opt_if_ot_sn_sink_group_full = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 8)).setObjects(('OPT-IF-MIB', 'optIfOTSnDAPIExpected'), ('OPT-IF-MIB', 'optIfOTSnSAPIExpected'), ('OPT-IF-MIB', 'optIfOTSnTraceIdentifierAccepted'), ('OPT-IF-MIB', 'optIfOTSnTIMDetMode'), ('OPT-IF-MIB', 'optIfOTSnTIMActEnabled'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_sink_group_full = optIfOTSnSinkGroupFull.setStatus('current')
opt_if_ot_sn_sink_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 9)).setObjects(('OPT-IF-MIB', 'optIfOTSnSinkCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalLastInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSinkCurDayLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurDayHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDayLastInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDayLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDayHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSinkPrevDayHighOutputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_sink_pre_otn_pm_group = optIfOTSnSinkPreOtnPMGroup.setStatus('current')
opt_if_ot_sn_sink_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 10)).setObjects(('OPT-IF-MIB', 'optIfOTSnSinkCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentUpperInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOTSnSinkCurrentUpperOutputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_sink_pre_otn_pm_threshold_group = optIfOTSnSinkPreOtnPMThresholdGroup.setStatus('current')
opt_if_ot_sn_source_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 11)).setObjects(('OPT-IF-MIB', 'optIfOTSnSrcCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalLastInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcIntervalHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSrcCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurDayLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcCurDayHighInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDayLastInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDayLowInputPower'), ('OPT-IF-MIB', 'optIfOTSnSrcPrevDayHighInputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_source_pre_otn_pm_group = optIfOTSnSourcePreOtnPMGroup.setStatus('current')
opt_if_ot_sn_source_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 12)).setObjects(('OPT-IF-MIB', 'optIfOTSnSrcCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentUpperOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOTSnSrcCurrentUpperInputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_sn_source_pre_otn_pm_threshold_group = optIfOTSnSourcePreOtnPMThresholdGroup.setStatus('current')
opt_if_om_sn_common_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 13)).setObjects(('OPT-IF-MIB', 'optIfOMSnDirectionality'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_om_sn_common_group = optIfOMSnCommonGroup.setStatus('current')
opt_if_om_sn_sink_group_basic = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 14)).setObjects(('OPT-IF-MIB', 'optIfOMSnCurrentStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_om_sn_sink_group_basic = optIfOMSnSinkGroupBasic.setStatus('current')
opt_if_om_sn_sink_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 15)).setObjects(('OPT-IF-MIB', 'optIfOMSnSinkCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSinkCurDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurDayHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDayLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDayHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSinkPrevDayHighOutputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_om_sn_sink_pre_otn_pm_group = optIfOMSnSinkPreOtnPMGroup.setStatus('current')
opt_if_om_sn_sink_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 16)).setObjects(('OPT-IF-MIB', 'optIfOMSnSinkCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentUpperInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOMSnSinkCurrentUpperOutputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_om_sn_sink_pre_otn_pm_threshold_group = optIfOMSnSinkPreOtnPMThresholdGroup.setStatus('current')
opt_if_om_sn_source_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 17)).setObjects(('OPT-IF-MIB', 'optIfOMSnSrcCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcIntervalHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSrcCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcCurDayHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDayLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOMSnSrcPrevDayHighAggregatedInputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_om_sn_source_pre_otn_pm_group = optIfOMSnSourcePreOtnPMGroup.setStatus('current')
opt_if_om_sn_source_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 18)).setObjects(('OPT-IF-MIB', 'optIfOMSnSrcCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentUpperOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOMSnSrcCurrentUpperInputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_om_sn_source_pre_otn_pm_threshold_group = optIfOMSnSourcePreOtnPMThresholdGroup.setStatus('current')
opt_if_o_ch_group_common_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 19)).setObjects(('OPT-IF-MIB', 'optIfOChGroupDirectionality'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_group_common_group = optIfOChGroupCommonGroup.setStatus('current')
opt_if_o_ch_group_sink_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 20)).setObjects(('OPT-IF-MIB', 'optIfOChGroupSinkCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurDayHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDayLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDayHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSinkPrevDayHighOutputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_group_sink_pre_otn_pm_group = optIfOChGroupSinkPreOtnPMGroup.setStatus('current')
opt_if_o_ch_group_sink_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 21)).setObjects(('OPT-IF-MIB', 'optIfOChGroupSinkCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentUpperInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChGroupSinkCurrentUpperOutputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_group_sink_pre_otn_pm_threshold_group = optIfOChGroupSinkPreOtnPMThresholdGroup.setStatus('current')
opt_if_o_ch_group_source_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 22)).setObjects(('OPT-IF-MIB', 'optIfOChGroupSrcCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcIntervalHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurDayHighAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDayLastAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDayLowAggregatedInputPower'), ('OPT-IF-MIB', 'optIfOChGroupSrcPrevDayHighAggregatedInputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_group_source_pre_otn_pm_group = optIfOChGroupSourcePreOtnPMGroup.setStatus('current')
opt_if_o_ch_group_source_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 23)).setObjects(('OPT-IF-MIB', 'optIfOChGroupSrcCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentUpperOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChGroupSrcCurrentUpperInputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_group_source_pre_otn_pm_threshold_group = optIfOChGroupSourcePreOtnPMThresholdGroup.setStatus('current')
opt_if_o_ch_common_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 24)).setObjects(('OPT-IF-MIB', 'optIfOChDirectionality'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_common_group = optIfOChCommonGroup.setStatus('current')
opt_if_o_ch_sink_group_basic = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 25)).setObjects(('OPT-IF-MIB', 'optIfOChCurrentStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_sink_group_basic = optIfOChSinkGroupBasic.setStatus('current')
opt_if_o_ch_sink_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 26)).setObjects(('OPT-IF-MIB', 'optIfOChSinkCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSinkCurrentInputPower'), ('OPT-IF-MIB', 'optIfOChSinkCurrentLowInputPower'), ('OPT-IF-MIB', 'optIfOChSinkCurrentHighInputPower'), ('OPT-IF-MIB', 'optIfOChSinkIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSinkIntervalLastInputPower'), ('OPT-IF-MIB', 'optIfOChSinkIntervalLowInputPower'), ('OPT-IF-MIB', 'optIfOChSinkIntervalHighInputPower'), ('OPT-IF-MIB', 'optIfOChSinkCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSinkCurDayLowInputPower'), ('OPT-IF-MIB', 'optIfOChSinkCurDayHighInputPower'), ('OPT-IF-MIB', 'optIfOChSinkPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSinkPrevDayLastInputPower'), ('OPT-IF-MIB', 'optIfOChSinkPrevDayLowInputPower'), ('OPT-IF-MIB', 'optIfOChSinkPrevDayHighInputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_sink_pre_otn_pm_group = optIfOChSinkPreOtnPMGroup.setStatus('current')
opt_if_o_ch_sink_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 27)).setObjects(('OPT-IF-MIB', 'optIfOChSinkCurrentLowerInputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChSinkCurrentUpperInputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_sink_pre_otn_pm_threshold_group = optIfOChSinkPreOtnPMThresholdGroup.setStatus('current')
opt_if_o_ch_source_pre_otn_pm_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 28)).setObjects(('OPT-IF-MIB', 'optIfOChSrcCurrentSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSrcCurrentOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcCurrentLowOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcCurrentHighOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcIntervalSuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSrcIntervalLastOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcIntervalLowOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcIntervalHighOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcCurDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSrcCurDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcCurDayHighOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcPrevDaySuspectedFlag'), ('OPT-IF-MIB', 'optIfOChSrcPrevDayLastOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcPrevDayLowOutputPower'), ('OPT-IF-MIB', 'optIfOChSrcPrevDayHighOutputPower'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_source_pre_otn_pm_group = optIfOChSourcePreOtnPMGroup.setStatus('current')
opt_if_o_ch_source_pre_otn_pm_threshold_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 29)).setObjects(('OPT-IF-MIB', 'optIfOChSrcCurrentLowerOutputPowerThreshold'), ('OPT-IF-MIB', 'optIfOChSrcCurrentUpperOutputPowerThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_o_ch_source_pre_otn_pm_threshold_group = optIfOChSourcePreOtnPMThresholdGroup.setStatus('current')
opt_if_ot_uk_common_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 30)).setObjects(('OPT-IF-MIB', 'optIfOTUkDirectionality'), ('OPT-IF-MIB', 'optIfOTUkBitRateK'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_uk_common_group = optIfOTUkCommonGroup.setStatus('current')
opt_if_ot_uk_source_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 31)).setObjects(('OPT-IF-MIB', 'optIfOTUkTraceIdentifierTransmitted'), ('OPT-IF-MIB', 'optIfOTUkSourceAdaptActive'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_uk_source_group = optIfOTUkSourceGroup.setStatus('current')
opt_if_ot_uk_sink_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 32)).setObjects(('OPT-IF-MIB', 'optIfOTUkDAPIExpected'), ('OPT-IF-MIB', 'optIfOTUkSAPIExpected'), ('OPT-IF-MIB', 'optIfOTUkTraceIdentifierAccepted'), ('OPT-IF-MIB', 'optIfOTUkTIMDetMode'), ('OPT-IF-MIB', 'optIfOTUkTIMActEnabled'), ('OPT-IF-MIB', 'optIfOTUkDEGThr'), ('OPT-IF-MIB', 'optIfOTUkDEGM'), ('OPT-IF-MIB', 'optIfOTUkSinkAdaptActive'), ('OPT-IF-MIB', 'optIfOTUkSinkFECEnabled'), ('OPT-IF-MIB', 'optIfOTUkCurrentStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_ot_uk_sink_group = optIfOTUkSinkGroup.setStatus('current')
opt_if_gcc0_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 33)).setObjects(('OPT-IF-MIB', 'optIfGCC0Application'), ('OPT-IF-MIB', 'optIfGCC0RowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_gcc0_group = optIfGCC0Group.setStatus('current')
opt_if_od_uk_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 34)).setObjects(('OPT-IF-MIB', 'optIfODUkDirectionality'), ('OPT-IF-MIB', 'optIfODUkBitRateK'), ('OPT-IF-MIB', 'optIfODUkTcmFieldsInUse'), ('OPT-IF-MIB', 'optIfODUkPositionSeqCurrentSize'), ('OPT-IF-MIB', 'optIfODUkPositionSeqPosition'), ('OPT-IF-MIB', 'optIfODUkPositionSeqPointer'), ('OPT-IF-MIB', 'optIfODUkTtpPresent'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_group = optIfODUkGroup.setStatus('current')
opt_if_od_uk_ttp_source_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 35)).setObjects(('OPT-IF-MIB', 'optIfODUkTtpTraceIdentifierTransmitted'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_ttp_source_group = optIfODUkTtpSourceGroup.setStatus('current')
opt_if_od_uk_ttp_sink_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 36)).setObjects(('OPT-IF-MIB', 'optIfODUkTtpDAPIExpected'), ('OPT-IF-MIB', 'optIfODUkTtpSAPIExpected'), ('OPT-IF-MIB', 'optIfODUkTtpTraceIdentifierAccepted'), ('OPT-IF-MIB', 'optIfODUkTtpTIMDetMode'), ('OPT-IF-MIB', 'optIfODUkTtpTIMActEnabled'), ('OPT-IF-MIB', 'optIfODUkTtpDEGThr'), ('OPT-IF-MIB', 'optIfODUkTtpDEGM'), ('OPT-IF-MIB', 'optIfODUkTtpCurrentStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_ttp_sink_group = optIfODUkTtpSinkGroup.setStatus('current')
opt_if_od_uk_nim_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 37)).setObjects(('OPT-IF-MIB', 'optIfODUkNimDAPIExpected'), ('OPT-IF-MIB', 'optIfODUkNimSAPIExpected'), ('OPT-IF-MIB', 'optIfODUkNimTraceIdentifierAccepted'), ('OPT-IF-MIB', 'optIfODUkNimTIMDetMode'), ('OPT-IF-MIB', 'optIfODUkNimTIMActEnabled'), ('OPT-IF-MIB', 'optIfODUkNimDEGThr'), ('OPT-IF-MIB', 'optIfODUkNimDEGM'), ('OPT-IF-MIB', 'optIfODUkNimCurrentStatus'), ('OPT-IF-MIB', 'optIfODUkNimRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_nim_group = optIfODUkNimGroup.setStatus('current')
opt_if_gcc12_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 38)).setObjects(('OPT-IF-MIB', 'optIfGCC12GCCPassThrough'), ('OPT-IF-MIB', 'optIfGCC12Application'), ('OPT-IF-MIB', 'optIfGCC12RowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_gcc12_group = optIfGCC12Group.setStatus('current')
opt_if_od_uk_t_common_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 39)).setObjects(('OPT-IF-MIB', 'optIfODUkTRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_t_common_group = optIfODUkTCommonGroup.setStatus('current')
opt_if_od_uk_t_source_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 40)).setObjects(('OPT-IF-MIB', 'optIfODUkTTraceIdentifierTransmitted'), ('OPT-IF-MIB', 'optIfODUkTSourceLockSignalAdminState'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_t_source_group = optIfODUkTSourceGroup.setStatus('current')
opt_if_od_uk_t_sink_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 41)).setObjects(('OPT-IF-MIB', 'optIfODUkTDAPIExpected'), ('OPT-IF-MIB', 'optIfODUkTSAPIExpected'), ('OPT-IF-MIB', 'optIfODUkTTraceIdentifierAccepted'), ('OPT-IF-MIB', 'optIfODUkTTIMDetMode'), ('OPT-IF-MIB', 'optIfODUkTTIMActEnabled'), ('OPT-IF-MIB', 'optIfODUkTDEGThr'), ('OPT-IF-MIB', 'optIfODUkTDEGM'), ('OPT-IF-MIB', 'optIfODUkTCurrentStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_t_sink_group = optIfODUkTSinkGroup.setStatus('current')
opt_if_od_uk_t_sink_group_ctp = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 42)).setObjects(('OPT-IF-MIB', 'optIfODUkTSinkMode'), ('OPT-IF-MIB', 'optIfODUkTSinkLockSignalAdminState'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_t_sink_group_ctp = optIfODUkTSinkGroupCtp.setStatus('current')
opt_if_od_uk_t_nim_group = object_group((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 43)).setObjects(('OPT-IF-MIB', 'optIfODUkTNimDAPIExpected'), ('OPT-IF-MIB', 'optIfODUkTNimSAPIExpected'), ('OPT-IF-MIB', 'optIfODUkTNimTraceIdentifierAccepted'), ('OPT-IF-MIB', 'optIfODUkTNimTIMDetMode'), ('OPT-IF-MIB', 'optIfODUkTNimTIMActEnabled'), ('OPT-IF-MIB', 'optIfODUkTNimDEGThr'), ('OPT-IF-MIB', 'optIfODUkTNimDEGM'), ('OPT-IF-MIB', 'optIfODUkTNimCurrentStatus'), ('OPT-IF-MIB', 'optIfODUkTNimRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_od_uk_t_nim_group = optIfODUkTNimGroup.setStatus('current')
opt_if_otn_config_compl = module_compliance((1, 3, 6, 1, 2, 1, 10, 133, 2, 2, 1)).setObjects(('OPT-IF-MIB', 'optIfOTMnGroup'), ('OPT-IF-MIB', 'optIfOTSnCommonGroup'), ('OPT-IF-MIB', 'optIfOTSnSourceGroupFull'), ('OPT-IF-MIB', 'optIfOTSnAPRStatusGroup'), ('OPT-IF-MIB', 'optIfOTSnAPRControlGroup'), ('OPT-IF-MIB', 'optIfOTSnSinkGroupBasic'), ('OPT-IF-MIB', 'optIfOTSnSinkGroupFull'), ('OPT-IF-MIB', 'optIfOMSnCommonGroup'), ('OPT-IF-MIB', 'optIfOMSnSinkGroupBasic'), ('OPT-IF-MIB', 'optIfOChGroupCommonGroup'), ('OPT-IF-MIB', 'optIfOChCommonGroup'), ('OPT-IF-MIB', 'optIfOChSinkGroupBasic'), ('OPT-IF-MIB', 'optIfOTUkCommonGroup'), ('OPT-IF-MIB', 'optIfOTUkSourceGroup'), ('OPT-IF-MIB', 'optIfOTUkSinkGroup'), ('OPT-IF-MIB', 'optIfGCC0Group'), ('OPT-IF-MIB', 'optIfODUkGroup'), ('OPT-IF-MIB', 'optIfODUkTtpSourceGroup'), ('OPT-IF-MIB', 'optIfODUkTtpSinkGroup'), ('OPT-IF-MIB', 'optIfODUkNimGroup'), ('OPT-IF-MIB', 'optIfGCC12Group'), ('OPT-IF-MIB', 'optIfODUkTCommonGroup'), ('OPT-IF-MIB', 'optIfODUkTSourceGroup'), ('OPT-IF-MIB', 'optIfODUkTSinkGroup'), ('OPT-IF-MIB', 'optIfODUkTSinkGroupCtp'), ('OPT-IF-MIB', 'optIfODUkTNimGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_otn_config_compl = optIfOtnConfigCompl.setStatus('current')
opt_if_pre_otn_pm_compl = module_compliance((1, 3, 6, 1, 2, 1, 10, 133, 2, 2, 2)).setObjects(('OPT-IF-MIB', 'optIfPerfMonGroup'), ('OPT-IF-MIB', 'optIfOTSnSinkPreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOTSnSinkPreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOTSnSourcePreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOTSnSourcePreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOMSnSinkPreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOMSnSinkPreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOMSnSourcePreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOMSnSourcePreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOChGroupSinkPreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOChGroupSinkPreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOChGroupSourcePreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOChGroupSourcePreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOChSinkPreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOChSinkPreOtnPMThresholdGroup'), ('OPT-IF-MIB', 'optIfOChSourcePreOtnPMGroup'), ('OPT-IF-MIB', 'optIfOChSourcePreOtnPMThresholdGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
opt_if_pre_otn_pm_compl = optIfPreOtnPMCompl.setStatus('current')
mibBuilder.exportSymbols('OPT-IF-MIB', optIfOChSinkIntervalHighInputPower=optIfOChSinkIntervalHighInputPower, optIfOChSrcCurrentHighOutputPower=optIfOChSrcCurrentHighOutputPower, optIfOTSnSrcIntervalLowOutputPower=optIfOTSnSrcIntervalLowOutputPower, optIfOTMnInterfaceType=optIfOTMnInterfaceType, optIfOTSnSinkCurrentLowOutputPower=optIfOTSnSinkCurrentLowOutputPower, optIfOMSnSrcCurrentEntry=optIfOMSnSrcCurrentEntry, optIfODUkNimTIMDetMode=optIfODUkNimTIMDetMode, optIfOTSnSinkCurDayEntry=optIfOTSnSinkCurDayEntry, optIfOChSrcCurDayTable=optIfOChSrcCurDayTable, optIfOMSnSinkCurrentHighOutputPower=optIfOMSnSinkCurrentHighOutputPower, optIfOMSnSrcCurDayLowAggregatedInputPower=optIfOMSnSrcCurDayLowAggregatedInputPower, optIfOChSinkCurrentLowInputPower=optIfOChSinkCurrentLowInputPower, optIfOChSinkCurrentLowerInputPowerThreshold=optIfOChSinkCurrentLowerInputPowerThreshold, optIfOTSnSinkIntervalHighInputPower=optIfOTSnSinkIntervalHighInputPower, optIfOTSnSinkPreOtnPMThresholdGroup=optIfOTSnSinkPreOtnPMThresholdGroup, optIfOChSinkCurDayTable=optIfOChSinkCurDayTable, optIfOChGroupSrcPrevDayLastOutputPower=optIfOChGroupSrcPrevDayLastOutputPower, optIfOTSnSinkCurDayHighOutputPower=optIfOTSnSinkCurDayHighOutputPower, optIfOMSnSinkIntervalLastOutputPower=optIfOMSnSinkIntervalLastOutputPower, optIfOChGroupSrcCurrentHighOutputPower=optIfOChGroupSrcCurrentHighOutputPower, optIfOTSnAprStatus=optIfOTSnAprStatus, optIfODUkTTraceIdentifierAccepted=optIfODUkTTraceIdentifierAccepted, optIfOTSnSourceGroupFull=optIfOTSnSourceGroupFull, optIfOChGroupSinkIntervalHighAggregatedInputPower=optIfOChGroupSinkIntervalHighAggregatedInputPower, optIfODUkTSourceLockSignalAdminState=optIfODUkTSourceLockSignalAdminState, optIfOMSnSrcCurrentSuspectedFlag=optIfOMSnSrcCurrentSuspectedFlag, optIfOChGroupSrcIntervalTable=optIfOChGroupSrcIntervalTable, optIfOMSnSinkPrevDayHighOutputPower=optIfOMSnSinkPrevDayHighOutputPower, optIfODUkTCommonGroup=optIfODUkTCommonGroup, optIfOChSinkIntervalEntry=optIfOChSinkIntervalEntry, optIfOTSnSrcPrevDaySuspectedFlag=optIfOTSnSrcPrevDaySuspectedFlag, optIfOMSnSrcCurrentAggregatedInputPower=optIfOMSnSrcCurrentAggregatedInputPower, optIfOTSnSinkCurrentUpperOutputPowerThreshold=optIfOTSnSinkCurrentUpperOutputPowerThreshold, optIfOTSnSinkPrevDaySuspectedFlag=optIfOTSnSinkPrevDaySuspectedFlag, optIfOChGroupSrcCurDayTable=optIfOChGroupSrcCurDayTable, optIfOTSnSinkIntervalSuspectedFlag=optIfOTSnSinkIntervalSuspectedFlag, optIfOChGroupSinkIntervalLastAggregatedInputPower=optIfOChGroupSinkIntervalLastAggregatedInputPower, OptIfTIMDetMode=OptIfTIMDetMode, optIfOChGroupSinkPrevDayTable=optIfOChGroupSinkPrevDayTable, optIfOTUkConfigEntry=optIfOTUkConfigEntry, optIfOTSnSinkCurDayLowOutputPower=optIfOTSnSinkCurDayLowOutputPower, optIfOChGroupSrcCurDaySuspectedFlag=optIfOChGroupSrcCurDaySuspectedFlag, optIfOChSrcPrevDayLowOutputPower=optIfOChSrcPrevDayLowOutputPower, optIfOMSnSinkCurrentHighAggregatedInputPower=optIfOMSnSinkCurrentHighAggregatedInputPower, optIfOtnConfigCompl=optIfOtnConfigCompl, optIfOMSnSrcCurDayHighOutputPower=optIfOMSnSrcCurDayHighOutputPower, optIfOTSnSrcCurrentEntry=optIfOTSnSrcCurrentEntry, optIfOTSnSrcPrevDayLastInputPower=optIfOTSnSrcPrevDayLastInputPower, optIfGCC12ConfigTable=optIfGCC12ConfigTable, optIfOMSnSinkCurrentLowerOutputPowerThreshold=optIfOMSnSinkCurrentLowerOutputPowerThreshold, optIfGCC12GCCAccess=optIfGCC12GCCAccess, optIfGCC0Application=optIfGCC0Application, optIfOMSnSrcCurrentLowAggregatedInputPower=optIfOMSnSrcCurrentLowAggregatedInputPower, optIfOTSnSrcCurDayHighInputPower=optIfOTSnSrcCurDayHighInputPower, optIfODUkTTraceIdentifierTransmitted=optIfODUkTTraceIdentifierTransmitted, optIfPerfMonGroup=optIfPerfMonGroup, optIfOChGroupSinkPrevDayHighAggregatedInputPower=optIfOChGroupSinkPrevDayHighAggregatedInputPower, optIfOTSnSrcPrevDayLastOutputPower=optIfOTSnSrcPrevDayLastOutputPower, optIfOTSnSinkCurrentLowerOutputPowerThreshold=optIfOTSnSinkCurrentLowerOutputPowerThreshold, optIfOMSnSrcCurrentLowerInputPowerThreshold=optIfOMSnSrcCurrentLowerInputPowerThreshold, optIfGroups=optIfGroups, optIfOMSnSrcIntervalHighOutputPower=optIfOMSnSrcIntervalHighOutputPower, optIfOChGroupSinkCurDayLowAggregatedInputPower=optIfOChGroupSinkCurDayLowAggregatedInputPower, optIfODUkPositionSeqPosition=optIfODUkPositionSeqPosition, optIfOMSnSrcCurDayTable=optIfOMSnSrcCurDayTable, OptIfExDAPI=OptIfExDAPI, optIfOTSnSrcPrevDayLowOutputPower=optIfOTSnSrcPrevDayLowOutputPower, optIfGCC12Codirectional=optIfGCC12Codirectional, optIfOChSourcePreOtnPMThresholdGroup=optIfOChSourcePreOtnPMThresholdGroup, optIfGCC12ConfigEntry=optIfGCC12ConfigEntry, optIfODUkTCurrentStatus=optIfODUkTCurrentStatus, optIfOChSrcPrevDayEntry=optIfOChSrcPrevDayEntry, optIfOMSnSrcIntervalLowAggregatedInputPower=optIfOMSnSrcIntervalLowAggregatedInputPower, optIfConfs=optIfConfs, optIfODUkTtpSinkGroup=optIfODUkTtpSinkGroup, optIfGCC0ConfigTable=optIfGCC0ConfigTable, optIfOTUkDEGM=optIfOTUkDEGM, optIfODUkTNimSAPIExpected=optIfODUkTNimSAPIExpected, optIfOMSnSrcPrevDayTable=optIfOMSnSrcPrevDayTable, optIfOChGroupSrcPrevDayHighAggregatedInputPower=optIfOChGroupSrcPrevDayHighAggregatedInputPower, optIfOChGroupCommonGroup=optIfOChGroupCommonGroup, optIfOChGroupSinkIntervalHighOutputPower=optIfOChGroupSinkIntervalHighOutputPower, optIfOTSnSinkPrevDayLastInputPower=optIfOTSnSinkPrevDayLastInputPower, optIfOChGroupSrcCurrentLowerInputPowerThreshold=optIfOChGroupSrcCurrentLowerInputPowerThreshold, optIfOMSnSinkIntervalSuspectedFlag=optIfOMSnSinkIntervalSuspectedFlag, optIfOMSnSrcCurrentTable=optIfOMSnSrcCurrentTable, optIfOTSnSinkPrevDayTable=optIfOTSnSinkPrevDayTable, OptIfSinkOrSource=OptIfSinkOrSource, optIfOChGroupSrcIntervalLastOutputPower=optIfOChGroupSrcIntervalLastOutputPower, optIfODUkTcmFieldsInUse=optIfODUkTcmFieldsInUse, optIfOTSnSrcCurDayTable=optIfOTSnSrcCurDayTable, optIfODUkTNimConfigEntry=optIfODUkTNimConfigEntry, optIfOChSinkCurDayHighInputPower=optIfOChSinkCurDayHighInputPower, optIfOMSnSinkIntervalEntry=optIfOMSnSinkIntervalEntry, optIfODUkTNimDEGThr=optIfODUkTNimDEGThr, optIfOMSnSinkPrevDayLowOutputPower=optIfOMSnSinkPrevDayLowOutputPower, optIfOTSnSinkCurrentOutputPower=optIfOTSnSinkCurrentOutputPower, optIfPerfMonIntervalTable=optIfPerfMonIntervalTable, optIfOMSnSinkIntervalHighOutputPower=optIfOMSnSinkIntervalHighOutputPower, optIfOMSnCurrentStatus=optIfOMSnCurrentStatus, optIfMibModule=optIfMibModule, optIfOChGroupDirectionality=optIfOChGroupDirectionality, optIfODUkTtpConfigEntry=optIfODUkTtpConfigEntry, optIfODUkTtpPresent=optIfODUkTtpPresent, optIfODUkTNimTcmField=optIfODUkTNimTcmField, optIfOChSrcCurDayHighOutputPower=optIfOChSrcCurDayHighOutputPower, optIfOTUkTIMActEnabled=optIfOTUkTIMActEnabled, optIfOChSrcCurrentEntry=optIfOChSrcCurrentEntry, optIfODUkTSourceGroup=optIfODUkTSourceGroup, optIfOMSnSrcCurrentLowOutputPower=optIfOMSnSrcCurrentLowOutputPower, optIfOChSrcCurrentOutputPower=optIfOChSrcCurrentOutputPower, optIfOChGroupSourcePreOtnPMThresholdGroup=optIfOChGroupSourcePreOtnPMThresholdGroup, optIfOMSnSinkPrevDayLowAggregatedInputPower=optIfOMSnSinkPrevDayLowAggregatedInputPower, optIfOMSnSinkCurrentOutputPower=optIfOMSnSinkCurrentOutputPower, optIfOChGroupSrcCurDayLowOutputPower=optIfOChGroupSrcCurDayLowOutputPower, optIfOMSnSrcCurrentHighAggregatedInputPower=optIfOMSnSrcCurrentHighAggregatedInputPower, optIfOTSnAPRControlGroup=optIfOTSnAPRControlGroup, optIfODUkNimDEGM=optIfODUkNimDEGM, optIfOMSnSrcIntervalHighAggregatedInputPower=optIfOMSnSrcIntervalHighAggregatedInputPower, optIfODUkPositionSeqEntry=optIfODUkPositionSeqEntry, optIfODUk=optIfODUk, optIfOChGroupSinkCurrentUpperInputPowerThreshold=optIfOChGroupSinkCurrentUpperInputPowerThreshold, optIfOChGroupSinkCurDayHighOutputPower=optIfOChGroupSinkCurDayHighOutputPower, optIfOChGroupSinkCurrentLowerOutputPowerThreshold=optIfOChGroupSinkCurrentLowerOutputPowerThreshold, optIfOTMnReduced=optIfOTMnReduced, optIfOMSnSinkCurDayHighOutputPower=optIfOMSnSinkCurDayHighOutputPower, optIfOTSnSinkIntervalNumber=optIfOTSnSinkIntervalNumber, optIfOChGroupSourcePreOtnPMGroup=optIfOChGroupSourcePreOtnPMGroup, optIfOTSnAprControl=optIfOTSnAprControl, optIfOChSinkIntervalNumber=optIfOChSinkIntervalNumber, optIfOMSnSinkPrevDayLastAggregatedInputPower=optIfOMSnSinkPrevDayLastAggregatedInputPower, optIfODUkTTIMDetMode=optIfODUkTTIMDetMode, optIfODUkTNimRowStatus=optIfODUkTNimRowStatus, optIfOChSrcIntervalHighOutputPower=optIfOChSrcIntervalHighOutputPower, optIfODUkTNimCurrentStatus=optIfODUkTNimCurrentStatus, optIfODUkTtpSourceGroup=optIfODUkTtpSourceGroup, optIfOTSnSrcIntervalEntry=optIfOTSnSrcIntervalEntry, optIfPerfMonIntervalNumIntervals=optIfPerfMonIntervalNumIntervals, optIfOChSrcCurDaySuspectedFlag=optIfOChSrcCurDaySuspectedFlag, optIfOTUkSinkFECEnabled=optIfOTUkSinkFECEnabled, optIfOTSnSinkCurrentLowerInputPowerThreshold=optIfOTSnSinkCurrentLowerInputPowerThreshold, optIfOChSrcCurrentLowOutputPower=optIfOChSrcCurrentLowOutputPower, optIfOChGroupSrcPrevDayHighOutputPower=optIfOChGroupSrcPrevDayHighOutputPower, OptIfDirectionality=OptIfDirectionality, optIfOMSnSrcCurrentHighOutputPower=optIfOMSnSrcCurrentHighOutputPower, optIfOTSnSourcePreOtnPMGroup=optIfOTSnSourcePreOtnPMGroup, optIfOMSnSinkGroupBasic=optIfOMSnSinkGroupBasic, optIfODUkGroup=optIfODUkGroup, optIfOTSnSrcCurrentUpperOutputPowerThreshold=optIfOTSnSrcCurrentUpperOutputPowerThreshold, optIfOChGroupSinkCurrentUpperOutputPowerThreshold=optIfOChGroupSinkCurrentUpperOutputPowerThreshold, optIfOChGroupSrcCurrentAggregatedInputPower=optIfOChGroupSrcCurrentAggregatedInputPower, optIfOMSnConfigEntry=optIfOMSnConfigEntry, optIfOChSinkIntervalLastInputPower=optIfOChSinkIntervalLastInputPower, optIfOMSnSinkCurrentUpperOutputPowerThreshold=optIfOMSnSinkCurrentUpperOutputPowerThreshold, optIfOTUkBitRateK=optIfOTUkBitRateK, optIfOChGroupSrcIntervalLowOutputPower=optIfOChGroupSrcIntervalLowOutputPower, OptIfIntervalNumber=OptIfIntervalNumber, optIfOChSinkCurrentSuspectedFlag=optIfOChSinkCurrentSuspectedFlag, optIfOChGroupSrcIntervalHighOutputPower=optIfOChGroupSrcIntervalHighOutputPower, optIfODUkPositionSeqPointer=optIfODUkPositionSeqPointer, optIfODUkTNimTIMDetMode=optIfODUkTNimTIMDetMode, optIfOChGroupSinkPrevDayLowAggregatedInputPower=optIfOChGroupSinkPrevDayLowAggregatedInputPower, optIfOTUkDEGThr=optIfOTUkDEGThr, optIfObjects=optIfObjects, optIfOTSnCurrentStatus=optIfOTSnCurrentStatus, optIfOChSrcIntervalTable=optIfOChSrcIntervalTable, optIfOChCurrentStatus=optIfOChCurrentStatus, optIfOChSinkCurDayEntry=optIfOChSinkCurDayEntry, optIfOChSinkPreOtnPMThresholdGroup=optIfOChSinkPreOtnPMThresholdGroup, optIfOTSnSrcCurDaySuspectedFlag=optIfOTSnSrcCurDaySuspectedFlag, optIfOMSnSinkCurrentEntry=optIfOMSnSinkCurrentEntry, optIfOChDirectionality=optIfOChDirectionality, optIfODUkTtpTIMActEnabled=optIfODUkTtpTIMActEnabled, optIfOChSrcCurDayLowOutputPower=optIfOChSrcCurDayLowOutputPower, optIfOChGroupSinkIntervalLastOutputPower=optIfOChGroupSinkIntervalLastOutputPower, optIfOChGroupSinkIntervalLowOutputPower=optIfOChGroupSinkIntervalLowOutputPower, optIfOTSnSinkGroupFull=optIfOTSnSinkGroupFull, optIfOTSnSrcCurrentHighInputPower=optIfOTSnSrcCurrentHighInputPower, optIfOChGroupSrcIntervalLastAggregatedInputPower=optIfOChGroupSrcIntervalLastAggregatedInputPower, optIfOMSnCommonGroup=optIfOMSnCommonGroup, optIfOMSnSinkPrevDayTable=optIfOMSnSinkPrevDayTable, optIfOChGroupSinkPrevDayLastOutputPower=optIfOChGroupSinkPrevDayLastOutputPower, optIfOChSinkPrevDaySuspectedFlag=optIfOChSinkPrevDaySuspectedFlag, optIfGCC0ConfigEntry=optIfGCC0ConfigEntry, optIfODUkTtpDEGThr=optIfODUkTtpDEGThr, optIfODUkTCodirectional=optIfODUkTCodirectional, optIfOChSinkIntervalTable=optIfOChSinkIntervalTable, optIfPreOtnPMCompl=optIfPreOtnPMCompl, optIfOTUkTIMDetMode=optIfOTUkTIMDetMode, optIfOTUkSourceGroup=optIfOTUkSourceGroup, optIfOChGroupSinkCurrentTable=optIfOChGroupSinkCurrentTable, optIfOChGroupSinkIntervalEntry=optIfOChGroupSinkIntervalEntry, optIfOChSinkCurrentEntry=optIfOChSinkCurrentEntry, optIfOTSnSrcIntervalNumber=optIfOTSnSrcIntervalNumber, optIfOTSnSrcCurDayLowInputPower=optIfOTSnSrcCurDayLowInputPower, optIfOMSnSinkCurDaySuspectedFlag=optIfOMSnSinkCurDaySuspectedFlag, optIfOTSnSrcPrevDayTable=optIfOTSnSrcPrevDayTable, optIfOMSn=optIfOMSn, optIfOTUk=optIfOTUk, optIfOChGroupSrcCurDayEntry=optIfOChGroupSrcCurDayEntry, optIfOTSnDirectionality=optIfOTSnDirectionality, optIfOTSnDAPIExpected=optIfOTSnDAPIExpected, optIfOMSnSrcCurDaySuspectedFlag=optIfOMSnSrcCurDaySuspectedFlag, optIfOTUkConfigTable=optIfOTUkConfigTable, optIfOChGroupSrcIntervalNumber=optIfOChGroupSrcIntervalNumber, optIfOTSnSrcCurrentInputPower=optIfOTSnSrcCurrentInputPower, optIfOMSnDirectionality=optIfOMSnDirectionality, optIfOChGroupSinkIntervalNumber=optIfOChGroupSinkIntervalNumber, optIfOChGroupSinkCurDaySuspectedFlag=optIfOChGroupSinkCurDaySuspectedFlag, optIfOChGroup=optIfOChGroup, optIfOTSnSinkCurrentHighOutputPower=optIfOTSnSinkCurrentHighOutputPower, optIfODUkPositionSeqTable=optIfODUkPositionSeqTable, optIfOMSnSinkIntervalTable=optIfOMSnSinkIntervalTable, optIfOChGroupSrcPrevDayLastAggregatedInputPower=optIfOChGroupSrcPrevDayLastAggregatedInputPower, optIfOChSrcIntervalLastOutputPower=optIfOChSrcIntervalLastOutputPower, optIfCompl=optIfCompl, optIfOMSnSrcPrevDayLastAggregatedInputPower=optIfOMSnSrcPrevDayLastAggregatedInputPower, optIfOChGroupSinkCurrentOutputPower=optIfOChGroupSinkCurrentOutputPower, optIfOMSnSinkIntervalLowOutputPower=optIfOMSnSinkIntervalLowOutputPower, optIfOMSnSinkCurrentUpperInputPowerThreshold=optIfOMSnSinkCurrentUpperInputPowerThreshold, optIfPerfMonIntervalNumInvalidIntervals=optIfPerfMonIntervalNumInvalidIntervals, optIfOChSrcCurrentSuspectedFlag=optIfOChSrcCurrentSuspectedFlag, optIfOMSnSinkPrevDayLastOutputPower=optIfOMSnSinkPrevDayLastOutputPower, optIfOChSinkPrevDayLastInputPower=optIfOChSinkPrevDayLastInputPower, optIfODUkNimCurrentStatus=optIfODUkNimCurrentStatus, optIfOTSnSrcIntervalTable=optIfOTSnSrcIntervalTable, optIfOMSnSinkCurrentSuspectedFlag=optIfOMSnSinkCurrentSuspectedFlag, optIfOChGroupSrcCurrentLowerOutputPowerThreshold=optIfOChGroupSrcCurrentLowerOutputPowerThreshold, optIfODUkNimRowStatus=optIfODUkNimRowStatus, optIfOChSrcPrevDayLastOutputPower=optIfOChSrcPrevDayLastOutputPower, optIfOChGroupSrcCurrentHighAggregatedInputPower=optIfOChGroupSrcCurrentHighAggregatedInputPower, optIfODUkTNimDirectionality=optIfODUkTNimDirectionality, optIfOTSnSinkCurrentInputPower=optIfOTSnSinkCurrentInputPower, optIfOTUkCommonGroup=optIfOTUkCommonGroup, optIfOTSnSrcIntervalLastInputPower=optIfOTSnSrcIntervalLastInputPower, optIfOChSrcCurrentLowerOutputPowerThreshold=optIfOChSrcCurrentLowerOutputPowerThreshold, optIfOChSinkIntervalSuspectedFlag=optIfOChSinkIntervalSuspectedFlag, optIfODUkTtpDAPIExpected=optIfODUkTtpDAPIExpected, optIfOTMnTcmMax=optIfOTMnTcmMax, optIfOChGroupSrcIntervalLowAggregatedInputPower=optIfOChGroupSrcIntervalLowAggregatedInputPower, optIfODUkNimConfigTable=optIfODUkNimConfigTable, optIfOTUkSinkGroup=optIfOTUkSinkGroup, optIfODUkTDEGThr=optIfODUkTDEGThr, optIfOTUkSourceAdaptActive=optIfOTUkSourceAdaptActive, optIfOTSnConfigEntry=optIfOTSnConfigEntry, optIfODUkNimSAPIExpected=optIfODUkNimSAPIExpected, optIfODUkTNimDEGM=optIfODUkTNimDEGM, optIfOTSnSourcePreOtnPMThresholdGroup=optIfOTSnSourcePreOtnPMThresholdGroup, optIfOChSrcPrevDayHighOutputPower=optIfOChSrcPrevDayHighOutputPower, optIfOTUkTraceIdentifierAccepted=optIfOTUkTraceIdentifierAccepted, optIfOMSnSrcPrevDayLowOutputPower=optIfOMSnSrcPrevDayLowOutputPower, optIfODUkTNimTraceIdentifierAccepted=optIfODUkTNimTraceIdentifierAccepted, optIfODUkTtpConfigTable=optIfODUkTtpConfigTable, optIfOChGroupSrcCurrentSuspectedFlag=optIfOChGroupSrcCurrentSuspectedFlag)
mibBuilder.exportSymbols('OPT-IF-MIB', optIfOTSnSinkCurrentLowInputPower=optIfOTSnSinkCurrentLowInputPower, optIfOTUkTraceIdentifierTransmitted=optIfOTUkTraceIdentifierTransmitted, optIfOChGroupSinkCurrentLowAggregatedInputPower=optIfOChGroupSinkCurrentLowAggregatedInputPower, optIfOChSrcPrevDayTable=optIfOChSrcPrevDayTable, optIfOTSnTraceIdentifierTransmitted=optIfOTSnTraceIdentifierTransmitted, optIfGCC0Group=optIfGCC0Group, OptIfTxTI=OptIfTxTI, optIfOChGroupSrcIntervalEntry=optIfOChGroupSrcIntervalEntry, optIfOTSnSinkPrevDayLowInputPower=optIfOTSnSinkPrevDayLowInputPower, optIfODUkBitRateK=optIfODUkBitRateK, optIfOChSinkIntervalLowInputPower=optIfOChSinkIntervalLowInputPower, optIfODUkTSinkGroup=optIfODUkTSinkGroup, optIfOTMnBitRates=optIfOTMnBitRates, optIfODUkNimDAPIExpected=optIfODUkNimDAPIExpected, optIfOChSourcePreOtnPMGroup=optIfOChSourcePreOtnPMGroup, optIfOTSnSrcPrevDayHighInputPower=optIfOTSnSrcPrevDayHighInputPower, optIfOMSnSinkIntervalNumber=optIfOMSnSinkIntervalNumber, optIfOChGroupSrcPrevDayTable=optIfOChGroupSrcPrevDayTable, optIfOChSinkPreOtnPMGroup=optIfOChSinkPreOtnPMGroup, optIfOMSnSinkIntervalHighAggregatedInputPower=optIfOMSnSinkIntervalHighAggregatedInputPower, optIfPerfMonCurDayTimeElapsed=optIfPerfMonCurDayTimeElapsed, optIfOTSnSinkCurDaySuspectedFlag=optIfOTSnSinkCurDaySuspectedFlag, optIfODUkTSinkLockSignalAdminState=optIfODUkTSinkLockSignalAdminState, optIfOChSrcCurrentTable=optIfOChSrcCurrentTable, optIfOChSrcIntervalSuspectedFlag=optIfOChSrcIntervalSuspectedFlag, optIfOTSnSinkIntervalLowOutputPower=optIfOTSnSinkIntervalLowOutputPower, optIfODUkTSinkGroupCtp=optIfODUkTSinkGroupCtp, optIfOTSn=optIfOTSn, optIfOMSnSrcCurDayHighAggregatedInputPower=optIfOMSnSrcCurDayHighAggregatedInputPower, optIfOChSinkGroupBasic=optIfOChSinkGroupBasic, optIfOTSnSinkCurrentUpperInputPowerThreshold=optIfOTSnSinkCurrentUpperInputPowerThreshold, optIfOMSnSrcPrevDayEntry=optIfOMSnSrcPrevDayEntry, optIfOChGroupSinkPrevDayEntry=optIfOChGroupSinkPrevDayEntry, optIfODUkTSAPIExpected=optIfODUkTSAPIExpected, optIfOChGroupSinkCurrentLowerInputPowerThreshold=optIfOChGroupSinkCurrentLowerInputPowerThreshold, optIfOChGroupSinkIntervalTable=optIfOChGroupSinkIntervalTable, optIfOMSnSrcIntervalLowOutputPower=optIfOMSnSrcIntervalLowOutputPower, optIfOTSnConfigTable=optIfOTSnConfigTable, optIfOChGroupSrcCurrentOutputPower=optIfOChGroupSrcCurrentOutputPower, optIfOTSnSrcIntervalLastOutputPower=optIfOTSnSrcIntervalLastOutputPower, optIfOTSnSinkCurrentTable=optIfOTSnSinkCurrentTable, optIfOMSnSinkCurDayTable=optIfOMSnSinkCurDayTable, optIfOChGroupSinkPreOtnPMThresholdGroup=optIfOChGroupSinkPreOtnPMThresholdGroup, optIfOTMnOrder=optIfOTMnOrder, optIfOChSrcCurDayEntry=optIfOChSrcCurDayEntry, optIfOChGroupSinkCurDayEntry=optIfOChGroupSinkCurDayEntry, optIfOChGroupSrcCurrentUpperInputPowerThreshold=optIfOChGroupSrcCurrentUpperInputPowerThreshold, optIfPerfMonCurrentTimeElapsed=optIfPerfMonCurrentTimeElapsed, optIfOTSnSrcCurDayHighOutputPower=optIfOTSnSrcCurDayHighOutputPower, optIfOChSrcIntervalNumber=optIfOChSrcIntervalNumber, optIfGCC12Application=optIfGCC12Application, optIfOTSnSinkCurrentSuspectedFlag=optIfOTSnSinkCurrentSuspectedFlag, optIfOTUkCurrentStatus=optIfOTUkCurrentStatus, optIfOTSnSinkIntervalEntry=optIfOTSnSinkIntervalEntry, optIfOChGroupSrcCurDayHighAggregatedInputPower=optIfOChGroupSrcCurDayHighAggregatedInputPower, optIfOTSnSrcCurDayEntry=optIfOTSnSrcCurDayEntry, optIfOMSnSrcIntervalEntry=optIfOMSnSrcIntervalEntry, optIfOMSnConfigTable=optIfOMSnConfigTable, optIfOTSnSrcPrevDayEntry=optIfOTSnSrcPrevDayEntry, optIfOTSnSinkPrevDayLowOutputPower=optIfOTSnSinkPrevDayLowOutputPower, optIfODUkTtpTIMDetMode=optIfODUkTtpTIMDetMode, optIfOTSnSinkPrevDayHighOutputPower=optIfOTSnSinkPrevDayHighOutputPower, optIfOTSnSinkCurrentHighInputPower=optIfOTSnSinkCurrentHighInputPower, optIfODUkTDEGM=optIfODUkTDEGM, optIfOTSnSinkPreOtnPMGroup=optIfOTSnSinkPreOtnPMGroup, optIfOChGroupSinkPrevDayHighOutputPower=optIfOChGroupSinkPrevDayHighOutputPower, optIfGCC12RowStatus=optIfGCC12RowStatus, optIfODUkT=optIfODUkT, optIfOTSnSAPIExpected=optIfOTSnSAPIExpected, optIfOChSrcPrevDaySuspectedFlag=optIfOChSrcPrevDaySuspectedFlag, optIfOChSinkPrevDayHighInputPower=optIfOChSinkPrevDayHighInputPower, optIfOTSnSrcIntervalHighOutputPower=optIfOTSnSrcIntervalHighOutputPower, optIfOMSnSinkCurDayHighAggregatedInputPower=optIfOMSnSinkCurDayHighAggregatedInputPower, optIfOChGroupSrcCurrentUpperOutputPowerThreshold=optIfOChGroupSrcCurrentUpperOutputPowerThreshold, optIfOMSnSrcCurDayEntry=optIfOMSnSrcCurDayEntry, optIfOChGroupSinkIntervalSuspectedFlag=optIfOChGroupSinkIntervalSuspectedFlag, optIfOTUkDirectionality=optIfOTUkDirectionality, optIfOTSnSrcPrevDayLowInputPower=optIfOTSnSrcPrevDayLowInputPower, optIfOChGroupSrcCurrentTable=optIfOChGroupSrcCurrentTable, optIfODUkNimConfigEntry=optIfODUkNimConfigEntry, optIfOChGroupSinkCurrentAggregatedInputPower=optIfOChGroupSinkCurrentAggregatedInputPower, optIfODUkTtpTraceIdentifierTransmitted=optIfODUkTtpTraceIdentifierTransmitted, optIfOTMnEntry=optIfOTMnEntry, optIfODUkPositionSeqIndex=optIfODUkPositionSeqIndex, optIfOChGroupSrcPrevDaySuspectedFlag=optIfOChGroupSrcPrevDaySuspectedFlag, optIfOChGroupSrcPrevDayLowAggregatedInputPower=optIfOChGroupSrcPrevDayLowAggregatedInputPower, optIfODUkNimTIMActEnabled=optIfODUkNimTIMActEnabled, optIfOChSrcIntervalEntry=optIfOChSrcIntervalEntry, optIfOMSnSourcePreOtnPMThresholdGroup=optIfOMSnSourcePreOtnPMThresholdGroup, optIfOTSnSrcCurrentLowInputPower=optIfOTSnSrcCurrentLowInputPower, optIfOTSnSinkCurDayTable=optIfOTSnSinkCurDayTable, optIfODUkNimDEGThr=optIfODUkNimDEGThr, optIfODUkTTIMActEnabled=optIfODUkTTIMActEnabled, optIfODUkTRowStatus=optIfODUkTRowStatus, optIfOTSnTraceIdentifierAccepted=optIfOTSnTraceIdentifierAccepted, optIfODUkTSinkMode=optIfODUkTSinkMode, optIfOChGroupSrcCurrentEntry=optIfOChGroupSrcCurrentEntry, optIfOTSnTIMDetMode=optIfOTSnTIMDetMode, optIfOMSnSrcCurDayLowOutputPower=optIfOMSnSrcCurDayLowOutputPower, optIfOMSnSrcPrevDayHighOutputPower=optIfOMSnSrcPrevDayHighOutputPower, optIfOTMnGroup=optIfOTMnGroup, optIfODUkTConfigTable=optIfODUkTConfigTable, optIfOTSnSinkIntervalLastOutputPower=optIfOTSnSinkIntervalLastOutputPower, optIfOChGroupSinkPreOtnPMGroup=optIfOChGroupSinkPreOtnPMGroup, optIfGCC0RowStatus=optIfGCC0RowStatus, OptIfExSAPI=OptIfExSAPI, optIfOTSnSinkCurDayHighInputPower=optIfOTSnSinkCurDayHighInputPower, optIfOTSnSrcCurrentLowerOutputPowerThreshold=optIfOTSnSrcCurrentLowerOutputPowerThreshold, optIfOChConfigEntry=optIfOChConfigEntry, optIfOMSnSrcCurrentLowerOutputPowerThreshold=optIfOMSnSrcCurrentLowerOutputPowerThreshold, optIfOTSnSinkCurrentEntry=optIfOTSnSinkCurrentEntry, optIfOTSnSrcCurrentHighOutputPower=optIfOTSnSrcCurrentHighOutputPower, optIfODUkTtpSAPIExpected=optIfODUkTtpSAPIExpected, optIfOTSnSinkIntervalHighOutputPower=optIfOTSnSinkIntervalHighOutputPower, optIfOTSnSrcCurrentLowOutputPower=optIfOTSnSrcCurrentLowOutputPower, optIfODUkTNimConfigTable=optIfODUkTNimConfigTable, optIfOMSnSinkCurrentTable=optIfOMSnSinkCurrentTable, optIfOChGroupSinkCurDayHighAggregatedInputPower=optIfOChGroupSinkCurDayHighAggregatedInputPower, optIfOTMnOpticalReach=optIfOTMnOpticalReach, optIfOChGroupSinkCurrentEntry=optIfOChGroupSinkCurrentEntry, optIfOMSnSinkPrevDaySuspectedFlag=optIfOMSnSinkPrevDaySuspectedFlag, optIfOMSnSinkPreOtnPMGroup=optIfOMSnSinkPreOtnPMGroup, optIfOChGroupSrcCurrentLowAggregatedInputPower=optIfOChGroupSrcCurrentLowAggregatedInputPower, optIfOTSnSinkPrevDayLastOutputPower=optIfOTSnSinkPrevDayLastOutputPower, optIfOChSinkPrevDayLowInputPower=optIfOChSinkPrevDayLowInputPower, optIfOMSnSinkIntervalLastAggregatedInputPower=optIfOMSnSinkIntervalLastAggregatedInputPower, OptIfDEGM=OptIfDEGM, optIfOMSnSinkCurDayLowAggregatedInputPower=optIfOMSnSinkCurDayLowAggregatedInputPower, optIfOMSnSrcPrevDayLowAggregatedInputPower=optIfOMSnSrcPrevDayLowAggregatedInputPower, optIfOTUkSinkAdaptActive=optIfOTUkSinkAdaptActive, optIfOTSnSinkGroupBasic=optIfOTSnSinkGroupBasic, optIfOChSinkCurrentInputPower=optIfOChSinkCurrentInputPower, optIfOChConfigTable=optIfOChConfigTable, optIfOTSnSrcCurrentSuspectedFlag=optIfOTSnSrcCurrentSuspectedFlag, optIfOTSnSinkIntervalLowInputPower=optIfOTSnSinkIntervalLowInputPower, optIfOMSnSrcCurrentUpperInputPowerThreshold=optIfOMSnSrcCurrentUpperInputPowerThreshold, optIfOChGroupConfigTable=optIfOChGroupConfigTable, optIfOChSinkPrevDayEntry=optIfOChSinkPrevDayEntry, optIfOChGroupSinkPrevDaySuspectedFlag=optIfOChGroupSinkPrevDaySuspectedFlag, optIfOChSinkPrevDayTable=optIfOChSinkPrevDayTable, optIfOMSnSinkPrevDayHighAggregatedInputPower=optIfOMSnSinkPrevDayHighAggregatedInputPower, optIfGCC12GCCPassThrough=optIfGCC12GCCPassThrough, optIfOChGroupSrcCurDayLowAggregatedInputPower=optIfOChGroupSrcCurDayLowAggregatedInputPower, optIfOTSnSrcPrevDayHighOutputPower=optIfOTSnSrcPrevDayHighOutputPower, optIfOMSnSrcIntervalTable=optIfOMSnSrcIntervalTable, optIfOTSnSinkPrevDayEntry=optIfOTSnSinkPrevDayEntry, optIfOChGroupConfigEntry=optIfOChGroupConfigEntry, optIfPerfMon=optIfPerfMon, optIfODUkConfigTable=optIfODUkConfigTable, optIfODUkTtpDEGM=optIfODUkTtpDEGM, optIfOTSnSrcCurrentLowerInputPowerThreshold=optIfOTSnSrcCurrentLowerInputPowerThreshold, optIfOTSnSinkPrevDayHighInputPower=optIfOTSnSinkPrevDayHighInputPower, optIfOMSnSinkCurDayLowOutputPower=optIfOMSnSinkCurDayLowOutputPower, OptIfAcTI=OptIfAcTI, optIfOChGroupSinkPrevDayLastAggregatedInputPower=optIfOChGroupSinkPrevDayLastAggregatedInputPower, optIfOTSnSinkIntervalLastInputPower=optIfOTSnSinkIntervalLastInputPower, optIfODUkTtpCurrentStatus=optIfODUkTtpCurrentStatus, optIfOTMn=optIfOTMn, optIfOTSnSrcIntervalHighInputPower=optIfOTSnSrcIntervalHighInputPower, optIfOChGroupSrcPrevDayEntry=optIfOChGroupSrcPrevDayEntry, optIfOTSnSrcCurrentTable=optIfOTSnSrcCurrentTable, optIfPerfMonIntervalEntry=optIfPerfMonIntervalEntry, optIfOChGroupSinkCurrentLowOutputPower=optIfOChGroupSinkCurrentLowOutputPower, optIfOChGroupSinkPrevDayLowOutputPower=optIfOChGroupSinkPrevDayLowOutputPower, optIfOMSnSinkIntervalLowAggregatedInputPower=optIfOMSnSinkIntervalLowAggregatedInputPower, optIfODUkConfigEntry=optIfODUkConfigEntry, optIfOMSnSinkPreOtnPMThresholdGroup=optIfOMSnSinkPreOtnPMThresholdGroup, PYSNMP_MODULE_ID=optIfMibModule, optIfOChGroupSrcCurrentLowOutputPower=optIfOChGroupSrcCurrentLowOutputPower, optIfOMSnSinkCurrentLowerInputPowerThreshold=optIfOMSnSinkCurrentLowerInputPowerThreshold, optIfOMSnSrcIntervalNumber=optIfOMSnSrcIntervalNumber, optIfOChGroupSinkCurrentSuspectedFlag=optIfOChGroupSinkCurrentSuspectedFlag, optIfOChSinkCurDayLowInputPower=optIfOChSinkCurDayLowInputPower, optIfODUkNimTraceIdentifierAccepted=optIfODUkNimTraceIdentifierAccepted, optIfOChGroupSinkCurDayTable=optIfOChGroupSinkCurDayTable, optIfODUkNimGroup=optIfODUkNimGroup, optIfOMSnSrcPrevDayLastOutputPower=optIfOMSnSrcPrevDayLastOutputPower, optIfOChGroupSrcIntervalHighAggregatedInputPower=optIfOChGroupSrcIntervalHighAggregatedInputPower, optIfOChGroupSinkCurrentHighAggregatedInputPower=optIfOChGroupSinkCurrentHighAggregatedInputPower, optIfOTSnSrcCurrentUpperInputPowerThreshold=optIfOTSnSrcCurrentUpperInputPowerThreshold, optIfOMSnSinkCurDayEntry=optIfOMSnSinkCurDayEntry, optIfOChSrcIntervalLowOutputPower=optIfOChSrcIntervalLowOutputPower, OptIfBitRateK=OptIfBitRateK, optIfOChGroupSrcIntervalSuspectedFlag=optIfOChGroupSrcIntervalSuspectedFlag, optIfODUkDirectionality=optIfODUkDirectionality, optIfOTSnSrcCurDayLowOutputPower=optIfOTSnSrcCurDayLowOutputPower, optIfODUkTNimGroup=optIfODUkTNimGroup, optIfOMSnSrcCurrentOutputPower=optIfOMSnSrcCurrentOutputPower, optIfOTSnTIMActEnabled=optIfOTSnTIMActEnabled, optIfOTSnSinkIntervalTable=optIfOTSnSinkIntervalTable, optIfOTSnCommonGroup=optIfOTSnCommonGroup, optIfOTSnSrcIntervalSuspectedFlag=optIfOTSnSrcIntervalSuspectedFlag, optIfOTSnSrcIntervalLowInputPower=optIfOTSnSrcIntervalLowInputPower, optIfOMSnSrcIntervalLastOutputPower=optIfOMSnSrcIntervalLastOutputPower, optIfOChSrcCurrentUpperOutputPowerThreshold=optIfOChSrcCurrentUpperOutputPowerThreshold, optIfOMSnSrcPrevDaySuspectedFlag=optIfOMSnSrcPrevDaySuspectedFlag, optIfOMSnSinkCurrentLowAggregatedInputPower=optIfOMSnSinkCurrentLowAggregatedInputPower, optIfOTUkDAPIExpected=optIfOTUkDAPIExpected, optIfODUkTConfigEntry=optIfODUkTConfigEntry, optIfOChCommonGroup=optIfOChCommonGroup, optIfOTUkSAPIExpected=optIfOTUkSAPIExpected, optIfODUkTDAPIExpected=optIfODUkTDAPIExpected, optIfOTSnSrcCurrentOutputPower=optIfOTSnSrcCurrentOutputPower, optIfOChSinkCurrentHighInputPower=optIfOChSinkCurrentHighInputPower, optIfOMSnSinkPrevDayEntry=optIfOMSnSinkPrevDayEntry, optIfOCh=optIfOCh, optIfOTMnTable=optIfOTMnTable, optIfOTSnSinkCurDayLowInputPower=optIfOTSnSinkCurDayLowInputPower, optIfOMSnSinkCurrentLowOutputPower=optIfOMSnSinkCurrentLowOutputPower, optIfOChSinkCurDaySuspectedFlag=optIfOChSinkCurDaySuspectedFlag, optIfODUkTNimDAPIExpected=optIfODUkTNimDAPIExpected, optIfOTSnAPRStatusGroup=optIfOTSnAPRStatusGroup, OptIfDEGThr=OptIfDEGThr, optIfOChGroupSrcCurDayHighOutputPower=optIfOChGroupSrcCurDayHighOutputPower, optIfOChGroupSrcPrevDayLowOutputPower=optIfOChGroupSrcPrevDayLowOutputPower, optIfGCC0Directionality=optIfGCC0Directionality, optIfODUkNimDirectionality=optIfODUkNimDirectionality, optIfOChGroupSinkCurDayLowOutputPower=optIfOChGroupSinkCurDayLowOutputPower, optIfOChGroupSinkCurrentHighOutputPower=optIfOChGroupSinkCurrentHighOutputPower, optIfODUkPositionSeqCurrentSize=optIfODUkPositionSeqCurrentSize, optIfOChGroupSinkIntervalLowAggregatedInputPower=optIfOChGroupSinkIntervalLowAggregatedInputPower, optIfODUkTNimTIMActEnabled=optIfODUkTNimTIMActEnabled, optIfGCC12Group=optIfGCC12Group, optIfOChSinkCurrentUpperInputPowerThreshold=optIfOChSinkCurrentUpperInputPowerThreshold, optIfODUkTTcmField=optIfODUkTTcmField, optIfOMSnSrcPrevDayHighAggregatedInputPower=optIfOMSnSrcPrevDayHighAggregatedInputPower, optIfOMSnSrcIntervalSuspectedFlag=optIfOMSnSrcIntervalSuspectedFlag, optIfOChSinkCurrentTable=optIfOChSinkCurrentTable, optIfOMSnSrcCurrentUpperOutputPowerThreshold=optIfOMSnSrcCurrentUpperOutputPowerThreshold, optIfOMSnSourcePreOtnPMGroup=optIfOMSnSourcePreOtnPMGroup, optIfOMSnSinkCurrentAggregatedInputPower=optIfOMSnSinkCurrentAggregatedInputPower, optIfODUkTtpTraceIdentifierAccepted=optIfODUkTtpTraceIdentifierAccepted, optIfOMSnSrcIntervalLastAggregatedInputPower=optIfOMSnSrcIntervalLastAggregatedInputPower) |
"""Spotify response stated codes.
Reference:
https://developer.spotify.com/documentation/web-api/#response-status-codes
"""
RESPONSE_OK = 200
RESPONSE_CREATED = 201
RESPONSE_ACCEPTED = 202
RESPONSE_NO_CONTENT = 204
RESPONSE_NOT_MODIFIED = 304
RESPONSE_BAD_REQUEST = 400
RESPONSE_UNAUTHORIZED = 401
RESPONSE_FORBIDDEN = 403
RESPONSE_NOT_FOUND = 404
RESPONSE_TOO_MANY_REQUESTS = 429
RESPONSE_INTERNAL_SERVER_ERROR = 500
RESPONSE_BAD_GATEWAY = 502
RESPONSE_SERVICE_UNAVAILABLE = 503
| """Spotify response stated codes.
Reference:
https://developer.spotify.com/documentation/web-api/#response-status-codes
"""
response_ok = 200
response_created = 201
response_accepted = 202
response_no_content = 204
response_not_modified = 304
response_bad_request = 400
response_unauthorized = 401
response_forbidden = 403
response_not_found = 404
response_too_many_requests = 429
response_internal_server_error = 500
response_bad_gateway = 502
response_service_unavailable = 503 |
'''
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surrounded by water.
Find the maximum area of an island in the given 2D array. (If there is no island, the maximum area is 0.)
Example 1:
[[0,0,1,0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,0,0,1,1,1,0,0,0],
[0,1,1,0,1,0,0,0,0,0,0,0,0],
[0,1,0,0,1,1,0,0,1,0,1,0,0],
[0,1,0,0,1,1,0,0,1,1,1,0,0],
[0,0,0,0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,1,1,1,0,0,0],
[0,0,0,0,0,0,0,1,1,0,0,0,0]]
Given the above grid, return 6. Note the answer is not 11, because the island must be connected 4-directionally.
Example 2:
[[0,0,0,0,0,0,0,0]]
Given the above grid, return 0.
Note: The length of each dimension in the given grid does not exceed 50.
'''
class Solution:
def maxAreaOfIsland(self, grid):
"""
:type grid: List[List[int]]
:rtype: int
"""
seen = set()
def area(r, c):
if not (0 <= r < len(grid) and 0 <= c < len(grid[0])
and (r, c) not in seen and grid[r][c]):
return 0
seen.add((r, c))
return (1 + area(r+1, c) + area(r-1, c) +
area(r, c-1) + area(r, c+1))
return max(area(r, c)
for r in range(len(grid))
for c in range(len(grid[0])))
'''
temp=set()
def get_area(i,j):
if(not(0<=i<len(grid)) and 0<=j<len(grid[0])and (i,j) not in temp and grid[i][j] ):
return(0)
temp.add((i,j))
return(1+get_area(i-1,j)+get_area(i,j-1)+get_area(i,j+1)+get_area(i+1,j))
areas=[]
for i in range(len(grid)):
for j in range(len(grid[0])):
print(i)
areas.append(get_area(i,j))
print(areas)
return(max(areas))
''' | """
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surrounded by water.
Find the maximum area of an island in the given 2D array. (If there is no island, the maximum area is 0.)
Example 1:
[[0,0,1,0,0,0,0,1,0,0,0,0,0],
[0,0,0,0,0,0,0,1,1,1,0,0,0],
[0,1,1,0,1,0,0,0,0,0,0,0,0],
[0,1,0,0,1,1,0,0,1,0,1,0,0],
[0,1,0,0,1,1,0,0,1,1,1,0,0],
[0,0,0,0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,1,1,1,0,0,0],
[0,0,0,0,0,0,0,1,1,0,0,0,0]]
Given the above grid, return 6. Note the answer is not 11, because the island must be connected 4-directionally.
Example 2:
[[0,0,0,0,0,0,0,0]]
Given the above grid, return 0.
Note: The length of each dimension in the given grid does not exceed 50.
"""
class Solution:
def max_area_of_island(self, grid):
"""
:type grid: List[List[int]]
:rtype: int
"""
seen = set()
def area(r, c):
if not (0 <= r < len(grid) and 0 <= c < len(grid[0]) and ((r, c) not in seen) and grid[r][c]):
return 0
seen.add((r, c))
return 1 + area(r + 1, c) + area(r - 1, c) + area(r, c - 1) + area(r, c + 1)
return max((area(r, c) for r in range(len(grid)) for c in range(len(grid[0]))))
'\n temp=set()\n \n def get_area(i,j):\n if(not(0<=i<len(grid)) and 0<=j<len(grid[0])and (i,j) not in temp and grid[i][j] ):\n return(0)\n temp.add((i,j))\n return(1+get_area(i-1,j)+get_area(i,j-1)+get_area(i,j+1)+get_area(i+1,j))\n \n areas=[]\n for i in range(len(grid)):\n for j in range(len(grid[0])):\n print(i)\n \n areas.append(get_area(i,j))\n print(areas)\n return(max(areas))\n ' |
class Solution:
def rotate(self, nums: List[int], k: int) -> None:
"""
Do not return anything, modify nums in-place instead.
"""
length = len(nums)
k %= length
self.reverse(0, length - 1, nums)
self.reverse(0, k - 1, nums)
self.reverse(k, length - 1, nums)
def reverse(self, start: int, end: int, nums: List[int]) -> None:
while start < end:
nums[start], nums[end] = nums[end], nums[start]
start += 1
end -= 1 | class Solution:
def rotate(self, nums: List[int], k: int) -> None:
"""
Do not return anything, modify nums in-place instead.
"""
length = len(nums)
k %= length
self.reverse(0, length - 1, nums)
self.reverse(0, k - 1, nums)
self.reverse(k, length - 1, nums)
def reverse(self, start: int, end: int, nums: List[int]) -> None:
while start < end:
(nums[start], nums[end]) = (nums[end], nums[start])
start += 1
end -= 1 |
'''
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.
Example 1:
Input: "Let's take LeetCode contest"
Output: "s'teL ekat edoCteeL tsetnoc"
Note: In the string, each word is separated by single space and there will not be any extra space in the string.
'''
class Solution(object):
def reverseWords(self, s):
"""
:type s: str
:rtype: str
"""
res = []
vec = s.split(' ')
for token in vec:
res.append(token[::-1])
return ' '.join(res)
| """
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.
Example 1:
Input: "Let's take LeetCode contest"
Output: "s'teL ekat edoCteeL tsetnoc"
Note: In the string, each word is separated by single space and there will not be any extra space in the string.
"""
class Solution(object):
def reverse_words(self, s):
"""
:type s: str
:rtype: str
"""
res = []
vec = s.split(' ')
for token in vec:
res.append(token[::-1])
return ' '.join(res) |
def checkrootpos(root, params):
a, b, c, d = params
return a * root**3 + b * root**2 + c * root + d > 0
def checkrootneg(root, params):
a, b, c, d = params
return a * root**3 + b * root**2 + c * root + d < 0
def fbinsearch(l, r, eps, check, params):
while l + eps < r:
m = (l + r) / 2
if check(m, params):
r = m
else:
l = m
return l
a, b, c, d = map(int, input().split())
eps = 0.0000000001
l = -10000000
r = 10000000
if a > 0:
x = fbinsearch(l, r, eps, checkrootpos, (a, b, c, d))
else:
x = fbinsearch(l, r, eps, checkrootneg, (a, b, c, d))
print(x) | def checkrootpos(root, params):
(a, b, c, d) = params
return a * root ** 3 + b * root ** 2 + c * root + d > 0
def checkrootneg(root, params):
(a, b, c, d) = params
return a * root ** 3 + b * root ** 2 + c * root + d < 0
def fbinsearch(l, r, eps, check, params):
while l + eps < r:
m = (l + r) / 2
if check(m, params):
r = m
else:
l = m
return l
(a, b, c, d) = map(int, input().split())
eps = 1e-10
l = -10000000
r = 10000000
if a > 0:
x = fbinsearch(l, r, eps, checkrootpos, (a, b, c, d))
else:
x = fbinsearch(l, r, eps, checkrootneg, (a, b, c, d))
print(x) |
LOWER_BOUND = -2147483648
UPPER_BOUND = 2147483647
def solve(i: int) -> int:
base = 10
digit_arr = []
mult = 1 if i > 0 else -1
num = abs(i)
while num:
digit_arr.append(num % base)
num //= base
reverse_num = 0
for digit in digit_arr[::-1]:
reverse_num += mult * digit
mult *= base
return reverse_num if LOWER_BOUND <= reverse_num <= UPPER_BOUND else 0
def execute_tests() -> None:
simple_case_123 = (123, 321)
simple_case_321 = (321, 123)
long_case_453412 = (453412, 214354)
zero = (0, 0)
one = (1, 1)
min_allowed = (-8463847412, -2147483648)
too_small = (-9463847412, 0)
too_big = (1534236469, 0)
for test_case in [
simple_case_123,
simple_case_321,
long_case_453412,
zero,
one,
min_allowed,
too_small,
too_big
]:
test(*test_case)
def test(i: int, expected: int) -> None:
answer = solve(i)
print(i, "reversed is", answer, "expected:", expected)
assert answer == expected
def main() -> None:
return execute_tests()
if __name__ == '__main__':
main()
| lower_bound = -2147483648
upper_bound = 2147483647
def solve(i: int) -> int:
base = 10
digit_arr = []
mult = 1 if i > 0 else -1
num = abs(i)
while num:
digit_arr.append(num % base)
num //= base
reverse_num = 0
for digit in digit_arr[::-1]:
reverse_num += mult * digit
mult *= base
return reverse_num if LOWER_BOUND <= reverse_num <= UPPER_BOUND else 0
def execute_tests() -> None:
simple_case_123 = (123, 321)
simple_case_321 = (321, 123)
long_case_453412 = (453412, 214354)
zero = (0, 0)
one = (1, 1)
min_allowed = (-8463847412, -2147483648)
too_small = (-9463847412, 0)
too_big = (1534236469, 0)
for test_case in [simple_case_123, simple_case_321, long_case_453412, zero, one, min_allowed, too_small, too_big]:
test(*test_case)
def test(i: int, expected: int) -> None:
answer = solve(i)
print(i, 'reversed is', answer, 'expected:', expected)
assert answer == expected
def main() -> None:
return execute_tests()
if __name__ == '__main__':
main() |
class MultiSerializerMixin:
def get_serializer_class(self):
return self.serializer_classes[self.action]
| class Multiserializermixin:
def get_serializer_class(self):
return self.serializer_classes[self.action] |
# While loops practice
# PART A
ages = [5, 6, 24, 32, 21, 70]
counter = 0
while ages[counter] < 30:
print("Part A - The ages is : " +str(ages[counter]))
counter+=1
print("Part A - The value that caused the loop to stop : " +str(ages[counter]))
print("\n")
# PART B
counter = 0
while ages[counter] < 30:
if ages[counter] > 20 :
print("Part B - Print the value that stopped the loop : " +str(ages[counter]))
break
counter +=1
print("\n")
# PART C
counter = 0
while ages[counter] < 70:
ages[counter] = ages[counter] + 2
print("Part C - Cell's new value is : " +str(ages[counter]))
counter +=1
else:
print("Part C - I'm inside 'else' because the number : " +str(ages[counter]))
| ages = [5, 6, 24, 32, 21, 70]
counter = 0
while ages[counter] < 30:
print('Part A - The ages is : ' + str(ages[counter]))
counter += 1
print('Part A - The value that caused the loop to stop : ' + str(ages[counter]))
print('\n')
counter = 0
while ages[counter] < 30:
if ages[counter] > 20:
print('Part B - Print the value that stopped the loop : ' + str(ages[counter]))
break
counter += 1
print('\n')
counter = 0
while ages[counter] < 70:
ages[counter] = ages[counter] + 2
print("Part C - Cell's new value is : " + str(ages[counter]))
counter += 1
else:
print("Part C - I'm inside 'else' because the number : " + str(ages[counter])) |
def out_red(text):
return "\033[31m {}" .format(text)
def out_yellow(text):
return "\033[33m {}" .format(text)
def out_green(text):
return "\033[32m {}" .format(text)
| def out_red(text):
return '\x1b[31m {}'.format(text)
def out_yellow(text):
return '\x1b[33m {}'.format(text)
def out_green(text):
return '\x1b[32m {}'.format(text) |
# vowels list
vowels = ['e', 'a', 'u', 'o', 'i']
# sort the vowels
vowels.sort()
# print vowels
print('Sorted list:', vowels)
| vowels = ['e', 'a', 'u', 'o', 'i']
vowels.sort()
print('Sorted list:', vowels) |
# set the path-to-files
TRAIN_FILE = "/home/luban/work_jupyter/point_rec_data/train.csv"
TEST_FILE = "/home/luban/work_jupyter/point_rec_data/test.csv"
SUB_DIR = "./output"
NUM_SPLITS = 3
RANDOM_SEED = 2017
# types of columns of the dataset dataframe
CATEGORICAL_COLS = [
'common.os',
'common.loc_provider',
'time.time',
'time.week',
]
NUMERIC_COLS = [
# binary
'personal.cur_rectangle',
# numeric
'common.loc_accuracy',
'walk.spherical_dist',
'walk.spherical_dist_ratio_on_pop',
'his_heat.absorb_offset'
# feature engineering
# "missing_feat", "ps_car_13_x_ps_reg_03",
]
IGNORE_COLS = [
"id",
"target",
'common.city_id',
'his_heat.weight_on_pos',
'his_heat.weight_on_link',
'his_heat.weight_on_route',
'his_heat.hottest_offset',
'his_heat.hottest_value',
'his_heat.nearest_offset',
'his_heat.nearest_value',
'his_heat.weight_on_pos_ratio',
'his_heat.weight_on_link_ratio',
'his_heat.weight_on_route_ratio',
'his_heat.pos_link_weight_ratio',
'his_heat.hottest_offset_ratio',
'his_heat.hottest_offset_pop_ratio',
'his_heat.hottest_value_ratio',
'his_heat.hottest_value_pop_ratio',
'his_heat.nearest_offset_ratio',
'his_heat.nearest_offset_pop_ratio',
'his_heat.nearest_value_ratio',
'his_heat.nearest_value_pop_ratio',
'his_heat.nearest_hottest_offset_ratio',
'his_heat.nearest_hottest_value_ratio',
'his_heat.hottest_value_offset_ratio',
'his_heat.nearest_value_offset_ratio',
'his_heat.hottest_pos_weight_ratio',
'his_heat.nearest_pos_weight_ratio',
'heat.link_cluster_point_heat',
'onsite_30.order_cnt',
'onsite_30.aboard_offset_median',
'onsite_30.aboard_onsite_rate_20',
'onsite_30.aboard_onsite_rate_30',
'onsite_30.aboard_onsite_rate_40',
'onsite_30.charge_offset_median',
'onsite_30.charge_onsite_rate_20',
'onsite_30.charge_onsite_rate_30',
'onsite_30.charge_onsite_rate_40',
'onsite_60.order_cnt',
'onsite_60.aboard_offset_median',
'onsite_60.aboard_onsite_rate_20',
'onsite_60.aboard_onsite_rate_30',
'onsite_60.aboard_onsite_rate_40',
'onsite_60.charge_offset_median',
'onsite_60.charge_onsite_rate_20',
'onsite_60.charge_onsite_rate_30',
'onsite_60.charge_onsite_rate_40',
'onsite_90.order_cnt',
'onsite_90.aboard_offset_median',
'onsite_90.aboard_onsite_rate_20',
'onsite_90.aboard_onsite_rate_30',
'onsite_90.aboard_onsite_rate_40',
'onsite_90.charge_offset_median',
'onsite_90.charge_onsite_rate_20',
'onsite_90.charge_onsite_rate_30',
'onsite_90.charge_onsite_rate_40',
'onsite_180.order_cnt',
'onsite_180.aboard_offset_median',
'onsite_180.aboard_onsite_rate_20',
'onsite_180.aboard_onsite_rate_30',
'onsite_180.aboard_onsite_rate_40',
'onsite_180.charge_offset_median',
'onsite_180.charge_onsite_rate_20',
'onsite_180.charge_onsite_rate_30',
'onsite_180.charge_onsite_rate_40',
'personal.dist_to_cur_center',
'personal.cur_radius',
'personal.b4mm_cnt',
'personal.origin_stat_0',
'personal.origin_stat_1',
'personal.origin_stat_from_last_0_0',
'personal.origin_stat_from_last_0_1',
'personal.origin_stat_from_last_1_0',
'personal.origin_stat_from_last_1_1',
'personal.origin_stat_from_last_2_0',
'personal.origin_stat_from_last_2_1',
'personal.origin_stat_from_last_3_0',
'personal.origin_stat_from_last_3_1',
'personal.origin_stat_from_now_0_0',
'personal.origin_stat_from_now_0_1',
'personal.origin_stat_from_now_1_0',
'personal.origin_stat_from_now_1_1',
'personal.origin_stat_from_now_2_0',
'personal.origin_stat_from_now_2_1',
'personal.origin_stat_from_now_3_0',
'personal.origin_stat_from_now_3_1',
'personal.move_stat_date_diff',
'personal.move_stat_0',
'personal.move_stat_1',
'personal.move_stat_2',
'personal.move_stat_3',
'personal.move_stat_from_last_0_0',
'personal.move_stat_from_last_0_1',
'personal.move_stat_from_last_0_2',
'personal.move_stat_from_last_0_3',
'personal.move_stat_from_last_1_0',
'personal.move_stat_from_last_1_1',
'personal.move_stat_from_last_1_2',
'personal.move_stat_from_last_1_3',
'personal.move_stat_from_last_2_0',
'personal.move_stat_from_last_2_1',
'personal.move_stat_from_last_2_2',
'personal.move_stat_from_last_2_3',
'personal.move_stat_from_last_3_0',
'personal.move_stat_from_last_3_1',
'personal.move_stat_from_last_3_2',
'personal.move_stat_from_last_3_3',
'personal.move_stat_from_now_0_0',
'personal.move_stat_from_now_0_1',
'personal.move_stat_from_now_0_2',
'personal.move_stat_from_now_0_3',
'personal.move_stat_from_now_1_0',
'personal.move_stat_from_now_1_1',
'personal.move_stat_from_now_1_2',
'personal.move_stat_from_now_1_3',
'personal.move_stat_from_now_2_0',
'personal.move_stat_from_now_2_1',
'personal.move_stat_from_now_2_2',
'personal.move_stat_from_now_2_3',
'personal.move_stat_from_now_3_0',
'personal.move_stat_from_now_3_1',
'personal.move_stat_from_now_3_2',
'personal.move_stat_from_now_3_3'
]
| train_file = '/home/luban/work_jupyter/point_rec_data/train.csv'
test_file = '/home/luban/work_jupyter/point_rec_data/test.csv'
sub_dir = './output'
num_splits = 3
random_seed = 2017
categorical_cols = ['common.os', 'common.loc_provider', 'time.time', 'time.week']
numeric_cols = ['personal.cur_rectangle', 'common.loc_accuracy', 'walk.spherical_dist', 'walk.spherical_dist_ratio_on_pop', 'his_heat.absorb_offset']
ignore_cols = ['id', 'target', 'common.city_id', 'his_heat.weight_on_pos', 'his_heat.weight_on_link', 'his_heat.weight_on_route', 'his_heat.hottest_offset', 'his_heat.hottest_value', 'his_heat.nearest_offset', 'his_heat.nearest_value', 'his_heat.weight_on_pos_ratio', 'his_heat.weight_on_link_ratio', 'his_heat.weight_on_route_ratio', 'his_heat.pos_link_weight_ratio', 'his_heat.hottest_offset_ratio', 'his_heat.hottest_offset_pop_ratio', 'his_heat.hottest_value_ratio', 'his_heat.hottest_value_pop_ratio', 'his_heat.nearest_offset_ratio', 'his_heat.nearest_offset_pop_ratio', 'his_heat.nearest_value_ratio', 'his_heat.nearest_value_pop_ratio', 'his_heat.nearest_hottest_offset_ratio', 'his_heat.nearest_hottest_value_ratio', 'his_heat.hottest_value_offset_ratio', 'his_heat.nearest_value_offset_ratio', 'his_heat.hottest_pos_weight_ratio', 'his_heat.nearest_pos_weight_ratio', 'heat.link_cluster_point_heat', 'onsite_30.order_cnt', 'onsite_30.aboard_offset_median', 'onsite_30.aboard_onsite_rate_20', 'onsite_30.aboard_onsite_rate_30', 'onsite_30.aboard_onsite_rate_40', 'onsite_30.charge_offset_median', 'onsite_30.charge_onsite_rate_20', 'onsite_30.charge_onsite_rate_30', 'onsite_30.charge_onsite_rate_40', 'onsite_60.order_cnt', 'onsite_60.aboard_offset_median', 'onsite_60.aboard_onsite_rate_20', 'onsite_60.aboard_onsite_rate_30', 'onsite_60.aboard_onsite_rate_40', 'onsite_60.charge_offset_median', 'onsite_60.charge_onsite_rate_20', 'onsite_60.charge_onsite_rate_30', 'onsite_60.charge_onsite_rate_40', 'onsite_90.order_cnt', 'onsite_90.aboard_offset_median', 'onsite_90.aboard_onsite_rate_20', 'onsite_90.aboard_onsite_rate_30', 'onsite_90.aboard_onsite_rate_40', 'onsite_90.charge_offset_median', 'onsite_90.charge_onsite_rate_20', 'onsite_90.charge_onsite_rate_30', 'onsite_90.charge_onsite_rate_40', 'onsite_180.order_cnt', 'onsite_180.aboard_offset_median', 'onsite_180.aboard_onsite_rate_20', 'onsite_180.aboard_onsite_rate_30', 'onsite_180.aboard_onsite_rate_40', 'onsite_180.charge_offset_median', 'onsite_180.charge_onsite_rate_20', 'onsite_180.charge_onsite_rate_30', 'onsite_180.charge_onsite_rate_40', 'personal.dist_to_cur_center', 'personal.cur_radius', 'personal.b4mm_cnt', 'personal.origin_stat_0', 'personal.origin_stat_1', 'personal.origin_stat_from_last_0_0', 'personal.origin_stat_from_last_0_1', 'personal.origin_stat_from_last_1_0', 'personal.origin_stat_from_last_1_1', 'personal.origin_stat_from_last_2_0', 'personal.origin_stat_from_last_2_1', 'personal.origin_stat_from_last_3_0', 'personal.origin_stat_from_last_3_1', 'personal.origin_stat_from_now_0_0', 'personal.origin_stat_from_now_0_1', 'personal.origin_stat_from_now_1_0', 'personal.origin_stat_from_now_1_1', 'personal.origin_stat_from_now_2_0', 'personal.origin_stat_from_now_2_1', 'personal.origin_stat_from_now_3_0', 'personal.origin_stat_from_now_3_1', 'personal.move_stat_date_diff', 'personal.move_stat_0', 'personal.move_stat_1', 'personal.move_stat_2', 'personal.move_stat_3', 'personal.move_stat_from_last_0_0', 'personal.move_stat_from_last_0_1', 'personal.move_stat_from_last_0_2', 'personal.move_stat_from_last_0_3', 'personal.move_stat_from_last_1_0', 'personal.move_stat_from_last_1_1', 'personal.move_stat_from_last_1_2', 'personal.move_stat_from_last_1_3', 'personal.move_stat_from_last_2_0', 'personal.move_stat_from_last_2_1', 'personal.move_stat_from_last_2_2', 'personal.move_stat_from_last_2_3', 'personal.move_stat_from_last_3_0', 'personal.move_stat_from_last_3_1', 'personal.move_stat_from_last_3_2', 'personal.move_stat_from_last_3_3', 'personal.move_stat_from_now_0_0', 'personal.move_stat_from_now_0_1', 'personal.move_stat_from_now_0_2', 'personal.move_stat_from_now_0_3', 'personal.move_stat_from_now_1_0', 'personal.move_stat_from_now_1_1', 'personal.move_stat_from_now_1_2', 'personal.move_stat_from_now_1_3', 'personal.move_stat_from_now_2_0', 'personal.move_stat_from_now_2_1', 'personal.move_stat_from_now_2_2', 'personal.move_stat_from_now_2_3', 'personal.move_stat_from_now_3_0', 'personal.move_stat_from_now_3_1', 'personal.move_stat_from_now_3_2', 'personal.move_stat_from_now_3_3'] |
# Copyright 2019 Xilinx Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class statItem:
def __init__(self, name, timeunit="ms"):
self.name = name
self.runs = 0
self.min_t = float("inf")
self.max_t = 0.0
self.ave_t = 0.0
self.total_t = 0.0
self.timeunit = timeunit
def add(self, time):
self.runs += 1
self.total_t += time
if time < self.min_t:
self.min_t = time
if time > self.max_t:
self.max_t = time
self.ave_t = self.total_t / self.runs
def setTimeUnit(self, _timeunit):
if _timeunit == "s" or _timeunit == "ms" or _timeunit == "us":
self.timeunit = _timeunit
def __str__(self):
if self.timeunit == "ms":
tu = 1000
elif self.timeunit == "us":
tu = 1000 * 1000
else:
tu = 1
min_t = self.min_t * tu
max_t = self.max_t * tu
ave_t = self.ave_t * tu
total_t = self.total_t * tu
return "%s,%d,CPU,%.3f,%.3f,%.3f,\n" % (self.name, self.runs, min_t, ave_t, max_t)
def __iter__(self):
if self.timeunit == "ms":
tu = 1000
elif self.timeunit == "us":
tu = 1000 * 1000
else:
tu = 1
min_t = self.min_t * tu
max_t = self.max_t * tu
ave_t = self.ave_t * tu
total_t = self.total_t * tu
return iter([self.name, self.runs, min_t, ave_t, max_t])
class statTable:
def __init__(self, name):
self.items = {}
self.name = name
def add(self, name, time):
if name not in self.keys():
self.items.update({name: statItem(name)})
self.items.get(name).add(time)
def keys(self):
return self.items.keys()
def output(self, fmt="csv", timeunit="ms"):
for k in self.items.keys():
self.items[k].setTimeUnit(timeunit)
if fmt == "csv":
csv = []
#csv.append(self.name + " " + "Summary\n")
#csv.append("Function Name,Number Of Runs,Minimum Time (ms),Maximum Time (ms),Average Time (ms),\n")
for k in self.items.keys():
csv.append(str(self.items[k]))
return csv
if fmt == "list":
l = []
for k in self.items.keys():
l.append(list(self.items[k]))
return l
"""
DPU Summary
Kernel Name,Number Of Runs,CU Full Name,Minimum Time (ms),Maximum Time (ms),Average Time (ms),
"""
| class Statitem:
def __init__(self, name, timeunit='ms'):
self.name = name
self.runs = 0
self.min_t = float('inf')
self.max_t = 0.0
self.ave_t = 0.0
self.total_t = 0.0
self.timeunit = timeunit
def add(self, time):
self.runs += 1
self.total_t += time
if time < self.min_t:
self.min_t = time
if time > self.max_t:
self.max_t = time
self.ave_t = self.total_t / self.runs
def set_time_unit(self, _timeunit):
if _timeunit == 's' or _timeunit == 'ms' or _timeunit == 'us':
self.timeunit = _timeunit
def __str__(self):
if self.timeunit == 'ms':
tu = 1000
elif self.timeunit == 'us':
tu = 1000 * 1000
else:
tu = 1
min_t = self.min_t * tu
max_t = self.max_t * tu
ave_t = self.ave_t * tu
total_t = self.total_t * tu
return '%s,%d,CPU,%.3f,%.3f,%.3f,\n' % (self.name, self.runs, min_t, ave_t, max_t)
def __iter__(self):
if self.timeunit == 'ms':
tu = 1000
elif self.timeunit == 'us':
tu = 1000 * 1000
else:
tu = 1
min_t = self.min_t * tu
max_t = self.max_t * tu
ave_t = self.ave_t * tu
total_t = self.total_t * tu
return iter([self.name, self.runs, min_t, ave_t, max_t])
class Stattable:
def __init__(self, name):
self.items = {}
self.name = name
def add(self, name, time):
if name not in self.keys():
self.items.update({name: stat_item(name)})
self.items.get(name).add(time)
def keys(self):
return self.items.keys()
def output(self, fmt='csv', timeunit='ms'):
for k in self.items.keys():
self.items[k].setTimeUnit(timeunit)
if fmt == 'csv':
csv = []
for k in self.items.keys():
csv.append(str(self.items[k]))
return csv
if fmt == 'list':
l = []
for k in self.items.keys():
l.append(list(self.items[k]))
return l
'\nDPU Summary\nKernel Name,Number Of Runs,CU Full Name,Minimum Time (ms),Maximum Time (ms),Average Time (ms),\n' |
HIVE_CONFIG = {
"host": '127.0.0.1',
"port": 10000,
"username": 'username',
"password": 'password'
}
MYSQL_CONFIG = {
'test':
{
"host": "127.0.0.1",
"port": 3306,
"user": "username",
"password": "password",
"database": "default"},
'prod':
{
"host": "127.0.0.1",
"port": 3306,
"user": "username",
"password": "password",
"database": "default"},
}
| hive_config = {'host': '127.0.0.1', 'port': 10000, 'username': 'username', 'password': 'password'}
mysql_config = {'test': {'host': '127.0.0.1', 'port': 3306, 'user': 'username', 'password': 'password', 'database': 'default'}, 'prod': {'host': '127.0.0.1', 'port': 3306, 'user': 'username', 'password': 'password', 'database': 'default'}} |
def test_stats_filter(api, b2b_raw_config, utils):
"""
configure two flows f1 and f2
- Send 1000 packets from f1 of size 74B
- Send 2000 packets from f2 of size 1500B
Validation:
1) Get port statistics based on port name & column names and assert
each port & column has returned the values and assert them against
packets and frame size sent
2) Get flow statistics based on flow name & column names and assert
each flow & column has returned the values and assert them against
packets and frame size sent
"""
api.set_config(api.config())
f1_packets = 1000
f2_packets = 2000
f1_size = 74
f2_size = 1500
port1, port2 = b2b_raw_config.ports
flows = b2b_raw_config.flows
flow1, flow2 = flows.flow()
flow1.name = "flow1"
flow2.name = "flow2"
flow1.duration.fixed_packets.packets = f1_packets
flow1.size.fixed = f1_size
flow1.rate.percentage = 10
flow2.tx_rx.port.tx_name = port1.name
flow2.tx_rx.port.rx_name = port2.name
flow2.duration.fixed_packets.packets = f2_packets
flow2.size.fixed = f2_size
flow2.rate.percentage = 10
flow1.metrics.enable = True
flow1.metrics.loss = True
flow2.metrics.enable = True
flow2.metrics.loss = True
utils.start_traffic(api, b2b_raw_config, start_capture=False)
utils.wait_for(lambda: utils.is_traffic_stopped(api), "traffic to stop")
utils.wait_for(
lambda: utils.is_stats_accumulated(api, f1_packets + f2_packets),
"stats to be accumulated",
)
# Validation on Port statistics based on port names
port_names = ["raw_tx", "raw_rx"]
for port_name in port_names:
req = api.metrics_request()
req.port.port_names = [port_name]
port_results = api.get_metrics(req).port_metrics
# port_results = api.get_port_results(result.PortRequest(
# port_names=[port_name]))
validate_port_stats_based_on_port_name(port_results, port_name)
# Validation on Port statistics based on column names
column_names = ["frames_tx", "frames_rx", "bytes_tx", "bytes_rx"]
for column_name in column_names:
req = api.metrics_request()
req.port.column_names = ["name", column_name]
port_results = api.get_metrics(req).port_metrics
# port_results = api.get_port_results(result.PortRequest(
# column_names=['name',
# column_name]))
validate_port_stats_based_on_column_name(
port_results, column_name, f1_packets, f2_packets, f1_size, f2_size
)
# Validation on Flow statistics based on flow names
flow_names = ["flow1", "flow2"]
for flow_name in flow_names:
req = api.metrics_request()
req.flow.flow_names = [flow_name]
req.flow.metric_names = ["name"]
flow_results = api.get_metrics(req).flow_metrics
# flow_results = api.get_flow_results(result.FlowRequest(
# flow_names=[flow_name],
# column_names=['name']))
validate_flow_stats_based_on_flow_name(flow_results, flow_name)
# Validation on Flow statistics based on metric names
metric_names = ["frames_tx", "frames_rx", "bytes_rx"]
for metric_name in metric_names:
req = api.metrics_request()
req.flow.metric_names = ["name", column_name]
flow_results = api.get_metrics(req).flow_metrics
# flow_results = api.get_flow_results(result.FlowRequest(
# column_names=['name',
# column_name]))
validate_flow_stats_based_on_metric_name(
flow_results, metric_name, f1_packets, f2_packets, f1_size, f2_size
)
def validate_port_stats_based_on_port_name(port_results, port_name):
"""
Validate stats based on port_names
"""
for row in port_results:
assert row.name == port_name
def validate_port_stats_based_on_column_name(
port_results, column_name, f1_packets, f2_packets, f1_size, f2_size
):
"""
Validate Port stats based on column_names
"""
total_bytes = (f1_packets * f1_size) + (f2_packets * f2_size)
total_packets = f1_packets + f2_packets
for row in port_results:
if row.name == "raw_tx":
if column_name == "frames_tx":
assert getattr(row, column_name) == total_packets
elif column_name == "bytes_tx":
assert getattr(row, column_name) == total_bytes
elif row.name == "raw_rx":
if column_name == "frames_rx":
assert getattr(row, column_name) == total_packets
elif column_name == "bytes_rx":
assert getattr(row, column_name) == total_bytes
def validate_flow_stats_based_on_flow_name(flow_results, flow_name):
"""
Validate Flow stats based on flow_names
"""
for row in flow_results:
assert row.name == flow_name
def validate_flow_stats_based_on_metric_name(
flow_results, metric_name, f1_packets, f2_packets, f1_size, f2_size
):
"""
Validate Flow stats based on metric_names
"""
for row in flow_results:
if row.name == "f1":
if metric_name == "frames_tx":
assert getattr(row, metric_name) == f1_packets
elif metric_name == "frames_rx":
assert getattr(row, metric_name) == f1_packets
elif metric_name == "bytes_rx":
assert getattr(row, metric_name) == f1_packets * f1_size
elif row.name == "f2":
if metric_name == "frames_tx":
assert getattr(row, metric_name) == f2_packets
elif metric_name == "frames_rx":
assert getattr(row, metric_name) == f2_packets
elif metric_name == "bytes_rx":
assert getattr(row, metric_name) == f2_packets * f2_size
| def test_stats_filter(api, b2b_raw_config, utils):
"""
configure two flows f1 and f2
- Send 1000 packets from f1 of size 74B
- Send 2000 packets from f2 of size 1500B
Validation:
1) Get port statistics based on port name & column names and assert
each port & column has returned the values and assert them against
packets and frame size sent
2) Get flow statistics based on flow name & column names and assert
each flow & column has returned the values and assert them against
packets and frame size sent
"""
api.set_config(api.config())
f1_packets = 1000
f2_packets = 2000
f1_size = 74
f2_size = 1500
(port1, port2) = b2b_raw_config.ports
flows = b2b_raw_config.flows
(flow1, flow2) = flows.flow()
flow1.name = 'flow1'
flow2.name = 'flow2'
flow1.duration.fixed_packets.packets = f1_packets
flow1.size.fixed = f1_size
flow1.rate.percentage = 10
flow2.tx_rx.port.tx_name = port1.name
flow2.tx_rx.port.rx_name = port2.name
flow2.duration.fixed_packets.packets = f2_packets
flow2.size.fixed = f2_size
flow2.rate.percentage = 10
flow1.metrics.enable = True
flow1.metrics.loss = True
flow2.metrics.enable = True
flow2.metrics.loss = True
utils.start_traffic(api, b2b_raw_config, start_capture=False)
utils.wait_for(lambda : utils.is_traffic_stopped(api), 'traffic to stop')
utils.wait_for(lambda : utils.is_stats_accumulated(api, f1_packets + f2_packets), 'stats to be accumulated')
port_names = ['raw_tx', 'raw_rx']
for port_name in port_names:
req = api.metrics_request()
req.port.port_names = [port_name]
port_results = api.get_metrics(req).port_metrics
validate_port_stats_based_on_port_name(port_results, port_name)
column_names = ['frames_tx', 'frames_rx', 'bytes_tx', 'bytes_rx']
for column_name in column_names:
req = api.metrics_request()
req.port.column_names = ['name', column_name]
port_results = api.get_metrics(req).port_metrics
validate_port_stats_based_on_column_name(port_results, column_name, f1_packets, f2_packets, f1_size, f2_size)
flow_names = ['flow1', 'flow2']
for flow_name in flow_names:
req = api.metrics_request()
req.flow.flow_names = [flow_name]
req.flow.metric_names = ['name']
flow_results = api.get_metrics(req).flow_metrics
validate_flow_stats_based_on_flow_name(flow_results, flow_name)
metric_names = ['frames_tx', 'frames_rx', 'bytes_rx']
for metric_name in metric_names:
req = api.metrics_request()
req.flow.metric_names = ['name', column_name]
flow_results = api.get_metrics(req).flow_metrics
validate_flow_stats_based_on_metric_name(flow_results, metric_name, f1_packets, f2_packets, f1_size, f2_size)
def validate_port_stats_based_on_port_name(port_results, port_name):
"""
Validate stats based on port_names
"""
for row in port_results:
assert row.name == port_name
def validate_port_stats_based_on_column_name(port_results, column_name, f1_packets, f2_packets, f1_size, f2_size):
"""
Validate Port stats based on column_names
"""
total_bytes = f1_packets * f1_size + f2_packets * f2_size
total_packets = f1_packets + f2_packets
for row in port_results:
if row.name == 'raw_tx':
if column_name == 'frames_tx':
assert getattr(row, column_name) == total_packets
elif column_name == 'bytes_tx':
assert getattr(row, column_name) == total_bytes
elif row.name == 'raw_rx':
if column_name == 'frames_rx':
assert getattr(row, column_name) == total_packets
elif column_name == 'bytes_rx':
assert getattr(row, column_name) == total_bytes
def validate_flow_stats_based_on_flow_name(flow_results, flow_name):
"""
Validate Flow stats based on flow_names
"""
for row in flow_results:
assert row.name == flow_name
def validate_flow_stats_based_on_metric_name(flow_results, metric_name, f1_packets, f2_packets, f1_size, f2_size):
"""
Validate Flow stats based on metric_names
"""
for row in flow_results:
if row.name == 'f1':
if metric_name == 'frames_tx':
assert getattr(row, metric_name) == f1_packets
elif metric_name == 'frames_rx':
assert getattr(row, metric_name) == f1_packets
elif metric_name == 'bytes_rx':
assert getattr(row, metric_name) == f1_packets * f1_size
elif row.name == 'f2':
if metric_name == 'frames_tx':
assert getattr(row, metric_name) == f2_packets
elif metric_name == 'frames_rx':
assert getattr(row, metric_name) == f2_packets
elif metric_name == 'bytes_rx':
assert getattr(row, metric_name) == f2_packets * f2_size |
# Readable: can read during runtime/compile time
# Writeable: can write during runtime and compile time
"""
============
| Tuple |
============
Readable
Not writeable:
- cannot modify value, add or remove an element during the runtime.
"""
fooTuple = ("fooTupleItem", True, 123);
anotherTuple = tuple(("anotherTupleItem", False, 456));
print(fooTuple)
print(anotherTuple)
print ("===================================");
# Accessing an element based on given index
# List index starts at 0.
print(fooTuple[1]); # print the second element
print(anotherTuple[0]); # print the first element
print ("===================================");
print("New modified tuple: ");
print(fooTuple);
| """
============
| Tuple |
============
Readable
Not writeable:
- cannot modify value, add or remove an element during the runtime.
"""
foo_tuple = ('fooTupleItem', True, 123)
another_tuple = tuple(('anotherTupleItem', False, 456))
print(fooTuple)
print(anotherTuple)
print('===================================')
print(fooTuple[1])
print(anotherTuple[0])
print('===================================')
print('New modified tuple: ')
print(fooTuple) |
"""
Common constants.
"""
ALPH = list('abcdefghijklmnopqrstuvwxyz')
| """
Common constants.
"""
alph = list('abcdefghijklmnopqrstuvwxyz') |
# mock.py
# Metadata
NAME = 'mock'
ENABLE = True
PATTERN = r'^!mock (?P<phrase>.*)'
USAGE = '''Usage: !mock <phrase>
Given a phrase, this translates the phrase into a mocking spongebob phrase.
Example:
> !mock it should work on slack and irc
iT ShOuLd wOrK On sLaCk aNd iRc
'''
# Command
async def mock(bot, message, phrase):
phrase = phrase.lower().rstrip()
response = ''
for count, letter in enumerate(phrase):
if count % 2:
letter = letter.upper()
response += letter
return message.with_body(response)
# Register
def register(bot):
return (
('command', PATTERN, mock),
)
# vim: set sts=4 sw=4 ts=8 expandtab ft=python:
| name = 'mock'
enable = True
pattern = '^!mock (?P<phrase>.*)'
usage = 'Usage: !mock <phrase>\nGiven a phrase, this translates the phrase into a mocking spongebob phrase.\nExample:\n > !mock it should work on slack and irc\n iT ShOuLd wOrK On sLaCk aNd iRc\n'
async def mock(bot, message, phrase):
phrase = phrase.lower().rstrip()
response = ''
for (count, letter) in enumerate(phrase):
if count % 2:
letter = letter.upper()
response += letter
return message.with_body(response)
def register(bot):
return (('command', PATTERN, mock),) |
"""
To sum in a sorted array
Given:
l: a list of sorted arrays
s: integer
find unique pair of items in the list l where sum is 's'
Problems:
1. Not working when there is a duplicate item is the list - [2, 3, 5, 4, 2, 1, 0]
"""
def two_sum_sorted_array(l, sum):
l.sort()
print(l)
a = 0
z = len(l)-1
while a < z:
sum = l[a] + l[z]
if sum == s:
print(l[a], l[z])
a = a + 1
z = z - 1
elif sum > s:
z = z-1
else:
a = a + 1
if __name__ == '__main__':
l = [2, 3, 5, 4, 2, 1, 0]
s = 4
two_sum_sorted_array(l, s) | """
To sum in a sorted array
Given:
l: a list of sorted arrays
s: integer
find unique pair of items in the list l where sum is 's'
Problems:
1. Not working when there is a duplicate item is the list - [2, 3, 5, 4, 2, 1, 0]
"""
def two_sum_sorted_array(l, sum):
l.sort()
print(l)
a = 0
z = len(l) - 1
while a < z:
sum = l[a] + l[z]
if sum == s:
print(l[a], l[z])
a = a + 1
z = z - 1
elif sum > s:
z = z - 1
else:
a = a + 1
if __name__ == '__main__':
l = [2, 3, 5, 4, 2, 1, 0]
s = 4
two_sum_sorted_array(l, s) |
# Check For Vowel in a sentence....
s = input("Enter String: ")
s = s.lower()
f = 0
for i in range(0, len(s)):
if(s[i] == 'a' or s[i] == 'e' or s[i] == 'i' or s[i] == 'o' or s[i] == 'u'):
f = 2
break
else:
f = 1
if f > 1:
print("Yes, Present")
else:
print("No, Not Present")
| s = input('Enter String: ')
s = s.lower()
f = 0
for i in range(0, len(s)):
if s[i] == 'a' or s[i] == 'e' or s[i] == 'i' or (s[i] == 'o') or (s[i] == 'u'):
f = 2
break
else:
f = 1
if f > 1:
print('Yes, Present')
else:
print('No, Not Present') |
"""Provides python helper functions."""
load("@pydeps//:requirements.bzl", _requirement = "requirement")
def filter_deps(deps = None):
if deps == None:
deps = []
return [dep for dep in deps if dep]
def py_library(deps = None, **kwargs):
return native.py_library(deps = filter_deps(deps), **kwargs)
def py_test(deps = None, **kwargs):
return native.py_test(deps = filter_deps(deps), **kwargs)
def requirement(name, direct = True):
""" requirement returns the required dependency. """
return _requirement(name)
| """Provides python helper functions."""
load('@pydeps//:requirements.bzl', _requirement='requirement')
def filter_deps(deps=None):
if deps == None:
deps = []
return [dep for dep in deps if dep]
def py_library(deps=None, **kwargs):
return native.py_library(deps=filter_deps(deps), **kwargs)
def py_test(deps=None, **kwargs):
return native.py_test(deps=filter_deps(deps), **kwargs)
def requirement(name, direct=True):
""" requirement returns the required dependency. """
return _requirement(name) |
class Crawler:
"""
This class handles the calling of the scraper.
"""
def __init__(self) -> None:
pass | class Crawler:
"""
This class handles the calling of the scraper.
"""
def __init__(self) -> None:
pass |
"""
Generators Expression
WE studied:
- List Comprehension
- Dictionary Comprehension
- Set Comprehension
Not use:
- Tuple Comprehension => because call Generators
# List Comprehension
names = ['Carlos', 'Camila', 'Carla', 'Cassino', 'Cristina', 'Vanessa']
print(any([name[0] == 'C' for name in names])) # True
# Generator => Less resource of memory computer
names = ['Carlos', 'Camila', 'Carla', 'Cassino', 'Cristina', 'Vanessa']
print(any((name[0] == 'C' for name in names))) # True
# List Comprehension
result = [name[0] == 'C' for name in names]
print(type(result)) # <class 'list'>
print(result) # [True, True, True, True, True, False]
# Generator => Less resource of memory computer
result = (name[0] == 'C' for name in names)
print(type(result)) # <class 'generator'>
print(result) # print(result) #
# import sys
# getsizeof => quantity of size in byte at memory
from sys import getsizeof
print(getsizeof('Yumi')) # 53
print(getsizeof('Yumi Ouchi')) # 59
print(getsizeof(9)) # 28
print(getsizeof(91)) # 28
print(getsizeof(1234123412)) # 32
print(getsizeof(True)) # 28
list_comp = getsizeof([x * 10 for x in range(1000)])
set_comp = getsizeof({x * 10 for x in range(1000)})
dict_comp = getsizeof({x:x * 10 for x in range(1000)})
gen_comp = getsizeof(x * 10 for x in range(1000))
print("Memory:")
print(f'List Comprehension: {list_comp}') # 9024
print(f'Set Comprehension: {set_comp}') # 32992
print(f'Dictionary Comprehension: {dict_comp}') # 36968
print(f'Generator: {gen_comp}') # 88
"""
gen_comp = (x * 10 for x in range(1000))
print(gen_comp) # <generator object <genexpr> at 0x000001484F2CFD58>
print(type(gen_comp)) # <class 'generator'>
for number in gen_comp:
print(number)
| """
Generators Expression
WE studied:
- List Comprehension
- Dictionary Comprehension
- Set Comprehension
Not use:
- Tuple Comprehension => because call Generators
# List Comprehension
names = ['Carlos', 'Camila', 'Carla', 'Cassino', 'Cristina', 'Vanessa']
print(any([name[0] == 'C' for name in names])) # True
# Generator => Less resource of memory computer
names = ['Carlos', 'Camila', 'Carla', 'Cassino', 'Cristina', 'Vanessa']
print(any((name[0] == 'C' for name in names))) # True
# List Comprehension
result = [name[0] == 'C' for name in names]
print(type(result)) # <class 'list'>
print(result) # [True, True, True, True, True, False]
# Generator => Less resource of memory computer
result = (name[0] == 'C' for name in names)
print(type(result)) # <class 'generator'>
print(result) # print(result) #
# import sys
# getsizeof => quantity of size in byte at memory
from sys import getsizeof
print(getsizeof('Yumi')) # 53
print(getsizeof('Yumi Ouchi')) # 59
print(getsizeof(9)) # 28
print(getsizeof(91)) # 28
print(getsizeof(1234123412)) # 32
print(getsizeof(True)) # 28
list_comp = getsizeof([x * 10 for x in range(1000)])
set_comp = getsizeof({x * 10 for x in range(1000)})
dict_comp = getsizeof({x:x * 10 for x in range(1000)})
gen_comp = getsizeof(x * 10 for x in range(1000))
print("Memory:")
print(f'List Comprehension: {list_comp}') # 9024
print(f'Set Comprehension: {set_comp}') # 32992
print(f'Dictionary Comprehension: {dict_comp}') # 36968
print(f'Generator: {gen_comp}') # 88
"""
gen_comp = (x * 10 for x in range(1000))
print(gen_comp)
print(type(gen_comp))
for number in gen_comp:
print(number) |
# Given a 2D grid, each cell is either a wall 'W',
# an enemy 'E' or empty '0' (the number zero),
# return the maximum enemies you can kill using one bomb.
# The bomb kills all the enemies in the same row and column from
# the planted point until it hits the wall since the wall is too strong
# to be destroyed.
# Note that you can only put the bomb at an empty cell.
# Example:
# For the given grid
# 0 E 0 0
# E 0 W E
# 0 E 0 0
# return 3. (Placing a bomb at (1,1) kills 3 enemies)
def max_killed_enemies(grid):
if not grid: return 0
m, n = len(grid), len(grid[0])
max_killed = 0
row_e, col_e = 0, [0] * n
for i in range(m):
for j in range(n):
if j == 0 or grid[i][j-1] == 'W':
row_e = row_kills(grid, i, j)
if i == 0 or grid[i-1][j] == 'W':
col_e[j] = col_kills(grid, i, j)
if grid[i][j] == '0':
max_killed = max(max_killed, row_e + col_e[j])
return max_killed
# calculate killed enemies for row i from column j
def row_kills(grid, i, j):
num = 0
while j < len(grid[0]) and grid[i][j] != 'W':
if grid[i][j] == 'E':
num += 1
j += 1
return num
# calculate killed enemies for column j from row i
def col_kills(grid, i, j):
num = 0
while i < len(grid) and grid[i][j] != 'W':
if grid[i][j] == 'E':
num += 1
i += 1
return num
grid = [
["0", "E", "0", "E"],
["E", "E", "E", "0"],
["E", "0", "W", "E"],
["0", "E", "0", "0"]]
print(grid)
print(max_killed_enemies(grid))
| def max_killed_enemies(grid):
if not grid:
return 0
(m, n) = (len(grid), len(grid[0]))
max_killed = 0
(row_e, col_e) = (0, [0] * n)
for i in range(m):
for j in range(n):
if j == 0 or grid[i][j - 1] == 'W':
row_e = row_kills(grid, i, j)
if i == 0 or grid[i - 1][j] == 'W':
col_e[j] = col_kills(grid, i, j)
if grid[i][j] == '0':
max_killed = max(max_killed, row_e + col_e[j])
return max_killed
def row_kills(grid, i, j):
num = 0
while j < len(grid[0]) and grid[i][j] != 'W':
if grid[i][j] == 'E':
num += 1
j += 1
return num
def col_kills(grid, i, j):
num = 0
while i < len(grid) and grid[i][j] != 'W':
if grid[i][j] == 'E':
num += 1
i += 1
return num
grid = [['0', 'E', '0', 'E'], ['E', 'E', 'E', '0'], ['E', '0', 'W', 'E'], ['0', 'E', '0', '0']]
print(grid)
print(max_killed_enemies(grid)) |
def insertion_sort(arr):
isSorted = None
while not isSorted:
isSorted = True
for x,val in enumerate(arr):
try:
if val>arr[x+1]:
temp = arr[x]
arr[x] = arr[x+1]
arr[x+1] = temp
isSorted = False
except IndexError:
x-=1
return arr
print(insertion_sort([5,3,1,2,10,5,7,4,5]))
print(insertion_sort([1,2,3]))
print(insertion_sort([3,2,1,4,4,4,10,1000]))
| def insertion_sort(arr):
is_sorted = None
while not isSorted:
is_sorted = True
for (x, val) in enumerate(arr):
try:
if val > arr[x + 1]:
temp = arr[x]
arr[x] = arr[x + 1]
arr[x + 1] = temp
is_sorted = False
except IndexError:
x -= 1
return arr
print(insertion_sort([5, 3, 1, 2, 10, 5, 7, 4, 5]))
print(insertion_sort([1, 2, 3]))
print(insertion_sort([3, 2, 1, 4, 4, 4, 10, 1000])) |
# -*- coding: utf-8 -*-
def main():
a, b = map(int, input().split())
a -= 1
b -= 1
n = 100
grid = [['.'] * n for _ in range(n // 2)]
for _ in range(n // 2):
grid.append(['#'] * n)
print(n, n)
for i in range(0, n // 2, 2):
for j in range(0, n, 2):
if b > 0:
grid[i][j] = '#'
b -= 1
else:
break
for i in range(51, n, 2):
for j in range(0, n, 2):
if a > 0:
grid[i][j] = '.'
a -= 1
else:
break
for g in grid:
print(''.join(map(str, g)))
if __name__ == '__main__':
main()
| def main():
(a, b) = map(int, input().split())
a -= 1
b -= 1
n = 100
grid = [['.'] * n for _ in range(n // 2)]
for _ in range(n // 2):
grid.append(['#'] * n)
print(n, n)
for i in range(0, n // 2, 2):
for j in range(0, n, 2):
if b > 0:
grid[i][j] = '#'
b -= 1
else:
break
for i in range(51, n, 2):
for j in range(0, n, 2):
if a > 0:
grid[i][j] = '.'
a -= 1
else:
break
for g in grid:
print(''.join(map(str, g)))
if __name__ == '__main__':
main() |
# Constant values
IS_COLD_START = True
WARM_ACTION_INDENTIFIER = 'warm_up'
DEFAULT_WARM_METHOD = 'sleep'
| is_cold_start = True
warm_action_indentifier = 'warm_up'
default_warm_method = 'sleep' |
def test_endpoint_with_var2(client):
response = client.get("/items2/2")
assert response.status_code == 200
assert response.json() == {"item_id": 2}
| def test_endpoint_with_var2(client):
response = client.get('/items2/2')
assert response.status_code == 200
assert response.json() == {'item_id': 2} |
class SampleClass:
@staticmethod
def sample_method(a, b):
return a + b
| class Sampleclass:
@staticmethod
def sample_method(a, b):
return a + b |
name = "S - Density Squares"
description = "Trigger randomly placed squares"
knob1 = "Square Size"
knob2 = "Density"
knob3 = "Line Width"
knob4 = "Color"
released = "March 21 2017"
| name = 'S - Density Squares'
description = 'Trigger randomly placed squares'
knob1 = 'Square Size'
knob2 = 'Density'
knob3 = 'Line Width'
knob4 = 'Color'
released = 'March 21 2017' |
'''
Interface Genie Ops Object Outputs for IOSXR.
'''
class InterfaceOutput(object):
ShowInterfacesDetail = {
'GigabitEthernet0/0/0/0': {
'auto_negotiate': True,
'bandwidth': 768,
'counters': {'carrier_transitions': 0,
'drops': 0,
'in_abort': 0,
'in_broadcast_pkts': 0,
'in_crc_errors': 0,
'in_discards': 0,
'in_errors': 0,
'in_frame': 0,
'in_giants': 0,
'in_ignored': 0,
'in_multicast_pkts': 0,
'in_octets': 0,
'in_overrun': 0,
'in_parity': 0,
'in_pkts': 0,
'in_runts': 0,
'in_throttles': 0,
'last_clear': 'never',
'out_applique': 0,
'out_broadcast_pkts': 0,
'out_buffer_failures': 0,
'out_buffer_swapped_out': 0,
'out_discards': 0,
'out_errors': 0,
'out_multicast_pkts': 0,
'out_octets': 0,
'out_pkts': 0,
'out_resets': 0,
'out_underruns': 0,
'rate': {'in_rate': 0,
'in_rate_pkts': 0,
'load_interval': 30,
'out_rate': 0,
'out_rate_pkts': 0}},
'description': 'desc',
'duplex_mode': 'full',
'enabled': False,
'encapsulations': {'encapsulation': 'ARPA'},
'flow_control': {'flow_control_receive': False,
'flow_control_send': False},
'interface_state': 0,
'ipv4': {'10.1.1.1/24': {'ip': '10.1.1.1',
'prefix_length': '24'}},
'last_input': 'never',
'last_output': 'never',
'line_protocol': 'administratively down',
'location': 'unknown',
'loopback_status': 'not set',
'mac_address': 'aaaa.bbbb.cccc',
'mtu': 1600,
'phys_address': '5254.0077.9407',
'port_speed': '1000Mb/s',
'reliability': '255/255',
'rxload': '0/255',
'txload': '0/255',
'types': 'GigabitEthernet'},
'GigabitEthernet0/0/0/0.10': {
'bandwidth': 768,
'counters': {'drops': 0,
'in_broadcast_pkts': 0,
'in_discards': 0,
'in_multicast_pkts': 0,
'in_octets': 0,
'in_pkts': 0,
'last_clear': 'never',
'out_broadcast_pkts': 0,
'out_discards': 0,
'out_multicast_pkts': 0,
'out_octets': 0,
'out_pkts': 0,
'rate': {'in_rate': 0,
'in_rate_pkts': 0,
'load_interval': 5,
'out_rate': 0,
'out_rate_pkts': 0}},
'enabled': False,
'encapsulations': {'encapsulation': '802.1Q '
'Virtual '
'LAN',
'first_dot1q': '10',
'second_dot1q': '10'},
'interface_state': 0,
'last_input': 'never',
'last_output': 'never',
'line_protocol': 'administratively down',
'loopback_status': 'not set',
'mtu': 1608,
'reliability': '255/255',
'rxload': '0/255',
'txload': '0/255'},
'GigabitEthernet0/0/0/0.20': {
'bandwidth': 768,
'counters': {'drops': 0,
'in_broadcast_pkts': 0,
'in_discards': 0,
'in_multicast_pkts': 0,
'in_octets': 0,
'in_pkts': 0,
'last_clear': 'never',
'out_broadcast_pkts': 0,
'out_discards': 0,
'out_multicast_pkts': 0,
'out_octets': 0,
'out_pkts': 0,
'rate': {'in_rate': 0,
'in_rate_pkts': 0,
'load_interval': 5,
'out_rate': 0,
'out_rate_pkts': 0}},
'enabled': False,
'encapsulations': {'encapsulation': '802.1Q '
'Virtual '
'LAN',
'first_dot1q': '20'},
'interface_state': 0,
'last_input': 'never',
'last_output': 'never',
'line_protocol': 'administratively down',
'loopback_status': 'not set',
'mtu': 1604,
'reliability': '255/255',
'rxload': '0/255',
'txload': '0/255'},
'MgmtEth0/0/CPU0/0': {
'auto_negotiate': True,
'bandwidth': 0,
'counters': {'carrier_transitions': 0,
'drops': 0,
'in_abort': 0,
'in_broadcast_pkts': 0,
'in_crc_errors': 0,
'in_discards': 0,
'in_errors': 0,
'in_frame': 0,
'in_giants': 0,
'in_ignored': 0,
'in_multicast_pkts': 0,
'in_octets': 0,
'in_overrun': 0,
'in_parity': 0,
'in_pkts': 0,
'in_runts': 0,
'in_throttles': 0,
'last_clear': 'never',
'out_applique': 0,
'out_broadcast_pkts': 0,
'out_buffer_failures': 0,
'out_buffer_swapped_out': 0,
'out_discards': 0,
'out_errors': 0,
'out_multicast_pkts': 0,
'out_octets': 0,
'out_pkts': 0,
'out_resets': 0,
'out_underruns': 0,
'rate': {'in_rate': 0,
'in_rate_pkts': 0,
'load_interval': 5,
'out_rate': 0,
'out_rate_pkts': 0}},
'duplex_mode': 'duplex unknown',
'enabled': False,
'encapsulations': {'encapsulation': 'ARPA'},
'flow_control': {'flow_control_receive': False,
'flow_control_send': False},
'interface_state': 0,
'last_input': 'never',
'last_output': 'never',
'line_protocol': 'administratively down',
'location': 'unknown',
'loopback_status': 'not set',
'mac_address': '5254.00c3.6c43',
'mtu': 1514,
'phys_address': '5254.00c3.6c43',
'port_speed': '0Kb/s',
'reliability': '255/255',
'rxload': 'Unknown',
'txload': 'Unknown',
'types': 'Management Ethernet'},
'Null0': {
'bandwidth': 0,
'counters': {'drops': 0,
'in_broadcast_pkts': 0,
'in_discards': 0,
'in_multicast_pkts': 0,
'in_octets': 0,
'in_pkts': 0,
'last_clear': 'never',
'out_broadcast_pkts': 0,
'out_discards': 0,
'out_multicast_pkts': 0,
'out_octets': 0,
'out_pkts': 0,
'rate': {'in_rate': 0,
'in_rate_pkts': 0,
'load_interval': 5,
'out_rate': 0,
'out_rate_pkts': 0}},
'enabled': True,
'encapsulations': {'encapsulation': 'Null'},
'last_input': 'never',
'last_output': 'never',
'line_protocol': 'up',
'loopback_status': 'not set',
'mtu': 1500,
'reliability': '255/255',
'rxload': 'Unknown',
'txload': 'Unknown',
'types': 'Null'}
}
ShowEthernetTags = {
"GigabitEthernet0/0/0/0.10": {
"rewrite_num_of_tags_push": 0,
"status": "up",
"rewrite_num_of_tags_pop": 1,
"mtu": 1518,
"outer_vlan": ".1Q:10",
"vlan_id": "10"
},
"GigabitEthernet0/0/0/0.20": {
"rewrite_num_of_tags_push": 0,
"status": "up",
"rewrite_num_of_tags_pop": 1,
"mtu": 1518,
"outer_vlan": ".1Q:20",
"vlan_id": "20"
}
}
ShowIpv6VrfAllInterface = {
'GigabitEthernet0/0/0/0': {
'enabled': True,
'int_status': 'shutdown',
'ipv6': {'2001:db8:1:1::1/64': {'ipv6': '2001:db8:1:1::1',
'ipv6_prefix_length': '64',
'ipv6_status': 'tentative',
'ipv6_subnet': '2001:db8:1:1::'},
'2001:db8:2:2::2/64': {'ipv6': '2001:db8:2:2::2',
'ipv6_prefix_length': '64',
'ipv6_status': 'tentative',
'ipv6_subnet': '2001:db8:2:2::'},
'2001:db8:3:3:a8aa:bbff:febb:cccc/64': {'ipv6': '2001:db8:3:3:a8aa:bbff:febb:cccc',
'ipv6_eui64': True,
'ipv6_prefix_length': '64',
'ipv6_status': 'tentative',
'ipv6_subnet': '2001:db8:3:3::'},
'2001:db8:4:4::4/64': {'ipv6': '2001:db8:4:4::4',
'ipv6_prefix_length': '64',
'ipv6_route_tag': '10',
'ipv6_status': 'tentative',
'ipv6_subnet': '2001:db8:4:4::'},
'auto_config_state': 'stateless',
'complete_glean_adj': '0',
'complete_protocol_adj': '0',
'dropped_glean_req': '0',
'dropped_protocol_req': '0',
'icmp_redirects': 'disabled',
'icmp_unreachables': 'enabled',
'in_access_list': 'not set',
'incomplete_glean_adj': '0',
'incomplete_protocol_adj': '0',
'ipv6_link_local': 'fe80::a8aa:bbff:febb:cccc',
'ipv6_link_local_state': 'tentative',
'ipv6_mtu': '1600',
'ipv6_mtu_available': '1586',
'nd_adv_retrans_int': '0',
'nd_cache_limit': '1000000000',
'nd_reachable_time': '0',
'out_access_list': 'not set',
'table_id': '0xe0800011'},
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'VRF1',
'vrf_id': '0x60000002'},
'GigabitEthernet0/0/0/0.10': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/0.20': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/1': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'VRF2',
'vrf_id': '0x60000003'},
'GigabitEthernet0/0/0/2': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/3': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/4': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/5': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/6': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'MgmtEth0/0/CPU0/0': {'enabled': False,
'int_status': 'shutdown',
'ipv6_enabled': False,
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'}
}
ShowIpv4VrfAllInterface = {
'GigabitEthernet0/0/0/0': {
'int_status': 'shutdown',
'ipv4': {'10.1.1.1/24': {'ip': '10.1.1.1',
'prefix_length': '24',
'route_tag': 50},
'10.2.2.2/24': {'arp': 'disabled',
'broadcast_forwarding': 'disabled',
'helper_address': 'not '
'set',
'icmp_redirects': 'never '
'sent',
'icmp_replies': 'never '
'sent',
'icmp_unreachables': 'always '
'sent',
'in_access_list': 'not '
'set',
'ip': '10.2.2.2',
'mtu': 1600,
'mtu_available': 1586,
'out_access_list': 'not '
'set',
'prefix_length': '24',
'secondary': True,
'table_id': '0xe0000011'},
'unnumbered': {'unnumbered_int': '111.111.111.111/32',
'unnumbered_intf_ref': 'Loopback11'}},
'oper_status': 'down',
'vrf': 'VRF1',
'vrf_id': '0x60000002'},
'GigabitEthernet0/0/0/0.10': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/0.20': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/1': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'VRF2',
'vrf_id': '0x60000003'},
'GigabitEthernet0/0/0/2': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/3': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/4': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/5': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'GigabitEthernet0/0/0/6': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'},
'MgmtEth0/0/CPU0/0': {'int_status': 'shutdown',
'oper_status': 'down',
'vrf': 'default',
'vrf_id': '0x60000000'}
}
ShowVrfAllDetail = {
"VRF1": {
"description": "not set",
"vrf_mode": "Regular",
"address_family": {
"ipv6 unicast": {
"route_target": {
"400:1": {
"rt_type": "import",
"route_target": "400:1"
},
"300:1": {
"rt_type": "import",
"route_target": "300:1"
},
"200:1": {
"rt_type": "both",
"route_target": "200:1"
},
"200:2": {
"rt_type": "import",
"route_target": "200:2"
}
}
},
"ipv4 unicast": {
"route_target": {
"400:1": {
"rt_type": "import",
"route_target": "400:1"
},
"300:1": {
"rt_type": "import",
"route_target": "300:1"
},
"200:1": {
"rt_type": "both",
"route_target": "200:1"
},
"200:2": {
"rt_type": "import",
"route_target": "200:2"
}
}
}
},
"route_distinguisher": "200:1",
"interfaces": [
"GigabitEthernet0/0/0/1"
]
},
"VRF2": {
"description": "not set",
"vrf_mode": "Regular",
"address_family": {
"ipv6 unicast": {
"route_target": {
"200:2": {
"rt_type": "both",
"route_target": "200:2"
}
}
},
"ipv4 unicast": {
"route_target": {
"200:2": {
"rt_type": "both",
"route_target": "200:2"
}
}
}
},
"route_distinguisher": "200:2",
"interfaces": [
"GigabitEthernet0/0/0/2"
]}
}
ShowInterfacesAccounting = \
{
"GigabitEthernet0/0/0/0": {
"accounting": {
"arp": {
"chars_in": 378,
"chars_out": 378,
"pkts_in": 9,
"pkts_out": 9
},
"ipv4_multicast": {
"chars_in": 0,
"chars_out": 843700,
"pkts_in": 0,
"pkts_out": 10514
},
"ipv4_unicast": {
"chars_in": 1226852,
"chars_out": 887519,
"pkts_in": 19254,
"pkts_out": 13117
}
}
},
"GigabitEthernet0/0/0/1": {
"accounting": {
"arp": {
"chars_in": 378,
"chars_out": 378,
"pkts_in": 9,
"pkts_out": 9
},
"ipv4_multicast": {
"chars_in": 0,
"chars_out": 844816,
"pkts_in": 0,
"pkts_out": 10530
},
"ipv4_unicast": {
"chars_in": 843784,
"chars_out": 1764,
"pkts_in": 10539,
"pkts_out": 26
}
}
}
}
InterfaceOpsOutput_info = {
"Null0": {
"mtu": 1500,
"type": "Null",
"enabled": True,
"bandwidth": 0,
"counters": {
"in_octets": 0,
"out_broadcast_pkts": 0,
"out_pkts": 0,
"in_discards": 0,
"in_pkts": 0,
"in_multicast_pkts": 0,
"in_broadcast_pkts": 0,
"rate": {
"out_rate": 0,
"out_rate_pkts": 0,
"in_rate_pkts": 0,
"load_interval": 5,
"in_rate": 0
},
"last_clear": "never",
"out_multicast_pkts": 0,
"out_octets": 0
},
"encapsulation": {
"encapsulation": "Null"
},
},
"MgmtEth0/0/CPU0/0": {
"mtu": 1514,
"mac_address": "5254.00c3.6c43",
"flow_control": {
"flow_control_receive": False,
"flow_control_send": False
},
"type": "Management Ethernet",
"enabled": False,
"encapsulation": {
"encapsulation": "ARPA"
},
"auto_negotiate": True,
"bandwidth": 0,
"counters": {
"out_broadcast_pkts": 0,
"in_multicast_pkts": 0,
"in_crc_errors": 0,
"in_pkts": 0,
"in_errors": 0,
"in_broadcast_pkts": 0,
"out_multicast_pkts": 0,
"out_errors": 0,
"in_octets": 0,
"rate": {
"out_rate": 0,
"out_rate_pkts": 0,
"in_rate_pkts": 0,
"load_interval": 5,
"in_rate": 0
},
"out_pkts": 0,
"in_discards": 0,
"last_clear": "never",
"out_octets": 0
},
"duplex_mode": "duplex unknown",
"port_speed": "0Kb/s",
"phys_address": "5254.00c3.6c43",
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/5": {
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/4": {
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/0": {
"mtu": 1600,
"mac_address": "aaaa.bbbb.cccc",
"description": "desc",
"duplex_mode": "full",
"type": "GigabitEthernet",
"enabled": False,
"encapsulation": {
"encapsulation": "ARPA"
},
"auto_negotiate": True,
"ipv4": {
"10.1.1.1/24": {
"ip": "10.1.1.1",
"prefix_length": "24",
"route_tag": 50},
"10.2.2.2/24": {
"ip": '10.2.2.2',
'prefix_length': '24',
'secondary': True},
"unnumbered": {
"unnumbered_intf_ref": "Loopback11"
}
},
"bandwidth": 768,
"accounting": {
"arp": {
"chars_in": 378,
"chars_out": 378,
"pkts_in": 9,
"pkts_out": 9
},
"ipv4_multicast": {
"chars_in": 0,
"chars_out": 843700,
"pkts_in": 0,
"pkts_out": 10514
},
"ipv4_unicast": {
"chars_in": 1226852,
"chars_out": 887519,
"pkts_in": 19254,
"pkts_out": 13117
}
},
"counters": {
"out_broadcast_pkts": 0,
"in_multicast_pkts": 0,
"in_crc_errors": 0,
"in_pkts": 0,
"in_errors": 0,
"in_broadcast_pkts": 0,
"out_multicast_pkts": 0,
"out_errors": 0,
"in_octets": 0,
"rate": {
"out_rate": 0,
"out_rate_pkts": 0,
"in_rate_pkts": 0,
"load_interval": 30,
"in_rate": 0
},
"out_pkts": 0,
"in_discards": 0,
"last_clear": "never",
"out_octets": 0
},
"flow_control": {
"flow_control_receive": False,
"flow_control_send": False
},
"port_speed": "1000Mb/s",
"phys_address": "5254.0077.9407",
"ipv6": {
"2001:db8:2:2::2/64": {
"status": "tentative",
"ip": "2001:db8:2:2::2",
"prefix_length": "64"
},
"2001:db8:1:1::1/64": {
"status": "tentative",
"ip": "2001:db8:1:1::1",
"prefix_length": "64"
},
"enabled": False,
"2001:db8:4:4::4/64": {
"status": "tentative",
"route_tag": "10",
"ip": "2001:db8:4:4::4",
"prefix_length": "64"
},
"2001:db8:3:3:a8aa:bbff:febb:cccc/64": {
"status": "tentative",
"ip": "2001:db8:3:3:a8aa:bbff:febb:cccc",
"prefix_length": "64",
"eui64": True
}
}
},
"GigabitEthernet0/0/0/1": {
"vrf": "VRF1",
"ipv6": {
"enabled": False
},
"accounting": {
"arp": {
"chars_in": 378,
"chars_out": 378,
"pkts_in": 9,
"pkts_out": 9
},
"ipv4_multicast": {
"chars_in": 0,
"chars_out": 844816,
"pkts_in": 0,
"pkts_out": 10530
},
"ipv4_unicast": {
"chars_in": 843784,
"chars_out": 1764,
"pkts_in": 10539,
"pkts_out": 26
}
}
},
"GigabitEthernet0/0/0/6": {
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/0.20": {
"mtu": 1604,
"counters": {
"in_octets": 0,
"out_broadcast_pkts": 0,
"out_pkts": 0,
"in_discards": 0,
"in_pkts": 0,
"in_multicast_pkts": 0,
"in_broadcast_pkts": 0,
"rate": {
"out_rate": 0,
"out_rate_pkts": 0,
"in_rate_pkts": 0,
"load_interval": 5,
"in_rate": 0
},
"last_clear": "never",
"out_multicast_pkts": 0,
"out_octets": 0
},
"enabled": False,
"bandwidth": 768,
"vlan_id": '20',
"encapsulation": {
"encapsulation": "802.1Q Virtual LAN",
"first_dot1q": "20"
},
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/2": {
"vrf": "VRF2",
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/3": {
"ipv6": {
"enabled": False
}
},
"GigabitEthernet0/0/0/0.10": {
"mtu": 1608,
"counters": {
"in_octets": 0,
"out_broadcast_pkts": 0,
"out_pkts": 0,
"in_discards": 0,
"in_pkts": 0,
"in_multicast_pkts": 0,
"in_broadcast_pkts": 0,
"rate": {
"out_rate": 0,
"out_rate_pkts": 0,
"in_rate_pkts": 0,
"load_interval": 5,
"in_rate": 0
},
"last_clear": "never",
"out_multicast_pkts": 0,
"out_octets": 0
},
"enabled": False,
"bandwidth": 768,
"vlan_id": '10',
"encapsulation": {
"encapsulation": "802.1Q Virtual LAN",
"first_dot1q": "10",
"second_dot1q": "10"
},
"ipv6": {
"enabled": False
}
}
}
| """
Interface Genie Ops Object Outputs for IOSXR.
"""
class Interfaceoutput(object):
show_interfaces_detail = {'GigabitEthernet0/0/0/0': {'auto_negotiate': True, 'bandwidth': 768, 'counters': {'carrier_transitions': 0, 'drops': 0, 'in_abort': 0, 'in_broadcast_pkts': 0, 'in_crc_errors': 0, 'in_discards': 0, 'in_errors': 0, 'in_frame': 0, 'in_giants': 0, 'in_ignored': 0, 'in_multicast_pkts': 0, 'in_octets': 0, 'in_overrun': 0, 'in_parity': 0, 'in_pkts': 0, 'in_runts': 0, 'in_throttles': 0, 'last_clear': 'never', 'out_applique': 0, 'out_broadcast_pkts': 0, 'out_buffer_failures': 0, 'out_buffer_swapped_out': 0, 'out_discards': 0, 'out_errors': 0, 'out_multicast_pkts': 0, 'out_octets': 0, 'out_pkts': 0, 'out_resets': 0, 'out_underruns': 0, 'rate': {'in_rate': 0, 'in_rate_pkts': 0, 'load_interval': 30, 'out_rate': 0, 'out_rate_pkts': 0}}, 'description': 'desc', 'duplex_mode': 'full', 'enabled': False, 'encapsulations': {'encapsulation': 'ARPA'}, 'flow_control': {'flow_control_receive': False, 'flow_control_send': False}, 'interface_state': 0, 'ipv4': {'10.1.1.1/24': {'ip': '10.1.1.1', 'prefix_length': '24'}}, 'last_input': 'never', 'last_output': 'never', 'line_protocol': 'administratively down', 'location': 'unknown', 'loopback_status': 'not set', 'mac_address': 'aaaa.bbbb.cccc', 'mtu': 1600, 'phys_address': '5254.0077.9407', 'port_speed': '1000Mb/s', 'reliability': '255/255', 'rxload': '0/255', 'txload': '0/255', 'types': 'GigabitEthernet'}, 'GigabitEthernet0/0/0/0.10': {'bandwidth': 768, 'counters': {'drops': 0, 'in_broadcast_pkts': 0, 'in_discards': 0, 'in_multicast_pkts': 0, 'in_octets': 0, 'in_pkts': 0, 'last_clear': 'never', 'out_broadcast_pkts': 0, 'out_discards': 0, 'out_multicast_pkts': 0, 'out_octets': 0, 'out_pkts': 0, 'rate': {'in_rate': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'out_rate': 0, 'out_rate_pkts': 0}}, 'enabled': False, 'encapsulations': {'encapsulation': '802.1Q Virtual LAN', 'first_dot1q': '10', 'second_dot1q': '10'}, 'interface_state': 0, 'last_input': 'never', 'last_output': 'never', 'line_protocol': 'administratively down', 'loopback_status': 'not set', 'mtu': 1608, 'reliability': '255/255', 'rxload': '0/255', 'txload': '0/255'}, 'GigabitEthernet0/0/0/0.20': {'bandwidth': 768, 'counters': {'drops': 0, 'in_broadcast_pkts': 0, 'in_discards': 0, 'in_multicast_pkts': 0, 'in_octets': 0, 'in_pkts': 0, 'last_clear': 'never', 'out_broadcast_pkts': 0, 'out_discards': 0, 'out_multicast_pkts': 0, 'out_octets': 0, 'out_pkts': 0, 'rate': {'in_rate': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'out_rate': 0, 'out_rate_pkts': 0}}, 'enabled': False, 'encapsulations': {'encapsulation': '802.1Q Virtual LAN', 'first_dot1q': '20'}, 'interface_state': 0, 'last_input': 'never', 'last_output': 'never', 'line_protocol': 'administratively down', 'loopback_status': 'not set', 'mtu': 1604, 'reliability': '255/255', 'rxload': '0/255', 'txload': '0/255'}, 'MgmtEth0/0/CPU0/0': {'auto_negotiate': True, 'bandwidth': 0, 'counters': {'carrier_transitions': 0, 'drops': 0, 'in_abort': 0, 'in_broadcast_pkts': 0, 'in_crc_errors': 0, 'in_discards': 0, 'in_errors': 0, 'in_frame': 0, 'in_giants': 0, 'in_ignored': 0, 'in_multicast_pkts': 0, 'in_octets': 0, 'in_overrun': 0, 'in_parity': 0, 'in_pkts': 0, 'in_runts': 0, 'in_throttles': 0, 'last_clear': 'never', 'out_applique': 0, 'out_broadcast_pkts': 0, 'out_buffer_failures': 0, 'out_buffer_swapped_out': 0, 'out_discards': 0, 'out_errors': 0, 'out_multicast_pkts': 0, 'out_octets': 0, 'out_pkts': 0, 'out_resets': 0, 'out_underruns': 0, 'rate': {'in_rate': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'out_rate': 0, 'out_rate_pkts': 0}}, 'duplex_mode': 'duplex unknown', 'enabled': False, 'encapsulations': {'encapsulation': 'ARPA'}, 'flow_control': {'flow_control_receive': False, 'flow_control_send': False}, 'interface_state': 0, 'last_input': 'never', 'last_output': 'never', 'line_protocol': 'administratively down', 'location': 'unknown', 'loopback_status': 'not set', 'mac_address': '5254.00c3.6c43', 'mtu': 1514, 'phys_address': '5254.00c3.6c43', 'port_speed': '0Kb/s', 'reliability': '255/255', 'rxload': 'Unknown', 'txload': 'Unknown', 'types': 'Management Ethernet'}, 'Null0': {'bandwidth': 0, 'counters': {'drops': 0, 'in_broadcast_pkts': 0, 'in_discards': 0, 'in_multicast_pkts': 0, 'in_octets': 0, 'in_pkts': 0, 'last_clear': 'never', 'out_broadcast_pkts': 0, 'out_discards': 0, 'out_multicast_pkts': 0, 'out_octets': 0, 'out_pkts': 0, 'rate': {'in_rate': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'out_rate': 0, 'out_rate_pkts': 0}}, 'enabled': True, 'encapsulations': {'encapsulation': 'Null'}, 'last_input': 'never', 'last_output': 'never', 'line_protocol': 'up', 'loopback_status': 'not set', 'mtu': 1500, 'reliability': '255/255', 'rxload': 'Unknown', 'txload': 'Unknown', 'types': 'Null'}}
show_ethernet_tags = {'GigabitEthernet0/0/0/0.10': {'rewrite_num_of_tags_push': 0, 'status': 'up', 'rewrite_num_of_tags_pop': 1, 'mtu': 1518, 'outer_vlan': '.1Q:10', 'vlan_id': '10'}, 'GigabitEthernet0/0/0/0.20': {'rewrite_num_of_tags_push': 0, 'status': 'up', 'rewrite_num_of_tags_pop': 1, 'mtu': 1518, 'outer_vlan': '.1Q:20', 'vlan_id': '20'}}
show_ipv6_vrf_all_interface = {'GigabitEthernet0/0/0/0': {'enabled': True, 'int_status': 'shutdown', 'ipv6': {'2001:db8:1:1::1/64': {'ipv6': '2001:db8:1:1::1', 'ipv6_prefix_length': '64', 'ipv6_status': 'tentative', 'ipv6_subnet': '2001:db8:1:1::'}, '2001:db8:2:2::2/64': {'ipv6': '2001:db8:2:2::2', 'ipv6_prefix_length': '64', 'ipv6_status': 'tentative', 'ipv6_subnet': '2001:db8:2:2::'}, '2001:db8:3:3:a8aa:bbff:febb:cccc/64': {'ipv6': '2001:db8:3:3:a8aa:bbff:febb:cccc', 'ipv6_eui64': True, 'ipv6_prefix_length': '64', 'ipv6_status': 'tentative', 'ipv6_subnet': '2001:db8:3:3::'}, '2001:db8:4:4::4/64': {'ipv6': '2001:db8:4:4::4', 'ipv6_prefix_length': '64', 'ipv6_route_tag': '10', 'ipv6_status': 'tentative', 'ipv6_subnet': '2001:db8:4:4::'}, 'auto_config_state': 'stateless', 'complete_glean_adj': '0', 'complete_protocol_adj': '0', 'dropped_glean_req': '0', 'dropped_protocol_req': '0', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'in_access_list': 'not set', 'incomplete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'ipv6_link_local': 'fe80::a8aa:bbff:febb:cccc', 'ipv6_link_local_state': 'tentative', 'ipv6_mtu': '1600', 'ipv6_mtu_available': '1586', 'nd_adv_retrans_int': '0', 'nd_cache_limit': '1000000000', 'nd_reachable_time': '0', 'out_access_list': 'not set', 'table_id': '0xe0800011'}, 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'VRF1', 'vrf_id': '0x60000002'}, 'GigabitEthernet0/0/0/0.10': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/0.20': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/1': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'VRF2', 'vrf_id': '0x60000003'}, 'GigabitEthernet0/0/0/2': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/3': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/4': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/5': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/6': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'MgmtEth0/0/CPU0/0': {'enabled': False, 'int_status': 'shutdown', 'ipv6_enabled': False, 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}}
show_ipv4_vrf_all_interface = {'GigabitEthernet0/0/0/0': {'int_status': 'shutdown', 'ipv4': {'10.1.1.1/24': {'ip': '10.1.1.1', 'prefix_length': '24', 'route_tag': 50}, '10.2.2.2/24': {'arp': 'disabled', 'broadcast_forwarding': 'disabled', 'helper_address': 'not set', 'icmp_redirects': 'never sent', 'icmp_replies': 'never sent', 'icmp_unreachables': 'always sent', 'in_access_list': 'not set', 'ip': '10.2.2.2', 'mtu': 1600, 'mtu_available': 1586, 'out_access_list': 'not set', 'prefix_length': '24', 'secondary': True, 'table_id': '0xe0000011'}, 'unnumbered': {'unnumbered_int': '111.111.111.111/32', 'unnumbered_intf_ref': 'Loopback11'}}, 'oper_status': 'down', 'vrf': 'VRF1', 'vrf_id': '0x60000002'}, 'GigabitEthernet0/0/0/0.10': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/0.20': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/1': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'VRF2', 'vrf_id': '0x60000003'}, 'GigabitEthernet0/0/0/2': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/3': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/4': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/5': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'GigabitEthernet0/0/0/6': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}, 'MgmtEth0/0/CPU0/0': {'int_status': 'shutdown', 'oper_status': 'down', 'vrf': 'default', 'vrf_id': '0x60000000'}}
show_vrf_all_detail = {'VRF1': {'description': 'not set', 'vrf_mode': 'Regular', 'address_family': {'ipv6 unicast': {'route_target': {'400:1': {'rt_type': 'import', 'route_target': '400:1'}, '300:1': {'rt_type': 'import', 'route_target': '300:1'}, '200:1': {'rt_type': 'both', 'route_target': '200:1'}, '200:2': {'rt_type': 'import', 'route_target': '200:2'}}}, 'ipv4 unicast': {'route_target': {'400:1': {'rt_type': 'import', 'route_target': '400:1'}, '300:1': {'rt_type': 'import', 'route_target': '300:1'}, '200:1': {'rt_type': 'both', 'route_target': '200:1'}, '200:2': {'rt_type': 'import', 'route_target': '200:2'}}}}, 'route_distinguisher': '200:1', 'interfaces': ['GigabitEthernet0/0/0/1']}, 'VRF2': {'description': 'not set', 'vrf_mode': 'Regular', 'address_family': {'ipv6 unicast': {'route_target': {'200:2': {'rt_type': 'both', 'route_target': '200:2'}}}, 'ipv4 unicast': {'route_target': {'200:2': {'rt_type': 'both', 'route_target': '200:2'}}}}, 'route_distinguisher': '200:2', 'interfaces': ['GigabitEthernet0/0/0/2']}}
show_interfaces_accounting = {'GigabitEthernet0/0/0/0': {'accounting': {'arp': {'chars_in': 378, 'chars_out': 378, 'pkts_in': 9, 'pkts_out': 9}, 'ipv4_multicast': {'chars_in': 0, 'chars_out': 843700, 'pkts_in': 0, 'pkts_out': 10514}, 'ipv4_unicast': {'chars_in': 1226852, 'chars_out': 887519, 'pkts_in': 19254, 'pkts_out': 13117}}}, 'GigabitEthernet0/0/0/1': {'accounting': {'arp': {'chars_in': 378, 'chars_out': 378, 'pkts_in': 9, 'pkts_out': 9}, 'ipv4_multicast': {'chars_in': 0, 'chars_out': 844816, 'pkts_in': 0, 'pkts_out': 10530}, 'ipv4_unicast': {'chars_in': 843784, 'chars_out': 1764, 'pkts_in': 10539, 'pkts_out': 26}}}}
interface_ops_output_info = {'Null0': {'mtu': 1500, 'type': 'Null', 'enabled': True, 'bandwidth': 0, 'counters': {'in_octets': 0, 'out_broadcast_pkts': 0, 'out_pkts': 0, 'in_discards': 0, 'in_pkts': 0, 'in_multicast_pkts': 0, 'in_broadcast_pkts': 0, 'rate': {'out_rate': 0, 'out_rate_pkts': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'in_rate': 0}, 'last_clear': 'never', 'out_multicast_pkts': 0, 'out_octets': 0}, 'encapsulation': {'encapsulation': 'Null'}}, 'MgmtEth0/0/CPU0/0': {'mtu': 1514, 'mac_address': '5254.00c3.6c43', 'flow_control': {'flow_control_receive': False, 'flow_control_send': False}, 'type': 'Management Ethernet', 'enabled': False, 'encapsulation': {'encapsulation': 'ARPA'}, 'auto_negotiate': True, 'bandwidth': 0, 'counters': {'out_broadcast_pkts': 0, 'in_multicast_pkts': 0, 'in_crc_errors': 0, 'in_pkts': 0, 'in_errors': 0, 'in_broadcast_pkts': 0, 'out_multicast_pkts': 0, 'out_errors': 0, 'in_octets': 0, 'rate': {'out_rate': 0, 'out_rate_pkts': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'in_rate': 0}, 'out_pkts': 0, 'in_discards': 0, 'last_clear': 'never', 'out_octets': 0}, 'duplex_mode': 'duplex unknown', 'port_speed': '0Kb/s', 'phys_address': '5254.00c3.6c43', 'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/5': {'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/4': {'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/0': {'mtu': 1600, 'mac_address': 'aaaa.bbbb.cccc', 'description': 'desc', 'duplex_mode': 'full', 'type': 'GigabitEthernet', 'enabled': False, 'encapsulation': {'encapsulation': 'ARPA'}, 'auto_negotiate': True, 'ipv4': {'10.1.1.1/24': {'ip': '10.1.1.1', 'prefix_length': '24', 'route_tag': 50}, '10.2.2.2/24': {'ip': '10.2.2.2', 'prefix_length': '24', 'secondary': True}, 'unnumbered': {'unnumbered_intf_ref': 'Loopback11'}}, 'bandwidth': 768, 'accounting': {'arp': {'chars_in': 378, 'chars_out': 378, 'pkts_in': 9, 'pkts_out': 9}, 'ipv4_multicast': {'chars_in': 0, 'chars_out': 843700, 'pkts_in': 0, 'pkts_out': 10514}, 'ipv4_unicast': {'chars_in': 1226852, 'chars_out': 887519, 'pkts_in': 19254, 'pkts_out': 13117}}, 'counters': {'out_broadcast_pkts': 0, 'in_multicast_pkts': 0, 'in_crc_errors': 0, 'in_pkts': 0, 'in_errors': 0, 'in_broadcast_pkts': 0, 'out_multicast_pkts': 0, 'out_errors': 0, 'in_octets': 0, 'rate': {'out_rate': 0, 'out_rate_pkts': 0, 'in_rate_pkts': 0, 'load_interval': 30, 'in_rate': 0}, 'out_pkts': 0, 'in_discards': 0, 'last_clear': 'never', 'out_octets': 0}, 'flow_control': {'flow_control_receive': False, 'flow_control_send': False}, 'port_speed': '1000Mb/s', 'phys_address': '5254.0077.9407', 'ipv6': {'2001:db8:2:2::2/64': {'status': 'tentative', 'ip': '2001:db8:2:2::2', 'prefix_length': '64'}, '2001:db8:1:1::1/64': {'status': 'tentative', 'ip': '2001:db8:1:1::1', 'prefix_length': '64'}, 'enabled': False, '2001:db8:4:4::4/64': {'status': 'tentative', 'route_tag': '10', 'ip': '2001:db8:4:4::4', 'prefix_length': '64'}, '2001:db8:3:3:a8aa:bbff:febb:cccc/64': {'status': 'tentative', 'ip': '2001:db8:3:3:a8aa:bbff:febb:cccc', 'prefix_length': '64', 'eui64': True}}}, 'GigabitEthernet0/0/0/1': {'vrf': 'VRF1', 'ipv6': {'enabled': False}, 'accounting': {'arp': {'chars_in': 378, 'chars_out': 378, 'pkts_in': 9, 'pkts_out': 9}, 'ipv4_multicast': {'chars_in': 0, 'chars_out': 844816, 'pkts_in': 0, 'pkts_out': 10530}, 'ipv4_unicast': {'chars_in': 843784, 'chars_out': 1764, 'pkts_in': 10539, 'pkts_out': 26}}}, 'GigabitEthernet0/0/0/6': {'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/0.20': {'mtu': 1604, 'counters': {'in_octets': 0, 'out_broadcast_pkts': 0, 'out_pkts': 0, 'in_discards': 0, 'in_pkts': 0, 'in_multicast_pkts': 0, 'in_broadcast_pkts': 0, 'rate': {'out_rate': 0, 'out_rate_pkts': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'in_rate': 0}, 'last_clear': 'never', 'out_multicast_pkts': 0, 'out_octets': 0}, 'enabled': False, 'bandwidth': 768, 'vlan_id': '20', 'encapsulation': {'encapsulation': '802.1Q Virtual LAN', 'first_dot1q': '20'}, 'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/2': {'vrf': 'VRF2', 'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/3': {'ipv6': {'enabled': False}}, 'GigabitEthernet0/0/0/0.10': {'mtu': 1608, 'counters': {'in_octets': 0, 'out_broadcast_pkts': 0, 'out_pkts': 0, 'in_discards': 0, 'in_pkts': 0, 'in_multicast_pkts': 0, 'in_broadcast_pkts': 0, 'rate': {'out_rate': 0, 'out_rate_pkts': 0, 'in_rate_pkts': 0, 'load_interval': 5, 'in_rate': 0}, 'last_clear': 'never', 'out_multicast_pkts': 0, 'out_octets': 0}, 'enabled': False, 'bandwidth': 768, 'vlan_id': '10', 'encapsulation': {'encapsulation': '802.1Q Virtual LAN', 'first_dot1q': '10', 'second_dot1q': '10'}, 'ipv6': {'enabled': False}}} |
# Least Recently Used Cache
#
# The LRU caching scheme remove the least recently used data when the cache is full and a new page is referenced which is not there in cache.
#
# We use two data structures to implement an LRU Cache:
# - Double Linked List: The maximum size of the queue will be equal to the total number of frames available (cache size). The most recently used pages will be near front end and least recently pages will be near the rear end.
# - HashMap: a Hash with page number as key and address of the corresponding queue node as value.
#
# When a page is referenced, the required page may be in the memory:
# - If it is in the memory, we need to detach the node of the list and bring it to the front of the queue.
# - If the required page is not in memory, we add a new node to the front of the queue and update the corresponding node address in the hash.
# - If the queue is full, we remove a node from the rear of the queue, and add the new node to the front of the queue.
class Node:
'''Double Linked List node implemetation for handling LRU Cache data'''
def __init__(self, key, value):
self.value = value
self.key = key
self.prev = None
self.next = None
def __repr__(self):
return f"Node({self.key}, {self.value})"
def __str__(self):
return f"Node({self.key}, {self.value})"
class Deque:
'''Deque implementation using Double Linked List, with a method to keep track of nodes access.'''
def __init__(self):
self.head = None
self.tail = None
self.num_elements = 0
def enqueue(self, new_node):
'''Nodes are enqueued on tail (newtest pointer)'''
if self.tail is None:
self.tail = new_node
self.head = self.tail
else:
self.tail.next = new_node
new_node.prev = self.tail
self.tail = new_node
self.num_elements += 1
def dequeue(self):
'''Nodes are dequeued on head (oldest poitner)'''
if self.head is None:
return None
else:
key = self.head.key
self.head = self.head.next
if self.head:
self.head.prev = None
self.num_elements -= 1
return key
def access(self, node):
'''An access should deque a random node and enqueue again'''
if node is None or self.tail == node:
# Base cases
return
if self.head == node:
# If is the oldest, move the Head
self.head = node.next
self.head.prev = None
else:
# Otherwise, detach the node
node.prev.next = node.next
node.next.prev = node.prev
# Link the node to the Tail
self.tail.next = node
node.prev = self.tail
node.next = None
# Move the Tail
self.tail = node
def size(self):
return self.num_elements
def to_list(self):
output = list()
node = self.head
while node:
node_tuple = tuple([node.key, node.value])
output.append(node_tuple)
node = node.next
return output
def __repr__(self):
if self.num_elements > 0:
s = "(Oldest) : "
node = self.head
while node:
s += str(node)
if node.next is not None:
s += ", "
node = node.next
s += " (Newest)"
return s
else:
return "Deque: empty!"
class LRU_Cache:
'''LRU Cache data object implementation with O(1) time complexity'''
def __init__(self, capacity: int):
# Initialize class variables
self.lru_dict = dict()
self.lru_deque = Deque()
self.capacity = capacity
def get(self, key: int) -> int:
# Retrieve item from provided key, using the hash map. Return -1 if nonexistent.
if key in self.lru_dict:
node = self.lru_dict[key]
self.lru_deque.access(node)
return node.value
else:
return -1
def put(self, key: int, value: int) -> None:
# Set the value if the key is not present in the cache. If the cache is at capacity remove the oldest item.
if key not in self.lru_dict:
if self.capacity < 1:
return -1
if self.lru_deque.size() >= self.capacity:
# Quick access the oldest element by using the deque
old_node = self.lru_deque.dequeue()
del self.lru_dict[old_node]
new_node = Node(key, value)
self.lru_deque.enqueue(new_node)
self.lru_dict[key] = new_node
else:
node = self.lru_dict[key]
node.value = value
self.lru_deque.access(node)
def to_list(self):
return self.lru_deque.to_list()
def __repr__(self):
if self.lru_deque.num_elements > 0:
s = "LRU_Cache: (Oldest) : "
node = self.lru_deque.head
while node:
s += str(node)
if node.next is not None:
s += ", "
node = node.next
s += " (Newest)"
return s
else:
return "LRU_Cache: empty!"
# Tests cases
# Utility function
def Test_LRU_Cache(test_name, op_list, val_list, result_list, is_debug = False):
lru_cache = None
out_list = []
print(f"{test_name:>25s}: ", end = '')
# Use the operations
for op, val, res in zip(op_list, val_list, result_list):
out = None
if op == "LRUCache":
lru_cache = LRU_Cache(val[0])
elif op == "put":
lru_cache.put(val[0], val[1])
elif op == "get":
out = lru_cache.get(val[0])
out_list.append(out)
if out != res:
print(f"Fail: [LRU Cache content: {lru_cache.to_list()}, op: {op}, val: {val}, res: {res}")
return
if is_debug and op != "LRUCache":
print(f" {op}({val}), dict: {len(lru_cache.lru_dict)}, deque: {lru_cache.lru_deque.size()}")
print(f" dict: {lru_cache.lru_dict}")
print(f" deque: {lru_cache.lru_deque}")
print("Pass")
# Check LRU_Cache
print("\nTesting LRU Cache with access control\n")
# Test Miss LRU access
op_list = ["LRUCache","get"]
val_list = [[5],[1]]
result_list = [None,-1,]
Test_LRU_Cache("Miss LRU access", op_list, val_list, result_list)
# Test Exceed LRU capacity
op_list = ["LRUCache","put","put","put","put","put","get","get"]
val_list = [[3],[1,11],[2,22],[3,33],[4,44],[5,55],[2],[3]]
result_list = [None,None,None,None,None,None,-1,33]
Test_LRU_Cache("Exceed LRU capacity", op_list, val_list, result_list)
# Test Access central element
op_list = ["LRUCache","put","put","put","put","put","get"]
val_list = [[5],[1,11],[2,22],[3,33],[4,44],[5,55],[3]]
result_list = [None,None,None,None,None,None,33]
Test_LRU_Cache("Access central element", op_list, val_list, result_list)
# Test Access last element
op_list = ["LRUCache","put","put","put","put","put","get"]
val_list = [[5],[1,11],[2,22],[3,33],[4,44],[5,55],[5]]
result_list = [None,None,None,None,None,None,55]
Test_LRU_Cache("Access last element", op_list, val_list, result_list)
# Test Access first element
op_list = ["LRUCache","put","put","put","put","put","get"]
val_list = [[5],[1,11],[2,22],[3,33],[4,44],[5,55],[1]]
result_list = [None,None,None,None,None,None,11]
Test_LRU_Cache("Access first element", op_list, val_list, result_list)
# Test for updating value
op_list = ["LRUCache","put","get","put","get"]
val_list = [[5],[1,1],[2],[1,11111],[1]]
result_list = [None,None,-1,None,11111]
Test_LRU_Cache("Updating value", op_list, val_list, result_list)
# Test for zero capacity
op_list = ["LRUCache","put","get"]
val_list = [[0],[1,1],[1]]
result_list = [None,None,-1]
Test_LRU_Cache("Zero capacity", op_list, val_list, result_list)
# Test Update 2
op_list = ["LRUCache","put","put","put","get","put","get","put","get","get","get","get"]
val_list = [[2],[1,1],[2,2],[2,3],[2],[3,3],[2],[4,4],[1],[2],[3],[4]]
result_list = [None,None,None,None,3,None,3,None,-1,3,-1,4]
Test_LRU_Cache("Update 2", op_list, val_list, result_list)
# Test One element Deque add
op_list = ["LRUCache","put","get","put","get","get"]
val_list = [[1],[2,1],[2],[3,2],[2],[3]]
result_list = [None,None,1,None,-1,2]
Test_LRU_Cache("One element Deque add", op_list, val_list, result_list)
# Test Update and get
op_list = ["LRUCache","put","put","put","put","get","get"]
val_list = [[2],[2,1],[1,1],[2,3],[4,1],[1],[2]]
result_list = [None, None, None, None, None, -1, 3]
Test_LRU_Cache("Update and get", op_list, val_list, result_list)
# Test Long list
op_list = ["LRUCache","put","put","put","put","put","get","put","get","get","put","get","put","put","put","get","put","get","get","get","get","put","put","get","get","get","put","put","get","put","get","put","get","get","get","put","put","put","get","put","get","get","put","put","get","put","put","put","put","get","put","put","get","put","put","get","put","put","put","put","put","get","put","put","get","put","get","get","get","put","get","get","put","put","put","put","get","put","put","put","put","get","get","get","put","put","put","get","put","put","put","get","put","put","put","get","get","get","put","put","put","put","get","put","put","put","put","put","put","put"]
val_list = [[10],[10,13],[3,17],[6,11],[10,5],[9,10],[13],[2,19],[2],[3],[5,25],[8],[9,22],[5,5],[1,30],[11],[9,12],[7],[5],[8],[9],[4,30],[9,3],[9],[10],[10],[6,14],[3,1],[3],[10,11],[8],[2,14],[1],[5],[4],[11,4],[12,24],[5,18],[13],[7,23],[8],[12],[3,27],[2,12],[5],[2,9],[13,4],[8,18],[1,7],[6],[9,29],[8,21],[5],[6,30],[1,12],[10],[4,15],[7,22],[11,26],[8,17],[9,29],[5],[3,4],[11,30],[12],[4,29],[3],[9],[6],[3,4],[1],[10],[3,29],[10,28],[1,20],[11,13],[3],[3,12],[3,8],[10,9],[3,26],[8],[7],[5],[13,17],[2,27],[11,15],[12],[9,19],[2,15],[3,16],[1],[12,17],[9,1],[6,19],[4],[5],[5],[8,1],[11,7],[5,2],[9,28],[1],[2,2],[7,4],[4,22],[7,24],[9,26],[13,28],[11,26]]
result_list = [None, None, None, None, None, None, -1, None, 19, 17, None, -1, None, None, None, -1, None, -1, 5, -1, 12, None, None, 3, 5, 5, None, None, 1, None, -1, None, 30, 5, 30, None, None, None, -1, None, -1, 24, None, None, 18, None, None, None, None, -1, None, None, 18, None, None, -1, None, None, None, None, None, 18, None, None, -1, None, 4, 29, 30, None, 12, -1, None, None, None, None, 29, None, None, None, None, 17, 22, 18, None, None, None, -1, None, None, None, 20, None, None, None, -1, 18, 18, None, None, None, None, 20, None, None, None, None, None, None, None]
Test_LRU_Cache("Long list", op_list, val_list, result_list)
| class Node:
"""Double Linked List node implemetation for handling LRU Cache data"""
def __init__(self, key, value):
self.value = value
self.key = key
self.prev = None
self.next = None
def __repr__(self):
return f'Node({self.key}, {self.value})'
def __str__(self):
return f'Node({self.key}, {self.value})'
class Deque:
"""Deque implementation using Double Linked List, with a method to keep track of nodes access."""
def __init__(self):
self.head = None
self.tail = None
self.num_elements = 0
def enqueue(self, new_node):
"""Nodes are enqueued on tail (newtest pointer)"""
if self.tail is None:
self.tail = new_node
self.head = self.tail
else:
self.tail.next = new_node
new_node.prev = self.tail
self.tail = new_node
self.num_elements += 1
def dequeue(self):
"""Nodes are dequeued on head (oldest poitner)"""
if self.head is None:
return None
else:
key = self.head.key
self.head = self.head.next
if self.head:
self.head.prev = None
self.num_elements -= 1
return key
def access(self, node):
"""An access should deque a random node and enqueue again"""
if node is None or self.tail == node:
return
if self.head == node:
self.head = node.next
self.head.prev = None
else:
node.prev.next = node.next
node.next.prev = node.prev
self.tail.next = node
node.prev = self.tail
node.next = None
self.tail = node
def size(self):
return self.num_elements
def to_list(self):
output = list()
node = self.head
while node:
node_tuple = tuple([node.key, node.value])
output.append(node_tuple)
node = node.next
return output
def __repr__(self):
if self.num_elements > 0:
s = '(Oldest) : '
node = self.head
while node:
s += str(node)
if node.next is not None:
s += ', '
node = node.next
s += ' (Newest)'
return s
else:
return 'Deque: empty!'
class Lru_Cache:
"""LRU Cache data object implementation with O(1) time complexity"""
def __init__(self, capacity: int):
self.lru_dict = dict()
self.lru_deque = deque()
self.capacity = capacity
def get(self, key: int) -> int:
if key in self.lru_dict:
node = self.lru_dict[key]
self.lru_deque.access(node)
return node.value
else:
return -1
def put(self, key: int, value: int) -> None:
if key not in self.lru_dict:
if self.capacity < 1:
return -1
if self.lru_deque.size() >= self.capacity:
old_node = self.lru_deque.dequeue()
del self.lru_dict[old_node]
new_node = node(key, value)
self.lru_deque.enqueue(new_node)
self.lru_dict[key] = new_node
else:
node = self.lru_dict[key]
node.value = value
self.lru_deque.access(node)
def to_list(self):
return self.lru_deque.to_list()
def __repr__(self):
if self.lru_deque.num_elements > 0:
s = 'LRU_Cache: (Oldest) : '
node = self.lru_deque.head
while node:
s += str(node)
if node.next is not None:
s += ', '
node = node.next
s += ' (Newest)'
return s
else:
return 'LRU_Cache: empty!'
def test_lru__cache(test_name, op_list, val_list, result_list, is_debug=False):
lru_cache = None
out_list = []
print(f'{test_name:>25s}: ', end='')
for (op, val, res) in zip(op_list, val_list, result_list):
out = None
if op == 'LRUCache':
lru_cache = lru__cache(val[0])
elif op == 'put':
lru_cache.put(val[0], val[1])
elif op == 'get':
out = lru_cache.get(val[0])
out_list.append(out)
if out != res:
print(f'Fail: [LRU Cache content: {lru_cache.to_list()}, op: {op}, val: {val}, res: {res}')
return
if is_debug and op != 'LRUCache':
print(f' {op}({val}), dict: {len(lru_cache.lru_dict)}, deque: {lru_cache.lru_deque.size()}')
print(f' dict: {lru_cache.lru_dict}')
print(f' deque: {lru_cache.lru_deque}')
print('Pass')
print('\nTesting LRU Cache with access control\n')
op_list = ['LRUCache', 'get']
val_list = [[5], [1]]
result_list = [None, -1]
test_lru__cache('Miss LRU access', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'put', 'put', 'get', 'get']
val_list = [[3], [1, 11], [2, 22], [3, 33], [4, 44], [5, 55], [2], [3]]
result_list = [None, None, None, None, None, None, -1, 33]
test_lru__cache('Exceed LRU capacity', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'put', 'put', 'get']
val_list = [[5], [1, 11], [2, 22], [3, 33], [4, 44], [5, 55], [3]]
result_list = [None, None, None, None, None, None, 33]
test_lru__cache('Access central element', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'put', 'put', 'get']
val_list = [[5], [1, 11], [2, 22], [3, 33], [4, 44], [5, 55], [5]]
result_list = [None, None, None, None, None, None, 55]
test_lru__cache('Access last element', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'put', 'put', 'get']
val_list = [[5], [1, 11], [2, 22], [3, 33], [4, 44], [5, 55], [1]]
result_list = [None, None, None, None, None, None, 11]
test_lru__cache('Access first element', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'get', 'put', 'get']
val_list = [[5], [1, 1], [2], [1, 11111], [1]]
result_list = [None, None, -1, None, 11111]
test_lru__cache('Updating value', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'get']
val_list = [[0], [1, 1], [1]]
result_list = [None, None, -1]
test_lru__cache('Zero capacity', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'get', 'put', 'get', 'put', 'get', 'get', 'get', 'get']
val_list = [[2], [1, 1], [2, 2], [2, 3], [2], [3, 3], [2], [4, 4], [1], [2], [3], [4]]
result_list = [None, None, None, None, 3, None, 3, None, -1, 3, -1, 4]
test_lru__cache('Update 2', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'get', 'put', 'get', 'get']
val_list = [[1], [2, 1], [2], [3, 2], [2], [3]]
result_list = [None, None, 1, None, -1, 2]
test_lru__cache('One element Deque add', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'put', 'get', 'get']
val_list = [[2], [2, 1], [1, 1], [2, 3], [4, 1], [1], [2]]
result_list = [None, None, None, None, None, -1, 3]
test_lru__cache('Update and get', op_list, val_list, result_list)
op_list = ['LRUCache', 'put', 'put', 'put', 'put', 'put', 'get', 'put', 'get', 'get', 'put', 'get', 'put', 'put', 'put', 'get', 'put', 'get', 'get', 'get', 'get', 'put', 'put', 'get', 'get', 'get', 'put', 'put', 'get', 'put', 'get', 'put', 'get', 'get', 'get', 'put', 'put', 'put', 'get', 'put', 'get', 'get', 'put', 'put', 'get', 'put', 'put', 'put', 'put', 'get', 'put', 'put', 'get', 'put', 'put', 'get', 'put', 'put', 'put', 'put', 'put', 'get', 'put', 'put', 'get', 'put', 'get', 'get', 'get', 'put', 'get', 'get', 'put', 'put', 'put', 'put', 'get', 'put', 'put', 'put', 'put', 'get', 'get', 'get', 'put', 'put', 'put', 'get', 'put', 'put', 'put', 'get', 'put', 'put', 'put', 'get', 'get', 'get', 'put', 'put', 'put', 'put', 'get', 'put', 'put', 'put', 'put', 'put', 'put', 'put']
val_list = [[10], [10, 13], [3, 17], [6, 11], [10, 5], [9, 10], [13], [2, 19], [2], [3], [5, 25], [8], [9, 22], [5, 5], [1, 30], [11], [9, 12], [7], [5], [8], [9], [4, 30], [9, 3], [9], [10], [10], [6, 14], [3, 1], [3], [10, 11], [8], [2, 14], [1], [5], [4], [11, 4], [12, 24], [5, 18], [13], [7, 23], [8], [12], [3, 27], [2, 12], [5], [2, 9], [13, 4], [8, 18], [1, 7], [6], [9, 29], [8, 21], [5], [6, 30], [1, 12], [10], [4, 15], [7, 22], [11, 26], [8, 17], [9, 29], [5], [3, 4], [11, 30], [12], [4, 29], [3], [9], [6], [3, 4], [1], [10], [3, 29], [10, 28], [1, 20], [11, 13], [3], [3, 12], [3, 8], [10, 9], [3, 26], [8], [7], [5], [13, 17], [2, 27], [11, 15], [12], [9, 19], [2, 15], [3, 16], [1], [12, 17], [9, 1], [6, 19], [4], [5], [5], [8, 1], [11, 7], [5, 2], [9, 28], [1], [2, 2], [7, 4], [4, 22], [7, 24], [9, 26], [13, 28], [11, 26]]
result_list = [None, None, None, None, None, None, -1, None, 19, 17, None, -1, None, None, None, -1, None, -1, 5, -1, 12, None, None, 3, 5, 5, None, None, 1, None, -1, None, 30, 5, 30, None, None, None, -1, None, -1, 24, None, None, 18, None, None, None, None, -1, None, None, 18, None, None, -1, None, None, None, None, None, 18, None, None, -1, None, 4, 29, 30, None, 12, -1, None, None, None, None, 29, None, None, None, None, 17, 22, 18, None, None, None, -1, None, None, None, 20, None, None, None, -1, 18, 18, None, None, None, None, 20, None, None, None, None, None, None, None]
test_lru__cache('Long list', op_list, val_list, result_list) |
# Tuenti Challenge Edition 8 Level 10
PROBLEM_SIZE = "submit"
# -- jam input/output ------------------------------------------------------- #
def parse_problems(lines):
""" Given a list of lines, parses them and returns a list of problems. """
i = 0
res = []
while i < len(lines):
P, G = map(int, lines[i].split())
grudges = [tuple(map(int, lines[i + n + 1].split())) for n in range(G)]
i += G + 1
res.append((P, grudges))
return res
def solve_all():
""" Process each test case and generate the output file. """
res = ""
with open("%s.in" % PROBLEM_SIZE, "r", encoding="utf-8") as fp:
lines = fp.read().strip().split("\n")[1:]
problems = parse_problems(lines)
for case, problem in enumerate(problems, 1):
print("Solving Case #%s" % case)
sol = solve(*problem)
print(">> %s" % sol)
res += "Case #%s: %s\n" % (case, sol)
with open("%s.out" % PROBLEM_SIZE, "w", encoding="utf-8") as fp:
fp.write(res[:-1])
# -- problem specific functions --------------------------------------------- #
def solve(P, grudges):
grudges = tuple(sorted(tuple(sorted(g)) for g in grudges if abs(g[0] - g[1]) % 2))
print(P, len(grudges))
if P % 2: return 0
return ways(P, grudges) % (10**9 + 7)
_ways_mem = {}
def ways(P, grudges):
if (P, grudges) in _ways_mem:
return _ways_mem[(P, grudges)]
elif P == 0:
res = 1
elif len(grudges) == 0:
res = catalan(P / 2)
else:
res = 0
for n in range(1, P, 2):
if (0, n) not in grudges:
gs1 = tuple((c1 - 1, c2 - 1) for c1, c2 in grudges if c1 >= 1 and c2 <= n - 1)
gs2 = tuple((c1 - n - 1, c2 - n - 1) for c1, c2 in grudges if c1 >= n + 1)
res += ways(n - 1, gs1) * ways(P - n - 1, gs2)
_ways_mem[(P, grudges)] = res
return res
_catalan_mem = {}
def catalan(n):
if n in _catalan_mem: return _catalan_mem[n]
if n <= 1:
res = 1
else:
res = 0
for i in range(int(n)): res += catalan(i) * catalan(n - i - 1)
_catalan_mem[n] = res
return res
# -- entrypoint ------------------------------------------------------------- #
if __name__ == "__main__":
solve_all()
# print(solve(100, [(50,51)])) | problem_size = 'submit'
def parse_problems(lines):
""" Given a list of lines, parses them and returns a list of problems. """
i = 0
res = []
while i < len(lines):
(p, g) = map(int, lines[i].split())
grudges = [tuple(map(int, lines[i + n + 1].split())) for n in range(G)]
i += G + 1
res.append((P, grudges))
return res
def solve_all():
""" Process each test case and generate the output file. """
res = ''
with open('%s.in' % PROBLEM_SIZE, 'r', encoding='utf-8') as fp:
lines = fp.read().strip().split('\n')[1:]
problems = parse_problems(lines)
for (case, problem) in enumerate(problems, 1):
print('Solving Case #%s' % case)
sol = solve(*problem)
print('>> %s' % sol)
res += 'Case #%s: %s\n' % (case, sol)
with open('%s.out' % PROBLEM_SIZE, 'w', encoding='utf-8') as fp:
fp.write(res[:-1])
def solve(P, grudges):
grudges = tuple(sorted((tuple(sorted(g)) for g in grudges if abs(g[0] - g[1]) % 2)))
print(P, len(grudges))
if P % 2:
return 0
return ways(P, grudges) % (10 ** 9 + 7)
_ways_mem = {}
def ways(P, grudges):
if (P, grudges) in _ways_mem:
return _ways_mem[P, grudges]
elif P == 0:
res = 1
elif len(grudges) == 0:
res = catalan(P / 2)
else:
res = 0
for n in range(1, P, 2):
if (0, n) not in grudges:
gs1 = tuple(((c1 - 1, c2 - 1) for (c1, c2) in grudges if c1 >= 1 and c2 <= n - 1))
gs2 = tuple(((c1 - n - 1, c2 - n - 1) for (c1, c2) in grudges if c1 >= n + 1))
res += ways(n - 1, gs1) * ways(P - n - 1, gs2)
_ways_mem[P, grudges] = res
return res
_catalan_mem = {}
def catalan(n):
if n in _catalan_mem:
return _catalan_mem[n]
if n <= 1:
res = 1
else:
res = 0
for i in range(int(n)):
res += catalan(i) * catalan(n - i - 1)
_catalan_mem[n] = res
return res
if __name__ == '__main__':
solve_all() |
#python 3.5.2
'''
With the Remained Methods first you count the number of elements you what to store. So the length of the
array will eaual the number of elements you want so each element will have place to be stored. When you
do the divide by array length the remainer will always to equal or less than the number of element in the
array.
The folding method for constructing hash functions begins by dividing the item into equal-size pieces
(the last piece may not be of equal size). These pieces are then added together to give the resulting
hash value. For example, if our item was the phone number 436-555-4601, we would take the digits and
divide them into groups of 2 (43,65,55,46,01). After the addition, 43+65+55+46+01, we get 210.
If we assume our hash table has 11 slots, then we need to perform the extra step of dividing by
11 and keeping the remainder. In this case 210 % 11 is 1, so the phone number 436-555-4601 hashes
to slot 1. Some folding methods go one step further and reverse every other piece before the addition.
For the above example, we get 43+56+55+64+01=219 which gives 219 % 11=10.
'''
def convertPhoneNo(phoneNo):
firstNo = int(phoneNo[0])*10 + int(phoneNo[1])
secondNo = int(phoneNo[2])*10 + int(phoneNo[4])
thirdNo = int(phoneNo[5])*10 + int(phoneNo[6])
fourthNo = int(phoneNo[8])*10 + int(phoneNo[9])
fifthNo = int(phoneNo[10])*10 + int(phoneNo[11])
result =firstNo+secondNo+thirdNo+fourthNo+fifthNo
print( phoneNo ," = ", result )
return result
def hash( length ):
def remainderMethod(phoneNo):
element = convertPhoneNo(phoneNo)
print( element , ' % ', length, ' = ', element % length)
return element % length
return remainderMethod
def insertHash( elementList ):
resultsList = [None] * len( elementList )
func = hash( len( elementList ) )
for element in elementList:
index = func(element)
while resultsList [ index ] != None:
print('Collision Index: ' , index)
#if we at the last element in array go to first element in array
if index == len( elementList ) -1:
index = 0
else:
index = index +1
resultsList[index] = element
print( 'Insert Index: ', index)
print( resultsList )
print( '-'*20 )
print( '-'*20 )
return resultsList
print ( insertHash( ['436-555-4601','436-555-4600','436-555-4611','436-555-4621','436-555-4634'] ) )
'''
OUTPUT:
436-555-4601 = 210
210 % 5 = 0
Insert Index: 0
['436-555-4601', None, None, None, None]
--------------------
436-555-4600 = 209
209 % 5 = 4
Insert Index: 4
['436-555-4601', None, None, None, '436-555-4600']
--------------------
436-555-4611 = 220
220 % 5 = 0
Collision Index: 0
Insert Index: 1
['436-555-4601', '436-555-4611', None, None, '436-555-4600']
--------------------
436-555-4621 = 230
230 % 5 = 0
Collision Index: 0
Collision Index: 1
Insert Index: 2
['436-555-4601', '436-555-4611', '436-555-4621', None, '436-555-4600']
--------------------
436-555-4634 = 243
243 % 5 = 3
Insert Index: 3
['436-555-4601', '436-555-4611', '436-555-4621', '436-555-4634', '436-555-4600']
--------------------
--------------------
['436-555-4601', '436-555-4611', '436-555-4621', '436-555-4634', '436-555-4600']
'''
| """
With the Remained Methods first you count the number of elements you what to store. So the length of the
array will eaual the number of elements you want so each element will have place to be stored. When you
do the divide by array length the remainer will always to equal or less than the number of element in the
array.
The folding method for constructing hash functions begins by dividing the item into equal-size pieces
(the last piece may not be of equal size). These pieces are then added together to give the resulting
hash value. For example, if our item was the phone number 436-555-4601, we would take the digits and
divide them into groups of 2 (43,65,55,46,01). After the addition, 43+65+55+46+01, we get 210.
If we assume our hash table has 11 slots, then we need to perform the extra step of dividing by
11 and keeping the remainder. In this case 210 % 11 is 1, so the phone number 436-555-4601 hashes
to slot 1. Some folding methods go one step further and reverse every other piece before the addition.
For the above example, we get 43+56+55+64+01=219 which gives 219 % 11=10.
"""
def convert_phone_no(phoneNo):
first_no = int(phoneNo[0]) * 10 + int(phoneNo[1])
second_no = int(phoneNo[2]) * 10 + int(phoneNo[4])
third_no = int(phoneNo[5]) * 10 + int(phoneNo[6])
fourth_no = int(phoneNo[8]) * 10 + int(phoneNo[9])
fifth_no = int(phoneNo[10]) * 10 + int(phoneNo[11])
result = firstNo + secondNo + thirdNo + fourthNo + fifthNo
print(phoneNo, ' = ', result)
return result
def hash(length):
def remainder_method(phoneNo):
element = convert_phone_no(phoneNo)
print(element, ' % ', length, ' = ', element % length)
return element % length
return remainderMethod
def insert_hash(elementList):
results_list = [None] * len(elementList)
func = hash(len(elementList))
for element in elementList:
index = func(element)
while resultsList[index] != None:
print('Collision Index: ', index)
if index == len(elementList) - 1:
index = 0
else:
index = index + 1
resultsList[index] = element
print('Insert Index: ', index)
print(resultsList)
print('-' * 20)
print('-' * 20)
return resultsList
print(insert_hash(['436-555-4601', '436-555-4600', '436-555-4611', '436-555-4621', '436-555-4634']))
"\nOUTPUT:\n\n436-555-4601 = 210\n210 % 5 = 0\nInsert Index: 0\n['436-555-4601', None, None, None, None]\n--------------------\n436-555-4600 = 209\n209 % 5 = 4\nInsert Index: 4\n['436-555-4601', None, None, None, '436-555-4600']\n--------------------\n436-555-4611 = 220\n220 % 5 = 0\nCollision Index: 0\nInsert Index: 1\n['436-555-4601', '436-555-4611', None, None, '436-555-4600']\n--------------------\n436-555-4621 = 230\n230 % 5 = 0\nCollision Index: 0\nCollision Index: 1\nInsert Index: 2\n['436-555-4601', '436-555-4611', '436-555-4621', None, '436-555-4600']\n--------------------\n436-555-4634 = 243\n243 % 5 = 3\nInsert Index: 3\n['436-555-4601', '436-555-4611', '436-555-4621', '436-555-4634', '436-555-4600']\n--------------------\n--------------------\n['436-555-4601', '436-555-4611', '436-555-4621', '436-555-4634', '436-555-4600']\n\n" |
class Solution:
def minWindow(self, s: str, t: str) -> str:
"""
s = "ADOBECODEBANC", t = "ABC" t count = 3
^
^
010
s count = 0
Time O(N+M)
Space O(M)
"""
counts = collections.Counter(t)
counter = len(t)
min_size = float("inf")
min_start, min_end = 0, -1
start, end = 0, 0
while end < len(s):
end_char = s[end]
if end_char in counts:
counts[end_char] -= 1
if counts[end_char] >= 0:
counter -= 1
while counter == 0:
if end - start + 1 < min_size:
min_start, min_end = start, end
min_size = end - start + 1
start_char = s[start]
if start_char in counts:
counts[start_char] += 1
if counts[start_char] > 0:
counter += 1
start += 1
end += 1
return s[min_start:min_end+1] | class Solution:
def min_window(self, s: str, t: str) -> str:
"""
s = "ADOBECODEBANC", t = "ABC" t count = 3
^
^
010
s count = 0
Time O(N+M)
Space O(M)
"""
counts = collections.Counter(t)
counter = len(t)
min_size = float('inf')
(min_start, min_end) = (0, -1)
(start, end) = (0, 0)
while end < len(s):
end_char = s[end]
if end_char in counts:
counts[end_char] -= 1
if counts[end_char] >= 0:
counter -= 1
while counter == 0:
if end - start + 1 < min_size:
(min_start, min_end) = (start, end)
min_size = end - start + 1
start_char = s[start]
if start_char in counts:
counts[start_char] += 1
if counts[start_char] > 0:
counter += 1
start += 1
end += 1
return s[min_start:min_end + 1] |
"""color methods"""
def color(r, g, b):
assert 256 > r > -1, "expected integer in range 0-255"
assert 256 > g > -1, "expected integer in range 0-255"
assert 256 > b > -1, "expected integer in range 0-255"
return '#%02x%02x%02x' % (r, g, b)
def color_to_rgb(html_color):
if len(html_color) == 7 and html_color[0] == '#':
try:
return (
int(html_color[1:3], 16),
int(html_color[3:5], 16),
int(html_color[5:7], 16)
)
except:
pass
raise ValueError('invalid html color: %s' % color)
_B_SAVE = (0, 0x33, 0x66, 0xcc, 0xff)
_B_SAVE2 = (0x19, 0x33, 0x66, 0x7f)
def is_browser_save(color):
r, g, b = color_to_rgb(color)
return r in _B_SAVE and g in _B_SAVE and b in _B_SAVE
def make_browser_save(html_color):
def make_save(ushort):
if ushort <= _B_SAVE2[0]: return _B_SAVE[0]
if ushort <= _B_SAVE2[1]: return _B_SAVE[1]
if ushort <= _B_SAVE2[2]: return _B_SAVE[2]
if ushort <= _B_SAVE2[3]: return _B_SAVE[3]
return _B_SAVE[4]
r, g, b = color_to_rgb(html_color)
return color(make_save(r), make_save(g), make_save(b))
| """color methods"""
def color(r, g, b):
assert 256 > r > -1, 'expected integer in range 0-255'
assert 256 > g > -1, 'expected integer in range 0-255'
assert 256 > b > -1, 'expected integer in range 0-255'
return '#%02x%02x%02x' % (r, g, b)
def color_to_rgb(html_color):
if len(html_color) == 7 and html_color[0] == '#':
try:
return (int(html_color[1:3], 16), int(html_color[3:5], 16), int(html_color[5:7], 16))
except:
pass
raise value_error('invalid html color: %s' % color)
_b_save = (0, 51, 102, 204, 255)
_b_save2 = (25, 51, 102, 127)
def is_browser_save(color):
(r, g, b) = color_to_rgb(color)
return r in _B_SAVE and g in _B_SAVE and (b in _B_SAVE)
def make_browser_save(html_color):
def make_save(ushort):
if ushort <= _B_SAVE2[0]:
return _B_SAVE[0]
if ushort <= _B_SAVE2[1]:
return _B_SAVE[1]
if ushort <= _B_SAVE2[2]:
return _B_SAVE[2]
if ushort <= _B_SAVE2[3]:
return _B_SAVE[3]
return _B_SAVE[4]
(r, g, b) = color_to_rgb(html_color)
return color(make_save(r), make_save(g), make_save(b)) |
def secti(a, b):
return a + b
if __name__ == '__main__':
print(secti(1, 2))
# https://stackoverflow.com/questions/419163/what-does-if-name-main-do
| def secti(a, b):
return a + b
if __name__ == '__main__':
print(secti(1, 2)) |
weights_path = './weights'
#pre trained model
name_model = 'model_unet'
#directory where read noisy sound to denoise
audio_dir_prediction = './mypredictions/input/'
#directory to save the denoise sound
dir_save_prediction = './mypredictions/output/'
#Name noisy sound file to denoise
#audio_input_prediction = args.audio_input_prediction
#Name of denoised sound file to save
#audio_output_prediction = args.audio_output_prediction
# Sample rate to read audio
sample_rate = 8000
# Minimum duration of audio files to consider
min_duration = 1.0
#Frame length for training data
frame_length = 8064
# hop length for sound files
hop_length_frame = 8064
#nb of points for fft(for spectrogram computation)
n_fft = 255
#hop length for fft
hop_length_fft = 63 | weights_path = './weights'
name_model = 'model_unet'
audio_dir_prediction = './mypredictions/input/'
dir_save_prediction = './mypredictions/output/'
sample_rate = 8000
min_duration = 1.0
frame_length = 8064
hop_length_frame = 8064
n_fft = 255
hop_length_fft = 63 |
BOT_NAME = 'books_images'
SPIDER_MODULES = ['books_images.spiders']
NEWSPIDER_MODULE = 'books_images.spiders'
ROBOTSTXT_OBEY = True
ITEM_PIPELINES = {
'books_images.pipelines.BooksImagesPipeline': 1
}
FILES_STORE = r'downloaded'
# Change this to your path
DOWNLOAD_DELAY = 2
# Change to 0 for fastest crawl
| bot_name = 'books_images'
spider_modules = ['books_images.spiders']
newspider_module = 'books_images.spiders'
robotstxt_obey = True
item_pipelines = {'books_images.pipelines.BooksImagesPipeline': 1}
files_store = 'downloaded'
download_delay = 2 |
#punto1
def triangulo(a,b):
area = (b * a)/2
print(area)
triangulo(30,50)
| def triangulo(a, b):
area = b * a / 2
print(area)
triangulo(30, 50) |
def threeSum(nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
if len(nums)<3:
return False
found = []
n = len(nums)
for i in range(0, n-2):
for j in range(i+1, n-1):
for k in range(j+1, n):
if nums[i] + nums[j] + nums[k] == 0 and i != j :
found.append([nums[i], nums[j], nums[k]])
"""
O(n^3)
""" | def three_sum(nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
if len(nums) < 3:
return False
found = []
n = len(nums)
for i in range(0, n - 2):
for j in range(i + 1, n - 1):
for k in range(j + 1, n):
if nums[i] + nums[j] + nums[k] == 0 and i != j:
found.append([nums[i], nums[j], nums[k]])
'\n O(n^3)\n ' |
area = float(input())
kgInM = float(input())
badGrape = float(input())
allGrape = area * kgInM
restGrape = allGrape - badGrape
rakia = restGrape * 45 / 100
sell = restGrape * 55 / 100
lRakia = (rakia / 7.5) * 9.80
lSell = sell * 1.5
print('%.2f' % lRakia)
print('%.2f' % lSell) | area = float(input())
kg_in_m = float(input())
bad_grape = float(input())
all_grape = area * kgInM
rest_grape = allGrape - badGrape
rakia = restGrape * 45 / 100
sell = restGrape * 55 / 100
l_rakia = rakia / 7.5 * 9.8
l_sell = sell * 1.5
print('%.2f' % lRakia)
print('%.2f' % lSell) |
inputFile = open("input/day7.txt", "r")
inputLines = inputFile.readlines()
listBagsWithoutShinyGold = []
listBagsWithShinyGold = []
listUncertain = []
def goldMiner():
for line in inputLines:
splittedLine = line.split()
bagColor = splittedLine[0] + splittedLine[1]
childrenBags = []
if splittedLine[4] == "no" or bagColor == "shinygold":
if bagColor not in listBagsWithoutShinyGold:
listBagsWithoutShinyGold.append(bagColor)
else:
someChildrenBags = True
counter = 5
while someChildrenBags:
childrenBags.append(splittedLine[counter] + splittedLine[counter + 1])
if (splittedLine[counter + 2] == "bag.") or (splittedLine[counter + 2] == "bags."):
someChildrenBags = False
counter = counter + 4
if "shinygold" in childrenBags:
if bagColor not in listBagsWithShinyGold:
listBagsWithShinyGold.append(bagColor)
else:
# Look into every children to see if they can have the bag
for childrenBag in childrenBags:
if childrenBag in listBagsWithShinyGold:
if bagColor not in listBagsWithShinyGold:
listBagsWithShinyGold.append(bagColor)
else:
if bagColor not in listUncertain:
listUncertain.append(bagColor)
goldMiner()
lastRunCount = 0
while lastRunCount != len(listBagsWithShinyGold):
lastRunCount = len(listBagsWithShinyGold)
goldMiner()
print("Bags that can eventually contain one shiny gold bag {}".format(len(listBagsWithShinyGold)))
def bagCounter(color):
for line in inputLines:
splittedLine = line.split()
bagColor = splittedLine[0] + splittedLine[1]
if bagColor == color:
childrenBags = []
someChildrenBags = True
counter = 4
while someChildrenBags:
childrenBags.append((splittedLine[counter + 1] + splittedLine[counter + 2], int(splittedLine[counter])))
if (splittedLine[counter + 3] == "bag.") or (splittedLine[counter + 3] == "bags."):
someChildrenBags = False
counter = counter + 4
return childrenBags
numberOfBags = 0
returnedBag = bagCounter("shinygold")
for bag in returnedBag:
numberOfBags = numberOfBags + bag[1]
# Need to go down further
print("Nested bags {}".format(numberOfBags))
inputFile.close()
| input_file = open('input/day7.txt', 'r')
input_lines = inputFile.readlines()
list_bags_without_shiny_gold = []
list_bags_with_shiny_gold = []
list_uncertain = []
def gold_miner():
for line in inputLines:
splitted_line = line.split()
bag_color = splittedLine[0] + splittedLine[1]
children_bags = []
if splittedLine[4] == 'no' or bagColor == 'shinygold':
if bagColor not in listBagsWithoutShinyGold:
listBagsWithoutShinyGold.append(bagColor)
else:
some_children_bags = True
counter = 5
while someChildrenBags:
childrenBags.append(splittedLine[counter] + splittedLine[counter + 1])
if splittedLine[counter + 2] == 'bag.' or splittedLine[counter + 2] == 'bags.':
some_children_bags = False
counter = counter + 4
if 'shinygold' in childrenBags:
if bagColor not in listBagsWithShinyGold:
listBagsWithShinyGold.append(bagColor)
else:
for children_bag in childrenBags:
if childrenBag in listBagsWithShinyGold:
if bagColor not in listBagsWithShinyGold:
listBagsWithShinyGold.append(bagColor)
elif bagColor not in listUncertain:
listUncertain.append(bagColor)
gold_miner()
last_run_count = 0
while lastRunCount != len(listBagsWithShinyGold):
last_run_count = len(listBagsWithShinyGold)
gold_miner()
print('Bags that can eventually contain one shiny gold bag {}'.format(len(listBagsWithShinyGold)))
def bag_counter(color):
for line in inputLines:
splitted_line = line.split()
bag_color = splittedLine[0] + splittedLine[1]
if bagColor == color:
children_bags = []
some_children_bags = True
counter = 4
while someChildrenBags:
childrenBags.append((splittedLine[counter + 1] + splittedLine[counter + 2], int(splittedLine[counter])))
if splittedLine[counter + 3] == 'bag.' or splittedLine[counter + 3] == 'bags.':
some_children_bags = False
counter = counter + 4
return childrenBags
number_of_bags = 0
returned_bag = bag_counter('shinygold')
for bag in returnedBag:
number_of_bags = numberOfBags + bag[1]
print('Nested bags {}'.format(numberOfBags))
inputFile.close() |
# Given an integer array nums, find the contiguous subarray (containing at least one number)
# which has the largest sum and return its sum.
# Example:
# Input: [-2,1,-3,4,-1,2,1,-5,4],
# Output: 6
# Explanation: [4,-1,2,1] has the largest sum = 6.
# Follow up:
# If you have figured out the O(n) solution, try coding another solution
# using the divide and conquer approach, which is more subtle.
class Solution:
def maxSubArray(self, nums):
total_sum = max_sum = nums[0]
for i in nums[1:]:
total_sum = max(i, total_sum+i)
max_sum = max(max_sum, total_sum)
return max_sum
if __name__ == "__main__":
nums = [-2,1,-3,4,-1,2,1,-5,4]
print(Solution().maxSubArray(nums)) | class Solution:
def max_sub_array(self, nums):
total_sum = max_sum = nums[0]
for i in nums[1:]:
total_sum = max(i, total_sum + i)
max_sum = max(max_sum, total_sum)
return max_sum
if __name__ == '__main__':
nums = [-2, 1, -3, 4, -1, 2, 1, -5, 4]
print(solution().maxSubArray(nums)) |
def sum2(nums):
if len(nums) >= 2 :
return (nums[0] + nums[1])
elif len(nums) == 1 :
return nums[0]
else :
return 0 | def sum2(nums):
if len(nums) >= 2:
return nums[0] + nums[1]
elif len(nums) == 1:
return nums[0]
else:
return 0 |
#!/usr/bin/env python
"""
@package ion.agents.platform.util.network
@file ion/agents/platform/util/network.py
@author Carlos Rueda
@brief Supporting elements for convenient representation of a platform network
"""
__author__ = 'Carlos Rueda'
__license__ = 'Apache 2.0'
class BaseNode(object):
"""
A convenient base class for the components of a platform network.
"""
def __init__(self):
pass
def diff(self, other):
"""
Returns None if this and the other object are the same.
Otherwise, returns a message describing the first difference.
"""
raise NotImplementedError() # pragma: no cover
class AttrNode(BaseNode):
"""
Represents a platform attribute.
"""
def __init__(self, attr_id, defn):
"""
OOIION-1551:
First, get attr_name and attr_instance from the given attr_id (this is
the preferred mechanism as it's expected to be of the form
"<name>|<instance>") or from properties in defn, and resorting to
the given attr_id for the name, and "0" for the instance.
Finally, the store attr_id is composed from the name and instance as
captured above.
"""
BaseNode.__init__(self)
idx = attr_id.rfind('|')
if idx >= 0:
self._attr_name = attr_id[:idx]
self._attr_instance = attr_id[idx + 1:]
else:
self._attr_name = defn.get('attr_name', attr_id)
self._attr_instance = defn.get('attr_instance', "0")
self._attr_id = "%s|%s" % (self._attr_name, self._attr_instance)
defn['attr_id'] = self._attr_id
self._defn = defn
def __repr__(self):
return "AttrNode{id=%s, defn=%s}" % (self.attr_id, self.defn)
@property
def attr_name(self):
return self._attr_name
@property
def attr_instance(self):
return self._attr_instance
@property
def attr_id(self):
return self._attr_id
@property
def defn(self):
return self._defn
@property
def writable(self):
return self.defn.get('read_write', '').lower().find("write") >= 0
def diff(self, other):
if self.attr_id != other.attr_id:
return "Attribute IDs are different: %r != %r" % (
self.attr_id, other.attr_id)
if self.defn != other.defn:
return "Attribute definitions are different: %r != %r" % (
self.defn, other.defn)
return None
class PortNode(BaseNode):
"""
Represents a platform port.
self._port_id
self._instrument_ids = [ instrument_id, ... ]
"""
def __init__(self, port_id):
BaseNode.__init__(self)
self._port_id = str(port_id)
self._instrument_ids = []
def __repr__(self):
return "PortNode{port_id=%r, instrument_ids=%r}" % (
self.port_id, self.instrument_ids)
@property
def port_id(self):
return self._port_id
@property
def instrument_ids(self):
"""
IDs of instruments associated to this port.
"""
return self._instrument_ids
def add_instrument_id(self, instrument_id):
if instrument_id in self._instrument_ids:
raise Exception('duplicate instrument_id=%r for port_id=%r' % (
instrument_id, self.port_id))
self._instrument_ids.append(instrument_id)
def remove_instrument_id(self, instrument_id):
if instrument_id not in self._instrument_ids:
raise Exception('no such instrument_id=%r in port_id=%r' % (
instrument_id, self.port_id))
self._instrument_ids.remove(instrument_id)
def diff(self, other):
"""
Returns None if the two ports are the same.
Otherwise, returns a message describing the first difference.
"""
if self.port_id != other.port_id:
return "Port IDs are different: %r != %r" % (
self.port_id, other.port_id)
# compare instruments:
instrument_ids = set(self.instrument_ids)
other_instrument_ids = set(other.instrument_ids)
if instrument_ids != other_instrument_ids:
return "port_id=%r: instrument_ids are different: %r != %r" % (
self.port_id, instrument_ids, other_instrument_ids)
return None
class InstrumentNode(BaseNode):
"""
Represents an instrument in a PlatformNode to capture the configuration for
instruments.
self._instrument_id
self._attrs = { ... }
self._CFG = dict
The _CFG element included for convenience to capture the provided
configuration dict.
"""
def __init__(self, instrument_id, attrs=None, CFG=None):
BaseNode.__init__(self)
self._instrument_id = instrument_id
self._attrs = attrs or {}
self._CFG = CFG
def __repr__(self):
return "InstrumentNode{id=%s, attrs=%s}" % (
self.instrument_id, self.attrs)
@property
def instrument_id(self):
return self._instrument_id
@property
def attrs(self):
"""
Attributes of this instrument.
"""
return self._attrs
@property
def CFG(self):
return self._CFG
def diff(self, other):
"""
Returns None if the two instruments are the same.
Otherwise, returns a message describing the first difference.
"""
if self.instrument_id != other.instrument_id:
return "Instrument IDs are different: %r != %r" % (
self.instrument_id, other.instrument_id)
if self.attrs != other.attrs:
return "Instrument attributes are different: %r != %r" % (
self.attrs, other.attrs)
return None
class PlatformNode(BaseNode):
"""
Platform node for purposes of representing the network.
self._platform_id
self._attrs = { attr_id: AttrNode, ... }
self._ports = { port_id: PortNode, ... }
self._subplatforms = { platform_id: PlatformNode, ...}
self._parent = None | PlatformNode
self._instruments = { instrument_id: InstrumentNode, ...}
self._CFG = dict
The _CFG element included for convenience to capture the provided
configuration dict in PlatformAgent. See
create_network_definition_from_ci_config()
"""
#TODO: some separation of configuration vs. state would be convenient.
def __init__(self, platform_id, CFG=None):
BaseNode.__init__(self)
self._platform_id = platform_id
self._name = None
self._ports = {}
self._attrs = {}
self._subplatforms = {}
self._parent = None
self._instruments = {}
self._CFG = CFG
def set_name(self, name):
self._name = name
def add_port(self, port):
if port.port_id in self._ports:
raise Exception('%s: duplicate port ID' % port.port_id)
self._ports[port.port_id] = port
def add_attribute(self, attr):
if attr.attr_id in self._attrs:
raise Exception('%s: duplicate attribute ID' % attr.attr_id)
self._attrs[attr.attr_id] = attr
@property
def platform_id(self):
return self._platform_id
@property
def name(self):
return self._name
@property
def ports(self):
return self._ports
@property
def attrs(self):
return self._attrs
def get_port(self, port_id):
return self._ports[port_id]
@property
def CFG(self):
return self._CFG
@property
def parent(self):
return self._parent
@property
def subplatforms(self):
return self._subplatforms
def add_subplatform(self, pn):
if pn.platform_id in self._subplatforms:
raise Exception('%s: duplicate subplatform ID' % pn.platform_id)
self._subplatforms[pn.platform_id] = pn
pn._parent = self
@property
def instruments(self):
"""
Instruments configured for this platform.
"""
return self._instruments
def add_instrument(self, instrument):
if instrument.instrument_id in self._instruments:
raise Exception('%s: duplicate instrument ID' % instrument.instrument_id)
self._instruments[instrument.instrument_id] = instrument
def __str__(self):
s = "<%s" % self.platform_id
if self.name:
s += "/name=%s" % self.name
s += ">\n"
s += "ports=%s\n" % list(self.ports.itervalues())
s += "attrs=%s\n" % list(self.attrs.itervalues())
s += "#subplatforms=%d\n" % len(self.subplatforms)
s += "#instruments=%d\n" % len(self.instruments)
return s
def get_map(self, pairs):
"""
Helper for getting the list of (platform_id, parent_platform_id) pairs.
"""
if self._parent:
pairs.append((self.platform_id, self.parent.platform_id))
for sub_platform in self.subplatforms.itervalues():
sub_platform.get_map(pairs)
return pairs
def diff(self, other):
"""
Returns None if the two PlatformNode's represent the same topology and
same attributes and ports.
Otherwise, returns a message describing the first difference.
"""
if self.platform_id != other.platform_id:
return "platform IDs are different: %r != %r" % (
self.platform_id, other.platform_id)
if self.name != other.name:
return "platform names are different: %r != %r" % (
self.name, other.name)
# compare parents:
if (self.parent is None) != (other.parent is None):
return "platform parents are different: %r != %r" % (
self.parent, other.parent)
if self.parent is not None and self.parent.platform_id != other.parent.platform_id:
return "platform parents are different: %r != %r" % (
self.parent.platform_id, other.parent.platform_id)
# compare attributes:
attr_ids = set(self.attrs.iterkeys())
other_attr_ids = set(other.attrs.iterkeys())
if attr_ids != other_attr_ids:
return "platform_id=%r: attribute IDs are different: %r != %r" % (
self.platform_id, attr_ids, other_attr_ids)
for attr_id, attr in self.attrs.iteritems():
other_attr = other.attrs[attr_id]
diff = attr.diff(other_attr)
if diff:
return diff
# compare ports:
port_ids = set(self.ports.iterkeys())
other_port_ids = set(other.ports.iterkeys())
if port_ids != other_port_ids:
return "platform_id=%r: port IDs are different: %r != %r" % (
self.platform_id, port_ids, other_port_ids)
for port_id, port in self.ports.iteritems():
other_port = other.ports[port_id]
diff = port.diff(other_port)
if diff:
return diff
# compare sub-platforms:
subplatform_ids = set(self.subplatforms.iterkeys())
other_subplatform_ids = set(other.subplatforms.iterkeys())
if subplatform_ids != other_subplatform_ids:
return "platform_id=%r: subplatform IDs are different: %r != %r" % (
self.platform_id,
subplatform_ids, other_subplatform_ids)
for platform_id, node in self.subplatforms.iteritems():
other_node = other.subplatforms[platform_id]
diff = node.diff(other_node)
if diff:
return diff
return None
class NetworkDefinition(BaseNode):
"""
Represents a platform network definition in terms of platform types and
topology, including attributes and ports associated with the platforms.
See NetworkUtil for serialization/deserialization of objects of this type
and other associated utilities.
"""
def __init__(self):
BaseNode.__init__(self)
self._pnodes = {}
# _dummy_root is a dummy PlatformNode having as children the actual roots in
# the network.
self._dummy_root = None
@property
def pnodes(self):
"""
Returns a dict of all PlatformNodes in the network indexed by the platform ID.
@return {platform_id : PlatformNode} map
"""
return self._pnodes
@property
def root(self):
"""
Returns the root PlatformNode. Can be None if there is no such root or
there are multiple root PlatformNode's. The expected normal situation
is to have single root.
@return the root PlatformNode.
"""
root = None
if self._dummy_root and len(self._dummy_root.subplatforms) == 1:
root = self._dummy_root.subplatforms.values()[0]
return root
def get_map(self):
"""
Helper for getting the list of (platform_id, parent_platform_id) pairs.
"""
return self._dummy_root.get_map([])
def diff(self, other):
"""
Returns None if the two objects represent the same network definition.
Otherwise, returns a message describing the first difference.
"""
# compare topology
if (self.root is None) != (other.root is None):
return "roots are different: %r != %r" % (
self.root, other.root)
if self.root is not None:
return self.root.diff(other.root)
else:
return None
| """
@package ion.agents.platform.util.network
@file ion/agents/platform/util/network.py
@author Carlos Rueda
@brief Supporting elements for convenient representation of a platform network
"""
__author__ = 'Carlos Rueda'
__license__ = 'Apache 2.0'
class Basenode(object):
"""
A convenient base class for the components of a platform network.
"""
def __init__(self):
pass
def diff(self, other):
"""
Returns None if this and the other object are the same.
Otherwise, returns a message describing the first difference.
"""
raise not_implemented_error()
class Attrnode(BaseNode):
"""
Represents a platform attribute.
"""
def __init__(self, attr_id, defn):
"""
OOIION-1551:
First, get attr_name and attr_instance from the given attr_id (this is
the preferred mechanism as it's expected to be of the form
"<name>|<instance>") or from properties in defn, and resorting to
the given attr_id for the name, and "0" for the instance.
Finally, the store attr_id is composed from the name and instance as
captured above.
"""
BaseNode.__init__(self)
idx = attr_id.rfind('|')
if idx >= 0:
self._attr_name = attr_id[:idx]
self._attr_instance = attr_id[idx + 1:]
else:
self._attr_name = defn.get('attr_name', attr_id)
self._attr_instance = defn.get('attr_instance', '0')
self._attr_id = '%s|%s' % (self._attr_name, self._attr_instance)
defn['attr_id'] = self._attr_id
self._defn = defn
def __repr__(self):
return 'AttrNode{id=%s, defn=%s}' % (self.attr_id, self.defn)
@property
def attr_name(self):
return self._attr_name
@property
def attr_instance(self):
return self._attr_instance
@property
def attr_id(self):
return self._attr_id
@property
def defn(self):
return self._defn
@property
def writable(self):
return self.defn.get('read_write', '').lower().find('write') >= 0
def diff(self, other):
if self.attr_id != other.attr_id:
return 'Attribute IDs are different: %r != %r' % (self.attr_id, other.attr_id)
if self.defn != other.defn:
return 'Attribute definitions are different: %r != %r' % (self.defn, other.defn)
return None
class Portnode(BaseNode):
"""
Represents a platform port.
self._port_id
self._instrument_ids = [ instrument_id, ... ]
"""
def __init__(self, port_id):
BaseNode.__init__(self)
self._port_id = str(port_id)
self._instrument_ids = []
def __repr__(self):
return 'PortNode{port_id=%r, instrument_ids=%r}' % (self.port_id, self.instrument_ids)
@property
def port_id(self):
return self._port_id
@property
def instrument_ids(self):
"""
IDs of instruments associated to this port.
"""
return self._instrument_ids
def add_instrument_id(self, instrument_id):
if instrument_id in self._instrument_ids:
raise exception('duplicate instrument_id=%r for port_id=%r' % (instrument_id, self.port_id))
self._instrument_ids.append(instrument_id)
def remove_instrument_id(self, instrument_id):
if instrument_id not in self._instrument_ids:
raise exception('no such instrument_id=%r in port_id=%r' % (instrument_id, self.port_id))
self._instrument_ids.remove(instrument_id)
def diff(self, other):
"""
Returns None if the two ports are the same.
Otherwise, returns a message describing the first difference.
"""
if self.port_id != other.port_id:
return 'Port IDs are different: %r != %r' % (self.port_id, other.port_id)
instrument_ids = set(self.instrument_ids)
other_instrument_ids = set(other.instrument_ids)
if instrument_ids != other_instrument_ids:
return 'port_id=%r: instrument_ids are different: %r != %r' % (self.port_id, instrument_ids, other_instrument_ids)
return None
class Instrumentnode(BaseNode):
"""
Represents an instrument in a PlatformNode to capture the configuration for
instruments.
self._instrument_id
self._attrs = { ... }
self._CFG = dict
The _CFG element included for convenience to capture the provided
configuration dict.
"""
def __init__(self, instrument_id, attrs=None, CFG=None):
BaseNode.__init__(self)
self._instrument_id = instrument_id
self._attrs = attrs or {}
self._CFG = CFG
def __repr__(self):
return 'InstrumentNode{id=%s, attrs=%s}' % (self.instrument_id, self.attrs)
@property
def instrument_id(self):
return self._instrument_id
@property
def attrs(self):
"""
Attributes of this instrument.
"""
return self._attrs
@property
def cfg(self):
return self._CFG
def diff(self, other):
"""
Returns None if the two instruments are the same.
Otherwise, returns a message describing the first difference.
"""
if self.instrument_id != other.instrument_id:
return 'Instrument IDs are different: %r != %r' % (self.instrument_id, other.instrument_id)
if self.attrs != other.attrs:
return 'Instrument attributes are different: %r != %r' % (self.attrs, other.attrs)
return None
class Platformnode(BaseNode):
"""
Platform node for purposes of representing the network.
self._platform_id
self._attrs = { attr_id: AttrNode, ... }
self._ports = { port_id: PortNode, ... }
self._subplatforms = { platform_id: PlatformNode, ...}
self._parent = None | PlatformNode
self._instruments = { instrument_id: InstrumentNode, ...}
self._CFG = dict
The _CFG element included for convenience to capture the provided
configuration dict in PlatformAgent. See
create_network_definition_from_ci_config()
"""
def __init__(self, platform_id, CFG=None):
BaseNode.__init__(self)
self._platform_id = platform_id
self._name = None
self._ports = {}
self._attrs = {}
self._subplatforms = {}
self._parent = None
self._instruments = {}
self._CFG = CFG
def set_name(self, name):
self._name = name
def add_port(self, port):
if port.port_id in self._ports:
raise exception('%s: duplicate port ID' % port.port_id)
self._ports[port.port_id] = port
def add_attribute(self, attr):
if attr.attr_id in self._attrs:
raise exception('%s: duplicate attribute ID' % attr.attr_id)
self._attrs[attr.attr_id] = attr
@property
def platform_id(self):
return self._platform_id
@property
def name(self):
return self._name
@property
def ports(self):
return self._ports
@property
def attrs(self):
return self._attrs
def get_port(self, port_id):
return self._ports[port_id]
@property
def cfg(self):
return self._CFG
@property
def parent(self):
return self._parent
@property
def subplatforms(self):
return self._subplatforms
def add_subplatform(self, pn):
if pn.platform_id in self._subplatforms:
raise exception('%s: duplicate subplatform ID' % pn.platform_id)
self._subplatforms[pn.platform_id] = pn
pn._parent = self
@property
def instruments(self):
"""
Instruments configured for this platform.
"""
return self._instruments
def add_instrument(self, instrument):
if instrument.instrument_id in self._instruments:
raise exception('%s: duplicate instrument ID' % instrument.instrument_id)
self._instruments[instrument.instrument_id] = instrument
def __str__(self):
s = '<%s' % self.platform_id
if self.name:
s += '/name=%s' % self.name
s += '>\n'
s += 'ports=%s\n' % list(self.ports.itervalues())
s += 'attrs=%s\n' % list(self.attrs.itervalues())
s += '#subplatforms=%d\n' % len(self.subplatforms)
s += '#instruments=%d\n' % len(self.instruments)
return s
def get_map(self, pairs):
"""
Helper for getting the list of (platform_id, parent_platform_id) pairs.
"""
if self._parent:
pairs.append((self.platform_id, self.parent.platform_id))
for sub_platform in self.subplatforms.itervalues():
sub_platform.get_map(pairs)
return pairs
def diff(self, other):
"""
Returns None if the two PlatformNode's represent the same topology and
same attributes and ports.
Otherwise, returns a message describing the first difference.
"""
if self.platform_id != other.platform_id:
return 'platform IDs are different: %r != %r' % (self.platform_id, other.platform_id)
if self.name != other.name:
return 'platform names are different: %r != %r' % (self.name, other.name)
if (self.parent is None) != (other.parent is None):
return 'platform parents are different: %r != %r' % (self.parent, other.parent)
if self.parent is not None and self.parent.platform_id != other.parent.platform_id:
return 'platform parents are different: %r != %r' % (self.parent.platform_id, other.parent.platform_id)
attr_ids = set(self.attrs.iterkeys())
other_attr_ids = set(other.attrs.iterkeys())
if attr_ids != other_attr_ids:
return 'platform_id=%r: attribute IDs are different: %r != %r' % (self.platform_id, attr_ids, other_attr_ids)
for (attr_id, attr) in self.attrs.iteritems():
other_attr = other.attrs[attr_id]
diff = attr.diff(other_attr)
if diff:
return diff
port_ids = set(self.ports.iterkeys())
other_port_ids = set(other.ports.iterkeys())
if port_ids != other_port_ids:
return 'platform_id=%r: port IDs are different: %r != %r' % (self.platform_id, port_ids, other_port_ids)
for (port_id, port) in self.ports.iteritems():
other_port = other.ports[port_id]
diff = port.diff(other_port)
if diff:
return diff
subplatform_ids = set(self.subplatforms.iterkeys())
other_subplatform_ids = set(other.subplatforms.iterkeys())
if subplatform_ids != other_subplatform_ids:
return 'platform_id=%r: subplatform IDs are different: %r != %r' % (self.platform_id, subplatform_ids, other_subplatform_ids)
for (platform_id, node) in self.subplatforms.iteritems():
other_node = other.subplatforms[platform_id]
diff = node.diff(other_node)
if diff:
return diff
return None
class Networkdefinition(BaseNode):
"""
Represents a platform network definition in terms of platform types and
topology, including attributes and ports associated with the platforms.
See NetworkUtil for serialization/deserialization of objects of this type
and other associated utilities.
"""
def __init__(self):
BaseNode.__init__(self)
self._pnodes = {}
self._dummy_root = None
@property
def pnodes(self):
"""
Returns a dict of all PlatformNodes in the network indexed by the platform ID.
@return {platform_id : PlatformNode} map
"""
return self._pnodes
@property
def root(self):
"""
Returns the root PlatformNode. Can be None if there is no such root or
there are multiple root PlatformNode's. The expected normal situation
is to have single root.
@return the root PlatformNode.
"""
root = None
if self._dummy_root and len(self._dummy_root.subplatforms) == 1:
root = self._dummy_root.subplatforms.values()[0]
return root
def get_map(self):
"""
Helper for getting the list of (platform_id, parent_platform_id) pairs.
"""
return self._dummy_root.get_map([])
def diff(self, other):
"""
Returns None if the two objects represent the same network definition.
Otherwise, returns a message describing the first difference.
"""
if (self.root is None) != (other.root is None):
return 'roots are different: %r != %r' % (self.root, other.root)
if self.root is not None:
return self.root.diff(other.root)
else:
return None |
''' r : It opens the file to read-only. The file pointer exists at the beginning. The file
is by default open in this mode if no access mode is passed. '''
''' w : It opens the file to write only. It overwrites the file if previously exists
or creates a new one if no file exists with the same name. The file pointer
exists at the beginning of the file.'''
# change your parent dir accordingly
f = open("E:/GitHub/1) Git_Tutorials_Repo_Projects/core-python/Core_Python/ExFiles/FileMethod.txt",'w')
print("File Name : ",f.name)
print("File Modes : ",f.mode)
print("Return an integer number (file descriptor) of the file : ",f.fileno())
print("Readable : ",f.readable())
print("Writable : ",f.writable())
print("Returns the current position of file : ",f.tell())
print("Truncate : ",f.truncate())
f.close()
| """ r : It opens the file to read-only. The file pointer exists at the beginning. The file
is by default open in this mode if no access mode is passed. """
' w : It opens the file to write only. It overwrites the file if previously exists \n or creates a new one if no file exists with the same name. The file pointer \n exists at the beginning of the file.'
f = open('E:/GitHub/1) Git_Tutorials_Repo_Projects/core-python/Core_Python/ExFiles/FileMethod.txt', 'w')
print('File Name : ', f.name)
print('File Modes : ', f.mode)
print('Return an integer number (file descriptor) of the file : ', f.fileno())
print('Readable : ', f.readable())
print('Writable : ', f.writable())
print('Returns the current position of file : ', f.tell())
print('Truncate : ', f.truncate())
f.close() |
# !/usr/bin/env python3
#############################################################################
# #
# Program purpose: Displays a histogram from list data #
# Program Author : Happi Yvan <ivensteinpoker@gmail.com> #
# Creation Date : July 14, 2019 #
# #
#############################################################################
# URL: https://www.w3resource.com/python-exercises/python-basic-exercises.php
def histogram(someList, char):
for x in someList:
while x > 0:
print(f"{char}", end='')
x = x-1
print(f"\n")
if __name__ == "__main__":
randList = [3, 7, 4, 2, 6]
histogram(randList, '*')
| def histogram(someList, char):
for x in someList:
while x > 0:
print(f'{char}', end='')
x = x - 1
print(f'\n')
if __name__ == '__main__':
rand_list = [3, 7, 4, 2, 6]
histogram(randList, '*') |
class Dice(object):
def __init__(self, labels):
self.stat = labels
def roll_e(self):
self.stat[0], self.stat[2], self.stat[5], self.stat[3] = self.stat[3], self.stat[0], self.stat[2], self.stat[5]
def roll_w(self):
self.stat[0], self.stat[2], self.stat[5], self.stat[3] = self.stat[2], self.stat[5], self.stat[3], self.stat[0]
def roll_n(self):
self.stat[0], self.stat[1], self.stat[5], self.stat[4] = self.stat[1], self.stat[5], self.stat[4], self.stat[0]
def roll_s(self):
self.stat[0], self.stat[1], self.stat[5], self.stat[4] = self.stat[4], self.stat[0], self.stat[1], self.stat[5]
def get_top(self):
return self.stat[0]
dice = Dice(input().split())
commands = input()
for command in commands:
if command == "E":
dice.roll_e()
elif command == "W":
dice.roll_w()
elif command == "N":
dice.roll_n()
elif command == "S":
dice.roll_s()
print(dice.get_top())
| class Dice(object):
def __init__(self, labels):
self.stat = labels
def roll_e(self):
(self.stat[0], self.stat[2], self.stat[5], self.stat[3]) = (self.stat[3], self.stat[0], self.stat[2], self.stat[5])
def roll_w(self):
(self.stat[0], self.stat[2], self.stat[5], self.stat[3]) = (self.stat[2], self.stat[5], self.stat[3], self.stat[0])
def roll_n(self):
(self.stat[0], self.stat[1], self.stat[5], self.stat[4]) = (self.stat[1], self.stat[5], self.stat[4], self.stat[0])
def roll_s(self):
(self.stat[0], self.stat[1], self.stat[5], self.stat[4]) = (self.stat[4], self.stat[0], self.stat[1], self.stat[5])
def get_top(self):
return self.stat[0]
dice = dice(input().split())
commands = input()
for command in commands:
if command == 'E':
dice.roll_e()
elif command == 'W':
dice.roll_w()
elif command == 'N':
dice.roll_n()
elif command == 'S':
dice.roll_s()
print(dice.get_top()) |
def sum(number1, number2):
total = number1 + number2
print(total)
print("suma de 1 + 50")
sum(1,50)
print("suma de 1 + 500")
sum(500,1)
print("programa terminado") | def sum(number1, number2):
total = number1 + number2
print(total)
print('suma de 1 + 50')
sum(1, 50)
print('suma de 1 + 500')
sum(500, 1)
print('programa terminado') |
class Solution:
def isUgly(self, n: int) -> bool:
while True:
k=n
if n%2==0:
n=n//2
if n%3==0:
n=n//3
if n%5==0:
n=n//5
if k==n:
break
if n==1:
return True
| class Solution:
def is_ugly(self, n: int) -> bool:
while True:
k = n
if n % 2 == 0:
n = n // 2
if n % 3 == 0:
n = n // 3
if n % 5 == 0:
n = n // 5
if k == n:
break
if n == 1:
return True |
def palin(n):
if str(n) == str(n)[::-1]:
return True
return False
N, M = map(int, input().split())
mid = (N+M) // 2
mid1 = (N+M) // 2
mid2 = (N+M) // 2
mids = {}
while True:
mid1 += 1
if palin(mid1):
break
while True:
mid2 -= 1
if palin(mid2):
break
if abs(mid - mid1) > abs(mid - mid2):
print(mid2)
else:
print(mid1)
| def palin(n):
if str(n) == str(n)[::-1]:
return True
return False
(n, m) = map(int, input().split())
mid = (N + M) // 2
mid1 = (N + M) // 2
mid2 = (N + M) // 2
mids = {}
while True:
mid1 += 1
if palin(mid1):
break
while True:
mid2 -= 1
if palin(mid2):
break
if abs(mid - mid1) > abs(mid - mid2):
print(mid2)
else:
print(mid1) |
#from .test_cluster_det import test_cluster_det
#from .train_cluster_det import train_cluster_det
#from .debug_cluster_det import debug_cluster_det
#from .get_cluster_det import get_cluster_det
__factory__ = { }
def build_handler(phase, stage):
key_handler = '{}_{}'.format(phase, stage)
if key_handler not in __factory__:
raise KeyError("Unknown op:", key_handler)
return __factory__[key_handler]
| __factory__ = {}
def build_handler(phase, stage):
key_handler = '{}_{}'.format(phase, stage)
if key_handler not in __factory__:
raise key_error('Unknown op:', key_handler)
return __factory__[key_handler] |
# -*- coding: utf-8 -*-
def test_hello_world():
text = 'Hello World'
assert text == 'Hello World'
| def test_hello_world():
text = 'Hello World'
assert text == 'Hello World' |
try:
1/0
except Exception as e:
print('e : ', e)
print(f"repr(e) : {repr(e)}")
| try:
1 / 0
except Exception as e:
print('e : ', e)
print(f'repr(e) : {repr(e)}') |
#!/usr/bin/env python3
print("Welcome to the Binary/Hexadecimal Converter Application")
# User input
max_value = int(input("\nCompute binary and hexadecimal values up to the following decimal number: "))
decimal = list(range(1, max_value+1))
binary = []
hexadecimal = []
for num in decimal:
binary.append(bin(num))
hexadecimal.append(hex(num))
print("Generating your lists.....................Complete!")
# Get slicing index from user
print("\nUsing slices. we will now show a portion of each list")
lower_range = int(input("what decimal number would you like to start at: "))
upper_range = int(input("What decimal number would you to stop at: "))
# Slicing through each individual list
print("\nDecimal values from " + str(lower_range) + " to " + str(upper_range) + ":")
for num in decimal[lower_range - 1: upper_range]:
print(num)
print("\nBinary values from " + str(lower_range) + " to " + str(upper_range) + ":")
for num in binary[lower_range - 1: upper_range]:
print(num)
print("\nHexadecimal values from " + str(lower_range) + " to " + str(upper_range) + ":")
for num in hexadecimal[lower_range - 1: upper_range]:
print(num)
# Display the whole list
input("\nPress Enter to see all values from 1 to " + str(max_value) + ".")
print("Decimal----Binary----Hexadecimal")
print("================================")
for d, b, h in zip(decimal, binary, hexadecimal):
print(str(d) + "----" + str(b) + "----" + str(h))
| print('Welcome to the Binary/Hexadecimal Converter Application')
max_value = int(input('\nCompute binary and hexadecimal values up to the following decimal number: '))
decimal = list(range(1, max_value + 1))
binary = []
hexadecimal = []
for num in decimal:
binary.append(bin(num))
hexadecimal.append(hex(num))
print('Generating your lists.....................Complete!')
print('\nUsing slices. we will now show a portion of each list')
lower_range = int(input('what decimal number would you like to start at: '))
upper_range = int(input('What decimal number would you to stop at: '))
print('\nDecimal values from ' + str(lower_range) + ' to ' + str(upper_range) + ':')
for num in decimal[lower_range - 1:upper_range]:
print(num)
print('\nBinary values from ' + str(lower_range) + ' to ' + str(upper_range) + ':')
for num in binary[lower_range - 1:upper_range]:
print(num)
print('\nHexadecimal values from ' + str(lower_range) + ' to ' + str(upper_range) + ':')
for num in hexadecimal[lower_range - 1:upper_range]:
print(num)
input('\nPress Enter to see all values from 1 to ' + str(max_value) + '.')
print('Decimal----Binary----Hexadecimal')
print('================================')
for (d, b, h) in zip(decimal, binary, hexadecimal):
print(str(d) + '----' + str(b) + '----' + str(h)) |
#!/usr/bin/env python3
class Colors:
""" Colorized output during run """
red = "\033[91m"
green = "\033[92m"
yellow = "\033[93m"
reset = "\033[0m"
class Config:
user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36'
sleep_time = 5
| class Colors:
""" Colorized output during run """
red = '\x1b[91m'
green = '\x1b[92m'
yellow = '\x1b[93m'
reset = '\x1b[0m'
class Config:
user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36'
sleep_time = 5 |
"""This module holds miscellaneous validator Mixin classes for validating the incoming YAML."""
class KeyExistsMixIn:
def __init__(self, payload, *args, _key, _exception, _elem, **kwargs):
"""Raise an error if _key is not in the payload."""
try:
_ = payload[_key]
except (KeyError, AttributeError):
excp = _exception(f'\'{_key}\' not found in {_elem}.')
excp.show()
quit(excp.exit_code)
class ValIsStrMixIn(KeyExistsMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, **kwargs):
"""Raise an error if payload[_key] is not a string."""
super().__init__(payload,
*args,
_key=_key,
_exception=_exception,
_elem=_elem,
**kwargs)
if not isinstance(payload[_key], str):
excp = _exception(f'\'{_key}\' is not a string in {_elem}.')
excp.show()
quit(excp.exit_code)
class ValIsDictMixIn(KeyExistsMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, **kwargs):
"""Raise an error if payload[_key] is not a dict."""
# call superclass validation first
super().__init__(payload,
*args,
_key=_key,
_exception=_exception,
_elem=_elem,
**kwargs)
if not isinstance(payload[_key], dict):
excp = _exception(f'\'{_key}\' does not have a subtree in {_elem}.')
excp.show()
quit(excp.exit_code)
class ValIsDictHasSubKeysMixIn(ValIsDictMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, _sub_keys, **kwargs):
"""Raise an error if payload[_key] does not have _sub_keys in it."""
# call superclass validation first
super().__init__(payload,
*args,
_key=_key,
_exception=_exception,
_elem=_elem,
**kwargs)
for sk in _sub_keys:
if sk not in payload[_key]:
excp = _exception(f'\'{_key}\' does not have item \'{sk}\' in {_elem}.')
excp.show()
quit(excp.exit_code)
class ValIsDictSubKeysFromMixIn(ValIsDictMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, _keys_from, **kwargs):
"""Raise an error if payload[_key] has sub keys other than _keys_from in it."""
# call superclass validation first
super().__init__(payload,
*args,
_key=_key,
_exception=_exception,
_elem=_elem,
**kwargs)
for sk in payload[_key]:
if sk not in _keys_from:
excp = _exception(f'\'{sk}\' is not a valid item in {_elem}.')
excp.show()
quit(excp.exit_code)
class ValIsDictCheckSubKeyTypesMixIn(ValIsDictSubKeysFromMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, _keys_from, _type_list, **kwargs):
"""Raise an error if payload[_key] has sub keys which don't comply with types in _type_list ."""
# call superclass validation first
super().__init__(payload,
*args,
_key=_key,
_exception=_exception,
_keys_from=_keys_from,
_elem=_elem,
**kwargs)
if len(_keys_from) != len(_type_list):
raise ValueError(f'_keys_from length differs from _type_list length')
for subkey in payload[_key]:
req_type = _type_list[_keys_from.index(subkey)]
if not isinstance(payload[_key][subkey], req_type):
excp = _exception(f'\'{subkey}: {payload[_key][subkey]}\' is not of a valid type in {_elem}. Expected {req_type.__name__}.')
excp.show()
quit(excp.exit_code)
| """This module holds miscellaneous validator Mixin classes for validating the incoming YAML."""
class Keyexistsmixin:
def __init__(self, payload, *args, _key, _exception, _elem, **kwargs):
"""Raise an error if _key is not in the payload."""
try:
_ = payload[_key]
except (KeyError, AttributeError):
excp = _exception(f"'{_key}' not found in {_elem}.")
excp.show()
quit(excp.exit_code)
class Valisstrmixin(KeyExistsMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, **kwargs):
"""Raise an error if payload[_key] is not a string."""
super().__init__(payload, *args, _key=_key, _exception=_exception, _elem=_elem, **kwargs)
if not isinstance(payload[_key], str):
excp = _exception(f"'{_key}' is not a string in {_elem}.")
excp.show()
quit(excp.exit_code)
class Valisdictmixin(KeyExistsMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, **kwargs):
"""Raise an error if payload[_key] is not a dict."""
super().__init__(payload, *args, _key=_key, _exception=_exception, _elem=_elem, **kwargs)
if not isinstance(payload[_key], dict):
excp = _exception(f"'{_key}' does not have a subtree in {_elem}.")
excp.show()
quit(excp.exit_code)
class Valisdicthassubkeysmixin(ValIsDictMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, _sub_keys, **kwargs):
"""Raise an error if payload[_key] does not have _sub_keys in it."""
super().__init__(payload, *args, _key=_key, _exception=_exception, _elem=_elem, **kwargs)
for sk in _sub_keys:
if sk not in payload[_key]:
excp = _exception(f"'{_key}' does not have item '{sk}' in {_elem}.")
excp.show()
quit(excp.exit_code)
class Valisdictsubkeysfrommixin(ValIsDictMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, _keys_from, **kwargs):
"""Raise an error if payload[_key] has sub keys other than _keys_from in it."""
super().__init__(payload, *args, _key=_key, _exception=_exception, _elem=_elem, **kwargs)
for sk in payload[_key]:
if sk not in _keys_from:
excp = _exception(f"'{sk}' is not a valid item in {_elem}.")
excp.show()
quit(excp.exit_code)
class Valisdictchecksubkeytypesmixin(ValIsDictSubKeysFromMixIn):
def __init__(self, payload, *args, _key, _exception, _elem, _keys_from, _type_list, **kwargs):
"""Raise an error if payload[_key] has sub keys which don't comply with types in _type_list ."""
super().__init__(payload, *args, _key=_key, _exception=_exception, _keys_from=_keys_from, _elem=_elem, **kwargs)
if len(_keys_from) != len(_type_list):
raise value_error(f'_keys_from length differs from _type_list length')
for subkey in payload[_key]:
req_type = _type_list[_keys_from.index(subkey)]
if not isinstance(payload[_key][subkey], req_type):
excp = _exception(f"'{subkey}: {payload[_key][subkey]}' is not of a valid type in {_elem}. Expected {req_type.__name__}.")
excp.show()
quit(excp.exit_code) |
def solve_poly_reg(x, y, max_order):
"""Fit a polynomial regression model for each order 0 through max_order.
Args:
x (ndarray): An array of shape (samples, ) that contains the input values
y (ndarray): An array of shape (samples, ) that contains the output values
max_order (scalar): The order of the polynomial we want to fit
Returns:
numpy array: (input_features, max_order+1) Each column contains the fitted
weights for that order of polynomial regression
"""
# Create a dictionary with polynomial order as keys, and np array of theta
# (weights) as the values
theta_hat = {}
# Loop over polynomial orders from 0 through max_order
for order in range(max_order+1):
X = make_design_matrix(x, order)
this_theta = ordinary_least_squares(X, y)
theta_hat[order] = this_theta
return theta_hat
max_order = 5
theta_hat = solve_poly_reg(x, y, max_order)
| def solve_poly_reg(x, y, max_order):
"""Fit a polynomial regression model for each order 0 through max_order.
Args:
x (ndarray): An array of shape (samples, ) that contains the input values
y (ndarray): An array of shape (samples, ) that contains the output values
max_order (scalar): The order of the polynomial we want to fit
Returns:
numpy array: (input_features, max_order+1) Each column contains the fitted
weights for that order of polynomial regression
"""
theta_hat = {}
for order in range(max_order + 1):
x = make_design_matrix(x, order)
this_theta = ordinary_least_squares(X, y)
theta_hat[order] = this_theta
return theta_hat
max_order = 5
theta_hat = solve_poly_reg(x, y, max_order) |
s = 'GTCGAAGCCATTTCGCCGTGGGGTTGCGCGTGATTCTACCATCAGTTCTTTTTACGGTTCATTTAAACCGGTAATCCAGTAGCGTCAACAAATACTACTCTATGGTTGACTGGAGACGGAACGGGCCCATCGGACGTAATTATGTGGTCTTTGCACGAGCCGGCTGATACAAGCACATGCATCGTGACCACACCGACAAAGTTGTATCTTGGTTCCCGATTTATAACGTCTGCAGAATGAGCCTGTGTGACTATTGTAGTAGGTCCGAATGCCATGTCGGGGCTCCCACCTACGCTGCCTGGCGTCTTTTTGTGCGCAGGTTGTCATTTTCTGGCTTCATAACACCCAGTCCTCAACAAGCGGAAGCCGATCTCACCCTTCCAGTACTTCGTCGACAACGCCGCCATTGTCAACCAAAACCTGTCCTTGAACTAGAGTCGTCTTATCGCACTTAGAGCCTAGCAACCTATCCCGCCATAGAGCTCATTGTAGAAGACCGCAACCCGTGGGGGATCCTATGAGCATACTGCCACTGAAGCTATCGCGGCAGCTAACTGGGATGACCACCGTGTGGAGCCACGCCAGTTCTGATCATCATTTACGTCCACTAAATACTTGGGTCGACCGACAATCGTGGGACTACGCGCGTACAAGCCGGTCGTTCAATAAAGTAGTCAGTCACTTTTCTTCCCACAGAGCTAGACTTGTCAAGCCTCCAATAAGTCAGGGGAGGGGCTGGTCAGCTCAACTACGGGACGGCGGCATAAGTATTGTGCGCAGTGACTGGATACAAGGACTAATACGTCGAGCCTCTGGAGTAGCAGTGTAAGTAAGTAAACATGTGCATGATCTCCGTAGCTATCTCAGGCGTAGGGAGCATGGATAGCATAGGCTGCTCGGATCAGCCTT'
'''
Author : Sujit Mandal
Github: https://github.com/sujitmandal
Package : https://pypi.org/project/images-into-array/
LinkedIn : https://www.linkedin.com/in/sujit-mandal-91215013a/
Facebook : https://www.facebook.com/sujit.mandal.33671748
Twitter : https://twitter.com/mandalsujit37
'''
def RNA(rna):
transcribed = rna.replace('T', 'U')
print(transcribed)
if __name__ == "__main__":
RNA(s) | s = 'GTCGAAGCCATTTCGCCGTGGGGTTGCGCGTGATTCTACCATCAGTTCTTTTTACGGTTCATTTAAACCGGTAATCCAGTAGCGTCAACAAATACTACTCTATGGTTGACTGGAGACGGAACGGGCCCATCGGACGTAATTATGTGGTCTTTGCACGAGCCGGCTGATACAAGCACATGCATCGTGACCACACCGACAAAGTTGTATCTTGGTTCCCGATTTATAACGTCTGCAGAATGAGCCTGTGTGACTATTGTAGTAGGTCCGAATGCCATGTCGGGGCTCCCACCTACGCTGCCTGGCGTCTTTTTGTGCGCAGGTTGTCATTTTCTGGCTTCATAACACCCAGTCCTCAACAAGCGGAAGCCGATCTCACCCTTCCAGTACTTCGTCGACAACGCCGCCATTGTCAACCAAAACCTGTCCTTGAACTAGAGTCGTCTTATCGCACTTAGAGCCTAGCAACCTATCCCGCCATAGAGCTCATTGTAGAAGACCGCAACCCGTGGGGGATCCTATGAGCATACTGCCACTGAAGCTATCGCGGCAGCTAACTGGGATGACCACCGTGTGGAGCCACGCCAGTTCTGATCATCATTTACGTCCACTAAATACTTGGGTCGACCGACAATCGTGGGACTACGCGCGTACAAGCCGGTCGTTCAATAAAGTAGTCAGTCACTTTTCTTCCCACAGAGCTAGACTTGTCAAGCCTCCAATAAGTCAGGGGAGGGGCTGGTCAGCTCAACTACGGGACGGCGGCATAAGTATTGTGCGCAGTGACTGGATACAAGGACTAATACGTCGAGCCTCTGGAGTAGCAGTGTAAGTAAGTAAACATGTGCATGATCTCCGTAGCTATCTCAGGCGTAGGGAGCATGGATAGCATAGGCTGCTCGGATCAGCCTT'
'\nAuthor : Sujit Mandal\nGithub: https://github.com/sujitmandal\nPackage : https://pypi.org/project/images-into-array/\nLinkedIn : https://www.linkedin.com/in/sujit-mandal-91215013a/\nFacebook : https://www.facebook.com/sujit.mandal.33671748\nTwitter : https://twitter.com/mandalsujit37\n'
def rna(rna):
transcribed = rna.replace('T', 'U')
print(transcribed)
if __name__ == '__main__':
rna(s) |
# 15. 3Sum
# ttungl@gmail.com
# Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0?
# Find all unique triplets in the array which gives the sum of zero.
# For example, given array S = [-1, 0, 1, 2, -1, -4],
# --
# A solution set is:
# [
# [-1, 0, 1],
# [-1, -1, 2]
# ]
class Solution(object):
def threeSum(self, nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
# sol 1:
# binary search
# runtime: 1476ms
res = []
nums.sort() ## tricky
for i in range(len(nums)-2):
if i > 0 and nums[i] == nums[i-1]:
continue
lo, hi = i + 1, len(nums)-1
while lo < hi:
s = nums[i] + nums[lo] + nums[hi]
if s < 0: lo += 1
elif s > 0: hi -= 1
else: # s = 0
res.append((nums[i],nums[lo],nums[hi]))
while lo < hi and nums[lo] == nums[lo + 1]: lo += 1
while lo < hi and nums[hi] == nums[hi - 1]: hi -= 1
lo += 1
hi -= 1
return res
# sol 2:
# runtime: 1227ms
if len(nums) < 3:
return []
nums.sort() # [-4, -1, -1, 0, 1, 2]
res = set() # use set() takes less space than list.
for i, v in enumerate(nums[:-2]): # n=[-4,-1,-1,0]
if i >= 1 and v == nums[i-1]: # i=1, v=-1, n[1-1]=n[0]=-4 //;i=2, v=-1, n[2-1]=n[1]=-1
continue
d = {}
for x in nums[i+1:]: # x in n[1+1]=n[2:]=[-1,0]
if x not in d: #
d[-v-x] = 1 # d[-1-(-1)]=d[0]=1;
else:
res.add((v, -v-x, x)) # res=(-1, 0, -1)
return map(list, res) # or use "list(s for s in res)"
# sol 3:
# runtime: 580ms
counter = collections.defaultdict(int)
for num in nums: counter[num] += 1
if 0 in counter and counter[0] > 2:
res = [[0, 0, 0]]
else: res = []
uniques = counter.keys()
pos = sorted(p for p in uniques if p > 0)
neg = sorted(n for n in uniques if n < 0)
for p in pos:
for n in neg:
inverse = -(p + n)
if inverse in counter:
if inverse == p and counter[p] > 1:
res.append([n, p, p])
elif inverse == n and counter[n] > 1:
res.append([n, n, p])
elif n<inverse< p or inverse == 0:
res.append([n, inverse, p])
return res
| class Solution(object):
def three_sum(self, nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
res = []
nums.sort()
for i in range(len(nums) - 2):
if i > 0 and nums[i] == nums[i - 1]:
continue
(lo, hi) = (i + 1, len(nums) - 1)
while lo < hi:
s = nums[i] + nums[lo] + nums[hi]
if s < 0:
lo += 1
elif s > 0:
hi -= 1
else:
res.append((nums[i], nums[lo], nums[hi]))
while lo < hi and nums[lo] == nums[lo + 1]:
lo += 1
while lo < hi and nums[hi] == nums[hi - 1]:
hi -= 1
lo += 1
hi -= 1
return res
if len(nums) < 3:
return []
nums.sort()
res = set()
for (i, v) in enumerate(nums[:-2]):
if i >= 1 and v == nums[i - 1]:
continue
d = {}
for x in nums[i + 1:]:
if x not in d:
d[-v - x] = 1
else:
res.add((v, -v - x, x))
return map(list, res)
counter = collections.defaultdict(int)
for num in nums:
counter[num] += 1
if 0 in counter and counter[0] > 2:
res = [[0, 0, 0]]
else:
res = []
uniques = counter.keys()
pos = sorted((p for p in uniques if p > 0))
neg = sorted((n for n in uniques if n < 0))
for p in pos:
for n in neg:
inverse = -(p + n)
if inverse in counter:
if inverse == p and counter[p] > 1:
res.append([n, p, p])
elif inverse == n and counter[n] > 1:
res.append([n, n, p])
elif n < inverse < p or inverse == 0:
res.append([n, inverse, p])
return res |
expected_output = {
"route-information": {
"route-table": [
{
"table-name": "inet.0",
"destination-count": "60",
"total-route-count": "66",
"active-route-count": "60",
"holddown-route-count": "1",
"hidden-route-count": "0",
"rt-entry": {
"rt-destination": "10.169.196.254",
"rt-prefix-length": "32",
"rt-entry-count": "2",
"rt-announced-count": "2",
"bgp-group": {
"bgp-group-name": "lacGCS001",
"bgp-group-type": "External",
},
"nh": {"to": "10.189.5.252"},
"med": "29012",
"local-preference": "4294967285",
"as-path": "[65151] (65171) I",
"communities": "65151:65109",
},
},
{
"table-name": "inet.3",
"destination-count": "27",
"total-route-count": "27",
"active-route-count": "27",
"holddown-route-count": "0",
"hidden-route-count": "0",
"rt-entry": {
"active-tag": "*",
"rt-destination": "10.169.196.254",
"rt-prefix-length": "32",
"rt-entry-count": "1",
"rt-announced-count": "1",
"route-label": "118071",
"bgp-group": {
"bgp-group-name": "lacGCS001",
"bgp-group-type": "External",
},
"nh": {"to": "10.189.5.252"},
"med": "29012",
"local-preference": "100",
"as-path": "[65151] (65171) I",
"communities": "65151:65109",
},
},
]
}
}
| expected_output = {'route-information': {'route-table': [{'table-name': 'inet.0', 'destination-count': '60', 'total-route-count': '66', 'active-route-count': '60', 'holddown-route-count': '1', 'hidden-route-count': '0', 'rt-entry': {'rt-destination': '10.169.196.254', 'rt-prefix-length': '32', 'rt-entry-count': '2', 'rt-announced-count': '2', 'bgp-group': {'bgp-group-name': 'lacGCS001', 'bgp-group-type': 'External'}, 'nh': {'to': '10.189.5.252'}, 'med': '29012', 'local-preference': '4294967285', 'as-path': '[65151] (65171) I', 'communities': '65151:65109'}}, {'table-name': 'inet.3', 'destination-count': '27', 'total-route-count': '27', 'active-route-count': '27', 'holddown-route-count': '0', 'hidden-route-count': '0', 'rt-entry': {'active-tag': '*', 'rt-destination': '10.169.196.254', 'rt-prefix-length': '32', 'rt-entry-count': '1', 'rt-announced-count': '1', 'route-label': '118071', 'bgp-group': {'bgp-group-name': 'lacGCS001', 'bgp-group-type': 'External'}, 'nh': {'to': '10.189.5.252'}, 'med': '29012', 'local-preference': '100', 'as-path': '[65151] (65171) I', 'communities': '65151:65109'}}]}} |
if __name__ == '__main__':
fruits = ["apple", "banana", "cherry", "kiwi", "mango"]
l = [fruit.upper() for fruit in fruits if "n" in fruit]
print(l)
s = {fruit.upper() for fruit in fruits if "n" in fruit}
print(s)
d = {fruit.upper() : len(fruit) for fruit in fruits if "n" in fruit}
print(d)
t = *(fruit.upper() for fruit in fruits if "n" in fruit),
print(t) | if __name__ == '__main__':
fruits = ['apple', 'banana', 'cherry', 'kiwi', 'mango']
l = [fruit.upper() for fruit in fruits if 'n' in fruit]
print(l)
s = {fruit.upper() for fruit in fruits if 'n' in fruit}
print(s)
d = {fruit.upper(): len(fruit) for fruit in fruits if 'n' in fruit}
print(d)
t = (*(fruit.upper() for fruit in fruits if 'n' in fruit),)
print(t) |
class BaseClass:
def __init__(self):
pass
@staticmethod
def say_hi():
print("hi")
class MyClassOne(BaseClass):
def __init__(self):
pass
class MyClassTwo(BaseClass, MyClassOne):
def __init__(self):
pass
| class Baseclass:
def __init__(self):
pass
@staticmethod
def say_hi():
print('hi')
class Myclassone(BaseClass):
def __init__(self):
pass
class Myclasstwo(BaseClass, MyClassOne):
def __init__(self):
pass |
"""
django-amazon-price-monitor monitors prices of Amazon products.
"""
__version_info__ = {
'major': 0,
'minor': 7,
'micro': 0,
'releaselevel': 'final',
'serial': 0,
}
def get_version(short=False):
assert __version_info__['releaselevel'] in ('alpha', 'beta', 'final')
version = ["{major:d}.{minor:d}".format(**__version_info__), ]
if __version_info__['micro']:
version.append(".{micro:d}".format(**__version_info__))
if __version_info__['releaselevel'] != 'final' and not short:
version.append('{0!s}{1:d}'.format(__version_info__['releaselevel'][0], __version_info__['serial']))
return ''.join(version)
__version__ = get_version()
| """
django-amazon-price-monitor monitors prices of Amazon products.
"""
__version_info__ = {'major': 0, 'minor': 7, 'micro': 0, 'releaselevel': 'final', 'serial': 0}
def get_version(short=False):
assert __version_info__['releaselevel'] in ('alpha', 'beta', 'final')
version = ['{major:d}.{minor:d}'.format(**__version_info__)]
if __version_info__['micro']:
version.append('.{micro:d}'.format(**__version_info__))
if __version_info__['releaselevel'] != 'final' and (not short):
version.append('{0!s}{1:d}'.format(__version_info__['releaselevel'][0], __version_info__['serial']))
return ''.join(version)
__version__ = get_version() |
class AndGate(BinaryGate):
def __init__(self,n):
super().__init__(n)
def performGateLogic(self):
a = self.getPinA()
b = self.getPinB()
if a==1 and b==1:
return 1
else:
return 0
| class Andgate(BinaryGate):
def __init__(self, n):
super().__init__(n)
def perform_gate_logic(self):
a = self.getPinA()
b = self.getPinB()
if a == 1 and b == 1:
return 1
else:
return 0 |
"""
Display the complete lyrics for the song: 99 Bottles of Beer on the Wall.
The lyrics follow this form:
99 bottles of beer on the wall
99 bottles of beer
Take one down, pass it around
98 bottles of beer on the wall
98 bottles of beer on the wall
98 bottles of beer
Take one down, pass it around
"""
def solution():
"""Using while loop"""
max = 99
while max > 1:
print(f"{max} bottles of beer on the wall")
print(f"{max} bottles of beer")
print(f"Take one down, pass it around")
max -= 1
print(f"{max} bottles of beer \n")
def main():
solution()
if __name__ == '__main__':
main()
| """
Display the complete lyrics for the song: 99 Bottles of Beer on the Wall.
The lyrics follow this form:
99 bottles of beer on the wall
99 bottles of beer
Take one down, pass it around
98 bottles of beer on the wall
98 bottles of beer on the wall
98 bottles of beer
Take one down, pass it around
"""
def solution():
"""Using while loop"""
max = 99
while max > 1:
print(f'{max} bottles of beer on the wall')
print(f'{max} bottles of beer')
print(f'Take one down, pass it around')
max -= 1
print(f'{max} bottles of beer \n')
def main():
solution()
if __name__ == '__main__':
main() |
#
# Copyright (c) 2019, Infosys Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
IES_TYPE = {
"0" : "MME-UE-S1AP-ID",
"1" : "HandoverType",
"2" : "Cause",
"3" : "SourceID",
"4" : "TargetID",
"8" : "ENB-UE-S1AP-ID",
"12" : "E-RABSubjecttoDataForwardingList",
"13" : "E-RABtoReleaselistHOCmd",
"14" : "E-RABDataForwardingItem",
"15" : "E-RABReleaseItemBearerRelComp",
"16" : "E-RABToBeSetuplistBearerSUReq",
"17" : "E-RABToBeSetupItemBearerSUReq",
"18" : "E-RABAdmittedlist",
"19" : "E-RABFailedToSetuplistHOReqAck",
"20" : "E-RABAdmittedItem",
"21" : "E-RABFailedtoSetupItemHOReqAck",
"22" : "E-RABToBeSwitchedDLlist",
"23" : "E-RABToBeSwitchedDLItem",
"24" : "E-RABToBeSetupListCtxtSUReq",
"25" : "TraceActivation",
"26" : "NAS-PDU",
"27" : "E-RABToBeSetupItemHOReq",
"28" : "E-RABSetuplistBearerSURes",
"29" : "E-RABFailedToSetuplistBearerSURes",
"30" : "E-RABToBeModifiedlistBearerModReq",
"31" : "E-RABModifylistBearerModRes",
"32" : "E-RABFailedToModifylist",
"33" : "E-RABToBeReleasedlist",
"34" : "E-RABFailedToReleaselist",
"35" : "E-RABItem",
"36" : "E-RABToBeModifiedItemBearerModReq",
"37" : "E-RABModifyItemBearerModRes",
"38" : "E-RABReleaseItem",
"39" : "E-RABSetupItemBearerSURes",
"40" : "SecurityContext",
"41" : "HandoverRestrictionlist",
"43" : "UEPagingID",
"44" : "PagingDRX",
"46" : "TAIList",
"47" : "TAIItem",
"48" : "E-RABFailedToSetuplistCtxtSURes",
"49" : "E-RABReleaseItemHOCmd",
"50" : "E-RABSetupItemCtxtSURes",
"51" : "E-RABSetupListCtxtSURes",
"52" : "E-RABToBeSetupItemCtxtSUReq",
"53" : "E-RABToBeSetupListHOReq",
"55" : "GERANtoLTEHOInformationRes",
"57" : "UTRANtoLTEHOInformationRes",
"58" : "CriticalityDiagnostics",
"59" : "Global-ENB-ID",
"60" : "ENBname",
"61" : "MMEname",
"63" : "ServedPLMNs",
"64" : "SupportedTAs",
"65" : "TimeToWait",
"66" : "UEAggregateMaximumBitrate",
"67" : "TAI",
"69" : "E-RABReleaselistBearerRelComp",
"70" : "Cdma2000PDU",
"71" : "Cdma2000RATType",
"72" : "Cdma2000SectorID",
"73" : "SecurityKey",
"74" : "UERadioCapability",
"75" : "GUMMEI",
"78" : "E-RABInformationlistItem",
"79" : "Direct-Forwarding-Path-Availability",
"80" : "UEIdentityIndexValue",
"83" : "Cdma2000HOStatus",
"84" : "Cdma2000HORequiredIndication",
"86" : "E-UTRAN-Trace-ID",
"87" : "RelativeMMECapacity",
"88" : "SourceMME-UE-S1AP-ID",
"89" : "Bearers-SubjectToStatusTransfer-Item",
"90" : "ENB-StatusTransfer-TransparentContainer",
"91" : "UE-associatedLogicalS1-ConnectionItem",
"92" : "ResetType",
"93" : "UE-associatedLogicalS1-ConnectionlistResAck",
"94" : "E-RABToBeSwitchedULItem",
"95" : "E-RABToBeSwitchedULlist",
"96" : "S-TMSI",
"97" : "Cdma2000OneXRAND",
"98" : "RequestType",
"99" : "UE-S1AP-IDs",
"100" : "EUTRAN-CGI",
"101" : "OverloadResponse",
"102" : "Cdma2000OneXSRVCCInfo",
"103" : "E-RABFailedToBeReleasedlist",
"104" : "Source-ToTarget-TransparentContainer",
"105" : "ServedGUMMEIs",
"106" : "SubscriberProfileIDforRFP",
"107" : "UESecurityCapabilities",
"108" : "CSFallbackIndicator",
"109" : "CNDomain",
"110" : "E-RABReleasedlist",
"111" : "MessageIdentifier",
"112" : "SerialNumber",
"113" : "WarningArealist",
"114" : "RepetitionPeriod",
"115" : "NumberofBroadcastRequest",
"116" : "WarningType",
"117" : "WarningSecurityInfo",
"118" : "DataCodingScheme",
"119" : "WarningMessageContents",
"120" : "BroadcastCompletedArealist",
"121" : "Inter-SystemInformationTransferTypeEDT",
"122" : "Inter-SystemInformationTransferTypeMDT",
"123" : "Target-ToSource-TransparentContainer",
"124" : "SRVCCOperationPossible",
"125" : "SRVCCHOIndication",
"126" : "NAS-DownlinkCount",
"127" : "CSG-Id",
"128" : "CSG-Idlist",
"129" : "SONConfigurationTransferECT",
"130" : "SONConfigurationTransferMCT",
"131" : "TraceCollectionEntityIPAddress",
"132" : "MSClassmark2",
"133" : "MSClassmark3",
"134" : "RRC-Establishment-Cause",
"135" : "NASSecurityParametersfromE-UTRAN",
"136" : "NASSecurityParameterstoE-UTRAN",
"137" : "PagingDRX",
"138" : "Source-ToTarget-TransparentContainer-Secondary",
"139" : "Target-ToSource-TransparentContainer-Secondary",
"140" : "EUTRANRoundTripDelayEstimationInfo",
"141" : "BroadcastCancelledArealist",
"142" : "ConcurrentWarningMessageIndicator",
"143" : "Data-Forwarding-Not-Possible",
"144" : "ExtendedRepetitionPeriod",
"145" : "CellAccessMode",
"146" : "CSGMembershipStatus",
"147" : "LPPa-PDU",
"148" : "Routing-ID",
"149" : "Time-Synchronisation-Info",
"150" : "PS-ServiceNotAvailable",
"151" : "PagingPriority",
"152" : "X2TNLConfigurationInfo",
"153" : "ENBX2ExtendedTransportLayerAddresses",
"154" : "GUMMEIlist",
"155" : "GW-TransportLayerAddress",
"156" : "Correlation-ID",
"157" : "SourceMME-GUMMEI",
"158" : "MME-UE-S1AP-ID-2",
"159" : "RegisteredLAI",
"160" : "RelayNode-Indicator",
"161" : "TrafficLoadReductionIndication",
"162" : "MDTConfiguration",
"163" : "MMERelaySupportIndicator",
"164" : "GWContextReleaseIndication",
"165" : "ManagementBasedMDTAllowed",
"166" : "PrivacyIndicator",
"167" : "Time-UE-StayedInCell-EnhancedGranularity",
"168" : "HO-Cause",
"169" : "VoiceSupportMatchIndicator",
"170" : "GUMMEIType",
"171" : "M3Configuration",
"172" : "M4Configuration",
"173" : "M5Configuration",
"174" : "MDT-Location-Info",
"175" : "MobilityInformation",
"176" : "Tunnel-Information-for-BBF",
"177" : "ManagementBasedMDTPLMNlist",
"178" : "SignallingBasedMDTPLMNlist",
"179" : "ULCOUNTValueExtended",
"180" : "DLCOUNTValueExtended",
"181" : "ReceiveStatusOfULPDCPSDUsExtended",
"182" : "ECGIlistForRestart",
"183" : "SIPTO-Correlation-ID",
"184" : "SIPTO-L-GW-TransportLayerAddress",
"185" : "TransportInformation",
"186" : "LHN-ID",
"187" : "AdditionalCSFallbackIndicator",
"188" : "TAIlistForRestart",
"189" : "UserLocationInformation",
"190" : "EmergencyAreaIDlistForRestart",
"191" : "KillAllWarningMessages",
"192" : "Masked-IMEISV",
"193" : "ENBIndirectX2TransportLayerAddresses",
"194" : "UE-HistoryInformationFromTheUE",
"195" : "ProSeAuthorized",
"196" : "ExpectedUEBehaviour",
"197" : "LoggedMBSFNMDT",
"198" : "UERadioCapabilityForPaging",
"199" : "E-RABToBeModifiedlistBearerModInd",
"200" : "E-RABToBeModifiedItemBearerModInd",
"201" : "E-RABNotToBeModifiedlistBearerModInd",
"202" : "E-RABNotToBeModifiedItemBearerModInd",
"203" : "E-RABModifyListBearerModConf",
"204" : "E-RABModifyItemBearerModConf",
"205" : "E-RABFailedToModifylistBearerModConf",
"206" : "SON-Information-Report",
"207" : "Muting-Availability-Indication",
"208" : "Muting-Pattern-Information",
"209" : "Synchronisation-Information",
"210" : "E-RABToBeReleasedlistBearerModConf",
"211" : "AssistanceDataForPaging",
"212" : "CellIdentifierAndCELevelForCECapableUEs",
"213" : "InformationOnRecommendedCellsAndENBsForPaging",
"214" : "RecommendedCellItem",
"215" : "RecommendedENBItem",
"216" : "ProSeUEtoNetworkRelaying",
"217" : "ULCOUNTValuePDCP-SNlength18",
"218" : "DLCOUNTValuePDCP-SNlength18",
"219" : "ReceiveStatusOfULPDCPSDUsPDCP-SNlength18",
"220" : "M6Configuration",
"221" : "M7Configuration",
"222" : "PWSfailedECGIlist",
"223" : "MME-Group-ID",
"224" : "Additional-GUTI",
"225" : "S1-Message",
"226" : "CSGMembershipInfo",
"227" : "Paging-eDRXInformation",
"228" : "UE-RetentionInformation",
"230" : "UE-Usage-Type",
"231" : "Extended-UEIdentityIndexValue"}
| ies_type = {'0': 'MME-UE-S1AP-ID', '1': 'HandoverType', '2': 'Cause', '3': 'SourceID', '4': 'TargetID', '8': 'ENB-UE-S1AP-ID', '12': 'E-RABSubjecttoDataForwardingList', '13': 'E-RABtoReleaselistHOCmd', '14': 'E-RABDataForwardingItem', '15': 'E-RABReleaseItemBearerRelComp', '16': 'E-RABToBeSetuplistBearerSUReq', '17': 'E-RABToBeSetupItemBearerSUReq', '18': 'E-RABAdmittedlist', '19': 'E-RABFailedToSetuplistHOReqAck', '20': 'E-RABAdmittedItem', '21': 'E-RABFailedtoSetupItemHOReqAck', '22': 'E-RABToBeSwitchedDLlist', '23': 'E-RABToBeSwitchedDLItem', '24': 'E-RABToBeSetupListCtxtSUReq', '25': 'TraceActivation', '26': 'NAS-PDU', '27': 'E-RABToBeSetupItemHOReq', '28': 'E-RABSetuplistBearerSURes', '29': 'E-RABFailedToSetuplistBearerSURes', '30': 'E-RABToBeModifiedlistBearerModReq', '31': 'E-RABModifylistBearerModRes', '32': 'E-RABFailedToModifylist', '33': 'E-RABToBeReleasedlist', '34': 'E-RABFailedToReleaselist', '35': 'E-RABItem', '36': 'E-RABToBeModifiedItemBearerModReq', '37': 'E-RABModifyItemBearerModRes', '38': 'E-RABReleaseItem', '39': 'E-RABSetupItemBearerSURes', '40': 'SecurityContext', '41': 'HandoverRestrictionlist', '43': 'UEPagingID', '44': 'PagingDRX', '46': 'TAIList', '47': 'TAIItem', '48': 'E-RABFailedToSetuplistCtxtSURes', '49': 'E-RABReleaseItemHOCmd', '50': 'E-RABSetupItemCtxtSURes', '51': 'E-RABSetupListCtxtSURes', '52': 'E-RABToBeSetupItemCtxtSUReq', '53': 'E-RABToBeSetupListHOReq', '55': 'GERANtoLTEHOInformationRes', '57': 'UTRANtoLTEHOInformationRes', '58': 'CriticalityDiagnostics', '59': 'Global-ENB-ID', '60': 'ENBname', '61': 'MMEname', '63': 'ServedPLMNs', '64': 'SupportedTAs', '65': 'TimeToWait', '66': 'UEAggregateMaximumBitrate', '67': 'TAI', '69': 'E-RABReleaselistBearerRelComp', '70': 'Cdma2000PDU', '71': 'Cdma2000RATType', '72': 'Cdma2000SectorID', '73': 'SecurityKey', '74': 'UERadioCapability', '75': 'GUMMEI', '78': 'E-RABInformationlistItem', '79': 'Direct-Forwarding-Path-Availability', '80': 'UEIdentityIndexValue', '83': 'Cdma2000HOStatus', '84': 'Cdma2000HORequiredIndication', '86': 'E-UTRAN-Trace-ID', '87': 'RelativeMMECapacity', '88': 'SourceMME-UE-S1AP-ID', '89': 'Bearers-SubjectToStatusTransfer-Item', '90': 'ENB-StatusTransfer-TransparentContainer', '91': 'UE-associatedLogicalS1-ConnectionItem', '92': 'ResetType', '93': 'UE-associatedLogicalS1-ConnectionlistResAck', '94': 'E-RABToBeSwitchedULItem', '95': 'E-RABToBeSwitchedULlist', '96': 'S-TMSI', '97': 'Cdma2000OneXRAND', '98': 'RequestType', '99': 'UE-S1AP-IDs', '100': 'EUTRAN-CGI', '101': 'OverloadResponse', '102': 'Cdma2000OneXSRVCCInfo', '103': 'E-RABFailedToBeReleasedlist', '104': 'Source-ToTarget-TransparentContainer', '105': 'ServedGUMMEIs', '106': 'SubscriberProfileIDforRFP', '107': 'UESecurityCapabilities', '108': 'CSFallbackIndicator', '109': 'CNDomain', '110': 'E-RABReleasedlist', '111': 'MessageIdentifier', '112': 'SerialNumber', '113': 'WarningArealist', '114': 'RepetitionPeriod', '115': 'NumberofBroadcastRequest', '116': 'WarningType', '117': 'WarningSecurityInfo', '118': 'DataCodingScheme', '119': 'WarningMessageContents', '120': 'BroadcastCompletedArealist', '121': 'Inter-SystemInformationTransferTypeEDT', '122': 'Inter-SystemInformationTransferTypeMDT', '123': 'Target-ToSource-TransparentContainer', '124': 'SRVCCOperationPossible', '125': 'SRVCCHOIndication', '126': 'NAS-DownlinkCount', '127': 'CSG-Id', '128': 'CSG-Idlist', '129': 'SONConfigurationTransferECT', '130': 'SONConfigurationTransferMCT', '131': 'TraceCollectionEntityIPAddress', '132': 'MSClassmark2', '133': 'MSClassmark3', '134': 'RRC-Establishment-Cause', '135': 'NASSecurityParametersfromE-UTRAN', '136': 'NASSecurityParameterstoE-UTRAN', '137': 'PagingDRX', '138': 'Source-ToTarget-TransparentContainer-Secondary', '139': 'Target-ToSource-TransparentContainer-Secondary', '140': 'EUTRANRoundTripDelayEstimationInfo', '141': 'BroadcastCancelledArealist', '142': 'ConcurrentWarningMessageIndicator', '143': 'Data-Forwarding-Not-Possible', '144': 'ExtendedRepetitionPeriod', '145': 'CellAccessMode', '146': 'CSGMembershipStatus', '147': 'LPPa-PDU', '148': 'Routing-ID', '149': 'Time-Synchronisation-Info', '150': 'PS-ServiceNotAvailable', '151': 'PagingPriority', '152': 'X2TNLConfigurationInfo', '153': 'ENBX2ExtendedTransportLayerAddresses', '154': 'GUMMEIlist', '155': 'GW-TransportLayerAddress', '156': 'Correlation-ID', '157': 'SourceMME-GUMMEI', '158': 'MME-UE-S1AP-ID-2', '159': 'RegisteredLAI', '160': 'RelayNode-Indicator', '161': 'TrafficLoadReductionIndication', '162': 'MDTConfiguration', '163': 'MMERelaySupportIndicator', '164': 'GWContextReleaseIndication', '165': 'ManagementBasedMDTAllowed', '166': 'PrivacyIndicator', '167': 'Time-UE-StayedInCell-EnhancedGranularity', '168': 'HO-Cause', '169': 'VoiceSupportMatchIndicator', '170': 'GUMMEIType', '171': 'M3Configuration', '172': 'M4Configuration', '173': 'M5Configuration', '174': 'MDT-Location-Info', '175': 'MobilityInformation', '176': 'Tunnel-Information-for-BBF', '177': 'ManagementBasedMDTPLMNlist', '178': 'SignallingBasedMDTPLMNlist', '179': 'ULCOUNTValueExtended', '180': 'DLCOUNTValueExtended', '181': 'ReceiveStatusOfULPDCPSDUsExtended', '182': 'ECGIlistForRestart', '183': 'SIPTO-Correlation-ID', '184': 'SIPTO-L-GW-TransportLayerAddress', '185': 'TransportInformation', '186': 'LHN-ID', '187': 'AdditionalCSFallbackIndicator', '188': 'TAIlistForRestart', '189': 'UserLocationInformation', '190': 'EmergencyAreaIDlistForRestart', '191': 'KillAllWarningMessages', '192': 'Masked-IMEISV', '193': 'ENBIndirectX2TransportLayerAddresses', '194': 'UE-HistoryInformationFromTheUE', '195': 'ProSeAuthorized', '196': 'ExpectedUEBehaviour', '197': 'LoggedMBSFNMDT', '198': 'UERadioCapabilityForPaging', '199': 'E-RABToBeModifiedlistBearerModInd', '200': 'E-RABToBeModifiedItemBearerModInd', '201': 'E-RABNotToBeModifiedlistBearerModInd', '202': 'E-RABNotToBeModifiedItemBearerModInd', '203': 'E-RABModifyListBearerModConf', '204': 'E-RABModifyItemBearerModConf', '205': 'E-RABFailedToModifylistBearerModConf', '206': 'SON-Information-Report', '207': 'Muting-Availability-Indication', '208': 'Muting-Pattern-Information', '209': 'Synchronisation-Information', '210': 'E-RABToBeReleasedlistBearerModConf', '211': 'AssistanceDataForPaging', '212': 'CellIdentifierAndCELevelForCECapableUEs', '213': 'InformationOnRecommendedCellsAndENBsForPaging', '214': 'RecommendedCellItem', '215': 'RecommendedENBItem', '216': 'ProSeUEtoNetworkRelaying', '217': 'ULCOUNTValuePDCP-SNlength18', '218': 'DLCOUNTValuePDCP-SNlength18', '219': 'ReceiveStatusOfULPDCPSDUsPDCP-SNlength18', '220': 'M6Configuration', '221': 'M7Configuration', '222': 'PWSfailedECGIlist', '223': 'MME-Group-ID', '224': 'Additional-GUTI', '225': 'S1-Message', '226': 'CSGMembershipInfo', '227': 'Paging-eDRXInformation', '228': 'UE-RetentionInformation', '230': 'UE-Usage-Type', '231': 'Extended-UEIdentityIndexValue'} |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def constant_aminoacid_code():
aa_dict = {
"R" : "ARG", "H" : "HIS", "K" : "LYS", "D" : "ASP", "E" : "GLU",
"S" : "SER", "T" : "THR", "N" : "ASN", "Q" : "GLN", "C" : "CYS",
"G" : "GLY", "P" : "PRO", "A" : "ALA", "V" : "VAL", "I" : "ILE",
"L" : "LEU", "M" : "MET", "F" : "PHE", "Y" : "TYR", "W" : "TRP",
"-" : "MAR"
}
return aa_dict
def constant_aminoacid_code_reverse():
aa_dict = { v : k for k, v in constant_aminoacid_code().items() }
## aa_dict["HSD"] = "H"
## aa_dict["CYSP"] = "C"
return aa_dict
def constant_atomlabel():
# MAR stands for missing-a-residue;
# We consider MAR still has 4 placeholder atoms that form a backbone
label_dict = {
"ARG" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'NE', 'CZ', 'NH1', 'NH2'],
"HIS" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'ND1', 'CD2', 'CE1', 'NE2'],
"LYS" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'CE', 'NZ'],
"ASP" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'OD1', 'OD2'],
"GLU" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'OE1', 'OE2'],
"SER" : ['N', 'CA', 'C', 'O', 'CB', 'OG'],
"THR" : ['N', 'CA', 'C', 'O', 'CB', 'OG1', 'CG2'],
"ASN" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'OD1', 'ND2'],
"GLN" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'OE1', 'NE2'],
"CYS" : ['N', 'CA', 'C', 'O', 'CB', 'SG'],
"GLY" : ['N', 'CA', 'C', 'O'],
"PRO" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD'],
"ALA" : ['N', 'CA', 'C', 'O', 'CB'],
"VAL" : ['N', 'CA', 'C', 'O', 'CB', 'CG1', 'CG2'],
"ILE" : ['N', 'CA', 'C', 'O', 'CB', 'CG1', 'CG2', 'CD1'],
"LEU" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2'],
"MET" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'SD', 'CE'],
"PHE" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2', 'CE1', 'CE2', 'CZ'],
"TYR" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2', 'CE1', 'CE2', 'CZ', 'OH'],
"TRP" : ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2', 'NE1', 'CE2', 'CE3', 'CZ2', 'CZ3', 'CH2'],
"MAR" : ['N', 'CA', 'C', 'O'],
}
return label_dict
| def constant_aminoacid_code():
aa_dict = {'R': 'ARG', 'H': 'HIS', 'K': 'LYS', 'D': 'ASP', 'E': 'GLU', 'S': 'SER', 'T': 'THR', 'N': 'ASN', 'Q': 'GLN', 'C': 'CYS', 'G': 'GLY', 'P': 'PRO', 'A': 'ALA', 'V': 'VAL', 'I': 'ILE', 'L': 'LEU', 'M': 'MET', 'F': 'PHE', 'Y': 'TYR', 'W': 'TRP', '-': 'MAR'}
return aa_dict
def constant_aminoacid_code_reverse():
aa_dict = {v: k for (k, v) in constant_aminoacid_code().items()}
return aa_dict
def constant_atomlabel():
label_dict = {'ARG': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'NE', 'CZ', 'NH1', 'NH2'], 'HIS': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'ND1', 'CD2', 'CE1', 'NE2'], 'LYS': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'CE', 'NZ'], 'ASP': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'OD1', 'OD2'], 'GLU': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'OE1', 'OE2'], 'SER': ['N', 'CA', 'C', 'O', 'CB', 'OG'], 'THR': ['N', 'CA', 'C', 'O', 'CB', 'OG1', 'CG2'], 'ASN': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'OD1', 'ND2'], 'GLN': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD', 'OE1', 'NE2'], 'CYS': ['N', 'CA', 'C', 'O', 'CB', 'SG'], 'GLY': ['N', 'CA', 'C', 'O'], 'PRO': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD'], 'ALA': ['N', 'CA', 'C', 'O', 'CB'], 'VAL': ['N', 'CA', 'C', 'O', 'CB', 'CG1', 'CG2'], 'ILE': ['N', 'CA', 'C', 'O', 'CB', 'CG1', 'CG2', 'CD1'], 'LEU': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2'], 'MET': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'SD', 'CE'], 'PHE': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2', 'CE1', 'CE2', 'CZ'], 'TYR': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2', 'CE1', 'CE2', 'CZ', 'OH'], 'TRP': ['N', 'CA', 'C', 'O', 'CB', 'CG', 'CD1', 'CD2', 'NE1', 'CE2', 'CE3', 'CZ2', 'CZ3', 'CH2'], 'MAR': ['N', 'CA', 'C', 'O']}
return label_dict |
def head(n):
print(f"Calling the function head({n})")
# Base Case
if(n == 0):
print("**** Base Case **** \n")
return
# Recursive Function Call
head(n-1)
# Operation
print(n)
# head(5): -1006
# RecursionError: maximum recursion depth exceeded while pickling
# an object. (Stack Memory Overflow, if do not have
# the base case "break".
head(5)
# Answer:
#Calling the function head(5)
#Calling the function head(4)
#Calling the function head(3)
#Calling the function head(2)
#Calling the function head(1)
#Calling the function head(0)
#**** Base Case ****
#
#1
#2
#3
#4
#5
| def head(n):
print(f'Calling the function head({n})')
if n == 0:
print('**** Base Case **** \n')
return
head(n - 1)
print(n)
head(5) |
{
PDBConst.Name: "notetype",
PDBConst.Columns: [
{
PDBConst.Name: "ID",
PDBConst.Attributes: ["tinyint", "not null", "primary key"]
},
{
PDBConst.Name: "Type",
PDBConst.Attributes: ["varchar(128)", "not null"]
},
{
PDBConst.Name: "SID",
PDBConst.Attributes: ["varchar(128)", "not null"]
}],
PDBConst.Initials: [
{"Type": "'html'", "ID": "1", "SID": "'sidTableNoteType1'"},
{"Type": "'pdf'", "ID": "2", "SID": "'sidTableNoteType2'"}
]
}
| {PDBConst.Name: 'notetype', PDBConst.Columns: [{PDBConst.Name: 'ID', PDBConst.Attributes: ['tinyint', 'not null', 'primary key']}, {PDBConst.Name: 'Type', PDBConst.Attributes: ['varchar(128)', 'not null']}, {PDBConst.Name: 'SID', PDBConst.Attributes: ['varchar(128)', 'not null']}], PDBConst.Initials: [{'Type': "'html'", 'ID': '1', 'SID': "'sidTableNoteType1'"}, {'Type': "'pdf'", 'ID': '2', 'SID': "'sidTableNoteType2'"}]} |
# -*- python -*-
{
'includes': [
'../../../build/common.gypi',
],
'target_defaults': {
'variables':{
'target_base': 'none',
},
'target_conditions': [
['target_base=="ripple_ledger_service"', {
'sources': [
'ripple_ledger_service.h',
'ripple_ledger_service.c',
],
'xcode_settings': {
'WARNING_CFLAGS': [
'-Wno-missing-field-initializers'
]
},
},
]],
},
'conditions': [
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'ripple_ledger_service64',
'type': 'static_library',
'variables': {
'target_base': 'ripple_ledger_service',
'win_target': 'x64',
},
'dependencies': [
'<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64',
'<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc64',
'<(DEPTH)/native_client/src/trusted/threading/threading.gyp:thread_interface64',
'<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64',
'<(DEPTH)/native_client/src/trusted/nacl_base/nacl_base.gyp:nacl_base64',
],
},
],
}],
],
'targets': [
{
'target_name': 'ripple_ledger_service',
'type': 'static_library',
'variables': {
'target_base': 'ripple_ledger_service',
},
'dependencies': [
'<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
'<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc',
'<(DEPTH)/native_client/src/trusted/threading/threading.gyp:thread_interface',
'<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer',
'<(DEPTH)/native_client/src/trusted/nacl_base/nacl_base.gyp:nacl_base',
],
},
],
}
| {'includes': ['../../../build/common.gypi'], 'target_defaults': {'variables': {'target_base': 'none'}, 'target_conditions': [['target_base=="ripple_ledger_service"', {'sources': ['ripple_ledger_service.h', 'ripple_ledger_service.c'], 'xcode_settings': {'WARNING_CFLAGS': ['-Wno-missing-field-initializers']}}]]}, 'conditions': [['OS=="win" and target_arch=="ia32"', {'targets': [{'target_name': 'ripple_ledger_service64', 'type': 'static_library', 'variables': {'target_base': 'ripple_ledger_service', 'win_target': 'x64'}, 'dependencies': ['<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64', '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc64', '<(DEPTH)/native_client/src/trusted/threading/threading.gyp:thread_interface64', '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64', '<(DEPTH)/native_client/src/trusted/nacl_base/nacl_base.gyp:nacl_base64']}]}]], 'targets': [{'target_name': 'ripple_ledger_service', 'type': 'static_library', 'variables': {'target_base': 'ripple_ledger_service'}, 'dependencies': ['<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc', '<(DEPTH)/native_client/src/trusted/threading/threading.gyp:thread_interface', '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer', '<(DEPTH)/native_client/src/trusted/nacl_base/nacl_base.gyp:nacl_base']}]} |
# This code is a partial mod of of the Adafruit PyPotal lib
# https://github.com/adafruit/Adafruit_CircuitPython_PyPortal/blob/master/adafruit_pyportal.py
def wrap_nicely(string, max_chars):
"""Wrap nicely function
A helper that will return a list of lines with word-break wrapping
Parameters
----------
string : str
The text to be wrapped
max_chars: int
The maximum number of characters on a line before wrapping
Returns
-------
list
Returns a list of lines where each line is separated based
on the amount of max_chars provided
"""
string = string.replace('\n', '').replace('\r', '') # Strip confusing newlines
words = string.split(' ')
the_lines = []
the_line = ''
for w in words:
if len(the_line + ' ' + w) <= max_chars:
the_line += ' ' + w
else:
the_lines.append(the_line)
the_line = '' + w
if the_line: # Last line remaining
the_lines.append(the_line)
# Remove first space from first line:
the_lines[0] = the_lines[0][1:]
return the_lines | def wrap_nicely(string, max_chars):
"""Wrap nicely function
A helper that will return a list of lines with word-break wrapping
Parameters
----------
string : str
The text to be wrapped
max_chars: int
The maximum number of characters on a line before wrapping
Returns
-------
list
Returns a list of lines where each line is separated based
on the amount of max_chars provided
"""
string = string.replace('\n', '').replace('\r', '')
words = string.split(' ')
the_lines = []
the_line = ''
for w in words:
if len(the_line + ' ' + w) <= max_chars:
the_line += ' ' + w
else:
the_lines.append(the_line)
the_line = '' + w
if the_line:
the_lines.append(the_line)
the_lines[0] = the_lines[0][1:]
return the_lines |
# 140000000
LILIN = 1201000
sm.setSpeakerID(LILIN)
if sm.sendAskAccept("Shall we continue with your Basic Training? Before accepting, please make sure you have properly equipped your sword and your skills and potions are readily accessible."):
sm.startQuest(parentID)
sm.removeEscapeButton()
sm.sendNext("Alright. This time, let's have you defeat #r#o0100132#s#k, which are slightly more powerful than #o0100131#s. Head over to #b#m140020100##k and defeat #r15#k of them. That should help you build your strength. Alright! Let's do this!")
else:
sm.sendNext("Are you not ready to hunt the #o0100132#s yet? Always proceed if and only if you are fully ready. There's nothing worse than engaging in battles without sufficient preparation.")
sm.dispose() | lilin = 1201000
sm.setSpeakerID(LILIN)
if sm.sendAskAccept('Shall we continue with your Basic Training? Before accepting, please make sure you have properly equipped your sword and your skills and potions are readily accessible.'):
sm.startQuest(parentID)
sm.removeEscapeButton()
sm.sendNext("Alright. This time, let's have you defeat #r#o0100132#s#k, which are slightly more powerful than #o0100131#s. Head over to #b#m140020100##k and defeat #r15#k of them. That should help you build your strength. Alright! Let's do this!")
else:
sm.sendNext("Are you not ready to hunt the #o0100132#s yet? Always proceed if and only if you are fully ready. There's nothing worse than engaging in battles without sufficient preparation.")
sm.dispose() |
class Solution(object):
def solveNQueens(self, n):
"""
:type n: int
:rtype: List[List[str]]
"""
ress = []
locs = [-1] * n
checkarray = [[True] * n,
[True] * (2 * n - 1),
[True] * (2 * n - 1)]
def put(dep, checkarray):
if dep == n:
ress.append(["." * loc + "Q" + "." * (n - loc - 1) for loc in locs])
return
for i in range(n):
if checkarray[0][i] and checkarray[1][dep+i] and checkarray[2][dep-i+n-1]:
checkarray[0][i], checkarray[1][dep + i], checkarray[2][dep - i + n - 1] = False, False, False
locs[dep] = i
put(dep+1,checkarray)
checkarray[0][i], checkarray[1][dep + i], checkarray[2][dep - i + n - 1] = True, True, True
put(0, checkarray)
return ress
if __name__ == "__main__":
sol = Solution()
sol.solveNQueens(1) | class Solution(object):
def solve_n_queens(self, n):
"""
:type n: int
:rtype: List[List[str]]
"""
ress = []
locs = [-1] * n
checkarray = [[True] * n, [True] * (2 * n - 1), [True] * (2 * n - 1)]
def put(dep, checkarray):
if dep == n:
ress.append(['.' * loc + 'Q' + '.' * (n - loc - 1) for loc in locs])
return
for i in range(n):
if checkarray[0][i] and checkarray[1][dep + i] and checkarray[2][dep - i + n - 1]:
(checkarray[0][i], checkarray[1][dep + i], checkarray[2][dep - i + n - 1]) = (False, False, False)
locs[dep] = i
put(dep + 1, checkarray)
(checkarray[0][i], checkarray[1][dep + i], checkarray[2][dep - i + n - 1]) = (True, True, True)
put(0, checkarray)
return ress
if __name__ == '__main__':
sol = solution()
sol.solveNQueens(1) |
def basic_align(seq1, seq2):
score = 0
if len(seq1) == len(seq2):
for base1, base2 in zip(seq1, seq2):
if base1 == base2:
score += 1
else:
score -= 0
return score
def aa_extract(file):
aa_list = []
for line in file:
if line.startswith(' ') == False:
aa_list.append(line[0])
return(aa_list)
matrix = open('./data/blosum.txt', 'r')
aa_list = aa_extract(matrix)
matrix.close()
# def init_dict(aa_list):
# dict = {}
# for aa1 in aa_list:
# for aa2 in aa_list:
# dict[aa1+aa2] =
# return dict
def value_list(matrix):
values = []
# for line in file:
# if line.startswith(' ') == False:
# for i in range(len(line)):
# if i ==
#dict = init_dict(aa_list)
matrix = open('./data/blosum.txt', 'r')
def get_score(file, aa1, aa2):
for line in file:
line = line.rstrip()
if line.startswith(' '):
col = line.find(aa1)
else:
row = line.find(aa2)
# def pair_dict(list):
# dict = {}
# for aa in list:
# if dict[aa] not in dict:
# dict[aa] =
| def basic_align(seq1, seq2):
score = 0
if len(seq1) == len(seq2):
for (base1, base2) in zip(seq1, seq2):
if base1 == base2:
score += 1
else:
score -= 0
return score
def aa_extract(file):
aa_list = []
for line in file:
if line.startswith(' ') == False:
aa_list.append(line[0])
return aa_list
matrix = open('./data/blosum.txt', 'r')
aa_list = aa_extract(matrix)
matrix.close()
def value_list(matrix):
values = []
matrix = open('./data/blosum.txt', 'r')
def get_score(file, aa1, aa2):
for line in file:
line = line.rstrip()
if line.startswith(' '):
col = line.find(aa1)
else:
row = line.find(aa2) |
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 20 20:51:09 2017
@author: sruti
"""
#python learning
# This program prints Hello, world!
print('Hello, world!') | """
Created on Mon Nov 20 20:51:09 2017
@author: sruti
"""
print('Hello, world!') |
## after apply any leyer of the forward function in pytorch
iimg=input[:,:3,:,].cpu().data.numpy()
# print(img.shape)
img = np.squeeze(img)
# print(img.shape)
img=np.transpose(img,(1,2,0))
img = cv2.resize(img,(256,256))
cv2.imshow('out',img)
cv2.waitKey(0)
| iimg = input[:, :3, :].cpu().data.numpy()
img = np.squeeze(img)
img = np.transpose(img, (1, 2, 0))
img = cv2.resize(img, (256, 256))
cv2.imshow('out', img)
cv2.waitKey(0) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.