content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# Time: O(n^2 * 2^n) # Space: O(1) # brute force, bitmask class Solution(object): def maximumGood(self, statements): """ :type statements: List[List[int]] :rtype: int """ def check(mask): return all(((mask>>j)&1) == statements[i][j] for i in xrange(len(statements)) if (mask>>i)&1 for j in xrange(len(statements[i])) if statements[i][j] != 2) def popcount(x): result = 0 while x: x &= x-1 result += 1 return result result = 0 for mask in xrange(1<<len(statements)): if check(mask): result = max(result, popcount(mask)) return result
class Solution(object): def maximum_good(self, statements): """ :type statements: List[List[int]] :rtype: int """ def check(mask): return all((mask >> j & 1 == statements[i][j] for i in xrange(len(statements)) if mask >> i & 1 for j in xrange(len(statements[i])) if statements[i][j] != 2)) def popcount(x): result = 0 while x: x &= x - 1 result += 1 return result result = 0 for mask in xrange(1 << len(statements)): if check(mask): result = max(result, popcount(mask)) return result
string = "Hello world" for char in string: print(char) length = len(string) print(length)
string = 'Hello world' for char in string: print(char) length = len(string) print(length)
expected_output = { 'vrf': { 'HIPTV': { 'address_family': { 'ipv4': { 'routes': { '172.25.254.37/32': { 'known_via': 'bgp 7992', 'ip': '172.25.254.37', 'metric': 0, 'installed': { 'date': 'Feb 6 13:12:22.999', 'for': '10w6d', }, 'next_hop': { 'next_hop_list': { 1: { 'index': 1, 'metric': 0, 'next_hop': '172.25.253.121', 'from': '172.25.253.121', }, }, }, 'active': True, 'distance': 20, 'route': '172.25.254.37/32', 'mask': '32', 'tag': '65525', 'type': 'external', }, }, }, }, }, }, }
expected_output = {'vrf': {'HIPTV': {'address_family': {'ipv4': {'routes': {'172.25.254.37/32': {'known_via': 'bgp 7992', 'ip': '172.25.254.37', 'metric': 0, 'installed': {'date': 'Feb 6 13:12:22.999', 'for': '10w6d'}, 'next_hop': {'next_hop_list': {1: {'index': 1, 'metric': 0, 'next_hop': '172.25.253.121', 'from': '172.25.253.121'}}}, 'active': True, 'distance': 20, 'route': '172.25.254.37/32', 'mask': '32', 'tag': '65525', 'type': 'external'}}}}}}}
class Search: def __init__(self): pass def execute(self): pass def __repr__(self): pass def __str__(self): pass class QueryBuilder: pass class Query: pass
class Search: def __init__(self): pass def execute(self): pass def __repr__(self): pass def __str__(self): pass class Querybuilder: pass class Query: pass
def double_exponential_smoothing(series, initial_level, initial_trend, level_smoothing, trend_smoothing): """ Fit the trend and level to the timeseries using double exponential smoothing Args: - series: series, time-series to perform double exponential smoothing on Returns: - fit: series, double exponential smoothing fit - level: float, current level - trend: float, current trend """ # set initial level and trend level = initial_level trend = initial_trend fit = [initial_level] # apply double exponential smoothing to decompose level and trend for ind in range(1, len(series)): # predict time step projection = level + trend # update level level_new = (1 - level_smoothing) * (series[ind]) + level_smoothing * (level + trend) # update trend trend_new = (1 - trend_smoothing) * trend + trend_smoothing * (level_new - level) # append to projected fit.append(projection) # set to re-iterate trend = trend_new level = level_new return fit, trend, level
def double_exponential_smoothing(series, initial_level, initial_trend, level_smoothing, trend_smoothing): """ Fit the trend and level to the timeseries using double exponential smoothing Args: - series: series, time-series to perform double exponential smoothing on Returns: - fit: series, double exponential smoothing fit - level: float, current level - trend: float, current trend """ level = initial_level trend = initial_trend fit = [initial_level] for ind in range(1, len(series)): projection = level + trend level_new = (1 - level_smoothing) * series[ind] + level_smoothing * (level + trend) trend_new = (1 - trend_smoothing) * trend + trend_smoothing * (level_new - level) fit.append(projection) trend = trend_new level = level_new return (fit, trend, level)
''' You are given an integer n, the number of teams in a tournament that has strange rules: - If the current number of teams is even, each team gets paired with another team. A total of n / 2 matches are played, and n / 2 teams advance to the next round. - If the current number of teams is odd, one team randomly advances in the tournament, and the rest gets paired. A total of (n - 1) / 2 matches are played, and (n - 1) / 2 + 1 teams advance to the next round. Return the number of matches played in the tournament until a winner is decided. Example: Input: n = 7 Output: 6 Explanation: Details of the tournament: - 1st Round: Teams = 7, Matches = 3, and 4 teams advance. - 2nd Round: Teams = 4, Matches = 2, and 2 teams advance. - 3rd Round: Teams = 2, Matches = 1, and 1 team is declared the winner. Total number of matches = 3 + 2 + 1 = 6. Example: Input: n = 14 Output: 13 Explanation: Details of the tournament: - 1st Round: Teams = 14, Matches = 7, and 7 teams advance. - 2nd Round: Teams = 7, Matches = 3, and 4 teams advance. - 3rd Round: Teams = 4, Matches = 2, and 2 teams advance. - 4th Round: Teams = 2, Matches = 1, and 1 team is declared the winner. Total number of matches = 7 + 3 + 2 + 1 = 13. Constraints: - 1 <= n <= 200 ''' #Difficuty: Easy #200 / 200 test cases passed. #Runtime: 32 ms #Memory Usage: 14.3 MB #Runtime: 32 ms, faster than 100.00% of Python3 online submissions for Count of Matches in Tournament. #Memory Usage: 14.3 MB, less than 33.33% of Python3 online submissions for Count of Matches in Tournament. class Solution: def numberOfMatches(self, n: int) -> int: return n - 1
""" You are given an integer n, the number of teams in a tournament that has strange rules: - If the current number of teams is even, each team gets paired with another team. A total of n / 2 matches are played, and n / 2 teams advance to the next round. - If the current number of teams is odd, one team randomly advances in the tournament, and the rest gets paired. A total of (n - 1) / 2 matches are played, and (n - 1) / 2 + 1 teams advance to the next round. Return the number of matches played in the tournament until a winner is decided. Example: Input: n = 7 Output: 6 Explanation: Details of the tournament: - 1st Round: Teams = 7, Matches = 3, and 4 teams advance. - 2nd Round: Teams = 4, Matches = 2, and 2 teams advance. - 3rd Round: Teams = 2, Matches = 1, and 1 team is declared the winner. Total number of matches = 3 + 2 + 1 = 6. Example: Input: n = 14 Output: 13 Explanation: Details of the tournament: - 1st Round: Teams = 14, Matches = 7, and 7 teams advance. - 2nd Round: Teams = 7, Matches = 3, and 4 teams advance. - 3rd Round: Teams = 4, Matches = 2, and 2 teams advance. - 4th Round: Teams = 2, Matches = 1, and 1 team is declared the winner. Total number of matches = 7 + 3 + 2 + 1 = 13. Constraints: - 1 <= n <= 200 """ class Solution: def number_of_matches(self, n: int) -> int: return n - 1
# The purpose of __all__ is to define the public API of this module, and which # objects are imported if we call "from {{ cookiecutter.project_name }}.hello import *" __all__ = [ "HelloClass", "say_hello_lots", ] class HelloClass: """A class whose only purpose in life is to say hello""" def __init__(self, name: str): """ Args: name: The initial value of the name of the person who gets greeted """ #: The name of the person who gets greeted self.name = name def format_greeting(self) -> str: """Return a greeting for `name` >>> HelloClass("me").format_greeting() 'Hello me' """ greeting = f"Hello {self.name}" return greeting def say_hello_lots(hello: HelloClass = None, times=5): """Print lots of greetings using the given `HelloClass` Args: hello: A `HelloClass` that `format_greeting` will be called on. If not given, use a HelloClass with name="me" times: The number of times to call it """ if hello is None: hello = HelloClass("me") for _ in range(times): print(hello.format_greeting())
__all__ = ['HelloClass', 'say_hello_lots'] class Helloclass: """A class whose only purpose in life is to say hello""" def __init__(self, name: str): """ Args: name: The initial value of the name of the person who gets greeted """ self.name = name def format_greeting(self) -> str: """Return a greeting for `name` >>> HelloClass("me").format_greeting() 'Hello me' """ greeting = f'Hello {self.name}' return greeting def say_hello_lots(hello: HelloClass=None, times=5): """Print lots of greetings using the given `HelloClass` Args: hello: A `HelloClass` that `format_greeting` will be called on. If not given, use a HelloClass with name="me" times: The number of times to call it """ if hello is None: hello = hello_class('me') for _ in range(times): print(hello.format_greeting())
"""This problem was asked by Quora. Given an absolute pathname that may have . or .. as part of it, return the shortest standardized path. For example, given "/usr/bin/../bin/./scripts/../", return "/usr/bin/". """
"""This problem was asked by Quora. Given an absolute pathname that may have . or .. as part of it, return the shortest standardized path. For example, given "/usr/bin/../bin/./scripts/../", return "/usr/bin/". """
def day23P1(): pullzle = "463528179" #pullzle = "389125467" cups = [int(x) for x in list(pullzle)] l = len(cups) startIdx = 0 for i in range(100): p1 = (startIdx + 1) % l p2 = (startIdx + 2) % l p3 = (startIdx + 3) % l p4 = (startIdx + 4) % l pickup = [cups[p1], cups[p2], cups[p3]] destination = cups[startIdx] - 1 nextCup = cups[p4] # find destination number while destination in pickup and destination > 0: destination -= 1 if destination == 0: destination = 9 while destination in pickup and destination > 0: destination -= 1 print(f"----move {i+1}----") print(f"cups: {cups}") print(f"current cup: {cups[startIdx]}") print(f"pick up: {pickup}") print(f"destination: {destination}") for j in range(3): cups.remove(pickup[j]) desIdx = cups.index(destination) # add pickup into cups cups = cups[:desIdx+1] + pickup + cups[desIdx+1:] # find new start startIdx = cups.index(nextCup) index1 = cups.index(1) return cups[index1+1:] + cups[:index1] class Cup(object): def __init__(self, cupNum): self.cupNum = cupNum self.next = None self.pre = None class CycleList(object): def __init__(self): self.root = Cup(0) self.current = self.root def construct(self, cups): if len(cups) == 0: print("Wrong Cups") self.root = Cup(cups[0]) self.current = self.root for i in range(1,len(cups)): cup = Cup(cups[i]) self.current.next = cup cup.pre = self.current self.current = cup self.current.next = self.root self.current = self.root def traverse(self): current = self.current while current.next != self.current: if current.cupNum == 1: self.current = current break current = current.next print(self.current.next.cupNum, self.current.next.next.cupNum) print(self.current.next.cupNum * self.current.next.next.cupNum) current = self.current while current.next != self.current: print(current.cupNum) current = current.next print(current.cupNum) def printList(self): current = self.current while current.next != self.current: print(current.cupNum, end = ' ') current = current.next print(current.cupNum) def remove(self, current): pickup = [] for i in range(3): nextCup = current.next pickup.append(nextCup.cupNum) current.next = nextCup.next return pickup def add(self, current, pickups): for i in reversed(range(3)): cup = Cup(pickups[i]) cup.next = current.next cup.pre = current current.next = cup def findDest(self, dest): current = self.current while current.cupNum != dest: current = current.next return current def move(self, numMoves, maxNum): for i in range(numMoves): # ten millision iteration print(f"----move {i + 1}----") #print(f"cups: ", end = ' ') #self.printList() pickup = self.remove(self.current) #print(f"current cup: {self.current.cupNum}") #print(f"pick up: {pickup}") destination = self.current.cupNum - 1 # find destination number while destination in pickup and destination > 0: destination -= 1 if destination == 0: destination = maxNum # one millision numbers while destination in pickup and destination > 0: destination -= 1 #print(f"destination: {destination}") des = self.findDest(destination) self.add(des, pickup) self.current = self.current.next def day23P2(): numMoves = 10000000 numCups = 1000000 maxNum = numCups pullzle = "463528179" pullzle = "389125467" init = [int(x) for x in list(pullzle)] cups = [x for x in range(numCups)] for i in range(len(init)): cups[i] = init[i] cycle = CycleList() cycle.construct(cups) cycle.move(numMoves, maxNum) cycle.traverse() if __name__ == "__main__": #value = day23P1() #print(value) day23P2()
def day23_p1(): pullzle = '463528179' cups = [int(x) for x in list(pullzle)] l = len(cups) start_idx = 0 for i in range(100): p1 = (startIdx + 1) % l p2 = (startIdx + 2) % l p3 = (startIdx + 3) % l p4 = (startIdx + 4) % l pickup = [cups[p1], cups[p2], cups[p3]] destination = cups[startIdx] - 1 next_cup = cups[p4] while destination in pickup and destination > 0: destination -= 1 if destination == 0: destination = 9 while destination in pickup and destination > 0: destination -= 1 print(f'----move {i + 1}----') print(f'cups: {cups}') print(f'current cup: {cups[startIdx]}') print(f'pick up: {pickup}') print(f'destination: {destination}') for j in range(3): cups.remove(pickup[j]) des_idx = cups.index(destination) cups = cups[:desIdx + 1] + pickup + cups[desIdx + 1:] start_idx = cups.index(nextCup) index1 = cups.index(1) return cups[index1 + 1:] + cups[:index1] class Cup(object): def __init__(self, cupNum): self.cupNum = cupNum self.next = None self.pre = None class Cyclelist(object): def __init__(self): self.root = cup(0) self.current = self.root def construct(self, cups): if len(cups) == 0: print('Wrong Cups') self.root = cup(cups[0]) self.current = self.root for i in range(1, len(cups)): cup = cup(cups[i]) self.current.next = cup cup.pre = self.current self.current = cup self.current.next = self.root self.current = self.root def traverse(self): current = self.current while current.next != self.current: if current.cupNum == 1: self.current = current break current = current.next print(self.current.next.cupNum, self.current.next.next.cupNum) print(self.current.next.cupNum * self.current.next.next.cupNum) current = self.current while current.next != self.current: print(current.cupNum) current = current.next print(current.cupNum) def print_list(self): current = self.current while current.next != self.current: print(current.cupNum, end=' ') current = current.next print(current.cupNum) def remove(self, current): pickup = [] for i in range(3): next_cup = current.next pickup.append(nextCup.cupNum) current.next = nextCup.next return pickup def add(self, current, pickups): for i in reversed(range(3)): cup = cup(pickups[i]) cup.next = current.next cup.pre = current current.next = cup def find_dest(self, dest): current = self.current while current.cupNum != dest: current = current.next return current def move(self, numMoves, maxNum): for i in range(numMoves): print(f'----move {i + 1}----') pickup = self.remove(self.current) destination = self.current.cupNum - 1 while destination in pickup and destination > 0: destination -= 1 if destination == 0: destination = maxNum while destination in pickup and destination > 0: destination -= 1 des = self.findDest(destination) self.add(des, pickup) self.current = self.current.next def day23_p2(): num_moves = 10000000 num_cups = 1000000 max_num = numCups pullzle = '463528179' pullzle = '389125467' init = [int(x) for x in list(pullzle)] cups = [x for x in range(numCups)] for i in range(len(init)): cups[i] = init[i] cycle = cycle_list() cycle.construct(cups) cycle.move(numMoves, maxNum) cycle.traverse() if __name__ == '__main__': day23_p2()
#!/bin/python3 [n,k] = [int(x) for x in input().split()] k -= 1 factorial = [1 for _ in range(n+1)] for i in range(1,n+1): factorial[i] = factorial[i-1] * i ans = [] perm = [0] used = [False for _ in range(n)] for i in range(n-1): possible = [] for j in range(1,n): if not used[j]: possible.append( [(j-perm[i]) % n , j] ) possible.sort() for x in possible: if factorial[n-i-2] <= k: k -= factorial[n-i-2] continue ans.append(x[0]) perm.append(x[1]) used[x[1]] = True break print(*ans, sep=' ')
[n, k] = [int(x) for x in input().split()] k -= 1 factorial = [1 for _ in range(n + 1)] for i in range(1, n + 1): factorial[i] = factorial[i - 1] * i ans = [] perm = [0] used = [False for _ in range(n)] for i in range(n - 1): possible = [] for j in range(1, n): if not used[j]: possible.append([(j - perm[i]) % n, j]) possible.sort() for x in possible: if factorial[n - i - 2] <= k: k -= factorial[n - i - 2] continue ans.append(x[0]) perm.append(x[1]) used[x[1]] = True break print(*ans, sep=' ')
class Solution: def searchInsert(self, nums: List[int], target: int) -> int: start_i = 0 end_i = len(nums) - 1 while start_i <= end_i: index = (start_i + end_i) // 2 if nums[index] == target: return index elif nums[index] > target: end_i = index - 1 elif nums[index] < target: start_i = index + 1 return start_i
class Solution: def search_insert(self, nums: List[int], target: int) -> int: start_i = 0 end_i = len(nums) - 1 while start_i <= end_i: index = (start_i + end_i) // 2 if nums[index] == target: return index elif nums[index] > target: end_i = index - 1 elif nums[index] < target: start_i = index + 1 return start_i
## # IO Events ## CONNECT = 'connect' CONNECT_ERROR = 'connect_error' DISCONNECT = 'disconnect' ### # Client Events ### CLIENT_DATA = 'client_data' REGISTER_PLAYER = 'register_player' PLAYER_MOVE = 'player_move' ### # Server Events ### REQUEST_REGISTER = 'register_player_request' SERVER_DATA = 'server_data' REQUEST_MOVE = 'request_move' MOVE_RESULT = 'move_result' BOARD_STATE = 'board_state' GAME_START = 'game_start' GAME_END = 'game_end' SERVER_SHUTDOWN = 'shutdown'
connect = 'connect' connect_error = 'connect_error' disconnect = 'disconnect' client_data = 'client_data' register_player = 'register_player' player_move = 'player_move' request_register = 'register_player_request' server_data = 'server_data' request_move = 'request_move' move_result = 'move_result' board_state = 'board_state' game_start = 'game_start' game_end = 'game_end' server_shutdown = 'shutdown'
__appname__ = 'qpropgen' __version__ = '0.1.0' __license__ = 'Apache 2.0' DESCRIPTION = """\ Generate a QML-friendly QObject-based C++ class from a class definition file. """
__appname__ = 'qpropgen' __version__ = '0.1.0' __license__ = 'Apache 2.0' description = 'Generate a QML-friendly QObject-based C++ class from a class definition file.\n'
class Product: def __init__(self, name, description, seller, price, availability): self.name = name self.description = description self.seller = seller self.reviews = [] self.price = price self.availability = availability def __str__(self): return f"Product({self.name}, {self.description}) at ${self.price}"
class Product: def __init__(self, name, description, seller, price, availability): self.name = name self.description = description self.seller = seller self.reviews = [] self.price = price self.availability = availability def __str__(self): return f'Product({self.name}, {self.description}) at ${self.price}'
class AuthFailed(Exception): pass class SearchFailed(Exception): pass
class Authfailed(Exception): pass class Searchfailed(Exception): pass
tilt_id = "a495bb30c5b14b44b5121370f02d74de" tilt_sg_adjust = 0 read_interval = 15 dropbox_token = "" dropbox_folder = "data" brewfatherCustomStreamURL = ""
tilt_id = 'a495bb30c5b14b44b5121370f02d74de' tilt_sg_adjust = 0 read_interval = 15 dropbox_token = '' dropbox_folder = 'data' brewfather_custom_stream_url = ''
str = "moam" str=str.casefold() #for case sensitive string str1=reversed(str) #reversed the string if list(str)==list(str1): print("it is palindrome string") else: print("It is not palindrome String")
str = 'moam' str = str.casefold() str1 = reversed(str) if list(str) == list(str1): print('it is palindrome string') else: print('It is not palindrome String')
input = "input1.txt" depthReadings = [] changes = [] # 1 = increase, 0 = no change, -1 = decrease with open(input) as f: for l in f: depthReadings.append(int(l.strip())) i = 1 changes.append(0) while i < len(depthReadings): if depthReadings[i] < depthReadings[i-1]: changes.append(-1) if depthReadings[i] > depthReadings[i-1]: changes.append(1) if depthReadings[i] == depthReadings[i-1]: changes.append(0) i += 1 # count counts = {} for change in changes: if change not in counts: counts[change] = 1 else: counts[change] += 1 print(counts)
input = 'input1.txt' depth_readings = [] changes = [] with open(input) as f: for l in f: depthReadings.append(int(l.strip())) i = 1 changes.append(0) while i < len(depthReadings): if depthReadings[i] < depthReadings[i - 1]: changes.append(-1) if depthReadings[i] > depthReadings[i - 1]: changes.append(1) if depthReadings[i] == depthReadings[i - 1]: changes.append(0) i += 1 counts = {} for change in changes: if change not in counts: counts[change] = 1 else: counts[change] += 1 print(counts)
ans = {} for i in range(10): n = int(input()) % 42 ans[n] = 1; print(len(ans))
ans = {} for i in range(10): n = int(input()) % 42 ans[n] = 1 print(len(ans))
__all__ = ['OptimizelyError', 'BadRequestError', 'UnauthorizedError', 'ForbiddenError', 'NotFoundError', 'TooManyRequestsError', 'ServiceUnavailableError', 'InvalidIDError'] class OptimizelyError(Exception): """ General exception for all Optimizely Experiments API related issues.""" pass class BadRequestError(OptimizelyError): """ Exception for when request was not sent in valid JSON.""" pass class UnauthorizedError(OptimizelyError): """ Exception for when API token is missing or included in the body rather than the header.""" pass class ForbiddenError(OptimizelyError): """ Exception for when API token is provided but it is invalid or revoked.""" pass class NotFoundError(OptimizelyError): """ Exception for when the id used in request is inaccurate or token user doesn't have permission to view/edit it.""" pass class TooManyRequestsError(OptimizelyError): """ Exception for when a rate limit for the API is hit.""" pass class ServiceUnavailableError(OptimizelyError): """ Exception for when the API is overloaded or down for maintenance.""" pass class InvalidIDError(OptimizelyError): """ Exception for when object is missing its ID.""" pass
__all__ = ['OptimizelyError', 'BadRequestError', 'UnauthorizedError', 'ForbiddenError', 'NotFoundError', 'TooManyRequestsError', 'ServiceUnavailableError', 'InvalidIDError'] class Optimizelyerror(Exception): """ General exception for all Optimizely Experiments API related issues.""" pass class Badrequesterror(OptimizelyError): """ Exception for when request was not sent in valid JSON.""" pass class Unauthorizederror(OptimizelyError): """ Exception for when API token is missing or included in the body rather than the header.""" pass class Forbiddenerror(OptimizelyError): """ Exception for when API token is provided but it is invalid or revoked.""" pass class Notfounderror(OptimizelyError): """ Exception for when the id used in request is inaccurate or token user doesn't have permission to view/edit it.""" pass class Toomanyrequestserror(OptimizelyError): """ Exception for when a rate limit for the API is hit.""" pass class Serviceunavailableerror(OptimizelyError): """ Exception for when the API is overloaded or down for maintenance.""" pass class Invalididerror(OptimizelyError): """ Exception for when object is missing its ID.""" pass
#Kunal Gautam #Codewars : @Kunalpod #Problem name: Find Factors Down to Limit #Problem level: 8 kyu def factors(integer, limit): return [x for x in range(limit,(integer//2)+1) if not integer%x] + ([integer] if integer>=limit else [])
def factors(integer, limit): return [x for x in range(limit, integer // 2 + 1) if not integer % x] + ([integer] if integer >= limit else [])
class SOAPError(Exception): """ **Custom SOAP exception** Custom SOAP exception class. Raised whenever an error response has been received during action invocation. """ def __init__(self, description, code): self.description = description self.error = code class IGDError(Exception): """ **Custom Internet Gateway Device exception** Custom IGD exception class. Raised whenever a problem with the IGD has been detected. """ pass class ArgumentError(Exception): """ **Custom Argument exception** Custom Argument exception class. Raised whenever an error has been detected during action invocation. """ def __init__(self, message, argument): self.message = message self.argument = argument class ServiceNotFoundError(Exception): """ **Custom Service exception** Custom Service exception class. Raised whenever a particular service was not found for a device. """ def __init__(self, message, service_name): self.message = message self.service = service_name class ActionNotFoundError(Exception): """ **Custom Action exception** Custom Action exception class. Raised whenever a particular action is not available for a service. """ def __init__(self, message, action_name): self.message = message self.action = action_name class NotRetrievedError(Exception): """ **Custom exception for objects that have not been retrieved** Custom object not retrieved exception class. Raised whenever a certain property for a device or service was not retrieved. """ pass class NotAvailableError(Exception): """ **Custom exception for when a certain URL could not be retrieved** Custom element not retrieved exception class. Raised whenever a value needed to be accessed could not be retrieved from the URL. """ pass
class Soaperror(Exception): """ **Custom SOAP exception** Custom SOAP exception class. Raised whenever an error response has been received during action invocation. """ def __init__(self, description, code): self.description = description self.error = code class Igderror(Exception): """ **Custom Internet Gateway Device exception** Custom IGD exception class. Raised whenever a problem with the IGD has been detected. """ pass class Argumenterror(Exception): """ **Custom Argument exception** Custom Argument exception class. Raised whenever an error has been detected during action invocation. """ def __init__(self, message, argument): self.message = message self.argument = argument class Servicenotfounderror(Exception): """ **Custom Service exception** Custom Service exception class. Raised whenever a particular service was not found for a device. """ def __init__(self, message, service_name): self.message = message self.service = service_name class Actionnotfounderror(Exception): """ **Custom Action exception** Custom Action exception class. Raised whenever a particular action is not available for a service. """ def __init__(self, message, action_name): self.message = message self.action = action_name class Notretrievederror(Exception): """ **Custom exception for objects that have not been retrieved** Custom object not retrieved exception class. Raised whenever a certain property for a device or service was not retrieved. """ pass class Notavailableerror(Exception): """ **Custom exception for when a certain URL could not be retrieved** Custom element not retrieved exception class. Raised whenever a value needed to be accessed could not be retrieved from the URL. """ pass
# File: signalfx_consts.py # Copyright (c) 2021 Splunk Inc. # # Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) # # Define your constants here # exception handling ERR_CODE_MSG = "Error code unavailable" ERR_MSG_UNAVAILABLE = "Error message unavailable. Please check the asset configuration and|or action parameters" PARSE_ERR_MSG = "Unable to parse the error message. Please check the asset configuration and|or action parameters" # Integer validation constants VALID_INTEGER_MSG = "Please provide a valid integer value in the {key}" POSITIVE_INTEGER_MSG = "Please provide a valid non-zero positive integer value in the {key}" NON_NEGATIVE_INTEGER_MSG = "Please provide a valid non-negative integer value in the {key}" # page size PAGE_SIZE = 100 LIMIT_PARAM_KEY = "'limit' action parameter"
err_code_msg = 'Error code unavailable' err_msg_unavailable = 'Error message unavailable. Please check the asset configuration and|or action parameters' parse_err_msg = 'Unable to parse the error message. Please check the asset configuration and|or action parameters' valid_integer_msg = 'Please provide a valid integer value in the {key}' positive_integer_msg = 'Please provide a valid non-zero positive integer value in the {key}' non_negative_integer_msg = 'Please provide a valid non-negative integer value in the {key}' page_size = 100 limit_param_key = "'limit' action parameter"
# # For loops # emails = ["email1@email.com", "email2@gmail.com", "email3@email.com"] # # for email in emails: # print(email) # pass # # For loops advance # emails = ["email1@email.com", "email2@gmail.com", "email3@email.com"] # for email in emails: # if 'gmail' in email: # print(email) # # else: # (optional) # # pass # # For loops advance # password = input("Enter your password: ") # while password != "asd123": # print("Sorry, try again") # password = input("Enter your password: ") # print("You are logged in") # # loop two lists # names = ['james', 'jhon', 'jack'] # email_domains = ['gmail', 'hotmail', 'yahooo'] # for i, j in zip(names, email_domains): # print(i, j) # inline for names = ['james\n', 'jhon\n', 'jack\n'] print(names) names = [i.replace('\n','') for i in names] print(names)
names = ['james\n', 'jhon\n', 'jack\n'] print(names) names = [i.replace('\n', '') for i in names] print(names)
# Copyright 2012-2020 James Geboski <jgeboski@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # Image origin: http://en.wikipedia.org/wiki/File:DIN_4844-2_Warnung_vor_einer_Gefahrenstelle_D-W000.svg CAUTION_BASE64 = ( "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABhWlDQ1BJQ0MgcHJvZmlsZQAA" "KJF9kT1Iw1AUhU/TSkUqgnYQ6ZChOlkQFXGUKhbBQmkrtOpg8tI/aNKQpLg4Cq4FB38Wqw4u" "zro6uAqC4A+Ik6OToouUeF9SaBHjhcf7OO+ew3v3AUKzylQzMAGommWkE3Exl18Vg68IQIAP" "g4hIzNSTmcUsPOvrnjqp7mI8y7vvz+pXCiYDfCLxHNMNi3iDeGbT0jnvE4dZWVKIz4nHDbog" "8SPXZZffOJccFnhm2Mim54nDxGKpi+UuZmVDJZ4mjiqqRvlCzmWF8xZntVpn7XvyF4YK2kqG" "67QiSGAJSaQgQkYdFVRhIUa7RoqJNJ3HPfwjjj9FLplcFTByLKAGFZLjB/+D37M1i1OTblIo" "DvS82PbHKBDcBVoN2/4+tu3WCeB/Bq60jr/WBGY/SW90tOgRMLANXFx3NHkPuNwBhp90yZAc" "yU9LKBaB9zP6pjwwdAv0rblza5/j9AHI0qyWb4CDQ2CsRNnrHu/u7Z7bvz3t+f0ADmVyf6Xa" "xBUAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAkhSURBVHja7Zp7" "UNTlGsc/v92FXdiLAnFZsFIhRVBLRJ1Ip1LqTOQ00JidGpt0OlNNauOQlxDIKwaGVo7aaepM" "lzOT1tgflqnjMc/p5GEyTYsYNRXD4GgowrLCAnJ5zh8L+2PPcl0WQ+SZef94n/f9vb/3+32e" "9/I8vx8MyZAMyZD8ASLCS9XVXLTZKBNh8a0GPm3/fkSvd5a9exERHrhVwPvX1lJ8550IOEtU" "FGK3UyiC9lYgYPmqVSr4tpKdjYjw4mAHH1ZSgt1o9CTAYECKi6kSIWQwE/C3uXNV0BqNs7TV" "58xBRNgyWMFPOnyYZkVRAc+fHygL5ge6ecKhQzSLMGHQEdDUxDeJiSpQs1mRX8+Hy28XwmWY" "RXHp4+OR69c5NNis/9S777qv+Q05FqlzWKXOYZXXN1jc2t55BxEhdbCAD6iq4reICBXg6NFa" "sVVFuAiotkXImDE6V3twMFJeTokIhsFAwOr0dHfr79oV5ALfVj7/PNitz5IliAgrb3bwI86c" "waHXq8BmztR7gG8rf3pY7+qn0yGFhdSJcMfNTMCOlBTcQB07FtopAT+eCBU/P7V/cjIiwt9v" "VvBJBw7Q0t6tFy0ydgq+rSxebHRbCl9+SYsIM2428JqGBo6OHasCCQrSyH/LwrsloPz3CAkP" "17iei45GHA6Oi6Dpj7lq+omDBVu3kvjLL6pizRozwcHdv85iUcjKMrvqxcWwbRuTgPn9MVGl" "H6xvLi/nbGws4TabUxc3TseRI6HodD0bo6UFps+o4MSJRgDMZjh1ioqoKGIUheqB7gHZ2dkq" "eICNGy09Bg+g0cCmfAtKq3muXYPVq7kNyBroaz/6+HEatFp17aelGTzWuaPWKlu3DpMnngiQ" "OXMCZOvWYeKo9dwPHn/c4BY4HTnCdRHGDmQCdt9/f/sQV5FTJ8PcQNmrrZKSYvAIhx95RC/2" "ancCzp4Jk8BANU5ISkJaWjgwUMHP2rnTHVRGhsnDquvXmz3At5X1680e/VeuNLn12bEDESFl" "oIHX1dRQNHKkOtHISK1UXInwADR5sl+nBEye7OfRv/JqhNxxh9bVZ8QIxG6nWAT9QNoEX8rP" "J76kRFXkrDdjNHoeMjabdDpIVZVnW0CAwto16rFYVgabNjEaWDRQrB904QKV7dNc06b5d7ip" "1TmsMmVK5x6QmOjX4TOOWqvcd5+/q19AAHL+PDUiWAeCB6x79VWCamvVIyz/DfUI+3/p6jLU" "WZuiOI9FTWtzXR1kZGAE1v2hBIgQV1DAizt3qrp58wJJTPTr9JmQLgjoqu3uu/145plAV/3T" "T+Gbb1ggwtQ/jIDmZrYsWYJWWpeu2aywZrW5y2eCQzRetQGsW2tmmEV1rSVL0DQ18ZaI9zda" "TR+sn/bhh8w6elTVvbrCRERE10MGe+kBAKGhGlasUAn+8Uf44APuBZ66oQSI4F9dzRvZ2apu" "9GgtCxcau302JFjpgpzuDblwYSB33aXeq7OyoLKSfBGMN9ID0nNyiL50SVXk5VnQ67sHENKF" "m4eEdD8df3+F119XveDyZdiwASuw/IYQIEL42bNkbmn3+eLBB/XMfrRn+cvgPhIA8GiKgYcf" "Uu9BW7bA6dMsF2HkjfCA3PR0TA0NzopO54z2eiohXhyDHUlengW/1sOmsRGWLsUA5PUrASIk" "HDzIs3v2qLoXnjcyPr7nsa7Vqu30jhAe3vPpxMbqeOF5ddl/9RXs28fc3n5mV3oBXmls5N8J" "CUwvKnLqgoI0FP0c2ivLiUCEtRy7vcU9E2RWuHQpwnXZ6YnYbC2Mn3CFq1edY8XEQFERhXo9" "CYpCs6894Olt21TwAKtWmXsFvu1W19FaDw7R9go8wPDhGl57Td0Qz52D7duZCPzFpx4gQkBF" "BWdiYxlx9ap3aa72Mn1GBT/80OimS0jw4z+Hb/PmMkZSUgWFPze25hTh1ClskZFEKwqVvvKA" "jOxsFbw3aa72EhXl+SNIZKR3P4dotfDmm2rsYbfD2rUM72n6TNMD699eVMSy999XdampBmbN" "8j4cjx3rydy4WJ3X4yUl+ZOaqh7D770Hx47xsgjxvvCA/PR0DE1Nzoper7B+nblPEdi99/p3" "CKIvsjHPQmCg0w1aWqA1RnmrWw/qxvr37dpFfm6uulcsXWri8bSAPk02JkZHeJgGrQ7GjNGx" "cKGRJ5/s25gWi4b6euHw4esAlJZCfDyjP/uMY2vWcLbXm6AIGoeDo+PHk/Drr+o5XfhTGBaL" "zz8n+EQcDuGeSVcoLXWegLffDidPUmwyEa8oNPR2CTy3ebMKHmBDjsWn4EWcxVcSGOgejpeW" "wubNRHeVPlM6mZi5tJTiuDhCa2qcuqlT/fjXP2/r9BbXGykpaWbZcjuHDjmNMnOmno15FkaN" "0vqE1OSHrlJQcL01pwgnT1I7ciQxisLvPfWAVRkZKnhFgfw3hvkEfFlZM9NnVLBnTz0Oh+Bw" "CHv21DN9RgVlZc19Hr+j9FlmJkZgbY+WgAgxBQW8/Mkn7dNcAUyZ4ucTN83Kvua6uraXysoW" "MrOu+eQd99zjx7x5avpsxw749lueEyGx2yXQ1MRXSUmkfP+9s24yKRT+FIrV6pu/WKNjLnPx" "YnOngdL54jCfvOfy5RYmTrxMtd25yUyaBEePUqDVMr31Vz1PDxAh+eOPVfAAK5abfAbemdDw" "rq23EhamYdkyk6t+4gR89BFJwNwOl4AIOpuNtzMz1cZRo7QsWmTElzJ7tsGrNm9k8WKjW/os" "IwOqqtjcPn3W3gMW5eYS55bmyrVgMPj2zM/KNBM3zvPaGzdOR3aW2afv8vdXyMlxT5/l5hIJ" "LHXbA0QIPneO4vHjGd6W6XngAX/27e2f/5ZraoRNm2o5+HU9AMmzDLzyihGTqX8uWI89Vsk/" "Dja4lllhIfVjxxKrKFxoI+Cd1FRe3L1bjbC++y60V5megSynTzcxddoVGhvbCIHdu9mhKDyt" "E2Hi11/zfBt4gIeS9TReF9cvKoNBkmfp2bff6QVffAH79/NnEbYjwoEJE+j0g+VgLfHxiAhH" "lPJy6sPDffOt/WaTS5eoRYS9aWm3ngekpiIifKaIEAr89eJFZjsc1N0Klg8IgKgojgDPMiRD" "MiS3tPwPyDEn525xOZcAAAAASUVORK5CYII=" )
caution_base64 = 'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw1AUhU/TSkUqgnYQ6ZChOlkQFXGUKhbBQmkrtOpg8tI/aNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Ik6OToouUeF9SaBHjhcf7OO+ew3v3AUKzylQzMAGommWkE3Exl18Vg68IQIAPg4hIzNSTmcUsPOvrnjqp7mI8y7vvz+pXCiYDfCLxHNMNi3iDeGbT0jnvE4dZWVKIz4nHDbog8SPXZZffOJccFnhm2Mim54nDxGKpi+UuZmVDJZ4mjiqqRvlCzmWF8xZntVpn7XvyF4YK2kqG67QiSGAJSaQgQkYdFVRhIUa7RoqJNJ3HPfwjjj9FLplcFTByLKAGFZLjB/+D37M1i1OTblIoDvS82PbHKBDcBVoN2/4+tu3WCeB/Bq60jr/WBGY/SW90tOgRMLANXFx3NHkPuNwBhp90yZAcyU9LKBaB9zP6pjwwdAv0rblza5/j9AHI0qyWb4CDQ2CsRNnrHu/u7Z7bvz3t+f0ADmVyf6XaxBUAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAkhSURBVHja7Zp7UNTlGsc/v92FXdiLAnFZsFIhRVBLRJ1Ip1LqTOQ00JidGpt0OlNNauOQlxDIKwaGVo7aaepMlzOT1tgflqnjMc/p5GEyTYsYNRXD4GgowrLCAnJ5zh8L+2PPcl0WQ+SZef94n/f9vb/3+32e9/I8vx8MyZAMyZD8ASLCS9XVXLTZKBNh8a0GPm3/fkSvd5a9exERHrhVwPvX1lJ8550IOEtUFGK3UyiC9lYgYPmqVSr4tpKdjYjw4mAHH1ZSgt1o9CTAYECKi6kSIWQwE/C3uXNV0BqNs7TV58xBRNgyWMFPOnyYZkVRAc+fHygL5ge6ecKhQzSLMGHQEdDUxDeJiSpQs1mRX8+Hy28XwmWYRXHp4+OR69c5NNis/9S777qv+Q05FqlzWKXOYZXXN1jc2t55BxEhdbCAD6iq4reICBXg6NFasVVFuAiotkXImDE6V3twMFJeTokIhsFAwOr0dHfr79oV5ALfVj7/PNitz5IliAgrb3bwI86cwaHXq8BmztR7gG8rf3pY7+qn0yGFhdSJcMfNTMCOlBTcQB07FtopAT+eCBU/P7V/cjIiwt9vVvBJBw7Q0t6tFy0ydgq+rSxebHRbCl9+SYsIM2428JqGBo6OHasCCQrSyH/LwrsloPz3CAkP17iei45GHA6Oi6Dpj7lq+omDBVu3kvjLL6pizRozwcHdv85iUcjKMrvqxcWwbRuTgPn9MVGlH6xvLi/nbGws4TabUxc3TseRI6HodD0bo6UFps+o4MSJRgDMZjh1ioqoKGIUheqB7gHZ2dkqeICNGy09Bg+g0cCmfAtKq3muXYPVq7kNyBroaz/6+HEatFp17aelGTzWuaPWKlu3DpMnngiQOXMCZOvWYeKo9dwPHn/c4BY4HTnCdRHGDmQCdt9/f/sQV5FTJ8PcQNmrrZKSYvAIhx95RC/2ancCzp4Jk8BANU5ISkJaWjgwUMHP2rnTHVRGhsnDquvXmz3At5X1680e/VeuNLn12bEDESFloIHX1dRQNHKkOtHISK1UXInwADR5sl+nBEye7OfRv/JqhNxxh9bVZ8QIxG6nWAT9QNoEX8rPJ76kRFXkrDdjNHoeMjabdDpIVZVnW0CAwto16rFYVgabNjEaWDRQrB904QKV7dNc06b5d7ip1TmsMmVK5x6QmOjX4TOOWqvcd5+/q19AAHL+PDUiWAeCB6x79VWCamvVIyz/DfUI+3/p6jLUWZuiOI9FTWtzXR1kZGAE1v2hBIgQV1DAizt3qrp58wJJTPTr9JmQLgjoqu3uu/145plAV/3TT+Gbb1ggwtQ/jIDmZrYsWYJWWpeu2aywZrW5y2eCQzRetQGsW2tmmEV1rSVL0DQ18ZaI9zdaTR+sn/bhh8w6elTVvbrCRERE10MGe+kBAKGhGlasUAn+8Uf44APuBZ66oQSI4F9dzRvZ2apu9GgtCxcau302JFjpgpzuDblwYSB33aXeq7OyoLKSfBGMN9ID0nNyiL50SVXk5VnQ67sHENKFm4eEdD8df3+F119XveDyZdiwASuw/IYQIEL42bNkbmn3+eLBB/XMfrRn+cvgPhIA8GiKgYcfUu9BW7bA6dMsF2HkjfCA3PR0TA0NzopO54z2eiohXhyDHUlengW/1sOmsRGWLsUA5PUrASIkHDzIs3v2qLoXnjcyPr7nsa7Vqu30jhAe3vPpxMbqeOF5ddl/9RXs28fc3n5mV3oBXmls5N8JCUwvKnLqgoI0FP0c2ivLiUCEtRy7vcU9E2RWuHQpwnXZ6YnYbC2Mn3CFq1edY8XEQFERhXo9CYpCs6894Olt21TwAKtWmXsFvu1W19FaDw7R9go8wPDhGl57Td0Qz52D7duZCPzFpx4gQkBFBWdiYxlx9ap3aa72Mn1GBT/80OimS0jw4z+Hb/PmMkZSUgWFPze25hTh1ClskZFEKwqVvvKAjOxsFbw3aa72EhXl+SNIZKR3P4dotfDmm2rsYbfD2rUM72n6TNMD699eVMSy999XdampBmbN8j4cjx3rydy4WJ3X4yUl+ZOaqh7D770Hx47xsgjxvvCA/PR0DE1Nzoper7B+nblPEdi99/p3CKIvsjHPQmCg0w1aWqA1RnmrWw/qxvr37dpFfm6uulcsXWri8bSAPk02JkZHeJgGrQ7GjNGxcKGRJ5/s25gWi4b6euHw4esAlJZCfDyjP/uMY2vWcLbXm6AIGoeDo+PHk/Drr+o5XfhTGBaLzz8n+EQcDuGeSVcoLXWegLffDidPUmwyEa8oNPR2CTy3ebMKHmBDjsWn4EWcxVcSGOgejpeWwubNRHeVPlM6mZi5tJTiuDhCa2qcuqlT/fjXP2/r9BbXGykpaWbZcjuHDjmNMnOmno15FkaN0vqE1OSHrlJQcL01pwgnT1I7ciQxisLvPfWAVRkZKnhFgfw3hvkEfFlZM9NnVLBnTz0Oh+BwCHv21DN9RgVlZc19Hr+j9FlmJkZgbY+WgAgxBQW8/Mkn7dNcAUyZ4ucTN83Kvua6uraXysoWMrOu+eQd99zjx7x5avpsxw749lueEyGx2yXQ1MRXSUmkfP+9s24yKRT+FIrV6pu/WKNjLnPxYnOngdL54jCfvOfy5RYmTrxMtd25yUyaBEePUqDVMr31Vz1PDxAh+eOPVfAAK5abfAbemdDwrq23EhamYdkyk6t+4gR89BFJwNwOl4AIOpuNtzMz1cZRo7QsWmTElzJ7tsGrNm9k8WKjW/osIwOqqtjcPn3W3gMW5eYS55bmyrVgMPj2zM/KNBM3zvPaGzdOR3aW2afv8vdXyMlxT5/l5hIJLHXbA0QIPneO4vHjGd6W6XngAX/27e2f/5ZraoRNm2o5+HU9AMmzDLzyihGTqX8uWI89Vsk/Dja4lllhIfVjxxKrKFxoI+Cd1FRe3L1bjbC++y60V5megSynTzcxddoVGhvbCIHdu9mhKDytE2Hi11/zfBt4gIeS9TReF9cvKoNBkmfp2bff6QVffAH79/NnEbYjwoEJE+j0g+VgLfHxiAhHlPJy6sPDffOt/WaTS5eoRYS9aWm3ngekpiIifKaIEAr89eJFZjsc1N0Klg8IgKgojgDPMiRDMiS3tPwPyDEn525xOZcAAAAASUVORK5CYII='
#!/usr/bin/python3 fo = open("1/input.txt", "r") input = [] for line in fo.readlines(): line = line.strip() input.append(int(line)) def part1(): #init prev = input[0] counter = 0 #calc for line in input[1:]: if line > prev: counter += 1 prev = line print(counter) def part2(): #init measures = input[0:3] counter = 0 #calc for next in input[3:]: measures.append(next) sumNewWindow = measures[-1] + measures[-2] + measures[-3] sumOldWindow = measures[-2] + measures[-3] + measures[-4] if sumNewWindow > sumOldWindow: counter += 1 print(f"{counter} from {len(measures)} measures") #1390 part1() #1457 part2()
fo = open('1/input.txt', 'r') input = [] for line in fo.readlines(): line = line.strip() input.append(int(line)) def part1(): prev = input[0] counter = 0 for line in input[1:]: if line > prev: counter += 1 prev = line print(counter) def part2(): measures = input[0:3] counter = 0 for next in input[3:]: measures.append(next) sum_new_window = measures[-1] + measures[-2] + measures[-3] sum_old_window = measures[-2] + measures[-3] + measures[-4] if sumNewWindow > sumOldWindow: counter += 1 print(f'{counter} from {len(measures)} measures') part1() part2()
# -*- coding: utf-8 -*- def get_autosuggest_url(tag_type, language, geography): base_url = "https://" + geography + ".openfoodfacts.org" autosuggest = base_url + "/cgi/suggest.pl?lc=" + language autosuggest += "&tagtype=" + tag_type return autosuggest
def get_autosuggest_url(tag_type, language, geography): base_url = 'https://' + geography + '.openfoodfacts.org' autosuggest = base_url + '/cgi/suggest.pl?lc=' + language autosuggest += '&tagtype=' + tag_type return autosuggest
class Metrics: received_packets: int = 0 sent_packets: int = 0 forward_key_set: int = 0 forward_key_del: int = 0 lost_packet_count: int = 0 out_of_order_count: int = 0 delete_unknown_key_count: int = 0
class Metrics: received_packets: int = 0 sent_packets: int = 0 forward_key_set: int = 0 forward_key_del: int = 0 lost_packet_count: int = 0 out_of_order_count: int = 0 delete_unknown_key_count: int = 0
alcohol_cases = None with open('../static/alcohol_cases.txt', 'r') as f: alcohol_cases = f.readlines() smoke_cases = None with open('../static/smoke_cases.txt', 'r') as f: smoke_cases = f.readlines() with open('../static/alcohol_and_cig_cases.txt', 'w') as f: for i in smoke_cases: if i in alcohol_cases: f.write(i)
alcohol_cases = None with open('../static/alcohol_cases.txt', 'r') as f: alcohol_cases = f.readlines() smoke_cases = None with open('../static/smoke_cases.txt', 'r') as f: smoke_cases = f.readlines() with open('../static/alcohol_and_cig_cases.txt', 'w') as f: for i in smoke_cases: if i in alcohol_cases: f.write(i)
# Copyright (c) 2014 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style licence that can be # found in the LICENSE file. { 'variables': { 'custom_ld_target%': '', 'custom_ld_host%': '', }, 'conditions': [ ['"<(custom_ld_target)"!=""', { 'make_global_settings': [ ['LD', '<(custom_ld_target)'], ], }], ['"<(custom_ld_host)"!=""', { 'make_global_settings': [ ['LD.host', '<(custom_ld_host)'], ], }], ], 'targets': [ { 'target_name': 'make_global_settings_ld_test', 'type': 'static_library', 'sources': [ 'foo.c' ], }, ], }
{'variables': {'custom_ld_target%': '', 'custom_ld_host%': ''}, 'conditions': [['"<(custom_ld_target)"!=""', {'make_global_settings': [['LD', '<(custom_ld_target)']]}], ['"<(custom_ld_host)"!=""', {'make_global_settings': [['LD.host', '<(custom_ld_host)']]}]], 'targets': [{'target_name': 'make_global_settings_ld_test', 'type': 'static_library', 'sources': ['foo.c']}]}
def mean(data): """Return the sample arithmetic mean of data.""" n = len(data) if n < 1: raise ValueError('mean requires at least one data point') return sum(data)/n # in Python 2 use sum(data)/float(n) def _ss(data): """Return sum of square deviations of sequence data.""" c = mean(data) ss = sum((x-c)**2 for x in data) return ss def pstdev(data): """Calculates the population standard deviation.""" n = len(data) if n < 2: raise ValueError('variance requires at least two data points') ss = _ss(data) pvar = ss/n # the population variance return pvar**0.5
def mean(data): """Return the sample arithmetic mean of data.""" n = len(data) if n < 1: raise value_error('mean requires at least one data point') return sum(data) / n def _ss(data): """Return sum of square deviations of sequence data.""" c = mean(data) ss = sum(((x - c) ** 2 for x in data)) return ss def pstdev(data): """Calculates the population standard deviation.""" n = len(data) if n < 2: raise value_error('variance requires at least two data points') ss = _ss(data) pvar = ss / n return pvar ** 0.5
class Solution: """ @param nums: an array with positive and negative numbers @param k: an integer @return: the maximum average """ def maxAverage(self, nums, k): if not nums: return 0 min_num = min(nums) max_num = max(nums) while min_num + 1e-6 < max_num: mid = (min_num + max_num) / 2 if self.valid_average(nums, mid, k): min_num = mid else: max_num = mid return min_num def valid_average(self, nums, mid, k): subsum = 0 presum = 0 min_presum = 0 for i, num in enumerate(nums): subsum += num - mid if i >= k - 1 and subsum >= 0: return True if i >= k: presum += nums[i - k] - mid min_presum = min(min_presum, presum) if subsum - min_presum >= 0: return True return False # class Solution: # """ # @param nums: an array with positive and negative numbers # @param k: an integer # @return: the maximum average # """ # def maxAverage(self, nums, k): # if not nums: # return 0 # presum = [0] * (len(nums) + 1) # for i, num in enumerate(nums): # presum[i + 1] = presum[i] + num # max_average = sum(nums[:k]) / k # for i in range(len(nums) - k + 1): # for j in range(i + k, len(nums) + 1): # max_average = max(max_average, (presum[j] - presum[i]) / (j - i)) # return max_average # class Solution: # """ # @param nums: an array with positive and negative numbers # @param k: an integer # @return: the maximum average # """ # def maxAverage(self, nums, k): # n = len(nums) # ans = sum(nums[:k]) / k # for start in range(n - k + 1): # for end in range(start + k - 1, n): # subarray = nums[start:end + 1] # average = sum(subarray) / (end - start + 1) # ans = max(ans, average) # return ans
class Solution: """ @param nums: an array with positive and negative numbers @param k: an integer @return: the maximum average """ def max_average(self, nums, k): if not nums: return 0 min_num = min(nums) max_num = max(nums) while min_num + 1e-06 < max_num: mid = (min_num + max_num) / 2 if self.valid_average(nums, mid, k): min_num = mid else: max_num = mid return min_num def valid_average(self, nums, mid, k): subsum = 0 presum = 0 min_presum = 0 for (i, num) in enumerate(nums): subsum += num - mid if i >= k - 1 and subsum >= 0: return True if i >= k: presum += nums[i - k] - mid min_presum = min(min_presum, presum) if subsum - min_presum >= 0: return True return False
class Chess: tag = 0 camp = 0 x = 0 y = 0
class Chess: tag = 0 camp = 0 x = 0 y = 0
def test_even(): for i in range(0, 6): yield is_even, i def is_even(i): assert i % 2 == 0
def test_even(): for i in range(0, 6): yield (is_even, i) def is_even(i): assert i % 2 == 0
""" uci_bootcamp_2021/examples/while_loops.py Demonstrate basic while loop usage """ def get_valid_input( prompt: str, valid_minimum: int = 0, valid_maximum: int = 100 ) -> int: # initialize valid to False. valid = False result = -1 # loop while the user hasn't given us a suitable value. while not valid: # get the user's untrusted input. untrusted_input = input(prompt) # check if the input is numeric. if untrusted_input.isnumeric(): # if its numeric, we can safely interpret it as an integer result = int(untrusted_input) # then we can check the bounds valid = valid_minimum <= result <= valid_maximum if not valid: print("invalid input, please try again!") return result def main(): valid_input = get_valid_input( "Enter a number between 15 and 20", valid_minimum=15, valid_maximum=20 ) print(valid_input) # entry-point guard, since this example does blocking actions. if __name__ == "__main__": main()
""" uci_bootcamp_2021/examples/while_loops.py Demonstrate basic while loop usage """ def get_valid_input(prompt: str, valid_minimum: int=0, valid_maximum: int=100) -> int: valid = False result = -1 while not valid: untrusted_input = input(prompt) if untrusted_input.isnumeric(): result = int(untrusted_input) valid = valid_minimum <= result <= valid_maximum if not valid: print('invalid input, please try again!') return result def main(): valid_input = get_valid_input('Enter a number between 15 and 20', valid_minimum=15, valid_maximum=20) print(valid_input) if __name__ == '__main__': main()
# # PySNMP MIB module HP-SN-MPLS-TE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-SN-MIBS # Produced by pysmi-0.3.4 at Mon Apr 29 19:23:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint") mplsMIB, MplsLsrIdentifier, MplsTunnelAffinity, MplsTunnelInstanceIndex, MplsPathIndexOrZero, MplsPathIndex, MplsBurstSize, MplsLSPID, MplsBitRate, MplsTunnelIndex = mibBuilder.importSymbols("HP-SN-MPLS-TC-MIB", "mplsMIB", "MplsLsrIdentifier", "MplsTunnelAffinity", "MplsTunnelInstanceIndex", "MplsPathIndexOrZero", "MplsPathIndex", "MplsBurstSize", "MplsLSPID", "MplsBitRate", "MplsTunnelIndex") snMpls, = mibBuilder.importSymbols("HP-SN-ROOT-MIB", "snMpls") InterfaceIndexOrZero, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") InetAddressIPv4, InetAddressIPv6 = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv4", "InetAddressIPv6") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") IpAddress, Integer32, Counter32, Counter64, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, TimeTicks, iso, Bits, Gauge32, ObjectIdentity, MibIdentifier, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Integer32", "Counter32", "Counter64", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "TimeTicks", "iso", "Bits", "Gauge32", "ObjectIdentity", "MibIdentifier", "ModuleIdentity") RowPointer, TimeStamp, TruthValue, TextualConvention, RowStatus, StorageType, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "TimeStamp", "TruthValue", "TextualConvention", "RowStatus", "StorageType", "DisplayString") mplsTeMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3)) mplsTeMIB.setRevisions(('2002-01-04 12:00',)) if mibBuilder.loadTexts: mplsTeMIB.setLastUpdated('200201041200Z') if mibBuilder.loadTexts: mplsTeMIB.setOrganization('Multiprotocol Label Switching (MPLS) Working Group') mplsTeScalars = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1)) mplsTeObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2)) mplsTeNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3)) mplsTeNotifyPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0)) mplsTeConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4)) mplsTunnelConfigured = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelConfigured.setStatus('current') mplsTunnelActive = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelActive.setStatus('current') mplsTunnelTEDistProto = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 3), Bits().clone(namedValues=NamedValues(("other", 0), ("ospf", 1), ("isis", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelTEDistProto.setStatus('current') mplsTunnelMaxHops = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelMaxHops.setStatus('current') mplsTunnelIndexNext = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelIndexNext.setStatus('current') mplsTunnelTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2), ) if mibBuilder.loadTexts: mplsTunnelTable.setStatus('current') mplsTunnelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1), ).setIndexNames((0, "HP-SN-MPLS-TE-MIB", "mplsTunnelIndex"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelInstance"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelIngressLSRId"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelEgressLSRId")) if mibBuilder.loadTexts: mplsTunnelEntry.setStatus('current') mplsTunnelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 1), MplsTunnelIndex()) if mibBuilder.loadTexts: mplsTunnelIndex.setStatus('current') mplsTunnelInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 2), MplsTunnelInstanceIndex()) if mibBuilder.loadTexts: mplsTunnelInstance.setStatus('current') mplsTunnelIngressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 3), MplsLsrIdentifier()) if mibBuilder.loadTexts: mplsTunnelIngressLSRId.setStatus('current') mplsTunnelEgressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 4), MplsLsrIdentifier()) if mibBuilder.loadTexts: mplsTunnelEgressLSRId.setStatus('current') mplsTunnelName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 5), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelName.setStatus('current') mplsTunnelDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 6), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelDescr.setStatus('current') mplsTunnelIsIf = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 7), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelIsIf.setStatus('current') mplsTunnelIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 8), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelIfIndex.setStatus('current') mplsTunnelXCPointer = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 9), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelXCPointer.setStatus('current') mplsTunnelSignallingProto = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("rsvp", 2), ("crldp", 3), ("other", 4))).clone('none')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelSignallingProto.setStatus('current') mplsTunnelSetupPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelSetupPrio.setStatus('current') mplsTunnelHoldingPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHoldingPrio.setStatus('current') mplsTunnelSessionAttributes = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 13), Bits().clone(namedValues=NamedValues(("fastReroute", 0), ("mergingPermitted", 1), ("isPersistent", 2), ("isPinned", 3), ("recordRoute", 4)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelSessionAttributes.setStatus('current') mplsTunnelOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("admin", 1), ("rsvp", 2), ("crldp", 3), ("policyAgent", 4), ("other", 5)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelOwner.setStatus('current') mplsTunnelLocalProtectInUse = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 15), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelLocalProtectInUse.setStatus('current') mplsTunnelResourcePointer = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 16), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourcePointer.setStatus('current') mplsTunnelInstancePriority = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 17), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelInstancePriority.setStatus('current') mplsTunnelHopTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 18), MplsPathIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopTableIndex.setStatus('current') mplsTunnelARHopTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 19), MplsPathIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopTableIndex.setStatus('current') mplsTunnelCHopTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 20), MplsPathIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopTableIndex.setStatus('current') mplsTunnelPrimaryInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 21), MplsTunnelInstanceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPrimaryInstance.setStatus('current') mplsTunnelPrimaryTimeUp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 22), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPrimaryTimeUp.setStatus('current') mplsTunnelPathChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPathChanges.setStatus('current') mplsTunnelLastPathChange = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 24), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelLastPathChange.setStatus('current') mplsTunnelCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 25), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCreationTime.setStatus('current') mplsTunnelStateTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelStateTransitions.setStatus('current') mplsTunnelIncludeAnyAffinity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 27), MplsTunnelAffinity()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelIncludeAnyAffinity.setStatus('current') mplsTunnelIncludeAllAffinity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 28), MplsTunnelAffinity()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelIncludeAllAffinity.setStatus('current') mplsTunnelExcludeAllAffinity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 29), MplsTunnelAffinity()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelExcludeAllAffinity.setStatus('current') mplsTunnelPathInUse = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 30), MplsPathIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelPathInUse.setStatus('current') mplsTunnelRole = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("head", 1), ("transit", 2), ("tail", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelRole.setStatus('current') mplsTunnelTotalUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 32), TimeTicks()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelTotalUpTime.setStatus('current') mplsTunnelInstanceUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 33), TimeTicks()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelInstanceUpTime.setStatus('current') mplsTunnelAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelAdminStatus.setStatus('current') mplsTunnelOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ("unknown", 4), ("dormant", 5), ("notPresent", 6), ("lowerLayerDown", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelOperStatus.setStatus('current') mplsTunnelRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 36), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelRowStatus.setStatus('current') mplsTunnelStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 37), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelStorageType.setStatus('current') mplsTunnelHopListIndexNext = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelHopListIndexNext.setStatus('current') mplsTunnelHopTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4), ) if mibBuilder.loadTexts: mplsTunnelHopTable.setStatus('current') mplsTunnelHopEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1), ).setIndexNames((0, "HP-SN-MPLS-TE-MIB", "mplsTunnelHopListIndex"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelHopPathOptionIndex"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelHopIndex")) if mibBuilder.loadTexts: mplsTunnelHopEntry.setStatus('current') mplsTunnelHopListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 1), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelHopListIndex.setStatus('current') mplsTunnelHopPathOptionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 2), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelHopPathOptionIndex.setStatus('current') mplsTunnelHopIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 3), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelHopIndex.setStatus('current') mplsTunnelHopAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ipV4", 1), ("ipV6", 2), ("asNumber", 3), ("lspid", 4))).clone('ipV4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopAddrType.setStatus('current') mplsTunnelHopIpv4Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 5), InetAddressIPv4()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIpv4Addr.setStatus('current') mplsTunnelHopIpv4PrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIpv4PrefixLen.setStatus('current') mplsTunnelHopIpv6Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 7), InetAddressIPv6()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIpv6Addr.setStatus('current') mplsTunnelHopIpv6PrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIpv6PrefixLen.setStatus('current') mplsTunnelHopAsNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopAsNumber.setStatus('current') mplsTunnelHopLspId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 10), MplsLSPID()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopLspId.setStatus('current') mplsTunnelHopType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("strict", 1), ("loose", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopType.setStatus('current') mplsTunnelHopIncludeExclude = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("include", 1), ("exclude", 2))).clone('include')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIncludeExclude.setStatus('current') mplsTunnelHopPathOptionName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 13), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopPathOptionName.setStatus('current') mplsTunnelHopEntryPathComp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dynamic", 1), ("explicit", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopEntryPathComp.setStatus('current') mplsTunnelHopRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopRowStatus.setStatus('current') mplsTunnelHopStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 16), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopStorageType.setStatus('current') mplsTunnelResourceIndexNext = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelResourceIndexNext.setStatus('current') mplsTunnelResourceTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6), ) if mibBuilder.loadTexts: mplsTunnelResourceTable.setStatus('current') mplsTunnelResourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1), ).setIndexNames((0, "HP-SN-MPLS-TE-MIB", "mplsTunnelResourceIndex")) if mibBuilder.loadTexts: mplsTunnelResourceEntry.setStatus('current') mplsTunnelResourceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: mplsTunnelResourceIndex.setStatus('current') mplsTunnelResourceMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 2), MplsBitRate()).setUnits('bits per second').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMaxRate.setStatus('current') mplsTunnelResourceMeanRate = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 3), MplsBitRate()).setUnits('bits per second').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMeanRate.setStatus('current') mplsTunnelResourceMaxBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 4), MplsBurstSize()).setUnits('bytes').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMaxBurstSize.setStatus('current') mplsTunnelResourceMeanBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 5), MplsBurstSize()).setUnits('bytes').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMeanBurstSize.setStatus('current') mplsTunnelResourceExcessBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 6), MplsBurstSize()).setUnits('bytes').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceExcessBurstSize.setStatus('current') mplsTunnelResourceFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unspecified", 1), ("frequent", 2), ("veryFrequent", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceFrequency.setStatus('current') mplsTunnelResourceWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceWeight.setStatus('current') mplsTunnelResourceRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceRowStatus.setStatus('current') mplsTunnelResourceStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 10), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceStorageType.setStatus('current') mplsTunnelARHopTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7), ) if mibBuilder.loadTexts: mplsTunnelARHopTable.setStatus('current') mplsTunnelARHopEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1), ).setIndexNames((0, "HP-SN-MPLS-TE-MIB", "mplsTunnelARHopListIndex"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelARHopIndex")) if mibBuilder.loadTexts: mplsTunnelARHopEntry.setStatus('current') mplsTunnelARHopListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 1), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelARHopListIndex.setStatus('current') mplsTunnelARHopIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 2), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelARHopIndex.setStatus('current') mplsTunnelARHopAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ipV4", 1), ("ipV6", 2), ("asNumber", 3), ("lspId", 4))).clone('ipV4')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopAddrType.setStatus('current') mplsTunnelARHopIpv4Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 4), InetAddressIPv4()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopIpv4Addr.setStatus('current') mplsTunnelARHopIpv4PrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopIpv4PrefixLen.setStatus('current') mplsTunnelARHopIpv6Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 6), InetAddressIPv6()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopIpv6Addr.setStatus('current') mplsTunnelARHopIpv6PrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopIpv6PrefixLen.setStatus('current') mplsTunnelARHopAsNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopAsNumber.setStatus('current') mplsTunnelARHopLspId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 9), MplsLSPID()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopLspId.setStatus('current') mplsTunnelCHopTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8), ) if mibBuilder.loadTexts: mplsTunnelCHopTable.setStatus('current') mplsTunnelCHopEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1), ).setIndexNames((0, "HP-SN-MPLS-TE-MIB", "mplsTunnelCHopListIndex"), (0, "HP-SN-MPLS-TE-MIB", "mplsTunnelCHopIndex")) if mibBuilder.loadTexts: mplsTunnelCHopEntry.setStatus('current') mplsTunnelCHopListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 1), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelCHopListIndex.setStatus('current') mplsTunnelCHopIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 2), MplsPathIndex()) if mibBuilder.loadTexts: mplsTunnelCHopIndex.setStatus('current') mplsTunnelCHopAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ipV4", 1), ("ipV6", 2), ("asNumber", 3), ("lspId", 4))).clone('ipV4')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopAddrType.setStatus('current') mplsTunnelCHopIpv4Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 4), InetAddressIPv4()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopIpv4Addr.setStatus('current') mplsTunnelCHopIpv4PrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopIpv4PrefixLen.setStatus('current') mplsTunnelCHopIpv6Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 6), InetAddressIPv6()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopIpv6Addr.setStatus('current') mplsTunnelCHopIpv6PrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopIpv6PrefixLen.setStatus('current') mplsTunnelCHopAsNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopAsNumber.setStatus('current') mplsTunnelCHopLspId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 9), MplsLSPID()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopLspId.setStatus('current') mplsTunnelCHopType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("strict", 1), ("loose", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopType.setStatus('current') mplsTunnelPerfTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9), ) if mibBuilder.loadTexts: mplsTunnelPerfTable.setStatus('current') mplsTunnelPerfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1), ) mplsTunnelEntry.registerAugmentions(("HP-SN-MPLS-TE-MIB", "mplsTunnelPerfEntry")) mplsTunnelPerfEntry.setIndexNames(*mplsTunnelEntry.getIndexNames()) if mibBuilder.loadTexts: mplsTunnelPerfEntry.setStatus('current') mplsTunnelPerfPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfPackets.setStatus('current') mplsTunnelPerfHCPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfHCPackets.setStatus('current') mplsTunnelPerfErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfErrors.setStatus('current') mplsTunnelPerfBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfBytes.setStatus('current') mplsTunnelPerfHCBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfHCBytes.setStatus('current') mplsTunnelCRLDPResTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10), ) if mibBuilder.loadTexts: mplsTunnelCRLDPResTable.setStatus('current') mplsTunnelCRLDPResEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1), ).setIndexNames((0, "HP-SN-MPLS-TE-MIB", "mplsTunnelResourceIndex")) if mibBuilder.loadTexts: mplsTunnelCRLDPResEntry.setStatus('current') mplsTunnelCRLDPResMeanBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 2), MplsBurstSize()).setUnits('bytes').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResMeanBurstSize.setStatus('current') mplsTunnelCRLDPResExcessBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 3), MplsBurstSize()).setUnits('bytes').setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResExcessBurstSize.setStatus('current') mplsTunnelCRLDPResFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unspecified", 1), ("frequent", 2), ("veryFrequent", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResFrequency.setStatus('current') mplsTunnelCRLDPResWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResWeight.setStatus('current') mplsTunnelCRLDPResFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResFlags.setStatus('current') mplsTunnelCRLDPResRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResRowStatus.setStatus('current') mplsTunnelCRLDPResStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 8), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResStorageType.setStatus('current') mplsTunnelTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 11), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mplsTunnelTrapEnable.setStatus('current') mplsTunnelUp = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 1)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelAdminStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOperStatus")) if mibBuilder.loadTexts: mplsTunnelUp.setStatus('current') mplsTunnelDown = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 2)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelAdminStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOperStatus")) if mibBuilder.loadTexts: mplsTunnelDown.setStatus('current') mplsTunnelRerouted = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 3)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelAdminStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOperStatus")) if mibBuilder.loadTexts: mplsTunnelRerouted.setStatus('current') mplsTunnelReoptimized = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 4)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelAdminStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOperStatus")) if mibBuilder.loadTexts: mplsTunnelReoptimized.setStatus('current') mplsTeGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1)) mplsTeCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 2)) mplsTeModuleCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 2, 1)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelGroup"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelScalarGroup"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelManualGroup"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelSignaledGroup"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelIsNotIntfcGroup"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelIsIntfcGroup"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOptionalGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTeModuleCompliance = mplsTeModuleCompliance.setStatus('current') mplsTunnelGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 1)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelIndexNext"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelName"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelDescr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOwner"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelXCPointer"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelIfIndex"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopTableIndex"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopTableIndex"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopTableIndex"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelAdminStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelOperStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelRowStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelTrapEnable"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelStorageType"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelConfigured"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelActive"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPrimaryInstance"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPrimaryTimeUp"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPathChanges"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelLastPathChange"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCreationTime"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelStateTransitions"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelIncludeAnyAffinity"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelIncludeAllAffinity"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelExcludeAllAffinity"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPerfPackets"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPerfHCPackets"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPerfErrors"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPerfBytes"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPerfHCBytes"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourcePointer"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelInstancePriority"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelPathInUse"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelRole"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelTotalUpTime"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelInstanceUpTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelGroup = mplsTunnelGroup.setStatus('current') mplsTunnelManualGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 2)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelSignallingProto")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelManualGroup = mplsTunnelManualGroup.setStatus('current') mplsTunnelSignaledGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 3)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelSetupPrio"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHoldingPrio"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelSignallingProto"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelLocalProtectInUse"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelSessionAttributes"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopListIndexNext"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopAddrType"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopIpv4Addr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopIpv4PrefixLen"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopIpv6Addr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopIpv6PrefixLen"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopAsNumber"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopLspId"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopType"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopIncludeExclude"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopPathOptionName"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopEntryPathComp"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopRowStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelHopStorageType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelSignaledGroup = mplsTunnelSignaledGroup.setStatus('current') mplsTunnelScalarGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 4)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelConfigured"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelActive"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelTEDistProto"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelMaxHops")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelScalarGroup = mplsTunnelScalarGroup.setStatus('current') mplsTunnelIsIntfcGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 5)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelIsIf")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelIsIntfcGroup = mplsTunnelIsIntfcGroup.setStatus('current') mplsTunnelIsNotIntfcGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 6)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelIsIf")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelIsNotIntfcGroup = mplsTunnelIsNotIntfcGroup.setStatus('current') mplsTunnelOptionalGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 7)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceIndexNext"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceMaxRate"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceMeanRate"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceMaxBurstSize"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceMeanBurstSize"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceExcessBurstSize"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceFrequency"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceWeight"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceRowStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelResourceStorageType"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopAddrType"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopIpv4Addr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopIpv4PrefixLen"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopIpv6Addr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopIpv6PrefixLen"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopAsNumber"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelARHopLspId"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopAddrType"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopIpv4Addr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopIpv4PrefixLen"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopIpv6Addr"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopIpv6PrefixLen"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopAsNumber"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopLspId"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCHopType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelOptionalGroup = mplsTunnelOptionalGroup.setStatus('current') mplsTunnelCRLDPResOptionalGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 8)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResMeanBurstSize"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResExcessBurstSize"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResFrequency"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResWeight"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResFlags"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResRowStatus"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelCRLDPResStorageType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTunnelCRLDPResOptionalGroup = mplsTunnelCRLDPResOptionalGroup.setStatus('current') mplsTeNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 9)).setObjects(("HP-SN-MPLS-TE-MIB", "mplsTunnelUp"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelDown"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelRerouted"), ("HP-SN-MPLS-TE-MIB", "mplsTunnelReoptimized")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mplsTeNotificationGroup = mplsTeNotificationGroup.setStatus('current') mibBuilder.exportSymbols("HP-SN-MPLS-TE-MIB", mplsTunnelARHopListIndex=mplsTunnelARHopListIndex, mplsTunnelConfigured=mplsTunnelConfigured, mplsTunnelUp=mplsTunnelUp, mplsTunnelMaxHops=mplsTunnelMaxHops, mplsTunnelHopTable=mplsTunnelHopTable, mplsTunnelARHopAddrType=mplsTunnelARHopAddrType, mplsTunnelResourceRowStatus=mplsTunnelResourceRowStatus, mplsTunnelHopIpv4Addr=mplsTunnelHopIpv4Addr, mplsTunnelIncludeAnyAffinity=mplsTunnelIncludeAnyAffinity, mplsTunnelHopRowStatus=mplsTunnelHopRowStatus, mplsTeNotifyPrefix=mplsTeNotifyPrefix, mplsTunnelOperStatus=mplsTunnelOperStatus, mplsTunnelIndex=mplsTunnelIndex, mplsTunnelCHopAsNumber=mplsTunnelCHopAsNumber, mplsTunnelCRLDPResOptionalGroup=mplsTunnelCRLDPResOptionalGroup, mplsTunnelExcludeAllAffinity=mplsTunnelExcludeAllAffinity, mplsTunnelCHopType=mplsTunnelCHopType, mplsTunnelARHopIpv4Addr=mplsTunnelARHopIpv4Addr, mplsTunnelHopPathOptionName=mplsTunnelHopPathOptionName, mplsTunnelPrimaryTimeUp=mplsTunnelPrimaryTimeUp, mplsTunnelStorageType=mplsTunnelStorageType, mplsTunnelARHopIpv6Addr=mplsTunnelARHopIpv6Addr, mplsTeModuleCompliance=mplsTeModuleCompliance, mplsTunnelOptionalGroup=mplsTunnelOptionalGroup, mplsTunnelCRLDPResEntry=mplsTunnelCRLDPResEntry, mplsTunnelARHopIpv6PrefixLen=mplsTunnelARHopIpv6PrefixLen, mplsTunnelIncludeAllAffinity=mplsTunnelIncludeAllAffinity, mplsTunnelResourceEntry=mplsTunnelResourceEntry, mplsTunnelResourceIndex=mplsTunnelResourceIndex, PYSNMP_MODULE_ID=mplsTeMIB, mplsTunnelEntry=mplsTunnelEntry, mplsTeMIB=mplsTeMIB, mplsTunnelSetupPrio=mplsTunnelSetupPrio, mplsTunnelHopIpv4PrefixLen=mplsTunnelHopIpv4PrefixLen, mplsTunnelPerfEntry=mplsTunnelPerfEntry, mplsTunnelResourceExcessBurstSize=mplsTunnelResourceExcessBurstSize, mplsTunnelStateTransitions=mplsTunnelStateTransitions, mplsTunnelCHopIpv6PrefixLen=mplsTunnelCHopIpv6PrefixLen, mplsTunnelHopListIndexNext=mplsTunnelHopListIndexNext, mplsTunnelCreationTime=mplsTunnelCreationTime, mplsTunnelPathInUse=mplsTunnelPathInUse, mplsTunnelHopIpv6Addr=mplsTunnelHopIpv6Addr, mplsTunnelTEDistProto=mplsTunnelTEDistProto, mplsTunnelHopStorageType=mplsTunnelHopStorageType, mplsTunnelResourceIndexNext=mplsTunnelResourceIndexNext, mplsTunnelIsIf=mplsTunnelIsIf, mplsTunnelManualGroup=mplsTunnelManualGroup, mplsTunnelPerfTable=mplsTunnelPerfTable, mplsTunnelGroup=mplsTunnelGroup, mplsTeGroups=mplsTeGroups, mplsTunnelRowStatus=mplsTunnelRowStatus, mplsTunnelResourceMeanRate=mplsTunnelResourceMeanRate, mplsTunnelCHopIpv4Addr=mplsTunnelCHopIpv4Addr, mplsTeConformance=mplsTeConformance, mplsTunnelResourcePointer=mplsTunnelResourcePointer, mplsTunnelActive=mplsTunnelActive, mplsTunnelIfIndex=mplsTunnelIfIndex, mplsTunnelARHopIndex=mplsTunnelARHopIndex, mplsTunnelIngressLSRId=mplsTunnelIngressLSRId, mplsTunnelHopIncludeExclude=mplsTunnelHopIncludeExclude, mplsTunnelPathChanges=mplsTunnelPathChanges, mplsTunnelCHopTableIndex=mplsTunnelCHopTableIndex, mplsTunnelARHopIpv4PrefixLen=mplsTunnelARHopIpv4PrefixLen, mplsTunnelTrapEnable=mplsTunnelTrapEnable, mplsTunnelCHopAddrType=mplsTunnelCHopAddrType, mplsTunnelDown=mplsTunnelDown, mplsTeObjects=mplsTeObjects, mplsTunnelHopTableIndex=mplsTunnelHopTableIndex, mplsTunnelPerfErrors=mplsTunnelPerfErrors, mplsTunnelInstance=mplsTunnelInstance, mplsTunnelPerfHCPackets=mplsTunnelPerfHCPackets, mplsTunnelPerfPackets=mplsTunnelPerfPackets, mplsTunnelTable=mplsTunnelTable, mplsTunnelCRLDPResFrequency=mplsTunnelCRLDPResFrequency, mplsTunnelHopPathOptionIndex=mplsTunnelHopPathOptionIndex, mplsTunnelIsIntfcGroup=mplsTunnelIsIntfcGroup, mplsTunnelCRLDPResStorageType=mplsTunnelCRLDPResStorageType, mplsTunnelOwner=mplsTunnelOwner, mplsTunnelReoptimized=mplsTunnelReoptimized, mplsTunnelHopIndex=mplsTunnelHopIndex, mplsTunnelHopListIndex=mplsTunnelHopListIndex, mplsTunnelTotalUpTime=mplsTunnelTotalUpTime, mplsTunnelResourceWeight=mplsTunnelResourceWeight, mplsTunnelCRLDPResWeight=mplsTunnelCRLDPResWeight, mplsTunnelCRLDPResFlags=mplsTunnelCRLDPResFlags, mplsTunnelPerfBytes=mplsTunnelPerfBytes, mplsTunnelHoldingPrio=mplsTunnelHoldingPrio, mplsTunnelIsNotIntfcGroup=mplsTunnelIsNotIntfcGroup, mplsTunnelPerfHCBytes=mplsTunnelPerfHCBytes, mplsTunnelCHopIndex=mplsTunnelCHopIndex, mplsTunnelARHopEntry=mplsTunnelARHopEntry, mplsTeScalars=mplsTeScalars, mplsTunnelResourceStorageType=mplsTunnelResourceStorageType, mplsTeCompliances=mplsTeCompliances, mplsTunnelAdminStatus=mplsTunnelAdminStatus, mplsTunnelARHopLspId=mplsTunnelARHopLspId, mplsTunnelCHopEntry=mplsTunnelCHopEntry, mplsTeNotifications=mplsTeNotifications, mplsTunnelCHopTable=mplsTunnelCHopTable, mplsTunnelCHopIpv6Addr=mplsTunnelCHopIpv6Addr, mplsTunnelLastPathChange=mplsTunnelLastPathChange, mplsTunnelHopAddrType=mplsTunnelHopAddrType, mplsTunnelARHopTable=mplsTunnelARHopTable, mplsTunnelHopEntryPathComp=mplsTunnelHopEntryPathComp, mplsTunnelResourceMeanBurstSize=mplsTunnelResourceMeanBurstSize, mplsTunnelEgressLSRId=mplsTunnelEgressLSRId, mplsTunnelResourceMaxRate=mplsTunnelResourceMaxRate, mplsTunnelCRLDPResTable=mplsTunnelCRLDPResTable, mplsTunnelXCPointer=mplsTunnelXCPointer, mplsTunnelSignaledGroup=mplsTunnelSignaledGroup, mplsTunnelCHopLspId=mplsTunnelCHopLspId, mplsTunnelDescr=mplsTunnelDescr, mplsTunnelCRLDPResExcessBurstSize=mplsTunnelCRLDPResExcessBurstSize, mplsTunnelHopEntry=mplsTunnelHopEntry, mplsTunnelResourceTable=mplsTunnelResourceTable, mplsTunnelPrimaryInstance=mplsTunnelPrimaryInstance, mplsTunnelHopType=mplsTunnelHopType, mplsTunnelCHopListIndex=mplsTunnelCHopListIndex, mplsTunnelLocalProtectInUse=mplsTunnelLocalProtectInUse, mplsTunnelResourceFrequency=mplsTunnelResourceFrequency, mplsTunnelIndexNext=mplsTunnelIndexNext, mplsTunnelSignallingProto=mplsTunnelSignallingProto, mplsTunnelHopIpv6PrefixLen=mplsTunnelHopIpv6PrefixLen, mplsTunnelCHopIpv4PrefixLen=mplsTunnelCHopIpv4PrefixLen, mplsTunnelName=mplsTunnelName, mplsTunnelSessionAttributes=mplsTunnelSessionAttributes, mplsTunnelHopLspId=mplsTunnelHopLspId, mplsTunnelInstanceUpTime=mplsTunnelInstanceUpTime, mplsTeNotificationGroup=mplsTeNotificationGroup, mplsTunnelARHopAsNumber=mplsTunnelARHopAsNumber, mplsTunnelARHopTableIndex=mplsTunnelARHopTableIndex, mplsTunnelInstancePriority=mplsTunnelInstancePriority, mplsTunnelHopAsNumber=mplsTunnelHopAsNumber, mplsTunnelRerouted=mplsTunnelRerouted, mplsTunnelResourceMaxBurstSize=mplsTunnelResourceMaxBurstSize, mplsTunnelScalarGroup=mplsTunnelScalarGroup, mplsTunnelCRLDPResMeanBurstSize=mplsTunnelCRLDPResMeanBurstSize, mplsTunnelRole=mplsTunnelRole, mplsTunnelCRLDPResRowStatus=mplsTunnelCRLDPResRowStatus)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, single_value_constraint, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint') (mpls_mib, mpls_lsr_identifier, mpls_tunnel_affinity, mpls_tunnel_instance_index, mpls_path_index_or_zero, mpls_path_index, mpls_burst_size, mpls_lspid, mpls_bit_rate, mpls_tunnel_index) = mibBuilder.importSymbols('HP-SN-MPLS-TC-MIB', 'mplsMIB', 'MplsLsrIdentifier', 'MplsTunnelAffinity', 'MplsTunnelInstanceIndex', 'MplsPathIndexOrZero', 'MplsPathIndex', 'MplsBurstSize', 'MplsLSPID', 'MplsBitRate', 'MplsTunnelIndex') (sn_mpls,) = mibBuilder.importSymbols('HP-SN-ROOT-MIB', 'snMpls') (interface_index_or_zero,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero') (inet_address_i_pv4, inet_address_i_pv6) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressIPv4', 'InetAddressIPv6') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (ip_address, integer32, counter32, counter64, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, time_ticks, iso, bits, gauge32, object_identity, mib_identifier, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'Integer32', 'Counter32', 'Counter64', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'TimeTicks', 'iso', 'Bits', 'Gauge32', 'ObjectIdentity', 'MibIdentifier', 'ModuleIdentity') (row_pointer, time_stamp, truth_value, textual_convention, row_status, storage_type, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowPointer', 'TimeStamp', 'TruthValue', 'TextualConvention', 'RowStatus', 'StorageType', 'DisplayString') mpls_te_mib = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3)) mplsTeMIB.setRevisions(('2002-01-04 12:00',)) if mibBuilder.loadTexts: mplsTeMIB.setLastUpdated('200201041200Z') if mibBuilder.loadTexts: mplsTeMIB.setOrganization('Multiprotocol Label Switching (MPLS) Working Group') mpls_te_scalars = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1)) mpls_te_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2)) mpls_te_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3)) mpls_te_notify_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0)) mpls_te_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4)) mpls_tunnel_configured = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelConfigured.setStatus('current') mpls_tunnel_active = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelActive.setStatus('current') mpls_tunnel_te_dist_proto = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 3), bits().clone(namedValues=named_values(('other', 0), ('ospf', 1), ('isis', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelTEDistProto.setStatus('current') mpls_tunnel_max_hops = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelMaxHops.setStatus('current') mpls_tunnel_index_next = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelIndexNext.setStatus('current') mpls_tunnel_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2)) if mibBuilder.loadTexts: mplsTunnelTable.setStatus('current') mpls_tunnel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1)).setIndexNames((0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelIndex'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelInstance'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelIngressLSRId'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelEgressLSRId')) if mibBuilder.loadTexts: mplsTunnelEntry.setStatus('current') mpls_tunnel_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 1), mpls_tunnel_index()) if mibBuilder.loadTexts: mplsTunnelIndex.setStatus('current') mpls_tunnel_instance = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 2), mpls_tunnel_instance_index()) if mibBuilder.loadTexts: mplsTunnelInstance.setStatus('current') mpls_tunnel_ingress_lsr_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 3), mpls_lsr_identifier()) if mibBuilder.loadTexts: mplsTunnelIngressLSRId.setStatus('current') mpls_tunnel_egress_lsr_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 4), mpls_lsr_identifier()) if mibBuilder.loadTexts: mplsTunnelEgressLSRId.setStatus('current') mpls_tunnel_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 5), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelName.setStatus('current') mpls_tunnel_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 6), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelDescr.setStatus('current') mpls_tunnel_is_if = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 7), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelIsIf.setStatus('current') mpls_tunnel_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 8), interface_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelIfIndex.setStatus('current') mpls_tunnel_xc_pointer = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 9), row_pointer()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelXCPointer.setStatus('current') mpls_tunnel_signalling_proto = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('rsvp', 2), ('crldp', 3), ('other', 4))).clone('none')).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelSignallingProto.setStatus('current') mpls_tunnel_setup_prio = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelSetupPrio.setStatus('current') mpls_tunnel_holding_prio = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHoldingPrio.setStatus('current') mpls_tunnel_session_attributes = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 13), bits().clone(namedValues=named_values(('fastReroute', 0), ('mergingPermitted', 1), ('isPersistent', 2), ('isPinned', 3), ('recordRoute', 4)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelSessionAttributes.setStatus('current') mpls_tunnel_owner = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('admin', 1), ('rsvp', 2), ('crldp', 3), ('policyAgent', 4), ('other', 5)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelOwner.setStatus('current') mpls_tunnel_local_protect_in_use = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 15), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelLocalProtectInUse.setStatus('current') mpls_tunnel_resource_pointer = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 16), row_pointer()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourcePointer.setStatus('current') mpls_tunnel_instance_priority = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 17), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelInstancePriority.setStatus('current') mpls_tunnel_hop_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 18), mpls_path_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopTableIndex.setStatus('current') mpls_tunnel_ar_hop_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 19), mpls_path_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopTableIndex.setStatus('current') mpls_tunnel_c_hop_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 20), mpls_path_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopTableIndex.setStatus('current') mpls_tunnel_primary_instance = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 21), mpls_tunnel_instance_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPrimaryInstance.setStatus('current') mpls_tunnel_primary_time_up = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 22), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPrimaryTimeUp.setStatus('current') mpls_tunnel_path_changes = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPathChanges.setStatus('current') mpls_tunnel_last_path_change = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 24), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelLastPathChange.setStatus('current') mpls_tunnel_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 25), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCreationTime.setStatus('current') mpls_tunnel_state_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelStateTransitions.setStatus('current') mpls_tunnel_include_any_affinity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 27), mpls_tunnel_affinity()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelIncludeAnyAffinity.setStatus('current') mpls_tunnel_include_all_affinity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 28), mpls_tunnel_affinity()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelIncludeAllAffinity.setStatus('current') mpls_tunnel_exclude_all_affinity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 29), mpls_tunnel_affinity()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelExcludeAllAffinity.setStatus('current') mpls_tunnel_path_in_use = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 30), mpls_path_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelPathInUse.setStatus('current') mpls_tunnel_role = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('head', 1), ('transit', 2), ('tail', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelRole.setStatus('current') mpls_tunnel_total_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 32), time_ticks()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelTotalUpTime.setStatus('current') mpls_tunnel_instance_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 33), time_ticks()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelInstanceUpTime.setStatus('current') mpls_tunnel_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelAdminStatus.setStatus('current') mpls_tunnel_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3), ('unknown', 4), ('dormant', 5), ('notPresent', 6), ('lowerLayerDown', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelOperStatus.setStatus('current') mpls_tunnel_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 36), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelRowStatus.setStatus('current') mpls_tunnel_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 2, 1, 37), storage_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelStorageType.setStatus('current') mpls_tunnel_hop_list_index_next = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelHopListIndexNext.setStatus('current') mpls_tunnel_hop_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4)) if mibBuilder.loadTexts: mplsTunnelHopTable.setStatus('current') mpls_tunnel_hop_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1)).setIndexNames((0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelHopListIndex'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelHopPathOptionIndex'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelHopIndex')) if mibBuilder.loadTexts: mplsTunnelHopEntry.setStatus('current') mpls_tunnel_hop_list_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 1), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelHopListIndex.setStatus('current') mpls_tunnel_hop_path_option_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 2), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelHopPathOptionIndex.setStatus('current') mpls_tunnel_hop_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 3), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelHopIndex.setStatus('current') mpls_tunnel_hop_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ipV4', 1), ('ipV6', 2), ('asNumber', 3), ('lspid', 4))).clone('ipV4')).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopAddrType.setStatus('current') mpls_tunnel_hop_ipv4_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 5), inet_address_i_pv4()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopIpv4Addr.setStatus('current') mpls_tunnel_hop_ipv4_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopIpv4PrefixLen.setStatus('current') mpls_tunnel_hop_ipv6_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 7), inet_address_i_pv6()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopIpv6Addr.setStatus('current') mpls_tunnel_hop_ipv6_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopIpv6PrefixLen.setStatus('current') mpls_tunnel_hop_as_number = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopAsNumber.setStatus('current') mpls_tunnel_hop_lsp_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 10), mpls_lspid()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopLspId.setStatus('current') mpls_tunnel_hop_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('strict', 1), ('loose', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopType.setStatus('current') mpls_tunnel_hop_include_exclude = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('include', 1), ('exclude', 2))).clone('include')).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopIncludeExclude.setStatus('current') mpls_tunnel_hop_path_option_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 13), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopPathOptionName.setStatus('current') mpls_tunnel_hop_entry_path_comp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('dynamic', 1), ('explicit', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopEntryPathComp.setStatus('current') mpls_tunnel_hop_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 15), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopRowStatus.setStatus('current') mpls_tunnel_hop_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 4, 1, 16), storage_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelHopStorageType.setStatus('current') mpls_tunnel_resource_index_next = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelResourceIndexNext.setStatus('current') mpls_tunnel_resource_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6)) if mibBuilder.loadTexts: mplsTunnelResourceTable.setStatus('current') mpls_tunnel_resource_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1)).setIndexNames((0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceIndex')) if mibBuilder.loadTexts: mplsTunnelResourceEntry.setStatus('current') mpls_tunnel_resource_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))) if mibBuilder.loadTexts: mplsTunnelResourceIndex.setStatus('current') mpls_tunnel_resource_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 2), mpls_bit_rate()).setUnits('bits per second').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceMaxRate.setStatus('current') mpls_tunnel_resource_mean_rate = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 3), mpls_bit_rate()).setUnits('bits per second').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceMeanRate.setStatus('current') mpls_tunnel_resource_max_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 4), mpls_burst_size()).setUnits('bytes').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceMaxBurstSize.setStatus('current') mpls_tunnel_resource_mean_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 5), mpls_burst_size()).setUnits('bytes').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceMeanBurstSize.setStatus('current') mpls_tunnel_resource_excess_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 6), mpls_burst_size()).setUnits('bytes').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceExcessBurstSize.setStatus('current') mpls_tunnel_resource_frequency = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unspecified', 1), ('frequent', 2), ('veryFrequent', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceFrequency.setStatus('current') mpls_tunnel_resource_weight = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceWeight.setStatus('current') mpls_tunnel_resource_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 9), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceRowStatus.setStatus('current') mpls_tunnel_resource_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 6, 1, 10), storage_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelResourceStorageType.setStatus('current') mpls_tunnel_ar_hop_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7)) if mibBuilder.loadTexts: mplsTunnelARHopTable.setStatus('current') mpls_tunnel_ar_hop_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1)).setIndexNames((0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopListIndex'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopIndex')) if mibBuilder.loadTexts: mplsTunnelARHopEntry.setStatus('current') mpls_tunnel_ar_hop_list_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 1), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelARHopListIndex.setStatus('current') mpls_tunnel_ar_hop_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 2), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelARHopIndex.setStatus('current') mpls_tunnel_ar_hop_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ipV4', 1), ('ipV6', 2), ('asNumber', 3), ('lspId', 4))).clone('ipV4')).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopAddrType.setStatus('current') mpls_tunnel_ar_hop_ipv4_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 4), inet_address_i_pv4()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopIpv4Addr.setStatus('current') mpls_tunnel_ar_hop_ipv4_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopIpv4PrefixLen.setStatus('current') mpls_tunnel_ar_hop_ipv6_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 6), inet_address_i_pv6()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopIpv6Addr.setStatus('current') mpls_tunnel_ar_hop_ipv6_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopIpv6PrefixLen.setStatus('current') mpls_tunnel_ar_hop_as_number = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopAsNumber.setStatus('current') mpls_tunnel_ar_hop_lsp_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 7, 1, 9), mpls_lspid()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelARHopLspId.setStatus('current') mpls_tunnel_c_hop_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8)) if mibBuilder.loadTexts: mplsTunnelCHopTable.setStatus('current') mpls_tunnel_c_hop_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1)).setIndexNames((0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopListIndex'), (0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopIndex')) if mibBuilder.loadTexts: mplsTunnelCHopEntry.setStatus('current') mpls_tunnel_c_hop_list_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 1), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelCHopListIndex.setStatus('current') mpls_tunnel_c_hop_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 2), mpls_path_index()) if mibBuilder.loadTexts: mplsTunnelCHopIndex.setStatus('current') mpls_tunnel_c_hop_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ipV4', 1), ('ipV6', 2), ('asNumber', 3), ('lspId', 4))).clone('ipV4')).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopAddrType.setStatus('current') mpls_tunnel_c_hop_ipv4_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 4), inet_address_i_pv4()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopIpv4Addr.setStatus('current') mpls_tunnel_c_hop_ipv4_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopIpv4PrefixLen.setStatus('current') mpls_tunnel_c_hop_ipv6_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 6), inet_address_i_pv6()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopIpv6Addr.setStatus('current') mpls_tunnel_c_hop_ipv6_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopIpv6PrefixLen.setStatus('current') mpls_tunnel_c_hop_as_number = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopAsNumber.setStatus('current') mpls_tunnel_c_hop_lsp_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 9), mpls_lspid()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopLspId.setStatus('current') mpls_tunnel_c_hop_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 8, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('strict', 1), ('loose', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelCHopType.setStatus('current') mpls_tunnel_perf_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9)) if mibBuilder.loadTexts: mplsTunnelPerfTable.setStatus('current') mpls_tunnel_perf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1)) mplsTunnelEntry.registerAugmentions(('HP-SN-MPLS-TE-MIB', 'mplsTunnelPerfEntry')) mplsTunnelPerfEntry.setIndexNames(*mplsTunnelEntry.getIndexNames()) if mibBuilder.loadTexts: mplsTunnelPerfEntry.setStatus('current') mpls_tunnel_perf_packets = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPerfPackets.setStatus('current') mpls_tunnel_perf_hc_packets = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 2), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPerfHCPackets.setStatus('current') mpls_tunnel_perf_errors = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPerfErrors.setStatus('current') mpls_tunnel_perf_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPerfBytes.setStatus('current') mpls_tunnel_perf_hc_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 9, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: mplsTunnelPerfHCBytes.setStatus('current') mpls_tunnel_crldp_res_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10)) if mibBuilder.loadTexts: mplsTunnelCRLDPResTable.setStatus('current') mpls_tunnel_crldp_res_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1)).setIndexNames((0, 'HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceIndex')) if mibBuilder.loadTexts: mplsTunnelCRLDPResEntry.setStatus('current') mpls_tunnel_crldp_res_mean_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 2), mpls_burst_size()).setUnits('bytes').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResMeanBurstSize.setStatus('current') mpls_tunnel_crldp_res_excess_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 3), mpls_burst_size()).setUnits('bytes').setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResExcessBurstSize.setStatus('current') mpls_tunnel_crldp_res_frequency = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unspecified', 1), ('frequent', 2), ('veryFrequent', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResFrequency.setStatus('current') mpls_tunnel_crldp_res_weight = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResWeight.setStatus('current') mpls_tunnel_crldp_res_flags = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResFlags.setStatus('current') mpls_tunnel_crldp_res_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 7), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResRowStatus.setStatus('current') mpls_tunnel_crldp_res_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 10, 1, 8), storage_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: mplsTunnelCRLDPResStorageType.setStatus('current') mpls_tunnel_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 2, 11), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mplsTunnelTrapEnable.setStatus('current') mpls_tunnel_up = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 1)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelAdminStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOperStatus')) if mibBuilder.loadTexts: mplsTunnelUp.setStatus('current') mpls_tunnel_down = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 2)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelAdminStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOperStatus')) if mibBuilder.loadTexts: mplsTunnelDown.setStatus('current') mpls_tunnel_rerouted = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 3)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelAdminStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOperStatus')) if mibBuilder.loadTexts: mplsTunnelRerouted.setStatus('current') mpls_tunnel_reoptimized = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 3, 0, 4)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelAdminStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOperStatus')) if mibBuilder.loadTexts: mplsTunnelReoptimized.setStatus('current') mpls_te_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1)) mpls_te_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 2)) mpls_te_module_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 2, 1)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelGroup'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelScalarGroup'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelManualGroup'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelSignaledGroup'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelIsNotIntfcGroup'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelIsIntfcGroup'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOptionalGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_te_module_compliance = mplsTeModuleCompliance.setStatus('current') mpls_tunnel_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 1)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelIndexNext'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelName'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelDescr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOwner'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelXCPointer'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelIfIndex'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopTableIndex'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopTableIndex'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopTableIndex'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelAdminStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelOperStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelRowStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelTrapEnable'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelStorageType'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelConfigured'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelActive'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPrimaryInstance'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPrimaryTimeUp'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPathChanges'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelLastPathChange'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCreationTime'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelStateTransitions'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelIncludeAnyAffinity'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelIncludeAllAffinity'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelExcludeAllAffinity'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPerfPackets'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPerfHCPackets'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPerfErrors'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPerfBytes'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPerfHCBytes'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourcePointer'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelInstancePriority'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelPathInUse'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelRole'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelTotalUpTime'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelInstanceUpTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_group = mplsTunnelGroup.setStatus('current') mpls_tunnel_manual_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 2)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelSignallingProto')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_manual_group = mplsTunnelManualGroup.setStatus('current') mpls_tunnel_signaled_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 3)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelSetupPrio'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHoldingPrio'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelSignallingProto'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelLocalProtectInUse'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelSessionAttributes'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopListIndexNext'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopAddrType'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopIpv4Addr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopIpv4PrefixLen'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopIpv6Addr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopIpv6PrefixLen'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopAsNumber'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopLspId'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopType'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopIncludeExclude'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopPathOptionName'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopEntryPathComp'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopRowStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelHopStorageType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_signaled_group = mplsTunnelSignaledGroup.setStatus('current') mpls_tunnel_scalar_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 4)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelConfigured'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelActive'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelTEDistProto'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelMaxHops')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_scalar_group = mplsTunnelScalarGroup.setStatus('current') mpls_tunnel_is_intfc_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 5)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelIsIf')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_is_intfc_group = mplsTunnelIsIntfcGroup.setStatus('current') mpls_tunnel_is_not_intfc_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 6)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelIsIf')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_is_not_intfc_group = mplsTunnelIsNotIntfcGroup.setStatus('current') mpls_tunnel_optional_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 7)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceIndexNext'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceMaxRate'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceMeanRate'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceMaxBurstSize'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceMeanBurstSize'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceExcessBurstSize'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceFrequency'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceWeight'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceRowStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelResourceStorageType'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopAddrType'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopIpv4Addr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopIpv4PrefixLen'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopIpv6Addr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopIpv6PrefixLen'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopAsNumber'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelARHopLspId'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopAddrType'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopIpv4Addr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopIpv4PrefixLen'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopIpv6Addr'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopIpv6PrefixLen'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopAsNumber'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopLspId'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCHopType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_optional_group = mplsTunnelOptionalGroup.setStatus('current') mpls_tunnel_crldp_res_optional_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 8)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResMeanBurstSize'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResExcessBurstSize'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResFrequency'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResWeight'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResFlags'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResRowStatus'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelCRLDPResStorageType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_tunnel_crldp_res_optional_group = mplsTunnelCRLDPResOptionalGroup.setStatus('current') mpls_te_notification_group = notification_group((1, 3, 6, 1, 4, 1, 11, 2, 3, 7, 11, 12, 2, 15, 15, 3, 4, 1, 9)).setObjects(('HP-SN-MPLS-TE-MIB', 'mplsTunnelUp'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelDown'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelRerouted'), ('HP-SN-MPLS-TE-MIB', 'mplsTunnelReoptimized')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mpls_te_notification_group = mplsTeNotificationGroup.setStatus('current') mibBuilder.exportSymbols('HP-SN-MPLS-TE-MIB', mplsTunnelARHopListIndex=mplsTunnelARHopListIndex, mplsTunnelConfigured=mplsTunnelConfigured, mplsTunnelUp=mplsTunnelUp, mplsTunnelMaxHops=mplsTunnelMaxHops, mplsTunnelHopTable=mplsTunnelHopTable, mplsTunnelARHopAddrType=mplsTunnelARHopAddrType, mplsTunnelResourceRowStatus=mplsTunnelResourceRowStatus, mplsTunnelHopIpv4Addr=mplsTunnelHopIpv4Addr, mplsTunnelIncludeAnyAffinity=mplsTunnelIncludeAnyAffinity, mplsTunnelHopRowStatus=mplsTunnelHopRowStatus, mplsTeNotifyPrefix=mplsTeNotifyPrefix, mplsTunnelOperStatus=mplsTunnelOperStatus, mplsTunnelIndex=mplsTunnelIndex, mplsTunnelCHopAsNumber=mplsTunnelCHopAsNumber, mplsTunnelCRLDPResOptionalGroup=mplsTunnelCRLDPResOptionalGroup, mplsTunnelExcludeAllAffinity=mplsTunnelExcludeAllAffinity, mplsTunnelCHopType=mplsTunnelCHopType, mplsTunnelARHopIpv4Addr=mplsTunnelARHopIpv4Addr, mplsTunnelHopPathOptionName=mplsTunnelHopPathOptionName, mplsTunnelPrimaryTimeUp=mplsTunnelPrimaryTimeUp, mplsTunnelStorageType=mplsTunnelStorageType, mplsTunnelARHopIpv6Addr=mplsTunnelARHopIpv6Addr, mplsTeModuleCompliance=mplsTeModuleCompliance, mplsTunnelOptionalGroup=mplsTunnelOptionalGroup, mplsTunnelCRLDPResEntry=mplsTunnelCRLDPResEntry, mplsTunnelARHopIpv6PrefixLen=mplsTunnelARHopIpv6PrefixLen, mplsTunnelIncludeAllAffinity=mplsTunnelIncludeAllAffinity, mplsTunnelResourceEntry=mplsTunnelResourceEntry, mplsTunnelResourceIndex=mplsTunnelResourceIndex, PYSNMP_MODULE_ID=mplsTeMIB, mplsTunnelEntry=mplsTunnelEntry, mplsTeMIB=mplsTeMIB, mplsTunnelSetupPrio=mplsTunnelSetupPrio, mplsTunnelHopIpv4PrefixLen=mplsTunnelHopIpv4PrefixLen, mplsTunnelPerfEntry=mplsTunnelPerfEntry, mplsTunnelResourceExcessBurstSize=mplsTunnelResourceExcessBurstSize, mplsTunnelStateTransitions=mplsTunnelStateTransitions, mplsTunnelCHopIpv6PrefixLen=mplsTunnelCHopIpv6PrefixLen, mplsTunnelHopListIndexNext=mplsTunnelHopListIndexNext, mplsTunnelCreationTime=mplsTunnelCreationTime, mplsTunnelPathInUse=mplsTunnelPathInUse, mplsTunnelHopIpv6Addr=mplsTunnelHopIpv6Addr, mplsTunnelTEDistProto=mplsTunnelTEDistProto, mplsTunnelHopStorageType=mplsTunnelHopStorageType, mplsTunnelResourceIndexNext=mplsTunnelResourceIndexNext, mplsTunnelIsIf=mplsTunnelIsIf, mplsTunnelManualGroup=mplsTunnelManualGroup, mplsTunnelPerfTable=mplsTunnelPerfTable, mplsTunnelGroup=mplsTunnelGroup, mplsTeGroups=mplsTeGroups, mplsTunnelRowStatus=mplsTunnelRowStatus, mplsTunnelResourceMeanRate=mplsTunnelResourceMeanRate, mplsTunnelCHopIpv4Addr=mplsTunnelCHopIpv4Addr, mplsTeConformance=mplsTeConformance, mplsTunnelResourcePointer=mplsTunnelResourcePointer, mplsTunnelActive=mplsTunnelActive, mplsTunnelIfIndex=mplsTunnelIfIndex, mplsTunnelARHopIndex=mplsTunnelARHopIndex, mplsTunnelIngressLSRId=mplsTunnelIngressLSRId, mplsTunnelHopIncludeExclude=mplsTunnelHopIncludeExclude, mplsTunnelPathChanges=mplsTunnelPathChanges, mplsTunnelCHopTableIndex=mplsTunnelCHopTableIndex, mplsTunnelARHopIpv4PrefixLen=mplsTunnelARHopIpv4PrefixLen, mplsTunnelTrapEnable=mplsTunnelTrapEnable, mplsTunnelCHopAddrType=mplsTunnelCHopAddrType, mplsTunnelDown=mplsTunnelDown, mplsTeObjects=mplsTeObjects, mplsTunnelHopTableIndex=mplsTunnelHopTableIndex, mplsTunnelPerfErrors=mplsTunnelPerfErrors, mplsTunnelInstance=mplsTunnelInstance, mplsTunnelPerfHCPackets=mplsTunnelPerfHCPackets, mplsTunnelPerfPackets=mplsTunnelPerfPackets, mplsTunnelTable=mplsTunnelTable, mplsTunnelCRLDPResFrequency=mplsTunnelCRLDPResFrequency, mplsTunnelHopPathOptionIndex=mplsTunnelHopPathOptionIndex, mplsTunnelIsIntfcGroup=mplsTunnelIsIntfcGroup, mplsTunnelCRLDPResStorageType=mplsTunnelCRLDPResStorageType, mplsTunnelOwner=mplsTunnelOwner, mplsTunnelReoptimized=mplsTunnelReoptimized, mplsTunnelHopIndex=mplsTunnelHopIndex, mplsTunnelHopListIndex=mplsTunnelHopListIndex, mplsTunnelTotalUpTime=mplsTunnelTotalUpTime, mplsTunnelResourceWeight=mplsTunnelResourceWeight, mplsTunnelCRLDPResWeight=mplsTunnelCRLDPResWeight, mplsTunnelCRLDPResFlags=mplsTunnelCRLDPResFlags, mplsTunnelPerfBytes=mplsTunnelPerfBytes, mplsTunnelHoldingPrio=mplsTunnelHoldingPrio, mplsTunnelIsNotIntfcGroup=mplsTunnelIsNotIntfcGroup, mplsTunnelPerfHCBytes=mplsTunnelPerfHCBytes, mplsTunnelCHopIndex=mplsTunnelCHopIndex, mplsTunnelARHopEntry=mplsTunnelARHopEntry, mplsTeScalars=mplsTeScalars, mplsTunnelResourceStorageType=mplsTunnelResourceStorageType, mplsTeCompliances=mplsTeCompliances, mplsTunnelAdminStatus=mplsTunnelAdminStatus, mplsTunnelARHopLspId=mplsTunnelARHopLspId, mplsTunnelCHopEntry=mplsTunnelCHopEntry, mplsTeNotifications=mplsTeNotifications, mplsTunnelCHopTable=mplsTunnelCHopTable, mplsTunnelCHopIpv6Addr=mplsTunnelCHopIpv6Addr, mplsTunnelLastPathChange=mplsTunnelLastPathChange, mplsTunnelHopAddrType=mplsTunnelHopAddrType, mplsTunnelARHopTable=mplsTunnelARHopTable, mplsTunnelHopEntryPathComp=mplsTunnelHopEntryPathComp, mplsTunnelResourceMeanBurstSize=mplsTunnelResourceMeanBurstSize, mplsTunnelEgressLSRId=mplsTunnelEgressLSRId, mplsTunnelResourceMaxRate=mplsTunnelResourceMaxRate, mplsTunnelCRLDPResTable=mplsTunnelCRLDPResTable, mplsTunnelXCPointer=mplsTunnelXCPointer, mplsTunnelSignaledGroup=mplsTunnelSignaledGroup, mplsTunnelCHopLspId=mplsTunnelCHopLspId, mplsTunnelDescr=mplsTunnelDescr, mplsTunnelCRLDPResExcessBurstSize=mplsTunnelCRLDPResExcessBurstSize, mplsTunnelHopEntry=mplsTunnelHopEntry, mplsTunnelResourceTable=mplsTunnelResourceTable, mplsTunnelPrimaryInstance=mplsTunnelPrimaryInstance, mplsTunnelHopType=mplsTunnelHopType, mplsTunnelCHopListIndex=mplsTunnelCHopListIndex, mplsTunnelLocalProtectInUse=mplsTunnelLocalProtectInUse, mplsTunnelResourceFrequency=mplsTunnelResourceFrequency, mplsTunnelIndexNext=mplsTunnelIndexNext, mplsTunnelSignallingProto=mplsTunnelSignallingProto, mplsTunnelHopIpv6PrefixLen=mplsTunnelHopIpv6PrefixLen, mplsTunnelCHopIpv4PrefixLen=mplsTunnelCHopIpv4PrefixLen, mplsTunnelName=mplsTunnelName, mplsTunnelSessionAttributes=mplsTunnelSessionAttributes, mplsTunnelHopLspId=mplsTunnelHopLspId, mplsTunnelInstanceUpTime=mplsTunnelInstanceUpTime, mplsTeNotificationGroup=mplsTeNotificationGroup, mplsTunnelARHopAsNumber=mplsTunnelARHopAsNumber, mplsTunnelARHopTableIndex=mplsTunnelARHopTableIndex, mplsTunnelInstancePriority=mplsTunnelInstancePriority, mplsTunnelHopAsNumber=mplsTunnelHopAsNumber, mplsTunnelRerouted=mplsTunnelRerouted, mplsTunnelResourceMaxBurstSize=mplsTunnelResourceMaxBurstSize, mplsTunnelScalarGroup=mplsTunnelScalarGroup, mplsTunnelCRLDPResMeanBurstSize=mplsTunnelCRLDPResMeanBurstSize, mplsTunnelRole=mplsTunnelRole, mplsTunnelCRLDPResRowStatus=mplsTunnelCRLDPResRowStatus)
contacts = {} while True: tokens = input() if 'Over' == tokens: break [first_value, second_value] = tokens.split(' : ') if second_value.isdigit(): contacts[first_value] = second_value else: contacts[second_value] = first_value print(("\n".join([f'{key} -> {value}' for key, value in sorted(contacts.items())])))
contacts = {} while True: tokens = input() if 'Over' == tokens: break [first_value, second_value] = tokens.split(' : ') if second_value.isdigit(): contacts[first_value] = second_value else: contacts[second_value] = first_value print('\n'.join([f'{key} -> {value}' for (key, value) in sorted(contacts.items())]))
# Roll no.: # Registration no.: # Evaluate fibonacci numbers and calculate the limit of the numbers. def fibo(n): """Returns nth fibonacci number.""" a, b = 0, 1 for i in range(1, n): a, b = b, a+b return b def calc_ratio(): """Calculates the limit of the ratio of fibonacci numbers correct to 4th decimal place.""" c, d = 1, 1 while True: phi = d / c c, d = d, c+d phi1 = d / c if abs(phi1 - phi) < 1.0e-5: return phi if __name__ == "__main__": n = int(input("Enter limit: ")) print([fibo(i) for i in range(1, n+1)]) print("Limit =", calc_ratio()) # EXECUTION # Enter limit: 10 # [1, 1, 2, 3, 5, 8, 13, 21, 34, 55] # Limit = 1.6180371352785146
def fibo(n): """Returns nth fibonacci number.""" (a, b) = (0, 1) for i in range(1, n): (a, b) = (b, a + b) return b def calc_ratio(): """Calculates the limit of the ratio of fibonacci numbers correct to 4th decimal place.""" (c, d) = (1, 1) while True: phi = d / c (c, d) = (d, c + d) phi1 = d / c if abs(phi1 - phi) < 1e-05: return phi if __name__ == '__main__': n = int(input('Enter limit: ')) print([fibo(i) for i in range(1, n + 1)]) print('Limit =', calc_ratio())
""" @author: ctralie / IDS 301 Class Purpose: To show how to dynamically fill in a dictionary using loops, and also to make sure students are comfortable with nested dictionaries (dictionaries that have keys whose values are themselves dictionaries) """ # The main dictionary has the student name as a key, # and a dictionary of student info as its value students = {} names = ['chris', 'celia'] # Each student is itself a dictionary with three keys keys = ['year', 'major', 'grades'] # For the grades key, we have yet another dictionary that # stores the grades by assignment assignments = ['audio', 'image', 'nbody'] # Outer loop loops through the students for name in names: print("Fill in info for ", name) # Setup a blank dictionary for this person students[name] = {} # Add empty dictionary as value for student for key in keys: # Fill the value for each key if key == 'grades': # If it's the grades key, we need to loop # through all of the assignments and create # a dictionary to hold the grades by assignment grades = {} for a in assignments: print("What is ", name, "'s grade on ", a) grade = int(input()) grades[a] = grade students[name][key] = grades else: # For all other keys, we're simply storing # a string as their value print("What is ", key, " for ", name, "?") value = input() students[name][key] = value print(students[name]) print(students)
""" @author: ctralie / IDS 301 Class Purpose: To show how to dynamically fill in a dictionary using loops, and also to make sure students are comfortable with nested dictionaries (dictionaries that have keys whose values are themselves dictionaries) """ students = {} names = ['chris', 'celia'] keys = ['year', 'major', 'grades'] assignments = ['audio', 'image', 'nbody'] for name in names: print('Fill in info for ', name) students[name] = {} for key in keys: if key == 'grades': grades = {} for a in assignments: print('What is ', name, "'s grade on ", a) grade = int(input()) grades[a] = grade students[name][key] = grades else: print('What is ', key, ' for ', name, '?') value = input() students[name][key] = value print(students[name]) print(students)
# coding=utf-8 """ Manages the server computer """
""" Manages the server computer """
# Params change with every run of the application and will be changed by the UI MEASUREMENT_ID = '' COMMENT = 'preliminary data' SONDE_NAME = '2015083012lin.txt' OVL_FILES = ['15083000_607.dat'] POLLY_FILES = ['2015_05_01_Fri_DWD_00_03_31.nc']
measurement_id = '' comment = 'preliminary data' sonde_name = '2015083012lin.txt' ovl_files = ['15083000_607.dat'] polly_files = ['2015_05_01_Fri_DWD_00_03_31.nc']
class LightSupport: EFFECT = 4 FLASH = 8 TRANSITION = 32
class Lightsupport: effect = 4 flash = 8 transition = 32
def flatten(iterable: list) -> list: """ A function that accepts an arbitrarily-deep nested list-like structure and returns a flattened structure without any nil/null values. For Example: input: [1,[2,3,null,4],[null],5] output: [1,2,3,4,5] :param iterable: :return: """ result = list() get_all_digits(iterable, result) return result def get_all_digits(iterable, result: list): if isinstance(iterable, int): result.append(iterable) if isinstance(iterable, list): for item in iterable: get_all_digits(item, result)
def flatten(iterable: list) -> list: """ A function that accepts an arbitrarily-deep nested list-like structure and returns a flattened structure without any nil/null values. For Example: input: [1,[2,3,null,4],[null],5] output: [1,2,3,4,5] :param iterable: :return: """ result = list() get_all_digits(iterable, result) return result def get_all_digits(iterable, result: list): if isinstance(iterable, int): result.append(iterable) if isinstance(iterable, list): for item in iterable: get_all_digits(item, result)
# -*- coding: utf-8 -*- """Basic Grid description: content: - SquareGrid - GridWithWeights reference: 1. https://www.redblobgames.com/pathfinding/a-star/implementation.html author: Shin-Fu (Kelvin) Wu latest update: 2019/05/10 """ class SquareGrid(object): def __init__(self, width, height): """ Square Grid """ self.width = width self.height = height self.walls = set() def in_bounds(self, pos): (x, y) = pos return 0 <= x < self.width and 0 <= y < self.height def passable(self, id): return id not in self.walls def neighbors(self, pos): (x, y) = pos results = [(x+1, y), (x, y-1), (x-1, y), (x, y+1)] if (x + y) % 2 == 0: results.reverse() # aesthetics results = list(filter(self.in_bounds, results)) results = list(filter(self.passable, results)) return results class GridWithWeights(SquareGrid): def __init__(self, width, height): """ Square Grid with Weights """ super(GridWithWeights, self).__init__(width, height) self.weights = {} def cost(self, from_node, to_node): return self.weights.get(to_node, 1)
"""Basic Grid description: content: - SquareGrid - GridWithWeights reference: 1. https://www.redblobgames.com/pathfinding/a-star/implementation.html author: Shin-Fu (Kelvin) Wu latest update: 2019/05/10 """ class Squaregrid(object): def __init__(self, width, height): """ Square Grid """ self.width = width self.height = height self.walls = set() def in_bounds(self, pos): (x, y) = pos return 0 <= x < self.width and 0 <= y < self.height def passable(self, id): return id not in self.walls def neighbors(self, pos): (x, y) = pos results = [(x + 1, y), (x, y - 1), (x - 1, y), (x, y + 1)] if (x + y) % 2 == 0: results.reverse() results = list(filter(self.in_bounds, results)) results = list(filter(self.passable, results)) return results class Gridwithweights(SquareGrid): def __init__(self, width, height): """ Square Grid with Weights """ super(GridWithWeights, self).__init__(width, height) self.weights = {} def cost(self, from_node, to_node): return self.weights.get(to_node, 1)
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def pruneTree(self, root: TreeNode) -> TreeNode: if not root: return None root.left = self.pruneTree(root.left) root.right = self.pruneTree(root.right) if root.left is None and root.right is None and root.val == 0: return None return root ''' dfs Solution: Recursion Time complexity: O(n) where N is the number of nodes in the tree. We process each node once. Space complexity: O(h) where H is the height of the tree. This represents the size of the implicit call stack in our recursion. '''
class Solution: def prune_tree(self, root: TreeNode) -> TreeNode: if not root: return None root.left = self.pruneTree(root.left) root.right = self.pruneTree(root.right) if root.left is None and root.right is None and (root.val == 0): return None return root '\ndfs\nSolution: Recursion\nTime complexity: O(n) where N is the number of nodes in the tree. We process each node once.\nSpace complexity: O(h) where H is the height of the tree. This represents the size of the implicit call stack in our recursion.\n'
class Node(object): def __init__(self, data = None): self.left = None self.right = None self.data = data def setLeft(self, node): self.left = node def setRight(self, node): self.right = node def getLeft(self): return self.left def getRight(self): return self.right def setData(self, data): self.data = data def getData(self): return self.data def inorder(Tree): if Tree: inorder(Tree.getLeft()) print(Tree.getData(), end = ' ') inorder(Tree.getRight()) return def preorder(Tree): if Tree: print(Tree.getData(), end = ' ') preorder(Tree.getLeft()) preorder(Tree.getRight()) return def postorder(Tree): if Tree: postorder(Tree.getLeft()) postorder(Tree.getRight()) print(Tree.getData(), end = ' ') return if __name__ == '__main__': root = Node(1) root.setLeft(Node(2)) root.setRight(Node(3)) root.left.setLeft(Node(4)) print('Inorder Traversal:') inorder(root) print('\nPreorder Traversal:') preorder(root) print('\nPostorder Traversal:') postorder(root)
class Node(object): def __init__(self, data=None): self.left = None self.right = None self.data = data def set_left(self, node): self.left = node def set_right(self, node): self.right = node def get_left(self): return self.left def get_right(self): return self.right def set_data(self, data): self.data = data def get_data(self): return self.data def inorder(Tree): if Tree: inorder(Tree.getLeft()) print(Tree.getData(), end=' ') inorder(Tree.getRight()) return def preorder(Tree): if Tree: print(Tree.getData(), end=' ') preorder(Tree.getLeft()) preorder(Tree.getRight()) return def postorder(Tree): if Tree: postorder(Tree.getLeft()) postorder(Tree.getRight()) print(Tree.getData(), end=' ') return if __name__ == '__main__': root = node(1) root.setLeft(node(2)) root.setRight(node(3)) root.left.setLeft(node(4)) print('Inorder Traversal:') inorder(root) print('\nPreorder Traversal:') preorder(root) print('\nPostorder Traversal:') postorder(root)
"""Should raise SyntaxError: cannot assign to __debug__ in Py 3.8 and assignment to keyword before.""" __debug__ = 1
"""Should raise SyntaxError: cannot assign to __debug__ in Py 3.8 and assignment to keyword before.""" __debug__ = 1
load("//rust:rust_proto_compile.bzl", "rust_proto_compile") load("//rust:rust_proto_lib.bzl", "rust_proto_lib") load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") def rust_proto_library(**kwargs): # Compile protos name_pb = kwargs.get("name") + "_pb" name_lib = kwargs.get("name") + "_lib" rust_proto_compile( name = name_pb, **{k: v for (k, v) in kwargs.items() if k in ("deps", "verbose")} # Forward args ) # Create lib file rust_proto_lib( name = name_lib, compilation = name_pb, grpc = False, ) # Create rust library rust_library( name = kwargs.get("name"), srcs = [name_pb, name_lib], deps = PROTO_DEPS, visibility = kwargs.get("visibility"), tags = kwargs.get("tags"), ) PROTO_DEPS = [ Label("//rust/raze:protobuf"), ]
load('//rust:rust_proto_compile.bzl', 'rust_proto_compile') load('//rust:rust_proto_lib.bzl', 'rust_proto_lib') load('@io_bazel_rules_rust//rust:rust.bzl', 'rust_library') def rust_proto_library(**kwargs): name_pb = kwargs.get('name') + '_pb' name_lib = kwargs.get('name') + '_lib' rust_proto_compile(name=name_pb, **{k: v for (k, v) in kwargs.items() if k in ('deps', 'verbose')}) rust_proto_lib(name=name_lib, compilation=name_pb, grpc=False) rust_library(name=kwargs.get('name'), srcs=[name_pb, name_lib], deps=PROTO_DEPS, visibility=kwargs.get('visibility'), tags=kwargs.get('tags')) proto_deps = [label('//rust/raze:protobuf')]
message = "Hello charm" print(message) # called string methods print(message.title()) print(message.upper()) print(message.lower()) myint1 = 7 myint2 = 20 print(myint1 + myint2) myfloat1 = 1.5 myfloat2 = 2.5 print(myfloat1 + myfloat2) #convert int to str print("Happy " + str(myint2) + " birthday")
message = 'Hello charm' print(message) print(message.title()) print(message.upper()) print(message.lower()) myint1 = 7 myint2 = 20 print(myint1 + myint2) myfloat1 = 1.5 myfloat2 = 2.5 print(myfloat1 + myfloat2) print('Happy ' + str(myint2) + ' birthday')
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: the root @return: the second minimum value in the set made of all the nodes' value in the whole tree """ def findSecondMinimumValue(self, root): # Write your code here def helper(root, smallest): if root is None: return -1 if root.val != smallest: return root.val left = helper(root.left, smallest) right = helper(root.right, smallest) if left == -1: return right elif right == -1: return left else: return min(left, right) return helper(root, root.val)
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: the root @return: the second minimum value in the set made of all the nodes' value in the whole tree """ def find_second_minimum_value(self, root): def helper(root, smallest): if root is None: return -1 if root.val != smallest: return root.val left = helper(root.left, smallest) right = helper(root.right, smallest) if left == -1: return right elif right == -1: return left else: return min(left, right) return helper(root, root.val)
# Copyright (c) 2015 Joshua Coady # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. class Card: 'a single card in the deck' __val = 0 __symbol = "" __suit = '' __visible = False def __init__(self, val, symbol, suit): self.__val = val self.__symbol = symbol self.__suit = suit #getter for the card's value def get_value(self): "getter for value" return self.__val #getter for the card's symbol def get_symbol(self): "getter for the symbol" return self.__symbol #getter for the card's suit def get_suit(self): "getter for the suit" return self.__suit def isVisible(self): "determines if the card is face up or face down" return self.__visible def set_visibility(self, visiblity): "set whether the card symbol is visible on screen" self.__visible = visiblity return
class Card: """a single card in the deck""" __val = 0 __symbol = '' __suit = '' __visible = False def __init__(self, val, symbol, suit): self.__val = val self.__symbol = symbol self.__suit = suit def get_value(self): """getter for value""" return self.__val def get_symbol(self): """getter for the symbol""" return self.__symbol def get_suit(self): """getter for the suit""" return self.__suit def is_visible(self): """determines if the card is face up or face down""" return self.__visible def set_visibility(self, visiblity): """set whether the card symbol is visible on screen""" self.__visible = visiblity return
class RoutingPath: """Holds a list of block_ids and has section_id, list_item_id and list_name attributes""" def __init__(self, block_ids, section_id, list_item_id=None, list_name=None): self.block_ids = tuple(block_ids) self.section_id = section_id self.list_item_id = list_item_id self.list_name = list_name def __len__(self): return len(self.block_ids) def __getitem__(self, index): return self.block_ids[index] def __iter__(self): return iter(self.block_ids) def __reversed__(self): return reversed(self.block_ids) def __eq__(self, other): if isinstance(other, RoutingPath): return ( self.block_ids == other.block_ids and self.section_id == other.section_id and self.list_item_id == other.list_item_id and self.list_name == other.list_name ) if isinstance(other, list): return self.block_ids == tuple(other) return self.block_ids == other def index(self, *args): return self.block_ids.index(*args)
class Routingpath: """Holds a list of block_ids and has section_id, list_item_id and list_name attributes""" def __init__(self, block_ids, section_id, list_item_id=None, list_name=None): self.block_ids = tuple(block_ids) self.section_id = section_id self.list_item_id = list_item_id self.list_name = list_name def __len__(self): return len(self.block_ids) def __getitem__(self, index): return self.block_ids[index] def __iter__(self): return iter(self.block_ids) def __reversed__(self): return reversed(self.block_ids) def __eq__(self, other): if isinstance(other, RoutingPath): return self.block_ids == other.block_ids and self.section_id == other.section_id and (self.list_item_id == other.list_item_id) and (self.list_name == other.list_name) if isinstance(other, list): return self.block_ids == tuple(other) return self.block_ids == other def index(self, *args): return self.block_ids.index(*args)
def iterSects(activeOnly=True): for sect in sections: options = {} if type(sect) is tuple: sect, options = sect try: active = options['active'] except KeyError: active = True if active or not activeOnly: yield sect, options
def iter_sects(activeOnly=True): for sect in sections: options = {} if type(sect) is tuple: (sect, options) = sect try: active = options['active'] except KeyError: active = True if active or not activeOnly: yield (sect, options)
name = "Manish" age = 30 print("This is hello world!!!") print(name) print(float(age)) age = "31" print(age) print("this", "is", "cool", "and", "awesome!")
name = 'Manish' age = 30 print('This is hello world!!!') print(name) print(float(age)) age = '31' print(age) print('this', 'is', 'cool', 'and', 'awesome!')
def ficha(nome='desconhecido', gols=0 ): print(f'O jogador {nome} marcou {gols} no campeonato.') jogador = str(input('Nome do jogador: ')) golos = str(input('Quantos golos marcados: ')) if golos.isnumeric(): golos = int(golos) else: golos = 0 if jogador.strip() == '': ficha(gols=golos) else: ficha(jogador, golos)
def ficha(nome='desconhecido', gols=0): print(f'O jogador {nome} marcou {gols} no campeonato.') jogador = str(input('Nome do jogador: ')) golos = str(input('Quantos golos marcados: ')) if golos.isnumeric(): golos = int(golos) else: golos = 0 if jogador.strip() == '': ficha(gols=golos) else: ficha(jogador, golos)
try: x=int(input()) y=int(input()) if(x>y): print(x) else : print(y) except : # if error occurse then except will work print("Bokachoda") else : # else will run if no error occur print("All Done") finally : # finally will work if it has error or not print("D") # cant use finally and else both # but can except and finally both
try: x = int(input()) y = int(input()) if x > y: print(x) else: print(y) except: print('Bokachoda') else: print('All Done') finally: print('D')
# Copyright 2016 Ifwe 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. """ Base class and helpers for tds.views """ class Base(object): """Base class and interface for a tds.views class.""" def __init__(self, output_format): """Initialize object.""" self.output_format = output_format def generate_result(self, view_name, tds_result): """ Create something useful for the user which will be returned to the main application entry point. """ raise NotImplementedError
""" Base class and helpers for tds.views """ class Base(object): """Base class and interface for a tds.views class.""" def __init__(self, output_format): """Initialize object.""" self.output_format = output_format def generate_result(self, view_name, tds_result): """ Create something useful for the user which will be returned to the main application entry point. """ raise NotImplementedError
# # PySNMP MIB module CASA-802-TAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CASA-802-TAP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:29:27 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint") casa, = mibBuilder.importSymbols("CASA-MIB", "casa") pktcEScTapMediationContentId, = mibBuilder.importSymbols("PKTC-ES-TAP-MIB", "pktcEScTapMediationContentId") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, iso, Gauge32, Counter32, Integer32, Counter64, NotificationType, MibIdentifier, ObjectIdentity, ModuleIdentity, Bits, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "iso", "Gauge32", "Counter32", "Integer32", "Counter64", "NotificationType", "MibIdentifier", "ObjectIdentity", "ModuleIdentity", "Bits", "Unsigned32") DisplayString, RowStatus, TextualConvention, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "MacAddress") casaMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10)) casa802TapMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 20858, 10, 19)) casa802TapMIB.setRevisions(('2008-11-19 11:11',)) if mibBuilder.loadTexts: casa802TapMIB.setLastUpdated('200811191111Z') if mibBuilder.loadTexts: casa802TapMIB.setOrganization('Casa Systems, Inc.') casa802TapMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 0)) casa802TapMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1)) casa802TapMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2)) casa802tapStreamEncodePacket = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1)) casa802tapStreamCapabilities = MibScalar((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 1), Bits().clone(namedValues=NamedValues(("tapEnable", 0), ("interface", 1), ("dstMacAddr", 2), ("srcMacAddr", 3), ("ethernetPid", 4), ("dstLlcSap", 5), ("srcLlcSap", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: casa802tapStreamCapabilities.setStatus('current') casa802tapStreamTable = MibTable((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2), ) if mibBuilder.loadTexts: casa802tapStreamTable.setStatus('current') casa802tapStreamEntry = MibTableRow((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1), ).setIndexNames((0, "PKTC-ES-TAP-MIB", "pktcEScTapMediationContentId"), (0, "CASA-802-TAP-MIB", "casa802tapStreamIndex")) if mibBuilder.loadTexts: casa802tapStreamEntry.setStatus('current') casa802tapStreamIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: casa802tapStreamIndex.setStatus('current') casa802tapStreamFields = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 2), Bits().clone(namedValues=NamedValues(("interface", 0), ("dstMacAddress", 1), ("srcMacAddress", 2), ("ethernetPid", 3), ("dstLlcSap", 4), ("srcLlcSap", 5)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamFields.setStatus('current') casa802tapStreamInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 2147483647), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamInterface.setStatus('current') casa802tapStreamDestinationAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 4), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamDestinationAddress.setStatus('current') casa802tapStreamSourceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 5), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamSourceAddress.setStatus('current') casa802tapStreamEthernetPid = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamEthernetPid.setStatus('current') casa802tapStreamDestinationLlcSap = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 7), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamDestinationLlcSap.setStatus('current') casa802tapStreamSourceLlcSap = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 8), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamSourceLlcSap.setStatus('current') casa802tapStreamInterceptEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamInterceptEnable.setStatus('current') casa802tapStreamStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: casa802tapStreamStatus.setStatus('current') casa802TapMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 1)) casa802TapMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 2)) casa802TapMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 1, 1)).setObjects(("CASA-802-TAP-MIB", "casa802TapStreamGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): casa802TapMIBCompliance = casa802TapMIBCompliance.setStatus('current') casa802TapStreamGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 2, 1)).setObjects(("CASA-802-TAP-MIB", "casa802tapStreamCapabilities"), ("CASA-802-TAP-MIB", "casa802tapStreamFields"), ("CASA-802-TAP-MIB", "casa802tapStreamInterface"), ("CASA-802-TAP-MIB", "casa802tapStreamDestinationAddress"), ("CASA-802-TAP-MIB", "casa802tapStreamSourceAddress"), ("CASA-802-TAP-MIB", "casa802tapStreamEthernetPid"), ("CASA-802-TAP-MIB", "casa802tapStreamSourceLlcSap"), ("CASA-802-TAP-MIB", "casa802tapStreamDestinationLlcSap"), ("CASA-802-TAP-MIB", "casa802tapStreamStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): casa802TapStreamGroup = casa802TapStreamGroup.setStatus('current') mibBuilder.exportSymbols("CASA-802-TAP-MIB", casa802TapMIBCompliances=casa802TapMIBCompliances, casa802TapMIBConform=casa802TapMIBConform, casa802tapStreamDestinationLlcSap=casa802tapStreamDestinationLlcSap, casa802TapMIBGroups=casa802TapMIBGroups, casa802TapMIBCompliance=casa802TapMIBCompliance, casa802tapStreamEthernetPid=casa802tapStreamEthernetPid, casa802tapStreamDestinationAddress=casa802tapStreamDestinationAddress, casa802tapStreamTable=casa802tapStreamTable, casa802tapStreamStatus=casa802tapStreamStatus, casa802tapStreamFields=casa802tapStreamFields, casa802TapMIBNotifs=casa802TapMIBNotifs, casa802tapStreamCapabilities=casa802tapStreamCapabilities, casa802tapStreamIndex=casa802tapStreamIndex, casa802TapStreamGroup=casa802TapStreamGroup, casa802tapStreamSourceAddress=casa802tapStreamSourceAddress, casa802tapStreamEncodePacket=casa802tapStreamEncodePacket, casa802tapStreamSourceLlcSap=casa802tapStreamSourceLlcSap, casa802tapStreamInterceptEnable=casa802tapStreamInterceptEnable, casa802tapStreamInterface=casa802tapStreamInterface, casa802TapMIBObjects=casa802TapMIBObjects, PYSNMP_MODULE_ID=casa802TapMIB, casaMgmt=casaMgmt, casa802tapStreamEntry=casa802tapStreamEntry, casa802TapMIB=casa802TapMIB)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, value_range_constraint, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint') (casa,) = mibBuilder.importSymbols('CASA-MIB', 'casa') (pktc_e_sc_tap_mediation_content_id,) = mibBuilder.importSymbols('PKTC-ES-TAP-MIB', 'pktcEScTapMediationContentId') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, iso, gauge32, counter32, integer32, counter64, notification_type, mib_identifier, object_identity, module_identity, bits, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'iso', 'Gauge32', 'Counter32', 'Integer32', 'Counter64', 'NotificationType', 'MibIdentifier', 'ObjectIdentity', 'ModuleIdentity', 'Bits', 'Unsigned32') (display_string, row_status, textual_convention, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'RowStatus', 'TextualConvention', 'MacAddress') casa_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10)) casa802_tap_mib = module_identity((1, 3, 6, 1, 4, 1, 20858, 10, 19)) casa802TapMIB.setRevisions(('2008-11-19 11:11',)) if mibBuilder.loadTexts: casa802TapMIB.setLastUpdated('200811191111Z') if mibBuilder.loadTexts: casa802TapMIB.setOrganization('Casa Systems, Inc.') casa802_tap_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 0)) casa802_tap_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1)) casa802_tap_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2)) casa802tap_stream_encode_packet = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1)) casa802tap_stream_capabilities = mib_scalar((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 1), bits().clone(namedValues=named_values(('tapEnable', 0), ('interface', 1), ('dstMacAddr', 2), ('srcMacAddr', 3), ('ethernetPid', 4), ('dstLlcSap', 5), ('srcLlcSap', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: casa802tapStreamCapabilities.setStatus('current') casa802tap_stream_table = mib_table((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2)) if mibBuilder.loadTexts: casa802tapStreamTable.setStatus('current') casa802tap_stream_entry = mib_table_row((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1)).setIndexNames((0, 'PKTC-ES-TAP-MIB', 'pktcEScTapMediationContentId'), (0, 'CASA-802-TAP-MIB', 'casa802tapStreamIndex')) if mibBuilder.loadTexts: casa802tapStreamEntry.setStatus('current') casa802tap_stream_index = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: casa802tapStreamIndex.setStatus('current') casa802tap_stream_fields = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 2), bits().clone(namedValues=named_values(('interface', 0), ('dstMacAddress', 1), ('srcMacAddress', 2), ('ethernetPid', 3), ('dstLlcSap', 4), ('srcLlcSap', 5)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamFields.setStatus('current') casa802tap_stream_interface = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 0), value_range_constraint(1, 2147483647)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamInterface.setStatus('current') casa802tap_stream_destination_address = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 4), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamDestinationAddress.setStatus('current') casa802tap_stream_source_address = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 5), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamSourceAddress.setStatus('current') casa802tap_stream_ethernet_pid = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 6), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamEthernetPid.setStatus('current') casa802tap_stream_destination_llc_sap = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 7), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamDestinationLlcSap.setStatus('current') casa802tap_stream_source_llc_sap = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 8), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamSourceLlcSap.setStatus('current') casa802tap_stream_intercept_enable = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamInterceptEnable.setStatus('current') casa802tap_stream_status = mib_table_column((1, 3, 6, 1, 4, 1, 20858, 10, 19, 1, 1, 2, 1, 10), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: casa802tapStreamStatus.setStatus('current') casa802_tap_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 1)) casa802_tap_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 2)) casa802_tap_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 1, 1)).setObjects(('CASA-802-TAP-MIB', 'casa802TapStreamGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): casa802_tap_mib_compliance = casa802TapMIBCompliance.setStatus('current') casa802_tap_stream_group = object_group((1, 3, 6, 1, 4, 1, 20858, 10, 19, 2, 2, 1)).setObjects(('CASA-802-TAP-MIB', 'casa802tapStreamCapabilities'), ('CASA-802-TAP-MIB', 'casa802tapStreamFields'), ('CASA-802-TAP-MIB', 'casa802tapStreamInterface'), ('CASA-802-TAP-MIB', 'casa802tapStreamDestinationAddress'), ('CASA-802-TAP-MIB', 'casa802tapStreamSourceAddress'), ('CASA-802-TAP-MIB', 'casa802tapStreamEthernetPid'), ('CASA-802-TAP-MIB', 'casa802tapStreamSourceLlcSap'), ('CASA-802-TAP-MIB', 'casa802tapStreamDestinationLlcSap'), ('CASA-802-TAP-MIB', 'casa802tapStreamStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): casa802_tap_stream_group = casa802TapStreamGroup.setStatus('current') mibBuilder.exportSymbols('CASA-802-TAP-MIB', casa802TapMIBCompliances=casa802TapMIBCompliances, casa802TapMIBConform=casa802TapMIBConform, casa802tapStreamDestinationLlcSap=casa802tapStreamDestinationLlcSap, casa802TapMIBGroups=casa802TapMIBGroups, casa802TapMIBCompliance=casa802TapMIBCompliance, casa802tapStreamEthernetPid=casa802tapStreamEthernetPid, casa802tapStreamDestinationAddress=casa802tapStreamDestinationAddress, casa802tapStreamTable=casa802tapStreamTable, casa802tapStreamStatus=casa802tapStreamStatus, casa802tapStreamFields=casa802tapStreamFields, casa802TapMIBNotifs=casa802TapMIBNotifs, casa802tapStreamCapabilities=casa802tapStreamCapabilities, casa802tapStreamIndex=casa802tapStreamIndex, casa802TapStreamGroup=casa802TapStreamGroup, casa802tapStreamSourceAddress=casa802tapStreamSourceAddress, casa802tapStreamEncodePacket=casa802tapStreamEncodePacket, casa802tapStreamSourceLlcSap=casa802tapStreamSourceLlcSap, casa802tapStreamInterceptEnable=casa802tapStreamInterceptEnable, casa802tapStreamInterface=casa802tapStreamInterface, casa802TapMIBObjects=casa802TapMIBObjects, PYSNMP_MODULE_ID=casa802TapMIB, casaMgmt=casaMgmt, casa802tapStreamEntry=casa802tapStreamEntry, casa802TapMIB=casa802TapMIB)
# # PySNMP MIB module DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:09:52 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ( ObjectIdentifier, Integer, OctetString, ) = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint") ( docsDevEvLevel, docsDevServerTime, docsDevSwServer, docsDevEvText, docsDevSwFilename, docsDevServerDhcp, docsDevEvId, ) = mibBuilder.importSymbols("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel", "docsDevServerTime", "docsDevSwServer", "docsDevEvText", "docsDevSwFilename", "docsDevServerDhcp", "docsDevEvId") ( docsIfCmStatusModulationType, docsIfCmStatusDocsisOperMode, docsIfCmtsCmStatusMacAddress, docsIfCmtsCmStatusDocsisRegMode, docsIfDocsisBaseCapability, docsIfCmCmtsAddress, docsIfCmtsCmStatusModulationType, ) = mibBuilder.importSymbols("DOCS-IF-MIB", "docsIfCmStatusModulationType", "docsIfCmStatusDocsisOperMode", "docsIfCmtsCmStatusMacAddress", "docsIfCmtsCmStatusDocsisRegMode", "docsIfDocsisBaseCapability", "docsIfCmCmtsAddress", "docsIfCmtsCmStatusModulationType") ( ifPhysAddress, ) = mibBuilder.importSymbols("IF-MIB", "ifPhysAddress") ( ObjectGroup, ModuleCompliance, NotificationGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") ( ModuleIdentity, MibIdentifier, Integer32, Counter64, Gauge32, IpAddress, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, ObjectIdentity, iso, TimeTicks, mib_2, Unsigned32, Counter32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "MibIdentifier", "Integer32", "Counter64", "Gauge32", "IpAddress", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "ObjectIdentity", "iso", "TimeTicks", "mib-2", "Unsigned32", "Counter32") ( DisplayString, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") docsDevNotifMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 132)).setRevisions(("2006-05-24 00:00",)) if mibBuilder.loadTexts: docsDevNotifMIB.setLastUpdated('200605240000Z') if mibBuilder.loadTexts: docsDevNotifMIB.setOrganization('IETF IP over Cable Data Network\n Working Group') if mibBuilder.loadTexts: docsDevNotifMIB.setContactInfo(' Azlina Ahmad\n Postal: Cisco Systems, Inc.\n 170 West Tasman Drive\n San Jose, CA 95134, U.S.A.\n Phone: 408 853 7927\n E-mail: azlina@cisco.com\n\n Greg Nakanishi\n Postal: Motorola\n 6450 Sequence Drive\n San Diego, CA 92121, U.S.A.\n Phone: 858 404 2366\n E-mail: gnakanishi@motorola.com\n\n IETF IPCDN Working Group\n General Discussion: ipcdn@ietf.org\n\n\n\n Subscribe: http://www.ietf.org/mailman/listinfo/ipcdn\n Archive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\n Co-chairs: Richard Woundy,\n richard_woundy@cable.comcast.com\n Jean-Francois Mule, jf.mule@cablelabs.com') if mibBuilder.loadTexts: docsDevNotifMIB.setDescription('The Event Notification MIB is an extension of the\n CABLE DEVICE MIB. It defines various notification\n objects for both cable modem and cable modem termination\n systems. Two groups of SNMP notification objects are\n defined. One group is for notifying cable modem events,\n and one group is for notifying cable modem termination\n system events.\n\n DOCSIS defines numerous events, and each event is\n assigned to a functional category. This MIB defines\n a notification object for each functional category.\n The varbinding list of each notification includes\n information about the event that occurred on the\n device.\n\n Copyright (C) The Internet Society (2006). This version\n of this MIB module is part of RFC 4547; see the RFC\n itself for full legal notices.') docsDevNotifControl = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 1)) docsDevCmNotifs = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 2, 0)) docsDevCmtsNotifs = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 3, 0)) docsDevCmNotifControl = MibScalar((1, 3, 6, 1, 2, 1, 132, 1, 1), Bits().clone(namedValues=NamedValues(("cmInitTLVUnknownNotif", 0), ("cmDynServReqFailNotif", 1), ("cmDynServRspFailNotif", 2), ("cmDynServAckFailNotif", 3), ("cmBpiInitNotif", 4), ("cmBPKMNotif", 5), ("cmDynamicSANotif", 6), ("cmDHCPFailNotif", 7), ("cmSwUpgradeInitNotif", 8), ("cmSwUpgradeFailNotif", 9), ("cmSwUpgradeSuccessNotif", 10), ("cmSwUpgradeCVCNotif", 11), ("cmTODFailNotif", 12), ("cmDCCReqFailNotif", 13), ("cmDCCRspFailNotif", 14), ("cmDCCAckFailNotif", 15),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevCmNotifControl.setDescription('The object is used to enable specific CM notifications.\n For example, if the first bit is set, then\n docsDevCmInitTLVUnknownNotif is enabled. If it is not set,\n the notification is disabled. Note that notifications are\n also under the control of the MIB modules defined in\n RFC3413.\n\n If the device is rebooted,the value of this object SHOULD\n revert to the default value.\n ') docsDevCmtsNotifControl = MibScalar((1, 3, 6, 1, 2, 1, 132, 1, 2), Bits().clone(namedValues=NamedValues(("cmtsInitRegReqFailNotif", 0), ("cmtsInitRegRspFailNotif", 1), ("cmtsInitRegAckFailNotif", 2), ("cmtsDynServReqFailNotif", 3), ("cmtsDynServRspFailNotif", 4), ("cmtsDynServAckFailNotif", 5), ("cmtsBpiInitNotif", 6), ("cmtsBPKMNotif", 7), ("cmtsDynamicSANotif", 8), ("cmtsDCCReqFailNotif", 9), ("cmtsDCCRspFailNotif", 10), ("cmtsDCCAckFailNotif", 11),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevCmtsNotifControl.setDescription('The object is used to enable specific CMTS notifications.\n For example, if the first bit is set, then\n docsDevCmtsInitRegRspFailNotif is enabled. If it is not set,\n the notification is disabled. Note that notifications are\n also under the control of the MIB modules defined in\n RFC3413.\n\n\n\n\n If the device is rebooted,the value of this object SHOULD\n revert to the default value.\n ') docsDevCmInitTLVUnknownNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 1)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmInitTLVUnknownNotif.setDescription('Notification to indicate that an unknown TLV was\n encountered during the TLV parsing process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDynServReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 2)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDynServReqFailNotif.setDescription('A notification to report the failure of a dynamic service\n request during the dynamic services process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected to (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDynServRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 3)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDynServRspFailNotif.setDescription(' A notification to report the failure of a dynamic service\n response during the dynamic services process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDynServAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 4)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDynServAckFailNotif.setDescription('A notification to report the failure of a dynamic service\n acknowledgement during the dynamic services process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmBpiInitNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 5)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmBpiInitNotif.setDescription('A notification to report the failure of a BPI\n initialization attempt during the registration process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n\n\n\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmBPKMNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 6)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmBPKMNotif.setDescription('A notification to report the failure of a Baseline\n Privacy Key Management (BPKM) operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n\n\n\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDynamicSANotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 7)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDynamicSANotif.setDescription('A notification to report the failure of a dynamic security\n association operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDHCPFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 8)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevServerDhcp"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDHCPFailNotif.setDescription('A notification to report the failure of a DHCP operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevServerDhcp: the IP address of the DHCP server.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmSwUpgradeInitNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 9)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevSwFilename"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevSwServer"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmSwUpgradeInitNotif.setDescription('A notification to indicate that a software upgrade\n has been initiated on the device.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmSwUpgradeFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 10)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevSwFilename"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevSwServer"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmSwUpgradeFailNotif.setDescription('A notification to report the failure of a software upgrade\n attempt.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevSwFilename: the software image file name\n - docsDevSwServer: the IP address of the server that\n the image is retrieved from.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmSwUpgradeSuccessNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 11)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevSwFilename"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevSwServer"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmSwUpgradeSuccessNotif.setDescription('A notification to report the software upgrade success\n status.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevSwFilename: the software image file name\n - docsDevSwServer: the IP address of the server that\n the image is retrieved from.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmSwUpgradeCVCFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 12)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmSwUpgradeCVCFailNotif.setDescription('A notification to report that the verification of the\n code file has failed during a secure software upgrade\n attempt.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmTODFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 13)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevServerTime"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmTODFailNotif.setDescription('A notification to report the failure of a time of day\n\n\n\n operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevServerTime: the IP address of the time server.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDCCReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 14)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDCCReqFailNotif.setDescription(' A notification to report the failure of a dynamic channel\n change request during the dynamic channel change process\n on the CM.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n\n\n\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDCCRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 15)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDCCRspFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change response during the dynamic channel\n change process on the CM.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n\n\n\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docsDevCmDCCAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 16)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmCmtsAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmDCCAckFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change acknowledgement during the dynamic channel\n change process on the CM.\n\n This notification sends additional information about\n the event by including the following objects in its\n\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n\n\n\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmtsCmStatusModulationType the upstream modulation\n methodology used by the CM.\n ') docsDevCmtsInitRegReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 1)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsInitRegReqFailNotif.setDescription('A notification to report the failure of a registration\n request from a CM during the CM initialization\n process that was detected on the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsInitRegRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 2)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsInitRegRspFailNotif.setDescription('A notification to report the failure of a registration\n response during the CM initialization\n process that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsInitRegAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 3)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsInitRegAckFailNotif.setDescription('A notification to report the failure of a registration\n acknowledgement from the CM during the CM\n initialization process that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDynServReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 4)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDynServReqFailNotif.setDescription('A notification to report the failure of a dynamic service\n request during the dynamic services process\n that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDynServRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 5)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDynServRspFailNotif.setDescription('A notification to report the failure of a dynamic service\n response during the dynamic services process\n that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDynServAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 6)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDynServAckFailNotif.setDescription('A notification to report the failure of a dynamic service\n acknowledgement during the dynamic services\n process that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n\n\n\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsBpiInitNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 7)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsBpiInitNotif.setDescription('A notification to report the failure of a BPI\n initialization attempt during the CM registration process\n that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n\n\n\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsBPKMNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 8)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsBPKMNotif.setDescription('A notification to report the failure of a BPKM operation\n that is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n\n\n\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDynamicSANotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 9)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDynamicSANotif.setDescription('A notification to report the failure of a dynamic security\n association operation that is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDCCReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 10)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDCCReqFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change request during the dynamic channel\n change process and is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDCCRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 11)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDCCRspFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change response during the dynamic channel\n change process and is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevCmtsDCCAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 12)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvLevel"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvId"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevEvText"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "ifPhysAddress"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsIfCmtsCmStatusModulationType"),)) if mibBuilder.loadTexts: docsDevCmtsDCCAckFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change acknowledgement during the dynamic channel\n change process and is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docsDevNotifConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 4)) docsDevNotifGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 4, 1)) docsDevNotifCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 4, 2)) docsDevCmNotifCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 132, 4, 2, 1)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmNotifControlGroup"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmNotificationGroup"),)) if mibBuilder.loadTexts: docsDevCmNotifCompliance.setDescription('The compliance statement for CM Notifications and Control.') docsDevCmNotifControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 1)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmNotifControl"),)) if mibBuilder.loadTexts: docsDevCmNotifControlGroup.setDescription('This group represents objects that allow control\n over CM Notifications.') docsDevCmNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 2)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmInitTLVUnknownNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynServReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynServRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynServAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmBpiInitNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmBPKMNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynamicSANotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDHCPFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeInitNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeSuccessNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeCVCFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmTODFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDCCReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDCCRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDCCAckFailNotif"),)) if mibBuilder.loadTexts: docsDevCmNotificationGroup.setDescription('A collection of CM notifications providing device status\n and control.') docsDevCmtsNotifCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 132, 4, 2, 2)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsNotifControlGroup"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsNotificationGroup"),)) if mibBuilder.loadTexts: docsDevCmtsNotifCompliance.setDescription('The compliance statement for DOCSIS CMTS Notification\n and Control.') docsDevCmtsNotifControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 3)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsNotifControl"),)) if mibBuilder.loadTexts: docsDevCmtsNotifControlGroup.setDescription('This group represents objects that allow control\n over CMTS Notifications.') docsDevCmtsNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 4)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsInitRegReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsInitRegRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsInitRegAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynServReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynServRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynServAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsBpiInitNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsBPKMNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynamicSANotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDCCReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDCCRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDCCAckFailNotif"),)) if mibBuilder.loadTexts: docsDevCmtsNotificationGroup.setDescription('A collection of CMTS notifications providing device\n status and control.') mibBuilder.exportSymbols("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", docsDevNotifMIB=docsDevNotifMIB, docsDevCmtsDynServReqFailNotif=docsDevCmtsDynServReqFailNotif, docsDevCmDynServReqFailNotif=docsDevCmDynServReqFailNotif, docsDevCmBPKMNotif=docsDevCmBPKMNotif, docsDevCmInitTLVUnknownNotif=docsDevCmInitTLVUnknownNotif, docsDevCmTODFailNotif=docsDevCmTODFailNotif, docsDevCmtsNotifControl=docsDevCmtsNotifControl, docsDevCmNotifControlGroup=docsDevCmNotifControlGroup, docsDevCmtsDCCAckFailNotif=docsDevCmtsDCCAckFailNotif, docsDevCmBpiInitNotif=docsDevCmBpiInitNotif, docsDevCmDHCPFailNotif=docsDevCmDHCPFailNotif, docsDevCmtsNotifs=docsDevCmtsNotifs, docsDevCmtsBpiInitNotif=docsDevCmtsBpiInitNotif, docsDevCmtsInitRegRspFailNotif=docsDevCmtsInitRegRspFailNotif, docsDevCmDCCRspFailNotif=docsDevCmDCCRspFailNotif, docsDevCmDCCAckFailNotif=docsDevCmDCCAckFailNotif, docsDevNotifConformance=docsDevNotifConformance, docsDevCmtsDCCRspFailNotif=docsDevCmtsDCCRspFailNotif, docsDevCmSwUpgradeCVCFailNotif=docsDevCmSwUpgradeCVCFailNotif, docsDevCmDynamicSANotif=docsDevCmDynamicSANotif, docsDevCmtsInitRegAckFailNotif=docsDevCmtsInitRegAckFailNotif, docsDevCmNotifCompliance=docsDevCmNotifCompliance, docsDevCmSwUpgradeInitNotif=docsDevCmSwUpgradeInitNotif, docsDevNotifGroups=docsDevNotifGroups, docsDevCmtsDynamicSANotif=docsDevCmtsDynamicSANotif, docsDevCmDynServAckFailNotif=docsDevCmDynServAckFailNotif, docsDevCmtsBPKMNotif=docsDevCmtsBPKMNotif, docsDevCmNotifs=docsDevCmNotifs, docsDevCmNotificationGroup=docsDevCmNotificationGroup, docsDevCmNotifControl=docsDevCmNotifControl, docsDevCmDynServRspFailNotif=docsDevCmDynServRspFailNotif, docsDevCmSwUpgradeSuccessNotif=docsDevCmSwUpgradeSuccessNotif, docsDevNotifControl=docsDevNotifControl, PYSNMP_MODULE_ID=docsDevNotifMIB, docsDevCmtsInitRegReqFailNotif=docsDevCmtsInitRegReqFailNotif, docsDevCmtsDCCReqFailNotif=docsDevCmtsDCCReqFailNotif, docsDevCmtsDynServRspFailNotif=docsDevCmtsDynServRspFailNotif, docsDevCmtsNotifCompliance=docsDevCmtsNotifCompliance, docsDevCmtsDynServAckFailNotif=docsDevCmtsDynServAckFailNotif, docsDevCmtsNotificationGroup=docsDevCmtsNotificationGroup, docsDevCmSwUpgradeFailNotif=docsDevCmSwUpgradeFailNotif, docsDevCmDCCReqFailNotif=docsDevCmDCCReqFailNotif, docsDevCmtsNotifControlGroup=docsDevCmtsNotifControlGroup, docsDevNotifCompliances=docsDevNotifCompliances)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_intersection, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint') (docs_dev_ev_level, docs_dev_server_time, docs_dev_sw_server, docs_dev_ev_text, docs_dev_sw_filename, docs_dev_server_dhcp, docs_dev_ev_id) = mibBuilder.importSymbols('DOCS-CABLE-DEVICE-MIB', 'docsDevEvLevel', 'docsDevServerTime', 'docsDevSwServer', 'docsDevEvText', 'docsDevSwFilename', 'docsDevServerDhcp', 'docsDevEvId') (docs_if_cm_status_modulation_type, docs_if_cm_status_docsis_oper_mode, docs_if_cmts_cm_status_mac_address, docs_if_cmts_cm_status_docsis_reg_mode, docs_if_docsis_base_capability, docs_if_cm_cmts_address, docs_if_cmts_cm_status_modulation_type) = mibBuilder.importSymbols('DOCS-IF-MIB', 'docsIfCmStatusModulationType', 'docsIfCmStatusDocsisOperMode', 'docsIfCmtsCmStatusMacAddress', 'docsIfCmtsCmStatusDocsisRegMode', 'docsIfDocsisBaseCapability', 'docsIfCmCmtsAddress', 'docsIfCmtsCmStatusModulationType') (if_phys_address,) = mibBuilder.importSymbols('IF-MIB', 'ifPhysAddress') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (module_identity, mib_identifier, integer32, counter64, gauge32, ip_address, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, object_identity, iso, time_ticks, mib_2, unsigned32, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'MibIdentifier', 'Integer32', 'Counter64', 'Gauge32', 'IpAddress', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'ObjectIdentity', 'iso', 'TimeTicks', 'mib-2', 'Unsigned32', 'Counter32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') docs_dev_notif_mib = module_identity((1, 3, 6, 1, 2, 1, 132)).setRevisions(('2006-05-24 00:00',)) if mibBuilder.loadTexts: docsDevNotifMIB.setLastUpdated('200605240000Z') if mibBuilder.loadTexts: docsDevNotifMIB.setOrganization('IETF IP over Cable Data Network\n Working Group') if mibBuilder.loadTexts: docsDevNotifMIB.setContactInfo(' Azlina Ahmad\n Postal: Cisco Systems, Inc.\n 170 West Tasman Drive\n San Jose, CA 95134, U.S.A.\n Phone: 408 853 7927\n E-mail: azlina@cisco.com\n\n Greg Nakanishi\n Postal: Motorola\n 6450 Sequence Drive\n San Diego, CA 92121, U.S.A.\n Phone: 858 404 2366\n E-mail: gnakanishi@motorola.com\n\n IETF IPCDN Working Group\n General Discussion: ipcdn@ietf.org\n\n\n\n Subscribe: http://www.ietf.org/mailman/listinfo/ipcdn\n Archive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\n Co-chairs: Richard Woundy,\n richard_woundy@cable.comcast.com\n Jean-Francois Mule, jf.mule@cablelabs.com') if mibBuilder.loadTexts: docsDevNotifMIB.setDescription('The Event Notification MIB is an extension of the\n CABLE DEVICE MIB. It defines various notification\n objects for both cable modem and cable modem termination\n systems. Two groups of SNMP notification objects are\n defined. One group is for notifying cable modem events,\n and one group is for notifying cable modem termination\n system events.\n\n DOCSIS defines numerous events, and each event is\n assigned to a functional category. This MIB defines\n a notification object for each functional category.\n The varbinding list of each notification includes\n information about the event that occurred on the\n device.\n\n Copyright (C) The Internet Society (2006). This version\n of this MIB module is part of RFC 4547; see the RFC\n itself for full legal notices.') docs_dev_notif_control = mib_identifier((1, 3, 6, 1, 2, 1, 132, 1)) docs_dev_cm_notifs = mib_identifier((1, 3, 6, 1, 2, 1, 132, 2, 0)) docs_dev_cmts_notifs = mib_identifier((1, 3, 6, 1, 2, 1, 132, 3, 0)) docs_dev_cm_notif_control = mib_scalar((1, 3, 6, 1, 2, 1, 132, 1, 1), bits().clone(namedValues=named_values(('cmInitTLVUnknownNotif', 0), ('cmDynServReqFailNotif', 1), ('cmDynServRspFailNotif', 2), ('cmDynServAckFailNotif', 3), ('cmBpiInitNotif', 4), ('cmBPKMNotif', 5), ('cmDynamicSANotif', 6), ('cmDHCPFailNotif', 7), ('cmSwUpgradeInitNotif', 8), ('cmSwUpgradeFailNotif', 9), ('cmSwUpgradeSuccessNotif', 10), ('cmSwUpgradeCVCNotif', 11), ('cmTODFailNotif', 12), ('cmDCCReqFailNotif', 13), ('cmDCCRspFailNotif', 14), ('cmDCCAckFailNotif', 15)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: docsDevCmNotifControl.setDescription('The object is used to enable specific CM notifications.\n For example, if the first bit is set, then\n docsDevCmInitTLVUnknownNotif is enabled. If it is not set,\n the notification is disabled. Note that notifications are\n also under the control of the MIB modules defined in\n RFC3413.\n\n If the device is rebooted,the value of this object SHOULD\n revert to the default value.\n ') docs_dev_cmts_notif_control = mib_scalar((1, 3, 6, 1, 2, 1, 132, 1, 2), bits().clone(namedValues=named_values(('cmtsInitRegReqFailNotif', 0), ('cmtsInitRegRspFailNotif', 1), ('cmtsInitRegAckFailNotif', 2), ('cmtsDynServReqFailNotif', 3), ('cmtsDynServRspFailNotif', 4), ('cmtsDynServAckFailNotif', 5), ('cmtsBpiInitNotif', 6), ('cmtsBPKMNotif', 7), ('cmtsDynamicSANotif', 8), ('cmtsDCCReqFailNotif', 9), ('cmtsDCCRspFailNotif', 10), ('cmtsDCCAckFailNotif', 11)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: docsDevCmtsNotifControl.setDescription('The object is used to enable specific CMTS notifications.\n For example, if the first bit is set, then\n docsDevCmtsInitRegRspFailNotif is enabled. If it is not set,\n the notification is disabled. Note that notifications are\n also under the control of the MIB modules defined in\n RFC3413.\n\n\n\n\n If the device is rebooted,the value of this object SHOULD\n revert to the default value.\n ') docs_dev_cm_init_tlv_unknown_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 1)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmInitTLVUnknownNotif.setDescription('Notification to indicate that an unknown TLV was\n encountered during the TLV parsing process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dyn_serv_req_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 2)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDynServReqFailNotif.setDescription('A notification to report the failure of a dynamic service\n request during the dynamic services process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected to (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dyn_serv_rsp_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 3)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDynServRspFailNotif.setDescription(' A notification to report the failure of a dynamic service\n response during the dynamic services process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dyn_serv_ack_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 4)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDynServAckFailNotif.setDescription('A notification to report the failure of a dynamic service\n acknowledgement during the dynamic services process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_bpi_init_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 5)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmBpiInitNotif.setDescription('A notification to report the failure of a BPI\n initialization attempt during the registration process.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n\n\n\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_bpkm_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 6)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmBPKMNotif.setDescription('A notification to report the failure of a Baseline\n Privacy Key Management (BPKM) operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n\n\n\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dynamic_sa_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 7)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDynamicSANotif.setDescription('A notification to report the failure of a dynamic security\n association operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dhcp_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 8)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevServerDhcp'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDHCPFailNotif.setDescription('A notification to report the failure of a DHCP operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevServerDhcp: the IP address of the DHCP server.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_sw_upgrade_init_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 9)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevSwFilename'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevSwServer'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmSwUpgradeInitNotif.setDescription('A notification to indicate that a software upgrade\n has been initiated on the device.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_sw_upgrade_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 10)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevSwFilename'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevSwServer'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmSwUpgradeFailNotif.setDescription('A notification to report the failure of a software upgrade\n attempt.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevSwFilename: the software image file name\n - docsDevSwServer: the IP address of the server that\n the image is retrieved from.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_sw_upgrade_success_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 11)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevSwFilename'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevSwServer'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmSwUpgradeSuccessNotif.setDescription('A notification to report the software upgrade success\n status.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevSwFilename: the software image file name\n - docsDevSwServer: the IP address of the server that\n the image is retrieved from.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_sw_upgrade_cvc_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 12)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmSwUpgradeCVCFailNotif.setDescription('A notification to report that the verification of the\n code file has failed during a secure software upgrade\n attempt.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_tod_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 13)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevServerTime'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmTODFailNotif.setDescription('A notification to report the failure of a time of day\n\n\n\n operation.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsDevServerTime: the IP address of the time server.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dcc_req_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 14)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDCCReqFailNotif.setDescription(' A notification to report the failure of a dynamic channel\n change request during the dynamic channel change process\n on the CM.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n\n\n\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dcc_rsp_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 15)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDCCRspFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change response during the dynamic channel\n change process on the CM.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n\n\n\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.\n ') docs_dev_cm_dcc_ack_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 2, 0, 16)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmCmtsAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusDocsisOperMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmDCCAckFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change acknowledgement during the dynamic channel\n change process on the CM.\n\n This notification sends additional information about\n the event by including the following objects in its\n\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n - docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n\n\n\n connected).\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n - docsIfCmtsCmStatusModulationType the upstream modulation\n methodology used by the CM.\n ') docs_dev_cmts_init_reg_req_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 1)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsInitRegReqFailNotif.setDescription('A notification to report the failure of a registration\n request from a CM during the CM initialization\n process that was detected on the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_init_reg_rsp_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 2)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsInitRegRspFailNotif.setDescription('A notification to report the failure of a registration\n response during the CM initialization\n process that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_init_reg_ack_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 3)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsInitRegAckFailNotif.setDescription('A notification to report the failure of a registration\n acknowledgement from the CM during the CM\n initialization process that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dyn_serv_req_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 4)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDynServReqFailNotif.setDescription('A notification to report the failure of a dynamic service\n request during the dynamic services process\n that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dyn_serv_rsp_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 5)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDynServRspFailNotif.setDescription('A notification to report the failure of a dynamic service\n response during the dynamic services process\n that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dyn_serv_ack_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 6)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDynServAckFailNotif.setDescription('A notification to report the failure of a dynamic service\n acknowledgement during the dynamic services\n process that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n\n\n\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_bpi_init_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 7)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsBpiInitNotif.setDescription('A notification to report the failure of a BPI\n initialization attempt during the CM registration process\n that was detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n\n\n\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_bpkm_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 8)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsBPKMNotif.setDescription('A notification to report the failure of a BPKM operation\n that is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n\n\n\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dynamic_sa_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 9)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDynamicSANotif.setDescription('A notification to report the failure of a dynamic security\n association operation that is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dcc_req_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 10)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDCCReqFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change request during the dynamic channel\n change process and is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dcc_rsp_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 11)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDCCRspFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change response during the dynamic channel\n change process and is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_cmts_dcc_ack_fail_notif = notification_type((1, 3, 6, 1, 2, 1, 132, 3, 0, 12)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvLevel'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvId'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevEvText'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusMacAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'ifPhysAddress'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusDocsisRegMode'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfDocsisBaseCapability'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsIfCmtsCmStatusModulationType'))) if mibBuilder.loadTexts: docsDevCmtsDCCAckFailNotif.setDescription('A notification to report the failure of a dynamic channel\n change acknowledgement during the dynamic channel\n change process and is detected by the CMTS.\n\n This notification sends additional information about\n the event by including the following objects in its\n varbinding list.\n - docsDevEvLevel: the priority level associated with the\n event.\n - docsDevEvId: the unique identifier of the event that\n occurred.\n - docsDevEvText: a textual description of the event.\n - docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n - ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n - docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n - docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n - docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.\n ') docs_dev_notif_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 132, 4)) docs_dev_notif_groups = mib_identifier((1, 3, 6, 1, 2, 1, 132, 4, 1)) docs_dev_notif_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 132, 4, 2)) docs_dev_cm_notif_compliance = module_compliance((1, 3, 6, 1, 2, 1, 132, 4, 2, 1)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmNotifControlGroup'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmNotificationGroup'))) if mibBuilder.loadTexts: docsDevCmNotifCompliance.setDescription('The compliance statement for CM Notifications and Control.') docs_dev_cm_notif_control_group = object_group((1, 3, 6, 1, 2, 1, 132, 4, 1, 1)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmNotifControl'),)) if mibBuilder.loadTexts: docsDevCmNotifControlGroup.setDescription('This group represents objects that allow control\n over CM Notifications.') docs_dev_cm_notification_group = notification_group((1, 3, 6, 1, 2, 1, 132, 4, 1, 2)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmInitTLVUnknownNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDynServReqFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDynServRspFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDynServAckFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmBpiInitNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmBPKMNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDynamicSANotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDHCPFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmSwUpgradeInitNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmSwUpgradeFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmSwUpgradeSuccessNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmSwUpgradeCVCFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmTODFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDCCReqFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDCCRspFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmDCCAckFailNotif'))) if mibBuilder.loadTexts: docsDevCmNotificationGroup.setDescription('A collection of CM notifications providing device status\n and control.') docs_dev_cmts_notif_compliance = module_compliance((1, 3, 6, 1, 2, 1, 132, 4, 2, 2)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsNotifControlGroup'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsNotificationGroup'))) if mibBuilder.loadTexts: docsDevCmtsNotifCompliance.setDescription('The compliance statement for DOCSIS CMTS Notification\n and Control.') docs_dev_cmts_notif_control_group = object_group((1, 3, 6, 1, 2, 1, 132, 4, 1, 3)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsNotifControl'),)) if mibBuilder.loadTexts: docsDevCmtsNotifControlGroup.setDescription('This group represents objects that allow control\n over CMTS Notifications.') docs_dev_cmts_notification_group = notification_group((1, 3, 6, 1, 2, 1, 132, 4, 1, 4)).setObjects(*(('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsInitRegReqFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsInitRegRspFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsInitRegAckFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDynServReqFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDynServRspFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDynServAckFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsBpiInitNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsBPKMNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDynamicSANotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDCCReqFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDCCRspFailNotif'), ('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', 'docsDevCmtsDCCAckFailNotif'))) if mibBuilder.loadTexts: docsDevCmtsNotificationGroup.setDescription('A collection of CMTS notifications providing device\n status and control.') mibBuilder.exportSymbols('DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB', docsDevNotifMIB=docsDevNotifMIB, docsDevCmtsDynServReqFailNotif=docsDevCmtsDynServReqFailNotif, docsDevCmDynServReqFailNotif=docsDevCmDynServReqFailNotif, docsDevCmBPKMNotif=docsDevCmBPKMNotif, docsDevCmInitTLVUnknownNotif=docsDevCmInitTLVUnknownNotif, docsDevCmTODFailNotif=docsDevCmTODFailNotif, docsDevCmtsNotifControl=docsDevCmtsNotifControl, docsDevCmNotifControlGroup=docsDevCmNotifControlGroup, docsDevCmtsDCCAckFailNotif=docsDevCmtsDCCAckFailNotif, docsDevCmBpiInitNotif=docsDevCmBpiInitNotif, docsDevCmDHCPFailNotif=docsDevCmDHCPFailNotif, docsDevCmtsNotifs=docsDevCmtsNotifs, docsDevCmtsBpiInitNotif=docsDevCmtsBpiInitNotif, docsDevCmtsInitRegRspFailNotif=docsDevCmtsInitRegRspFailNotif, docsDevCmDCCRspFailNotif=docsDevCmDCCRspFailNotif, docsDevCmDCCAckFailNotif=docsDevCmDCCAckFailNotif, docsDevNotifConformance=docsDevNotifConformance, docsDevCmtsDCCRspFailNotif=docsDevCmtsDCCRspFailNotif, docsDevCmSwUpgradeCVCFailNotif=docsDevCmSwUpgradeCVCFailNotif, docsDevCmDynamicSANotif=docsDevCmDynamicSANotif, docsDevCmtsInitRegAckFailNotif=docsDevCmtsInitRegAckFailNotif, docsDevCmNotifCompliance=docsDevCmNotifCompliance, docsDevCmSwUpgradeInitNotif=docsDevCmSwUpgradeInitNotif, docsDevNotifGroups=docsDevNotifGroups, docsDevCmtsDynamicSANotif=docsDevCmtsDynamicSANotif, docsDevCmDynServAckFailNotif=docsDevCmDynServAckFailNotif, docsDevCmtsBPKMNotif=docsDevCmtsBPKMNotif, docsDevCmNotifs=docsDevCmNotifs, docsDevCmNotificationGroup=docsDevCmNotificationGroup, docsDevCmNotifControl=docsDevCmNotifControl, docsDevCmDynServRspFailNotif=docsDevCmDynServRspFailNotif, docsDevCmSwUpgradeSuccessNotif=docsDevCmSwUpgradeSuccessNotif, docsDevNotifControl=docsDevNotifControl, PYSNMP_MODULE_ID=docsDevNotifMIB, docsDevCmtsInitRegReqFailNotif=docsDevCmtsInitRegReqFailNotif, docsDevCmtsDCCReqFailNotif=docsDevCmtsDCCReqFailNotif, docsDevCmtsDynServRspFailNotif=docsDevCmtsDynServRspFailNotif, docsDevCmtsNotifCompliance=docsDevCmtsNotifCompliance, docsDevCmtsDynServAckFailNotif=docsDevCmtsDynServAckFailNotif, docsDevCmtsNotificationGroup=docsDevCmtsNotificationGroup, docsDevCmSwUpgradeFailNotif=docsDevCmSwUpgradeFailNotif, docsDevCmDCCReqFailNotif=docsDevCmDCCReqFailNotif, docsDevCmtsNotifControlGroup=docsDevCmtsNotifControlGroup, docsDevNotifCompliances=docsDevNotifCompliances)
# # PySNMP MIB module MY-VLAN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MY-VLAN-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:16:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection") myMgmt, = mibBuilder.importSymbols("MY-SMI", "myMgmt") ConfigStatus, IfIndex, MemberMap = mibBuilder.importSymbols("MY-TC", "ConfigStatus", "IfIndex", "MemberMap") EnabledStatus, = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus") VlanId, PortList = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanId", "PortList") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") ModuleIdentity, Gauge32, Counter64, NotificationType, Integer32, MibIdentifier, iso, Counter32, Bits, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Unsigned32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "Gauge32", "Counter64", "NotificationType", "Integer32", "MibIdentifier", "iso", "Counter32", "Bits", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Unsigned32", "IpAddress") RowStatus, DisplayString, MacAddress, TruthValue, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "MacAddress", "TruthValue", "TextualConvention") myVlanMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9)) myVlanMIB.setRevisions(('2002-03-20 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: myVlanMIB.setRevisionsDescriptions(('Initial version of this MIB module.',)) if mibBuilder.loadTexts: myVlanMIB.setLastUpdated('200203200000Z') if mibBuilder.loadTexts: myVlanMIB.setOrganization('D-Link Crop.') if mibBuilder.loadTexts: myVlanMIB.setContactInfo(' http://support.dlink.com') if mibBuilder.loadTexts: myVlanMIB.setDescription('This module defines my vlan mibs.') myVlanMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1)) class VlanList(TextualConvention, OctetString): description = "Each octet within this value specifies a set of eight vlans, with the first octet specifying vlans 1 through 8, the second octet specifying vlans 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered vlan, and the least significant bit represents the highest numbered vlan. Thus, each vlan of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1', then that vlan is included in the set of vlans; the vlan is not included if its bit has a value of '0'." status = 'current' myVlanMaxNumber = MibScalar((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanMaxNumber.setStatus('current') if mibBuilder.loadTexts: myVlanMaxNumber.setDescription('Number of MAX vlans this system supported.') myVlanCurrentNumber = MibScalar((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanCurrentNumber.setStatus('current') if mibBuilder.loadTexts: myVlanCurrentNumber.setDescription('Number of current vlans this system have.') mySystemMaxVID = MibScalar((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mySystemMaxVID.setStatus('current') if mibBuilder.loadTexts: mySystemMaxVID.setDescription('Max vlans of VID this system supported.') myVlanIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4), ) if mibBuilder.loadTexts: myVlanIfConfigTable.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfConfigTable.setDescription('vlan table.') myVlanIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1), ).setIndexNames((0, "MY-VLAN-MIB", "myVlanIfConfigIfIndex")) if mibBuilder.loadTexts: myVlanIfConfigEntry.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfConfigEntry.setDescription("list of vlan and it's port group table.") myVlanIfConfigIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 1), IfIndex()) if mibBuilder.loadTexts: myVlanIfConfigIfIndex.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfConfigIfIndex.setDescription(' ') myVlanIfAccessVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 2), VlanId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanIfAccessVlan.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfAccessVlan.setDescription('The value indicate the VID of the vlan which that this port belong to. This field is effective for only access port.') myVlanIfNativeVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 3), VlanId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanIfNativeVlan.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfNativeVlan.setDescription('The value indicate the VID of the native vlan of that this port . This field is effective for only trunk port.') myVlanIfAllowedVlanList = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(512, 512)).setFixedLength(512)).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanIfAllowedVlanList.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfAllowedVlanList.setDescription('Each bit in every octet in octet string assigned to a vlan, the value of the bit indicates that if the vlan is belong to allowed vlan list of this interface. It indicates that assigned vlan is member of allowed vlan list of this interface if value of the bit is 1. The lowest bit of first byte correspond to vlan 1 and the lowest bit of second byte correspond to vlan 9 vlan. This field is effective for only trunk port.') myVlanTable = MibTable((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5), ) if mibBuilder.loadTexts: myVlanTable.setStatus('obsolete') if mibBuilder.loadTexts: myVlanTable.setDescription('vlan table.') myVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1), ).setIndexNames((0, "MY-VLAN-MIB", "myVlanVID")) if mibBuilder.loadTexts: myVlanEntry.setStatus('obsolete') if mibBuilder.loadTexts: myVlanEntry.setDescription("list of vlan and it's distribution table.") myVlanVID = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 1), VlanId()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanVID.setStatus('obsolete') if mibBuilder.loadTexts: myVlanVID.setDescription('VID of vlan .') myVlanPortMemberAction = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 2), MemberMap()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanPortMemberAction.setStatus('obsolete') if mibBuilder.loadTexts: myVlanPortMemberAction.setDescription("Each octet in member map assigned to a physical port, the value of the octect indicates the action of a physical port in the vlan. Drop(1) indicate that the vlan doesn't include this physical port, Add(2) indicate that the vlan include this physical port.") myVlanApMemberAction = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 3), MemberMap()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanApMemberAction.setStatus('obsolete') if mibBuilder.loadTexts: myVlanApMemberAction.setDescription("Each octet in member map assigned to a aggreate port, the value of the octect indicates the action of a aggreate port in the vlan. Drop(1) indicate that the vlan doesn't include this physical port, Add(2) indicate that the vlan include this physical port.") myVlanAlias = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanAlias.setStatus('obsolete') if mibBuilder.loadTexts: myVlanAlias.setDescription("Vlan's alias .") myVlanEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 5), ConfigStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: myVlanEntryStatus.setStatus('obsolete') if mibBuilder.loadTexts: myVlanEntryStatus.setDescription('Status of this entry, set this object to valid will creat a vlan of this entry, and set its value to invalid will delete the vlan of this entry.') myVlanPortConfigTable = MibTable((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6), ) if mibBuilder.loadTexts: myVlanPortConfigTable.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigTable.setDescription('The table of VLAN members.') myVlanPortConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1), ).setIndexNames((0, "MY-VLAN-MIB", "myVlanPortConfigIndex")) if mibBuilder.loadTexts: myVlanPortConfigEntry.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigEntry.setDescription('list of ports.') myVlanPortConfigIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 1), IfIndex()) if mibBuilder.loadTexts: myVlanPortConfigIndex.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigIndex.setDescription('port index') myVlanPortConfigMode = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("access", 1), ("trunk", 2), ("dot1q-tunnel", 3), ("hybrid", 4), ("other", 5), ("uplink", 6), ("host", 7), ("promiscuous", 8)))).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanPortConfigMode.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigMode.setDescription('Port mode, indicates that port is an access(1), trunk(2), dot1q-tunnel(3), hybrid(4), other(5), uplink(6), host(7) or promiscuous(8) port.') myVlanPortAccessVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 3), VlanId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanPortAccessVlan.setStatus('current') if mibBuilder.loadTexts: myVlanPortAccessVlan.setDescription('The value indicate the VID of the vlan which that this port belong to. This field is effective for only access port.') myVlanPortNativeVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 4), VlanId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanPortNativeVlan.setStatus('current') if mibBuilder.loadTexts: myVlanPortNativeVlan.setDescription('The value indicate the VID of the native vlan of that this port . This field is effective for only trunk,hybrid,uplink and dot1q_tunnel port.') myVlanPortAllowedVlanList = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 5), VlanList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanPortAllowedVlanList.setStatus('current') if mibBuilder.loadTexts: myVlanPortAllowedVlanList.setDescription("Each octet within this value specifies a set of eight vlans, with the first octet specifying vlans 0 through 7, the second octet specifying vlans 8 through 15, etc. Within each octet, the most significant bit represents the lowest numbered vlan, and the least significant bit represents the highest numbered vlan. Thus, each vlan of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1', then that vlan is included in the set of vlans; the vlan is not included if its bit has a value of '0'") myVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7), ) if mibBuilder.loadTexts: myVlanConfigTable.setStatus('current') if mibBuilder.loadTexts: myVlanConfigTable.setDescription('vlan table.') myVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1), ).setIndexNames((0, "MY-VLAN-MIB", "myVlanConfigVID")) if mibBuilder.loadTexts: myVlanConfigEntry.setStatus('current') if mibBuilder.loadTexts: myVlanConfigEntry.setDescription("list of vlan and it's distribution table.") myVlanConfigVID = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 1), VlanId()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanConfigVID.setStatus('current') if mibBuilder.loadTexts: myVlanConfigVID.setDescription('VID of vlan .') myVlanConfigAction = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanConfigAction.setStatus('current') if mibBuilder.loadTexts: myVlanConfigAction.setDescription('The value 1 to create a vlan, 0 to delete a vlan.') myVlanConfigName = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: myVlanConfigName.setStatus('current') if mibBuilder.loadTexts: myVlanConfigName.setDescription('vlan name.') myVlanConfigPortMember = MibTableColumn((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: myVlanConfigPortMember.setStatus('current') if mibBuilder.loadTexts: myVlanConfigPortMember.setDescription("Each octet within this value specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1', then that port is included in the set of ports; the port is not included if its bit has a value of '0'.") myVlanMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2)) myVlanMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 1)) myVlanMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 2)) myVlanMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 1, 1)).setObjects(("MY-VLAN-MIB", "myVlanMIBGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): myVlanMIBCompliance = myVlanMIBCompliance.setStatus('current') if mibBuilder.loadTexts: myVlanMIBCompliance.setDescription('The compliance statement for entities which implement the My Vlan MIB') myVlanMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 2, 1)).setObjects(("MY-VLAN-MIB", "myVlanMaxNumber"), ("MY-VLAN-MIB", "myVlanCurrentNumber"), ("MY-VLAN-MIB", "mySystemMaxVID"), ("MY-VLAN-MIB", "myVlanIfAccessVlan"), ("MY-VLAN-MIB", "myVlanIfNativeVlan"), ("MY-VLAN-MIB", "myVlanIfAllowedVlanList"), ("MY-VLAN-MIB", "myVlanVID"), ("MY-VLAN-MIB", "myVlanApMemberAction"), ("MY-VLAN-MIB", "myVlanPortMemberAction"), ("MY-VLAN-MIB", "myVlanAlias"), ("MY-VLAN-MIB", "myVlanEntryStatus"), ("MY-VLAN-MIB", "myVlanPortConfigMode"), ("MY-VLAN-MIB", "myVlanPortAccessVlan"), ("MY-VLAN-MIB", "myVlanPortNativeVlan"), ("MY-VLAN-MIB", "myVlanPortAllowedVlanList"), ("MY-VLAN-MIB", "myVlanConfigVID"), ("MY-VLAN-MIB", "myVlanConfigAction"), ("MY-VLAN-MIB", "myVlanConfigName"), ("MY-VLAN-MIB", "myVlanConfigPortMember")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): myVlanMIBGroup = myVlanMIBGroup.setStatus('current') if mibBuilder.loadTexts: myVlanMIBGroup.setDescription('A collection of objects providing vlan configure .') mibBuilder.exportSymbols("MY-VLAN-MIB", mySystemMaxVID=mySystemMaxVID, myVlanIfAllowedVlanList=myVlanIfAllowedVlanList, myVlanIfAccessVlan=myVlanIfAccessVlan, myVlanVID=myVlanVID, VlanList=VlanList, myVlanConfigTable=myVlanConfigTable, myVlanPortNativeVlan=myVlanPortNativeVlan, myVlanMIBGroup=myVlanMIBGroup, myVlanMaxNumber=myVlanMaxNumber, myVlanTable=myVlanTable, myVlanPortConfigTable=myVlanPortConfigTable, myVlanPortConfigIndex=myVlanPortConfigIndex, myVlanCurrentNumber=myVlanCurrentNumber, myVlanConfigName=myVlanConfigName, myVlanEntry=myVlanEntry, myVlanAlias=myVlanAlias, myVlanPortMemberAction=myVlanPortMemberAction, myVlanApMemberAction=myVlanApMemberAction, myVlanConfigPortMember=myVlanConfigPortMember, myVlanMIBConformance=myVlanMIBConformance, myVlanConfigAction=myVlanConfigAction, myVlanIfNativeVlan=myVlanIfNativeVlan, myVlanMIBObjects=myVlanMIBObjects, myVlanMIBCompliances=myVlanMIBCompliances, myVlanPortConfigMode=myVlanPortConfigMode, myVlanConfigEntry=myVlanConfigEntry, myVlanConfigVID=myVlanConfigVID, PYSNMP_MODULE_ID=myVlanMIB, myVlanIfConfigTable=myVlanIfConfigTable, myVlanPortAllowedVlanList=myVlanPortAllowedVlanList, myVlanMIBGroups=myVlanMIBGroups, myVlanIfConfigIfIndex=myVlanIfConfigIfIndex, myVlanMIBCompliance=myVlanMIBCompliance, myVlanEntryStatus=myVlanEntryStatus, myVlanIfConfigEntry=myVlanIfConfigEntry, myVlanPortAccessVlan=myVlanPortAccessVlan, myVlanMIB=myVlanMIB, myVlanPortConfigEntry=myVlanPortConfigEntry)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_union, single_value_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection') (my_mgmt,) = mibBuilder.importSymbols('MY-SMI', 'myMgmt') (config_status, if_index, member_map) = mibBuilder.importSymbols('MY-TC', 'ConfigStatus', 'IfIndex', 'MemberMap') (enabled_status,) = mibBuilder.importSymbols('P-BRIDGE-MIB', 'EnabledStatus') (vlan_id, port_list) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'VlanId', 'PortList') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (module_identity, gauge32, counter64, notification_type, integer32, mib_identifier, iso, counter32, bits, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, unsigned32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'Gauge32', 'Counter64', 'NotificationType', 'Integer32', 'MibIdentifier', 'iso', 'Counter32', 'Bits', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Unsigned32', 'IpAddress') (row_status, display_string, mac_address, truth_value, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'DisplayString', 'MacAddress', 'TruthValue', 'TextualConvention') my_vlan_mib = module_identity((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9)) myVlanMIB.setRevisions(('2002-03-20 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: myVlanMIB.setRevisionsDescriptions(('Initial version of this MIB module.',)) if mibBuilder.loadTexts: myVlanMIB.setLastUpdated('200203200000Z') if mibBuilder.loadTexts: myVlanMIB.setOrganization('D-Link Crop.') if mibBuilder.loadTexts: myVlanMIB.setContactInfo(' http://support.dlink.com') if mibBuilder.loadTexts: myVlanMIB.setDescription('This module defines my vlan mibs.') my_vlan_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1)) class Vlanlist(TextualConvention, OctetString): description = "Each octet within this value specifies a set of eight vlans, with the first octet specifying vlans 1 through 8, the second octet specifying vlans 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered vlan, and the least significant bit represents the highest numbered vlan. Thus, each vlan of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1', then that vlan is included in the set of vlans; the vlan is not included if its bit has a value of '0'." status = 'current' my_vlan_max_number = mib_scalar((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanMaxNumber.setStatus('current') if mibBuilder.loadTexts: myVlanMaxNumber.setDescription('Number of MAX vlans this system supported.') my_vlan_current_number = mib_scalar((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanCurrentNumber.setStatus('current') if mibBuilder.loadTexts: myVlanCurrentNumber.setDescription('Number of current vlans this system have.') my_system_max_vid = mib_scalar((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mySystemMaxVID.setStatus('current') if mibBuilder.loadTexts: mySystemMaxVID.setDescription('Max vlans of VID this system supported.') my_vlan_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4)) if mibBuilder.loadTexts: myVlanIfConfigTable.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfConfigTable.setDescription('vlan table.') my_vlan_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1)).setIndexNames((0, 'MY-VLAN-MIB', 'myVlanIfConfigIfIndex')) if mibBuilder.loadTexts: myVlanIfConfigEntry.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfConfigEntry.setDescription("list of vlan and it's port group table.") my_vlan_if_config_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 1), if_index()) if mibBuilder.loadTexts: myVlanIfConfigIfIndex.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfConfigIfIndex.setDescription(' ') my_vlan_if_access_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 2), vlan_id()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanIfAccessVlan.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfAccessVlan.setDescription('The value indicate the VID of the vlan which that this port belong to. This field is effective for only access port.') my_vlan_if_native_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 3), vlan_id()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanIfNativeVlan.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfNativeVlan.setDescription('The value indicate the VID of the native vlan of that this port . This field is effective for only trunk port.') my_vlan_if_allowed_vlan_list = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 4, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(512, 512)).setFixedLength(512)).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanIfAllowedVlanList.setStatus('obsolete') if mibBuilder.loadTexts: myVlanIfAllowedVlanList.setDescription('Each bit in every octet in octet string assigned to a vlan, the value of the bit indicates that if the vlan is belong to allowed vlan list of this interface. It indicates that assigned vlan is member of allowed vlan list of this interface if value of the bit is 1. The lowest bit of first byte correspond to vlan 1 and the lowest bit of second byte correspond to vlan 9 vlan. This field is effective for only trunk port.') my_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5)) if mibBuilder.loadTexts: myVlanTable.setStatus('obsolete') if mibBuilder.loadTexts: myVlanTable.setDescription('vlan table.') my_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1)).setIndexNames((0, 'MY-VLAN-MIB', 'myVlanVID')) if mibBuilder.loadTexts: myVlanEntry.setStatus('obsolete') if mibBuilder.loadTexts: myVlanEntry.setDescription("list of vlan and it's distribution table.") my_vlan_vid = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 1), vlan_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanVID.setStatus('obsolete') if mibBuilder.loadTexts: myVlanVID.setDescription('VID of vlan .') my_vlan_port_member_action = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 2), member_map()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanPortMemberAction.setStatus('obsolete') if mibBuilder.loadTexts: myVlanPortMemberAction.setDescription("Each octet in member map assigned to a physical port, the value of the octect indicates the action of a physical port in the vlan. Drop(1) indicate that the vlan doesn't include this physical port, Add(2) indicate that the vlan include this physical port.") my_vlan_ap_member_action = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 3), member_map()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanApMemberAction.setStatus('obsolete') if mibBuilder.loadTexts: myVlanApMemberAction.setDescription("Each octet in member map assigned to a aggreate port, the value of the octect indicates the action of a aggreate port in the vlan. Drop(1) indicate that the vlan doesn't include this physical port, Add(2) indicate that the vlan include this physical port.") my_vlan_alias = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanAlias.setStatus('obsolete') if mibBuilder.loadTexts: myVlanAlias.setDescription("Vlan's alias .") my_vlan_entry_status = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 5, 1, 5), config_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: myVlanEntryStatus.setStatus('obsolete') if mibBuilder.loadTexts: myVlanEntryStatus.setDescription('Status of this entry, set this object to valid will creat a vlan of this entry, and set its value to invalid will delete the vlan of this entry.') my_vlan_port_config_table = mib_table((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6)) if mibBuilder.loadTexts: myVlanPortConfigTable.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigTable.setDescription('The table of VLAN members.') my_vlan_port_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1)).setIndexNames((0, 'MY-VLAN-MIB', 'myVlanPortConfigIndex')) if mibBuilder.loadTexts: myVlanPortConfigEntry.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigEntry.setDescription('list of ports.') my_vlan_port_config_index = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 1), if_index()) if mibBuilder.loadTexts: myVlanPortConfigIndex.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigIndex.setDescription('port index') my_vlan_port_config_mode = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('access', 1), ('trunk', 2), ('dot1q-tunnel', 3), ('hybrid', 4), ('other', 5), ('uplink', 6), ('host', 7), ('promiscuous', 8)))).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanPortConfigMode.setStatus('current') if mibBuilder.loadTexts: myVlanPortConfigMode.setDescription('Port mode, indicates that port is an access(1), trunk(2), dot1q-tunnel(3), hybrid(4), other(5), uplink(6), host(7) or promiscuous(8) port.') my_vlan_port_access_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 3), vlan_id()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanPortAccessVlan.setStatus('current') if mibBuilder.loadTexts: myVlanPortAccessVlan.setDescription('The value indicate the VID of the vlan which that this port belong to. This field is effective for only access port.') my_vlan_port_native_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 4), vlan_id()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanPortNativeVlan.setStatus('current') if mibBuilder.loadTexts: myVlanPortNativeVlan.setDescription('The value indicate the VID of the native vlan of that this port . This field is effective for only trunk,hybrid,uplink and dot1q_tunnel port.') my_vlan_port_allowed_vlan_list = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 6, 1, 5), vlan_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanPortAllowedVlanList.setStatus('current') if mibBuilder.loadTexts: myVlanPortAllowedVlanList.setDescription("Each octet within this value specifies a set of eight vlans, with the first octet specifying vlans 0 through 7, the second octet specifying vlans 8 through 15, etc. Within each octet, the most significant bit represents the lowest numbered vlan, and the least significant bit represents the highest numbered vlan. Thus, each vlan of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1', then that vlan is included in the set of vlans; the vlan is not included if its bit has a value of '0'") my_vlan_config_table = mib_table((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7)) if mibBuilder.loadTexts: myVlanConfigTable.setStatus('current') if mibBuilder.loadTexts: myVlanConfigTable.setDescription('vlan table.') my_vlan_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1)).setIndexNames((0, 'MY-VLAN-MIB', 'myVlanConfigVID')) if mibBuilder.loadTexts: myVlanConfigEntry.setStatus('current') if mibBuilder.loadTexts: myVlanConfigEntry.setDescription("list of vlan and it's distribution table.") my_vlan_config_vid = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 1), vlan_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanConfigVID.setStatus('current') if mibBuilder.loadTexts: myVlanConfigVID.setDescription('VID of vlan .') my_vlan_config_action = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanConfigAction.setStatus('current') if mibBuilder.loadTexts: myVlanConfigAction.setDescription('The value 1 to create a vlan, 0 to delete a vlan.') my_vlan_config_name = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: myVlanConfigName.setStatus('current') if mibBuilder.loadTexts: myVlanConfigName.setDescription('vlan name.') my_vlan_config_port_member = mib_table_column((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 1, 7, 1, 4), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: myVlanConfigPortMember.setStatus('current') if mibBuilder.loadTexts: myVlanConfigPortMember.setDescription("Each octet within this value specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1', then that port is included in the set of ports; the port is not included if its bit has a value of '0'.") my_vlan_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2)) my_vlan_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 1)) my_vlan_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 2)) my_vlan_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 1, 1)).setObjects(('MY-VLAN-MIB', 'myVlanMIBGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): my_vlan_mib_compliance = myVlanMIBCompliance.setStatus('current') if mibBuilder.loadTexts: myVlanMIBCompliance.setDescription('The compliance statement for entities which implement the My Vlan MIB') my_vlan_mib_group = object_group((1, 3, 6, 1, 4, 1, 171, 10, 97, 2, 9, 2, 2, 1)).setObjects(('MY-VLAN-MIB', 'myVlanMaxNumber'), ('MY-VLAN-MIB', 'myVlanCurrentNumber'), ('MY-VLAN-MIB', 'mySystemMaxVID'), ('MY-VLAN-MIB', 'myVlanIfAccessVlan'), ('MY-VLAN-MIB', 'myVlanIfNativeVlan'), ('MY-VLAN-MIB', 'myVlanIfAllowedVlanList'), ('MY-VLAN-MIB', 'myVlanVID'), ('MY-VLAN-MIB', 'myVlanApMemberAction'), ('MY-VLAN-MIB', 'myVlanPortMemberAction'), ('MY-VLAN-MIB', 'myVlanAlias'), ('MY-VLAN-MIB', 'myVlanEntryStatus'), ('MY-VLAN-MIB', 'myVlanPortConfigMode'), ('MY-VLAN-MIB', 'myVlanPortAccessVlan'), ('MY-VLAN-MIB', 'myVlanPortNativeVlan'), ('MY-VLAN-MIB', 'myVlanPortAllowedVlanList'), ('MY-VLAN-MIB', 'myVlanConfigVID'), ('MY-VLAN-MIB', 'myVlanConfigAction'), ('MY-VLAN-MIB', 'myVlanConfigName'), ('MY-VLAN-MIB', 'myVlanConfigPortMember')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): my_vlan_mib_group = myVlanMIBGroup.setStatus('current') if mibBuilder.loadTexts: myVlanMIBGroup.setDescription('A collection of objects providing vlan configure .') mibBuilder.exportSymbols('MY-VLAN-MIB', mySystemMaxVID=mySystemMaxVID, myVlanIfAllowedVlanList=myVlanIfAllowedVlanList, myVlanIfAccessVlan=myVlanIfAccessVlan, myVlanVID=myVlanVID, VlanList=VlanList, myVlanConfigTable=myVlanConfigTable, myVlanPortNativeVlan=myVlanPortNativeVlan, myVlanMIBGroup=myVlanMIBGroup, myVlanMaxNumber=myVlanMaxNumber, myVlanTable=myVlanTable, myVlanPortConfigTable=myVlanPortConfigTable, myVlanPortConfigIndex=myVlanPortConfigIndex, myVlanCurrentNumber=myVlanCurrentNumber, myVlanConfigName=myVlanConfigName, myVlanEntry=myVlanEntry, myVlanAlias=myVlanAlias, myVlanPortMemberAction=myVlanPortMemberAction, myVlanApMemberAction=myVlanApMemberAction, myVlanConfigPortMember=myVlanConfigPortMember, myVlanMIBConformance=myVlanMIBConformance, myVlanConfigAction=myVlanConfigAction, myVlanIfNativeVlan=myVlanIfNativeVlan, myVlanMIBObjects=myVlanMIBObjects, myVlanMIBCompliances=myVlanMIBCompliances, myVlanPortConfigMode=myVlanPortConfigMode, myVlanConfigEntry=myVlanConfigEntry, myVlanConfigVID=myVlanConfigVID, PYSNMP_MODULE_ID=myVlanMIB, myVlanIfConfigTable=myVlanIfConfigTable, myVlanPortAllowedVlanList=myVlanPortAllowedVlanList, myVlanMIBGroups=myVlanMIBGroups, myVlanIfConfigIfIndex=myVlanIfConfigIfIndex, myVlanMIBCompliance=myVlanMIBCompliance, myVlanEntryStatus=myVlanEntryStatus, myVlanIfConfigEntry=myVlanIfConfigEntry, myVlanPortAccessVlan=myVlanPortAccessVlan, myVlanMIB=myVlanMIB, myVlanPortConfigEntry=myVlanPortConfigEntry)
name, age = "ansan p", 18 username = "ansanpsam710*" print ('Hello!') print("Name: {}\nAge: {}\nUsername: {}".format(name, age, username))
(name, age) = ('ansan p', 18) username = 'ansanpsam710*' print('Hello!') print('Name: {}\nAge: {}\nUsername: {}'.format(name, age, username))
class Stack: def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, data): self.items.append(data) def pop(self): return self.items.pop() def display(self): for data in reversed(self.items): print(data) def insert_at_bottom(s, data): if s.is_empty(): s.push(data) else: popped = s.pop() insert_at_bottom(s, data) s.push(popped) def reverse_stack(s): if not s.is_empty(): popped = s.pop() reverse_stack(s) insert_at_bottom(s, popped) s = Stack() data_list = input('Please enter the elements to push: ').split() for data in data_list: s.push(int(data)) print('The stack:') s.display() reverse_stack(s) print('After reversing:') s.display()
class Stack: def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, data): self.items.append(data) def pop(self): return self.items.pop() def display(self): for data in reversed(self.items): print(data) def insert_at_bottom(s, data): if s.is_empty(): s.push(data) else: popped = s.pop() insert_at_bottom(s, data) s.push(popped) def reverse_stack(s): if not s.is_empty(): popped = s.pop() reverse_stack(s) insert_at_bottom(s, popped) s = stack() data_list = input('Please enter the elements to push: ').split() for data in data_list: s.push(int(data)) print('The stack:') s.display() reverse_stack(s) print('After reversing:') s.display()
class BotError(RuntimeError): def __init__(self, message = "An unexpected error occurred with the bot!"): self.message = message class DataError(RuntimeError): def __init__(self, message = "An unexpected error occurred when accessing/saving data!"): self.message = message
class Boterror(RuntimeError): def __init__(self, message='An unexpected error occurred with the bot!'): self.message = message class Dataerror(RuntimeError): def __init__(self, message='An unexpected error occurred when accessing/saving data!'): self.message = message
print('='*8,'Tinta para Pintar Parede','='*8) l = float(input('Qual a largura da parede em metros?')) a = float(input('Qual a altura da parede em metros?')) a2 = a*l qt = a2/2 print('''As dimensoes dessa parede sao de {}x{}. A area desta parede equivale a {} metros quadrados. Para pinta-la serao necessarios cerca de {} litros de tinta.'''.format(l,a,a2,qt))
print('=' * 8, 'Tinta para Pintar Parede', '=' * 8) l = float(input('Qual a largura da parede em metros?')) a = float(input('Qual a altura da parede em metros?')) a2 = a * l qt = a2 / 2 print('As dimensoes dessa parede sao de {}x{}.\nA area desta parede equivale a {} metros quadrados.\nPara pinta-la serao necessarios cerca de {} litros de tinta.'.format(l, a, a2, qt))
# -*- coding: utf-8 -*- """ Created on Wed Sep 2 10:24:43 2020 @author: roger luo """ def fun_add(x, y): """add numbers .. _x-y-z: Parameters ---------- x : TYPE DESCRIPTION. y : TYPE DESCRIPTION. Returns ------- None. """ return x, y def showplot(): """show plot example example ------- .. plot:: import matplotlib.pyplot as plt import numpy as np x = np.random.randn(1000) plt.hist( x, 20) plt.grid() plt.show() """ return def show_code(): """ show code .. ipython:: :okwarning: In [14]: import pandas as pd In [15]: pd.Series([1,2,3]) In [22]: x =3 In [23]: z =x^2 In [24]: pd.np.random.randn(10,2) """
""" Created on Wed Sep 2 10:24:43 2020 @author: roger luo """ def fun_add(x, y): """add numbers .. _x-y-z: Parameters ---------- x : TYPE DESCRIPTION. y : TYPE DESCRIPTION. Returns ------- None. """ return (x, y) def showplot(): """show plot example example ------- .. plot:: import matplotlib.pyplot as plt import numpy as np x = np.random.randn(1000) plt.hist( x, 20) plt.grid() plt.show() """ return def show_code(): """ show code .. ipython:: :okwarning: In [14]: import pandas as pd In [15]: pd.Series([1,2,3]) In [22]: x =3 In [23]: z =x^2 In [24]: pd.np.random.randn(10,2) """
def get_all_files_in_folder(folder, types): files_grabbed = [] for t in types: files_grabbed.extend(folder.rglob(t)) files_grabbed = sorted(files_grabbed, key=lambda x: x) return files_grabbed def yolo2voc(image_height, image_width, bboxes): """ yolo => [xmid, ymid, w, h] (normalized) voc => [x1, y1, x2, y2] """ bboxes = bboxes.copy().astype(float) # otherwise all value will be 0 as voc_pascal dtype is np.int bboxes[..., [0, 2]] = bboxes[..., [0, 2]] * image_width bboxes[..., [1, 3]] = bboxes[..., [1, 3]] * image_height bboxes[..., [0, 1]] = bboxes[..., [0, 1]] - bboxes[..., [2, 3]] / 2 bboxes[..., [2, 3]] = bboxes[..., [0, 1]] + bboxes[..., [2, 3]] return bboxes # data/augmentation/images_txt_source/ffd6378b78d84c2df418d855a3b3f7565bdb07044bac91233b6d59ba0837039c.jpg
def get_all_files_in_folder(folder, types): files_grabbed = [] for t in types: files_grabbed.extend(folder.rglob(t)) files_grabbed = sorted(files_grabbed, key=lambda x: x) return files_grabbed def yolo2voc(image_height, image_width, bboxes): """ yolo => [xmid, ymid, w, h] (normalized) voc => [x1, y1, x2, y2] """ bboxes = bboxes.copy().astype(float) bboxes[..., [0, 2]] = bboxes[..., [0, 2]] * image_width bboxes[..., [1, 3]] = bboxes[..., [1, 3]] * image_height bboxes[..., [0, 1]] = bboxes[..., [0, 1]] - bboxes[..., [2, 3]] / 2 bboxes[..., [2, 3]] = bboxes[..., [0, 1]] + bboxes[..., [2, 3]] return bboxes
# File: terraformcloud_consts.py # Copyright (c) 2020 Splunk Inc. # # Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) TERRAFORM_DEFAULT_URL = "https://app.terraform.io" TERRAFORM_BASE_API_ENDPOINT = "/api/v2" TERRAFORM_ENDPOINT_WORKSPACES = "/organizations/{organization_name}/workspaces" TERRAFORM_ENDPOINT_GET_WORKSPACE_BY_ID = "/workspaces/{id}" TERRAFORM_ENDPOINT_RUNS = "/runs" TERRAFORM_ENDPOINT_LIST_RUNS = "/workspaces/{id}/runs" TERRAFORM_ENDPOINT_ACCOUNT_DETAILS = "/account/details" TERRAFORM_ENDPOINT_APPLIES = "/applies/{id}" TERRAFORM_ENDPOINT_APPLY_RUN = "/runs/{run_id}/actions/apply" TERRAFORM_ENDPOINT_PLANS = "/plans/{id}" # exception handling ERR_CODE_MSG = "Error code unavailable" ERR_MSG_UNAVAILABLE = "Error message unavailable. Please check the asset configuration and|or action parameters" PARSE_ERR_MSG = "Unable to parse the error message. Please check the asset configuration and|or action parameters" TYPE_ERR_MSG = "Error occurred while connecting to the Terraform Cloud Server. Please check the asset configuration and|or the action parameters" # validate integer ERR_VALID_INT_MSG = "Please provide a valid integer value in the {}" ERR_NON_NEG_INT_MSG = "Please provide a valid non-negative integer value in the {}" PAGE_NUM_INT_PARAM = "'page_num' action parameter" PAGE_SIZE_INT_PARAM = "'page_size' action parameter"
terraform_default_url = 'https://app.terraform.io' terraform_base_api_endpoint = '/api/v2' terraform_endpoint_workspaces = '/organizations/{organization_name}/workspaces' terraform_endpoint_get_workspace_by_id = '/workspaces/{id}' terraform_endpoint_runs = '/runs' terraform_endpoint_list_runs = '/workspaces/{id}/runs' terraform_endpoint_account_details = '/account/details' terraform_endpoint_applies = '/applies/{id}' terraform_endpoint_apply_run = '/runs/{run_id}/actions/apply' terraform_endpoint_plans = '/plans/{id}' err_code_msg = 'Error code unavailable' err_msg_unavailable = 'Error message unavailable. Please check the asset configuration and|or action parameters' parse_err_msg = 'Unable to parse the error message. Please check the asset configuration and|or action parameters' type_err_msg = 'Error occurred while connecting to the Terraform Cloud Server. Please check the asset configuration and|or the action parameters' err_valid_int_msg = 'Please provide a valid integer value in the {}' err_non_neg_int_msg = 'Please provide a valid non-negative integer value in the {}' page_num_int_param = "'page_num' action parameter" page_size_int_param = "'page_size' action parameter"
# This problem was recently asked by Uber: # Imagine you are building a compiler. Before running any code, the compiler must check that the parentheses in the program are balanced. Every opening bracket must have a corresponding closing bracket. We can approximate this using strings. # Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. # An input string is valid if: # - Open brackets are closed by the same type of brackets. # - Open brackets are closed in the correct order. # - Note that an empty string is also considered valid. class Solution: def isValid(self, s): # Fill this in. stack = [] open_list = ["[","{","("] close_list = ["]","}",")"] for i in s: if i in open_list: stack.append(i) elif i in close_list: pos = close_list.index(i) # compare with the top of the stack if ((len(stack) > 0) and (open_list[pos] == stack[len(stack)-1])): stack.pop() else: return False if len(stack) == 0: return True else: return False # Test Program s = "()(){(())" # should return False print(Solution().isValid(s)) s = "" # should return True print(Solution().isValid(s)) s = "([{}])()" # should return True print(Solution().isValid(s))
class Solution: def is_valid(self, s): stack = [] open_list = ['[', '{', '('] close_list = [']', '}', ')'] for i in s: if i in open_list: stack.append(i) elif i in close_list: pos = close_list.index(i) if len(stack) > 0 and open_list[pos] == stack[len(stack) - 1]: stack.pop() else: return False if len(stack) == 0: return True else: return False s = '()(){(())' print(solution().isValid(s)) s = '' print(solution().isValid(s)) s = '([{}])()' print(solution().isValid(s))
# result = {"Borough Park" : [[lat1, lon1], [lat2, lon2], ...]} """ polygons = { "Borough Park" : {Lat : [], Lon : []} "East Flushing" : {Lat : [], Lon : []} "Auburndale" : {Lat : [], Lon : []} . . . "Elmhurst" : {Lat : [], Lon : []} } """ def process_coordinates(result): """ A function read the dictionary contains key: neighborhood value: list of coordinates (latitude, longitude) and reconstruct a new dictionary contains key: neighborhood value: a dictionary contains a list of latitudes and a list of longitudes. Parameter: result dictionary, contains neighborhoods and list of coordinates Return: polygon dictionary, contains neighborhoods and a list of latitudes and a list of longitudes """ polygons = {} # for neighborhood, coordinates in result.items(): for neighborhood in result.keys(): coordinates = result[neighborhood] lat_list = [] lon_list = [] for coordinate in coordinates: lat_list.append(coordinate[1]) lon_list.append(coordinate[0]) polygons[neighborhood] = {} polygons[neighborhood]["Lat"] = lat_list polygons[neighborhood]["Lon"] = lon_list return polygons
""" polygons = { "Borough Park" : {Lat : [], Lon : []} "East Flushing" : {Lat : [], Lon : []} "Auburndale" : {Lat : [], Lon : []} . . . "Elmhurst" : {Lat : [], Lon : []} } """ def process_coordinates(result): """ A function read the dictionary contains key: neighborhood value: list of coordinates (latitude, longitude) and reconstruct a new dictionary contains key: neighborhood value: a dictionary contains a list of latitudes and a list of longitudes. Parameter: result dictionary, contains neighborhoods and list of coordinates Return: polygon dictionary, contains neighborhoods and a list of latitudes and a list of longitudes """ polygons = {} for neighborhood in result.keys(): coordinates = result[neighborhood] lat_list = [] lon_list = [] for coordinate in coordinates: lat_list.append(coordinate[1]) lon_list.append(coordinate[0]) polygons[neighborhood] = {} polygons[neighborhood]['Lat'] = lat_list polygons[neighborhood]['Lon'] = lon_list return polygons
fin = open('Assignment-2-data.txt', 'r') data = fin.readlines() for n in range(len(data)): data[n] = data[n].split() fin.close() fout = open('Assignment-2-table.txt', 'w') for n in range(1, 75): fout.write(str(n) + ' & ' + data[n - 1][0] + ' & ' + data[n - 1][1] + ' & \\includegraphics[width=.3\\columnwidth]{Assignment-2-mode-' + str(n) + '-Ex.png}' + ' & \\includegraphics[width=.3\columnwidth]{Assignment-2-mode-' + str(n) + '-Ey.png} \\\\ \\hline\n') fout.close()
fin = open('Assignment-2-data.txt', 'r') data = fin.readlines() for n in range(len(data)): data[n] = data[n].split() fin.close() fout = open('Assignment-2-table.txt', 'w') for n in range(1, 75): fout.write(str(n) + ' & ' + data[n - 1][0] + ' & ' + data[n - 1][1] + ' & \\includegraphics[width=.3\\columnwidth]{Assignment-2-mode-' + str(n) + '-Ex.png}' + ' & \\includegraphics[width=.3\\columnwidth]{Assignment-2-mode-' + str(n) + '-Ey.png} \\\\ \\hline\n') fout.close()
def test_e1(): x: i32 s: str x = 0 s = 's' print(x+s)
def test_e1(): x: i32 s: str x = 0 s = 's' print(x + s)
def func(): print("func") func() # $ resolved=func class MyBase: def base_method(self): print("base_method", self) class MyClass(MyBase): def method1(self): print("method1", self) @classmethod def cls_method(cls): print("cls_method", cls) @staticmethod def static(): print("static") def method2(self): print("method2", self) self.method1() # $ resolved=method1 self.base_method() self.cls_method() # $ resolved=cls_method self.static() # $ resolved=static MyClass.cls_method() # $ resolved=cls_method MyClass.static() # $ resolved=static x = MyClass() x.base_method() x.method1() x.cls_method() x.static() x.method2()
def func(): print('func') func() class Mybase: def base_method(self): print('base_method', self) class Myclass(MyBase): def method1(self): print('method1', self) @classmethod def cls_method(cls): print('cls_method', cls) @staticmethod def static(): print('static') def method2(self): print('method2', self) self.method1() self.base_method() self.cls_method() self.static() MyClass.cls_method() MyClass.static() x = my_class() x.base_method() x.method1() x.cls_method() x.static() x.method2()
frase =[] maiuscula= '' def maiusculas(frase): maiuscula= '' for i in frase: letra = i if letra.isalpha(): letra_m = letra.upper() if letra_m == letra.upper(): if letra == letra_m: maiuscula += letra print(maiuscula) return maiuscula maiusculas('Programamos em python 2?') # deve devolver 'P' maiusculas('Programamos em Python 3.') # deve devolver 'PP' maiusculas('PrOgRaMaMoS em python!') # deve devolver 'PORMMS'
frase = [] maiuscula = '' def maiusculas(frase): maiuscula = '' for i in frase: letra = i if letra.isalpha(): letra_m = letra.upper() if letra_m == letra.upper(): if letra == letra_m: maiuscula += letra print(maiuscula) return maiuscula maiusculas('Programamos em python 2?') maiusculas('Programamos em Python 3.') maiusculas('PrOgRaMaMoS em python!')
inp = """L.LL.LL.LL LLLLLLL.LL L.L.L..L.. LLLL.LL.LL L.LL.LL.LL L.LLLLL.LL ..L.L..... LLLLLLLLLL L.LLLLLL.L L.LLLLL.LL""" inp = """LLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LL.LLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLL.L.LLLLLLLLLL.LLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL..LLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLL.LL.LL.LLLLL.L.LLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLL.LL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLL.L.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLL.LL LLLLLLLLLLLLLLLLL.LLLLLLLLLL.LLLLLLLLL.LLLLL.LLLLLLL.LLLL.L.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL .L.LL...LLLL.......L....L.LLLLLL.......LL....LL...L..L.LLL...LLL..L.L.L.L..L...............L LLLLLLLLLL.LL.LLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLL.LLLLLLLLLLLL.LLLLL.LLLL.LLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL..LLLLLLLLLLLLLLLLLL LLLLLLL.LL.LLL.LLLLLLLLLLLLL.L.LLLLLLL.LLLLL.LLLLLLL.LLLLLL..LLLLLL.LLLLL.LLLLLL.LLLLLLLLLLL .......L.LLL........LL.L....L.LL...L.....L..LL......L.....L....L.LLLL...L....L..L.L........L LLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLL.L.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LL.LLLL.LLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLL.LLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL ..L...L.........LL.LLLL...L...LL.L.L..L...L.L...LL..LL...L....L....LL.L...LLL........LLL.... LLLLLLLL.L.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLL.LLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LL.LLLLLLLLLLL.LLLLLL.LLLLLL.LL.LLLLLLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LL.LLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL L..L...........L....L.LLLL........L..LL....L.L.......L.L.L.....LL......L.....LLL.LL.L.L.LL.L LLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLL..LLLLLL.LLLLLLLLLLL.LLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLL LLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLL.LLL.LLLLL.LLLLLL..LLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL ..L.....LLL.L..L...L......LL......L.......LL..L.L.L.L....LLLL....L....L...LL...LLL.L....LLL. LLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLL.LLL LLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLL.LL.LL.L.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLLLLLL.LL.LLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.L.LLLLLLLLLL..LLLL LLLLL.LLLLLLLL.LLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.L.LLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLL..LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LL.LLL.LLLLLLLLLLL .....LL.L...LL....L...L.L.....L...L.L.L.L.L.L.......LL.....L.LL.LL...LLL.L.....L...L......L. LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LL..LLL.LLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.L.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLL.LL.LLLLLLLLLLLLL.LLLLLLLLLL. LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLL.L.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.L.LLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLL.L .L....LL....L....L.L....L......LL.....L..L.L....LL.......L......L.L..L.......L....L.LLL....L LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLL..LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL .L......L....L.L..L....LL.......L.LL..LL.L.....L..L.L...............LL....L...L....L....L.LL LLLLLLLLL..LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL..LLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLL LLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL..LLLLLL.LLLLL.LLLLLLLLLLLL.L.LLLLLL..LLLLLLLLLLLL.LLLLLLLLLLL .L..L..L.L.L.L.L.L.....L.L...L....LL.L.L....L..L.L.L........L....LL.......LL....L...L.L..LL. LLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL..LLLLL.LLLLLL.LLLLL..LLLLLL.LLLLLLLLLLL L.LLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LL.LLLLLLLLLLLLLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.L.LLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLL..LLLLL.LLLLLLLLLLLLL.LLLLL.L.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL..LLLLLLLLLL LLLLLLLLLLL.LLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL..LLLLL.LLLLLLLLLL.LLLLLLL LLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLL.L.L.LLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLL.LLLLLLLLLLLLL LLLLL....L.LL..LLL.L...LL.....L............L...............L..L.LLLLL.L.L.......L..LL.L...L. LLLLLLLLLL.LLLLLL.LLLLL..LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLL.LL.LLLLLL..LLLLL.LLLLLL.L.LLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLL.LLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.L.LLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLL .....L...L......L...LL.L.......LL.L...LL..LL.....L.......LL.LL......LL.L...L..L..L...L.LLL.. LLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL..LLLLLLLLLL LLLLLL.LLL.LLLLLL.LLLLLL.LL.LL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLLLLLL.LLLLLLLLL.LLLLLLLLLLL LLL.LLL.LL..LLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL. LLLLLLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLL.LLLLLL.L.LLLLLLLLLL.LLLL.LL.LLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLL.L.L.LLLLLLLLL LLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL .LL.LLL.L.L.L..L....L..L...L......L......L.L.L...L.L..L.L.LLLLL..L.LL.LLL.L...LL.LL...L.L.L. LLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLL.LLLLLLL LLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLL..LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL LLLL.LLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LL.LLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL ..L.LLLL.L...LL.L....L..LL..L.....L....L.L...LL.......L.L..LL..LL............L...LL.....L... LLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLL.LLLL.LLLLLLLLLLL LLLLLLLLLLLLL.LLL.LLLLLL..LLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLL..LLLLL. LLLLLLLLLL.LLLLLL..LLLLL.LLLLL.LLLLLLL..LLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.L.LLLLL.LLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLL.L.LLLLLLLLLLLLL.LL.LLLLL.LLLL.LLLLLL.LLLLLLLLLL.LLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL..LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL LLLLLLLLLL.LLL.LLLLLLLLL.LLLLL.LLLLLLLLLLLL..LLLLLLL.LLLLL..LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LL.LLLLLLLLLL.LLLLLLLLLLL""" lines = inp.split("\n") state = [] n = 0 for line in lines: n = len(line) state.append(['.'] + [c for c in line] + ['.']) state = [['.' for i in range(n+2)]] + state + [['.' for i in range(n+2)]] changed = True should_change = [[False for c in l] for l in state] def occupied(st, c = '#'): cnt = 0 for i in st: for j in i: #print(j) if j == c: cnt += 1 return cnt def cnt_rays(st, i, j, c = '#'): n = len(st) m = len(st[0]) cnt = 0 #print(i, j, st[i][j]) for x in range(-1, 2): for y in range(-1, 2): if x == 0 and y == 0: continue dir = [] step = 1 #print(x, y) while(True): ii = i + step*x jj = j + step*y if ii >= n - 1 or ii < 1: break if jj >= m - 1 or jj < 1: break #print(ii, jj, st[ii][jj]) dir.append(st[ii][jj]) #print(dir) step += 1 if ray(dir): cnt += 1 return cnt def ray(dir): for d in dir: if d == '#': return True if d == 'L': return False return False steps = 0 while(changed): changed = False new_state = [[state[jj][ii] for ii in range(n+2)] for jj in range(len(state))] for i in range(1, len(state) - 1): for j in range(1, n + 1): obs = [[state[ii][jj] for jj in range(j-1, j+2)] for ii in range(i-1, i+2)] if state[i][j] == 'L': occ = cnt_rays(state, i, j) if occ == 0: new_state[i][j] = '#' changed = True if state[i][j] == '#': occ = cnt_rays(state, i, j) if occ >= 5: new_state[i][j] = 'L' changed = True # print(obs) # print(state[i][j]) # print(new_state[i][j]) # try: # if not steps == 0: # a = input() # except SyntaxError: # pass state = new_state # for line in state: # print(line) # steps += 1 print(changed) print(steps) print(occupied(state, '#'))
inp = 'L.LL.LL.LL\nLLLLLLL.LL\nL.L.L..L..\nLLLL.LL.LL\nL.LL.LL.LL\nL.LLLLL.LL\n..L.L.....\nLLLLLLLLLL\nL.LLLLLL.L\nL.LLLLL.LL' inp = 'LLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LL.LLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLL.L.LLLLLLLLLL.LLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL..LLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLL.LL.LL.LLLLL.L.LLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLL.LL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLL.L.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLL.LL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLL.LLLLLLLLL.LLLLL.LLLLLLL.LLLL.L.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL\n.L.LL...LLLL.......L....L.LLLLLL.......LL....LL...L..L.LLL...LLL..L.L.L.L..L...............L\nLLLLLLLLLL.LL.LLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLL.LLLLLLLLLLLL.LLLLL.LLLL.LLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL..LLLLLLLLLLLLLLLLLL\nLLLLLLL.LL.LLL.LLLLLLLLLLLLL.L.LLLLLLL.LLLLL.LLLLLLL.LLLLLL..LLLLLL.LLLLL.LLLLLL.LLLLLLLLLLL\n.......L.LLL........LL.L....L.LL...L.....L..LL......L.....L....L.LLLL...L....L..L.L........L\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLL.L.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LL.LLLL.LLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLL.LLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL\n..L...L.........LL.LLLL...L...LL.L.L..L...L.L...LL..LL...L....L....LL.L...LLL........LLL....\nLLLLLLLL.L.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLL.LLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LL.LLLLLLLLLLL.LLLLLL.LLLLLL.LL.LLLLLLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LL.LLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL\nL..L...........L....L.LLLL........L..LL....L.L.......L.L.L.....LL......L.....LLL.LL.L.L.LL.L\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLL..LLLLLL.LLLLLLLLLLL.LLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLL.LLL.LLLLL.LLLLLL..LLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\n..L.....LLL.L..L...L......LL......L.......LL..L.L.L.L....LLLL....L....L...LL...LLL.L....LLL.\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLL.LLL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLL.LL.LL.L.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLLLLLL.LL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.L.LLLLLLLLLL..LLLL\nLLLLL.LLLLLLLL.LLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.L.LLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLL..LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LL.LLL.LLLLLLLLLLL\n.....LL.L...LL....L...L.L.....L...L.L.L.L.L.L.......LL.....L.LL.LL...LLL.L.....L...L......L.\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LL..LLL.LLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.L.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLL.LL.LLLLLLLLLLLLL.LLLLLLLLLL.\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLL.L.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.L.LLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLL.L\n.L....LL....L....L.L....L......LL.....L..L.L....LL.......L......L.L..L.......L....L.LLL....L\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLL..LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\n.L......L....L.L..L....LL.......L.LL..LL.L.....L..L.L...............LL....L...L....L....L.LL\nLLLLLLLLL..LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL..LLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLL\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL..LLLLLL.LLLLL.LLLLLLLLLLLL.L.LLLLLL..LLLLLLLLLLLL.LLLLLLLLLLL\n.L..L..L.L.L.L.L.L.....L.L...L....LL.L.L....L..L.L.L........L....LL.......LL....L...L.L..LL.\nLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL..LLLLL.LLLLLL.LLLLL..LLLLLL.LLLLLLLLLLL\nL.LLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LL.LLLLLLLLLLLLLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLL.L.LLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLL..LLLLL.LLLLLLLLLLLLL.LLLLL.L.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL..LLLLLLLLLL\nLLLLLLLLLLL.LLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL..LLLLL.LLLLLLLLLL.LLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLL.L.L.LLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLL.LLLLLLLLLLLLL\nLLLLL....L.LL..LLL.L...LL.....L............L...............L..L.LLLLL.L.L.......L..LL.L...L.\nLLLLLLLLLL.LLLLLL.LLLLL..LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLL.LL.LLLLLL..LLLLL.LLLLLL.L.LLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLL.LLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.L.LLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLL\n.....L...L......L...LL.L.......LL.L...LL..LL.....L.......LL.LL......LL.L...L..L..L...L.LLL..\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL..LLLLLLLLLL\nLLLLLL.LLL.LLLLLL.LLLLLL.LL.LL.LLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLLLLLL.LLLLLLLLL.LLLLLLLLLLL\nLLL.LLL.LL..LLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.\nLLLLLLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.L.LLLLLLLLLL.LLLL.LL.LLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLL.L.L.LLLLLLLLL\nLLLLLLLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\n.LL.LLL.L.L.L..L....L..L...L......L......L.L.L...L.L..L.L.LLLLL..L.LL.LLL.L...LL.LL...L.L.L.\nLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLL.LLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.LLLLLLL.LLLLLL.LLLLL..LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL\nLLLL.LLLLL.LLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LL.LLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\n..L.LLLL.L...LL.L....L..LL..L.....L....L.L...LL.......L.L..LL..LL............L...LL.....L...\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLL.LLLLLLLL.LLLL.LLLLLLLLLLL\nLLLLLLLLLLLLL.LLL.LLLLLL..LLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLL.LLLLLL.LLLLLLLLLL..LLLLL.\nLLLLLLLLLL.LLLLLL..LLLLL.LLLLL.LLLLLLL..LLLL.LLLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL.L.LLLLL.LLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLL.LLLLLL.LLLLLL.LLLLL.LLLLL.L.LLLLLLLLLLLLL.LL.LLLLL.LLLL.LLLLLL.LLLLLLLLLL.LLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLL..LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLL.LLLLLLLLLLL\nLLLLLLLLLL.LLL.LLLLLLLLL.LLLLL.LLLLLLLLLLLL..LLLLLLL.LLLLL..LLLLLL.LLLLLL.LLLLLLLLLLLLLLLLLL\nLLLLLLLLLLLLLLLLL.LLLLLL.LLLLL.LLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLL.LL.LLLLLLLLLL.LLLLLLLLLLL' lines = inp.split('\n') state = [] n = 0 for line in lines: n = len(line) state.append(['.'] + [c for c in line] + ['.']) state = [['.' for i in range(n + 2)]] + state + [['.' for i in range(n + 2)]] changed = True should_change = [[False for c in l] for l in state] def occupied(st, c='#'): cnt = 0 for i in st: for j in i: if j == c: cnt += 1 return cnt def cnt_rays(st, i, j, c='#'): n = len(st) m = len(st[0]) cnt = 0 for x in range(-1, 2): for y in range(-1, 2): if x == 0 and y == 0: continue dir = [] step = 1 while True: ii = i + step * x jj = j + step * y if ii >= n - 1 or ii < 1: break if jj >= m - 1 or jj < 1: break dir.append(st[ii][jj]) step += 1 if ray(dir): cnt += 1 return cnt def ray(dir): for d in dir: if d == '#': return True if d == 'L': return False return False steps = 0 while changed: changed = False new_state = [[state[jj][ii] for ii in range(n + 2)] for jj in range(len(state))] for i in range(1, len(state) - 1): for j in range(1, n + 1): obs = [[state[ii][jj] for jj in range(j - 1, j + 2)] for ii in range(i - 1, i + 2)] if state[i][j] == 'L': occ = cnt_rays(state, i, j) if occ == 0: new_state[i][j] = '#' changed = True if state[i][j] == '#': occ = cnt_rays(state, i, j) if occ >= 5: new_state[i][j] = 'L' changed = True state = new_state print(changed) print(steps) print(occupied(state, '#'))
''' Leetcode problem No 859 Buddy Strings Solution written by Xuqiang Fang on 24 June, 2018 ''' class Solution(object): def buddyStrings(self, A, B): if len(A) != len(B): return False dica = {} dicb = {} c = 0 for i in range(len(A)): a = A[i] b = B[i] if a != b: c += 1 if a not in dica: dica[a] = 1 else: dica[a] += 1 if b not in dicb: dicb[b] = 1 else: dicb[b] += 1 if dica == dicb: if c == 2: return True elif c == 0: for key in dica: if dica[key] >= 2: return True return False def main(): s = Solution() print(s.buddyStrings('ab', 'ba')) print(s.buddyStrings('aaaaabc', 'aaaaacb')) print(s.buddyStrings('aa', 'aa')) print(s.buddyStrings('ab', 'ab')) print(s.buddyStrings('ab', 'ca')) main()
""" Leetcode problem No 859 Buddy Strings Solution written by Xuqiang Fang on 24 June, 2018 """ class Solution(object): def buddy_strings(self, A, B): if len(A) != len(B): return False dica = {} dicb = {} c = 0 for i in range(len(A)): a = A[i] b = B[i] if a != b: c += 1 if a not in dica: dica[a] = 1 else: dica[a] += 1 if b not in dicb: dicb[b] = 1 else: dicb[b] += 1 if dica == dicb: if c == 2: return True elif c == 0: for key in dica: if dica[key] >= 2: return True return False def main(): s = solution() print(s.buddyStrings('ab', 'ba')) print(s.buddyStrings('aaaaabc', 'aaaaacb')) print(s.buddyStrings('aa', 'aa')) print(s.buddyStrings('ab', 'ab')) print(s.buddyStrings('ab', 'ca')) main()
nin=input() x=[] for i in range(len(nin)): x.append(int(nin[i])) list_of_numbers=[] status='qualified' majority=0 for i in range(len(x)): status='qualified' if i==0: list_of_numbers.append([]) list_of_numbers[i].append(x[i]) else: for j in range(len(list_of_numbers)): if list_of_numbers[j][0]==x[i]: list_of_numbers[j].append(x[i]) break for j in range(len(list_of_numbers)): for k in range(len(list_of_numbers)): if list_of_numbers[k][0]==x[i]: status='not qualified' if status=='qualified': list_of_numbers.append([]) list_of_numbers[len(list_of_numbers)-1].append(x[i]) break for i in range(len(list_of_numbers)): if len(list_of_numbers[i])>majority: majority=len(list_of_numbers[i]) for i in range(len(list_of_numbers)): if len(list_of_numbers[i])==majority: print(f'majority: {list_of_numbers[i][0]} times repeated: {majority}')
nin = input() x = [] for i in range(len(nin)): x.append(int(nin[i])) list_of_numbers = [] status = 'qualified' majority = 0 for i in range(len(x)): status = 'qualified' if i == 0: list_of_numbers.append([]) list_of_numbers[i].append(x[i]) else: for j in range(len(list_of_numbers)): if list_of_numbers[j][0] == x[i]: list_of_numbers[j].append(x[i]) break for j in range(len(list_of_numbers)): for k in range(len(list_of_numbers)): if list_of_numbers[k][0] == x[i]: status = 'not qualified' if status == 'qualified': list_of_numbers.append([]) list_of_numbers[len(list_of_numbers) - 1].append(x[i]) break for i in range(len(list_of_numbers)): if len(list_of_numbers[i]) > majority: majority = len(list_of_numbers[i]) for i in range(len(list_of_numbers)): if len(list_of_numbers[i]) == majority: print(f'majority: {list_of_numbers[i][0]} times repeated: {majority}')
def index(): images = team_db().select(team_db.image.ALL, orderby=team_db.image.category_id) categories = team_db().select(team_db.category.ALL, orderby=team_db.category.priority) return dict(images=images, categories=categories) def download(): return response.download(request, team_db)
def index(): images = team_db().select(team_db.image.ALL, orderby=team_db.image.category_id) categories = team_db().select(team_db.category.ALL, orderby=team_db.category.priority) return dict(images=images, categories=categories) def download(): return response.download(request, team_db)
# -*- coding: utf-8 -*- value1 = input() value2 = input() prod = value1+value2 print("SOMA = " + str(prod))
value1 = input() value2 = input() prod = value1 + value2 print('SOMA = ' + str(prod))
""" NAME binary_search - binary search template DESCRIPTION This module implements the many version of binary search. * bisect binary search the only true occurrence * bisect_left binary search the left-most occurrence * bisect_rigth binary search the right-most occurrence * bisect_first_true binary search the first true occurrence * bisect_last_true binary search the last true occurrence FUNCTIONS bisect(arr, x) Return the index of x if found or -1 if not. bisect_left(arr, x) Return the index where to insert x into arr. The return value i is such that all e in arr[:i] have e < x, and all e in arr[i:] have e >= x. bisect_right(arr, x) Return the index where to insert x into arr. The return value i is such that all e in arr[:i] have e <= x, and all e in arr[i:] have e > x. bisect_first_true(arr, x) Return the first index where a predicate is evaluated to True. bisect_last_true(arr, x) Return the last index where a predicate is evaluated to True. """ def bisect(arr, x): """Binary search the only true occurrence.""" lo, hi = 0, len(arr)-1 # left close & right close while lo <= hi: mid = lo + hi >> 1 if arr[mid] == x: return mid if arr[mid] < x: lo = mid + 1 else: hi = mid - 1 return -1 def bisect_left(arr, x): """Binary search array to find (left-most) x.""" lo, hi = 0, len(arr) while lo < hi: mid = lo + hi >> 1 if arr[mid] < x: lo = mid + 1 else: hi = mid return lo def bisect_right(arr, x): """Binary search array to find (right-most) x.""" lo, hi = 0, len(arr) while lo < hi: mid = lo + hi >> 1 if arr[mid] <= x: lo = mid + 1 else: hi = mid return lo def bisect_first_true(arr): """Binary search for first True occurrence.""" lo, hi = 0, len(arr) while lo < hi: mid = lo + hi >> 1 if arr[mid]: hi = mid else: lo = mid + 1 return lo def bisect_last_true(arr): """Binary search for last True occurrence.""" lo, hi = -1, len(arr)-1 while lo < hi: mid = lo + hi + 1 >> 1 if arr[mid]: lo = mid else: hi = mid - 1 return lo
""" NAME binary_search - binary search template DESCRIPTION This module implements the many version of binary search. * bisect binary search the only true occurrence * bisect_left binary search the left-most occurrence * bisect_rigth binary search the right-most occurrence * bisect_first_true binary search the first true occurrence * bisect_last_true binary search the last true occurrence FUNCTIONS bisect(arr, x) Return the index of x if found or -1 if not. bisect_left(arr, x) Return the index where to insert x into arr. The return value i is such that all e in arr[:i] have e < x, and all e in arr[i:] have e >= x. bisect_right(arr, x) Return the index where to insert x into arr. The return value i is such that all e in arr[:i] have e <= x, and all e in arr[i:] have e > x. bisect_first_true(arr, x) Return the first index where a predicate is evaluated to True. bisect_last_true(arr, x) Return the last index where a predicate is evaluated to True. """ def bisect(arr, x): """Binary search the only true occurrence.""" (lo, hi) = (0, len(arr) - 1) while lo <= hi: mid = lo + hi >> 1 if arr[mid] == x: return mid if arr[mid] < x: lo = mid + 1 else: hi = mid - 1 return -1 def bisect_left(arr, x): """Binary search array to find (left-most) x.""" (lo, hi) = (0, len(arr)) while lo < hi: mid = lo + hi >> 1 if arr[mid] < x: lo = mid + 1 else: hi = mid return lo def bisect_right(arr, x): """Binary search array to find (right-most) x.""" (lo, hi) = (0, len(arr)) while lo < hi: mid = lo + hi >> 1 if arr[mid] <= x: lo = mid + 1 else: hi = mid return lo def bisect_first_true(arr): """Binary search for first True occurrence.""" (lo, hi) = (0, len(arr)) while lo < hi: mid = lo + hi >> 1 if arr[mid]: hi = mid else: lo = mid + 1 return lo def bisect_last_true(arr): """Binary search for last True occurrence.""" (lo, hi) = (-1, len(arr) - 1) while lo < hi: mid = lo + hi + 1 >> 1 if arr[mid]: lo = mid else: hi = mid - 1 return lo
class Solution: def minimumSize(self, nums: List[int], maxOperations: int) -> int: lo, hi = 1, 1_000_000_000 while lo < hi: mid = lo + hi >> 1 if sum((x-1)//mid for x in nums) <= maxOperations: hi = mid else: lo = mid + 1 return lo
class Solution: def minimum_size(self, nums: List[int], maxOperations: int) -> int: (lo, hi) = (1, 1000000000) while lo < hi: mid = lo + hi >> 1 if sum(((x - 1) // mid for x in nums)) <= maxOperations: hi = mid else: lo = mid + 1 return lo
class sequenceObjects(object): """generate objects for each vertical and horizontal sequences""" def __init__(self, index, length, sumOfInts, isHorizontal): self.isFilled = False self.index = index self.lengthOfSequence = length self.sumOfInts = sumOfInts reverseIndex = reversed(self.index) self.sortBy= list(reverseIndex) self.vertices = [(self.index[0] + (not isHorizontal) * 1 * x, self.index[1] + (isHorizontal) * 1 * x) for x in range(length)] self.uniqueSolutions = self.getUniqueCombinations(sumOfInts, length) self.permutatedSolutions = self.getCombinations(sumOfInts, length) if len(self.uniqueSolutions) == 0: raise ValueError("No Valid Solution") def getCombinations(self, sumOfInts, length): """generate a list of all possible combinations for given sum and length""" if length == 2: combinations = [[sumOfInts - x, x] for x in range(1, 10) if x > 0 and x < 10 and (sumOfInts - x) < 10 and (sumOfInts - x) > 0 and sumOfInts - x != x] else: combinations = [] for x in range(1, 10): combinations.extend([combination + [x] for combination in self.getCombinations(sumOfInts - x, length - 1) if x not in combination and x > 0 and x < 10]) combinations.sort() return combinations def getUniqueCombinations(self, sumOfInts, length): """generate a list of all possible combinations for given sum and length without their permutations""" uniqueList = [] combinations = self.getCombinations(sumOfInts, length) uniqueCombinations = set() for item in combinations: uniqueCombinations.add(tuple(sorted(item))) for item in uniqueCombinations: uniqueList.append(list(item)) uniqueList.sort() return (uniqueList)
class Sequenceobjects(object): """generate objects for each vertical and horizontal sequences""" def __init__(self, index, length, sumOfInts, isHorizontal): self.isFilled = False self.index = index self.lengthOfSequence = length self.sumOfInts = sumOfInts reverse_index = reversed(self.index) self.sortBy = list(reverseIndex) self.vertices = [(self.index[0] + (not isHorizontal) * 1 * x, self.index[1] + isHorizontal * 1 * x) for x in range(length)] self.uniqueSolutions = self.getUniqueCombinations(sumOfInts, length) self.permutatedSolutions = self.getCombinations(sumOfInts, length) if len(self.uniqueSolutions) == 0: raise value_error('No Valid Solution') def get_combinations(self, sumOfInts, length): """generate a list of all possible combinations for given sum and length""" if length == 2: combinations = [[sumOfInts - x, x] for x in range(1, 10) if x > 0 and x < 10 and (sumOfInts - x < 10) and (sumOfInts - x > 0) and (sumOfInts - x != x)] else: combinations = [] for x in range(1, 10): combinations.extend([combination + [x] for combination in self.getCombinations(sumOfInts - x, length - 1) if x not in combination and x > 0 and (x < 10)]) combinations.sort() return combinations def get_unique_combinations(self, sumOfInts, length): """generate a list of all possible combinations for given sum and length without their permutations""" unique_list = [] combinations = self.getCombinations(sumOfInts, length) unique_combinations = set() for item in combinations: uniqueCombinations.add(tuple(sorted(item))) for item in uniqueCombinations: uniqueList.append(list(item)) uniqueList.sort() return uniqueList
#!/usr/bin/python """ """ class Vegetable: """A vegetable is the main resource for making a great soup. More seriously, a vegtable represents the basic abstraction of a web page element. It provides default access operation over such element namely : * Finding element(s) from tag name using attribute access operator. * Finding a element with unique id using call operator (). * Finding element(s) from class name using index operator []. """ def __init__(self, root=None): """Default constructor. :param root: """ self.root = root def __getattr__(self, tag): """Syntaxic sugar for retriving all child element from this vegetable root using attribute access operator using attribute name as HTML tag filter. :param tag: Tag name of child elements we want to retrieve. :returns: A new Tag element instance. """ return Tagable(self, tag) def __call__(self, **kwargs): """Syntaxic sugar which can either allow to retrieve HTML element using unique attribute property such as id or name (assuming there are unique across the target document). Or performing attributes filtering if this instance is a Vegetables. Such filtering is efficient when the set of parent elements is not too big. :param **kwargs: HTML (attribute, value) mapping. :returns: Matched element(s). """ attributes = kwargs.keys() if len(attributes) == 1: if 'id' in attributes: id = kwargs['id'] return self.locate(lambda e : e.find_element_by_id(id)) elif 'name' in attributes: name = kwargs['name'] return self.locate(lambda e: e.find_element_by_name(name)) elif isinstance(self, Vegetables): # TODO : Implements multi attribute filtering. pass # TODO : Consider raise error ? return None def locate(self, locator): """Locates and collects child HTML element(s) using the given locator. TODO : Explain algorithm ? :param locator: Function that retrieves web element(s) from a given one. :returns: Located element using the given locator from this root. """ elements = self.candidates() if isinstance(elements, list): for element in elements: seed = locator(element) if seed is not None: return CookVegetable(seed) else: seed = locator(elements) return CookVegetable(seed) def candidates(self): """ To document """ return self.root class CookVegetable(Vegetable): """ To document. """ def __init__(self, root): """Default constructor. :param root: """ Vegetable.__init__(self, root) def __getitem__(self, attribute): """HTML Element attribute getter. :param attribute: Name of the attribute to retrieve. :returns: Attribute value if any. """ # TODO : Ensure get_attribute return type if not found. return self.root.get_attribute(attribute) def text(self): """HTML Element text getter. :returns: Text of this element. """ if self.root is None: return "" # TODO : Consider throwing error. return self.root.text def click(self): """ """ pass def fill(self, text): """ """ pass def submit(self): """ """ pass class Vegetables(Vegetable): """A soup made of only one vegetable is not that fun. A Vegetables instance represents object that MAY be a collection of vegetable with belong to the same category (class name or tag name). """ def __init__(self, root, locator): """Default constructor. :param root: Root element of this vegetables. :param locator: Lambda that retrieves candidates from a given element. """ Vegetable.__init__(self, root=root) self.locator = locator self.elements = None def __call__(self, **kwargs): """ Attribute filtering. """ for attribute in kwargs.keys(): pass return def __iter__(self): """ """ def generator(): """ """ elements = self.candidates() i = 0 while i < len(elements): yield Vegetable(elements[i]) i += 1 return generator() def __len__(self): """ """ return len(self.candidates()) def candidates(self): """ """ if self.elements is None: self.elements = self.root.locate(self.locator) return self.elements def __getitem__(self, index): """ """ return self.candidates()[index] def text(self): """ """ candidates = self.candidates() if len(candidates) == 1: return candidates[0].text return None # TODO : Compile or error ? class Tagable(Vegetables): """ """ def __init__(self, root, tag): """ """ Vegetables.__init__(self, root, lambda e: e.find_elements_by_tag_name(tag)) self.elements = None class Classable(Vegetables): """ """ def __init__(self, root, tag): """ """ Vegetables.__init__(self, root, lambda e: e.find_elements_by_class_name(tag)) self.elements = None
""" """ class Vegetable: """A vegetable is the main resource for making a great soup. More seriously, a vegtable represents the basic abstraction of a web page element. It provides default access operation over such element namely : * Finding element(s) from tag name using attribute access operator. * Finding a element with unique id using call operator (). * Finding element(s) from class name using index operator []. """ def __init__(self, root=None): """Default constructor. :param root: """ self.root = root def __getattr__(self, tag): """Syntaxic sugar for retriving all child element from this vegetable root using attribute access operator using attribute name as HTML tag filter. :param tag: Tag name of child elements we want to retrieve. :returns: A new Tag element instance. """ return tagable(self, tag) def __call__(self, **kwargs): """Syntaxic sugar which can either allow to retrieve HTML element using unique attribute property such as id or name (assuming there are unique across the target document). Or performing attributes filtering if this instance is a Vegetables. Such filtering is efficient when the set of parent elements is not too big. :param **kwargs: HTML (attribute, value) mapping. :returns: Matched element(s). """ attributes = kwargs.keys() if len(attributes) == 1: if 'id' in attributes: id = kwargs['id'] return self.locate(lambda e: e.find_element_by_id(id)) elif 'name' in attributes: name = kwargs['name'] return self.locate(lambda e: e.find_element_by_name(name)) elif isinstance(self, Vegetables): pass return None def locate(self, locator): """Locates and collects child HTML element(s) using the given locator. TODO : Explain algorithm ? :param locator: Function that retrieves web element(s) from a given one. :returns: Located element using the given locator from this root. """ elements = self.candidates() if isinstance(elements, list): for element in elements: seed = locator(element) if seed is not None: return cook_vegetable(seed) else: seed = locator(elements) return cook_vegetable(seed) def candidates(self): """ To document """ return self.root class Cookvegetable(Vegetable): """ To document. """ def __init__(self, root): """Default constructor. :param root: """ Vegetable.__init__(self, root) def __getitem__(self, attribute): """HTML Element attribute getter. :param attribute: Name of the attribute to retrieve. :returns: Attribute value if any. """ return self.root.get_attribute(attribute) def text(self): """HTML Element text getter. :returns: Text of this element. """ if self.root is None: return '' return self.root.text def click(self): """ """ pass def fill(self, text): """ """ pass def submit(self): """ """ pass class Vegetables(Vegetable): """A soup made of only one vegetable is not that fun. A Vegetables instance represents object that MAY be a collection of vegetable with belong to the same category (class name or tag name). """ def __init__(self, root, locator): """Default constructor. :param root: Root element of this vegetables. :param locator: Lambda that retrieves candidates from a given element. """ Vegetable.__init__(self, root=root) self.locator = locator self.elements = None def __call__(self, **kwargs): """ Attribute filtering. """ for attribute in kwargs.keys(): pass return def __iter__(self): """ """ def generator(): """ """ elements = self.candidates() i = 0 while i < len(elements): yield vegetable(elements[i]) i += 1 return generator() def __len__(self): """ """ return len(self.candidates()) def candidates(self): """ """ if self.elements is None: self.elements = self.root.locate(self.locator) return self.elements def __getitem__(self, index): """ """ return self.candidates()[index] def text(self): """ """ candidates = self.candidates() if len(candidates) == 1: return candidates[0].text return None class Tagable(Vegetables): """ """ def __init__(self, root, tag): """ """ Vegetables.__init__(self, root, lambda e: e.find_elements_by_tag_name(tag)) self.elements = None class Classable(Vegetables): """ """ def __init__(self, root, tag): """ """ Vegetables.__init__(self, root, lambda e: e.find_elements_by_class_name(tag)) self.elements = None
# simple result class class SerfResult(object): """ Result object for responses from a Serf agent. """ def __init__(self, head=None, body=None): self.head, self.body = head, body def __iter__(self): """ Iterator. Used for assignment, i.e.:: head, body = result """ yield self.head yield self.body def __repr__(self): return "%(class)s<head=%(h)s,body=%(b)s>" \ % {'class': self.__class__.__name__, 'h': self.head, 'b': self.body}
class Serfresult(object): """ Result object for responses from a Serf agent. """ def __init__(self, head=None, body=None): (self.head, self.body) = (head, body) def __iter__(self): """ Iterator. Used for assignment, i.e.:: head, body = result """ yield self.head yield self.body def __repr__(self): return '%(class)s<head=%(h)s,body=%(b)s>' % {'class': self.__class__.__name__, 'h': self.head, 'b': self.body}
BINDIR = '/usr/local/bin' BLOCK_MESSAGE_KEYS = [] BUILD_TYPE = 'app' BUNDLE_NAME = 'pebble.pbw' DEFINES = ['RELEASE'] LIBDIR = '/usr/local/lib' LIB_DIR = 'node_modules' LIB_JSON = [] MESSAGE_KEYS = {} MESSAGE_KEYS_HEADER = '/mnt/files/scripts/pebble/pebble-navigation/pebble/build/include/message_keys.auto.h' NODE_PATH = '/home/rhys/.pebble-sdk/SDKs/current/node_modules' PEBBLE_SDK_COMMON = '/home/rhys/.pebble-sdk/SDKs/current/sdk-core/pebble/common' PEBBLE_SDK_ROOT = '/home/rhys/.pebble-sdk/SDKs/current/sdk-core/pebble' PREFIX = '/usr/local' PROJECT_INFO = {'appKeys': {}, u'sdkVersion': u'3', u'displayName': u'geocaching', u'uuid': u'6191ad65-6cb1-404f-bccc-2446654c20ab', u'messageKeys': {}, u'companyName': u'WebMajstr', u'enableMultiJS': True, u'targetPlatforms': [u'aplite', u'basalt', u'chalk'], 'versionLabel': u'2.0', 'longName': u'geocaching', 'shortName': u'geocaching', u'watchapp': {u'watchface': False}, u'resources': {u'media': [{u'menuIcon': True, u'type': u'png', u'name': u'IMAGE_MENU_ICON', u'file': u'images/menu_icon_geocache.png'}, {u'type': u'png', u'name': u'NO_BT', u'file': u'images/no_bt.png'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_30', u'file': u'fonts/Roboto-Condensed.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_BOLD_SUBSET_22', u'file': u'fonts/Roboto-Bold.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_36', u'file': u'fonts/Roboto-Condensed.ttf'}]}, 'name': u'geocaching'} REQUESTED_PLATFORMS = [u'aplite', u'basalt', u'chalk'] RESOURCES_JSON = [{u'menuIcon': True, u'type': u'png', u'name': u'IMAGE_MENU_ICON', u'file': u'images/menu_icon_geocache.png'}, {u'type': u'png', u'name': u'NO_BT', u'file': u'images/no_bt.png'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_30', u'file': u'fonts/Roboto-Condensed.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_BOLD_SUBSET_22', u'file': u'fonts/Roboto-Bold.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_36', u'file': u'fonts/Roboto-Condensed.ttf'}] SANDBOX = False SUPPORTED_PLATFORMS = ['chalk', 'basalt', 'diorite', 'aplite', 'emery'] TARGET_PLATFORMS = ['chalk', 'basalt', 'aplite'] TIMESTAMP = 1601736560 USE_GROUPS = True VERBOSE = 0 WEBPACK = '/home/rhys/.pebble-sdk/SDKs/current/node_modules/.bin/webpack'
bindir = '/usr/local/bin' block_message_keys = [] build_type = 'app' bundle_name = 'pebble.pbw' defines = ['RELEASE'] libdir = '/usr/local/lib' lib_dir = 'node_modules' lib_json = [] message_keys = {} message_keys_header = '/mnt/files/scripts/pebble/pebble-navigation/pebble/build/include/message_keys.auto.h' node_path = '/home/rhys/.pebble-sdk/SDKs/current/node_modules' pebble_sdk_common = '/home/rhys/.pebble-sdk/SDKs/current/sdk-core/pebble/common' pebble_sdk_root = '/home/rhys/.pebble-sdk/SDKs/current/sdk-core/pebble' prefix = '/usr/local' project_info = {'appKeys': {}, u'sdkVersion': u'3', u'displayName': u'geocaching', u'uuid': u'6191ad65-6cb1-404f-bccc-2446654c20ab', u'messageKeys': {}, u'companyName': u'WebMajstr', u'enableMultiJS': True, u'targetPlatforms': [u'aplite', u'basalt', u'chalk'], 'versionLabel': u'2.0', 'longName': u'geocaching', 'shortName': u'geocaching', u'watchapp': {u'watchface': False}, u'resources': {u'media': [{u'menuIcon': True, u'type': u'png', u'name': u'IMAGE_MENU_ICON', u'file': u'images/menu_icon_geocache.png'}, {u'type': u'png', u'name': u'NO_BT', u'file': u'images/no_bt.png'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_30', u'file': u'fonts/Roboto-Condensed.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_BOLD_SUBSET_22', u'file': u'fonts/Roboto-Bold.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_36', u'file': u'fonts/Roboto-Condensed.ttf'}]}, 'name': u'geocaching'} requested_platforms = [u'aplite', u'basalt', u'chalk'] resources_json = [{u'menuIcon': True, u'type': u'png', u'name': u'IMAGE_MENU_ICON', u'file': u'images/menu_icon_geocache.png'}, {u'type': u'png', u'name': u'NO_BT', u'file': u'images/no_bt.png'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_30', u'file': u'fonts/Roboto-Condensed.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_BOLD_SUBSET_22', u'file': u'fonts/Roboto-Bold.ttf'}, {u'type': u'font', u'name': u'FONT_ROBOTO_CONDENSED_36', u'file': u'fonts/Roboto-Condensed.ttf'}] sandbox = False supported_platforms = ['chalk', 'basalt', 'diorite', 'aplite', 'emery'] target_platforms = ['chalk', 'basalt', 'aplite'] timestamp = 1601736560 use_groups = True verbose = 0 webpack = '/home/rhys/.pebble-sdk/SDKs/current/node_modules/.bin/webpack'
CONF = { "git_bash" : { "name": "Git BRanch on bash prompt", "commands": """ # ref: https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' } export PS1="[\$(date +%k:%M:%S)] \\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " """ }, }
conf = {'git_bash': {'name': 'Git BRanch on bash prompt', 'commands': '\n# ref: https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt\nparse_git_branch() {\n git branch 2> /dev/null | sed -e \'/^[^*]/d\' -e \'s/* \\(.*\\)/ (\x01)/\'\n}\nexport PS1="[\\$(date +%k:%M:%S)] \\u@\\h \\[\x1b[32m\\]\\w\\[\x1b[33m\\]\\$(parse_git_branch)\\[\x1b[00m\\] $ "\n'}}
""" Stores a Boolean indicating if the app should run in debug mode or not. This option can be set with -d or --debug on start. """ debug = False """ Variable storing a reference to the container backend implementation the API should use. This option can be set with --container-backend CONTAINER_BACKEND on start. """ container_backend = None
""" Stores a Boolean indicating if the app should run in debug mode or not. This option can be set with -d or --debug on start. """ debug = False '\nVariable storing a reference to the container backend implementation the API should use.\n\nThis option can be set with --container-backend CONTAINER_BACKEND on start.\n' container_backend = None
test = dict( batch_size=8, num_workers=2, eval_func="default_test", clip_range=None, tta=dict( # based on the ttach lib enable=False, reducation="mean", # 'mean', 'gmean', 'sum', 'max', 'min', 'tsharpen' cfg=dict( HorizontalFlip=dict(), VerticalFlip=dict(), Rotate90=dict(angles=[0, 90, 180, 270]), Scale=dict( scales=[0.75, 1, 1.5], interpolation="bilinear", align_corners=False, ), Add=dict(values=[0, 10, 20]), Multiply=dict(factors=[1, 2, 5]), FiveCrops=dict(crop_height=224, crop_width=224), Resize=dict( sizes=[0.75, 1, 1.5], original_size=224, interpolation="bilinear", align_corners=False, ), ), ), )
test = dict(batch_size=8, num_workers=2, eval_func='default_test', clip_range=None, tta=dict(enable=False, reducation='mean', cfg=dict(HorizontalFlip=dict(), VerticalFlip=dict(), Rotate90=dict(angles=[0, 90, 180, 270]), Scale=dict(scales=[0.75, 1, 1.5], interpolation='bilinear', align_corners=False), Add=dict(values=[0, 10, 20]), Multiply=dict(factors=[1, 2, 5]), FiveCrops=dict(crop_height=224, crop_width=224), Resize=dict(sizes=[0.75, 1, 1.5], original_size=224, interpolation='bilinear', align_corners=False))))
# Latihan menampilkan deret fibonacci dengan fungsi rekursif def fibonacci(n): if n == 0 or n == 1: return n else: return (fibonacci(n-1) + fibonacci(n-2)) input_nilai = 6 for i in range(input_nilai): print(fibonacci(i), end=' ')
def fibonacci(n): if n == 0 or n == 1: return n else: return fibonacci(n - 1) + fibonacci(n - 2) input_nilai = 6 for i in range(input_nilai): print(fibonacci(i), end=' ')
""" 34. Find First and Last Position of Element in Sorted Array Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in the array, return [-1, -1]. Follow up: Could you write an algorithm with O(log n) runtime complexity? Example 1: Input: nums = [5,7,7,8,8,10], target = 8 Output: [3,4] Example 2: Input: nums = [5,7,7,8,8,10], target = 6 Output: [-1,-1] Example 3: Input: nums = [], target = 0 Output: [-1,-1] Constraints: 0 <= nums.length <= 105 -109 <= nums[i] <= 109 nums is a non-decreasing array. -109 <= target <= 109 """ # def findPositions(nums, target): # l = 0 # r = len(nums) - 1 # res = [-1, -1] # while(l <= r): # m = (l + r) // 2 # if nums[m] < target: # l = m + 1 # elif nums[m] > target: # r = m - 1 # else: # for i in reversed(range(0, m + 1)): # if nums[i] == target: # res[0] = i # i -= 1 # else: # break # for i in range(m, len(nums)): # if nums[i] == target: # res[1] = i # i += 1 # else: # break # break # return res def findLeftPostion(nums, target): l = 0 r = len(nums) - 1 while(l <= r): m = (l + r) // 2 if nums[m] == target: if m == 0 or nums[m - 1] != target: return m r = m - 1 elif nums[m] > target: r = m - 1 else: l = m + 1 return -1 def findRightPosition(nums, target): l = 0 r = len(nums) - 1 while(l <= r): m = (l + r) // 2 if nums[m] == target: if m == len(nums) - 1 or nums[m + 1] != target: return m l = m + 1 elif nums[m] > target: r = m - 1 else: l = m + 1 return -1 def findPositions(nums, target): left = findLeftPostion(nums, target) right = findRightPosition(nums, target) return [left, right] nums = [5, 7, 7, 8, 8, 10] target = 3 res = findPositions(nums, target) print(res)
""" 34. Find First and Last Position of Element in Sorted Array Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in the array, return [-1, -1]. Follow up: Could you write an algorithm with O(log n) runtime complexity? Example 1: Input: nums = [5,7,7,8,8,10], target = 8 Output: [3,4] Example 2: Input: nums = [5,7,7,8,8,10], target = 6 Output: [-1,-1] Example 3: Input: nums = [], target = 0 Output: [-1,-1] Constraints: 0 <= nums.length <= 105 -109 <= nums[i] <= 109 nums is a non-decreasing array. -109 <= target <= 109 """ def find_left_postion(nums, target): l = 0 r = len(nums) - 1 while l <= r: m = (l + r) // 2 if nums[m] == target: if m == 0 or nums[m - 1] != target: return m r = m - 1 elif nums[m] > target: r = m - 1 else: l = m + 1 return -1 def find_right_position(nums, target): l = 0 r = len(nums) - 1 while l <= r: m = (l + r) // 2 if nums[m] == target: if m == len(nums) - 1 or nums[m + 1] != target: return m l = m + 1 elif nums[m] > target: r = m - 1 else: l = m + 1 return -1 def find_positions(nums, target): left = find_left_postion(nums, target) right = find_right_position(nums, target) return [left, right] nums = [5, 7, 7, 8, 8, 10] target = 3 res = find_positions(nums, target) print(res)
# Auth Constants TOKEN_HEADER = {"alg": "RS256", "typ": "JWT", "kid": "flask-jwt-oidc-test-client"} BASE_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-user", "realm_access": { "roles": ["idir"] } } FULL_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-user", "preferred_username": "test-user", "email": "test-email", "given_name": "test-given-name", "realm_access": { "roles": [ "core_view_all", "core_edit_mines", "core_admin", "core_abandoned_mines", "core_close_permits", "core_edit_all", "core_edit_do", "core_edit_investigations", "core_edit_parties", "core_edit_permits", "core_edit_reports", "core_edit_securities", "core_edit_variances", "core_environmental_reports", "core_geospatial", "idir", "core_edit_submissions", "core_edit_bonds" ] } } VIEW_ONLY_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-user", "email": "test-email", "realm_access": { "roles": ["core_view_all", "idir"] } } CREATE_ONLY_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-user", "realm_access": { "roles": ["core_edit_mines", "idir"] } } ADMIN_ONLY_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-user", "realm_access": { "roles": ["core_admin", "idir"] } } PROPONENT_ONLY_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-proponent", "email": "test-proponent-email@minespace.ca", "realm_access": { "roles": ["mds_minespace_proponents"] } } NROS_VFCBC_AUTH_CLAIMS = { "iss": "test_issuer", "sub": "43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc", "aud": "test_audience", "exp": 21531718745, "iat": 1531718745, "jti": "flask-jwt-oidc-test-support", "typ": "Bearer", "username": "test-proponent", "email": "test-proponent-email@minespace.ca", "realm_access": { "roles": ["core_edit_submissions"] } }
token_header = {'alg': 'RS256', 'typ': 'JWT', 'kid': 'flask-jwt-oidc-test-client'} base_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-user', 'realm_access': {'roles': ['idir']}} full_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-user', 'preferred_username': 'test-user', 'email': 'test-email', 'given_name': 'test-given-name', 'realm_access': {'roles': ['core_view_all', 'core_edit_mines', 'core_admin', 'core_abandoned_mines', 'core_close_permits', 'core_edit_all', 'core_edit_do', 'core_edit_investigations', 'core_edit_parties', 'core_edit_permits', 'core_edit_reports', 'core_edit_securities', 'core_edit_variances', 'core_environmental_reports', 'core_geospatial', 'idir', 'core_edit_submissions', 'core_edit_bonds']}} view_only_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-user', 'email': 'test-email', 'realm_access': {'roles': ['core_view_all', 'idir']}} create_only_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-user', 'realm_access': {'roles': ['core_edit_mines', 'idir']}} admin_only_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-user', 'realm_access': {'roles': ['core_admin', 'idir']}} proponent_only_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-proponent', 'email': 'test-proponent-email@minespace.ca', 'realm_access': {'roles': ['mds_minespace_proponents']}} nros_vfcbc_auth_claims = {'iss': 'test_issuer', 'sub': '43e6a245-0bf7-4ccf-9bd0-e7fb85fd18cc', 'aud': 'test_audience', 'exp': 21531718745, 'iat': 1531718745, 'jti': 'flask-jwt-oidc-test-support', 'typ': 'Bearer', 'username': 'test-proponent', 'email': 'test-proponent-email@minespace.ca', 'realm_access': {'roles': ['core_edit_submissions']}}
# Works from Zero til One Thousand! def InWords(num): # We must define all unique numbers TillFifteen = {0: "zero", 1: "one", 2: "two", 3: "three", 4: "four", 5: "five", 6: "six", 7: "seven", 8: "eight", 9: "nine", 10: "ten", 11: "eleven", 12: "twelve", 13: "thirteen", 15: "fifteen"} # Multiples of ten to add before unique numbers # For Example TWENTY four, THIRTY four, SEVENTY four MultiplesOfTen = {20: "twenty", 30: "thirty", 40: "forty", 50: "fifty", 60: "sixty", 70: "seventy", 80: "eighty", 90: "ninty", 100: "one hundred"} if type(num) != int: return "Invalid Input" else: if num < 20: try: # Try Unique List return (TillFifteen[num]) except KeyError: # sixTeen till nineTeen are returned by using # last digit added with added keyword teen # example: sixteen , seventeen, eighteen return (TillFifteen[int(str(num)[1])] + "teen") elif num % 10 == 0 and not (num > 100): # If number is exact multiple of ten # Fetch it from the MultiplesOfTen dictionary return (MultiplesOfTen[num]) elif num < 100: # From 21 and above, First number represent multiple of ten # rest of number is handled in above code (Recursive Call) multiple_of_ten = MultiplesOfTen[int(str(num)[0] + "0")] return (multiple_of_ten + " " + InWords(int(str(num)[1:]))) elif num < 1000: # From one hundred and above First number represents # unique number with added statement ' hundred and ' # For Example : Three hundred and four, Six hundred and four # rest of number is handled in above code (Recursive Call) unique_number = TillFifteen[int(str(num)[0])] return (unique_number + " hundred and " + InWords(int(str(num)[1:]))) else: # TODO return "One Thousand! (or above)" print(InWords(int(input("Enter Any number:")))) ''' Expected Outputs: Enter Any number:5 five Enter Any number:78 seventy eight Enter Any number:235 two hundred and thirty five '''
def in_words(num): till_fifteen = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 15: 'fifteen'} multiples_of_ten = {20: 'twenty', 30: 'thirty', 40: 'forty', 50: 'fifty', 60: 'sixty', 70: 'seventy', 80: 'eighty', 90: 'ninty', 100: 'one hundred'} if type(num) != int: return 'Invalid Input' elif num < 20: try: return TillFifteen[num] except KeyError: return TillFifteen[int(str(num)[1])] + 'teen' elif num % 10 == 0 and (not num > 100): return MultiplesOfTen[num] elif num < 100: multiple_of_ten = MultiplesOfTen[int(str(num)[0] + '0')] return multiple_of_ten + ' ' + in_words(int(str(num)[1:])) elif num < 1000: unique_number = TillFifteen[int(str(num)[0])] return unique_number + ' hundred and ' + in_words(int(str(num)[1:])) else: return 'One Thousand! (or above)' print(in_words(int(input('Enter Any number:')))) '\nExpected Outputs:\n\nEnter Any number:5\nfive\n\nEnter Any number:78\nseventy eight\n\nEnter Any number:235\ntwo hundred and thirty five\n'
# # PySNMP MIB module MBG-SNMP-LT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MBG-SNMP-LT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:00:25 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, SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint") mbgSnmpRoot, = mibBuilder.importSymbols("MBG-SNMP-ROOT-MIB", "mbgSnmpRoot") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") NotificationType, Counter64, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, ObjectIdentity, Unsigned32, MibIdentifier, Counter32, iso, TimeTicks, Bits, Gauge32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Counter64", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "ObjectIdentity", "Unsigned32", "MibIdentifier", "Counter32", "iso", "TimeTicks", "Bits", "Gauge32", "IpAddress") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") mbgLantime = ModuleIdentity((1, 3, 6, 1, 4, 1, 5597, 3)) mbgLantime.setRevisions(('2012-01-25 07:45', '2011-03-30 00:00', '2011-03-29 00:00', '2010-01-19 00:00', '2009-12-03 00:00', '2008-09-10 00:00', '2008-07-15 00:00', '2008-06-15 00:00', '2006-08-23 00:00', '2006-03-20 00:00', '2005-07-08 00:00',)) if mibBuilder.loadTexts: mbgLantime.setLastUpdated('201201250745Z') if mibBuilder.loadTexts: mbgLantime.setOrganization('www.meinberg.de') mbgLtInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 0)) mbgLtFirmwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 0, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtFirmwareVersion.setStatus('current') mbgLtFirmwareVersionVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 0, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtFirmwareVersionVal.setStatus('current') mbgLtNtp = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 1)) mbgLtNtpCurrentState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpCurrentState.setStatus('current') mbgLtNtpCurrentStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 99))).clone(namedValues=NamedValues(("notSynchronized", 0), ("noGoodRefclock", 1), ("syncToExtRefclock", 2), ("syncToSerialRefclock", 3), ("normalOperationPPS", 4), ("normalOperationRefclock", 5), ("unknown", 99))).clone(99)).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpCurrentStateVal.setStatus('current') mbgLtNtpStratum = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647)).clone(99)).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpStratum.setStatus('current') mbgLtNtpActiveRefclockId = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 99))).clone(namedValues=NamedValues(("localClock", 0), ("serialRefclock", 1), ("pps", 2), ("externalRefclock", 3), ("notSync", 99))).clone(99)).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpActiveRefclockId.setStatus('current') mbgLtNtpActiveRefclockName = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpActiveRefclockName.setStatus('current') mbgLtNtpActiveRefclockOffset = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpActiveRefclockOffset.setStatus('current') mbgLtNtpActiveRefclockOffsetVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647)).clone(1024000000)).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpActiveRefclockOffsetVal.setStatus('current') mbgLtNtpNumberOfRefclocks = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpNumberOfRefclocks.setStatus('current') mbgLtNtpAuthKeyId = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpAuthKeyId.setStatus('current') mbgLtNtpVersion = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtNtpVersion.setStatus('current') mbgLtRefclock = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2)) mbgLtRefClockType = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefClockType.setStatus('current') mbgLtRefClockTypeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22))).clone(namedValues=NamedValues(("notavailable", 0), ("mbgGPS167", 1), ("mbgGPS167BGTTGP", 2), ("mbgPZF509", 3), ("mbgPZF509BGTTGP", 4), ("mbgSHS", 5), ("mbgSHSBGT", 6), ("mbgSHSFRC", 7), ("mbgSHSFRCBGT", 8), ("mbgTCR509", 9), ("mbgTCR509BGTTGP", 10), ("mbgRDT", 11), ("mbgRDTBGTTGP", 12), ("mbgEDT", 13), ("mbgEDTBGTTGP", 14), ("mbgAHS", 15), ("mbgDHS", 16), ("mbgNDT167", 17), ("mbgNDT167BGT", 18), ("mbgDCT", 19), ("mbgDCTBGT", 20), ("mbgSHSTCR", 21), ("mbgSHSTCRBGT", 22)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefClockTypeVal.setStatus('current') mbgLtRefClockMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefClockMode.setStatus('current') mbgLtRefClockModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("notavailable", 0), ("normalOperation", 1), ("trackingSearching", 2), ("antennaFaulty", 3), ("warmBoot", 4), ("coldBoot", 5), ("antennaShortcircuit", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefClockModeVal.setStatus('current') mbgLtRefGpsState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsState.setStatus('current') mbgLtRefGpsStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notavailable", 0), ("synchronized", 1), ("notsynchronized", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsStateVal.setStatus('current') mbgLtRefGpsPosition = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsPosition.setStatus('current') mbgLtRefGpsSatellites = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsSatellites.setStatus('current') mbgLtRefGpsSatellitesGood = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsSatellitesGood.setStatus('current') mbgLtRefGpsSatellitesInView = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsSatellitesInView.setStatus('current') mbgLtRefPzfState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefPzfState.setStatus('current') mbgLtRefPzfStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("notavailable", 0), ("sync", 1), ("notsyncnow", 2), ("neversynced", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefPzfStateVal.setStatus('current') mbgLtRefPzfKorrelation = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefPzfKorrelation.setStatus('current') mbgLtRefPzfField = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefPzfField.setStatus('current') mbgLtRefGpsMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 15), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsMode.setStatus('current') mbgLtRefGpsModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("notavailable", 0), ("normalOperation", 1), ("trackingSearching", 2), ("antennaFaulty", 3), ("warmBoot", 4), ("coldBoot", 5), ("antennaShortcircuit", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsModeVal.setStatus('current') mbgLtRefIrigMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 17), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefIrigMode.setStatus('current') mbgLtRefIrigModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("notavailable", 0), ("locked", 1), ("notlocked", 2), ("telegramError", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefIrigModeVal.setStatus('current') mbgLtRefPzfMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 19), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefPzfMode.setStatus('current') mbgLtRefPzfModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notavailable", 0), ("normalOperation", 1), ("antennaFaulty", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefPzfModeVal.setStatus('current') mbgLtRefIrigState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 21), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefIrigState.setStatus('current') mbgLtRefIrigStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefIrigStateVal.setStatus('current') mbgLtRefSHSMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 23), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefSHSMode.setStatus('current') mbgLtRefSHSModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notavailable", 0), ("normalOperation", 1), ("stoppedTimeLimitError", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefSHSModeVal.setStatus('current') mbgLtRefSHSTimeDiff = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefSHSTimeDiff.setStatus('current') mbgLtRefDctState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 26), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefDctState.setStatus('current') mbgLtRefDctStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("notavailable", 0), ("sync", 1), ("notsyncnow", 2), ("neversynced", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefDctStateVal.setStatus('current') mbgLtRefDctField = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 28), DisplayString().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefDctField.setStatus('current') mbgLtRefDctMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 29), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefDctMode.setStatus('current') mbgLtRefDctModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notavailable", 0), ("normalOperation", 1), ("antennaFaulty", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefDctModeVal.setStatus('current') mbgLtRefGpsLeapSecond = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 31), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsLeapSecond.setStatus('current') mbgLtRefGpsLeapCorrection = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 32), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefGpsLeapCorrection.setStatus('current') mbgLtMrs = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50)) mbgLtRefMrsRef = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefMrsRef.setStatus('current') mbgLtRefMrsRefVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 99))).clone(namedValues=NamedValues(("notavailable", 0), ("refGps", 1), ("refIrig", 2), ("refPps", 3), ("refFreq", 4), ("refPtp", 5), ("refNtp", 6), ("refFreeRun", 99)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefMrsRefVal.setStatus('current') mbgLtRefMrsRefList = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefMrsRefList.setStatus('current') mbgLtRefMrsPrioList = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtRefMrsPrioList.setStatus('current') mbgLtMrsRef = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10)) mbgLtMrsRefGps = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1)) mbgLtMrsGpsOffs = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsGpsOffs.setStatus('current') mbgLtMrsGpsOffsVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsGpsOffsVal.setStatus('current') mbgLtMrsGpsOffsBase = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 6, 9))).clone(namedValues=NamedValues(("baseSeconds", 0), ("baseMiliseconds", 3), ("baseMicroseconds", 6), ("baseNanoseconds", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsGpsOffsBase.setStatus('current') mbgLtMrsGpsPrio = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsGpsPrio.setStatus('current') mbgLtMrsGpsState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsGpsState.setStatus('current') mbgLtMrsGpsStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notAvailable", 0), ("notSupported", 1), ("notConnected", 2), ("noSignal", 3), ("hasLocked", 4), ("isAvailable", 5), ("isAccurate", 6), ("isMaster", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsGpsStateVal.setStatus('current') mbgLtMrsGpsPrecision = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsGpsPrecision.setStatus('current') mbgLtMrsRefIrig = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2)) mbgLtMrsIrigOffs = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsIrigOffs.setStatus('current') mbgLtMrsIrigOffsVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsIrigOffsVal.setStatus('current') mbgLtMrsIrigOffsBase = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 6, 9))).clone(namedValues=NamedValues(("baseSeconds", 0), ("baseMiliseconds", 3), ("baseMicroseconds", 6), ("baseNanoseconds", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsIrigOffsBase.setStatus('current') mbgLtMrsIrigPrio = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsIrigPrio.setStatus('current') mbgLtMrsIrigState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsIrigState.setStatus('current') mbgLtMrsIrigStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notAvailable", 0), ("notSupported", 1), ("notConnected", 2), ("noSignal", 3), ("hasLocked", 4), ("isAvailable", 5), ("isAccurate", 6), ("isMaster", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsIrigStateVal.setStatus('current') mbgLtMrsIrigCorr = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsIrigCorr.setStatus('current') mbgLtMrsIrigOffsLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsIrigOffsLimit.setStatus('current') mbgLtMrsIrigPrecision = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsIrigPrecision.setStatus('current') mbgLtMrsRefPps = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3)) mbgLtMrsPpsOffs = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPpsOffs.setStatus('current') mbgLtMrsPpsOffsVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPpsOffsVal.setStatus('current') mbgLtMrsPpsOffsBase = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 6, 9))).clone(namedValues=NamedValues(("baseSeconds", 0), ("baseMiliseconds", 3), ("baseMicroseconds", 6), ("baseNanoseconds", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPpsOffsBase.setStatus('current') mbgLtMrsPpsPrio = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPpsPrio.setStatus('current') mbgLtMrsPpsState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPpsState.setStatus('current') mbgLtMrsPpsStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notAvailable", 0), ("notSupported", 1), ("notConnected", 2), ("noSignal", 3), ("hasLocked", 4), ("isAvailable", 5), ("isAccurate", 6), ("isMaster", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPpsStateVal.setStatus('current') mbgLtMrsPpsCorr = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsPpsCorr.setStatus('current') mbgLtMrsPpsOffsLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsPpsOffsLimit.setStatus('current') mbgLtMrsPpsPrecision = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsPpsPrecision.setStatus('current') mbgLtMrsRefFreq = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4)) mbgLtMrsFreqOffs = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsFreqOffs.setStatus('current') mbgLtMrsFreqOffsVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsFreqOffsVal.setStatus('current') mbgLtMrsFreqOffsBase = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 6, 9))).clone(namedValues=NamedValues(("baseSeconds", 0), ("baseMiliseconds", 3), ("baseMicroseconds", 6), ("baseNanoseconds", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsFreqOffsBase.setStatus('current') mbgLtMrsFreqPrio = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsFreqPrio.setStatus('current') mbgLtMrsFreqState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsFreqState.setStatus('current') mbgLtMrsFreqStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notAvailable", 0), ("notSupported", 1), ("notConnected", 2), ("noSignal", 3), ("hasLocked", 4), ("isAvailable", 5), ("isAccurate", 6), ("isMaster", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsFreqStateVal.setStatus('current') mbgLtMrsFreqCorr = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsFreqCorr.setStatus('current') mbgLtMrsFreqOffsLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsFreqOffsLimit.setStatus('current') mbgLtMrsFreqPrecision = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsFreqPrecision.setStatus('current') mbgLtMrsRefPtp = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5)) mbgLtMrsPtpOffs = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPtpOffs.setStatus('current') mbgLtMrsPtpOffsVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPtpOffsVal.setStatus('current') mbgLtMrsPtpOffsBase = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 6, 9))).clone(namedValues=NamedValues(("baseSeconds", 0), ("baseMiliseconds", 3), ("baseMicroseconds", 6), ("baseNanoseconds", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPtpOffsBase.setStatus('current') mbgLtMrsPtpPrio = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPtpPrio.setStatus('current') mbgLtMrsPtpState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPtpState.setStatus('current') mbgLtMrsPtpStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notAvailable", 0), ("notSupported", 1), ("notConnected", 2), ("noSignal", 3), ("hasLocked", 4), ("isAvailable", 5), ("isAccurate", 6), ("isMaster", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsPtpStateVal.setStatus('current') mbgLtMrsPtpCorr = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsPtpCorr.setStatus('current') mbgLtMrsPtpOffsLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsPtpOffsLimit.setStatus('current') mbgLtMrsPtpPrecision = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsPtpPrecision.setStatus('current') mbgLtMrsRefNtp = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6)) mbgLtMrsNtpOffs = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsNtpOffs.setStatus('current') mbgLtMrsNtpOffsVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsNtpOffsVal.setStatus('current') mbgLtMrsNtpOffsBase = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 6, 9))).clone(namedValues=NamedValues(("baseSeconds", 0), ("baseMiliseconds", 3), ("baseMicroseconds", 6), ("baseNanoseconds", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsNtpOffsBase.setStatus('current') mbgLtMrsNtpPrio = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsNtpPrio.setStatus('current') mbgLtMrsNtpState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsNtpState.setStatus('current') mbgLtMrsNtpStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notAvailable", 0), ("notSupported", 1), ("notConnected", 2), ("noSignal", 3), ("hasLocked", 4), ("isAvailable", 5), ("isAccurate", 6), ("isMaster", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtMrsNtpStateVal.setStatus('current') mbgLtMrsNtpCorr = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsNtpCorr.setStatus('current') mbgLtMrsNtpOffsLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsNtpOffsLimit.setStatus('current') mbgLtMrsNtpPrecision = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtMrsNtpPrecision.setStatus('current') mbgLtNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 3)) mbgLtTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0)) mbgLtTrapNTPNotSync = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 1)) if mibBuilder.loadTexts: mbgLtTrapNTPNotSync.setStatus('current') mbgLtTrapNTPStopped = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 2)) if mibBuilder.loadTexts: mbgLtTrapNTPStopped.setStatus('current') mbgLtTrapServerBoot = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 3)) if mibBuilder.loadTexts: mbgLtTrapServerBoot.setStatus('current') mbgLtTrapReceiverNotResponding = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 4)) if mibBuilder.loadTexts: mbgLtTrapReceiverNotResponding.setStatus('current') mbgLtTrapReceiverNotSync = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 5)) if mibBuilder.loadTexts: mbgLtTrapReceiverNotSync.setStatus('current') mbgLtTrapAntennaFaulty = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 6)) if mibBuilder.loadTexts: mbgLtTrapAntennaFaulty.setStatus('current') mbgLtTrapAntennaReconnect = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 7)) if mibBuilder.loadTexts: mbgLtTrapAntennaReconnect.setStatus('current') mbgLtTrapConfigChanged = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 8)) if mibBuilder.loadTexts: mbgLtTrapConfigChanged.setStatus('current') mbgLtTrapLeapSecondAnnounced = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 9)) if mibBuilder.loadTexts: mbgLtTrapLeapSecondAnnounced.setStatus('current') mbgLtTrapSHSTimeLimitError = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 10)) if mibBuilder.loadTexts: mbgLtTrapSHSTimeLimitError.setStatus('current') mbgLtTrapSecondaryRecNotSync = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 11)) if mibBuilder.loadTexts: mbgLtTrapSecondaryRecNotSync.setStatus('current') mbgLtTrapPowerSupplyFailure = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 12)) if mibBuilder.loadTexts: mbgLtTrapPowerSupplyFailure.setStatus('current') mbgLtTrapAntennaShortCircuit = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 13)) if mibBuilder.loadTexts: mbgLtTrapAntennaShortCircuit.setStatus('current') mbgLtTrapReceiverSync = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 14)) if mibBuilder.loadTexts: mbgLtTrapReceiverSync.setStatus('current') mbgLtTrapNTPClientAlarm = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 15)) if mibBuilder.loadTexts: mbgLtTrapNTPClientAlarm.setStatus('current') mbgLtTrapPowerSupplyUp = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 16)) if mibBuilder.loadTexts: mbgLtTrapPowerSupplyUp.setStatus('current') mbgLtTrapNetworkDown = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 17)) if mibBuilder.loadTexts: mbgLtTrapNetworkDown.setStatus('current') mbgLtTrapNetworkUp = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 18)) if mibBuilder.loadTexts: mbgLtTrapNetworkUp.setStatus('current') mbgLtTrapSecondaryRecNotResp = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 19)) if mibBuilder.loadTexts: mbgLtTrapSecondaryRecNotResp.setStatus('current') mbgLtTrapXmrLimitExceeded = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 30)) if mibBuilder.loadTexts: mbgLtTrapXmrLimitExceeded.setStatus('current') mbgLtTrapXmrRefDisconnect = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 31)) if mibBuilder.loadTexts: mbgLtTrapXmrRefDisconnect.setStatus('current') mbgLtTrapXmrRefReconnect = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 32)) if mibBuilder.loadTexts: mbgLtTrapXmrRefReconnect.setStatus('current') mbgLtTrapFdmError = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 33)) if mibBuilder.loadTexts: mbgLtTrapFdmError.setStatus('current') mbgLtTrapSHSTimeLimitWarning = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 34)) if mibBuilder.loadTexts: mbgLtTrapSHSTimeLimitWarning.setStatus('current') mbgLtTrapSecondaryRecSync = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 35)) if mibBuilder.loadTexts: mbgLtTrapSecondaryRecSync.setStatus('current') mbgLtTrapNTPSync = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 36)) if mibBuilder.loadTexts: mbgLtTrapNTPSync.setStatus('current') mbgLtTrapPtpPortDisconnected = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 37)) if mibBuilder.loadTexts: mbgLtTrapPtpPortDisconnected.setStatus('current') mbgLtTrapPtpPortConnected = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 38)) if mibBuilder.loadTexts: mbgLtTrapPtpPortConnected.setStatus('current') mbgLtTrapPtpStateChanged = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 39)) if mibBuilder.loadTexts: mbgLtTrapPtpStateChanged.setStatus('current') mbgLtTrapPtpError = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 40)) if mibBuilder.loadTexts: mbgLtTrapPtpError.setStatus('current') mbgLtTrapNormalOperation = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 77)) if mibBuilder.loadTexts: mbgLtTrapNormalOperation.setStatus('current') mbgLtTrapHeartbeat = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 88)) if mibBuilder.loadTexts: mbgLtTrapHeartbeat.setStatus('current') mbgLtTrapTestNotification = NotificationType((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 99)) if mibBuilder.loadTexts: mbgLtTrapTestNotification.setStatus('current') mbgLtTrapMessage = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 100), DisplayString().clone('no event')).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtTrapMessage.setStatus('current') mbgLtCfg = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4)) mbgLtCfgNetwork = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1)) mbgLtCfgHostname = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgHostname.setStatus('current') mbgLtCfgDomainname = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgDomainname.setStatus('current') mbgLtCfgNameserver1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNameserver1.setStatus('current') mbgLtCfgNameserver2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNameserver2.setStatus('current') mbgLtCfgSyslogserver1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSyslogserver1.setStatus('current') mbgLtCfgSyslogserver2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSyslogserver2.setStatus('current') mbgLtCfgTelnetAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgTelnetAccess.setStatus('current') mbgLtCfgFTPAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgFTPAccess.setStatus('current') mbgLtCfgHTTPAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgHTTPAccess.setStatus('current') mbgLtCfgHTTPSAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgHTTPSAccess.setStatus('current') mbgLtCfgSNMPAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPAccess.setStatus('current') mbgLtCfgSambaAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSambaAccess.setStatus('current') mbgLtCfgIPv6Access = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgIPv6Access.setStatus('current') mbgLtCfgSSHAccess = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSSHAccess.setStatus('current') mbgLtCfgNTP = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2)) mbgLtCfgNTPServer1 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1)) mbgLtCfgNTPServer2 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2)) mbgLtCfgNTPServer3 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3)) mbgLtCfgNTPServer4 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4)) mbgLtCfgNTPServer5 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5)) mbgLtCfgNTPServer6 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6)) mbgLtCfgNTPServer7 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7)) mbgLtCfgNTPServer1IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer1IP.setStatus('current') mbgLtCfgNTPServer1Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer1Key.setStatus('current') mbgLtCfgNTPServer1Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer1Autokey.setStatus('current') mbgLtCfgNTPServer1Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer1Prefer.setStatus('current') mbgLtCfgNTPServer2IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer2IP.setStatus('current') mbgLtCfgNTPServer2Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer2Key.setStatus('current') mbgLtCfgNTPServer2Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer2Autokey.setStatus('current') mbgLtCfgNTPServer2Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer2Prefer.setStatus('current') mbgLtCfgNTPServer3IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer3IP.setStatus('current') mbgLtCfgNTPServer3Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer3Key.setStatus('current') mbgLtCfgNTPServer3Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer3Autokey.setStatus('current') mbgLtCfgNTPServer3Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer3Prefer.setStatus('current') mbgLtCfgNTPServer4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer4IP.setStatus('current') mbgLtCfgNTPServer4Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer4Key.setStatus('current') mbgLtCfgNTPServer4Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer4Autokey.setStatus('current') mbgLtCfgNTPServer4Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer4Prefer.setStatus('current') mbgLtCfgNTPServer5IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer5IP.setStatus('current') mbgLtCfgNTPServer5Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer5Key.setStatus('current') mbgLtCfgNTPServer5Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer5Autokey.setStatus('current') mbgLtCfgNTPServer5Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer5Prefer.setStatus('current') mbgLtCfgNTPServer6IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer6IP.setStatus('current') mbgLtCfgNTPServer6Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer6Key.setStatus('current') mbgLtCfgNTPServer6Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer6Autokey.setStatus('current') mbgLtCfgNTPServer6Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer6Prefer.setStatus('current') mbgLtCfgNTPServer7IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer7IP.setStatus('current') mbgLtCfgNTPServer7Key = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer7Key.setStatus('current') mbgLtCfgNTPServer7Autokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer7Autokey.setStatus('current') mbgLtCfgNTPServer7Prefer = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPServer7Prefer.setStatus('current') mbgLtCfgNTPStratumLocalClock = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPStratumLocalClock.setStatus('current') mbgLtCfgNTPTrustedKey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPTrustedKey.setStatus('current') mbgLtCfgNTPBroadcastIP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPBroadcastIP.setStatus('current') mbgLtCfgNTPBroadcastKey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPBroadcastKey.setStatus('current') mbgLtCfgNTPBroadcastAutokey = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPBroadcastAutokey.setStatus('current') mbgLtCfgNTPAutokeyFeature = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPAutokeyFeature.setStatus('current') mbgLtCfgNTPAtomPPS = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNTPAtomPPS.setStatus('current') mbgLtCfgEMail = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3)) mbgLtCfgEMailTo = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEMailTo.setStatus('current') mbgLtCfgEMailFrom = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEMailFrom.setStatus('current') mbgLtCfgEMailSmarthost = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEMailSmarthost.setStatus('current') mbgLtCfgSNMP = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4)) mbgLtCfgSNMPTrapReceiver1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPTrapReceiver1.setStatus('current') mbgLtCfgSNMPTrapReceiver2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPTrapReceiver2.setStatus('current') mbgLtCfgSNMPTrapRec1Community = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPTrapRec1Community.setStatus('current') mbgLtCfgSNMPTrapRec2Community = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPTrapRec2Community.setStatus('current') mbgLtCfgSNMPReadOnlyCommunity = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPReadOnlyCommunity.setStatus('current') mbgLtCfgSNMPReadWriteCommunity = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPReadWriteCommunity.setStatus('current') mbgLtCfgSNMPContact = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPContact.setStatus('current') mbgLtCfgSNMPLocation = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSNMPLocation.setStatus('current') mbgLtCfgWinpopup = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 5)) mbgLtCfgWMailAddress1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 5, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgWMailAddress1.setStatus('current') mbgLtCfgWMailAddress2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 5, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgWMailAddress2.setStatus('current') mbgLtCfgWalldisplay = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6)) mbgLtCfgVP100Display1IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgVP100Display1IP.setStatus('current') mbgLtCfgVP100Display1SN = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgVP100Display1SN.setStatus('current') mbgLtCfgVP100Display2IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgVP100Display2IP.setStatus('current') mbgLtCfgVP100Display2SN = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgVP100Display2SN.setStatus('current') mbgLtCfgNotify = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7)) mbgLtCfgNotifyNTPNotSync = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyNTPNotSync.setStatus('current') mbgLtCfgNotifyNTPStopped = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyNTPStopped.setStatus('current') mbgLtCfgNotifyServerBoot = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyServerBoot.setStatus('current') mbgLtCfgNotifyRefclkNoResponse = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyRefclkNoResponse.setStatus('current') mbgLtCfgNotifyRefclockNotSync = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyRefclockNotSync.setStatus('current') mbgLtCfgNotifyAntennaFaulty = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyAntennaFaulty.setStatus('current') mbgLtCfgNotifyAntennaReconnect = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyAntennaReconnect.setStatus('current') mbgLtCfgNotifyConfigChanged = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyConfigChanged.setStatus('current') mbgLtCfgNotifySHSTimeLimitError = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 9), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifySHSTimeLimitError.setStatus('current') mbgLtCfgNotifyLeapSecond = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgNotifyLeapSecond.setStatus('current') mbgLtCfgEthernet = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8)) mbgLtCfgEthernetIf0 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0)) mbgLtCfgEthernetIf1 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1)) mbgLtCfgEthernetIf2 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2)) mbgLtCfgEthernetIf3 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3)) mbgLtCfgEthernetIf4 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4)) mbgLtCfgEthernetIf5 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5)) mbgLtCfgEthernetIf6 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6)) mbgLtCfgEthernetIf7 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7)) mbgLtCfgEthernetIf8 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8)) mbgLtCfgEthernetIf9 = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9)) mbgLtCfgEthernetIf0IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv4IP.setStatus('current') mbgLtCfgEthernetIf0IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf0IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf0DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0DHCPClient.setStatus('current') mbgLtCfgEthernetIf0IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6IP1.setStatus('current') mbgLtCfgEthernetIf0IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6IP2.setStatus('current') mbgLtCfgEthernetIf0IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6IP3.setStatus('current') mbgLtCfgEthernetIf0IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf0NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf0NetLinkMode.setStatus('current') mbgLtCfgEthernetIf1IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv4IP.setStatus('current') mbgLtCfgEthernetIf1IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf1IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf1DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1DHCPClient.setStatus('current') mbgLtCfgEthernetIf1IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6IP1.setStatus('current') mbgLtCfgEthernetIf1IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6IP2.setStatus('current') mbgLtCfgEthernetIf1IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6IP3.setStatus('current') mbgLtCfgEthernetIf1IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf1NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf1NetLinkMode.setStatus('current') mbgLtCfgEthernetIf2IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv4IP.setStatus('current') mbgLtCfgEthernetIf2IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf2IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf2DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2DHCPClient.setStatus('current') mbgLtCfgEthernetIf2IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6IP1.setStatus('current') mbgLtCfgEthernetIf2IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6IP2.setStatus('current') mbgLtCfgEthernetIf2IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6IP3.setStatus('current') mbgLtCfgEthernetIf2IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf2NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf2NetLinkMode.setStatus('current') mbgLtCfgEthernetIf3IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv4IP.setStatus('current') mbgLtCfgEthernetIf3IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf3IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf3DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3DHCPClient.setStatus('current') mbgLtCfgEthernetIf3IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6IP1.setStatus('current') mbgLtCfgEthernetIf3IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6IP2.setStatus('current') mbgLtCfgEthernetIf3IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6IP3.setStatus('current') mbgLtCfgEthernetIf3IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf3NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf3NetLinkMode.setStatus('current') mbgLtCfgEthernetIf4IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv4IP.setStatus('current') mbgLtCfgEthernetIf4IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf4IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf4DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4DHCPClient.setStatus('current') mbgLtCfgEthernetIf4IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6IP1.setStatus('current') mbgLtCfgEthernetIf4IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6IP2.setStatus('current') mbgLtCfgEthernetIf4IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6IP3.setStatus('current') mbgLtCfgEthernetIf4IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf4NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf4NetLinkMode.setStatus('current') mbgLtCfgEthernetIf5IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv4IP.setStatus('current') mbgLtCfgEthernetIf5IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf5IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf5DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5DHCPClient.setStatus('current') mbgLtCfgEthernetIf5IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6IP1.setStatus('current') mbgLtCfgEthernetIf5IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6IP2.setStatus('current') mbgLtCfgEthernetIf5IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6IP3.setStatus('current') mbgLtCfgEthernetIf5IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf5NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf5NetLinkMode.setStatus('current') mbgLtCfgEthernetIf6IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv4IP.setStatus('current') mbgLtCfgEthernetIf6IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf6IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf6DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6DHCPClient.setStatus('current') mbgLtCfgEthernetIf6IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6IP1.setStatus('current') mbgLtCfgEthernetIf6IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6IP2.setStatus('current') mbgLtCfgEthernetIf6IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6IP3.setStatus('current') mbgLtCfgEthernetIf6IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf6NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf6NetLinkMode.setStatus('current') mbgLtCfgEthernetIf7IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv4IP.setStatus('current') mbgLtCfgEthernetIf7IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf7IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf7DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7DHCPClient.setStatus('current') mbgLtCfgEthernetIf7IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6IP1.setStatus('current') mbgLtCfgEthernetIf7IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6IP2.setStatus('current') mbgLtCfgEthernetIf7IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6IP3.setStatus('current') mbgLtCfgEthernetIf7IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf7NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf7NetLinkMode.setStatus('current') mbgLtCfgEthernetIf8IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv4IP.setStatus('current') mbgLtCfgEthernetIf8IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf8IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf8DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8DHCPClient.setStatus('current') mbgLtCfgEthernetIf8IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6IP1.setStatus('current') mbgLtCfgEthernetIf8IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6IP2.setStatus('current') mbgLtCfgEthernetIf8IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6IP3.setStatus('current') mbgLtCfgEthernetIf8IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf8NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf8NetLinkMode.setStatus('current') mbgLtCfgEthernetIf9IPv4IP = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv4IP.setStatus('current') mbgLtCfgEthernetIf9IPv4Netmask = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv4Netmask.setStatus('current') mbgLtCfgEthernetIf9IPv4Gateway = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv4Gateway.setStatus('current') mbgLtCfgEthernetIf9DHCPClient = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9DHCPClient.setStatus('current') mbgLtCfgEthernetIf9IPv6IP1 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6IP1.setStatus('current') mbgLtCfgEthernetIf9IPv6IP2 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6IP2.setStatus('current') mbgLtCfgEthernetIf9IPv6IP3 = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6IP3.setStatus('current') mbgLtCfgEthernetIf9IPv6Autoconf = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6Autoconf.setStatus('current') mbgLtCfgEthernetIf9NetLinkMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("autosensing", 0), ("link10half", 1), ("link10full", 2), ("link100half", 3), ("link100full", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgEthernetIf9NetLinkMode.setStatus('current') mbgLtCfgSHS = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 9)) mbgLtCfgSHSCritLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 9, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSHSCritLimit.setStatus('current') mbgLtCfgSHSWarnLimit = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 9, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgSHSWarnLimit.setStatus('current') mbgLtCfgMRS = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 10)) mbgLtCfgMRSRefPriority = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 10, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCfgMRSRefPriority.setStatus('current') mbgLtCmd = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 5)) mbgLtCmdExecute = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("ready", 0), ("doReboot", 1), ("doFirmwareUpdate", 2), ("doReloadConfig", 3), ("doGenerateSSHKey", 4), ("doGenerateHTTPSKey", 5), ("doResetFactoryDefaults", 6), ("doGenerateNewNTPAutokeyCert", 7), ("doSendTestNotification", 8), ("doResetSHSTimeLimitError", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCmdExecute.setStatus('current') mbgLtCmdSetRefTime = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 5, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mbgLtCmdSetRefTime.setStatus('current') mbgLtPtp = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 10)) mbgLtPtpMode = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpMode.setStatus('current') mbgLtPtpModeVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("stopped", 0), ("master", 1), ("slave", 2), ("ordinary", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpModeVal.setStatus('current') mbgLtPtpPortState = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpPortState.setStatus('current') mbgLtPtpPortStateVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("uncalibrated", 0), ("initializing", 1), ("listening", 2), ("master", 3), ("slave", 4), ("unicastmaster", 5), ("unicastslave", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpPortStateVal.setStatus('current') mbgLtPtpOffsetFromGM = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpOffsetFromGM.setStatus('current') mbgLtPtpOffsetFromGMVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setUnits('ns').setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpOffsetFromGMVal.setStatus('current') mbgLtPtpDelay = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 7), DisplayString()).setUnits('ns').setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpDelay.setStatus('current') mbgLtPtpDelayVal = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setUnits('ns').setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtPtpDelayVal.setStatus('current') mbgLtFdm = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 11)) mbgLtFdmPlFreq = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 11, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtFdmPlFreq.setStatus('current') mbgLtFdmFreqDev = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 11, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtFdmFreqDev.setStatus('current') mbgLtFdmNomFreq = MibScalar((1, 3, 6, 1, 4, 1, 5597, 3, 11, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mbgLtFdmNomFreq.setStatus('current') mbgLtConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 90)) mbgLtCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 90, 1)) mbgLtGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 5597, 3, 90, 2)) mbgLtCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 5597, 3, 90, 1, 1)).setObjects(("MBG-SNMP-LT-MIB", "mbgLtObjectsGroup"), ("MBG-SNMP-LT-MIB", "mbgLtTrapsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mbgLtCompliance = mbgLtCompliance.setStatus('current') mbgLtObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5597, 3, 90, 2, 1)) for _mbgLtObjectsGroup_obj in [[("MBG-SNMP-LT-MIB", "mbgLtFirmwareVersion"), ("MBG-SNMP-LT-MIB", "mbgLtFirmwareVersionVal"), ("MBG-SNMP-LT-MIB", "mbgLtNtpCurrentState"), ("MBG-SNMP-LT-MIB", "mbgLtNtpCurrentStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtNtpStratum"), ("MBG-SNMP-LT-MIB", "mbgLtNtpActiveRefclockId"), ("MBG-SNMP-LT-MIB", "mbgLtNtpActiveRefclockName"), ("MBG-SNMP-LT-MIB", "mbgLtNtpActiveRefclockOffset"), ("MBG-SNMP-LT-MIB", "mbgLtNtpActiveRefclockOffsetVal"), ("MBG-SNMP-LT-MIB", "mbgLtNtpNumberOfRefclocks"), ("MBG-SNMP-LT-MIB", "mbgLtNtpAuthKeyId"), ("MBG-SNMP-LT-MIB", "mbgLtNtpVersion"), ("MBG-SNMP-LT-MIB", "mbgLtRefClockType"), ("MBG-SNMP-LT-MIB", "mbgLtRefClockTypeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefClockMode"), ("MBG-SNMP-LT-MIB", "mbgLtRefClockModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsState"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsPosition"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsSatellites"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsSatellitesGood"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsSatellitesInView"), ("MBG-SNMP-LT-MIB", "mbgLtRefPzfState"), ("MBG-SNMP-LT-MIB", "mbgLtRefPzfStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefPzfKorrelation"), ("MBG-SNMP-LT-MIB", "mbgLtRefPzfField"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsMode"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefIrigMode"), ("MBG-SNMP-LT-MIB", "mbgLtRefIrigModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefPzfMode"), ("MBG-SNMP-LT-MIB", "mbgLtRefPzfModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefIrigState"), ("MBG-SNMP-LT-MIB", "mbgLtRefIrigStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefSHSMode"), ("MBG-SNMP-LT-MIB", "mbgLtRefSHSModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefSHSTimeDiff"), ("MBG-SNMP-LT-MIB", "mbgLtRefDctState"), ("MBG-SNMP-LT-MIB", "mbgLtRefDctStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefDctField"), ("MBG-SNMP-LT-MIB", "mbgLtRefDctMode"), ("MBG-SNMP-LT-MIB", "mbgLtRefDctModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsLeapSecond"), ("MBG-SNMP-LT-MIB", "mbgLtRefGpsLeapCorrection"), ("MBG-SNMP-LT-MIB", "mbgLtRefMrsRef"), ("MBG-SNMP-LT-MIB", "mbgLtRefMrsRefVal"), ("MBG-SNMP-LT-MIB", "mbgLtRefMrsRefList"), ("MBG-SNMP-LT-MIB", "mbgLtRefMrsPrioList"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsOffs"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsOffsVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsOffsBase"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsPrio"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsState"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsGpsPrecision"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigOffs"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigOffsVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigOffsBase"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigPrio"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigState"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigCorr"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigOffsLimit"), ("MBG-SNMP-LT-MIB", "mbgLtMrsIrigPrecision"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsOffs"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsOffsVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsOffsBase"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsPrio"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsState"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsCorr"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsOffsLimit"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPpsPrecision"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqOffs"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqOffsVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqOffsBase"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqPrio"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqState"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqCorr"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqOffsLimit"), ("MBG-SNMP-LT-MIB", "mbgLtMrsFreqPrecision"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpOffs"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpOffsVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpOffsBase"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpPrio"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpState"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpCorr"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpOffsLimit"), ("MBG-SNMP-LT-MIB", "mbgLtMrsPtpPrecision"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpOffs"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpOffsVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpOffsBase"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpPrio"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpState"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpCorr"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpOffsLimit"), ("MBG-SNMP-LT-MIB", "mbgLtMrsNtpPrecision"), ("MBG-SNMP-LT-MIB", "mbgLtTrapMessage"), ("MBG-SNMP-LT-MIB", "mbgLtCfgHostname"), ("MBG-SNMP-LT-MIB", "mbgLtCfgDomainname"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNameserver1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNameserver2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSyslogserver1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSyslogserver2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgTelnetAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgFTPAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgHTTPAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgHTTPSAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSambaAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgIPv6Access"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSSHAccess"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer1IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer1Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer1Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer1Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer2IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer2Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer2Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer2Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer3IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer3Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer3Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer3Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer4Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer4Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer4Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer5IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer5Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer5Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer5Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer6IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer6Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer6Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer6Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer7IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer7Key"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer7Autokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPServer7Prefer"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPStratumLocalClock"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPTrustedKey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPBroadcastIP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPBroadcastKey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPBroadcastAutokey"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPAutokeyFeature"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNTPAtomPPS"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEMailTo"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEMailFrom"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEMailSmarthost"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPTrapReceiver1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPTrapReceiver2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPTrapRec1Community"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPTrapRec2Community"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPReadOnlyCommunity"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPReadWriteCommunity"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPContact"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSNMPLocation"), ("MBG-SNMP-LT-MIB", "mbgLtCfgWMailAddress1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgWMailAddress2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgVP100Display1IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgVP100Display1SN"), ("MBG-SNMP-LT-MIB", "mbgLtCfgVP100Display2IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgVP100Display2SN"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyNTPNotSync"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyNTPStopped"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyServerBoot"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyRefclkNoResponse"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyRefclockNotSync"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyAntennaFaulty"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyAntennaReconnect"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyConfigChanged"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifySHSTimeLimitError"), ("MBG-SNMP-LT-MIB", "mbgLtCfgNotifyLeapSecond"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf0NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf1NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf2NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf3NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf4NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf5NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf6NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf7NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv6IP2")], [("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf8NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv4IP"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv4Netmask"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv4Gateway"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9DHCPClient"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv6IP1"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv6IP2"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv6IP3"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9IPv6Autoconf"), ("MBG-SNMP-LT-MIB", "mbgLtCfgEthernetIf9NetLinkMode"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSHSCritLimit"), ("MBG-SNMP-LT-MIB", "mbgLtCfgSHSWarnLimit"), ("MBG-SNMP-LT-MIB", "mbgLtCfgMRSRefPriority"), ("MBG-SNMP-LT-MIB", "mbgLtCmdExecute"), ("MBG-SNMP-LT-MIB", "mbgLtCmdSetRefTime"), ("MBG-SNMP-LT-MIB", "mbgLtFdmPlFreq"), ("MBG-SNMP-LT-MIB", "mbgLtFdmFreqDev"), ("MBG-SNMP-LT-MIB", "mbgLtFdmNomFreq"), ("MBG-SNMP-LT-MIB", "mbgLtPtpMode"), ("MBG-SNMP-LT-MIB", "mbgLtPtpModeVal"), ("MBG-SNMP-LT-MIB", "mbgLtPtpPortState"), ("MBG-SNMP-LT-MIB", "mbgLtPtpPortStateVal"), ("MBG-SNMP-LT-MIB", "mbgLtPtpOffsetFromGM"), ("MBG-SNMP-LT-MIB", "mbgLtPtpOffsetFromGMVal"), ("MBG-SNMP-LT-MIB", "mbgLtPtpDelay"), ("MBG-SNMP-LT-MIB", "mbgLtPtpDelayVal")]]: if getattr(mibBuilder, 'version', 0) < (4, 4, 2): # WARNING: leading objects get lost here! mbgLtObjectsGroup = mbgLtObjectsGroup.setObjects(*_mbgLtObjectsGroup_obj) else: mbgLtObjectsGroup = mbgLtObjectsGroup.setObjects(*_mbgLtObjectsGroup_obj, **dict(append=True)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mbgLtObjectsGroup = mbgLtObjectsGroup.setStatus('current') mbgLtTrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 5597, 3, 90, 2, 2)).setObjects(("MBG-SNMP-LT-MIB", "mbgLtTrapNTPNotSync"), ("MBG-SNMP-LT-MIB", "mbgLtTrapNTPStopped"), ("MBG-SNMP-LT-MIB", "mbgLtTrapServerBoot"), ("MBG-SNMP-LT-MIB", "mbgLtTrapReceiverNotResponding"), ("MBG-SNMP-LT-MIB", "mbgLtTrapReceiverNotSync"), ("MBG-SNMP-LT-MIB", "mbgLtTrapAntennaFaulty"), ("MBG-SNMP-LT-MIB", "mbgLtTrapAntennaReconnect"), ("MBG-SNMP-LT-MIB", "mbgLtTrapConfigChanged"), ("MBG-SNMP-LT-MIB", "mbgLtTrapLeapSecondAnnounced"), ("MBG-SNMP-LT-MIB", "mbgLtTrapSHSTimeLimitError"), ("MBG-SNMP-LT-MIB", "mbgLtTrapSecondaryRecNotSync"), ("MBG-SNMP-LT-MIB", "mbgLtTrapPowerSupplyFailure"), ("MBG-SNMP-LT-MIB", "mbgLtTrapAntennaShortCircuit"), ("MBG-SNMP-LT-MIB", "mbgLtTrapReceiverSync"), ("MBG-SNMP-LT-MIB", "mbgLtTrapNTPClientAlarm"), ("MBG-SNMP-LT-MIB", "mbgLtTrapPowerSupplyUp"), ("MBG-SNMP-LT-MIB", "mbgLtTrapNetworkDown"), ("MBG-SNMP-LT-MIB", "mbgLtTrapNetworkUp"), ("MBG-SNMP-LT-MIB", "mbgLtTrapSecondaryRecNotResp"), ("MBG-SNMP-LT-MIB", "mbgLtTrapXmrLimitExceeded"), ("MBG-SNMP-LT-MIB", "mbgLtTrapXmrRefDisconnect"), ("MBG-SNMP-LT-MIB", "mbgLtTrapXmrRefReconnect"), ("MBG-SNMP-LT-MIB", "mbgLtTrapFdmError"), ("MBG-SNMP-LT-MIB", "mbgLtTrapSHSTimeLimitWarning"), ("MBG-SNMP-LT-MIB", "mbgLtTrapSecondaryRecSync"), ("MBG-SNMP-LT-MIB", "mbgLtTrapNTPSync"), ("MBG-SNMP-LT-MIB", "mbgLtTrapNormalOperation"), ("MBG-SNMP-LT-MIB", "mbgLtTrapHeartbeat"), ("MBG-SNMP-LT-MIB", "mbgLtTrapTestNotification"), ("MBG-SNMP-LT-MIB", "mbgLtTrapPtpPortDisconnected"), ("MBG-SNMP-LT-MIB", "mbgLtTrapPtpPortConnected"), ("MBG-SNMP-LT-MIB", "mbgLtTrapPtpStateChanged"), ("MBG-SNMP-LT-MIB", "mbgLtTrapPtpError")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mbgLtTrapsGroup = mbgLtTrapsGroup.setStatus('current') mibBuilder.exportSymbols("MBG-SNMP-LT-MIB", mbgLtNtpActiveRefclockOffset=mbgLtNtpActiveRefclockOffset, mbgLtRefGpsSatellitesGood=mbgLtRefGpsSatellitesGood, mbgLtMrsPtpStateVal=mbgLtMrsPtpStateVal, mbgLtCfgEthernetIf4=mbgLtCfgEthernetIf4, mbgLtCfgEthernetIf1=mbgLtCfgEthernetIf1, mbgLtPtpModeVal=mbgLtPtpModeVal, mbgLtCfgNTPServer7IP=mbgLtCfgNTPServer7IP, mbgLtCfgEthernetIf9IPv6IP3=mbgLtCfgEthernetIf9IPv6IP3, mbgLtTrapLeapSecondAnnounced=mbgLtTrapLeapSecondAnnounced, mbgLtRefSHSTimeDiff=mbgLtRefSHSTimeDiff, mbgLtTrapPowerSupplyUp=mbgLtTrapPowerSupplyUp, mbgLtCfgEthernetIf6IPv4Netmask=mbgLtCfgEthernetIf6IPv4Netmask, mbgLtCmdExecute=mbgLtCmdExecute, mbgLtMrsIrigOffsBase=mbgLtMrsIrigOffsBase, mbgLtMrsPpsPrio=mbgLtMrsPpsPrio, mbgLtCfgNotifyAntennaFaulty=mbgLtCfgNotifyAntennaFaulty, mbgLtMrs=mbgLtMrs, mbgLtCfgSNMPContact=mbgLtCfgSNMPContact, mbgLtCfgEthernetIf8DHCPClient=mbgLtCfgEthernetIf8DHCPClient, mbgLtCfgEthernetIf4NetLinkMode=mbgLtCfgEthernetIf4NetLinkMode, mbgLtTrapPtpPortConnected=mbgLtTrapPtpPortConnected, mbgLtTraps=mbgLtTraps, mbgLtCfgNTPServer6Key=mbgLtCfgNTPServer6Key, mbgLtRefIrigMode=mbgLtRefIrigMode, mbgLtCfgEthernetIf4IPv6IP1=mbgLtCfgEthernetIf4IPv6IP1, PYSNMP_MODULE_ID=mbgLantime, mbgLtMrsGpsOffsBase=mbgLtMrsGpsOffsBase, mbgLtCfgNTPServer4Prefer=mbgLtCfgNTPServer4Prefer, mbgLtRefPzfStateVal=mbgLtRefPzfStateVal, mbgLtCfgEthernetIf4IPv6Autoconf=mbgLtCfgEthernetIf4IPv6Autoconf, mbgLtTrapAntennaFaulty=mbgLtTrapAntennaFaulty, mbgLtCfgEthernetIf2IPv4Netmask=mbgLtCfgEthernetIf2IPv4Netmask, mbgLtMrsFreqPrecision=mbgLtMrsFreqPrecision, mbgLtCfgNTPServer5Key=mbgLtCfgNTPServer5Key, mbgLtCfgNotifyAntennaReconnect=mbgLtCfgNotifyAntennaReconnect, mbgLtCfgIPv6Access=mbgLtCfgIPv6Access, mbgLtCfgHTTPSAccess=mbgLtCfgHTTPSAccess, mbgLtCfgEthernetIf9IPv4Gateway=mbgLtCfgEthernetIf9IPv4Gateway, mbgLtCfgNTPServer1IP=mbgLtCfgNTPServer1IP, mbgLtRefclock=mbgLtRefclock, mbgLtCfgEthernetIf7=mbgLtCfgEthernetIf7, mbgLtCfgEthernetIf3IPv4IP=mbgLtCfgEthernetIf3IPv4IP, mbgLtTrapNormalOperation=mbgLtTrapNormalOperation, mbgLtCfgVP100Display1SN=mbgLtCfgVP100Display1SN, mbgLtCfgEthernetIf4IPv4Gateway=mbgLtCfgEthernetIf4IPv4Gateway, mbgLtCfgEthernetIf8=mbgLtCfgEthernetIf8, mbgLtCfgEthernetIf9NetLinkMode=mbgLtCfgEthernetIf9NetLinkMode, mbgLtMrsRefFreq=mbgLtMrsRefFreq, mbgLtMrsIrigOffs=mbgLtMrsIrigOffs, mbgLtTrapSecondaryRecNotResp=mbgLtTrapSecondaryRecNotResp, mbgLtCfgHTTPAccess=mbgLtCfgHTTPAccess, mbgLtMrsNtpCorr=mbgLtMrsNtpCorr, mbgLtCfgEthernetIf7IPv6IP3=mbgLtCfgEthernetIf7IPv6IP3, mbgLtCfgSNMPTrapReceiver2=mbgLtCfgSNMPTrapReceiver2, mbgLtCfgEthernetIf8NetLinkMode=mbgLtCfgEthernetIf8NetLinkMode, mbgLtRefGpsLeapCorrection=mbgLtRefGpsLeapCorrection, mbgLtMrsGpsPrecision=mbgLtMrsGpsPrecision, mbgLtCfgEthernetIf8IPv6IP1=mbgLtCfgEthernetIf8IPv6IP1, mbgLtRefGpsPosition=mbgLtRefGpsPosition, mbgLtMrsRefPtp=mbgLtMrsRefPtp, mbgLtCfgSSHAccess=mbgLtCfgSSHAccess, mbgLtCfgSNMP=mbgLtCfgSNMP, mbgLtRefSHSModeVal=mbgLtRefSHSModeVal, mbgLtCfgEthernetIf9IPv6Autoconf=mbgLtCfgEthernetIf9IPv6Autoconf, mbgLtCfgMRSRefPriority=mbgLtCfgMRSRefPriority, mbgLtCfgNTPServer2Prefer=mbgLtCfgNTPServer2Prefer, mbgLtCfgEthernetIf0=mbgLtCfgEthernetIf0, mbgLtMrsFreqStateVal=mbgLtMrsFreqStateVal, mbgLtTrapNTPClientAlarm=mbgLtTrapNTPClientAlarm, mbgLtTrapXmrRefDisconnect=mbgLtTrapXmrRefDisconnect, mbgLtCfgMRS=mbgLtCfgMRS, mbgLtCfgEthernetIf8IPv4Netmask=mbgLtCfgEthernetIf8IPv4Netmask, mbgLtRefDctStateVal=mbgLtRefDctStateVal, mbgLtCfgEthernetIf2NetLinkMode=mbgLtCfgEthernetIf2NetLinkMode, mbgLtRefDctModeVal=mbgLtRefDctModeVal, mbgLtTrapPowerSupplyFailure=mbgLtTrapPowerSupplyFailure, mbgLtTrapNetworkDown=mbgLtTrapNetworkDown, mbgLtTrapReceiverNotSync=mbgLtTrapReceiverNotSync, mbgLtCfgEthernetIf0NetLinkMode=mbgLtCfgEthernetIf0NetLinkMode, mbgLtTrapXmrLimitExceeded=mbgLtTrapXmrLimitExceeded, mbgLtRefMrsRef=mbgLtRefMrsRef, mbgLtNtpActiveRefclockId=mbgLtNtpActiveRefclockId, mbgLtCfgEthernetIf3IPv4Gateway=mbgLtCfgEthernetIf3IPv4Gateway, mbgLtCfgNotifyServerBoot=mbgLtCfgNotifyServerBoot, mbgLtCfgSNMPLocation=mbgLtCfgSNMPLocation, mbgLtRefGpsSatellitesInView=mbgLtRefGpsSatellitesInView, mbgLtCfgEthernetIf6IPv4Gateway=mbgLtCfgEthernetIf6IPv4Gateway, mbgLtCfgNTPServer4Key=mbgLtCfgNTPServer4Key, mbgLtCfgEthernetIf6NetLinkMode=mbgLtCfgEthernetIf6NetLinkMode, mbgLtCfgEMailSmarthost=mbgLtCfgEMailSmarthost, mbgLtPtp=mbgLtPtp, mbgLtCfgEthernetIf0IPv4Gateway=mbgLtCfgEthernetIf0IPv4Gateway, mbgLtCfgNTPServer7Autokey=mbgLtCfgNTPServer7Autokey, mbgLtCfgEthernetIf5IPv6Autoconf=mbgLtCfgEthernetIf5IPv6Autoconf, mbgLtCfgEMailTo=mbgLtCfgEMailTo, mbgLtMrsPtpOffs=mbgLtMrsPtpOffs, mbgLtCfgEthernetIf6IPv6IP3=mbgLtCfgEthernetIf6IPv6IP3, mbgLtRefGpsMode=mbgLtRefGpsMode, mbgLtCfgNTPBroadcastAutokey=mbgLtCfgNTPBroadcastAutokey, mbgLtRefIrigState=mbgLtRefIrigState, mbgLtCfgNTPServer4=mbgLtCfgNTPServer4, mbgLtCfgEthernetIf8IPv6Autoconf=mbgLtCfgEthernetIf8IPv6Autoconf, mbgLtCfgSHSWarnLimit=mbgLtCfgSHSWarnLimit, mbgLtRefSHSMode=mbgLtRefSHSMode, mbgLtNtp=mbgLtNtp, mbgLtCfgEthernetIf7IPv6Autoconf=mbgLtCfgEthernetIf7IPv6Autoconf, mbgLtCfgSambaAccess=mbgLtCfgSambaAccess, mbgLtMrsPpsOffs=mbgLtMrsPpsOffs, mbgLtMrsNtpStateVal=mbgLtMrsNtpStateVal, mbgLtCfgSHS=mbgLtCfgSHS, mbgLtCfgEthernet=mbgLtCfgEthernet, mbgLtCfgEthernetIf9DHCPClient=mbgLtCfgEthernetIf9DHCPClient, mbgLtRefIrigStateVal=mbgLtRefIrigStateVal, mbgLtFdm=mbgLtFdm, mbgLtMrsIrigOffsLimit=mbgLtMrsIrigOffsLimit, mbgLtCfgNTPAutokeyFeature=mbgLtCfgNTPAutokeyFeature, mbgLtMrsFreqOffsBase=mbgLtMrsFreqOffsBase, mbgLtCfgEthernetIf2IPv4Gateway=mbgLtCfgEthernetIf2IPv4Gateway, mbgLtMrsGpsPrio=mbgLtMrsGpsPrio, mbgLtCfgEthernetIf3IPv6IP3=mbgLtCfgEthernetIf3IPv6IP3, mbgLtCfgNetwork=mbgLtCfgNetwork, mbgLtTrapsGroup=mbgLtTrapsGroup, mbgLtRefClockTypeVal=mbgLtRefClockTypeVal, mbgLtFirmwareVersion=mbgLtFirmwareVersion, mbgLtRefGpsState=mbgLtRefGpsState, mbgLtCfgEMailFrom=mbgLtCfgEMailFrom, mbgLtRefMrsRefVal=mbgLtRefMrsRefVal, mbgLtCfgNTPServer6Autokey=mbgLtCfgNTPServer6Autokey, mbgLtMrsRef=mbgLtMrsRef, mbgLtNtpCurrentState=mbgLtNtpCurrentState, mbgLtFirmwareVersionVal=mbgLtFirmwareVersionVal, mbgLtCfgEthernetIf2IPv6IP3=mbgLtCfgEthernetIf2IPv6IP3, mbgLtCfgNotifyRefclkNoResponse=mbgLtCfgNotifyRefclkNoResponse, mbgLtCfgNameserver2=mbgLtCfgNameserver2, mbgLtCfgNotifySHSTimeLimitError=mbgLtCfgNotifySHSTimeLimitError, mbgLtCfgEthernetIf9IPv6IP1=mbgLtCfgEthernetIf9IPv6IP1, mbgLtCfgHostname=mbgLtCfgHostname, mbgLtTrapFdmError=mbgLtTrapFdmError, mbgLtCfgNTPStratumLocalClock=mbgLtCfgNTPStratumLocalClock, mbgLtCfgNTPServer1Prefer=mbgLtCfgNTPServer1Prefer, mbgLtCfgSNMPTrapRec2Community=mbgLtCfgSNMPTrapRec2Community, mbgLtCfgNTPServer3Key=mbgLtCfgNTPServer3Key, mbgLtCompliance=mbgLtCompliance, mbgLtCfgEthernetIf1IPv4Netmask=mbgLtCfgEthernetIf1IPv4Netmask, mbgLtCfgEthernetIf2IPv4IP=mbgLtCfgEthernetIf2IPv4IP, mbgLtMrsPtpOffsVal=mbgLtMrsPtpOffsVal, mbgLtCfgSNMPTrapReceiver1=mbgLtCfgSNMPTrapReceiver1, mbgLtCompliances=mbgLtCompliances, mbgLtCfgEthernetIf7IPv6IP1=mbgLtCfgEthernetIf7IPv6IP1, mbgLtCfgNTPBroadcastKey=mbgLtCfgNTPBroadcastKey, mbgLtTrapSHSTimeLimitWarning=mbgLtTrapSHSTimeLimitWarning, mbgLtCfgEthernetIf8IPv4IP=mbgLtCfgEthernetIf8IPv4IP, mbgLtCfgNotifyLeapSecond=mbgLtCfgNotifyLeapSecond, mbgLtCfg=mbgLtCfg, mbgLtMrsPpsCorr=mbgLtMrsPpsCorr, mbgLtCfgNTP=mbgLtCfgNTP, mbgLtCfgEthernetIf1IPv4Gateway=mbgLtCfgEthernetIf1IPv4Gateway, mbgLtRefIrigModeVal=mbgLtRefIrigModeVal, mbgLtCfgSNMPAccess=mbgLtCfgSNMPAccess, mbgLtTrapPtpError=mbgLtTrapPtpError, mbgLtCfgNTPServer3Prefer=mbgLtCfgNTPServer3Prefer, mbgLtTrapNTPNotSync=mbgLtTrapNTPNotSync, mbgLtCfgEthernetIf5IPv6IP3=mbgLtCfgEthernetIf5IPv6IP3, mbgLtPtpOffsetFromGMVal=mbgLtPtpOffsetFromGMVal, mbgLtCfgEthernetIf5IPv6IP2=mbgLtCfgEthernetIf5IPv6IP2, mbgLtCfgEthernetIf7IPv4Netmask=mbgLtCfgEthernetIf7IPv4Netmask, mbgLtMrsPtpOffsBase=mbgLtMrsPtpOffsBase, mbgLtRefGpsLeapSecond=mbgLtRefGpsLeapSecond, mbgLtMrsPtpCorr=mbgLtMrsPtpCorr, mbgLtTrapTestNotification=mbgLtTrapTestNotification, mbgLtCfgDomainname=mbgLtCfgDomainname, mbgLtCfgEthernetIf7NetLinkMode=mbgLtCfgEthernetIf7NetLinkMode, mbgLtCfgNTPServer1Autokey=mbgLtCfgNTPServer1Autokey, mbgLtCfgEthernetIf5NetLinkMode=mbgLtCfgEthernetIf5NetLinkMode, mbgLtMrsRefNtp=mbgLtMrsRefNtp, mbgLtCfgNTPServer2IP=mbgLtCfgNTPServer2IP, mbgLtRefPzfModeVal=mbgLtRefPzfModeVal, mbgLtFdmPlFreq=mbgLtFdmPlFreq, mbgLtRefClockType=mbgLtRefClockType, mbgLtCfgNTPServer3Autokey=mbgLtCfgNTPServer3Autokey, mbgLtCfgEthernetIf4IPv4Netmask=mbgLtCfgEthernetIf4IPv4Netmask, mbgLtCfgEthernetIf2=mbgLtCfgEthernetIf2, mbgLtMrsNtpPrecision=mbgLtMrsNtpPrecision, mbgLtMrsGpsState=mbgLtMrsGpsState, mbgLtRefPzfKorrelation=mbgLtRefPzfKorrelation, mbgLtCfgEthernetIf8IPv4Gateway=mbgLtCfgEthernetIf8IPv4Gateway, mbgLtTrapSecondaryRecNotSync=mbgLtTrapSecondaryRecNotSync, mbgLtCfgEthernetIf1IPv6IP2=mbgLtCfgEthernetIf1IPv6IP2, mbgLtCfgSNMPReadWriteCommunity=mbgLtCfgSNMPReadWriteCommunity, mbgLtCfgEthernetIf9=mbgLtCfgEthernetIf9, mbgLtTrapAntennaReconnect=mbgLtTrapAntennaReconnect, mbgLantime=mbgLantime, mbgLtCfgEthernetIf7IPv6IP2=mbgLtCfgEthernetIf7IPv6IP2, mbgLtCfgNotify=mbgLtCfgNotify, mbgLtNtpVersion=mbgLtNtpVersion, mbgLtCfgNTPServer6IP=mbgLtCfgNTPServer6IP, mbgLtCfgEthernetIf2IPv6IP2=mbgLtCfgEthernetIf2IPv6IP2, mbgLtRefDctField=mbgLtRefDctField, mbgLtCfgNTPServer7Prefer=mbgLtCfgNTPServer7Prefer, mbgLtTrapReceiverSync=mbgLtTrapReceiverSync, mbgLtCfgNTPTrustedKey=mbgLtCfgNTPTrustedKey, mbgLtCfgEthernetIf7IPv4IP=mbgLtCfgEthernetIf7IPv4IP, mbgLtTrapMessage=mbgLtTrapMessage, mbgLtMrsPpsPrecision=mbgLtMrsPpsPrecision, mbgLtCfgNTPServer5=mbgLtCfgNTPServer5, mbgLtMrsRefPps=mbgLtMrsRefPps, mbgLtFdmFreqDev=mbgLtFdmFreqDev, mbgLtCfgNTPServer7Key=mbgLtCfgNTPServer7Key, mbgLtCfgNTPServer2=mbgLtCfgNTPServer2, mbgLtMrsNtpOffsBase=mbgLtMrsNtpOffsBase, mbgLtCfgEthernetIf0IPv6IP1=mbgLtCfgEthernetIf0IPv6IP1, mbgLtCfgSyslogserver2=mbgLtCfgSyslogserver2, mbgLtTrapNetworkUp=mbgLtTrapNetworkUp, mbgLtCfgWMailAddress2=mbgLtCfgWMailAddress2, mbgLtCfgWinpopup=mbgLtCfgWinpopup, mbgLtMrsFreqOffsLimit=mbgLtMrsFreqOffsLimit, mbgLtCfgNTPServer6Prefer=mbgLtCfgNTPServer6Prefer, mbgLtCfgEthernetIf5IPv4IP=mbgLtCfgEthernetIf5IPv4IP, mbgLtMrsIrigOffsVal=mbgLtMrsIrigOffsVal, mbgLtCfgNTPServer2Autokey=mbgLtCfgNTPServer2Autokey, mbgLtMrsNtpPrio=mbgLtMrsNtpPrio, mbgLtRefGpsModeVal=mbgLtRefGpsModeVal, mbgLtNtpCurrentStateVal=mbgLtNtpCurrentStateVal, mbgLtRefMrsPrioList=mbgLtRefMrsPrioList, mbgLtMrsFreqState=mbgLtMrsFreqState, mbgLtTrapXmrRefReconnect=mbgLtTrapXmrRefReconnect, mbgLtCfgNTPServer4IP=mbgLtCfgNTPServer4IP, mbgLtTrapNTPStopped=mbgLtTrapNTPStopped, mbgLtMrsPpsOffsVal=mbgLtMrsPpsOffsVal, mbgLtCfgVP100Display1IP=mbgLtCfgVP100Display1IP, mbgLtCfgEthernetIf3IPv4Netmask=mbgLtCfgEthernetIf3IPv4Netmask, mbgLtCfgSHSCritLimit=mbgLtCfgSHSCritLimit, mbgLtRefPzfState=mbgLtRefPzfState, mbgLtCfgEthernetIf6IPv6Autoconf=mbgLtCfgEthernetIf6IPv6Autoconf, mbgLtTrapHeartbeat=mbgLtTrapHeartbeat, mbgLtPtpDelayVal=mbgLtPtpDelayVal, mbgLtCfgEthernetIf6IPv6IP1=mbgLtCfgEthernetIf6IPv6IP1, mbgLtCfgEthernetIf3IPv6IP1=mbgLtCfgEthernetIf3IPv6IP1, mbgLtCfgEthernetIf5IPv4Gateway=mbgLtCfgEthernetIf5IPv4Gateway, mbgLtNtpStratum=mbgLtNtpStratum, mbgLtCfgSNMPTrapRec1Community=mbgLtCfgSNMPTrapRec1Community, mbgLtMrsPpsOffsBase=mbgLtMrsPpsOffsBase, mbgLtCfgNTPServer5IP=mbgLtCfgNTPServer5IP, mbgLtTrapSecondaryRecSync=mbgLtTrapSecondaryRecSync, mbgLtCfgEthernetIf6IPv4IP=mbgLtCfgEthernetIf6IPv4IP, mbgLtMrsRefGps=mbgLtMrsRefGps, mbgLtCfgVP100Display2IP=mbgLtCfgVP100Display2IP, mbgLtCfgSNMPReadOnlyCommunity=mbgLtCfgSNMPReadOnlyCommunity, mbgLtRefDctState=mbgLtRefDctState, mbgLtCfgEthernetIf5IPv6IP1=mbgLtCfgEthernetIf5IPv6IP1, mbgLtPtpOffsetFromGM=mbgLtPtpOffsetFromGM, mbgLtCfgNotifyRefclockNotSync=mbgLtCfgNotifyRefclockNotSync, mbgLtPtpMode=mbgLtPtpMode, mbgLtRefGpsStateVal=mbgLtRefGpsStateVal) mibBuilder.exportSymbols("MBG-SNMP-LT-MIB", mbgLtCfgNTPServer5Autokey=mbgLtCfgNTPServer5Autokey, mbgLtTrapServerBoot=mbgLtTrapServerBoot, mbgLtCfgFTPAccess=mbgLtCfgFTPAccess, mbgLtTrapSHSTimeLimitError=mbgLtTrapSHSTimeLimitError, mbgLtNtpAuthKeyId=mbgLtNtpAuthKeyId, mbgLtRefClockModeVal=mbgLtRefClockModeVal, mbgLtMrsIrigPrecision=mbgLtMrsIrigPrecision, mbgLtCfgNameserver1=mbgLtCfgNameserver1, mbgLtConformance=mbgLtConformance, mbgLtMrsPtpPrecision=mbgLtMrsPtpPrecision, mbgLtCfgEthernetIf8IPv6IP3=mbgLtCfgEthernetIf8IPv6IP3, mbgLtMrsGpsStateVal=mbgLtMrsGpsStateVal, mbgLtCfgEthernetIf2IPv6IP1=mbgLtCfgEthernetIf2IPv6IP1, mbgLtPtpDelay=mbgLtPtpDelay, mbgLtCfgEthernetIf3=mbgLtCfgEthernetIf3, mbgLtCfgEthernetIf2DHCPClient=mbgLtCfgEthernetIf2DHCPClient, mbgLtMrsPpsState=mbgLtMrsPpsState, mbgLtFdmNomFreq=mbgLtFdmNomFreq, mbgLtCfgEthernetIf0IPv4IP=mbgLtCfgEthernetIf0IPv4IP, mbgLtCmdSetRefTime=mbgLtCmdSetRefTime, mbgLtObjectsGroup=mbgLtObjectsGroup, mbgLtCfgNTPServer1Key=mbgLtCfgNTPServer1Key, mbgLtCfgEthernetIf5DHCPClient=mbgLtCfgEthernetIf5DHCPClient, mbgLtCfgEthernetIf9IPv6IP2=mbgLtCfgEthernetIf9IPv6IP2, mbgLtMrsPtpPrio=mbgLtMrsPtpPrio, mbgLtCfgEthernetIf8IPv6IP2=mbgLtCfgEthernetIf8IPv6IP2, mbgLtInfo=mbgLtInfo, mbgLtCfgNotifyNTPNotSync=mbgLtCfgNotifyNTPNotSync, mbgLtCfgEthernetIf3IPv6IP2=mbgLtCfgEthernetIf3IPv6IP2, mbgLtNtpActiveRefclockOffsetVal=mbgLtNtpActiveRefclockOffsetVal, mbgLtCfgNotifyNTPStopped=mbgLtCfgNotifyNTPStopped, mbgLtCfgEthernetIf1DHCPClient=mbgLtCfgEthernetIf1DHCPClient, mbgLtCfgNTPServer7=mbgLtCfgNTPServer7, mbgLtCfgEthernetIf0IPv6IP2=mbgLtCfgEthernetIf0IPv6IP2, mbgLtCfgEthernetIf6=mbgLtCfgEthernetIf6, mbgLtCfgEthernetIf7DHCPClient=mbgLtCfgEthernetIf7DHCPClient, mbgLtMrsPtpOffsLimit=mbgLtMrsPtpOffsLimit, mbgLtMrsNtpOffsVal=mbgLtMrsNtpOffsVal, mbgLtMrsIrigState=mbgLtMrsIrigState, mbgLtMrsIrigCorr=mbgLtMrsIrigCorr, mbgLtMrsFreqCorr=mbgLtMrsFreqCorr, mbgLtMrsPtpState=mbgLtMrsPtpState, mbgLtTrapPtpPortDisconnected=mbgLtTrapPtpPortDisconnected, mbgLtCfgEthernetIf4DHCPClient=mbgLtCfgEthernetIf4DHCPClient, mbgLtCfgNotifyConfigChanged=mbgLtCfgNotifyConfigChanged, mbgLtMrsPpsStateVal=mbgLtMrsPpsStateVal, mbgLtCfgTelnetAccess=mbgLtCfgTelnetAccess, mbgLtCfgEthernetIf0IPv4Netmask=mbgLtCfgEthernetIf0IPv4Netmask, mbgLtCfgEthernetIf7IPv4Gateway=mbgLtCfgEthernetIf7IPv4Gateway, mbgLtMrsNtpOffs=mbgLtMrsNtpOffs, mbgLtCfgEthernetIf0DHCPClient=mbgLtCfgEthernetIf0DHCPClient, mbgLtRefClockMode=mbgLtRefClockMode, mbgLtTrapConfigChanged=mbgLtTrapConfigChanged, mbgLtMrsRefIrig=mbgLtMrsRefIrig, mbgLtCfgEthernetIf6IPv6IP2=mbgLtCfgEthernetIf6IPv6IP2, mbgLtCfgEthernetIf4IPv6IP2=mbgLtCfgEthernetIf4IPv6IP2, mbgLtCmd=mbgLtCmd, mbgLtCfgEMail=mbgLtCfgEMail, mbgLtMrsIrigStateVal=mbgLtMrsIrigStateVal, mbgLtCfgNTPBroadcastIP=mbgLtCfgNTPBroadcastIP, mbgLtMrsFreqOffsVal=mbgLtMrsFreqOffsVal, mbgLtNtpActiveRefclockName=mbgLtNtpActiveRefclockName, mbgLtGroups=mbgLtGroups, mbgLtMrsIrigPrio=mbgLtMrsIrigPrio, mbgLtCfgEthernetIf1IPv4IP=mbgLtCfgEthernetIf1IPv4IP, mbgLtRefDctMode=mbgLtRefDctMode, mbgLtCfgEthernetIf3NetLinkMode=mbgLtCfgEthernetIf3NetLinkMode, mbgLtCfgEthernetIf1IPv6IP3=mbgLtCfgEthernetIf1IPv6IP3, mbgLtTrapNTPSync=mbgLtTrapNTPSync, mbgLtPtpPortStateVal=mbgLtPtpPortStateVal, mbgLtMrsGpsOffsVal=mbgLtMrsGpsOffsVal, mbgLtCfgEthernetIf3DHCPClient=mbgLtCfgEthernetIf3DHCPClient, mbgLtCfgNTPServer3IP=mbgLtCfgNTPServer3IP, mbgLtTrapAntennaShortCircuit=mbgLtTrapAntennaShortCircuit, mbgLtCfgNTPAtomPPS=mbgLtCfgNTPAtomPPS, mbgLtCfgEthernetIf5=mbgLtCfgEthernetIf5, mbgLtMrsFreqOffs=mbgLtMrsFreqOffs, mbgLtMrsGpsOffs=mbgLtMrsGpsOffs, mbgLtPtpPortState=mbgLtPtpPortState, mbgLtCfgNTPServer4Autokey=mbgLtCfgNTPServer4Autokey, mbgLtCfgVP100Display2SN=mbgLtCfgVP100Display2SN, mbgLtCfgNTPServer5Prefer=mbgLtCfgNTPServer5Prefer, mbgLtCfgEthernetIf9IPv4Netmask=mbgLtCfgEthernetIf9IPv4Netmask, mbgLtCfgEthernetIf0IPv6Autoconf=mbgLtCfgEthernetIf0IPv6Autoconf, mbgLtCfgEthernetIf9IPv4IP=mbgLtCfgEthernetIf9IPv4IP, mbgLtCfgNTPServer6=mbgLtCfgNTPServer6, mbgLtCfgEthernetIf5IPv4Netmask=mbgLtCfgEthernetIf5IPv4Netmask, mbgLtCfgNTPServer3=mbgLtCfgNTPServer3, mbgLtNotifications=mbgLtNotifications, mbgLtCfgEthernetIf6DHCPClient=mbgLtCfgEthernetIf6DHCPClient, mbgLtCfgEthernetIf4IPv4IP=mbgLtCfgEthernetIf4IPv4IP, mbgLtCfgEthernetIf1IPv6IP1=mbgLtCfgEthernetIf1IPv6IP1, mbgLtCfgNTPServer1=mbgLtCfgNTPServer1, mbgLtRefPzfMode=mbgLtRefPzfMode, mbgLtRefGpsSatellites=mbgLtRefGpsSatellites, mbgLtCfgWMailAddress1=mbgLtCfgWMailAddress1, mbgLtTrapPtpStateChanged=mbgLtTrapPtpStateChanged, mbgLtCfgEthernetIf2IPv6Autoconf=mbgLtCfgEthernetIf2IPv6Autoconf, mbgLtCfgEthernetIf4IPv6IP3=mbgLtCfgEthernetIf4IPv6IP3, mbgLtCfgEthernetIf3IPv6Autoconf=mbgLtCfgEthernetIf3IPv6Autoconf, mbgLtCfgNTPServer2Key=mbgLtCfgNTPServer2Key, mbgLtRefPzfField=mbgLtRefPzfField, mbgLtMrsNtpOffsLimit=mbgLtMrsNtpOffsLimit, mbgLtCfgWalldisplay=mbgLtCfgWalldisplay, mbgLtMrsPpsOffsLimit=mbgLtMrsPpsOffsLimit, mbgLtNtpNumberOfRefclocks=mbgLtNtpNumberOfRefclocks, mbgLtCfgEthernetIf1NetLinkMode=mbgLtCfgEthernetIf1NetLinkMode, mbgLtMrsNtpState=mbgLtMrsNtpState, mbgLtCfgEthernetIf1IPv6Autoconf=mbgLtCfgEthernetIf1IPv6Autoconf, mbgLtTrapReceiverNotResponding=mbgLtTrapReceiverNotResponding, mbgLtCfgSyslogserver1=mbgLtCfgSyslogserver1, mbgLtCfgEthernetIf0IPv6IP3=mbgLtCfgEthernetIf0IPv6IP3, mbgLtMrsFreqPrio=mbgLtMrsFreqPrio, mbgLtRefMrsRefList=mbgLtRefMrsRefList)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, single_value_constraint, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint') (mbg_snmp_root,) = mibBuilder.importSymbols('MBG-SNMP-ROOT-MIB', 'mbgSnmpRoot') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (notification_type, counter64, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, object_identity, unsigned32, mib_identifier, counter32, iso, time_ticks, bits, gauge32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'Counter64', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'ObjectIdentity', 'Unsigned32', 'MibIdentifier', 'Counter32', 'iso', 'TimeTicks', 'Bits', 'Gauge32', 'IpAddress') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') mbg_lantime = module_identity((1, 3, 6, 1, 4, 1, 5597, 3)) mbgLantime.setRevisions(('2012-01-25 07:45', '2011-03-30 00:00', '2011-03-29 00:00', '2010-01-19 00:00', '2009-12-03 00:00', '2008-09-10 00:00', '2008-07-15 00:00', '2008-06-15 00:00', '2006-08-23 00:00', '2006-03-20 00:00', '2005-07-08 00:00')) if mibBuilder.loadTexts: mbgLantime.setLastUpdated('201201250745Z') if mibBuilder.loadTexts: mbgLantime.setOrganization('www.meinberg.de') mbg_lt_info = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 0)) mbg_lt_firmware_version = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 0, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtFirmwareVersion.setStatus('current') mbg_lt_firmware_version_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 0, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtFirmwareVersionVal.setStatus('current') mbg_lt_ntp = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 1)) mbg_lt_ntp_current_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpCurrentState.setStatus('current') mbg_lt_ntp_current_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 99))).clone(namedValues=named_values(('notSynchronized', 0), ('noGoodRefclock', 1), ('syncToExtRefclock', 2), ('syncToSerialRefclock', 3), ('normalOperationPPS', 4), ('normalOperationRefclock', 5), ('unknown', 99))).clone(99)).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpCurrentStateVal.setStatus('current') mbg_lt_ntp_stratum = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647)).clone(99)).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpStratum.setStatus('current') mbg_lt_ntp_active_refclock_id = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 99))).clone(namedValues=named_values(('localClock', 0), ('serialRefclock', 1), ('pps', 2), ('externalRefclock', 3), ('notSync', 99))).clone(99)).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpActiveRefclockId.setStatus('current') mbg_lt_ntp_active_refclock_name = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpActiveRefclockName.setStatus('current') mbg_lt_ntp_active_refclock_offset = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpActiveRefclockOffset.setStatus('current') mbg_lt_ntp_active_refclock_offset_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647)).clone(1024000000)).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpActiveRefclockOffsetVal.setStatus('current') mbg_lt_ntp_number_of_refclocks = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpNumberOfRefclocks.setStatus('current') mbg_lt_ntp_auth_key_id = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpAuthKeyId.setStatus('current') mbg_lt_ntp_version = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 1, 10), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtNtpVersion.setStatus('current') mbg_lt_refclock = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2)) mbg_lt_ref_clock_type = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefClockType.setStatus('current') mbg_lt_ref_clock_type_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22))).clone(namedValues=named_values(('notavailable', 0), ('mbgGPS167', 1), ('mbgGPS167BGTTGP', 2), ('mbgPZF509', 3), ('mbgPZF509BGTTGP', 4), ('mbgSHS', 5), ('mbgSHSBGT', 6), ('mbgSHSFRC', 7), ('mbgSHSFRCBGT', 8), ('mbgTCR509', 9), ('mbgTCR509BGTTGP', 10), ('mbgRDT', 11), ('mbgRDTBGTTGP', 12), ('mbgEDT', 13), ('mbgEDTBGTTGP', 14), ('mbgAHS', 15), ('mbgDHS', 16), ('mbgNDT167', 17), ('mbgNDT167BGT', 18), ('mbgDCT', 19), ('mbgDCTBGT', 20), ('mbgSHSTCR', 21), ('mbgSHSTCRBGT', 22)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefClockTypeVal.setStatus('current') mbg_lt_ref_clock_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefClockMode.setStatus('current') mbg_lt_ref_clock_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('notavailable', 0), ('normalOperation', 1), ('trackingSearching', 2), ('antennaFaulty', 3), ('warmBoot', 4), ('coldBoot', 5), ('antennaShortcircuit', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefClockModeVal.setStatus('current') mbg_lt_ref_gps_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsState.setStatus('current') mbg_lt_ref_gps_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notavailable', 0), ('synchronized', 1), ('notsynchronized', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsStateVal.setStatus('current') mbg_lt_ref_gps_position = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsPosition.setStatus('current') mbg_lt_ref_gps_satellites = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsSatellites.setStatus('current') mbg_lt_ref_gps_satellites_good = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsSatellitesGood.setStatus('current') mbg_lt_ref_gps_satellites_in_view = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 10), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsSatellitesInView.setStatus('current') mbg_lt_ref_pzf_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 11), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefPzfState.setStatus('current') mbg_lt_ref_pzf_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('notavailable', 0), ('sync', 1), ('notsyncnow', 2), ('neversynced', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefPzfStateVal.setStatus('current') mbg_lt_ref_pzf_korrelation = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefPzfKorrelation.setStatus('current') mbg_lt_ref_pzf_field = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 14), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefPzfField.setStatus('current') mbg_lt_ref_gps_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 15), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsMode.setStatus('current') mbg_lt_ref_gps_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('notavailable', 0), ('normalOperation', 1), ('trackingSearching', 2), ('antennaFaulty', 3), ('warmBoot', 4), ('coldBoot', 5), ('antennaShortcircuit', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsModeVal.setStatus('current') mbg_lt_ref_irig_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 17), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefIrigMode.setStatus('current') mbg_lt_ref_irig_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('notavailable', 0), ('locked', 1), ('notlocked', 2), ('telegramError', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefIrigModeVal.setStatus('current') mbg_lt_ref_pzf_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 19), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefPzfMode.setStatus('current') mbg_lt_ref_pzf_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notavailable', 0), ('normalOperation', 1), ('antennaFaulty', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefPzfModeVal.setStatus('current') mbg_lt_ref_irig_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 21), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefIrigState.setStatus('current') mbg_lt_ref_irig_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 22), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefIrigStateVal.setStatus('current') mbg_lt_ref_shs_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 23), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefSHSMode.setStatus('current') mbg_lt_ref_shs_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notavailable', 0), ('normalOperation', 1), ('stoppedTimeLimitError', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefSHSModeVal.setStatus('current') mbg_lt_ref_shs_time_diff = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 25), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefSHSTimeDiff.setStatus('current') mbg_lt_ref_dct_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 26), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefDctState.setStatus('current') mbg_lt_ref_dct_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('notavailable', 0), ('sync', 1), ('notsyncnow', 2), ('neversynced', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefDctStateVal.setStatus('current') mbg_lt_ref_dct_field = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 28), display_string().clone('0')).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefDctField.setStatus('current') mbg_lt_ref_dct_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 29), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefDctMode.setStatus('current') mbg_lt_ref_dct_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notavailable', 0), ('normalOperation', 1), ('antennaFaulty', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefDctModeVal.setStatus('current') mbg_lt_ref_gps_leap_second = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 31), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsLeapSecond.setStatus('current') mbg_lt_ref_gps_leap_correction = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 32), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefGpsLeapCorrection.setStatus('current') mbg_lt_mrs = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50)) mbg_lt_ref_mrs_ref = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefMrsRef.setStatus('current') mbg_lt_ref_mrs_ref_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 99))).clone(namedValues=named_values(('notavailable', 0), ('refGps', 1), ('refIrig', 2), ('refPps', 3), ('refFreq', 4), ('refPtp', 5), ('refNtp', 6), ('refFreeRun', 99)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefMrsRefVal.setStatus('current') mbg_lt_ref_mrs_ref_list = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefMrsRefList.setStatus('current') mbg_lt_ref_mrs_prio_list = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtRefMrsPrioList.setStatus('current') mbg_lt_mrs_ref = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10)) mbg_lt_mrs_ref_gps = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1)) mbg_lt_mrs_gps_offs = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsGpsOffs.setStatus('current') mbg_lt_mrs_gps_offs_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsGpsOffsVal.setStatus('current') mbg_lt_mrs_gps_offs_base = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 3, 6, 9))).clone(namedValues=named_values(('baseSeconds', 0), ('baseMiliseconds', 3), ('baseMicroseconds', 6), ('baseNanoseconds', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsGpsOffsBase.setStatus('current') mbg_lt_mrs_gps_prio = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsGpsPrio.setStatus('current') mbg_lt_mrs_gps_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsGpsState.setStatus('current') mbg_lt_mrs_gps_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notAvailable', 0), ('notSupported', 1), ('notConnected', 2), ('noSignal', 3), ('hasLocked', 4), ('isAvailable', 5), ('isAccurate', 6), ('isMaster', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsGpsStateVal.setStatus('current') mbg_lt_mrs_gps_precision = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsGpsPrecision.setStatus('current') mbg_lt_mrs_ref_irig = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2)) mbg_lt_mrs_irig_offs = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsIrigOffs.setStatus('current') mbg_lt_mrs_irig_offs_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsIrigOffsVal.setStatus('current') mbg_lt_mrs_irig_offs_base = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 3, 6, 9))).clone(namedValues=named_values(('baseSeconds', 0), ('baseMiliseconds', 3), ('baseMicroseconds', 6), ('baseNanoseconds', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsIrigOffsBase.setStatus('current') mbg_lt_mrs_irig_prio = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsIrigPrio.setStatus('current') mbg_lt_mrs_irig_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsIrigState.setStatus('current') mbg_lt_mrs_irig_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notAvailable', 0), ('notSupported', 1), ('notConnected', 2), ('noSignal', 3), ('hasLocked', 4), ('isAvailable', 5), ('isAccurate', 6), ('isMaster', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsIrigStateVal.setStatus('current') mbg_lt_mrs_irig_corr = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsIrigCorr.setStatus('current') mbg_lt_mrs_irig_offs_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsIrigOffsLimit.setStatus('current') mbg_lt_mrs_irig_precision = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 2, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsIrigPrecision.setStatus('current') mbg_lt_mrs_ref_pps = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3)) mbg_lt_mrs_pps_offs = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPpsOffs.setStatus('current') mbg_lt_mrs_pps_offs_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPpsOffsVal.setStatus('current') mbg_lt_mrs_pps_offs_base = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 3, 6, 9))).clone(namedValues=named_values(('baseSeconds', 0), ('baseMiliseconds', 3), ('baseMicroseconds', 6), ('baseNanoseconds', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPpsOffsBase.setStatus('current') mbg_lt_mrs_pps_prio = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPpsPrio.setStatus('current') mbg_lt_mrs_pps_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPpsState.setStatus('current') mbg_lt_mrs_pps_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notAvailable', 0), ('notSupported', 1), ('notConnected', 2), ('noSignal', 3), ('hasLocked', 4), ('isAvailable', 5), ('isAccurate', 6), ('isMaster', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPpsStateVal.setStatus('current') mbg_lt_mrs_pps_corr = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsPpsCorr.setStatus('current') mbg_lt_mrs_pps_offs_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsPpsOffsLimit.setStatus('current') mbg_lt_mrs_pps_precision = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 3, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsPpsPrecision.setStatus('current') mbg_lt_mrs_ref_freq = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4)) mbg_lt_mrs_freq_offs = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsFreqOffs.setStatus('current') mbg_lt_mrs_freq_offs_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsFreqOffsVal.setStatus('current') mbg_lt_mrs_freq_offs_base = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 3, 6, 9))).clone(namedValues=named_values(('baseSeconds', 0), ('baseMiliseconds', 3), ('baseMicroseconds', 6), ('baseNanoseconds', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsFreqOffsBase.setStatus('current') mbg_lt_mrs_freq_prio = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsFreqPrio.setStatus('current') mbg_lt_mrs_freq_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsFreqState.setStatus('current') mbg_lt_mrs_freq_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notAvailable', 0), ('notSupported', 1), ('notConnected', 2), ('noSignal', 3), ('hasLocked', 4), ('isAvailable', 5), ('isAccurate', 6), ('isMaster', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsFreqStateVal.setStatus('current') mbg_lt_mrs_freq_corr = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsFreqCorr.setStatus('current') mbg_lt_mrs_freq_offs_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsFreqOffsLimit.setStatus('current') mbg_lt_mrs_freq_precision = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 4, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsFreqPrecision.setStatus('current') mbg_lt_mrs_ref_ptp = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5)) mbg_lt_mrs_ptp_offs = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPtpOffs.setStatus('current') mbg_lt_mrs_ptp_offs_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPtpOffsVal.setStatus('current') mbg_lt_mrs_ptp_offs_base = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 3, 6, 9))).clone(namedValues=named_values(('baseSeconds', 0), ('baseMiliseconds', 3), ('baseMicroseconds', 6), ('baseNanoseconds', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPtpOffsBase.setStatus('current') mbg_lt_mrs_ptp_prio = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPtpPrio.setStatus('current') mbg_lt_mrs_ptp_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPtpState.setStatus('current') mbg_lt_mrs_ptp_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notAvailable', 0), ('notSupported', 1), ('notConnected', 2), ('noSignal', 3), ('hasLocked', 4), ('isAvailable', 5), ('isAccurate', 6), ('isMaster', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsPtpStateVal.setStatus('current') mbg_lt_mrs_ptp_corr = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsPtpCorr.setStatus('current') mbg_lt_mrs_ptp_offs_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsPtpOffsLimit.setStatus('current') mbg_lt_mrs_ptp_precision = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 5, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsPtpPrecision.setStatus('current') mbg_lt_mrs_ref_ntp = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6)) mbg_lt_mrs_ntp_offs = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsNtpOffs.setStatus('current') mbg_lt_mrs_ntp_offs_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsNtpOffsVal.setStatus('current') mbg_lt_mrs_ntp_offs_base = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 3, 6, 9))).clone(namedValues=named_values(('baseSeconds', 0), ('baseMiliseconds', 3), ('baseMicroseconds', 6), ('baseNanoseconds', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsNtpOffsBase.setStatus('current') mbg_lt_mrs_ntp_prio = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsNtpPrio.setStatus('current') mbg_lt_mrs_ntp_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsNtpState.setStatus('current') mbg_lt_mrs_ntp_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notAvailable', 0), ('notSupported', 1), ('notConnected', 2), ('noSignal', 3), ('hasLocked', 4), ('isAvailable', 5), ('isAccurate', 6), ('isMaster', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtMrsNtpStateVal.setStatus('current') mbg_lt_mrs_ntp_corr = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsNtpCorr.setStatus('current') mbg_lt_mrs_ntp_offs_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsNtpOffsLimit.setStatus('current') mbg_lt_mrs_ntp_precision = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 2, 50, 10, 6, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtMrsNtpPrecision.setStatus('current') mbg_lt_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 3)) mbg_lt_traps = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0)) mbg_lt_trap_ntp_not_sync = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 1)) if mibBuilder.loadTexts: mbgLtTrapNTPNotSync.setStatus('current') mbg_lt_trap_ntp_stopped = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 2)) if mibBuilder.loadTexts: mbgLtTrapNTPStopped.setStatus('current') mbg_lt_trap_server_boot = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 3)) if mibBuilder.loadTexts: mbgLtTrapServerBoot.setStatus('current') mbg_lt_trap_receiver_not_responding = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 4)) if mibBuilder.loadTexts: mbgLtTrapReceiverNotResponding.setStatus('current') mbg_lt_trap_receiver_not_sync = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 5)) if mibBuilder.loadTexts: mbgLtTrapReceiverNotSync.setStatus('current') mbg_lt_trap_antenna_faulty = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 6)) if mibBuilder.loadTexts: mbgLtTrapAntennaFaulty.setStatus('current') mbg_lt_trap_antenna_reconnect = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 7)) if mibBuilder.loadTexts: mbgLtTrapAntennaReconnect.setStatus('current') mbg_lt_trap_config_changed = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 8)) if mibBuilder.loadTexts: mbgLtTrapConfigChanged.setStatus('current') mbg_lt_trap_leap_second_announced = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 9)) if mibBuilder.loadTexts: mbgLtTrapLeapSecondAnnounced.setStatus('current') mbg_lt_trap_shs_time_limit_error = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 10)) if mibBuilder.loadTexts: mbgLtTrapSHSTimeLimitError.setStatus('current') mbg_lt_trap_secondary_rec_not_sync = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 11)) if mibBuilder.loadTexts: mbgLtTrapSecondaryRecNotSync.setStatus('current') mbg_lt_trap_power_supply_failure = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 12)) if mibBuilder.loadTexts: mbgLtTrapPowerSupplyFailure.setStatus('current') mbg_lt_trap_antenna_short_circuit = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 13)) if mibBuilder.loadTexts: mbgLtTrapAntennaShortCircuit.setStatus('current') mbg_lt_trap_receiver_sync = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 14)) if mibBuilder.loadTexts: mbgLtTrapReceiverSync.setStatus('current') mbg_lt_trap_ntp_client_alarm = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 15)) if mibBuilder.loadTexts: mbgLtTrapNTPClientAlarm.setStatus('current') mbg_lt_trap_power_supply_up = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 16)) if mibBuilder.loadTexts: mbgLtTrapPowerSupplyUp.setStatus('current') mbg_lt_trap_network_down = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 17)) if mibBuilder.loadTexts: mbgLtTrapNetworkDown.setStatus('current') mbg_lt_trap_network_up = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 18)) if mibBuilder.loadTexts: mbgLtTrapNetworkUp.setStatus('current') mbg_lt_trap_secondary_rec_not_resp = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 19)) if mibBuilder.loadTexts: mbgLtTrapSecondaryRecNotResp.setStatus('current') mbg_lt_trap_xmr_limit_exceeded = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 30)) if mibBuilder.loadTexts: mbgLtTrapXmrLimitExceeded.setStatus('current') mbg_lt_trap_xmr_ref_disconnect = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 31)) if mibBuilder.loadTexts: mbgLtTrapXmrRefDisconnect.setStatus('current') mbg_lt_trap_xmr_ref_reconnect = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 32)) if mibBuilder.loadTexts: mbgLtTrapXmrRefReconnect.setStatus('current') mbg_lt_trap_fdm_error = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 33)) if mibBuilder.loadTexts: mbgLtTrapFdmError.setStatus('current') mbg_lt_trap_shs_time_limit_warning = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 34)) if mibBuilder.loadTexts: mbgLtTrapSHSTimeLimitWarning.setStatus('current') mbg_lt_trap_secondary_rec_sync = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 35)) if mibBuilder.loadTexts: mbgLtTrapSecondaryRecSync.setStatus('current') mbg_lt_trap_ntp_sync = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 36)) if mibBuilder.loadTexts: mbgLtTrapNTPSync.setStatus('current') mbg_lt_trap_ptp_port_disconnected = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 37)) if mibBuilder.loadTexts: mbgLtTrapPtpPortDisconnected.setStatus('current') mbg_lt_trap_ptp_port_connected = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 38)) if mibBuilder.loadTexts: mbgLtTrapPtpPortConnected.setStatus('current') mbg_lt_trap_ptp_state_changed = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 39)) if mibBuilder.loadTexts: mbgLtTrapPtpStateChanged.setStatus('current') mbg_lt_trap_ptp_error = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 40)) if mibBuilder.loadTexts: mbgLtTrapPtpError.setStatus('current') mbg_lt_trap_normal_operation = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 77)) if mibBuilder.loadTexts: mbgLtTrapNormalOperation.setStatus('current') mbg_lt_trap_heartbeat = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 88)) if mibBuilder.loadTexts: mbgLtTrapHeartbeat.setStatus('current') mbg_lt_trap_test_notification = notification_type((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 99)) if mibBuilder.loadTexts: mbgLtTrapTestNotification.setStatus('current') mbg_lt_trap_message = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 3, 0, 100), display_string().clone('no event')).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtTrapMessage.setStatus('current') mbg_lt_cfg = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4)) mbg_lt_cfg_network = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1)) mbg_lt_cfg_hostname = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgHostname.setStatus('current') mbg_lt_cfg_domainname = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgDomainname.setStatus('current') mbg_lt_cfg_nameserver1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNameserver1.setStatus('current') mbg_lt_cfg_nameserver2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNameserver2.setStatus('current') mbg_lt_cfg_syslogserver1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSyslogserver1.setStatus('current') mbg_lt_cfg_syslogserver2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSyslogserver2.setStatus('current') mbg_lt_cfg_telnet_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgTelnetAccess.setStatus('current') mbg_lt_cfg_ftp_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgFTPAccess.setStatus('current') mbg_lt_cfg_http_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgHTTPAccess.setStatus('current') mbg_lt_cfg_https_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgHTTPSAccess.setStatus('current') mbg_lt_cfg_snmp_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPAccess.setStatus('current') mbg_lt_cfg_samba_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSambaAccess.setStatus('current') mbg_lt_cfg_i_pv6_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgIPv6Access.setStatus('current') mbg_lt_cfg_ssh_access = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSSHAccess.setStatus('current') mbg_lt_cfg_ntp = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2)) mbg_lt_cfg_ntp_server1 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1)) mbg_lt_cfg_ntp_server2 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2)) mbg_lt_cfg_ntp_server3 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3)) mbg_lt_cfg_ntp_server4 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4)) mbg_lt_cfg_ntp_server5 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5)) mbg_lt_cfg_ntp_server6 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6)) mbg_lt_cfg_ntp_server7 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7)) mbg_lt_cfg_ntp_server1_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer1IP.setStatus('current') mbg_lt_cfg_ntp_server1_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer1Key.setStatus('current') mbg_lt_cfg_ntp_server1_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer1Autokey.setStatus('current') mbg_lt_cfg_ntp_server1_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer1Prefer.setStatus('current') mbg_lt_cfg_ntp_server2_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer2IP.setStatus('current') mbg_lt_cfg_ntp_server2_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer2Key.setStatus('current') mbg_lt_cfg_ntp_server2_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer2Autokey.setStatus('current') mbg_lt_cfg_ntp_server2_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer2Prefer.setStatus('current') mbg_lt_cfg_ntp_server3_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer3IP.setStatus('current') mbg_lt_cfg_ntp_server3_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer3Key.setStatus('current') mbg_lt_cfg_ntp_server3_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer3Autokey.setStatus('current') mbg_lt_cfg_ntp_server3_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer3Prefer.setStatus('current') mbg_lt_cfg_ntp_server4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer4IP.setStatus('current') mbg_lt_cfg_ntp_server4_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer4Key.setStatus('current') mbg_lt_cfg_ntp_server4_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer4Autokey.setStatus('current') mbg_lt_cfg_ntp_server4_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 4, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer4Prefer.setStatus('current') mbg_lt_cfg_ntp_server5_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer5IP.setStatus('current') mbg_lt_cfg_ntp_server5_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer5Key.setStatus('current') mbg_lt_cfg_ntp_server5_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer5Autokey.setStatus('current') mbg_lt_cfg_ntp_server5_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 5, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer5Prefer.setStatus('current') mbg_lt_cfg_ntp_server6_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer6IP.setStatus('current') mbg_lt_cfg_ntp_server6_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer6Key.setStatus('current') mbg_lt_cfg_ntp_server6_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer6Autokey.setStatus('current') mbg_lt_cfg_ntp_server6_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 6, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer6Prefer.setStatus('current') mbg_lt_cfg_ntp_server7_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer7IP.setStatus('current') mbg_lt_cfg_ntp_server7_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer7Key.setStatus('current') mbg_lt_cfg_ntp_server7_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer7Autokey.setStatus('current') mbg_lt_cfg_ntp_server7_prefer = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 7, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPServer7Prefer.setStatus('current') mbg_lt_cfg_ntp_stratum_local_clock = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPStratumLocalClock.setStatus('current') mbg_lt_cfg_ntp_trusted_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPTrustedKey.setStatus('current') mbg_lt_cfg_ntp_broadcast_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 10), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPBroadcastIP.setStatus('current') mbg_lt_cfg_ntp_broadcast_key = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 11), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPBroadcastKey.setStatus('current') mbg_lt_cfg_ntp_broadcast_autokey = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPBroadcastAutokey.setStatus('current') mbg_lt_cfg_ntp_autokey_feature = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPAutokeyFeature.setStatus('current') mbg_lt_cfg_ntp_atom_pps = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 2, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNTPAtomPPS.setStatus('current') mbg_lt_cfg_e_mail = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3)) mbg_lt_cfg_e_mail_to = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEMailTo.setStatus('current') mbg_lt_cfg_e_mail_from = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEMailFrom.setStatus('current') mbg_lt_cfg_e_mail_smarthost = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 3, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEMailSmarthost.setStatus('current') mbg_lt_cfg_snmp = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4)) mbg_lt_cfg_snmp_trap_receiver1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPTrapReceiver1.setStatus('current') mbg_lt_cfg_snmp_trap_receiver2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPTrapReceiver2.setStatus('current') mbg_lt_cfg_snmp_trap_rec1_community = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPTrapRec1Community.setStatus('current') mbg_lt_cfg_snmp_trap_rec2_community = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPTrapRec2Community.setStatus('current') mbg_lt_cfg_snmp_read_only_community = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPReadOnlyCommunity.setStatus('current') mbg_lt_cfg_snmp_read_write_community = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPReadWriteCommunity.setStatus('current') mbg_lt_cfg_snmp_contact = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPContact.setStatus('current') mbg_lt_cfg_snmp_location = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 4, 8), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSNMPLocation.setStatus('current') mbg_lt_cfg_winpopup = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 5)) mbg_lt_cfg_w_mail_address1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 5, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgWMailAddress1.setStatus('current') mbg_lt_cfg_w_mail_address2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 5, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgWMailAddress2.setStatus('current') mbg_lt_cfg_walldisplay = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6)) mbg_lt_cfg_vp100_display1_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgVP100Display1IP.setStatus('current') mbg_lt_cfg_vp100_display1_sn = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgVP100Display1SN.setStatus('current') mbg_lt_cfg_vp100_display2_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgVP100Display2IP.setStatus('current') mbg_lt_cfg_vp100_display2_sn = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 6, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgVP100Display2SN.setStatus('current') mbg_lt_cfg_notify = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7)) mbg_lt_cfg_notify_ntp_not_sync = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyNTPNotSync.setStatus('current') mbg_lt_cfg_notify_ntp_stopped = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyNTPStopped.setStatus('current') mbg_lt_cfg_notify_server_boot = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyServerBoot.setStatus('current') mbg_lt_cfg_notify_refclk_no_response = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyRefclkNoResponse.setStatus('current') mbg_lt_cfg_notify_refclock_not_sync = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyRefclockNotSync.setStatus('current') mbg_lt_cfg_notify_antenna_faulty = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyAntennaFaulty.setStatus('current') mbg_lt_cfg_notify_antenna_reconnect = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyAntennaReconnect.setStatus('current') mbg_lt_cfg_notify_config_changed = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 8), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyConfigChanged.setStatus('current') mbg_lt_cfg_notify_shs_time_limit_error = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 9), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifySHSTimeLimitError.setStatus('current') mbg_lt_cfg_notify_leap_second = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 7, 10), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgNotifyLeapSecond.setStatus('current') mbg_lt_cfg_ethernet = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8)) mbg_lt_cfg_ethernet_if0 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0)) mbg_lt_cfg_ethernet_if1 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1)) mbg_lt_cfg_ethernet_if2 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2)) mbg_lt_cfg_ethernet_if3 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3)) mbg_lt_cfg_ethernet_if4 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4)) mbg_lt_cfg_ethernet_if5 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5)) mbg_lt_cfg_ethernet_if6 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6)) mbg_lt_cfg_ethernet_if7 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7)) mbg_lt_cfg_ethernet_if8 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8)) mbg_lt_cfg_ethernet_if9 = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9)) mbg_lt_cfg_ethernet_if0_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if0_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if0_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if0_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if0_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if0_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if0_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if0_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if0_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 0, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf0NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if1_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if1_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if1_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf1NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if2_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if2_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if2_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 2, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf2NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if3_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if3_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if3_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 3, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf3NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if4_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if4_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if4_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 4, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf4NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if5_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if5_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if5_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 5, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf5NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if6_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if6_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if6_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 6, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf6NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if7_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if7_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if7_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 7, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf7NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if8_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if8_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if8_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 8, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf8NetLinkMode.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv4_ip = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv4IP.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv4_netmask = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv4Netmask.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv4_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv4Gateway.setStatus('current') mbg_lt_cfg_ethernet_if9_dhcp_client = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9DHCPClient.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv6_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6IP1.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv6_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6IP2.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv6_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6IP3.setStatus('current') mbg_lt_cfg_ethernet_if9_i_pv6_autoconf = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9IPv6Autoconf.setStatus('current') mbg_lt_cfg_ethernet_if9_net_link_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 8, 9, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('autosensing', 0), ('link10half', 1), ('link10full', 2), ('link100half', 3), ('link100full', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgEthernetIf9NetLinkMode.setStatus('current') mbg_lt_cfg_shs = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 9)) mbg_lt_cfg_shs_crit_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 9, 1), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSHSCritLimit.setStatus('current') mbg_lt_cfg_shs_warn_limit = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 9, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgSHSWarnLimit.setStatus('current') mbg_lt_cfg_mrs = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 4, 10)) mbg_lt_cfg_mrs_ref_priority = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 4, 10, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCfgMRSRefPriority.setStatus('current') mbg_lt_cmd = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 5)) mbg_lt_cmd_execute = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('ready', 0), ('doReboot', 1), ('doFirmwareUpdate', 2), ('doReloadConfig', 3), ('doGenerateSSHKey', 4), ('doGenerateHTTPSKey', 5), ('doResetFactoryDefaults', 6), ('doGenerateNewNTPAutokeyCert', 7), ('doSendTestNotification', 8), ('doResetSHSTimeLimitError', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCmdExecute.setStatus('current') mbg_lt_cmd_set_ref_time = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 5, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mbgLtCmdSetRefTime.setStatus('current') mbg_lt_ptp = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 10)) mbg_lt_ptp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpMode.setStatus('current') mbg_lt_ptp_mode_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('stopped', 0), ('master', 1), ('slave', 2), ('ordinary', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpModeVal.setStatus('current') mbg_lt_ptp_port_state = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpPortState.setStatus('current') mbg_lt_ptp_port_state_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('uncalibrated', 0), ('initializing', 1), ('listening', 2), ('master', 3), ('slave', 4), ('unicastmaster', 5), ('unicastslave', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpPortStateVal.setStatus('current') mbg_lt_ptp_offset_from_gm = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpOffsetFromGM.setStatus('current') mbg_lt_ptp_offset_from_gm_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 6), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setUnits('ns').setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpOffsetFromGMVal.setStatus('current') mbg_lt_ptp_delay = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 7), display_string()).setUnits('ns').setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpDelay.setStatus('current') mbg_lt_ptp_delay_val = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 10, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setUnits('ns').setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtPtpDelayVal.setStatus('current') mbg_lt_fdm = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 11)) mbg_lt_fdm_pl_freq = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 11, 1), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtFdmPlFreq.setStatus('current') mbg_lt_fdm_freq_dev = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 11, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtFdmFreqDev.setStatus('current') mbg_lt_fdm_nom_freq = mib_scalar((1, 3, 6, 1, 4, 1, 5597, 3, 11, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: mbgLtFdmNomFreq.setStatus('current') mbg_lt_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 90)) mbg_lt_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 90, 1)) mbg_lt_groups = mib_identifier((1, 3, 6, 1, 4, 1, 5597, 3, 90, 2)) mbg_lt_compliance = module_compliance((1, 3, 6, 1, 4, 1, 5597, 3, 90, 1, 1)).setObjects(('MBG-SNMP-LT-MIB', 'mbgLtObjectsGroup'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mbg_lt_compliance = mbgLtCompliance.setStatus('current') mbg_lt_objects_group = object_group((1, 3, 6, 1, 4, 1, 5597, 3, 90, 2, 1)) for _mbg_lt_objects_group_obj in [[('MBG-SNMP-LT-MIB', 'mbgLtFirmwareVersion'), ('MBG-SNMP-LT-MIB', 'mbgLtFirmwareVersionVal'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpCurrentState'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpCurrentStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpStratum'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpActiveRefclockId'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpActiveRefclockName'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpActiveRefclockOffset'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpActiveRefclockOffsetVal'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpNumberOfRefclocks'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpAuthKeyId'), ('MBG-SNMP-LT-MIB', 'mbgLtNtpVersion'), ('MBG-SNMP-LT-MIB', 'mbgLtRefClockType'), ('MBG-SNMP-LT-MIB', 'mbgLtRefClockTypeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefClockMode'), ('MBG-SNMP-LT-MIB', 'mbgLtRefClockModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsState'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsPosition'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsSatellites'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsSatellitesGood'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsSatellitesInView'), ('MBG-SNMP-LT-MIB', 'mbgLtRefPzfState'), ('MBG-SNMP-LT-MIB', 'mbgLtRefPzfStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefPzfKorrelation'), ('MBG-SNMP-LT-MIB', 'mbgLtRefPzfField'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsMode'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefIrigMode'), ('MBG-SNMP-LT-MIB', 'mbgLtRefIrigModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefPzfMode'), ('MBG-SNMP-LT-MIB', 'mbgLtRefPzfModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefIrigState'), ('MBG-SNMP-LT-MIB', 'mbgLtRefIrigStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefSHSMode'), ('MBG-SNMP-LT-MIB', 'mbgLtRefSHSModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefSHSTimeDiff'), ('MBG-SNMP-LT-MIB', 'mbgLtRefDctState'), ('MBG-SNMP-LT-MIB', 'mbgLtRefDctStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefDctField'), ('MBG-SNMP-LT-MIB', 'mbgLtRefDctMode'), ('MBG-SNMP-LT-MIB', 'mbgLtRefDctModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsLeapSecond'), ('MBG-SNMP-LT-MIB', 'mbgLtRefGpsLeapCorrection'), ('MBG-SNMP-LT-MIB', 'mbgLtRefMrsRef'), ('MBG-SNMP-LT-MIB', 'mbgLtRefMrsRefVal'), ('MBG-SNMP-LT-MIB', 'mbgLtRefMrsRefList'), ('MBG-SNMP-LT-MIB', 'mbgLtRefMrsPrioList'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsOffs'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsOffsVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsOffsBase'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsPrio'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsState'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsGpsPrecision'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigOffs'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigOffsVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigOffsBase'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigPrio'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigState'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigCorr'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigOffsLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsIrigPrecision'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsOffs'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsOffsVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsOffsBase'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsPrio'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsState'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsCorr'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsOffsLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPpsPrecision'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqOffs'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqOffsVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqOffsBase'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqPrio'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqState'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqCorr'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqOffsLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsFreqPrecision'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpOffs'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpOffsVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpOffsBase'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpPrio'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpState'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpCorr'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpOffsLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsPtpPrecision'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpOffs'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpOffsVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpOffsBase'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpPrio'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpState'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpCorr'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpOffsLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtMrsNtpPrecision'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapMessage'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgHostname'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgDomainname'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNameserver1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNameserver2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSyslogserver1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSyslogserver2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgTelnetAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgFTPAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgHTTPAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgHTTPSAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSambaAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgIPv6Access'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSSHAccess'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer1IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer1Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer1Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer1Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer2IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer2Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer2Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer2Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer3IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer3Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer3Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer3Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer4Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer4Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer4Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer5IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer5Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer5Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer5Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer6IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer6Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer6Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer6Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer7IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer7Key'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer7Autokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPServer7Prefer'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPStratumLocalClock'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPTrustedKey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPBroadcastIP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPBroadcastKey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPBroadcastAutokey'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPAutokeyFeature'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNTPAtomPPS'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEMailTo'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEMailFrom'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEMailSmarthost'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPTrapReceiver1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPTrapReceiver2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPTrapRec1Community'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPTrapRec2Community'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPReadOnlyCommunity'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPReadWriteCommunity'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPContact'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSNMPLocation'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgWMailAddress1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgWMailAddress2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgVP100Display1IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgVP100Display1SN'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgVP100Display2IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgVP100Display2SN'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyNTPNotSync'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyNTPStopped'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyServerBoot'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyRefclkNoResponse'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyRefclockNotSync'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyAntennaFaulty'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyAntennaReconnect'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyConfigChanged'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifySHSTimeLimitError'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgNotifyLeapSecond'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf0NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf1NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf2NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf3NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf4NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf5NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf6NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf7NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv6IP2')], [('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf8NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv4IP'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv4Netmask'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv4Gateway'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9DHCPClient'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv6IP1'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv6IP2'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv6IP3'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9IPv6Autoconf'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgEthernetIf9NetLinkMode'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSHSCritLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgSHSWarnLimit'), ('MBG-SNMP-LT-MIB', 'mbgLtCfgMRSRefPriority'), ('MBG-SNMP-LT-MIB', 'mbgLtCmdExecute'), ('MBG-SNMP-LT-MIB', 'mbgLtCmdSetRefTime'), ('MBG-SNMP-LT-MIB', 'mbgLtFdmPlFreq'), ('MBG-SNMP-LT-MIB', 'mbgLtFdmFreqDev'), ('MBG-SNMP-LT-MIB', 'mbgLtFdmNomFreq'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpMode'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpModeVal'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpPortState'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpPortStateVal'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpOffsetFromGM'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpOffsetFromGMVal'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpDelay'), ('MBG-SNMP-LT-MIB', 'mbgLtPtpDelayVal')]]: if getattr(mibBuilder, 'version', 0) < (4, 4, 2): mbg_lt_objects_group = mbgLtObjectsGroup.setObjects(*_mbgLtObjectsGroup_obj) else: mbg_lt_objects_group = mbgLtObjectsGroup.setObjects(*_mbgLtObjectsGroup_obj, **dict(append=True)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mbg_lt_objects_group = mbgLtObjectsGroup.setStatus('current') mbg_lt_traps_group = notification_group((1, 3, 6, 1, 4, 1, 5597, 3, 90, 2, 2)).setObjects(('MBG-SNMP-LT-MIB', 'mbgLtTrapNTPNotSync'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapNTPStopped'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapServerBoot'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapReceiverNotResponding'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapReceiverNotSync'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapAntennaFaulty'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapAntennaReconnect'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapConfigChanged'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapLeapSecondAnnounced'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapSHSTimeLimitError'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapSecondaryRecNotSync'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapPowerSupplyFailure'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapAntennaShortCircuit'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapReceiverSync'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapNTPClientAlarm'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapPowerSupplyUp'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapNetworkDown'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapNetworkUp'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapSecondaryRecNotResp'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapXmrLimitExceeded'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapXmrRefDisconnect'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapXmrRefReconnect'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapFdmError'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapSHSTimeLimitWarning'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapSecondaryRecSync'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapNTPSync'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapNormalOperation'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapHeartbeat'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapTestNotification'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapPtpPortDisconnected'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapPtpPortConnected'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapPtpStateChanged'), ('MBG-SNMP-LT-MIB', 'mbgLtTrapPtpError')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): mbg_lt_traps_group = mbgLtTrapsGroup.setStatus('current') mibBuilder.exportSymbols('MBG-SNMP-LT-MIB', mbgLtNtpActiveRefclockOffset=mbgLtNtpActiveRefclockOffset, mbgLtRefGpsSatellitesGood=mbgLtRefGpsSatellitesGood, mbgLtMrsPtpStateVal=mbgLtMrsPtpStateVal, mbgLtCfgEthernetIf4=mbgLtCfgEthernetIf4, mbgLtCfgEthernetIf1=mbgLtCfgEthernetIf1, mbgLtPtpModeVal=mbgLtPtpModeVal, mbgLtCfgNTPServer7IP=mbgLtCfgNTPServer7IP, mbgLtCfgEthernetIf9IPv6IP3=mbgLtCfgEthernetIf9IPv6IP3, mbgLtTrapLeapSecondAnnounced=mbgLtTrapLeapSecondAnnounced, mbgLtRefSHSTimeDiff=mbgLtRefSHSTimeDiff, mbgLtTrapPowerSupplyUp=mbgLtTrapPowerSupplyUp, mbgLtCfgEthernetIf6IPv4Netmask=mbgLtCfgEthernetIf6IPv4Netmask, mbgLtCmdExecute=mbgLtCmdExecute, mbgLtMrsIrigOffsBase=mbgLtMrsIrigOffsBase, mbgLtMrsPpsPrio=mbgLtMrsPpsPrio, mbgLtCfgNotifyAntennaFaulty=mbgLtCfgNotifyAntennaFaulty, mbgLtMrs=mbgLtMrs, mbgLtCfgSNMPContact=mbgLtCfgSNMPContact, mbgLtCfgEthernetIf8DHCPClient=mbgLtCfgEthernetIf8DHCPClient, mbgLtCfgEthernetIf4NetLinkMode=mbgLtCfgEthernetIf4NetLinkMode, mbgLtTrapPtpPortConnected=mbgLtTrapPtpPortConnected, mbgLtTraps=mbgLtTraps, mbgLtCfgNTPServer6Key=mbgLtCfgNTPServer6Key, mbgLtRefIrigMode=mbgLtRefIrigMode, mbgLtCfgEthernetIf4IPv6IP1=mbgLtCfgEthernetIf4IPv6IP1, PYSNMP_MODULE_ID=mbgLantime, mbgLtMrsGpsOffsBase=mbgLtMrsGpsOffsBase, mbgLtCfgNTPServer4Prefer=mbgLtCfgNTPServer4Prefer, mbgLtRefPzfStateVal=mbgLtRefPzfStateVal, mbgLtCfgEthernetIf4IPv6Autoconf=mbgLtCfgEthernetIf4IPv6Autoconf, mbgLtTrapAntennaFaulty=mbgLtTrapAntennaFaulty, mbgLtCfgEthernetIf2IPv4Netmask=mbgLtCfgEthernetIf2IPv4Netmask, mbgLtMrsFreqPrecision=mbgLtMrsFreqPrecision, mbgLtCfgNTPServer5Key=mbgLtCfgNTPServer5Key, mbgLtCfgNotifyAntennaReconnect=mbgLtCfgNotifyAntennaReconnect, mbgLtCfgIPv6Access=mbgLtCfgIPv6Access, mbgLtCfgHTTPSAccess=mbgLtCfgHTTPSAccess, mbgLtCfgEthernetIf9IPv4Gateway=mbgLtCfgEthernetIf9IPv4Gateway, mbgLtCfgNTPServer1IP=mbgLtCfgNTPServer1IP, mbgLtRefclock=mbgLtRefclock, mbgLtCfgEthernetIf7=mbgLtCfgEthernetIf7, mbgLtCfgEthernetIf3IPv4IP=mbgLtCfgEthernetIf3IPv4IP, mbgLtTrapNormalOperation=mbgLtTrapNormalOperation, mbgLtCfgVP100Display1SN=mbgLtCfgVP100Display1SN, mbgLtCfgEthernetIf4IPv4Gateway=mbgLtCfgEthernetIf4IPv4Gateway, mbgLtCfgEthernetIf8=mbgLtCfgEthernetIf8, mbgLtCfgEthernetIf9NetLinkMode=mbgLtCfgEthernetIf9NetLinkMode, mbgLtMrsRefFreq=mbgLtMrsRefFreq, mbgLtMrsIrigOffs=mbgLtMrsIrigOffs, mbgLtTrapSecondaryRecNotResp=mbgLtTrapSecondaryRecNotResp, mbgLtCfgHTTPAccess=mbgLtCfgHTTPAccess, mbgLtMrsNtpCorr=mbgLtMrsNtpCorr, mbgLtCfgEthernetIf7IPv6IP3=mbgLtCfgEthernetIf7IPv6IP3, mbgLtCfgSNMPTrapReceiver2=mbgLtCfgSNMPTrapReceiver2, mbgLtCfgEthernetIf8NetLinkMode=mbgLtCfgEthernetIf8NetLinkMode, mbgLtRefGpsLeapCorrection=mbgLtRefGpsLeapCorrection, mbgLtMrsGpsPrecision=mbgLtMrsGpsPrecision, mbgLtCfgEthernetIf8IPv6IP1=mbgLtCfgEthernetIf8IPv6IP1, mbgLtRefGpsPosition=mbgLtRefGpsPosition, mbgLtMrsRefPtp=mbgLtMrsRefPtp, mbgLtCfgSSHAccess=mbgLtCfgSSHAccess, mbgLtCfgSNMP=mbgLtCfgSNMP, mbgLtRefSHSModeVal=mbgLtRefSHSModeVal, mbgLtCfgEthernetIf9IPv6Autoconf=mbgLtCfgEthernetIf9IPv6Autoconf, mbgLtCfgMRSRefPriority=mbgLtCfgMRSRefPriority, mbgLtCfgNTPServer2Prefer=mbgLtCfgNTPServer2Prefer, mbgLtCfgEthernetIf0=mbgLtCfgEthernetIf0, mbgLtMrsFreqStateVal=mbgLtMrsFreqStateVal, mbgLtTrapNTPClientAlarm=mbgLtTrapNTPClientAlarm, mbgLtTrapXmrRefDisconnect=mbgLtTrapXmrRefDisconnect, mbgLtCfgMRS=mbgLtCfgMRS, mbgLtCfgEthernetIf8IPv4Netmask=mbgLtCfgEthernetIf8IPv4Netmask, mbgLtRefDctStateVal=mbgLtRefDctStateVal, mbgLtCfgEthernetIf2NetLinkMode=mbgLtCfgEthernetIf2NetLinkMode, mbgLtRefDctModeVal=mbgLtRefDctModeVal, mbgLtTrapPowerSupplyFailure=mbgLtTrapPowerSupplyFailure, mbgLtTrapNetworkDown=mbgLtTrapNetworkDown, mbgLtTrapReceiverNotSync=mbgLtTrapReceiverNotSync, mbgLtCfgEthernetIf0NetLinkMode=mbgLtCfgEthernetIf0NetLinkMode, mbgLtTrapXmrLimitExceeded=mbgLtTrapXmrLimitExceeded, mbgLtRefMrsRef=mbgLtRefMrsRef, mbgLtNtpActiveRefclockId=mbgLtNtpActiveRefclockId, mbgLtCfgEthernetIf3IPv4Gateway=mbgLtCfgEthernetIf3IPv4Gateway, mbgLtCfgNotifyServerBoot=mbgLtCfgNotifyServerBoot, mbgLtCfgSNMPLocation=mbgLtCfgSNMPLocation, mbgLtRefGpsSatellitesInView=mbgLtRefGpsSatellitesInView, mbgLtCfgEthernetIf6IPv4Gateway=mbgLtCfgEthernetIf6IPv4Gateway, mbgLtCfgNTPServer4Key=mbgLtCfgNTPServer4Key, mbgLtCfgEthernetIf6NetLinkMode=mbgLtCfgEthernetIf6NetLinkMode, mbgLtCfgEMailSmarthost=mbgLtCfgEMailSmarthost, mbgLtPtp=mbgLtPtp, mbgLtCfgEthernetIf0IPv4Gateway=mbgLtCfgEthernetIf0IPv4Gateway, mbgLtCfgNTPServer7Autokey=mbgLtCfgNTPServer7Autokey, mbgLtCfgEthernetIf5IPv6Autoconf=mbgLtCfgEthernetIf5IPv6Autoconf, mbgLtCfgEMailTo=mbgLtCfgEMailTo, mbgLtMrsPtpOffs=mbgLtMrsPtpOffs, mbgLtCfgEthernetIf6IPv6IP3=mbgLtCfgEthernetIf6IPv6IP3, mbgLtRefGpsMode=mbgLtRefGpsMode, mbgLtCfgNTPBroadcastAutokey=mbgLtCfgNTPBroadcastAutokey, mbgLtRefIrigState=mbgLtRefIrigState, mbgLtCfgNTPServer4=mbgLtCfgNTPServer4, mbgLtCfgEthernetIf8IPv6Autoconf=mbgLtCfgEthernetIf8IPv6Autoconf, mbgLtCfgSHSWarnLimit=mbgLtCfgSHSWarnLimit, mbgLtRefSHSMode=mbgLtRefSHSMode, mbgLtNtp=mbgLtNtp, mbgLtCfgEthernetIf7IPv6Autoconf=mbgLtCfgEthernetIf7IPv6Autoconf, mbgLtCfgSambaAccess=mbgLtCfgSambaAccess, mbgLtMrsPpsOffs=mbgLtMrsPpsOffs, mbgLtMrsNtpStateVal=mbgLtMrsNtpStateVal, mbgLtCfgSHS=mbgLtCfgSHS, mbgLtCfgEthernet=mbgLtCfgEthernet, mbgLtCfgEthernetIf9DHCPClient=mbgLtCfgEthernetIf9DHCPClient, mbgLtRefIrigStateVal=mbgLtRefIrigStateVal, mbgLtFdm=mbgLtFdm, mbgLtMrsIrigOffsLimit=mbgLtMrsIrigOffsLimit, mbgLtCfgNTPAutokeyFeature=mbgLtCfgNTPAutokeyFeature, mbgLtMrsFreqOffsBase=mbgLtMrsFreqOffsBase, mbgLtCfgEthernetIf2IPv4Gateway=mbgLtCfgEthernetIf2IPv4Gateway, mbgLtMrsGpsPrio=mbgLtMrsGpsPrio, mbgLtCfgEthernetIf3IPv6IP3=mbgLtCfgEthernetIf3IPv6IP3, mbgLtCfgNetwork=mbgLtCfgNetwork, mbgLtTrapsGroup=mbgLtTrapsGroup, mbgLtRefClockTypeVal=mbgLtRefClockTypeVal, mbgLtFirmwareVersion=mbgLtFirmwareVersion, mbgLtRefGpsState=mbgLtRefGpsState, mbgLtCfgEMailFrom=mbgLtCfgEMailFrom, mbgLtRefMrsRefVal=mbgLtRefMrsRefVal, mbgLtCfgNTPServer6Autokey=mbgLtCfgNTPServer6Autokey, mbgLtMrsRef=mbgLtMrsRef, mbgLtNtpCurrentState=mbgLtNtpCurrentState, mbgLtFirmwareVersionVal=mbgLtFirmwareVersionVal, mbgLtCfgEthernetIf2IPv6IP3=mbgLtCfgEthernetIf2IPv6IP3, mbgLtCfgNotifyRefclkNoResponse=mbgLtCfgNotifyRefclkNoResponse, mbgLtCfgNameserver2=mbgLtCfgNameserver2, mbgLtCfgNotifySHSTimeLimitError=mbgLtCfgNotifySHSTimeLimitError, mbgLtCfgEthernetIf9IPv6IP1=mbgLtCfgEthernetIf9IPv6IP1, mbgLtCfgHostname=mbgLtCfgHostname, mbgLtTrapFdmError=mbgLtTrapFdmError, mbgLtCfgNTPStratumLocalClock=mbgLtCfgNTPStratumLocalClock, mbgLtCfgNTPServer1Prefer=mbgLtCfgNTPServer1Prefer, mbgLtCfgSNMPTrapRec2Community=mbgLtCfgSNMPTrapRec2Community, mbgLtCfgNTPServer3Key=mbgLtCfgNTPServer3Key, mbgLtCompliance=mbgLtCompliance, mbgLtCfgEthernetIf1IPv4Netmask=mbgLtCfgEthernetIf1IPv4Netmask, mbgLtCfgEthernetIf2IPv4IP=mbgLtCfgEthernetIf2IPv4IP, mbgLtMrsPtpOffsVal=mbgLtMrsPtpOffsVal, mbgLtCfgSNMPTrapReceiver1=mbgLtCfgSNMPTrapReceiver1, mbgLtCompliances=mbgLtCompliances, mbgLtCfgEthernetIf7IPv6IP1=mbgLtCfgEthernetIf7IPv6IP1, mbgLtCfgNTPBroadcastKey=mbgLtCfgNTPBroadcastKey, mbgLtTrapSHSTimeLimitWarning=mbgLtTrapSHSTimeLimitWarning, mbgLtCfgEthernetIf8IPv4IP=mbgLtCfgEthernetIf8IPv4IP, mbgLtCfgNotifyLeapSecond=mbgLtCfgNotifyLeapSecond, mbgLtCfg=mbgLtCfg, mbgLtMrsPpsCorr=mbgLtMrsPpsCorr, mbgLtCfgNTP=mbgLtCfgNTP, mbgLtCfgEthernetIf1IPv4Gateway=mbgLtCfgEthernetIf1IPv4Gateway, mbgLtRefIrigModeVal=mbgLtRefIrigModeVal, mbgLtCfgSNMPAccess=mbgLtCfgSNMPAccess, mbgLtTrapPtpError=mbgLtTrapPtpError, mbgLtCfgNTPServer3Prefer=mbgLtCfgNTPServer3Prefer, mbgLtTrapNTPNotSync=mbgLtTrapNTPNotSync, mbgLtCfgEthernetIf5IPv6IP3=mbgLtCfgEthernetIf5IPv6IP3, mbgLtPtpOffsetFromGMVal=mbgLtPtpOffsetFromGMVal, mbgLtCfgEthernetIf5IPv6IP2=mbgLtCfgEthernetIf5IPv6IP2, mbgLtCfgEthernetIf7IPv4Netmask=mbgLtCfgEthernetIf7IPv4Netmask, mbgLtMrsPtpOffsBase=mbgLtMrsPtpOffsBase, mbgLtRefGpsLeapSecond=mbgLtRefGpsLeapSecond, mbgLtMrsPtpCorr=mbgLtMrsPtpCorr, mbgLtTrapTestNotification=mbgLtTrapTestNotification, mbgLtCfgDomainname=mbgLtCfgDomainname, mbgLtCfgEthernetIf7NetLinkMode=mbgLtCfgEthernetIf7NetLinkMode, mbgLtCfgNTPServer1Autokey=mbgLtCfgNTPServer1Autokey, mbgLtCfgEthernetIf5NetLinkMode=mbgLtCfgEthernetIf5NetLinkMode, mbgLtMrsRefNtp=mbgLtMrsRefNtp, mbgLtCfgNTPServer2IP=mbgLtCfgNTPServer2IP, mbgLtRefPzfModeVal=mbgLtRefPzfModeVal, mbgLtFdmPlFreq=mbgLtFdmPlFreq, mbgLtRefClockType=mbgLtRefClockType, mbgLtCfgNTPServer3Autokey=mbgLtCfgNTPServer3Autokey, mbgLtCfgEthernetIf4IPv4Netmask=mbgLtCfgEthernetIf4IPv4Netmask, mbgLtCfgEthernetIf2=mbgLtCfgEthernetIf2, mbgLtMrsNtpPrecision=mbgLtMrsNtpPrecision, mbgLtMrsGpsState=mbgLtMrsGpsState, mbgLtRefPzfKorrelation=mbgLtRefPzfKorrelation, mbgLtCfgEthernetIf8IPv4Gateway=mbgLtCfgEthernetIf8IPv4Gateway, mbgLtTrapSecondaryRecNotSync=mbgLtTrapSecondaryRecNotSync, mbgLtCfgEthernetIf1IPv6IP2=mbgLtCfgEthernetIf1IPv6IP2, mbgLtCfgSNMPReadWriteCommunity=mbgLtCfgSNMPReadWriteCommunity, mbgLtCfgEthernetIf9=mbgLtCfgEthernetIf9, mbgLtTrapAntennaReconnect=mbgLtTrapAntennaReconnect, mbgLantime=mbgLantime, mbgLtCfgEthernetIf7IPv6IP2=mbgLtCfgEthernetIf7IPv6IP2, mbgLtCfgNotify=mbgLtCfgNotify, mbgLtNtpVersion=mbgLtNtpVersion, mbgLtCfgNTPServer6IP=mbgLtCfgNTPServer6IP, mbgLtCfgEthernetIf2IPv6IP2=mbgLtCfgEthernetIf2IPv6IP2, mbgLtRefDctField=mbgLtRefDctField, mbgLtCfgNTPServer7Prefer=mbgLtCfgNTPServer7Prefer, mbgLtTrapReceiverSync=mbgLtTrapReceiverSync, mbgLtCfgNTPTrustedKey=mbgLtCfgNTPTrustedKey, mbgLtCfgEthernetIf7IPv4IP=mbgLtCfgEthernetIf7IPv4IP, mbgLtTrapMessage=mbgLtTrapMessage, mbgLtMrsPpsPrecision=mbgLtMrsPpsPrecision, mbgLtCfgNTPServer5=mbgLtCfgNTPServer5, mbgLtMrsRefPps=mbgLtMrsRefPps, mbgLtFdmFreqDev=mbgLtFdmFreqDev, mbgLtCfgNTPServer7Key=mbgLtCfgNTPServer7Key, mbgLtCfgNTPServer2=mbgLtCfgNTPServer2, mbgLtMrsNtpOffsBase=mbgLtMrsNtpOffsBase, mbgLtCfgEthernetIf0IPv6IP1=mbgLtCfgEthernetIf0IPv6IP1, mbgLtCfgSyslogserver2=mbgLtCfgSyslogserver2, mbgLtTrapNetworkUp=mbgLtTrapNetworkUp, mbgLtCfgWMailAddress2=mbgLtCfgWMailAddress2, mbgLtCfgWinpopup=mbgLtCfgWinpopup, mbgLtMrsFreqOffsLimit=mbgLtMrsFreqOffsLimit, mbgLtCfgNTPServer6Prefer=mbgLtCfgNTPServer6Prefer, mbgLtCfgEthernetIf5IPv4IP=mbgLtCfgEthernetIf5IPv4IP, mbgLtMrsIrigOffsVal=mbgLtMrsIrigOffsVal, mbgLtCfgNTPServer2Autokey=mbgLtCfgNTPServer2Autokey, mbgLtMrsNtpPrio=mbgLtMrsNtpPrio, mbgLtRefGpsModeVal=mbgLtRefGpsModeVal, mbgLtNtpCurrentStateVal=mbgLtNtpCurrentStateVal, mbgLtRefMrsPrioList=mbgLtRefMrsPrioList, mbgLtMrsFreqState=mbgLtMrsFreqState, mbgLtTrapXmrRefReconnect=mbgLtTrapXmrRefReconnect, mbgLtCfgNTPServer4IP=mbgLtCfgNTPServer4IP, mbgLtTrapNTPStopped=mbgLtTrapNTPStopped, mbgLtMrsPpsOffsVal=mbgLtMrsPpsOffsVal, mbgLtCfgVP100Display1IP=mbgLtCfgVP100Display1IP, mbgLtCfgEthernetIf3IPv4Netmask=mbgLtCfgEthernetIf3IPv4Netmask, mbgLtCfgSHSCritLimit=mbgLtCfgSHSCritLimit, mbgLtRefPzfState=mbgLtRefPzfState, mbgLtCfgEthernetIf6IPv6Autoconf=mbgLtCfgEthernetIf6IPv6Autoconf, mbgLtTrapHeartbeat=mbgLtTrapHeartbeat, mbgLtPtpDelayVal=mbgLtPtpDelayVal, mbgLtCfgEthernetIf6IPv6IP1=mbgLtCfgEthernetIf6IPv6IP1, mbgLtCfgEthernetIf3IPv6IP1=mbgLtCfgEthernetIf3IPv6IP1, mbgLtCfgEthernetIf5IPv4Gateway=mbgLtCfgEthernetIf5IPv4Gateway, mbgLtNtpStratum=mbgLtNtpStratum, mbgLtCfgSNMPTrapRec1Community=mbgLtCfgSNMPTrapRec1Community, mbgLtMrsPpsOffsBase=mbgLtMrsPpsOffsBase, mbgLtCfgNTPServer5IP=mbgLtCfgNTPServer5IP, mbgLtTrapSecondaryRecSync=mbgLtTrapSecondaryRecSync, mbgLtCfgEthernetIf6IPv4IP=mbgLtCfgEthernetIf6IPv4IP, mbgLtMrsRefGps=mbgLtMrsRefGps, mbgLtCfgVP100Display2IP=mbgLtCfgVP100Display2IP, mbgLtCfgSNMPReadOnlyCommunity=mbgLtCfgSNMPReadOnlyCommunity, mbgLtRefDctState=mbgLtRefDctState, mbgLtCfgEthernetIf5IPv6IP1=mbgLtCfgEthernetIf5IPv6IP1, mbgLtPtpOffsetFromGM=mbgLtPtpOffsetFromGM, mbgLtCfgNotifyRefclockNotSync=mbgLtCfgNotifyRefclockNotSync, mbgLtPtpMode=mbgLtPtpMode, mbgLtRefGpsStateVal=mbgLtRefGpsStateVal) mibBuilder.exportSymbols('MBG-SNMP-LT-MIB', mbgLtCfgNTPServer5Autokey=mbgLtCfgNTPServer5Autokey, mbgLtTrapServerBoot=mbgLtTrapServerBoot, mbgLtCfgFTPAccess=mbgLtCfgFTPAccess, mbgLtTrapSHSTimeLimitError=mbgLtTrapSHSTimeLimitError, mbgLtNtpAuthKeyId=mbgLtNtpAuthKeyId, mbgLtRefClockModeVal=mbgLtRefClockModeVal, mbgLtMrsIrigPrecision=mbgLtMrsIrigPrecision, mbgLtCfgNameserver1=mbgLtCfgNameserver1, mbgLtConformance=mbgLtConformance, mbgLtMrsPtpPrecision=mbgLtMrsPtpPrecision, mbgLtCfgEthernetIf8IPv6IP3=mbgLtCfgEthernetIf8IPv6IP3, mbgLtMrsGpsStateVal=mbgLtMrsGpsStateVal, mbgLtCfgEthernetIf2IPv6IP1=mbgLtCfgEthernetIf2IPv6IP1, mbgLtPtpDelay=mbgLtPtpDelay, mbgLtCfgEthernetIf3=mbgLtCfgEthernetIf3, mbgLtCfgEthernetIf2DHCPClient=mbgLtCfgEthernetIf2DHCPClient, mbgLtMrsPpsState=mbgLtMrsPpsState, mbgLtFdmNomFreq=mbgLtFdmNomFreq, mbgLtCfgEthernetIf0IPv4IP=mbgLtCfgEthernetIf0IPv4IP, mbgLtCmdSetRefTime=mbgLtCmdSetRefTime, mbgLtObjectsGroup=mbgLtObjectsGroup, mbgLtCfgNTPServer1Key=mbgLtCfgNTPServer1Key, mbgLtCfgEthernetIf5DHCPClient=mbgLtCfgEthernetIf5DHCPClient, mbgLtCfgEthernetIf9IPv6IP2=mbgLtCfgEthernetIf9IPv6IP2, mbgLtMrsPtpPrio=mbgLtMrsPtpPrio, mbgLtCfgEthernetIf8IPv6IP2=mbgLtCfgEthernetIf8IPv6IP2, mbgLtInfo=mbgLtInfo, mbgLtCfgNotifyNTPNotSync=mbgLtCfgNotifyNTPNotSync, mbgLtCfgEthernetIf3IPv6IP2=mbgLtCfgEthernetIf3IPv6IP2, mbgLtNtpActiveRefclockOffsetVal=mbgLtNtpActiveRefclockOffsetVal, mbgLtCfgNotifyNTPStopped=mbgLtCfgNotifyNTPStopped, mbgLtCfgEthernetIf1DHCPClient=mbgLtCfgEthernetIf1DHCPClient, mbgLtCfgNTPServer7=mbgLtCfgNTPServer7, mbgLtCfgEthernetIf0IPv6IP2=mbgLtCfgEthernetIf0IPv6IP2, mbgLtCfgEthernetIf6=mbgLtCfgEthernetIf6, mbgLtCfgEthernetIf7DHCPClient=mbgLtCfgEthernetIf7DHCPClient, mbgLtMrsPtpOffsLimit=mbgLtMrsPtpOffsLimit, mbgLtMrsNtpOffsVal=mbgLtMrsNtpOffsVal, mbgLtMrsIrigState=mbgLtMrsIrigState, mbgLtMrsIrigCorr=mbgLtMrsIrigCorr, mbgLtMrsFreqCorr=mbgLtMrsFreqCorr, mbgLtMrsPtpState=mbgLtMrsPtpState, mbgLtTrapPtpPortDisconnected=mbgLtTrapPtpPortDisconnected, mbgLtCfgEthernetIf4DHCPClient=mbgLtCfgEthernetIf4DHCPClient, mbgLtCfgNotifyConfigChanged=mbgLtCfgNotifyConfigChanged, mbgLtMrsPpsStateVal=mbgLtMrsPpsStateVal, mbgLtCfgTelnetAccess=mbgLtCfgTelnetAccess, mbgLtCfgEthernetIf0IPv4Netmask=mbgLtCfgEthernetIf0IPv4Netmask, mbgLtCfgEthernetIf7IPv4Gateway=mbgLtCfgEthernetIf7IPv4Gateway, mbgLtMrsNtpOffs=mbgLtMrsNtpOffs, mbgLtCfgEthernetIf0DHCPClient=mbgLtCfgEthernetIf0DHCPClient, mbgLtRefClockMode=mbgLtRefClockMode, mbgLtTrapConfigChanged=mbgLtTrapConfigChanged, mbgLtMrsRefIrig=mbgLtMrsRefIrig, mbgLtCfgEthernetIf6IPv6IP2=mbgLtCfgEthernetIf6IPv6IP2, mbgLtCfgEthernetIf4IPv6IP2=mbgLtCfgEthernetIf4IPv6IP2, mbgLtCmd=mbgLtCmd, mbgLtCfgEMail=mbgLtCfgEMail, mbgLtMrsIrigStateVal=mbgLtMrsIrigStateVal, mbgLtCfgNTPBroadcastIP=mbgLtCfgNTPBroadcastIP, mbgLtMrsFreqOffsVal=mbgLtMrsFreqOffsVal, mbgLtNtpActiveRefclockName=mbgLtNtpActiveRefclockName, mbgLtGroups=mbgLtGroups, mbgLtMrsIrigPrio=mbgLtMrsIrigPrio, mbgLtCfgEthernetIf1IPv4IP=mbgLtCfgEthernetIf1IPv4IP, mbgLtRefDctMode=mbgLtRefDctMode, mbgLtCfgEthernetIf3NetLinkMode=mbgLtCfgEthernetIf3NetLinkMode, mbgLtCfgEthernetIf1IPv6IP3=mbgLtCfgEthernetIf1IPv6IP3, mbgLtTrapNTPSync=mbgLtTrapNTPSync, mbgLtPtpPortStateVal=mbgLtPtpPortStateVal, mbgLtMrsGpsOffsVal=mbgLtMrsGpsOffsVal, mbgLtCfgEthernetIf3DHCPClient=mbgLtCfgEthernetIf3DHCPClient, mbgLtCfgNTPServer3IP=mbgLtCfgNTPServer3IP, mbgLtTrapAntennaShortCircuit=mbgLtTrapAntennaShortCircuit, mbgLtCfgNTPAtomPPS=mbgLtCfgNTPAtomPPS, mbgLtCfgEthernetIf5=mbgLtCfgEthernetIf5, mbgLtMrsFreqOffs=mbgLtMrsFreqOffs, mbgLtMrsGpsOffs=mbgLtMrsGpsOffs, mbgLtPtpPortState=mbgLtPtpPortState, mbgLtCfgNTPServer4Autokey=mbgLtCfgNTPServer4Autokey, mbgLtCfgVP100Display2SN=mbgLtCfgVP100Display2SN, mbgLtCfgNTPServer5Prefer=mbgLtCfgNTPServer5Prefer, mbgLtCfgEthernetIf9IPv4Netmask=mbgLtCfgEthernetIf9IPv4Netmask, mbgLtCfgEthernetIf0IPv6Autoconf=mbgLtCfgEthernetIf0IPv6Autoconf, mbgLtCfgEthernetIf9IPv4IP=mbgLtCfgEthernetIf9IPv4IP, mbgLtCfgNTPServer6=mbgLtCfgNTPServer6, mbgLtCfgEthernetIf5IPv4Netmask=mbgLtCfgEthernetIf5IPv4Netmask, mbgLtCfgNTPServer3=mbgLtCfgNTPServer3, mbgLtNotifications=mbgLtNotifications, mbgLtCfgEthernetIf6DHCPClient=mbgLtCfgEthernetIf6DHCPClient, mbgLtCfgEthernetIf4IPv4IP=mbgLtCfgEthernetIf4IPv4IP, mbgLtCfgEthernetIf1IPv6IP1=mbgLtCfgEthernetIf1IPv6IP1, mbgLtCfgNTPServer1=mbgLtCfgNTPServer1, mbgLtRefPzfMode=mbgLtRefPzfMode, mbgLtRefGpsSatellites=mbgLtRefGpsSatellites, mbgLtCfgWMailAddress1=mbgLtCfgWMailAddress1, mbgLtTrapPtpStateChanged=mbgLtTrapPtpStateChanged, mbgLtCfgEthernetIf2IPv6Autoconf=mbgLtCfgEthernetIf2IPv6Autoconf, mbgLtCfgEthernetIf4IPv6IP3=mbgLtCfgEthernetIf4IPv6IP3, mbgLtCfgEthernetIf3IPv6Autoconf=mbgLtCfgEthernetIf3IPv6Autoconf, mbgLtCfgNTPServer2Key=mbgLtCfgNTPServer2Key, mbgLtRefPzfField=mbgLtRefPzfField, mbgLtMrsNtpOffsLimit=mbgLtMrsNtpOffsLimit, mbgLtCfgWalldisplay=mbgLtCfgWalldisplay, mbgLtMrsPpsOffsLimit=mbgLtMrsPpsOffsLimit, mbgLtNtpNumberOfRefclocks=mbgLtNtpNumberOfRefclocks, mbgLtCfgEthernetIf1NetLinkMode=mbgLtCfgEthernetIf1NetLinkMode, mbgLtMrsNtpState=mbgLtMrsNtpState, mbgLtCfgEthernetIf1IPv6Autoconf=mbgLtCfgEthernetIf1IPv6Autoconf, mbgLtTrapReceiverNotResponding=mbgLtTrapReceiverNotResponding, mbgLtCfgSyslogserver1=mbgLtCfgSyslogserver1, mbgLtCfgEthernetIf0IPv6IP3=mbgLtCfgEthernetIf0IPv6IP3, mbgLtMrsFreqPrio=mbgLtMrsFreqPrio, mbgLtRefMrsRefList=mbgLtRefMrsRefList)
"""A generate file containing all source files used to produce `cargo-bazel`""" # Each source file is tracked as a target so the `cargo_bootstrap_repository` # rule will know to automatically rebuild if any of the sources changed. CARGO_BAZEL_SRCS = [ "@rules_rust//crate_universe:src/cli.rs", "@rules_rust//crate_universe:src/cli/generate.rs", "@rules_rust//crate_universe:src/cli/query.rs", "@rules_rust//crate_universe:src/cli/splice.rs", "@rules_rust//crate_universe:src/cli/vendor.rs", "@rules_rust//crate_universe:src/config.rs", "@rules_rust//crate_universe:src/context.rs", "@rules_rust//crate_universe:src/context/crate_context.rs", "@rules_rust//crate_universe:src/context/platforms.rs", "@rules_rust//crate_universe:src/lib.rs", "@rules_rust//crate_universe:src/lockfile.rs", "@rules_rust//crate_universe:src/main.rs", "@rules_rust//crate_universe:src/metadata.rs", "@rules_rust//crate_universe:src/metadata/dependency.rs", "@rules_rust//crate_universe:src/metadata/metadata_annotation.rs", "@rules_rust//crate_universe:src/rendering.rs", "@rules_rust//crate_universe:src/rendering/template_engine.rs", "@rules_rust//crate_universe:src/rendering/templates/crate_build_file.j2", "@rules_rust//crate_universe:src/rendering/templates/module_build_file.j2", "@rules_rust//crate_universe:src/rendering/templates/module_bzl.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/aliases.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/binary.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/build_script.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/common_attrs.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/deps.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/library.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/crate/proc_macro.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/header.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/module/aliases_map.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/module/deps_map.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/module/repo_git.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/module/repo_http.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/starlark/glob.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/starlark/selectable_dict.j2", "@rules_rust//crate_universe:src/rendering/templates/partials/starlark/selectable_list.j2", "@rules_rust//crate_universe:src/rendering/templates/vendor_module.j2", "@rules_rust//crate_universe:src/splicing.rs", "@rules_rust//crate_universe:src/splicing/cargo_config.rs", "@rules_rust//crate_universe:src/splicing/splicer.rs", "@rules_rust//crate_universe:src/test.rs", "@rules_rust//crate_universe:src/utils.rs", "@rules_rust//crate_universe:src/utils/starlark.rs", "@rules_rust//crate_universe:src/utils/starlark/glob.rs", "@rules_rust//crate_universe:src/utils/starlark/label.rs", "@rules_rust//crate_universe:src/utils/starlark/select.rs", ]
"""A generate file containing all source files used to produce `cargo-bazel`""" cargo_bazel_srcs = ['@rules_rust//crate_universe:src/cli.rs', '@rules_rust//crate_universe:src/cli/generate.rs', '@rules_rust//crate_universe:src/cli/query.rs', '@rules_rust//crate_universe:src/cli/splice.rs', '@rules_rust//crate_universe:src/cli/vendor.rs', '@rules_rust//crate_universe:src/config.rs', '@rules_rust//crate_universe:src/context.rs', '@rules_rust//crate_universe:src/context/crate_context.rs', '@rules_rust//crate_universe:src/context/platforms.rs', '@rules_rust//crate_universe:src/lib.rs', '@rules_rust//crate_universe:src/lockfile.rs', '@rules_rust//crate_universe:src/main.rs', '@rules_rust//crate_universe:src/metadata.rs', '@rules_rust//crate_universe:src/metadata/dependency.rs', '@rules_rust//crate_universe:src/metadata/metadata_annotation.rs', '@rules_rust//crate_universe:src/rendering.rs', '@rules_rust//crate_universe:src/rendering/template_engine.rs', '@rules_rust//crate_universe:src/rendering/templates/crate_build_file.j2', '@rules_rust//crate_universe:src/rendering/templates/module_build_file.j2', '@rules_rust//crate_universe:src/rendering/templates/module_bzl.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/aliases.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/binary.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/build_script.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/common_attrs.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/deps.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/library.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/crate/proc_macro.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/header.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/module/aliases_map.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/module/deps_map.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/module/repo_git.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/module/repo_http.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/starlark/glob.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/starlark/selectable_dict.j2', '@rules_rust//crate_universe:src/rendering/templates/partials/starlark/selectable_list.j2', '@rules_rust//crate_universe:src/rendering/templates/vendor_module.j2', '@rules_rust//crate_universe:src/splicing.rs', '@rules_rust//crate_universe:src/splicing/cargo_config.rs', '@rules_rust//crate_universe:src/splicing/splicer.rs', '@rules_rust//crate_universe:src/test.rs', '@rules_rust//crate_universe:src/utils.rs', '@rules_rust//crate_universe:src/utils/starlark.rs', '@rules_rust//crate_universe:src/utils/starlark/glob.rs', '@rules_rust//crate_universe:src/utils/starlark/label.rs', '@rules_rust//crate_universe:src/utils/starlark/select.rs']
""" File: boggle.py Name:Jacky ---------------------------------------- This program lets user to input alphabets which arrange on square. And this program will print words which combined on the neighbor alphabets. """ # This is the file name of the dictionary txt file # we will be checking if a word exists by searching through it FILE = 'dictionary.txt' SIZE = 4 dictionary_list = {} def main(): """ boggle list let user inputs all alphabets and gives any alphabet a position. """ boggle = [] # if user input a wrong formats, the switch will keep on False and this program will print Illegal input switch = False for i in range(SIZE): if switch is True: break boggle_line = input(f'{i+1} row of letters:') boggle_line= boggle_line.split() if len(boggle_line) != SIZE: print('Illegal input') switch = True break for alphabet in boggle_line: if len(alphabet) != 1: print('Illegal input') switch = True break boggle.append(boggle_line) # print(boggle) # let the world in the FILE = 'dictionary.txt' to the dictionary_list read_dictionary() # let any alphabet have own position map_dict = {} # if the neighbor alphabet combined surpass 4 units and this world in the dictionary_list correct_word_list = [] # define any position where can connect if switch is False: for x in range(SIZE): for y in range(SIZE): map_dict[(x, y)] = {} map_dict[(x, y)]['alphabet'] = boggle[x][y] if x==0 and y==0: map_dict[(x,y)]['map'] = [(x+1,y),(x,y+1),(x+1,y+1)] elif x==0 and y==SIZE-1: map_dict[(x,y)]['map'] = [(0,y-1),(1,y-1),(1,y-1)] elif x==SIZE-1 and y== 0 : map_dict[(x,y)]['map'] = [(x-1,0),(x-1,1),(x,1)] elif x==SIZE-1 and y==SIZE-1: map_dict[(x,y)]['map'] = [(x-1,y),(x-1,y-1),(x,y-1)] elif x==0: map_dict[(x,y)]['map'] = [(x,y-1),(x+1,y-1),(x+1,y),(x+1,y+1),(x,y+1)] elif x == SIZE-1: map_dict[(x,y)]['map'] = [(x,y-1),(x-1,y-1),(x-1,y),(x-1,y+1),(x,y+1)] elif y == 0: map_dict[(x,y)]['map'] = [(x-1,y),(x-1,y+1),(x,y+1),(x+1,y+1),(x+1,y)] elif y == SIZE-1: map_dict[(x,y)]['map'] = [(x-1,y),(x-1,y-1),(x,y-1),(x+1,y-1),(x+1,y)] else: map_dict[(x,y)]['map'] = [(x-1,y-1),(x,y-1),(x+1,y-1),(x+1,y),(x+1,y+1),(x,y+1),(x-1,y+1),(x-1,y)] for i in range(SIZE): for j in range(SIZE): permutation(map_dict,(i,j),correct_word_list) print(f'There are {len(correct_word_list)} words in total') def permutation(map_dict,position,correct_word_list, coordinate_list=[]): coordinate_list.append(position) maybe_word = (num_to_string(coordinate_list, map_dict)) # print(num_to_string(coordinate_list, map_dict)) if len(maybe_word) >=4 and maybe_word in dictionary_list and maybe_word not in correct_word_list: correct_word_list.append(maybe_word) print(f'Found "{maybe_word}"') for next_position in map_dict[position]['map']: if next_position not in coordinate_list: if has_prefix(maybe_word): permutation(map_dict,next_position,correct_word_list, coordinate_list) coordinate_list.pop() def read_dictionary(): """ This function reads file "dictionary.txt" stored in FILE and appends words in each line into a Python list """ global dictionary_list with open(FILE, 'r') as f: for line in f: words = line.split() for word in words: dictionary_list[word] = word return dictionary_list def has_prefix(sub_s): """ :param sub_s: (str) A substring that is constructed by neighboring letters on a 4x4 square grid :return: (bool) If there is any words with prefix stored in sub_s """ for dict_word in dictionary_list: if dict_word.startswith(sub_s): return True return False def num_to_string(coordinate_list, map_dict): ans = "" for figure in coordinate_list: ans += map_dict[figure]['alphabet'] return ans if __name__ == '__main__': main()
""" File: boggle.py Name:Jacky ---------------------------------------- This program lets user to input alphabets which arrange on square. And this program will print words which combined on the neighbor alphabets. """ file = 'dictionary.txt' size = 4 dictionary_list = {} def main(): """ boggle list let user inputs all alphabets and gives any alphabet a position. """ boggle = [] switch = False for i in range(SIZE): if switch is True: break boggle_line = input(f'{i + 1} row of letters:') boggle_line = boggle_line.split() if len(boggle_line) != SIZE: print('Illegal input') switch = True break for alphabet in boggle_line: if len(alphabet) != 1: print('Illegal input') switch = True break boggle.append(boggle_line) read_dictionary() map_dict = {} correct_word_list = [] if switch is False: for x in range(SIZE): for y in range(SIZE): map_dict[x, y] = {} map_dict[x, y]['alphabet'] = boggle[x][y] if x == 0 and y == 0: map_dict[x, y]['map'] = [(x + 1, y), (x, y + 1), (x + 1, y + 1)] elif x == 0 and y == SIZE - 1: map_dict[x, y]['map'] = [(0, y - 1), (1, y - 1), (1, y - 1)] elif x == SIZE - 1 and y == 0: map_dict[x, y]['map'] = [(x - 1, 0), (x - 1, 1), (x, 1)] elif x == SIZE - 1 and y == SIZE - 1: map_dict[x, y]['map'] = [(x - 1, y), (x - 1, y - 1), (x, y - 1)] elif x == 0: map_dict[x, y]['map'] = [(x, y - 1), (x + 1, y - 1), (x + 1, y), (x + 1, y + 1), (x, y + 1)] elif x == SIZE - 1: map_dict[x, y]['map'] = [(x, y - 1), (x - 1, y - 1), (x - 1, y), (x - 1, y + 1), (x, y + 1)] elif y == 0: map_dict[x, y]['map'] = [(x - 1, y), (x - 1, y + 1), (x, y + 1), (x + 1, y + 1), (x + 1, y)] elif y == SIZE - 1: map_dict[x, y]['map'] = [(x - 1, y), (x - 1, y - 1), (x, y - 1), (x + 1, y - 1), (x + 1, y)] else: map_dict[x, y]['map'] = [(x - 1, y - 1), (x, y - 1), (x + 1, y - 1), (x + 1, y), (x + 1, y + 1), (x, y + 1), (x - 1, y + 1), (x - 1, y)] for i in range(SIZE): for j in range(SIZE): permutation(map_dict, (i, j), correct_word_list) print(f'There are {len(correct_word_list)} words in total') def permutation(map_dict, position, correct_word_list, coordinate_list=[]): coordinate_list.append(position) maybe_word = num_to_string(coordinate_list, map_dict) if len(maybe_word) >= 4 and maybe_word in dictionary_list and (maybe_word not in correct_word_list): correct_word_list.append(maybe_word) print(f'Found "{maybe_word}"') for next_position in map_dict[position]['map']: if next_position not in coordinate_list: if has_prefix(maybe_word): permutation(map_dict, next_position, correct_word_list, coordinate_list) coordinate_list.pop() def read_dictionary(): """ This function reads file "dictionary.txt" stored in FILE and appends words in each line into a Python list """ global dictionary_list with open(FILE, 'r') as f: for line in f: words = line.split() for word in words: dictionary_list[word] = word return dictionary_list def has_prefix(sub_s): """ :param sub_s: (str) A substring that is constructed by neighboring letters on a 4x4 square grid :return: (bool) If there is any words with prefix stored in sub_s """ for dict_word in dictionary_list: if dict_word.startswith(sub_s): return True return False def num_to_string(coordinate_list, map_dict): ans = '' for figure in coordinate_list: ans += map_dict[figure]['alphabet'] return ans if __name__ == '__main__': main()
class Request(dict): def __init__(self, server_port=None, server_name=None, remote_addr=None, uri=None, query_string=None, script_name=None, scheme=None, method=None, headers={}, body=None): super().__init__({ "server_port": server_port, "server_name": server_name, "remote_addr": remote_addr, "uri": uri, "script_name": script_name, "query_string": query_string, "scheme": scheme, "method": method, "headers": headers, "body": body, }) self.__dict__ = self
class Request(dict): def __init__(self, server_port=None, server_name=None, remote_addr=None, uri=None, query_string=None, script_name=None, scheme=None, method=None, headers={}, body=None): super().__init__({'server_port': server_port, 'server_name': server_name, 'remote_addr': remote_addr, 'uri': uri, 'script_name': script_name, 'query_string': query_string, 'scheme': scheme, 'method': method, 'headers': headers, 'body': body}) self.__dict__ = self
def factorial(n): if n == 0: return 1 return factorial(n-1) * n
def factorial(n): if n == 0: return 1 return factorial(n - 1) * n
def getalpha(schedule, step): alpha = 0.0 for (point, alpha_) in schedule: if step >= point: alpha = alpha_ else: break return alpha step_stage_0 = 0 step_stage_1 = 5e4 step_stage_2 = 7e4 step_stage_3 = 1e5 step_stage_4 = 2.5e5 step_stages = [step_stage_0, step_stage_1, step_stage_2, step_stage_3, step_stage_4] schedule = [[1., 0., 0., 0., 0.], [0., 1., 1., 0., 0.], [0., 0.1, 0.5, 1.0, 0.9]] schedule_new = [] for ls in schedule: ls_new = [] for i, a in enumerate(ls): ls_new.append((step_stages[i], a)) schedule_new.append(ls_new) step_0 = 2e4 step_1 = 6e4 step_2 = 9e4 step_3 = 2e5 step_4 = 3e5 steps_test = [step_0, step_1, step_2, step_3, step_4] for i in steps_test: print("="*10, " ", i, " ", "="*10) result = [] for index in range(3): result.append(getalpha(schedule_new[index], i)) print(result)
def getalpha(schedule, step): alpha = 0.0 for (point, alpha_) in schedule: if step >= point: alpha = alpha_ else: break return alpha step_stage_0 = 0 step_stage_1 = 50000.0 step_stage_2 = 70000.0 step_stage_3 = 100000.0 step_stage_4 = 250000.0 step_stages = [step_stage_0, step_stage_1, step_stage_2, step_stage_3, step_stage_4] schedule = [[1.0, 0.0, 0.0, 0.0, 0.0], [0.0, 1.0, 1.0, 0.0, 0.0], [0.0, 0.1, 0.5, 1.0, 0.9]] schedule_new = [] for ls in schedule: ls_new = [] for (i, a) in enumerate(ls): ls_new.append((step_stages[i], a)) schedule_new.append(ls_new) step_0 = 20000.0 step_1 = 60000.0 step_2 = 90000.0 step_3 = 200000.0 step_4 = 300000.0 steps_test = [step_0, step_1, step_2, step_3, step_4] for i in steps_test: print('=' * 10, ' ', i, ' ', '=' * 10) result = [] for index in range(3): result.append(getalpha(schedule_new[index], i)) print(result)
def nome_no_formulario(): nome = input() tamanho_de_caracteres = len(nome) if tamanho_de_caracteres > 80: print('NO') else: print('YES') nome_no_formulario()
def nome_no_formulario(): nome = input() tamanho_de_caracteres = len(nome) if tamanho_de_caracteres > 80: print('NO') else: print('YES') nome_no_formulario()
class Fib: def __init__(self,nn): print("inicjujemy") self.__n=nn self.__i=0 self.__p1=self.__p2=1 def __iter__(self): print('iter') return self def __next__(self): print('next') self.__i+=1 if self.__i>self.__n: raise StopIteration if self.__i in[1,2]: return 1 ret = self.__p1 + self.__p2 self.__p1,self.__p2 = self.__p2,ret return ret for i in Fib(10): print(i)
class Fib: def __init__(self, nn): print('inicjujemy') self.__n = nn self.__i = 0 self.__p1 = self.__p2 = 1 def __iter__(self): print('iter') return self def __next__(self): print('next') self.__i += 1 if self.__i > self.__n: raise StopIteration if self.__i in [1, 2]: return 1 ret = self.__p1 + self.__p2 (self.__p1, self.__p2) = (self.__p2, ret) return ret for i in fib(10): print(i)
# (C) Datadog, Inc. 2018 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) CORE_GAUGES = { 'system.disk.total': 5, 'system.disk.used': 4, 'system.disk.free': 1, 'system.disk.in_use': .80, } CORE_RATES = { 'system.disk.write_time_pct': 9.0, 'system.disk.read_time_pct': 5.0, } UNIX_GAUGES = { 'system.fs.inodes.total': 10, 'system.fs.inodes.used': 1, 'system.fs.inodes.free': 9, 'system.fs.inodes.in_use': .10 } UNIX_GAUGES.update(CORE_GAUGES)
core_gauges = {'system.disk.total': 5, 'system.disk.used': 4, 'system.disk.free': 1, 'system.disk.in_use': 0.8} core_rates = {'system.disk.write_time_pct': 9.0, 'system.disk.read_time_pct': 5.0} unix_gauges = {'system.fs.inodes.total': 10, 'system.fs.inodes.used': 1, 'system.fs.inodes.free': 9, 'system.fs.inodes.in_use': 0.1} UNIX_GAUGES.update(CORE_GAUGES)