content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
""" Created on October 15, 2019 This file is subject to the terms and conditions defined in the file 'LICENSE.txt', which is part of this source code package. @author: David Moss """ # Task priorities TASK_PRIORITY_DETAIL = 0 TASK_PRIORITY_INFO = 1 TASK_PRIORITY_WARNING = 2 TASK_PRIORITY_CRITICAL = 3 def update_task(botengine, location_object, task_id, title, comment="", priority=TASK_PRIORITY_INFO, icon=None, icon_font=None, url=None, editable=True): """ Add or update a task :param botengine: BotEngine environment :param location_object: Location Object :param task_id: Unique Task ID for later reference :param title: Title of the task :param comment: Comment of the task :param priority: Priority of the task: 0=detail; 1=info; 2=warning; 3=critical :param icon: Optional task icon :param icon_font: Icon font package to render the icon. See the ICON_FONT_* descriptions in com.ppc.Bot/utilities/utilities.py :param url: Instead of tapping into the task, jump straight to this URL when the user taps on the task from their Dashboard. :param editable: True if this task can be edited. """ task = { "id": task_id, "title": title, "comment": comment, "editable": editable } if priority is not None: task['priority'] = priority if icon is not None: task['icon'] = icon if icon_font is not None: task['icon_font'] = icon_font if url is not None: task['url'] = url location_object.distribute_datastream_message(botengine, "update_task", task, internal=True, external=False) def delete_task(botengine, location_object, task_id): """ Delete a task :param botengine: BotEngine environment :param location_object: Location object :param task_id: Task ID to delete """ task = { "id": task_id } location_object.distribute_datastream_message(botengine, "update_task", task, internal=True, external=False)
""" Created on October 15, 2019 This file is subject to the terms and conditions defined in the file 'LICENSE.txt', which is part of this source code package. @author: David Moss """ task_priority_detail = 0 task_priority_info = 1 task_priority_warning = 2 task_priority_critical = 3 def update_task(botengine, location_object, task_id, title, comment='', priority=TASK_PRIORITY_INFO, icon=None, icon_font=None, url=None, editable=True): """ Add or update a task :param botengine: BotEngine environment :param location_object: Location Object :param task_id: Unique Task ID for later reference :param title: Title of the task :param comment: Comment of the task :param priority: Priority of the task: 0=detail; 1=info; 2=warning; 3=critical :param icon: Optional task icon :param icon_font: Icon font package to render the icon. See the ICON_FONT_* descriptions in com.ppc.Bot/utilities/utilities.py :param url: Instead of tapping into the task, jump straight to this URL when the user taps on the task from their Dashboard. :param editable: True if this task can be edited. """ task = {'id': task_id, 'title': title, 'comment': comment, 'editable': editable} if priority is not None: task['priority'] = priority if icon is not None: task['icon'] = icon if icon_font is not None: task['icon_font'] = icon_font if url is not None: task['url'] = url location_object.distribute_datastream_message(botengine, 'update_task', task, internal=True, external=False) def delete_task(botengine, location_object, task_id): """ Delete a task :param botengine: BotEngine environment :param location_object: Location object :param task_id: Task ID to delete """ task = {'id': task_id} location_object.distribute_datastream_message(botengine, 'update_task', task, internal=True, external=False)
class Rectangle(object): def __init__(self, x, y): self._x = x # don't trigger _setSide prematurely self.y = y # now trigger it, so area gets computed def _setSide(self, attrname, value): setattr(self, attrname, value) self.area = self._x * self._y x = CommonProperty('_x', fset=_setSide, fdel=None) y = CommonProperty('_y', fset=_setSide, fdel=None)
class Rectangle(object): def __init__(self, x, y): self._x = x self.y = y def _set_side(self, attrname, value): setattr(self, attrname, value) self.area = self._x * self._y x = common_property('_x', fset=_setSide, fdel=None) y = common_property('_y', fset=_setSide, fdel=None)
orders = ["daisies", "periwinkle"] print(orders) orders.append("tulips") orders.append("roses") print(orders)
orders = ['daisies', 'periwinkle'] print(orders) orders.append('tulips') orders.append('roses') print(orders)
def test_parameters(api_client, api_prefix): url = f"{api_prefix}/parameterset/" response = api_client.get(url) assert response.status_code == 200 json_dict = response.json expected = { "parameter_list_url": f"{api_prefix}/parameters/", "parameter_set": { "name": None, "parameters": [ { "excluded": [], "excluded_by": [], "name": "Colour", "parameter_set": 1, "position": 0, "uid": 1, "values": [ {"name": "Red", "parameter": 1, "position": 0, "uid": 1}, {"name": "Green", "parameter": 1, "position": 1, "uid": 2}, ], }, { "excluded": [], "excluded_by": [], "name": "Pet", "parameter_set": 1, "position": 1, "uid": 2, "values": [ {"name": "Bird", "parameter": 2, "position": 0, "uid": 3}, {"name": "Cat", "parameter": 2, "position": 1, "uid": 4}, {"name": "Dog", "parameter": 2, "position": 2, "uid": 5}, {"name": "Fish", "parameter": 2, "position": 3, "uid": 6}, ], }, { "excluded": [], "excluded_by": [], "name": "Speed", "parameter_set": 1, "position": 2, "uid": 3, "values": [ {"name": "Fast", "parameter": 3, "position": 0, "uid": 7}, {"name": "Slow", "parameter": 3, "position": 1, "uid": 8}, ], }, { "excluded": [], "excluded_by": [], "name": "Music", "parameter_set": 1, "position": 3, "uid": 4, "values": [ {"name": "80s", "parameter": 4, "position": 0, "uid": 9}, {"name": "20s", "parameter": 4, "position": 1, "uid": 10}, ], }, ], "position": None, "uid": 1, }, "parameter_set_url": f"{api_prefix}/parameterset/", } assert json_dict == expected
def test_parameters(api_client, api_prefix): url = f'{api_prefix}/parameterset/' response = api_client.get(url) assert response.status_code == 200 json_dict = response.json expected = {'parameter_list_url': f'{api_prefix}/parameters/', 'parameter_set': {'name': None, 'parameters': [{'excluded': [], 'excluded_by': [], 'name': 'Colour', 'parameter_set': 1, 'position': 0, 'uid': 1, 'values': [{'name': 'Red', 'parameter': 1, 'position': 0, 'uid': 1}, {'name': 'Green', 'parameter': 1, 'position': 1, 'uid': 2}]}, {'excluded': [], 'excluded_by': [], 'name': 'Pet', 'parameter_set': 1, 'position': 1, 'uid': 2, 'values': [{'name': 'Bird', 'parameter': 2, 'position': 0, 'uid': 3}, {'name': 'Cat', 'parameter': 2, 'position': 1, 'uid': 4}, {'name': 'Dog', 'parameter': 2, 'position': 2, 'uid': 5}, {'name': 'Fish', 'parameter': 2, 'position': 3, 'uid': 6}]}, {'excluded': [], 'excluded_by': [], 'name': 'Speed', 'parameter_set': 1, 'position': 2, 'uid': 3, 'values': [{'name': 'Fast', 'parameter': 3, 'position': 0, 'uid': 7}, {'name': 'Slow', 'parameter': 3, 'position': 1, 'uid': 8}]}, {'excluded': [], 'excluded_by': [], 'name': 'Music', 'parameter_set': 1, 'position': 3, 'uid': 4, 'values': [{'name': '80s', 'parameter': 4, 'position': 0, 'uid': 9}, {'name': '20s', 'parameter': 4, 'position': 1, 'uid': 10}]}], 'position': None, 'uid': 1}, 'parameter_set_url': f'{api_prefix}/parameterset/'} assert json_dict == expected
#! /usr/bin/python3 DATA_FILENAME = "data.txt" data_file = open(DATA_FILENAME, 'r') # open the file for reading date_string = data_file.readline() date_string = date_string.strip() year, month, day = tuple(date_string.split('-')) year, month, day = int(year), int(month), int(day) month_names = {1:'January', 2:'February', 3:'March', 4:'April', 5: 'May', 6: 'June', 7:'July', 8: 'August', 9:'September', 10:'October', 11:'November', 12:'December'} new_date_string = month_names[month] + ' ' + str(day) + ', ' + str(year) print(new_date_string)
data_filename = 'data.txt' data_file = open(DATA_FILENAME, 'r') date_string = data_file.readline() date_string = date_string.strip() (year, month, day) = tuple(date_string.split('-')) (year, month, day) = (int(year), int(month), int(day)) month_names = {1: 'January', 2: 'February', 3: 'March', 4: 'April', 5: 'May', 6: 'June', 7: 'July', 8: 'August', 9: 'September', 10: 'October', 11: 'November', 12: 'December'} new_date_string = month_names[month] + ' ' + str(day) + ', ' + str(year) print(new_date_string)
# Version-specific constants - EDIT THESE VALUES VERSION_NAME = "Version003 - Brute Force, Even Smarter Iteration" VERSION_DESCRIPTION = """ A slightly more formulaic approach, but still iterative. """ def solution(resources, args): """Problem 1 - Version 3 Use a formula to determine the additional sum 15 integers at a time, then use the iterative approach for any remaining integers in the range. Parameters: args.number The upper limit of the range of numbers over which the sum will be taken Return: Sum of all numbers in range [1, args.number) that are divisible by 3 or 5. """ retval = 0 repeats = [3, 5, 6, 9, 10, 12, 15] i = 0 n = args.number - 1 while n > 15: retval += sum(repeats) retval += 15*len(repeats)*i n -= 15 i += 1 while n >= 3: if n % 3 == 0 or n % 5 == 0: retval += 15*i + n n -= 1 return retval if __name__ == "__main__": errmsg = "Cannot run {} as a standalone script" raise RuntimeError(errmsg.format(VERSION_NAME))
version_name = 'Version003 - Brute Force, Even Smarter Iteration' version_description = '\nA slightly more formulaic approach, but still iterative.\n' def solution(resources, args): """Problem 1 - Version 3 Use a formula to determine the additional sum 15 integers at a time, then use the iterative approach for any remaining integers in the range. Parameters: args.number The upper limit of the range of numbers over which the sum will be taken Return: Sum of all numbers in range [1, args.number) that are divisible by 3 or 5. """ retval = 0 repeats = [3, 5, 6, 9, 10, 12, 15] i = 0 n = args.number - 1 while n > 15: retval += sum(repeats) retval += 15 * len(repeats) * i n -= 15 i += 1 while n >= 3: if n % 3 == 0 or n % 5 == 0: retval += 15 * i + n n -= 1 return retval if __name__ == '__main__': errmsg = 'Cannot run {} as a standalone script' raise runtime_error(errmsg.format(VERSION_NAME))
def handle_error_response(resp): codes = { -1: FATdAPIError, -32600: InvalidRequest, -32601: MethodNotFound, -32602: InvalidParam, -32603: InternalError, -32700: ParseError, -32800: TokenNotFound, -32801: InvalidToken, -32802: InvalidAddress, -32803: TransactionNotFound, -32804: InvalidTransaction, -32805: TokenSyncing, } error = resp.json().get("error", {}) message = error.get("message") code = error.get("code", -1) data = error.get("data", {}) raise codes[code](message=message, code=code, data=data, response=resp) class FATdAPIError(Exception): response = None data = {} code = -1 message = "An unknown error occurred" def __init__(self, message=None, code=None, data=None, response=None): if data is None: data = {} self.response = response if message: self.message = message if code: self.code = code if data: self.data = data def __str__(self): if self.code: return "{}: {}".format(self.code, self.message) return self.message class InvalidRequest(FATdAPIError): pass class MethodNotFound(FATdAPIError): pass class InternalError(FATdAPIError): pass class ParseError(FATdAPIError): pass class TokenNotFound(FATdAPIError): pass class InvalidToken(FATdAPIError): pass class InvalidAddress(FATdAPIError): pass class TransactionNotFound(FATdAPIError): pass class InvalidTransaction(FATdAPIError): pass class TokenSyncing(FATdAPIError): pass class InvalidFactoidKey(ValueError): pass class InvalidChainID(ValueError): pass class InvalidParam(ValueError): pass class MissingRequiredParameter(Exception): pass
def handle_error_response(resp): codes = {-1: FATdAPIError, -32600: InvalidRequest, -32601: MethodNotFound, -32602: InvalidParam, -32603: InternalError, -32700: ParseError, -32800: TokenNotFound, -32801: InvalidToken, -32802: InvalidAddress, -32803: TransactionNotFound, -32804: InvalidTransaction, -32805: TokenSyncing} error = resp.json().get('error', {}) message = error.get('message') code = error.get('code', -1) data = error.get('data', {}) raise codes[code](message=message, code=code, data=data, response=resp) class Fatdapierror(Exception): response = None data = {} code = -1 message = 'An unknown error occurred' def __init__(self, message=None, code=None, data=None, response=None): if data is None: data = {} self.response = response if message: self.message = message if code: self.code = code if data: self.data = data def __str__(self): if self.code: return '{}: {}'.format(self.code, self.message) return self.message class Invalidrequest(FATdAPIError): pass class Methodnotfound(FATdAPIError): pass class Internalerror(FATdAPIError): pass class Parseerror(FATdAPIError): pass class Tokennotfound(FATdAPIError): pass class Invalidtoken(FATdAPIError): pass class Invalidaddress(FATdAPIError): pass class Transactionnotfound(FATdAPIError): pass class Invalidtransaction(FATdAPIError): pass class Tokensyncing(FATdAPIError): pass class Invalidfactoidkey(ValueError): pass class Invalidchainid(ValueError): pass class Invalidparam(ValueError): pass class Missingrequiredparameter(Exception): pass
class Hitbox: def __init__(self): pass def point_inside(self, obj, point): return False class Box(Hitbox): def __init__(self, width, height): Hitbox.__init__(self) self.width = width self.height = height def point_inside(self, obj, pos): x = obj.x y = obj.y xm = x + (self.width*obj.scale) ym = y + (self.height*obj.scale) ix = pos[0] iy = pos[1] xgood = x <= ix < xm ygood = y <= iy < ym return xgood and ygood class Ellipse(Hitbox): def __init__(self, width, height): Hitbox.__init__(self) self.width = width self.height = height def point_inside(self, obj, pos): h, k = obj.x, obj.y x, y = pos a = self.width/2.0 b = self.height/2.0 a *= obj.scale b *= obj.scale atop = (x-h-a)**2 btop = (y-k-b)**2 aside = atop/(a**2) bside = btop/(b**2) return aside + bside <= 1 class Compound(Hitbox): def __init__(self, *hitboxes): Hitbox.__init__(self) self.hitboxes = hitboxes def point_inside(self, obj, pos): inside = False for hitbox in self.hitboxes: if hitbox.point_inside(obj, pos): inside = True return inside
class Hitbox: def __init__(self): pass def point_inside(self, obj, point): return False class Box(Hitbox): def __init__(self, width, height): Hitbox.__init__(self) self.width = width self.height = height def point_inside(self, obj, pos): x = obj.x y = obj.y xm = x + self.width * obj.scale ym = y + self.height * obj.scale ix = pos[0] iy = pos[1] xgood = x <= ix < xm ygood = y <= iy < ym return xgood and ygood class Ellipse(Hitbox): def __init__(self, width, height): Hitbox.__init__(self) self.width = width self.height = height def point_inside(self, obj, pos): (h, k) = (obj.x, obj.y) (x, y) = pos a = self.width / 2.0 b = self.height / 2.0 a *= obj.scale b *= obj.scale atop = (x - h - a) ** 2 btop = (y - k - b) ** 2 aside = atop / a ** 2 bside = btop / b ** 2 return aside + bside <= 1 class Compound(Hitbox): def __init__(self, *hitboxes): Hitbox.__init__(self) self.hitboxes = hitboxes def point_inside(self, obj, pos): inside = False for hitbox in self.hitboxes: if hitbox.point_inside(obj, pos): inside = True return inside
def Function(anumber): if anumber == 1: print ("One") elif anumber == 2: print ("Two") elif anumber == 3: print ("Three") elif anumber == 4: print ("Four") elif anumber == 5: print ("Five") elif anumber == 6: print ("Six") elif anumber == 7: print ("Seven") elif anumber == 8: print ("Eight") elif anumber == 9: print ("Nine") elif anumber == 10: print ("Ten") elif anumber == 11: print ("Eleven") elif anumber == 12: print ("Twelve") elif anumber == 13: print ("Thirteen") elif anumber == 14: print ("Fourteen") elif anumber == 15: print ("Fifteen") elif anumber == 16: print ("Sixteen") elif anumber == 17: print ("Seventeen") elif anumber == 18: print ("Eighteen") elif anumber == 19: print ("Nineteen") Function(6)
def function(anumber): if anumber == 1: print('One') elif anumber == 2: print('Two') elif anumber == 3: print('Three') elif anumber == 4: print('Four') elif anumber == 5: print('Five') elif anumber == 6: print('Six') elif anumber == 7: print('Seven') elif anumber == 8: print('Eight') elif anumber == 9: print('Nine') elif anumber == 10: print('Ten') elif anumber == 11: print('Eleven') elif anumber == 12: print('Twelve') elif anumber == 13: print('Thirteen') elif anumber == 14: print('Fourteen') elif anumber == 15: print('Fifteen') elif anumber == 16: print('Sixteen') elif anumber == 17: print('Seventeen') elif anumber == 18: print('Eighteen') elif anumber == 19: print('Nineteen') function(6)
def disp(*txt, p): print(*txt) ask = lambda p : p.b(input()) functions = {">>":disp,"?":ask}
def disp(*txt, p): print(*txt) ask = lambda p: p.b(input()) functions = {'>>': disp, '?': ask}
''' Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number.Return the decimal value of the number in the linked list. Example : 1 ---> 0 ---> 1 Input: head = [1,0,1] Output: 5 Explanation: (101) in base 2 = (5) in base 10 Approach: 1. Initialize result number to be equal to head value: num = head.val. This operation is safe because the list is guaranteed to be non-empty. 2. Parse linked list starting from the head: while head.next: The current value is head.next.val. Update the result by shifting it by one to the left and adding the current value: num = num * 2 + head.next.val. 3. Return num. Time complexity:O(N). Space complexity:O(1). ''' class ListNode(object): def __init__(self, val=0, next=None): self.val = val self.next = next class Solution(object): def getDecimalValue(self, head): """ :type head: ListNode :rtype: int """ num = head.val while(head.next): num = (2*num) + (head.next.val) head = head.next return num
""" Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number.Return the decimal value of the number in the linked list. Example : 1 ---> 0 ---> 1 Input: head = [1,0,1] Output: 5 Explanation: (101) in base 2 = (5) in base 10 Approach: 1. Initialize result number to be equal to head value: num = head.val. This operation is safe because the list is guaranteed to be non-empty. 2. Parse linked list starting from the head: while head.next: The current value is head.next.val. Update the result by shifting it by one to the left and adding the current value: num = num * 2 + head.next.val. 3. Return num. Time complexity:O(N). Space complexity:O(1). """ class Listnode(object): def __init__(self, val=0, next=None): self.val = val self.next = next class Solution(object): def get_decimal_value(self, head): """ :type head: ListNode :rtype: int """ num = head.val while head.next: num = 2 * num + head.next.val head = head.next return num
val = int(input(print("Enter a number: "))) option = { "n":"Nae nigga nae \n", "c":"Uohhhhhh :sob::sob::sob: \n", "i":"I am living in your walls, oomfie. \n" } userinput = input("Choose your poison: [N]iggas, [C]unny, [I]solation") with open("outputtings.txt",'w') as f: f.write(option[userinput.lower()] * val) print("Output saved to file. Spam responsibly, fam.")
val = int(input(print('Enter a number: '))) option = {'n': 'Nae nigga nae \n', 'c': 'Uohhhhhh :sob::sob::sob: \n', 'i': 'I am living in your walls, oomfie. \n'} userinput = input('Choose your poison: [N]iggas, [C]unny, [I]solation') with open('outputtings.txt', 'w') as f: f.write(option[userinput.lower()] * val) print('Output saved to file. Spam responsibly, fam.')
''' Ganon's Tower ''' __all__ = 'LOCATIONS', LOCATIONS = { "Ganon's Tower Entrance (I)": { 'type': 'interior', 'link': { 'Castle Tower Entrance (E)': [('settings', 'inverted')], "Ganon's Tower Entrance (E)": [('nosettings', 'inverted')], "Ganon's Tower Lobby": [('and', [ ('or', [ ('settings', 'placement_advanced'), ('and', [ ('or', [ ('settings', 'swordless'), ('item', 'mastersword')]), ('or', [ ('item', 'bottle'), ('item', 'bluemail')])])]), ('rabbitbarrier', None)])]} }, "Ganon's Tower Lobby": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Entrance (I)": [], "Ganon's Tower Torch Key Room": [], "Ganon's Tower Trap Room": [], "Ganon's Tower Ascent 1": [('bigkey', "Ganon's Tower")]} }, "Ganon's Tower Torch Key Room": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Lobby": [], "Ganon's Tower Torch Key": [('item', 'pegasus')], "Ganon's Tower Moving Bumper Key": []} }, "Ganon's Tower Torch Key": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Torch Key Room": []} }, "Ganon's Tower Moving Bumper Key": { 'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Torch Key Room": [], "Ganon's Tower Pit Room": [('item', 'hammer')]} }, "Ganon's Tower Pit Room": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Moving Bumper Key": [('item', 'hookshot')], "Ganon's Tower Stalfos Room": [('item', 'hookshot')], "Ganon's Tower Map": [('item', 'hookshot'), ('item', 'pegasus')]} }, "Ganon's Tower Stalfos Room": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Pit Room": [ ('item', 'hookshot'), ('item', 'pegasus')], "Ganon's Tower Stalfos Room Chest 1": [], "Ganon's Tower Stalfos Room Chest 2": [], "Ganon's Tower Stalfos Room Chest 3": [], "Ganon's Tower Stalfos Room Chest 4": []} }, "Ganon's Tower Stalfos Room Chest 1": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Stalfos Room": []} }, "Ganon's Tower Stalfos Room Chest 2": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Stalfos Room": []} }, "Ganon's Tower Stalfos Room Chest 3": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Stalfos Room": []} }, "Ganon's Tower Stalfos Room Chest 4": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Stalfos Room": []} }, "Ganon's Tower Map": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Pit Room": [('item', 'hookshot')], "Ganon's Tower Switch Key": []} }, "Ganon's Tower Switch Key": { 'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Map": [], "Ganon's Tower Winder Room": [('item', 'hookshot')]} }, "Ganon's Tower Winder Room": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Secret Treasure": [('item', 'bombs')], "Ganon's Tower Convergence": []} }, "Ganon's Tower Secret Treasure": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Secret Chest 1": [], "Ganon's Tower Secret Chest 2": [], "Ganon's Tower Secret Chest 3": [], "Ganon's Tower Secret Chest 4": [], "Ganon's Tower Convergence": []} }, "Ganon's Tower Secret Chest 1": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Secret Treasure": []} }, "Ganon's Tower Secret Chest 2": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Secret Treasure": []} }, "Ganon's Tower Secret Chest 3": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Secret Treasure": []} }, "Ganon's Tower Secret Chest 4": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Secret Treasure": []} }, "Ganon's Tower Trap Room": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Lobby": [], "Ganon's Tower Trap Chest 1": [], "Ganon's Tower Trap Chest 2": [], "Ganon's Tower Tile Room": [('item', 'somaria')]} }, "Ganon's Tower Trap Chest 1": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Trap Room": []} }, "Ganon's Tower Trap Chest 2": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Trap Room": []} }, "Ganon's Tower Tile Room": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Trap Room": [], "Ganon's Tower Torch Race": []} }, "Ganon's Tower Torch Race": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Tile Room": [], "Ganon's Tower Compass Room": [('item', 'firerod')]} }, "Ganon's Tower Compass Room": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Torch Race": [], "Ganon's Tower Compass Chest 1": [], "Ganon's Tower Compass Chest 2": [], "Ganon's Tower Compass Chest 3": [], "Ganon's Tower Compass Chest 4": [], "Ganon's Tower Obstacle Course Key": []} }, "Ganon's Tower Compass Chest 1": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Compass Room": []} }, "Ganon's Tower Compass Chest 2": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Compass Room": []} }, "Ganon's Tower Compass Chest 3": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Compass Room": []} }, "Ganon's Tower Compass Chest 4": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Compass Room": []} }, "Ganon's Tower Obstacle Course Key": { 'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Convergence": []} }, "Ganon's Tower Convergence": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Anti-Fairy Room": [], "Ganon's Tower Treasure": []} }, "Ganon's Tower Anti-Fairy Room": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Convergence": [], "Ganon's Tower Armos On Ice": [('item', 'bombs')]} }, "Ganon's Tower Armos On Ice": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Big Key Room": [], "Ganon's Tower Treasure": []} }, "Ganon's Tower Big Key Room": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Armos On Ice": [], "Ganon's Tower Big Key Chest 1": [], "Ganon's Tower Big Key Chest 2": [], "Ganon's Tower Big Key Chest 3": []} }, "Ganon's Tower Big Key Chest 1": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Big Key Room": []} }, "Ganon's Tower Big Key Chest 2": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Big Key Room": []} }, "Ganon's Tower Big Key Chest 3": { 'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Big Key Room": []} }, "Ganon's Tower Treasure": { 'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Convergence": [], "Ganon's Tower Torch Key Room": []} }, "Ganon's Tower Ascent 1": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Lobby": [], "Ganon's Tower Ascent 2": [('item', 'bow')]} }, "Ganon's Tower Ascent 2": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 1": [('item', 'bow')], "Ganon's Tower Ascent 3": [ ('item', 'lantern'), ('item', 'firerod')]} }, "Ganon's Tower Ascent 3": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 2": [], "Ganon's Tower Helmasaur Key": [], "Ganon's Tower Helmasaur Chest 1": [], "Ganon's Tower Helmasaur Chest 2": [], "Ganon's Tower Ascent 4": []} }, "Ganon's Tower Helmasaur Key": { 'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 3": []} }, "Ganon's Tower Helmasaur Chest 1": { 'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 3": []} }, "Ganon's Tower Helmasaur Chest 2": { 'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 3": []} }, "Ganon's Tower Ascent 4": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 3": [], "Ganon's Tower Rabbit Beam Chest": [], "Ganon's Tower Ascent 5": []} }, "Ganon's Tower Rabbit Beam Chest": { 'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 4": []} }, "Ganon's Tower Ascent 5": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 4": [], "Ganon's Tower Ascent 6": [('item', 'hookshot')]} }, "Ganon's Tower Ascent 6": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Last Chest": [], "Ganon's Tower Boss": []} }, "Ganon's Tower Last Chest": { 'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Ascent 6": []} }, "Ganon's Tower Boss": { 'type': 'dungeonboss', "dungeon": "Ganon's Tower", 'link': { "Ganon's Tower Boss Item": [ ('item', 'sword'), ('and', [ ('settings', 'swordless'), ('item', 'hammer')]), ('item', 'bugnet')]} }, "Ganon's Tower Boss Item": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { "Ganon's Tower Reward": []} }, "Ganon's Tower Reward": { 'type': 'area', 'dungeon': "Ganon's Tower", 'link': { 'Pyramid': [('nosettings', 'inverted')], 'Castle Walls': [('settings', 'inverted')]} }, }
""" Ganon's Tower """ __all__ = ('LOCATIONS',) locations = {"Ganon's Tower Entrance (I)": {'type': 'interior', 'link': {'Castle Tower Entrance (E)': [('settings', 'inverted')], "Ganon's Tower Entrance (E)": [('nosettings', 'inverted')], "Ganon's Tower Lobby": [('and', [('or', [('settings', 'placement_advanced'), ('and', [('or', [('settings', 'swordless'), ('item', 'mastersword')]), ('or', [('item', 'bottle'), ('item', 'bluemail')])])]), ('rabbitbarrier', None)])]}}, "Ganon's Tower Lobby": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Entrance (I)": [], "Ganon's Tower Torch Key Room": [], "Ganon's Tower Trap Room": [], "Ganon's Tower Ascent 1": [('bigkey', "Ganon's Tower")]}}, "Ganon's Tower Torch Key Room": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Lobby": [], "Ganon's Tower Torch Key": [('item', 'pegasus')], "Ganon's Tower Moving Bumper Key": []}}, "Ganon's Tower Torch Key": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Torch Key Room": []}}, "Ganon's Tower Moving Bumper Key": {'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Torch Key Room": [], "Ganon's Tower Pit Room": [('item', 'hammer')]}}, "Ganon's Tower Pit Room": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Moving Bumper Key": [('item', 'hookshot')], "Ganon's Tower Stalfos Room": [('item', 'hookshot')], "Ganon's Tower Map": [('item', 'hookshot'), ('item', 'pegasus')]}}, "Ganon's Tower Stalfos Room": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Pit Room": [('item', 'hookshot'), ('item', 'pegasus')], "Ganon's Tower Stalfos Room Chest 1": [], "Ganon's Tower Stalfos Room Chest 2": [], "Ganon's Tower Stalfos Room Chest 3": [], "Ganon's Tower Stalfos Room Chest 4": []}}, "Ganon's Tower Stalfos Room Chest 1": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Stalfos Room": []}}, "Ganon's Tower Stalfos Room Chest 2": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Stalfos Room": []}}, "Ganon's Tower Stalfos Room Chest 3": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Stalfos Room": []}}, "Ganon's Tower Stalfos Room Chest 4": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Stalfos Room": []}}, "Ganon's Tower Map": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Pit Room": [('item', 'hookshot')], "Ganon's Tower Switch Key": []}}, "Ganon's Tower Switch Key": {'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Map": [], "Ganon's Tower Winder Room": [('item', 'hookshot')]}}, "Ganon's Tower Winder Room": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Secret Treasure": [('item', 'bombs')], "Ganon's Tower Convergence": []}}, "Ganon's Tower Secret Treasure": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Secret Chest 1": [], "Ganon's Tower Secret Chest 2": [], "Ganon's Tower Secret Chest 3": [], "Ganon's Tower Secret Chest 4": [], "Ganon's Tower Convergence": []}}, "Ganon's Tower Secret Chest 1": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Secret Treasure": []}}, "Ganon's Tower Secret Chest 2": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Secret Treasure": []}}, "Ganon's Tower Secret Chest 3": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Secret Treasure": []}}, "Ganon's Tower Secret Chest 4": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Secret Treasure": []}}, "Ganon's Tower Trap Room": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Lobby": [], "Ganon's Tower Trap Chest 1": [], "Ganon's Tower Trap Chest 2": [], "Ganon's Tower Tile Room": [('item', 'somaria')]}}, "Ganon's Tower Trap Chest 1": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Trap Room": []}}, "Ganon's Tower Trap Chest 2": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Trap Room": []}}, "Ganon's Tower Tile Room": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Trap Room": [], "Ganon's Tower Torch Race": []}}, "Ganon's Tower Torch Race": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Tile Room": [], "Ganon's Tower Compass Room": [('item', 'firerod')]}}, "Ganon's Tower Compass Room": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Torch Race": [], "Ganon's Tower Compass Chest 1": [], "Ganon's Tower Compass Chest 2": [], "Ganon's Tower Compass Chest 3": [], "Ganon's Tower Compass Chest 4": [], "Ganon's Tower Obstacle Course Key": []}}, "Ganon's Tower Compass Chest 1": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Compass Room": []}}, "Ganon's Tower Compass Chest 2": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Compass Room": []}}, "Ganon's Tower Compass Chest 3": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Compass Room": []}}, "Ganon's Tower Compass Chest 4": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Compass Room": []}}, "Ganon's Tower Obstacle Course Key": {'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Convergence": []}}, "Ganon's Tower Convergence": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Anti-Fairy Room": [], "Ganon's Tower Treasure": []}}, "Ganon's Tower Anti-Fairy Room": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Convergence": [], "Ganon's Tower Armos On Ice": [('item', 'bombs')]}}, "Ganon's Tower Armos On Ice": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Big Key Room": [], "Ganon's Tower Treasure": []}}, "Ganon's Tower Big Key Room": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Armos On Ice": [], "Ganon's Tower Big Key Chest 1": [], "Ganon's Tower Big Key Chest 2": [], "Ganon's Tower Big Key Chest 3": []}}, "Ganon's Tower Big Key Chest 1": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Big Key Room": []}}, "Ganon's Tower Big Key Chest 2": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Big Key Room": []}}, "Ganon's Tower Big Key Chest 3": {'type': 'dungeonchest', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Big Key Room": []}}, "Ganon's Tower Treasure": {'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Convergence": [], "Ganon's Tower Torch Key Room": []}}, "Ganon's Tower Ascent 1": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Lobby": [], "Ganon's Tower Ascent 2": [('item', 'bow')]}}, "Ganon's Tower Ascent 2": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 1": [('item', 'bow')], "Ganon's Tower Ascent 3": [('item', 'lantern'), ('item', 'firerod')]}}, "Ganon's Tower Ascent 3": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 2": [], "Ganon's Tower Helmasaur Key": [], "Ganon's Tower Helmasaur Chest 1": [], "Ganon's Tower Helmasaur Chest 2": [], "Ganon's Tower Ascent 4": []}}, "Ganon's Tower Helmasaur Key": {'type': 'dungeonkey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 3": []}}, "Ganon's Tower Helmasaur Chest 1": {'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 3": []}}, "Ganon's Tower Helmasaur Chest 2": {'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 3": []}}, "Ganon's Tower Ascent 4": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 3": [], "Ganon's Tower Rabbit Beam Chest": [], "Ganon's Tower Ascent 5": []}}, "Ganon's Tower Rabbit Beam Chest": {'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 4": []}}, "Ganon's Tower Ascent 5": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 4": [], "Ganon's Tower Ascent 6": [('item', 'hookshot')]}}, "Ganon's Tower Ascent 6": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Last Chest": [], "Ganon's Tower Boss": []}}, "Ganon's Tower Last Chest": {'type': 'dungeonchest_nokey', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Ascent 6": []}}, "Ganon's Tower Boss": {'type': 'dungeonboss', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Boss Item": [('item', 'sword'), ('and', [('settings', 'swordless'), ('item', 'hammer')]), ('item', 'bugnet')]}}, "Ganon's Tower Boss Item": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {"Ganon's Tower Reward": []}}, "Ganon's Tower Reward": {'type': 'area', 'dungeon': "Ganon's Tower", 'link': {'Pyramid': [('nosettings', 'inverted')], 'Castle Walls': [('settings', 'inverted')]}}}
class Codec: def __init__(self): self.codec_dict = dict() self.codec_reversed = dict() self.codec_len = 0 def encode(self, longUrl: str) -> str: """Encodes a URL to a shortened URL. """ if longUrl not in self.codec_dict: self.codec_dict[longUrl]=self.codec_len self.codec_reversed[self.codec_len] = longUrl self.codec_len+=1 return "http://tinyurl.com/{}".format(self.codec_dict[longUrl]) def decode(self, shortUrl: str) -> str: """Decodes a shortened URL to its original URL. """ val = int(shortUrl.split("/")[-1]) return self.codec_reversed[val] # Your Codec object will be instantiated and called as such: # codec = Codec() # codec.decode(codec.encode(url))
class Codec: def __init__(self): self.codec_dict = dict() self.codec_reversed = dict() self.codec_len = 0 def encode(self, longUrl: str) -> str: """Encodes a URL to a shortened URL. """ if longUrl not in self.codec_dict: self.codec_dict[longUrl] = self.codec_len self.codec_reversed[self.codec_len] = longUrl self.codec_len += 1 return 'http://tinyurl.com/{}'.format(self.codec_dict[longUrl]) def decode(self, shortUrl: str) -> str: """Decodes a shortened URL to its original URL. """ val = int(shortUrl.split('/')[-1]) return self.codec_reversed[val]
# -*- coding: utf-8 -*- """ Created on Wed May 22 17:54:15 2019 @author: Parikshith.H """ L1 = [10,20,30,40] print(L1) print(L1[0]) print(L1[3]) L1[3] = 50 print(L1) #output: # ============================================================================= # [10, 20, 30, 40] # 10 # 40 # [10, 20, 30, 50] # ============================================================================= L2 = [10,2.5,"hello"] print(L2) print(L2[2]) L2[1] = "welcome" #lists are mutable print(L2) # ============================================================================= # #output: # [10, 2.5, 'hello'] # hello # [10, 'welcome', 'hello'] # ============================================================================= l3 = [10,20,'hello',['A','B']] #4 elements int,int,string,list #it has list #inside a list print(l3[3]) print(l3[2]) print(l3[3][0])#in list3 acces 4th element inside that 1st element # ============================================================================= # #output: # ['A', 'B'] # hello # A # ============================================================================= l4 = [[10,20,30],[2,5,6]] print(l4) # ============================================================================= # #output: # [[10, 20, 30], [2, 5, 6]] # =============================================================================
""" Created on Wed May 22 17:54:15 2019 @author: Parikshith.H """ l1 = [10, 20, 30, 40] print(L1) print(L1[0]) print(L1[3]) L1[3] = 50 print(L1) l2 = [10, 2.5, 'hello'] print(L2) print(L2[2]) L2[1] = 'welcome' print(L2) l3 = [10, 20, 'hello', ['A', 'B']] print(l3[3]) print(l3[2]) print(l3[3][0]) l4 = [[10, 20, 30], [2, 5, 6]] print(l4)
def siOr(s0, s1): '''Performs s0 | s1 where s0 and s1 are lists of sections or intervals''' actSec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] keyPoints = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) X = None for k, i in keyPoints: a0 = actSec[0] | actSec[1] actSec[i] = not actSec[i] a1 = actSec[0] | actSec[1] if a0 != a1: if a1: X = k else: if len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) secs = [(a, b) for a, b in secs if a != b] return secs def siAnd(s0, s1): '''Performs s0 & s1 where s0 and s1 are lists of sections or intervals''' actSec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] keyPoints = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) X = None for k, i in keyPoints: a0 = actSec[0] & actSec[1] actSec[i] = not actSec[i] a1 = actSec[0] & actSec[1] if a0 != a1: if a1: X = k else: if len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) secs = [(a, b) for a, b in secs if a != b] return secs def siXor(s0, s1): '''Performs s0 ^ s1 where s0 and s1 are lists of sections or intervals''' actSec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] keyPoints = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) X = None for k, i in keyPoints: a0 = actSec[0] ^ actSec[1] actSec[i] = not actSec[i] a1 = actSec[0] ^ actSec[1] if a0 != a1: if a1: X = k else: if len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) secs = [(a, b) for a, b in secs if a != b] return secs def siMinus(s0, s1): '''Performs s0 - s1 where s0 and s1 are lists of sections or intervals''' actSec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] keyPoints = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) X = None active = False for k, i in keyPoints: actSec[i] = not actSec[i] if actSec[0] and not actSec[1]: X = k active = True elif active and X is not None and (not actSec[0] or actSec[1]): if len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) active = False secs = [(a, b) for a, b in secs if a != b] return secs def verifySI(s): keyPoints = [] for x0, x1 in s: keyPoints.append((x0, True)) keyPoints.append((x1, False)) keyPoints.sort(key=lambda x: x[0]) newS = [] X = None depth = 0 for x, inS in keyPoints: if inS: if depth == 0: X = x depth += 1 else: depth -= 1 if depth == 0: newS.append((X, x)) return newS
def si_or(s0, s1): """Performs s0 | s1 where s0 and s1 are lists of sections or intervals""" act_sec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] key_points = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) x = None for (k, i) in keyPoints: a0 = actSec[0] | actSec[1] actSec[i] = not actSec[i] a1 = actSec[0] | actSec[1] if a0 != a1: if a1: x = k elif len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) secs = [(a, b) for (a, b) in secs if a != b] return secs def si_and(s0, s1): """Performs s0 & s1 where s0 and s1 are lists of sections or intervals""" act_sec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] key_points = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) x = None for (k, i) in keyPoints: a0 = actSec[0] & actSec[1] actSec[i] = not actSec[i] a1 = actSec[0] & actSec[1] if a0 != a1: if a1: x = k elif len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) secs = [(a, b) for (a, b) in secs if a != b] return secs def si_xor(s0, s1): """Performs s0 ^ s1 where s0 and s1 are lists of sections or intervals""" act_sec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] key_points = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) x = None for (k, i) in keyPoints: a0 = actSec[0] ^ actSec[1] actSec[i] = not actSec[i] a1 = actSec[0] ^ actSec[1] if a0 != a1: if a1: x = k elif len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) secs = [(a, b) for (a, b) in secs if a != b] return secs def si_minus(s0, s1): """Performs s0 - s1 where s0 and s1 are lists of sections or intervals""" act_sec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] key_points = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lambda x: x[0])) x = None active = False for (k, i) in keyPoints: actSec[i] = not actSec[i] if actSec[0] and (not actSec[1]): x = k active = True elif active and X is not None and (not actSec[0] or actSec[1]): if len(secs) > 0 and secs[-1][1] == X: secs[-1] = (secs[-1][0], k) else: secs.append((X, k)) active = False secs = [(a, b) for (a, b) in secs if a != b] return secs def verify_si(s): key_points = [] for (x0, x1) in s: keyPoints.append((x0, True)) keyPoints.append((x1, False)) keyPoints.sort(key=lambda x: x[0]) new_s = [] x = None depth = 0 for (x, in_s) in keyPoints: if inS: if depth == 0: x = x depth += 1 else: depth -= 1 if depth == 0: newS.append((X, x)) return newS
class Solution: def numIslands(self, grid: 'List[List[str]]') -> 'int': if not grid: return 0 no_lines = len(grid) no_cols = len(grid[0]) def solve(line_idx, col_idx): grid[line_idx][col_idx] = '-1' queue = [(line_idx, col_idx)] idx = 0 while idx < len(queue): land_x, land_y = queue[idx] idx += 1 if land_x + 1 < no_lines and grid[land_x + 1][land_y] == '1': grid[land_x + 1][land_y] = '-1' queue.append((land_x + 1, land_y)) if land_x - 1 >= 0 and grid[land_x - 1][land_y] == '1': grid[land_x - 1][land_y] = '-1' queue.append((land_x - 1, land_y)) if land_y + 1 < no_cols and grid[land_x][land_y + 1] == '1': grid[land_x][land_y + 1] = '-1' queue.append((land_x, land_y + 1)) if land_y - 1 >= 0 and grid[land_x][land_y - 1] == '1': grid[land_x][land_y - 1] = '-1' queue.append((land_x, land_y - 1)) count = 0 for line_idx, line in enumerate(grid): for col_idx, value in enumerate(line): if grid[line_idx][col_idx] != '1': continue count += 1 solve(line_idx, col_idx) return count
class Solution: def num_islands(self, grid: 'List[List[str]]') -> 'int': if not grid: return 0 no_lines = len(grid) no_cols = len(grid[0]) def solve(line_idx, col_idx): grid[line_idx][col_idx] = '-1' queue = [(line_idx, col_idx)] idx = 0 while idx < len(queue): (land_x, land_y) = queue[idx] idx += 1 if land_x + 1 < no_lines and grid[land_x + 1][land_y] == '1': grid[land_x + 1][land_y] = '-1' queue.append((land_x + 1, land_y)) if land_x - 1 >= 0 and grid[land_x - 1][land_y] == '1': grid[land_x - 1][land_y] = '-1' queue.append((land_x - 1, land_y)) if land_y + 1 < no_cols and grid[land_x][land_y + 1] == '1': grid[land_x][land_y + 1] = '-1' queue.append((land_x, land_y + 1)) if land_y - 1 >= 0 and grid[land_x][land_y - 1] == '1': grid[land_x][land_y - 1] = '-1' queue.append((land_x, land_y - 1)) count = 0 for (line_idx, line) in enumerate(grid): for (col_idx, value) in enumerate(line): if grid[line_idx][col_idx] != '1': continue count += 1 solve(line_idx, col_idx) return count
a = [[3,],[]] for x in a: x.append(4) # print (x) print (a) b= [] for x in b: print (3) print (x)
a = [[3], []] for x in a: x.append(4) print(a) b = [] for x in b: print(3) print(x)
filename='pi_million_digits.txt' with open(filename) as file_object: lines=file_object.readlines() pi_string='' for line in lines: pi_string+=line.strip() birthday=input("Enter your birthday, in the form mmddyy:") if birthday in pi_string: print("Your birthday appears in the first millions digits of pi!") else: print("Your birthday does not appear in the first million digits of pi.")
filename = 'pi_million_digits.txt' with open(filename) as file_object: lines = file_object.readlines() pi_string = '' for line in lines: pi_string += line.strip() birthday = input('Enter your birthday, in the form mmddyy:') if birthday in pi_string: print('Your birthday appears in the first millions digits of pi!') else: print('Your birthday does not appear in the first million digits of pi.')
""" This module is used to define constants used throughout the code. It should not depend on any other part of the globus-cli codebase. (If you need to import something else, maybe it's not simple enough to be a constant...) """ __all__ = ["EXPLICIT_NULL"] class _ExplicitNullClass: """ Magic sentinel value used to disambiguate values which are being intentionally nulled from values which are `None` because no argument was provided """ def __bool__(self): return False def __repr__(self): return "null" EXPLICIT_NULL = _ExplicitNullClass()
""" This module is used to define constants used throughout the code. It should not depend on any other part of the globus-cli codebase. (If you need to import something else, maybe it's not simple enough to be a constant...) """ __all__ = ['EXPLICIT_NULL'] class _Explicitnullclass: """ Magic sentinel value used to disambiguate values which are being intentionally nulled from values which are `None` because no argument was provided """ def __bool__(self): return False def __repr__(self): return 'null' explicit_null = __explicit_null_class()
"""https://adventofcode.com/2021/day/21""" class Die: def __init__(self, sides=100): self.sides = sides self.value = 0 self.rolled = 0 def roll(self): self.rolled += 1 self.value = self.value % self.sides + 1 return self.value data = open("day-21/input.txt", "r", encoding="utf-8").read().splitlines() position_1 = int(data[0].split(" ")[-1]) position_2 = int(data[1].split(" ")[-1]) score_1, score_2 = 0, 0 die = Die() while True: position_1 = (position_1 + die.roll() + die.roll() + die.roll() - 1) % 10 + 1 score_1 += position_1 if score_1 >= 1000: print(score_2 * die.rolled) exit() position_2 = (position_2 + die.roll() + die.roll() + die.roll() - 1) % 10 + 1 score_2 += position_2 if score_2 >= 1000: print(score_1 * die.rolled) exit()
"""https://adventofcode.com/2021/day/21""" class Die: def __init__(self, sides=100): self.sides = sides self.value = 0 self.rolled = 0 def roll(self): self.rolled += 1 self.value = self.value % self.sides + 1 return self.value data = open('day-21/input.txt', 'r', encoding='utf-8').read().splitlines() position_1 = int(data[0].split(' ')[-1]) position_2 = int(data[1].split(' ')[-1]) (score_1, score_2) = (0, 0) die = die() while True: position_1 = (position_1 + die.roll() + die.roll() + die.roll() - 1) % 10 + 1 score_1 += position_1 if score_1 >= 1000: print(score_2 * die.rolled) exit() position_2 = (position_2 + die.roll() + die.roll() + die.roll() - 1) % 10 + 1 score_2 += position_2 if score_2 >= 1000: print(score_1 * die.rolled) exit()
def outer(): def inner(): print(out_var) out_var = 10 inner() if "__main__" == __name__: outer()
def outer(): def inner(): print(out_var) out_var = 10 inner() if '__main__' == __name__: outer()
# Copyright (c) Vera Galstyan Jan 2018 favorite_places ={ 'vera': ['lyon','paris','london'], 'ofa':['berlin','madrid','milan'], 'karen':['dubai','barcelona'] } for name,places in favorite_places.items(): print("\n" + name + "'s favorite places are:") for place in places: print(place)
favorite_places = {'vera': ['lyon', 'paris', 'london'], 'ofa': ['berlin', 'madrid', 'milan'], 'karen': ['dubai', 'barcelona']} for (name, places) in favorite_places.items(): print('\n' + name + "'s favorite places are:") for place in places: print(place)
number1 = 10 pi_number = 3.1415 img_number = -10+4j first_name = 'kaveh' last_name = "mehrbanian" bio = """some description about me""" is_sad = False is_happy = True initial_value = None
number1 = 10 pi_number = 3.1415 img_number = -10 + 4j first_name = 'kaveh' last_name = 'mehrbanian' bio = 'some description about me' is_sad = False is_happy = True initial_value = None
# -*- coding: utf-8 -*- # See /usr/include/sysexits.h EX_OK = 0 EX_USAGE = 64 EX_DATAERR = 65 EX_NOUSER = 67 EX_PROTOCOL = 76 EX_TEMPFAIL = 75 EX_CONFIG = 78 # Standard for Bash: <http://www.tldp.org/LDP/abs/html/exitcodes.html> EX_CTRL_C = 130 exit_vals = { 'success': EX_OK, 'config_error': EX_CONFIG, 'url_bung': EX_USAGE, 'communication_failure': EX_PROTOCOL, 'socket_error': EX_PROTOCOL, 'json_decode_error': EX_PROTOCOL, 'no_user': EX_NOUSER, 'terminated': EX_CTRL_C, }
ex_ok = 0 ex_usage = 64 ex_dataerr = 65 ex_nouser = 67 ex_protocol = 76 ex_tempfail = 75 ex_config = 78 ex_ctrl_c = 130 exit_vals = {'success': EX_OK, 'config_error': EX_CONFIG, 'url_bung': EX_USAGE, 'communication_failure': EX_PROTOCOL, 'socket_error': EX_PROTOCOL, 'json_decode_error': EX_PROTOCOL, 'no_user': EX_NOUSER, 'terminated': EX_CTRL_C}
class bidict(dict): """Bi-directional dictionary for label Lookup. Implementation by Basj :param dict: dictionnary to be made bi-directional :type dict: dict """ def __init__(self, *args, **kwargs): super(bidict, self).__init__(*args, **kwargs) self.inverse = {} for key, value in self.items(): self.inverse.setdefault(value, []).append(key) def __setitem__(self, key, value): if key in self: self.inverse[self[key]].remove(key) super(bidict, self).__setitem__(key, value) self.inverse.setdefault(value, []).append(key) def __delitem__(self, key): self.inverse.setdefault(self[key], []).remove(key) if self[key] in self.inverse and not self.inverse[self[key]]: del self.inverse[self[key]] super(bidict, self).__delitem__(key)
class Bidict(dict): """Bi-directional dictionary for label Lookup. Implementation by Basj :param dict: dictionnary to be made bi-directional :type dict: dict """ def __init__(self, *args, **kwargs): super(bidict, self).__init__(*args, **kwargs) self.inverse = {} for (key, value) in self.items(): self.inverse.setdefault(value, []).append(key) def __setitem__(self, key, value): if key in self: self.inverse[self[key]].remove(key) super(bidict, self).__setitem__(key, value) self.inverse.setdefault(value, []).append(key) def __delitem__(self, key): self.inverse.setdefault(self[key], []).remove(key) if self[key] in self.inverse and (not self.inverse[self[key]]): del self.inverse[self[key]] super(bidict, self).__delitem__(key)
class Error: def __init__(self, error_type: str, details: str, file: str, line: int, column: int): self.error_type = error_type self.details = details self.file = file self.line = line self.column = column def __repr__(self): return "{} ERROR: '{}', file {}, line {}, column {}".format(self.error_type, self.details, self.file, self.line, self.column) class UnknownCharacterError(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__("UNKNOWN CHARACTER", details, file, line, column) class UnexpectedCharacterError(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__("UNEXPECTED CHARACTER", details, file, line, column) class UnbalancedBracketsError(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__("UNBALANCED BRACKET", details, file, line, column) class IncorrectCallError(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__("INCORRECT CALL", details, file, line, column) class CheckTypesError(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__("TYPE ERROR", details, file, line, column) class RunTimeError(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__("RUNTIME ERROR", details, file, line, column) #ZeroDivisionError
class Error: def __init__(self, error_type: str, details: str, file: str, line: int, column: int): self.error_type = error_type self.details = details self.file = file self.line = line self.column = column def __repr__(self): return "{} ERROR: '{}', file {}, line {}, column {}".format(self.error_type, self.details, self.file, self.line, self.column) class Unknowncharactererror(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__('UNKNOWN CHARACTER', details, file, line, column) class Unexpectedcharactererror(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__('UNEXPECTED CHARACTER', details, file, line, column) class Unbalancedbracketserror(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__('UNBALANCED BRACKET', details, file, line, column) class Incorrectcallerror(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__('INCORRECT CALL', details, file, line, column) class Checktypeserror(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__('TYPE ERROR', details, file, line, column) class Runtimeerror(Error): def __init__(self, details: str, file: str, line: int, column: int): super().__init__('RUNTIME ERROR', details, file, line, column)
#!/usr/bin/env python3 def main(): s = str(input('What country are you from? ')) print('I have heard that {0} is a beautiful country.'.format(s)) if __name__ == "__main__": main()
def main(): s = str(input('What country are you from? ')) print('I have heard that {0} is a beautiful country.'.format(s)) if __name__ == '__main__': main()
{ "targets": [ { "target_name": "nodeNativeInput", "sources": [ "src/nodeNativeInput.cpp", "src/getOne/getOne.cpp", "src/getTwo/getTwo.cpp", "src/getThree/getThree.cpp" ], "include_dirs": ["<!(node -e \"require('nan')\")"], "conditions": [ ["OS == \"win\"", { "defines": ["Windows"], "link_settings": { "libraries": [] } }], ["OS == \"mac\"", { "defines": ["MacOS"], "link_settings": { "libraries": [] } }], ["OS == \"linux\"", { "defines": ["Linux"], "link_settings": { "libraries": [] } }] ] } ] }
{'targets': [{'target_name': 'nodeNativeInput', 'sources': ['src/nodeNativeInput.cpp', 'src/getOne/getOne.cpp', 'src/getTwo/getTwo.cpp', 'src/getThree/getThree.cpp'], 'include_dirs': ['<!(node -e "require(\'nan\')")'], 'conditions': [['OS == "win"', {'defines': ['Windows'], 'link_settings': {'libraries': []}}], ['OS == "mac"', {'defines': ['MacOS'], 'link_settings': {'libraries': []}}], ['OS == "linux"', {'defines': ['Linux'], 'link_settings': {'libraries': []}}]]}]}
# -*- coding: utf-8 -*- """Test file.""" """ >>> from pyrgg import * >>> import pyrgg.params >>> import random >>> import os >>> import json >>> import yaml >>> import pickle >>> pyrgg.params.PYRGG_TEST_MODE = True >>> get_precision(2) 0 >>> get_precision(2.2) 1 >>> get_precision(2.22) 2 >>> get_precision(2.223) 3 >>> convert_str_to_number("20") 20 >>> convert_str_to_number("20.2") 20.2 >>> convert_str_to_bool("1") True >>> convert_str_to_bool("3") True >>> convert_str_to_bool("0") False >>> is_float(10) False >>> is_float(10.2) True >>> is_float(None) False >>> result = input_filter({"file_name": "test","vertices": 5,"max_weight": 1000,"min_weight":455,"min_edge": -45,"max_edge": -11,"sign": False,"output_format": 19, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":2}) >>> result == {'output_format': 1, 'min_weight': 455, 'min_edge': 5, 'max_edge': 5, 'file_name': 'test', 'vertices': 5, 'max_weight': 1000, 'sign': False, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":2} True >>> result = input_filter({"file_name": "test","vertices": 5,"max_weight": 1000,"min_weight":455,"min_edge": -45,"max_edge": -11,"sign": False,"output_format": 19, "direct": False,"self_loop": False,"multigraph":False,"number_of_files":2}) >>> result == {'output_format': 1, 'min_weight': 455, 'min_edge': 4, 'max_edge': 4, 'file_name': 'test', 'vertices': 5, 'max_weight': 1000, 'sign': False, "direct": False,"self_loop": False,"multigraph":False,"number_of_files":2} True >>> result = input_filter({"file_name": "test","vertices": -5,"max_weight": 1000,"min_weight":455,"min_edge": -45,"max_edge": -11,"sign": False,"output_format": 19, "direct": False,"self_loop": False,"multigraph":True,"number_of_files":-1}) >>> result == {'output_format': 1, 'min_weight': 455, 'min_edge': 11, 'max_edge': 45, 'file_name': 'test', 'vertices': 5, 'max_weight': 1000, 'sign': False, "direct": False,"self_loop": False,"multigraph":True,"number_of_files":1} True >>> result = input_filter({"file_name": "test2","vertices": 23,"max_weight": 2,"min_weight": 80,"min_edge": 23,"max_edge": 1,"sign": True,"output_format": 1, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":100}) >>> result == {'min_weight': 2, 'vertices': 23, 'file_name': 'test2', 'max_edge': 23, 'min_edge': 1, 'max_weight': 80, 'output_format': 1, 'sign': True, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":100} True >>> logger('test',100,50,1000,10,1,0,0,1,20,1,'2min') >>> file=open('logfile.log','r') >>> print("\n".join(file.read().splitlines()[1:-1])) Filename : test Vertices : 100 Total Edges : 50 Max Edge : 1000 Min Edge : 10 Directed : True Signed : False Multigraph : False Self Loop : True Weighted : True Max Weight : 20 Min Weight : 1 Elapsed Time : 2min >>> convert_bytes(200) '200.0 bytes' >>> convert_bytes(6000) '5.9 KB' >>> convert_bytes(80000) '78.1 KB' >>> time_convert(33) '00 days, 00 hours, 00 minutes, 33 seconds' >>> time_convert(15000) '00 days, 04 hours, 10 minutes, 00 seconds' >>> time_convert('sadasdasd') Traceback (most recent call last): ... ValueError: could not convert string to float: 'sadasdasd' >>> line(12,"*") ************ >>> random.seed(2) >>> sign_gen() 1 >>> random.seed(11) >>> sign_gen() -1 >>> used_vertices = {k:[] for k in range(1,41)} >>> degree_dict = {k:0 for k in range(1,41)} >>> degree_dict_sort = {k:{} for k in range(41)} >>> degree_dict_sort[0] = {i:i for i in range(1,41)} >>> all_vertices = list(range(1, 41)) >>> random.seed(2) >>> branch_gen(1,10,10,1,20,True,True,True,False,used_vertices,degree_dict,degree_dict_sort) [[4, 25, 18, 3, 30, 34, 2, 26, 14, 11], [3, 10, 20, 14, -18, -2, -15, -14, 8, 6]] >>> random.seed(20) >>> branch_gen(1,10,4,1,20,False,True,True,False,used_vertices,degree_dict,degree_dict_sort) [[], []] >>> used_vertices = {k:[] for k in range(1,41)} >>> degree_dict = {k:0 for k in range(1,41)} >>> degree_dict_sort = {k:{} for k in range(41)} >>> degree_dict_sort[0] = {i:i for i in range(1,41)} >>> branch_gen(1,10,4,1,20,False,True,True,False,used_vertices,degree_dict,degree_dict_sort) [[10, 7, 39, 2], [9, 11, 6, 14]] >>> branch_gen(40,1,20,1) Traceback (most recent call last): ... TypeError: branch_gen() missing 8 required positional arguments: 'max_weight', 'sign', 'direct', 'self_loop', 'multigraph', 'used_vertices', 'degree_dict', and 'degree_sort_dict' >>> random.seed(2) >>> edge_gen(20,0,400,2,10,True,True,True,False) [{1: [3, 7], 2: [4, 17, 20, 9, 11], 3: [14, 8, 5, 12, 16, 19, 15], 4: [15, 17, 12, 8, 14, 13], 5: [16, 9, 7, 20, 19, 18, 13, 5], 6: [6, 10], 7: [18, 10, 11], 8: [], 9: [], 10: [12, 18, 8, 1, 14], 11: [9, 11], 12: [], 13: [], 14: [19, 16, 17, 20, 15], 15: [6, 1, 19], 16: [12, 13, 8, 9, 17], 17: [], 18: [9, 12, 17, 6, 20, 19, 1], 19: [13], 20: []}, {1: [184, -128], 2: [220, -278, -257, 14, -163], 3: [286, 118, 166, 261, -263, 228, -303], 4: [-82, -335, 250, -256, -338, -179], 5: [-337, -358, -395, -155, -159, 250, -350, -371], 6: [30, -302], 7: [386, -125, 216], 8: [], 9: [], 10: [127, 42, 12, 191, 80], 11: [-301, 77], 12: [], 13: [], 14: [146, -15, -282, 135, 242], 15: [-52, -65, -249], 16: [-132, -334, 343, -17, 87], 17: [], 18: [126, -37, 302, -131, -142, 77, -209], 19: [123], 20: []}, 61] >>> random.seed(11) >>> edge_gen(20,0,100,2,10,False,True,True,False) [{1: [18, 15, 19, 7, 20, 11, 2, 6, 3], 2: [17], 3: [8, 4, 5, 9, 12, 10, 14, 16], 4: [20, 13, 4, 6], 5: [12, 7, 11, 10, 14], 6: [9], 7: [19], 8: [8, 18, 11, 2, 16, 17, 10], 9: [15, 12, 18], 10: [20, 14, 13, 15, 17, 16], 11: [19, 7, 20], 12: [13], 13: [2, 16, 13], 14: [18, 19, 6, 14, 17, 15], 15: [6, 7, 16], 16: [17, 20, 12, 18], 17: [19], 18: [7, 6, 9, 12, 20], 19: [19, 11, 4], 20: []}, {1: [99, 57, 75, 23, 80, 23, 57, 18, 68], 2: [50], 3: [79, 67, 7, 24, 76, 99, 41, 75], 4: [29, 63, 84, 58], 5: [70, 90, 40, 65, 3], 6: [51], 7: [37], 8: [2, 0, 26, 60, 90, 53, 72], 9: [43, 39, 1], 10: [15, 31, 1, 59, 22, 57], 11: [98, 53, 49], 12: [53], 13: [34, 2, 23], 14: [82, 12, 18, 56, 1, 37], 15: [9, 26, 1], 16: [47, 58, 75, 73], 17: [23], 18: [39, 78, 92, 20, 49], 19: [10, 6, 13], 20: []}, 74] >>> edge_gen(0,400,2,10,1) Traceback (most recent call last): ... TypeError: edge_gen() missing 4 required positional arguments: 'sign', 'direct', 'self_loop', and 'multigraph' >>> random.seed(2) >>> dimacs_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.gr','r') >>> print(file.read()) c FILE :testfile.gr c No. of vertices :10 c No. of edges :7 c Max. weight :200 c Min. weight :0 c Min. edge :0 c Max. edge :2 p sp 10 7 a 4 3 -64 a 5 6 148 a 5 9 110 a 6 10 -139 a 7 7 7 a 8 2 -97 a 9 1 60 <BLANKLINE> >>> random.seed(4) >>> dimacs_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.gr','r') >>> print(file.read()) c FILE :testfile2.gr c No. of vertices :30 c No. of edges :35 c Max. weight :50 c Min. weight :0 c Min. edge :0 c Max. edge :4 p sp 30 35 a 1 10 46 a 2 18 5 a 2 4 25 a 2 22 -48 a 4 23 -17 a 5 7 -13 a 7 15 10 a 7 17 -40 a 8 8 -42 a 8 25 11 a 9 29 -5 a 10 3 -36 a 10 27 -48 a 11 13 -27 a 11 26 -27 a 11 21 14 a 11 16 -2 a 14 20 -44 a 14 14 43 a 14 12 26 a 15 28 -11 a 16 30 -40 a 16 24 20 a 19 19 7 a 20 12 -29 a 20 1 22 a 22 24 20 a 22 23 -9 a 23 18 18 a 23 27 28 a 24 6 -24 a 25 17 23 a 27 6 -50 a 28 21 28 a 28 13 -13 <BLANKLINE> >>> random.seed(20) >>> dimacs_maker('testfile3',10,30,100,0,4,False,True,True,False) 137 >>> file=open('testfile3.gr','r') >>> print(file.read()) c FILE :testfile3.gr c No. of vertices :100 c No. of edges :137 c Max. weight :30 c Min. weight :10 c Min. edge :0 c Max. edge :4 p sp 100 137 a 1 34 30 a 3 76 15 a 3 5 23 a 4 13 13 a 4 21 20 a 4 67 28 a 5 60 16 a 5 32 20 a 5 92 20 a 6 64 12 a 6 94 26 a 7 62 12 a 7 36 28 a 7 42 11 a 8 20 12 a 9 47 19 a 10 49 15 a 10 27 10 a 11 48 17 a 11 51 11 a 13 58 14 a 13 70 29 a 14 37 30 a 14 61 27 a 14 87 15 a 15 84 13 a 16 83 28 a 17 45 17 a 17 24 29 a 17 18 26 a 18 59 15 a 19 98 12 a 21 2 30 a 21 99 20 a 22 69 26 a 22 96 11 a 22 88 15 a 24 79 20 a 24 12 12 a 24 82 13 a 26 50 30 a 26 30 19 a 29 52 26 a 31 25 26 a 32 68 14 a 33 65 13 a 33 78 13 a 33 55 17 a 34 63 13 a 35 44 27 a 35 57 14 a 37 74 10 a 37 41 16 a 37 100 30 a 38 72 13 a 38 56 16 a 39 91 19 a 39 43 13 a 41 28 22 a 41 81 19 a 42 90 13 a 42 46 28 a 42 97 16 a 45 86 10 a 45 53 18 a 46 85 13 a 46 23 11 a 47 71 29 a 48 95 12 a 48 77 19 a 48 93 11 a 49 75 22 a 50 73 18 a 50 40 24 a 50 54 28 a 51 80 17 a 51 66 19 a 51 89 20 a 52 58 29 a 52 16 21 a 52 43 12 a 53 8 13 a 53 98 17 a 54 55 10 a 56 62 26 a 56 27 10 a 57 70 26 a 58 44 22 a 59 90 27 a 59 91 19 a 59 78 29 a 60 87 12 a 60 92 25 a 61 69 14 a 61 79 17 a 62 25 21 a 63 97 27 a 63 29 30 a 65 9 26 a 65 64 21 a 66 67 27 a 66 95 19 a 66 93 30 a 68 30 18 a 70 83 12 a 70 99 15 a 71 31 17 a 71 89 20 a 73 36 18 a 75 72 12 a 76 2 26 a 76 12 25 a 76 86 22 a 78 23 19 a 78 100 27 a 79 40 24 a 80 84 26 a 80 80 14 a 81 20 16 a 82 15 16 a 82 88 22 a 83 19 19 a 84 85 13 a 84 28 16 a 85 77 16 a 85 94 23 a 86 1 21 a 87 74 15 a 87 96 19 a 90 93 22 a 92 49 14 a 95 98 26 a 95 55 11 a 97 38 28 a 99 19 29 a 99 89 24 a 100 40 11 <BLANKLINE> >>> dimacs_maker('testfile', 0, 200, 10, 0,0,True) Traceback (most recent call last): ... TypeError: dimacs_maker() missing 3 required positional arguments: 'direct', 'self_loop', and 'multigraph' >>> random.seed(2) >>> json_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.json','r') >>> testfile_1=json.load(file) >>> testfile_1['graph']['nodes'][1] {'id': 2} >>> testfile_1['graph']['edges'][1]['source'] 5 >>> testfile_1['graph']['edges'][1]['target'] 6 >>> testfile_1['graph']['edges'][1]['weight'] 148 >>> json_to_yaml('testfile') >>> file=open('testfile.yaml','r') >>> testfile_1_yaml=yaml.load(file) >>> testfile_1_yaml['graph']['edges'][1]['source'] 5 >>> testfile_1_yaml['graph']['edges'][1]['target'] 6 >>> testfile_1_yaml['graph']['edges'][1]['weight'] 148 >>> json_to_pickle('testfile') >>> testfile_1_p=pickle.load( open( 'testfile.p', 'rb' ) ) >>> testfile_1_p['graph']['edges'][1]['source'] 5 >>> testfile_1_p['graph']['edges'][1]['target'] 6 >>> testfile_1_p['graph']['edges'][1]['weight'] 148 >>> random.seed(4) >>> json_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.json','r') >>> testfile_2=json.load(file) >>> testfile_2['graph']['nodes'][1] {'id': 2} >>> testfile_2['graph']['edges'][1]['source'] 2 >>> testfile_2['graph']['edges'][1]['target'] 18 >>> testfile_2['graph']['edges'][1]['weight'] 5 >>> json_to_yaml('testfile2') >>> file=open('testfile2.yaml','r') >>> testfile_2_yaml=yaml.load(file) >>> testfile_2_yaml['graph']['nodes'][1] {'id': 2} >>> testfile_2_yaml['graph']['edges'][1]['source'] 2 >>> testfile_2_yaml['graph']['edges'][1]['target'] 18 >>> testfile_2_yaml['graph']['edges'][1]['weight'] 5 >>> json_to_pickle('testfile2') >>> testfile_2_p=pickle.load( open( 'testfile2.p', 'rb' ) ) >>> testfile_2_p['graph']['edges'][1]['source'] 2 >>> testfile_2_p['graph']['edges'][1]['target'] 18 >>> testfile_2_p['graph']['edges'][1]['weight'] 5 >>> random.seed(20) >>> json_maker('testfile3',10,30,100,0,4,False,True,True,False) 137 >>> file=open('testfile3.json','r') >>> testfile_3=json.load(file) >>> testfile_3['graph']['nodes'][1] {'id': 2} >>> testfile_3['graph']['edges'][1]['source'] 3 >>> testfile_3['graph']['edges'][1]['target'] 76 >>> testfile_3['graph']['edges'][1]['weight'] 15 >>> json_to_yaml('testfile3') >>> file=open('testfile3.yaml','r') >>> testfile_3_yaml=yaml.load(file) >>> testfile_3_yaml['graph']['nodes'][1] {'id': 2} >>> testfile_3_yaml['graph']['edges'][1]['source'] 3 >>> testfile_3_yaml['graph']['edges'][1]['target'] 76 >>> testfile_3_yaml['graph']['edges'][1]['weight'] 15 >>> json_to_yaml('testfile24') [Error] Bad Input File! >>> json_to_pickle('testfile24') [Error] Bad Input File! >>> json_maker('testfile', 0, 200, 10, 0, 0,True) Traceback (most recent call last): ... TypeError: json_maker() missing 3 required positional arguments: 'direct', 'self_loop', and 'multigraph' >>> json_to_pickle('testfile3') >>> testfile_3_p=pickle.load( open( 'testfile3.p', 'rb' ) ) >>> testfile_3_p['graph']['edges'][1]['source'] 3 >>> testfile_3_p['graph']['edges'][1]['target'] 76 >>> testfile_3_p['graph']['edges'][1]['weight'] 15 >>> random.seed(2) >>> csv_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> random.seed(2) >>> gml_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.gml','r') >>> print(file.read()) graph [ multigraph 0 directed 1 node [ id 1 label "Node 1" ] node [ id 2 label "Node 2" ] node [ id 3 label "Node 3" ] node [ id 4 label "Node 4" ] node [ id 5 label "Node 5" ] node [ id 6 label "Node 6" ] node [ id 7 label "Node 7" ] node [ id 8 label "Node 8" ] node [ id 9 label "Node 9" ] node [ id 10 label "Node 10" ] edge [ source 4 target 3 value -64 ] edge [ source 5 target 6 value 148 ] edge [ source 5 target 9 value 110 ] edge [ source 6 target 10 value -139 ] edge [ source 7 target 7 value 7 ] edge [ source 8 target 2 value -97 ] edge [ source 9 target 1 value 60 ] ] >>> random.seed(2) >>> gexf_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.gexf', 'r') >>> random.seed(2) >>> mtx_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> random.seed(2) >>> tsv_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.mtx','r') >>> print(file.read()) %%MatrixMarket matrix coordinate real general 10 10 7 4 3 -64 5 6 148 5 9 110 6 10 -139 7 7 7 8 2 -97 9 1 60 <BLANKLINE> >>> random.seed(2) >>> gdf_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.gdf','r') >>> print(file.read()) nodedef>name VARCHAR,label VARCHAR 1,Node1 2,Node2 3,Node3 4,Node4 5,Node5 6,Node6 7,Node7 8,Node8 9,Node9 10,Node10 edgedef>node1 VARCHAR,node2 VARCHAR,weight DOUBLE 4,3,-64 5,6,148 5,9,110 6,10,-139 7,7,7 8,2,-97 9,1,60 <BLANKLINE> >>> random.seed(2) >>> gl_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.gl','r') >>> print(file.read()) 4 3:-64 5 6:148 9:110 6 10:-139 7 7:7 8 2:-97 9 1:60 <BLANKLINE> >>> file=open('testfile.csv','r') >>> print(file.read()) 4,3,-64 5,6,148 5,9,110 6,10,-139 7,7,7 8,2,-97 9,1,60 <BLANKLINE> >>> random.seed(4) >>> csv_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.csv','r') >>> print(file.read()) 1,10,46 2,18,5 2,4,25 2,22,-48 4,23,-17 5,7,-13 7,15,10 7,17,-40 8,8,-42 8,25,11 9,29,-5 10,3,-36 10,27,-48 11,13,-27 11,26,-27 11,21,14 11,16,-2 14,20,-44 14,14,43 14,12,26 15,28,-11 16,30,-40 16,24,20 19,19,7 20,12,-29 20,1,22 22,24,20 22,23,-9 23,18,18 23,27,28 24,6,-24 25,17,23 27,6,-50 28,21,28 28,13,-13 <BLANKLINE> >>> random.seed(4) >>> csv_maker('testfile4',0,50.2,30,0,4,True,True,True,False) 41 >>> file=open('testfile4.csv','r') >>> print(file.read()) 1,10,36.2 2,6,3.3 2,16,-40.2 2,29,11.1 3,17,-39.1 3,7,-10.8 3,3,-40.2 4,12,-14.5 5,9,-33.7 5,28,8.9 6,21,47.4 6,27,-0.4 6,15,-42.6 7,20,-30.1 8,23,11.7 8,18,4.1 8,25,-26.0 9,24,50.1 9,13,20.7 9,14,-13.9 10,26,-31.8 10,19,-5.1 12,22,6.1 13,30,-1.3 14,11,-36.9 14,22,16.2 15,16,-43.2 15,11,-31.0 16,19,12.6 17,21,18.2 18,18,-39.3 18,25,-28.7 19,23,-46.0 24,20,27.4 25,4,-50.1 25,1,-38.8 26,27,-10.1 26,30,-24.7 26,29,-12.5 27,28,-9.4 29,20,26.4 <BLANKLINE> >>> random.seed(20) >>> csv_maker('testfile3',10,30,100,0,4,False,True,True,False) 137 >>> file=open('testfile3.csv','r') >>> print(file.read()) 1,34,30 3,76,15 3,5,23 4,13,13 4,21,20 4,67,28 5,60,16 5,32,20 5,92,20 6,64,12 6,94,26 7,62,12 7,36,28 7,42,11 8,20,12 9,47,19 10,49,15 10,27,10 11,48,17 11,51,11 13,58,14 13,70,29 14,37,30 14,61,27 14,87,15 15,84,13 16,83,28 17,45,17 17,24,29 17,18,26 18,59,15 19,98,12 21,2,30 21,99,20 22,69,26 22,96,11 22,88,15 24,79,20 24,12,12 24,82,13 26,50,30 26,30,19 29,52,26 31,25,26 32,68,14 33,65,13 33,78,13 33,55,17 34,63,13 35,44,27 35,57,14 37,74,10 37,41,16 37,100,30 38,72,13 38,56,16 39,91,19 39,43,13 41,28,22 41,81,19 42,90,13 42,46,28 42,97,16 45,86,10 45,53,18 46,85,13 46,23,11 47,71,29 48,95,12 48,77,19 48,93,11 49,75,22 50,73,18 50,40,24 50,54,28 51,80,17 51,66,19 51,89,20 52,58,29 52,16,21 52,43,12 53,8,13 53,98,17 54,55,10 56,62,26 56,27,10 57,70,26 58,44,22 59,90,27 59,91,19 59,78,29 60,87,12 60,92,25 61,69,14 61,79,17 62,25,21 63,97,27 63,29,30 65,9,26 65,64,21 66,67,27 66,95,19 66,93,30 68,30,18 70,83,12 70,99,15 71,31,17 71,89,20 73,36,18 75,72,12 76,2,26 76,12,25 76,86,22 78,23,19 78,100,27 79,40,24 80,84,26 80,80,14 81,20,16 82,15,16 82,88,22 83,19,19 84,85,13 84,28,16 85,77,16 85,94,23 86,1,21 87,74,15 87,96,19 90,93,22 92,49,14 95,98,26 95,55,11 97,38,28 99,19,29 99,89,24 100,40,11 <BLANKLINE> >>> csv_maker('testfile', 0, 200, 10, 0,0,True) Traceback (most recent call last): ... TypeError: csv_maker() missing 3 required positional arguments: 'direct', 'self_loop', and 'multigraph' >>> random.seed(2) >>> wel_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.wel','r') >>> print(file.read()) 4 3 -64 5 6 148 5 9 110 6 10 -139 7 7 7 8 2 -97 9 1 60 <BLANKLINE> >>> random.seed(4) >>> wel_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.wel','r') >>> print(file.read()) 1 10 46 2 18 5 2 4 25 2 22 -48 4 23 -17 5 7 -13 7 15 10 7 17 -40 8 8 -42 8 25 11 9 29 -5 10 3 -36 10 27 -48 11 13 -27 11 26 -27 11 21 14 11 16 -2 14 20 -44 14 14 43 14 12 26 15 28 -11 16 30 -40 16 24 20 19 19 7 20 12 -29 20 1 22 22 24 20 22 23 -9 23 18 18 23 27 28 24 6 -24 25 17 23 27 6 -50 28 21 28 28 13 -13 <BLANKLINE> >>> random.seed(20) >>> wel_maker('testfile3',10,30,100,0,4,False,True,True,False) 137 >>> file=open('testfile3.wel','r') >>> print(file.read()) 1 34 30 3 76 15 3 5 23 4 13 13 4 21 20 4 67 28 5 60 16 5 32 20 5 92 20 6 64 12 6 94 26 7 62 12 7 36 28 7 42 11 8 20 12 9 47 19 10 49 15 10 27 10 11 48 17 11 51 11 13 58 14 13 70 29 14 37 30 14 61 27 14 87 15 15 84 13 16 83 28 17 45 17 17 24 29 17 18 26 18 59 15 19 98 12 21 2 30 21 99 20 22 69 26 22 96 11 22 88 15 24 79 20 24 12 12 24 82 13 26 50 30 26 30 19 29 52 26 31 25 26 32 68 14 33 65 13 33 78 13 33 55 17 34 63 13 35 44 27 35 57 14 37 74 10 37 41 16 37 100 30 38 72 13 38 56 16 39 91 19 39 43 13 41 28 22 41 81 19 42 90 13 42 46 28 42 97 16 45 86 10 45 53 18 46 85 13 46 23 11 47 71 29 48 95 12 48 77 19 48 93 11 49 75 22 50 73 18 50 40 24 50 54 28 51 80 17 51 66 19 51 89 20 52 58 29 52 16 21 52 43 12 53 8 13 53 98 17 54 55 10 56 62 26 56 27 10 57 70 26 58 44 22 59 90 27 59 91 19 59 78 29 60 87 12 60 92 25 61 69 14 61 79 17 62 25 21 63 97 27 63 29 30 65 9 26 65 64 21 66 67 27 66 95 19 66 93 30 68 30 18 70 83 12 70 99 15 71 31 17 71 89 20 73 36 18 75 72 12 76 2 26 76 12 25 76 86 22 78 23 19 78 100 27 79 40 24 80 84 26 80 80 14 81 20 16 82 15 16 82 88 22 83 19 19 84 85 13 84 28 16 85 77 16 85 94 23 86 1 21 87 74 15 87 96 19 90 93 22 92 49 14 95 98 26 95 55 11 97 38 28 99 19 29 99 89 24 100 40 11 <BLANKLINE> >>> wel_maker('testfile', 0, 200, 10, 0,0,True) Traceback (most recent call last): ... TypeError: wel_maker() missing 3 required positional arguments: 'direct', 'self_loop', and 'multigraph' >>> random.seed(2) >>> lp_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.lp','r') >>> print(file.read()) node(1). node(2). node(3). node(4). node(5). node(6). node(7). node(8). node(9). node(10). edge(4,3,-64). edge(5,6,148). edge(5,9,110). edge(6,10,-139). edge(7,7,7). edge(8,2,-97). edge(9,1,60). <BLANKLINE> >>> random.seed(4) >>> lp_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.lp','r') >>> print(file.read()) node(1). node(2). node(3). node(4). node(5). node(6). node(7). node(8). node(9). node(10). node(11). node(12). node(13). node(14). node(15). node(16). node(17). node(18). node(19). node(20). node(21). node(22). node(23). node(24). node(25). node(26). node(27). node(28). node(29). node(30). edge(1,10,46). edge(2,18,5). edge(2,4,25). edge(2,22,-48). edge(4,23,-17). edge(5,7,-13). edge(7,15,10). edge(7,17,-40). edge(8,8,-42). edge(8,25,11). edge(9,29,-5). edge(10,3,-36). edge(10,27,-48). edge(11,13,-27). edge(11,26,-27). edge(11,21,14). edge(11,16,-2). edge(14,20,-44). edge(14,14,43). edge(14,12,26). edge(15,28,-11). edge(16,30,-40). edge(16,24,20). edge(19,19,7). edge(20,12,-29). edge(20,1,22). edge(22,24,20). edge(22,23,-9). edge(23,18,18). edge(23,27,28). edge(24,6,-24). edge(25,17,23). edge(27,6,-50). edge(28,21,28). edge(28,13,-13). <BLANKLINE> >>> input_dic=get_input(input_func=lambda x: str(len(x))) >>> input_dic['sign'] True >>> input_dic['vertices'] 20 >>> input_dic['min_edge'] 20 >>> input_dic['min_weight'] 15 >>> input_dic['output_format'] 1 >>> input_dic['max_weight'] 15 >>> input_dic['file_name'] '14' >>> input_dic['max_edge'] 20 >>> random.seed(2) >>> tgf_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.tgf','r') >>> print(file.read()) 1 2 3 4 5 6 7 8 9 10 # 4 3 -64 5 6 148 5 9 110 6 10 -139 7 7 7 8 2 -97 9 1 60 <BLANKLINE> >>> random.seed(4) >>> tgf_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.tgf','r') >>> print(file.read()) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 # 1 10 46 2 18 5 2 4 25 2 22 -48 4 23 -17 5 7 -13 7 15 10 7 17 -40 8 8 -42 8 25 11 9 29 -5 10 3 -36 10 27 -48 11 13 -27 11 26 -27 11 21 14 11 16 -2 14 20 -44 14 14 43 14 12 26 15 28 -11 16 30 -40 16 24 20 19 19 7 20 12 -29 20 1 22 22 24 20 22 23 -9 23 18 18 23 27 28 24 6 -24 25 17 23 27 6 -50 28 21 28 28 13 -13 <BLANKLINE> >>> random.seed(2) >>> dl_maker('testfile', 0, 200, 10, 0, 2, True,True,True,False) 7 >>> file=open('testfile.dl','r') >>> print(file.read()) dl format=edgelist1 n=10 data: 4 3 -64 5 6 148 5 9 110 6 10 -139 7 7 7 8 2 -97 9 1 60 <BLANKLINE> >>> random.seed(4) >>> dl_maker('testfile2',0,50,30,0,4,True,True,True,False) 35 >>> file=open('testfile2.dl','r') >>> print(file.read()) dl format=edgelist1 n=30 data: 1 10 46 2 18 5 2 4 25 2 22 -48 4 23 -17 5 7 -13 7 15 10 7 17 -40 8 8 -42 8 25 11 9 29 -5 10 3 -36 10 27 -48 11 13 -27 11 26 -27 11 21 14 11 16 -2 14 20 -44 14 14 43 14 12 26 15 28 -11 16 30 -40 16 24 20 19 19 7 20 12 -29 20 1 22 22 24 20 22 23 -9 23 18 18 23 27 28 24 6 -24 25 17 23 27 6 -50 28 21 28 28 13 -13 <BLANKLINE> >>> file.close() >>> os.remove('testfile.csv') >>> os.remove('testfile.gml') >>> os.remove('testfile.gexf') >>> os.remove('testfile.tsv') >>> os.remove('testfile.dl') >>> os.remove('testfile.gr') >>> os.remove('testfile.json') >>> os.remove('testfile.lp') >>> os.remove('testfile.p') >>> os.remove('testfile.tgf') >>> os.remove('testfile.wel') >>> os.remove('testfile.yaml') >>> os.remove('testfile.mtx') >>> os.remove('testfile.gdf') >>> os.remove('testfile.gl') >>> os.remove('testfile2.csv') >>> os.remove('testfile2.dl') >>> os.remove('testfile2.gr') >>> os.remove('testfile2.json') >>> os.remove('testfile2.lp') >>> os.remove('testfile2.p') >>> os.remove('testfile2.tgf') >>> os.remove('testfile2.wel') >>> os.remove('testfile2.yaml') >>> os.remove('testfile3.csv') >>> os.remove('testfile4.csv') >>> os.remove('testfile3.gr') >>> os.remove('testfile3.json') >>> os.remove('testfile3.p') >>> os.remove('testfile3.wel') >>> os.remove('testfile3.yaml') >>> os.remove('logfile.log') """
"""Test file.""" '\n>>> from pyrgg import *\n>>> import pyrgg.params\n>>> import random\n>>> import os\n>>> import json\n>>> import yaml\n>>> import pickle\n>>> pyrgg.params.PYRGG_TEST_MODE = True\n>>> get_precision(2)\n0\n>>> get_precision(2.2)\n1\n>>> get_precision(2.22)\n2\n>>> get_precision(2.223)\n3\n>>> convert_str_to_number("20")\n20\n>>> convert_str_to_number("20.2")\n20.2\n>>> convert_str_to_bool("1")\nTrue\n>>> convert_str_to_bool("3")\nTrue\n>>> convert_str_to_bool("0")\nFalse\n>>> is_float(10)\nFalse\n>>> is_float(10.2)\nTrue\n>>> is_float(None)\nFalse\n>>> result = input_filter({"file_name": "test","vertices": 5,"max_weight": 1000,"min_weight":455,"min_edge": -45,"max_edge": -11,"sign": False,"output_format": 19, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":2})\n>>> result == {\'output_format\': 1, \'min_weight\': 455, \'min_edge\': 5, \'max_edge\': 5, \'file_name\': \'test\', \'vertices\': 5, \'max_weight\': 1000, \'sign\': False, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":2}\nTrue\n>>> result = input_filter({"file_name": "test","vertices": 5,"max_weight": 1000,"min_weight":455,"min_edge": -45,"max_edge": -11,"sign": False,"output_format": 19, "direct": False,"self_loop": False,"multigraph":False,"number_of_files":2})\n>>> result == {\'output_format\': 1, \'min_weight\': 455, \'min_edge\': 4, \'max_edge\': 4, \'file_name\': \'test\', \'vertices\': 5, \'max_weight\': 1000, \'sign\': False, "direct": False,"self_loop": False,"multigraph":False,"number_of_files":2}\nTrue\n>>> result = input_filter({"file_name": "test","vertices": -5,"max_weight": 1000,"min_weight":455,"min_edge": -45,"max_edge": -11,"sign": False,"output_format": 19, "direct": False,"self_loop": False,"multigraph":True,"number_of_files":-1})\n>>> result == {\'output_format\': 1, \'min_weight\': 455, \'min_edge\': 11, \'max_edge\': 45, \'file_name\': \'test\', \'vertices\': 5, \'max_weight\': 1000, \'sign\': False, "direct": False,"self_loop": False,"multigraph":True,"number_of_files":1}\nTrue\n>>> result = input_filter({"file_name": "test2","vertices": 23,"max_weight": 2,"min_weight": 80,"min_edge": 23,"max_edge": 1,"sign": True,"output_format": 1, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":100})\n>>> result == {\'min_weight\': 2, \'vertices\': 23, \'file_name\': \'test2\', \'max_edge\': 23, \'min_edge\': 1, \'max_weight\': 80, \'output_format\': 1, \'sign\': True, "direct": False,"self_loop": True,"multigraph":False,"number_of_files":100}\nTrue\n>>> logger(\'test\',100,50,1000,10,1,0,0,1,20,1,\'2min\')\n>>> file=open(\'logfile.log\',\'r\')\n>>> print("\n".join(file.read().splitlines()[1:-1]))\nFilename : test\nVertices : 100\nTotal Edges : 50\nMax Edge : 1000\nMin Edge : 10\nDirected : True\nSigned : False\nMultigraph : False\nSelf Loop : True\nWeighted : True\nMax Weight : 20\nMin Weight : 1\nElapsed Time : 2min\n>>> convert_bytes(200)\n\'200.0 bytes\'\n>>> convert_bytes(6000)\n\'5.9 KB\'\n>>> convert_bytes(80000)\n\'78.1 KB\'\n>>> time_convert(33)\n\'00 days, 00 hours, 00 minutes, 33 seconds\'\n>>> time_convert(15000)\n\'00 days, 04 hours, 10 minutes, 00 seconds\'\n>>> time_convert(\'sadasdasd\')\nTraceback (most recent call last):\n ...\nValueError: could not convert string to float: \'sadasdasd\'\n>>> line(12,"*")\n************\n>>> random.seed(2)\n>>> sign_gen()\n1\n>>> random.seed(11)\n>>> sign_gen()\n-1\n>>> used_vertices = {k:[] for k in range(1,41)}\n>>> degree_dict = {k:0 for k in range(1,41)}\n>>> degree_dict_sort = {k:{} for k in range(41)}\n>>> degree_dict_sort[0] = {i:i for i in range(1,41)}\n>>> all_vertices = list(range(1, 41))\n>>> random.seed(2)\n>>> branch_gen(1,10,10,1,20,True,True,True,False,used_vertices,degree_dict,degree_dict_sort)\n[[4, 25, 18, 3, 30, 34, 2, 26, 14, 11], [3, 10, 20, 14, -18, -2, -15, -14, 8, 6]]\n>>> random.seed(20)\n>>> branch_gen(1,10,4,1,20,False,True,True,False,used_vertices,degree_dict,degree_dict_sort)\n[[], []]\n>>> used_vertices = {k:[] for k in range(1,41)}\n>>> degree_dict = {k:0 for k in range(1,41)}\n>>> degree_dict_sort = {k:{} for k in range(41)}\n>>> degree_dict_sort[0] = {i:i for i in range(1,41)}\n>>> branch_gen(1,10,4,1,20,False,True,True,False,used_vertices,degree_dict,degree_dict_sort)\n[[10, 7, 39, 2], [9, 11, 6, 14]]\n>>> branch_gen(40,1,20,1)\nTraceback (most recent call last):\n ...\nTypeError: branch_gen() missing 8 required positional arguments: \'max_weight\', \'sign\', \'direct\', \'self_loop\', \'multigraph\', \'used_vertices\', \'degree_dict\', and \'degree_sort_dict\'\n>>> random.seed(2)\n>>> edge_gen(20,0,400,2,10,True,True,True,False)\n[{1: [3, 7], 2: [4, 17, 20, 9, 11], 3: [14, 8, 5, 12, 16, 19, 15], 4: [15, 17, 12, 8, 14, 13], 5: [16, 9, 7, 20, 19, 18, 13, 5], 6: [6, 10], 7: [18, 10, 11], 8: [], 9: [], 10: [12, 18, 8, 1, 14], 11: [9, 11], 12: [], 13: [], 14: [19, 16, 17, 20, 15], 15: [6, 1, 19], 16: [12, 13, 8, 9, 17], 17: [], 18: [9, 12, 17, 6, 20, 19, 1], 19: [13], 20: []}, {1: [184, -128], 2: [220, -278, -257, 14, -163], 3: [286, 118, 166, 261, -263, 228, -303], 4: [-82, -335, 250, -256, -338, -179], 5: [-337, -358, -395, -155, -159, 250, -350, -371], 6: [30, -302], 7: [386, -125, 216], 8: [], 9: [], 10: [127, 42, 12, 191, 80], 11: [-301, 77], 12: [], 13: [], 14: [146, -15, -282, 135, 242], 15: [-52, -65, -249], 16: [-132, -334, 343, -17, 87], 17: [], 18: [126, -37, 302, -131, -142, 77, -209], 19: [123], 20: []}, 61]\n>>> random.seed(11)\n>>> edge_gen(20,0,100,2,10,False,True,True,False)\n[{1: [18, 15, 19, 7, 20, 11, 2, 6, 3], 2: [17], 3: [8, 4, 5, 9, 12, 10, 14, 16], 4: [20, 13, 4, 6], 5: [12, 7, 11, 10, 14], 6: [9], 7: [19], 8: [8, 18, 11, 2, 16, 17, 10], 9: [15, 12, 18], 10: [20, 14, 13, 15, 17, 16], 11: [19, 7, 20], 12: [13], 13: [2, 16, 13], 14: [18, 19, 6, 14, 17, 15], 15: [6, 7, 16], 16: [17, 20, 12, 18], 17: [19], 18: [7, 6, 9, 12, 20], 19: [19, 11, 4], 20: []}, {1: [99, 57, 75, 23, 80, 23, 57, 18, 68], 2: [50], 3: [79, 67, 7, 24, 76, 99, 41, 75], 4: [29, 63, 84, 58], 5: [70, 90, 40, 65, 3], 6: [51], 7: [37], 8: [2, 0, 26, 60, 90, 53, 72], 9: [43, 39, 1], 10: [15, 31, 1, 59, 22, 57], 11: [98, 53, 49], 12: [53], 13: [34, 2, 23], 14: [82, 12, 18, 56, 1, 37], 15: [9, 26, 1], 16: [47, 58, 75, 73], 17: [23], 18: [39, 78, 92, 20, 49], 19: [10, 6, 13], 20: []}, 74]\n>>> edge_gen(0,400,2,10,1)\nTraceback (most recent call last):\n ...\nTypeError: edge_gen() missing 4 required positional arguments: \'sign\', \'direct\', \'self_loop\', and \'multigraph\'\n>>> random.seed(2)\n>>> dimacs_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.gr\',\'r\')\n>>> print(file.read())\nc FILE :testfile.gr\nc No. of vertices :10\nc No. of edges :7\nc Max. weight :200\nc Min. weight :0\nc Min. edge :0\nc Max. edge :2\np sp 10 7\na 4 3 -64\na 5 6 148\na 5 9 110\na 6 10 -139\na 7 7 7\na 8 2 -97\na 9 1 60\n<BLANKLINE>\n>>> random.seed(4)\n>>> dimacs_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.gr\',\'r\')\n>>> print(file.read())\nc FILE :testfile2.gr\nc No. of vertices :30\nc No. of edges :35\nc Max. weight :50\nc Min. weight :0\nc Min. edge :0\nc Max. edge :4\np sp 30 35\na 1 10 46\na 2 18 5\na 2 4 25\na 2 22 -48\na 4 23 -17\na 5 7 -13\na 7 15 10\na 7 17 -40\na 8 8 -42\na 8 25 11\na 9 29 -5\na 10 3 -36\na 10 27 -48\na 11 13 -27\na 11 26 -27\na 11 21 14\na 11 16 -2\na 14 20 -44\na 14 14 43\na 14 12 26\na 15 28 -11\na 16 30 -40\na 16 24 20\na 19 19 7\na 20 12 -29\na 20 1 22\na 22 24 20\na 22 23 -9\na 23 18 18\na 23 27 28\na 24 6 -24\na 25 17 23\na 27 6 -50\na 28 21 28\na 28 13 -13\n<BLANKLINE>\n>>> random.seed(20)\n>>> dimacs_maker(\'testfile3\',10,30,100,0,4,False,True,True,False)\n137\n>>> file=open(\'testfile3.gr\',\'r\')\n>>> print(file.read())\nc FILE :testfile3.gr\nc No. of vertices :100\nc No. of edges :137\nc Max. weight :30\nc Min. weight :10\nc Min. edge :0\nc Max. edge :4\np sp 100 137\na 1 34 30\na 3 76 15\na 3 5 23\na 4 13 13\na 4 21 20\na 4 67 28\na 5 60 16\na 5 32 20\na 5 92 20\na 6 64 12\na 6 94 26\na 7 62 12\na 7 36 28\na 7 42 11\na 8 20 12\na 9 47 19\na 10 49 15\na 10 27 10\na 11 48 17\na 11 51 11\na 13 58 14\na 13 70 29\na 14 37 30\na 14 61 27\na 14 87 15\na 15 84 13\na 16 83 28\na 17 45 17\na 17 24 29\na 17 18 26\na 18 59 15\na 19 98 12\na 21 2 30\na 21 99 20\na 22 69 26\na 22 96 11\na 22 88 15\na 24 79 20\na 24 12 12\na 24 82 13\na 26 50 30\na 26 30 19\na 29 52 26\na 31 25 26\na 32 68 14\na 33 65 13\na 33 78 13\na 33 55 17\na 34 63 13\na 35 44 27\na 35 57 14\na 37 74 10\na 37 41 16\na 37 100 30\na 38 72 13\na 38 56 16\na 39 91 19\na 39 43 13\na 41 28 22\na 41 81 19\na 42 90 13\na 42 46 28\na 42 97 16\na 45 86 10\na 45 53 18\na 46 85 13\na 46 23 11\na 47 71 29\na 48 95 12\na 48 77 19\na 48 93 11\na 49 75 22\na 50 73 18\na 50 40 24\na 50 54 28\na 51 80 17\na 51 66 19\na 51 89 20\na 52 58 29\na 52 16 21\na 52 43 12\na 53 8 13\na 53 98 17\na 54 55 10\na 56 62 26\na 56 27 10\na 57 70 26\na 58 44 22\na 59 90 27\na 59 91 19\na 59 78 29\na 60 87 12\na 60 92 25\na 61 69 14\na 61 79 17\na 62 25 21\na 63 97 27\na 63 29 30\na 65 9 26\na 65 64 21\na 66 67 27\na 66 95 19\na 66 93 30\na 68 30 18\na 70 83 12\na 70 99 15\na 71 31 17\na 71 89 20\na 73 36 18\na 75 72 12\na 76 2 26\na 76 12 25\na 76 86 22\na 78 23 19\na 78 100 27\na 79 40 24\na 80 84 26\na 80 80 14\na 81 20 16\na 82 15 16\na 82 88 22\na 83 19 19\na 84 85 13\na 84 28 16\na 85 77 16\na 85 94 23\na 86 1 21\na 87 74 15\na 87 96 19\na 90 93 22\na 92 49 14\na 95 98 26\na 95 55 11\na 97 38 28\na 99 19 29\na 99 89 24\na 100 40 11\n<BLANKLINE>\n>>> dimacs_maker(\'testfile\', 0, 200, 10, 0,0,True)\nTraceback (most recent call last):\n ...\nTypeError: dimacs_maker() missing 3 required positional arguments: \'direct\', \'self_loop\', and \'multigraph\'\n>>> random.seed(2)\n>>> json_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.json\',\'r\')\n>>> testfile_1=json.load(file)\n>>> testfile_1[\'graph\'][\'nodes\'][1]\n{\'id\': 2}\n>>> testfile_1[\'graph\'][\'edges\'][1][\'source\']\n5\n>>> testfile_1[\'graph\'][\'edges\'][1][\'target\']\n6\n>>> testfile_1[\'graph\'][\'edges\'][1][\'weight\']\n148\n>>> json_to_yaml(\'testfile\')\n>>> file=open(\'testfile.yaml\',\'r\')\n>>> testfile_1_yaml=yaml.load(file)\n>>> testfile_1_yaml[\'graph\'][\'edges\'][1][\'source\']\n5\n>>> testfile_1_yaml[\'graph\'][\'edges\'][1][\'target\']\n6\n>>> testfile_1_yaml[\'graph\'][\'edges\'][1][\'weight\']\n148\n>>> json_to_pickle(\'testfile\')\n>>> testfile_1_p=pickle.load( open( \'testfile.p\', \'rb\' ) )\n>>> testfile_1_p[\'graph\'][\'edges\'][1][\'source\']\n5\n>>> testfile_1_p[\'graph\'][\'edges\'][1][\'target\']\n6\n>>> testfile_1_p[\'graph\'][\'edges\'][1][\'weight\']\n148\n>>> random.seed(4)\n>>> json_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.json\',\'r\')\n>>> testfile_2=json.load(file)\n>>> testfile_2[\'graph\'][\'nodes\'][1]\n{\'id\': 2}\n>>> testfile_2[\'graph\'][\'edges\'][1][\'source\']\n2\n>>> testfile_2[\'graph\'][\'edges\'][1][\'target\']\n18\n>>> testfile_2[\'graph\'][\'edges\'][1][\'weight\']\n5\n>>> json_to_yaml(\'testfile2\')\n>>> file=open(\'testfile2.yaml\',\'r\')\n>>> testfile_2_yaml=yaml.load(file)\n>>> testfile_2_yaml[\'graph\'][\'nodes\'][1]\n{\'id\': 2}\n>>> testfile_2_yaml[\'graph\'][\'edges\'][1][\'source\']\n2\n>>> testfile_2_yaml[\'graph\'][\'edges\'][1][\'target\']\n18\n>>> testfile_2_yaml[\'graph\'][\'edges\'][1][\'weight\']\n5\n>>> json_to_pickle(\'testfile2\')\n>>> testfile_2_p=pickle.load( open( \'testfile2.p\', \'rb\' ) )\n>>> testfile_2_p[\'graph\'][\'edges\'][1][\'source\']\n2\n>>> testfile_2_p[\'graph\'][\'edges\'][1][\'target\']\n18\n>>> testfile_2_p[\'graph\'][\'edges\'][1][\'weight\']\n5\n>>> random.seed(20)\n>>> json_maker(\'testfile3\',10,30,100,0,4,False,True,True,False)\n137\n>>> file=open(\'testfile3.json\',\'r\')\n>>> testfile_3=json.load(file)\n>>> testfile_3[\'graph\'][\'nodes\'][1]\n{\'id\': 2}\n>>> testfile_3[\'graph\'][\'edges\'][1][\'source\']\n3\n>>> testfile_3[\'graph\'][\'edges\'][1][\'target\']\n76\n>>> testfile_3[\'graph\'][\'edges\'][1][\'weight\']\n15\n>>> json_to_yaml(\'testfile3\')\n>>> file=open(\'testfile3.yaml\',\'r\')\n>>> testfile_3_yaml=yaml.load(file)\n>>> testfile_3_yaml[\'graph\'][\'nodes\'][1]\n{\'id\': 2}\n>>> testfile_3_yaml[\'graph\'][\'edges\'][1][\'source\']\n3\n>>> testfile_3_yaml[\'graph\'][\'edges\'][1][\'target\']\n76\n>>> testfile_3_yaml[\'graph\'][\'edges\'][1][\'weight\']\n15\n>>> json_to_yaml(\'testfile24\')\n[Error] Bad Input File!\n>>> json_to_pickle(\'testfile24\')\n[Error] Bad Input File!\n>>> json_maker(\'testfile\', 0, 200, 10, 0, 0,True)\nTraceback (most recent call last):\n ...\nTypeError: json_maker() missing 3 required positional arguments: \'direct\', \'self_loop\', and \'multigraph\'\n>>> json_to_pickle(\'testfile3\')\n>>> testfile_3_p=pickle.load( open( \'testfile3.p\', \'rb\' ) )\n>>> testfile_3_p[\'graph\'][\'edges\'][1][\'source\']\n3\n>>> testfile_3_p[\'graph\'][\'edges\'][1][\'target\']\n76\n>>> testfile_3_p[\'graph\'][\'edges\'][1][\'weight\']\n15\n>>> random.seed(2)\n>>> csv_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> random.seed(2)\n>>> gml_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.gml\',\'r\')\n>>> print(file.read())\ngraph\n[\n multigraph 0\n directed 1\n node\n [\n id 1\n label "Node 1"\n ]\n node\n [\n id 2\n label "Node 2"\n ]\n node\n [\n id 3\n label "Node 3"\n ]\n node\n [\n id 4\n label "Node 4"\n ]\n node\n [\n id 5\n label "Node 5"\n ]\n node\n [\n id 6\n label "Node 6"\n ]\n node\n [\n id 7\n label "Node 7"\n ]\n node\n [\n id 8\n label "Node 8"\n ]\n node\n [\n id 9\n label "Node 9"\n ]\n node\n [\n id 10\n label "Node 10"\n ]\n edge\n [\n source 4\n target 3\n value -64\n ]\n edge\n [\n source 5\n target 6\n value 148\n ]\n edge\n [\n source 5\n target 9\n value 110\n ]\n edge\n [\n source 6\n target 10\n value -139\n ]\n edge\n [\n source 7\n target 7\n value 7\n ]\n edge\n [\n source 8\n target 2\n value -97\n ]\n edge\n [\n source 9\n target 1\n value 60\n ]\n]\n>>> random.seed(2)\n>>> gexf_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.gexf\', \'r\')\n>>> random.seed(2)\n>>> mtx_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> random.seed(2)\n>>> tsv_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.mtx\',\'r\')\n>>> print(file.read())\n%%MatrixMarket matrix coordinate real general\n10 10 7\n4 3 -64\n5 6 148\n5 9 110\n6 10 -139\n7 7 7\n8 2 -97\n9 1 60\n<BLANKLINE>\n>>> random.seed(2)\n>>> gdf_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.gdf\',\'r\')\n>>> print(file.read())\nnodedef>name VARCHAR,label VARCHAR\n1,Node1\n2,Node2\n3,Node3\n4,Node4\n5,Node5\n6,Node6\n7,Node7\n8,Node8\n9,Node9\n10,Node10\nedgedef>node1 VARCHAR,node2 VARCHAR,weight DOUBLE\n4,3,-64\n5,6,148\n5,9,110\n6,10,-139\n7,7,7\n8,2,-97\n9,1,60\n<BLANKLINE>\n>>> random.seed(2)\n>>> gl_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.gl\',\'r\')\n>>> print(file.read())\n4 3:-64\n5 6:148 9:110\n6 10:-139\n7 7:7\n8 2:-97\n9 1:60\n<BLANKLINE>\n>>> file=open(\'testfile.csv\',\'r\')\n>>> print(file.read())\n4,3,-64\n5,6,148\n5,9,110\n6,10,-139\n7,7,7\n8,2,-97\n9,1,60\n<BLANKLINE>\n>>> random.seed(4)\n>>> csv_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.csv\',\'r\')\n>>> print(file.read())\n1,10,46\n2,18,5\n2,4,25\n2,22,-48\n4,23,-17\n5,7,-13\n7,15,10\n7,17,-40\n8,8,-42\n8,25,11\n9,29,-5\n10,3,-36\n10,27,-48\n11,13,-27\n11,26,-27\n11,21,14\n11,16,-2\n14,20,-44\n14,14,43\n14,12,26\n15,28,-11\n16,30,-40\n16,24,20\n19,19,7\n20,12,-29\n20,1,22\n22,24,20\n22,23,-9\n23,18,18\n23,27,28\n24,6,-24\n25,17,23\n27,6,-50\n28,21,28\n28,13,-13\n<BLANKLINE>\n>>> random.seed(4)\n>>> csv_maker(\'testfile4\',0,50.2,30,0,4,True,True,True,False)\n41\n>>> file=open(\'testfile4.csv\',\'r\')\n>>> print(file.read())\n1,10,36.2\n2,6,3.3\n2,16,-40.2\n2,29,11.1\n3,17,-39.1\n3,7,-10.8\n3,3,-40.2\n4,12,-14.5\n5,9,-33.7\n5,28,8.9\n6,21,47.4\n6,27,-0.4\n6,15,-42.6\n7,20,-30.1\n8,23,11.7\n8,18,4.1\n8,25,-26.0\n9,24,50.1\n9,13,20.7\n9,14,-13.9\n10,26,-31.8\n10,19,-5.1\n12,22,6.1\n13,30,-1.3\n14,11,-36.9\n14,22,16.2\n15,16,-43.2\n15,11,-31.0\n16,19,12.6\n17,21,18.2\n18,18,-39.3\n18,25,-28.7\n19,23,-46.0\n24,20,27.4\n25,4,-50.1\n25,1,-38.8\n26,27,-10.1\n26,30,-24.7\n26,29,-12.5\n27,28,-9.4\n29,20,26.4\n<BLANKLINE>\n>>> random.seed(20)\n>>> csv_maker(\'testfile3\',10,30,100,0,4,False,True,True,False)\n137\n>>> file=open(\'testfile3.csv\',\'r\')\n>>> print(file.read())\n1,34,30\n3,76,15\n3,5,23\n4,13,13\n4,21,20\n4,67,28\n5,60,16\n5,32,20\n5,92,20\n6,64,12\n6,94,26\n7,62,12\n7,36,28\n7,42,11\n8,20,12\n9,47,19\n10,49,15\n10,27,10\n11,48,17\n11,51,11\n13,58,14\n13,70,29\n14,37,30\n14,61,27\n14,87,15\n15,84,13\n16,83,28\n17,45,17\n17,24,29\n17,18,26\n18,59,15\n19,98,12\n21,2,30\n21,99,20\n22,69,26\n22,96,11\n22,88,15\n24,79,20\n24,12,12\n24,82,13\n26,50,30\n26,30,19\n29,52,26\n31,25,26\n32,68,14\n33,65,13\n33,78,13\n33,55,17\n34,63,13\n35,44,27\n35,57,14\n37,74,10\n37,41,16\n37,100,30\n38,72,13\n38,56,16\n39,91,19\n39,43,13\n41,28,22\n41,81,19\n42,90,13\n42,46,28\n42,97,16\n45,86,10\n45,53,18\n46,85,13\n46,23,11\n47,71,29\n48,95,12\n48,77,19\n48,93,11\n49,75,22\n50,73,18\n50,40,24\n50,54,28\n51,80,17\n51,66,19\n51,89,20\n52,58,29\n52,16,21\n52,43,12\n53,8,13\n53,98,17\n54,55,10\n56,62,26\n56,27,10\n57,70,26\n58,44,22\n59,90,27\n59,91,19\n59,78,29\n60,87,12\n60,92,25\n61,69,14\n61,79,17\n62,25,21\n63,97,27\n63,29,30\n65,9,26\n65,64,21\n66,67,27\n66,95,19\n66,93,30\n68,30,18\n70,83,12\n70,99,15\n71,31,17\n71,89,20\n73,36,18\n75,72,12\n76,2,26\n76,12,25\n76,86,22\n78,23,19\n78,100,27\n79,40,24\n80,84,26\n80,80,14\n81,20,16\n82,15,16\n82,88,22\n83,19,19\n84,85,13\n84,28,16\n85,77,16\n85,94,23\n86,1,21\n87,74,15\n87,96,19\n90,93,22\n92,49,14\n95,98,26\n95,55,11\n97,38,28\n99,19,29\n99,89,24\n100,40,11\n<BLANKLINE>\n>>> csv_maker(\'testfile\', 0, 200, 10, 0,0,True)\nTraceback (most recent call last):\n ...\nTypeError: csv_maker() missing 3 required positional arguments: \'direct\', \'self_loop\', and \'multigraph\'\n>>> random.seed(2)\n>>> wel_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.wel\',\'r\')\n>>> print(file.read())\n4 3 -64\n5 6 148\n5 9 110\n6 10 -139\n7 7 7\n8 2 -97\n9 1 60\n<BLANKLINE>\n>>> random.seed(4)\n>>> wel_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.wel\',\'r\')\n>>> print(file.read())\n1 10 46\n2 18 5\n2 4 25\n2 22 -48\n4 23 -17\n5 7 -13\n7 15 10\n7 17 -40\n8 8 -42\n8 25 11\n9 29 -5\n10 3 -36\n10 27 -48\n11 13 -27\n11 26 -27\n11 21 14\n11 16 -2\n14 20 -44\n14 14 43\n14 12 26\n15 28 -11\n16 30 -40\n16 24 20\n19 19 7\n20 12 -29\n20 1 22\n22 24 20\n22 23 -9\n23 18 18\n23 27 28\n24 6 -24\n25 17 23\n27 6 -50\n28 21 28\n28 13 -13\n<BLANKLINE>\n>>> random.seed(20)\n>>> wel_maker(\'testfile3\',10,30,100,0,4,False,True,True,False)\n137\n>>> file=open(\'testfile3.wel\',\'r\')\n>>> print(file.read())\n1 34 30\n3 76 15\n3 5 23\n4 13 13\n4 21 20\n4 67 28\n5 60 16\n5 32 20\n5 92 20\n6 64 12\n6 94 26\n7 62 12\n7 36 28\n7 42 11\n8 20 12\n9 47 19\n10 49 15\n10 27 10\n11 48 17\n11 51 11\n13 58 14\n13 70 29\n14 37 30\n14 61 27\n14 87 15\n15 84 13\n16 83 28\n17 45 17\n17 24 29\n17 18 26\n18 59 15\n19 98 12\n21 2 30\n21 99 20\n22 69 26\n22 96 11\n22 88 15\n24 79 20\n24 12 12\n24 82 13\n26 50 30\n26 30 19\n29 52 26\n31 25 26\n32 68 14\n33 65 13\n33 78 13\n33 55 17\n34 63 13\n35 44 27\n35 57 14\n37 74 10\n37 41 16\n37 100 30\n38 72 13\n38 56 16\n39 91 19\n39 43 13\n41 28 22\n41 81 19\n42 90 13\n42 46 28\n42 97 16\n45 86 10\n45 53 18\n46 85 13\n46 23 11\n47 71 29\n48 95 12\n48 77 19\n48 93 11\n49 75 22\n50 73 18\n50 40 24\n50 54 28\n51 80 17\n51 66 19\n51 89 20\n52 58 29\n52 16 21\n52 43 12\n53 8 13\n53 98 17\n54 55 10\n56 62 26\n56 27 10\n57 70 26\n58 44 22\n59 90 27\n59 91 19\n59 78 29\n60 87 12\n60 92 25\n61 69 14\n61 79 17\n62 25 21\n63 97 27\n63 29 30\n65 9 26\n65 64 21\n66 67 27\n66 95 19\n66 93 30\n68 30 18\n70 83 12\n70 99 15\n71 31 17\n71 89 20\n73 36 18\n75 72 12\n76 2 26\n76 12 25\n76 86 22\n78 23 19\n78 100 27\n79 40 24\n80 84 26\n80 80 14\n81 20 16\n82 15 16\n82 88 22\n83 19 19\n84 85 13\n84 28 16\n85 77 16\n85 94 23\n86 1 21\n87 74 15\n87 96 19\n90 93 22\n92 49 14\n95 98 26\n95 55 11\n97 38 28\n99 19 29\n99 89 24\n100 40 11\n<BLANKLINE>\n>>> wel_maker(\'testfile\', 0, 200, 10, 0,0,True)\nTraceback (most recent call last):\n ...\nTypeError: wel_maker() missing 3 required positional arguments: \'direct\', \'self_loop\', and \'multigraph\'\n>>> random.seed(2)\n>>> lp_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.lp\',\'r\')\n>>> print(file.read())\nnode(1).\nnode(2).\nnode(3).\nnode(4).\nnode(5).\nnode(6).\nnode(7).\nnode(8).\nnode(9).\nnode(10).\nedge(4,3,-64).\nedge(5,6,148).\nedge(5,9,110).\nedge(6,10,-139).\nedge(7,7,7).\nedge(8,2,-97).\nedge(9,1,60).\n<BLANKLINE>\n>>> random.seed(4)\n>>> lp_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.lp\',\'r\')\n>>> print(file.read())\nnode(1).\nnode(2).\nnode(3).\nnode(4).\nnode(5).\nnode(6).\nnode(7).\nnode(8).\nnode(9).\nnode(10).\nnode(11).\nnode(12).\nnode(13).\nnode(14).\nnode(15).\nnode(16).\nnode(17).\nnode(18).\nnode(19).\nnode(20).\nnode(21).\nnode(22).\nnode(23).\nnode(24).\nnode(25).\nnode(26).\nnode(27).\nnode(28).\nnode(29).\nnode(30).\nedge(1,10,46).\nedge(2,18,5).\nedge(2,4,25).\nedge(2,22,-48).\nedge(4,23,-17).\nedge(5,7,-13).\nedge(7,15,10).\nedge(7,17,-40).\nedge(8,8,-42).\nedge(8,25,11).\nedge(9,29,-5).\nedge(10,3,-36).\nedge(10,27,-48).\nedge(11,13,-27).\nedge(11,26,-27).\nedge(11,21,14).\nedge(11,16,-2).\nedge(14,20,-44).\nedge(14,14,43).\nedge(14,12,26).\nedge(15,28,-11).\nedge(16,30,-40).\nedge(16,24,20).\nedge(19,19,7).\nedge(20,12,-29).\nedge(20,1,22).\nedge(22,24,20).\nedge(22,23,-9).\nedge(23,18,18).\nedge(23,27,28).\nedge(24,6,-24).\nedge(25,17,23).\nedge(27,6,-50).\nedge(28,21,28).\nedge(28,13,-13).\n<BLANKLINE>\n>>> input_dic=get_input(input_func=lambda x: str(len(x)))\n>>> input_dic[\'sign\']\nTrue\n>>> input_dic[\'vertices\']\n20\n>>> input_dic[\'min_edge\']\n20\n>>> input_dic[\'min_weight\']\n15\n>>> input_dic[\'output_format\']\n1\n>>> input_dic[\'max_weight\']\n15\n>>> input_dic[\'file_name\']\n\'14\'\n>>> input_dic[\'max_edge\']\n20\n>>> random.seed(2)\n>>> tgf_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.tgf\',\'r\')\n>>> print(file.read())\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n#\n4 3 -64\n5 6 148\n5 9 110\n6 10 -139\n7 7 7\n8 2 -97\n9 1 60\n<BLANKLINE>\n>>> random.seed(4)\n>>> tgf_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.tgf\',\'r\')\n>>> print(file.read())\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n#\n1 10 46\n2 18 5\n2 4 25\n2 22 -48\n4 23 -17\n5 7 -13\n7 15 10\n7 17 -40\n8 8 -42\n8 25 11\n9 29 -5\n10 3 -36\n10 27 -48\n11 13 -27\n11 26 -27\n11 21 14\n11 16 -2\n14 20 -44\n14 14 43\n14 12 26\n15 28 -11\n16 30 -40\n16 24 20\n19 19 7\n20 12 -29\n20 1 22\n22 24 20\n22 23 -9\n23 18 18\n23 27 28\n24 6 -24\n25 17 23\n27 6 -50\n28 21 28\n28 13 -13\n<BLANKLINE>\n>>> random.seed(2)\n>>> dl_maker(\'testfile\', 0, 200, 10, 0, 2, True,True,True,False)\n7\n>>> file=open(\'testfile.dl\',\'r\')\n>>> print(file.read())\ndl\nformat=edgelist1\nn=10\ndata:\n4 3 -64\n5 6 148\n5 9 110\n6 10 -139\n7 7 7\n8 2 -97\n9 1 60\n<BLANKLINE>\n>>> random.seed(4)\n>>> dl_maker(\'testfile2\',0,50,30,0,4,True,True,True,False)\n35\n>>> file=open(\'testfile2.dl\',\'r\')\n>>> print(file.read())\ndl\nformat=edgelist1\nn=30\ndata:\n1 10 46\n2 18 5\n2 4 25\n2 22 -48\n4 23 -17\n5 7 -13\n7 15 10\n7 17 -40\n8 8 -42\n8 25 11\n9 29 -5\n10 3 -36\n10 27 -48\n11 13 -27\n11 26 -27\n11 21 14\n11 16 -2\n14 20 -44\n14 14 43\n14 12 26\n15 28 -11\n16 30 -40\n16 24 20\n19 19 7\n20 12 -29\n20 1 22\n22 24 20\n22 23 -9\n23 18 18\n23 27 28\n24 6 -24\n25 17 23\n27 6 -50\n28 21 28\n28 13 -13\n<BLANKLINE>\n>>> file.close()\n>>> os.remove(\'testfile.csv\')\n>>> os.remove(\'testfile.gml\')\n>>> os.remove(\'testfile.gexf\')\n>>> os.remove(\'testfile.tsv\')\n>>> os.remove(\'testfile.dl\')\n>>> os.remove(\'testfile.gr\')\n>>> os.remove(\'testfile.json\')\n>>> os.remove(\'testfile.lp\')\n>>> os.remove(\'testfile.p\')\n>>> os.remove(\'testfile.tgf\')\n>>> os.remove(\'testfile.wel\')\n>>> os.remove(\'testfile.yaml\')\n>>> os.remove(\'testfile.mtx\')\n>>> os.remove(\'testfile.gdf\')\n>>> os.remove(\'testfile.gl\')\n>>> os.remove(\'testfile2.csv\')\n>>> os.remove(\'testfile2.dl\')\n>>> os.remove(\'testfile2.gr\')\n>>> os.remove(\'testfile2.json\')\n>>> os.remove(\'testfile2.lp\')\n>>> os.remove(\'testfile2.p\')\n>>> os.remove(\'testfile2.tgf\')\n>>> os.remove(\'testfile2.wel\')\n>>> os.remove(\'testfile2.yaml\')\n>>> os.remove(\'testfile3.csv\')\n>>> os.remove(\'testfile4.csv\')\n>>> os.remove(\'testfile3.gr\')\n>>> os.remove(\'testfile3.json\')\n>>> os.remove(\'testfile3.p\')\n>>> os.remove(\'testfile3.wel\')\n>>> os.remove(\'testfile3.yaml\')\n>>> os.remove(\'logfile.log\')\n\n'
message_decrypter=input("Votre message a decrypter:") cle=int(input("Nombre de decalage ?:")) longueur=len(message_decrypter) i=0 alph="" resultat="" for i in range(longueur): asc=ord(message_decrypter[i]) if asc>=65 or asc<=90: asc=asc-cle resultat=resultat+chr(asc) print (resultat)
message_decrypter = input('Votre message a decrypter:') cle = int(input('Nombre de decalage ?:')) longueur = len(message_decrypter) i = 0 alph = '' resultat = '' for i in range(longueur): asc = ord(message_decrypter[i]) if asc >= 65 or asc <= 90: asc = asc - cle resultat = resultat + chr(asc) print(resultat)
class VowelConsonant: def __init__(self): """Heuristic strategy: place words that are have either more vowels of consonants based on the letters remaining in the rack_tiles""" # Row below not needed but given for refrence of constants # constants ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z"] self.vowel = ["a", "o", "i", "u", "e"] def determine_vowel_consonant_move(self, rack_tiles, all_words): """ for every letter in rack_tiles determine the amount of vowels and consonants. for every word in all_words determine the amount of vowels and consonants. sort the lists with vowels and consonants on highest value. if there are more more vowels in the count of rack_tiles return a list with the vowel words first. else return a list with the consonants words first. :param rack_tiles: List of letters. :param all_words: List of possible words. :return: a list with words orders by consonants and vowel amount. """ current_vowel_count, current_consonant_count = self._vowel_consonant_count(rack_tiles) vowels, consonanten = self._get_count_dict_vowel_consonant(all_words) vowel_word_list = list(sorted(vowels, key=vowels.get, reverse=True)) consonant_word_list = list(sorted(consonanten, key=consonanten.get, reverse=True)) if current_vowel_count + 1 > current_consonant_count: return vowel_word_list + consonant_word_list else: return consonant_word_list + vowel_word_list def _get_count_dict_vowel_consonant(self, possible_word_list): """ for every word in possible_word_list determine the amount of vowels and consonants. :param possible_word_list: list of possible words. :return: two dictionary's with the count of the vowels and consonant. """ best_vowel_word = {} best_consonant_word = {} for word in possible_word_list: best_vowel_word[word], best_consonant_word[word] = self._vowel_consonant_count([char for char in word]) return best_vowel_word, best_consonant_word def _vowel_consonant_count(self, letter_list): """ for every letter in letter_list determine the amount of vowels and consonants. if current letter is a vowel add 1 to vowel count else letter must be a consonants add 1 to consonants count :param letter_list: List of letters. :return: two int the count of vowels and consonants """ vowel_count = 0 consonants_count = 0 for letter in letter_list: if letter in self.vowel: vowel_count += 1 else: consonants_count += 1 return vowel_count, consonants_count
class Vowelconsonant: def __init__(self): """Heuristic strategy: place words that are have either more vowels of consonants based on the letters remaining in the rack_tiles""" self.vowel = ['a', 'o', 'i', 'u', 'e'] def determine_vowel_consonant_move(self, rack_tiles, all_words): """ for every letter in rack_tiles determine the amount of vowels and consonants. for every word in all_words determine the amount of vowels and consonants. sort the lists with vowels and consonants on highest value. if there are more more vowels in the count of rack_tiles return a list with the vowel words first. else return a list with the consonants words first. :param rack_tiles: List of letters. :param all_words: List of possible words. :return: a list with words orders by consonants and vowel amount. """ (current_vowel_count, current_consonant_count) = self._vowel_consonant_count(rack_tiles) (vowels, consonanten) = self._get_count_dict_vowel_consonant(all_words) vowel_word_list = list(sorted(vowels, key=vowels.get, reverse=True)) consonant_word_list = list(sorted(consonanten, key=consonanten.get, reverse=True)) if current_vowel_count + 1 > current_consonant_count: return vowel_word_list + consonant_word_list else: return consonant_word_list + vowel_word_list def _get_count_dict_vowel_consonant(self, possible_word_list): """ for every word in possible_word_list determine the amount of vowels and consonants. :param possible_word_list: list of possible words. :return: two dictionary's with the count of the vowels and consonant. """ best_vowel_word = {} best_consonant_word = {} for word in possible_word_list: (best_vowel_word[word], best_consonant_word[word]) = self._vowel_consonant_count([char for char in word]) return (best_vowel_word, best_consonant_word) def _vowel_consonant_count(self, letter_list): """ for every letter in letter_list determine the amount of vowels and consonants. if current letter is a vowel add 1 to vowel count else letter must be a consonants add 1 to consonants count :param letter_list: List of letters. :return: two int the count of vowels and consonants """ vowel_count = 0 consonants_count = 0 for letter in letter_list: if letter in self.vowel: vowel_count += 1 else: consonants_count += 1 return (vowel_count, consonants_count)
class Kilobyte: def __init__(self, value_kilobytes: int): self._value_kilobytes = value_kilobytes self.one_kilobyte_in_bits = 8000 self._value_bits = self._convert_into_bits(value_kilobytes) self.id = "KB" def _convert_into_bits(self, value_kilobytes: int) -> int: return value_kilobytes * self.one_kilobyte_in_bits def convert_from_bits_to_kilobytes(self, bits: int) -> float: return (bits / self.one_kilobyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_kilobytes(self) -> int: return self._value_kilobytes class Megabyte: def __init__(self, value_megabytes: int): self._value_megabytes = value_megabytes self.one_megabyte_in_bits = 8e+6 self._value_bits = self._convert_into_bits(value_megabytes) self.id = "MB" def _convert_into_bits(self, value_megabytes: int) -> int: return value_megabytes * self.one_megabyte_in_bits def convert_from_bits_to_megabytes(self, bits: int) -> float: return (bits / self.one_megabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_megabytes(self) -> int: return self._value_megabytes class Gigabyte: def __init__(self, value_gigabytes: int): self._value_gigabytes = value_gigabytes self.one_gigabyte_in_bits = 8e+9 self._value_bits = self._convert_into_bits(value_gigabytes) self.id = "GB" def _convert_into_bits(self, value_gigabytes: int) -> int: return value_gigabytes * self.one_gigabyte_in_bits def convert_from_bits_to_gigabytes(self, bits: int) -> float: return (bits / self.one_gigabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_gigabytes(self) -> int: return self._value_gigabytes class Terabyte: def __init__(self, value_terabytes: int): self._value_terabytes = value_terabytes self.one_terabyte_in_bits = 8e+12 self._value_bits = self._convert_into_bits(value_terabytes) self.id = "TB" def _convert_into_bits(self, value_terabytes: int) -> int: return value_terabytes * self.one_terabyte_in_bits def convert_from_bits_to_terabytes(self, bits: int) -> float: return (bits / self.one_terabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_terabytes(self) -> int: return self._value_terabytes class Petabyte: def __init__(self, value_petabytes: int): self._value_petabytes = value_petabytes self.one_petabyte_in_bits = 8e+15 self._value_bits = self._convert_into_bits(value_petabytes) self.id = "PB" def _convert_into_bits(self, value_petabytes: int) -> int: return value_petabytes * self.one_petabyte_in_bits def convert_from_bits_to_petabytes(self, bits: int) -> float: return (bits / self.one_petabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bytes def get_val_in_petabytes(self) -> int: return self._value_petabytes class Exabyte: def __init__(self, value_exabytes: int): self._value_exabytes = value_exabytes self.one_exabyte_in_bits = 8e+18 self._value_bits = self._convert_into_bits(value_exabytes) self.id = "EB" def _convert_into_bits(self, value_exabytes: int) -> int: return value_exabytes * self.one_exabyte_in_bits def convert_from_bits_to_exabytes(self, bits: int) -> float: return (bits / self.one_exabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_exabytes(self) -> int: return self._value_exabytes class Zettabyte: def __init__(self, value_zettabytes: int): self._value_zettabytes = value_zettabytes self.one_zettabyte_in_bits = 8e+21 self._value_bits = self._convert_into_bits(value_zettabytes) self.id = "ZB" def _convert_into_bits(self, value_zettabytes: int) -> int: return value_zettabytes * self.one_zettabyte_in_bits def convert_from_bits_to_zettabytes(self, bits: int) -> float: return (bits / self.one_zettabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_zettabyte(self) -> int: return self._value_zettabytes class Yottabyte: def __init__(self, value_yottabytes: int): self._value_yottabytes = value_yottabytes self.one_yottabyte_in_bits = 8e+24 self._value_bits = self._convert_into_bits(value_yottabytes) self.id = "YB" def _convert_into_bits(self, value_yottabytes: int) -> int: return value_yottabytes * self.one_yottabyte_in_bits def convert_from_bits_to_yottabytes(self, bits: int) -> float: return (bits / self.one_yottabyte_in_bits) def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_yottabyte(self) -> int: return self._value_yottabytes
class Kilobyte: def __init__(self, value_kilobytes: int): self._value_kilobytes = value_kilobytes self.one_kilobyte_in_bits = 8000 self._value_bits = self._convert_into_bits(value_kilobytes) self.id = 'KB' def _convert_into_bits(self, value_kilobytes: int) -> int: return value_kilobytes * self.one_kilobyte_in_bits def convert_from_bits_to_kilobytes(self, bits: int) -> float: return bits / self.one_kilobyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_kilobytes(self) -> int: return self._value_kilobytes class Megabyte: def __init__(self, value_megabytes: int): self._value_megabytes = value_megabytes self.one_megabyte_in_bits = 8000000.0 self._value_bits = self._convert_into_bits(value_megabytes) self.id = 'MB' def _convert_into_bits(self, value_megabytes: int) -> int: return value_megabytes * self.one_megabyte_in_bits def convert_from_bits_to_megabytes(self, bits: int) -> float: return bits / self.one_megabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_megabytes(self) -> int: return self._value_megabytes class Gigabyte: def __init__(self, value_gigabytes: int): self._value_gigabytes = value_gigabytes self.one_gigabyte_in_bits = 8000000000.0 self._value_bits = self._convert_into_bits(value_gigabytes) self.id = 'GB' def _convert_into_bits(self, value_gigabytes: int) -> int: return value_gigabytes * self.one_gigabyte_in_bits def convert_from_bits_to_gigabytes(self, bits: int) -> float: return bits / self.one_gigabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_gigabytes(self) -> int: return self._value_gigabytes class Terabyte: def __init__(self, value_terabytes: int): self._value_terabytes = value_terabytes self.one_terabyte_in_bits = 8000000000000.0 self._value_bits = self._convert_into_bits(value_terabytes) self.id = 'TB' def _convert_into_bits(self, value_terabytes: int) -> int: return value_terabytes * self.one_terabyte_in_bits def convert_from_bits_to_terabytes(self, bits: int) -> float: return bits / self.one_terabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_terabytes(self) -> int: return self._value_terabytes class Petabyte: def __init__(self, value_petabytes: int): self._value_petabytes = value_petabytes self.one_petabyte_in_bits = 8000000000000000.0 self._value_bits = self._convert_into_bits(value_petabytes) self.id = 'PB' def _convert_into_bits(self, value_petabytes: int) -> int: return value_petabytes * self.one_petabyte_in_bits def convert_from_bits_to_petabytes(self, bits: int) -> float: return bits / self.one_petabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bytes def get_val_in_petabytes(self) -> int: return self._value_petabytes class Exabyte: def __init__(self, value_exabytes: int): self._value_exabytes = value_exabytes self.one_exabyte_in_bits = 8e+18 self._value_bits = self._convert_into_bits(value_exabytes) self.id = 'EB' def _convert_into_bits(self, value_exabytes: int) -> int: return value_exabytes * self.one_exabyte_in_bits def convert_from_bits_to_exabytes(self, bits: int) -> float: return bits / self.one_exabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_exabytes(self) -> int: return self._value_exabytes class Zettabyte: def __init__(self, value_zettabytes: int): self._value_zettabytes = value_zettabytes self.one_zettabyte_in_bits = 8e+21 self._value_bits = self._convert_into_bits(value_zettabytes) self.id = 'ZB' def _convert_into_bits(self, value_zettabytes: int) -> int: return value_zettabytes * self.one_zettabyte_in_bits def convert_from_bits_to_zettabytes(self, bits: int) -> float: return bits / self.one_zettabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_zettabyte(self) -> int: return self._value_zettabytes class Yottabyte: def __init__(self, value_yottabytes: int): self._value_yottabytes = value_yottabytes self.one_yottabyte_in_bits = 8e+24 self._value_bits = self._convert_into_bits(value_yottabytes) self.id = 'YB' def _convert_into_bits(self, value_yottabytes: int) -> int: return value_yottabytes * self.one_yottabyte_in_bits def convert_from_bits_to_yottabytes(self, bits: int) -> float: return bits / self.one_yottabyte_in_bits def get_val_in_bits(self) -> int: return self._value_bits def get_val_in_yottabyte(self) -> int: return self._value_yottabytes
class Credential: """ Class that generates new instances of Credentials . """ Credential_list = [] # Empty User list def __init__(self,Account,user_name,password): # docstring removed for simplicity self.Account= Account self.user_name = user_name self.password = password def save_Credential(self): ''' save_Credential method saves Credential objects into Credential_list ''' Credential.Credential_list.append(self) def delete_Credential(self): ''' delete_Credential method deletes a saved Credential from the Credential_list ''' Credential.Credential_list.remove(self) @classmethod def find_by_Account(cls,Account): ''' Method that takes in a credential and returns a account that matches that account . Args: Account: Account to search for Returns : Credential of Account that matches the Account. ''' for Credential in cls.Credential_list: if Credential.Account == Account: return Credential @classmethod def Credential_exist(cls,Account): ''' Method that checks if a Account exists from the Credential list. Args: Account: ACCOUNT to search if it exists Returns : Boolean: True or false depending if the Account exists ''' for Credential in cls.Credential_list: if Credential.Account == Account: return True return False @classmethod def display_Credentials(cls): ''' method that returns the Credential list ''' return cls.Credential_list
class Credential: """ Class that generates new instances of Credentials . """ credential_list = [] def __init__(self, Account, user_name, password): self.Account = Account self.user_name = user_name self.password = password def save__credential(self): """ save_Credential method saves Credential objects into Credential_list """ Credential.Credential_list.append(self) def delete__credential(self): """ delete_Credential method deletes a saved Credential from the Credential_list """ Credential.Credential_list.remove(self) @classmethod def find_by__account(cls, Account): """ Method that takes in a credential and returns a account that matches that account . Args: Account: Account to search for Returns : Credential of Account that matches the Account. """ for credential in cls.Credential_list: if Credential.Account == Account: return Credential @classmethod def credential_exist(cls, Account): """ Method that checks if a Account exists from the Credential list. Args: Account: ACCOUNT to search if it exists Returns : Boolean: True or false depending if the Account exists """ for credential in cls.Credential_list: if Credential.Account == Account: return True return False @classmethod def display__credentials(cls): """ method that returns the Credential list """ return cls.Credential_list
# Inheritance is used to share property and functionality across similar code. # like car and 2 wheels # It creates resuable code. # Breaks code into hierarchy, more generics to more specific. # Objects higher up in the hiearchy is more generics. # Multiple inheritance is possible in Python.z class Vehicle: def __init__(self, make, model, fuel="gas"): self.make = make self.model = model self.fuel = fuel # This method will be available to any object inheriting from this Class. def is_eco_friendly(self): if self.fuel == "gas": return True else: return False # We inherit by sending the base class name as param during class creation. class Car(Vehicle): def __init__(self, make, model, fuel="gas", num_wheels=4): # This calls the Vehicle's __init__() super().__init__(make, model) # Adds new functionality for this class. self.num_wheels = num_wheels if __name__ == "__main__": four_by_four = Vehicle("No idea", "hello idea") print( four_by_four.make, four_by_four.model, four_by_four.fuel, four_by_four.is_eco_friendly(), ) my_suburu = Car("Suburu", "XUV", fuel="diesel") print(my_suburu.make, my_suburu.model, my_suburu.fuel, my_suburu.is_eco_friendly())
class Vehicle: def __init__(self, make, model, fuel='gas'): self.make = make self.model = model self.fuel = fuel def is_eco_friendly(self): if self.fuel == 'gas': return True else: return False class Car(Vehicle): def __init__(self, make, model, fuel='gas', num_wheels=4): super().__init__(make, model) self.num_wheels = num_wheels if __name__ == '__main__': four_by_four = vehicle('No idea', 'hello idea') print(four_by_four.make, four_by_four.model, four_by_four.fuel, four_by_four.is_eco_friendly()) my_suburu = car('Suburu', 'XUV', fuel='diesel') print(my_suburu.make, my_suburu.model, my_suburu.fuel, my_suburu.is_eco_friendly())
"""Intialise the counter i=j=first element of array and pivot=last element of array if array[j]< pivot swap array(i,j) and increment i last swap array(i,pivot) element this algorithm give in place 0(n) partitioning in 0(1) extra memory """ def pivot(array, a, b): i = a x = array[b - 1] for j in range(a, b - 1): if array[j] < x: array[i], array[j] = array[j], array[i] i += 1 array[i], array[b - 1] = array[b - 1], array[i] return i '''This Quicksort algorithms work on randomise input we can do better introducing randomisation to algorithm ''' def Quicksort(array, start, end): if start < end: q = pivot(array, start, end) Quicksort(array, start, q) Quicksort(array, q + 1, end) array=[1,3,4,6,9,7,5] print(pivot(array,0,6)) print(array)
"""Intialise the counter i=j=first element of array and pivot=last element of array if array[j]< pivot swap array(i,j) and increment i last swap array(i,pivot) element this algorithm give in place 0(n) partitioning in 0(1) extra memory """ def pivot(array, a, b): i = a x = array[b - 1] for j in range(a, b - 1): if array[j] < x: (array[i], array[j]) = (array[j], array[i]) i += 1 (array[i], array[b - 1]) = (array[b - 1], array[i]) return i 'This Quicksort algorithms work on randomise input\n we can do better introducing randomisation to algorithm\n' def quicksort(array, start, end): if start < end: q = pivot(array, start, end) quicksort(array, start, q) quicksort(array, q + 1, end) array = [1, 3, 4, 6, 9, 7, 5] print(pivot(array, 0, 6)) print(array)
######################################################### # Fred12 Setup the Head Servos ######################################################### # We will be using the following services: # Servo Service ######################################################### # In Fred's head, we have a Servo to turn the head from side to side (HeadX), a Jaw Servo for the mouth # to open and close and servos to control the eyes. # Lets look at the HeadX servo first # First we need to create a Servo Service, like all the other Services, we do this using the Runtime Sevice headX = Runtime.createAndStart("headX", "Servo") # Next we need to attach ther servo Service to a Controller Service, in this case it will be the head # Adafruit16ChServoDriver. We also need to tell the Servo Service which pin on the controller # the servo is connected to, in this case pin 3 headX.attach(head,3) # Now we tell the Servo Service about our servos limits, in some cases if the servo goes to far, things will break headX.setMinMax(0,180) # This allows you to map the input to the Servo service to an actual servo position output headX.map(0,180,1,180) # there is a rest command that can be issued to the servo, # when that happens, this is the position that the servo will go to headX.setRest(90) # if your servo run backwards, then set this to true in order to reverse it. headX.setInverted(True) # degrees per second rotational velocity, setting -1 will set the speed to the servo's default headX.setVelocity(60) # this allows the Servo Sevice to turn off the motor when it has reached the target position. # the major advantage to this is the servos will use less power and have a lower chance of buring out. headX.setAutoDisable(True) # Ok now that we have fully defined the headX servo lets make sure it is in the rest position. headX.rest() # commands not used here but will be in other parts on the program are the following: # headX.moveTo(x) where x is the position you want move to. # headX.moveToBlockig(x) as above except execution of the program will pause until the position is reached. # headX.disable() will turn off the servo without unloading the service. # headX.enable() the oposite of disable will turn the servo back on after being disabled. # disable and enable are not required if setAutoDisable is set to True # For each servo that we have, we need to create a Servo Service jaw = Runtime.createAndStart("jaw", "Servo") jaw.attach(head,2) jaw.setMinMax(90,165) jaw.map(90,166,90,165) jaw.setRest(160) jaw.setInverted(True) jaw.setVelocity(-1) jaw.setAutoDisable(True) jaw.rest() eyesX = Runtime.createAndStart("eyesX", "Servo") eyesX.attach(head,0) eyesX.setMinMax(0,180) eyesX.map(0,180,0,180) eyesX.setRest(90) eyesX.setInverted(False) eyesX.setVelocity(-1) eyesX.setAutoDisable(True) eyesY = Runtime.createAndStart("eyesY", "Servo") eyesY.attach(head,1) eyesY.setMinMax(0,180) eyesY.map(0,180,0,180) eyesY.setRest(90) eyesY.setInverted(False) eyesY.setVelocity(-1) eyesY.setAutoDisable(True)
head_x = Runtime.createAndStart('headX', 'Servo') headX.attach(head, 3) headX.setMinMax(0, 180) headX.map(0, 180, 1, 180) headX.setRest(90) headX.setInverted(True) headX.setVelocity(60) headX.setAutoDisable(True) headX.rest() jaw = Runtime.createAndStart('jaw', 'Servo') jaw.attach(head, 2) jaw.setMinMax(90, 165) jaw.map(90, 166, 90, 165) jaw.setRest(160) jaw.setInverted(True) jaw.setVelocity(-1) jaw.setAutoDisable(True) jaw.rest() eyes_x = Runtime.createAndStart('eyesX', 'Servo') eyesX.attach(head, 0) eyesX.setMinMax(0, 180) eyesX.map(0, 180, 0, 180) eyesX.setRest(90) eyesX.setInverted(False) eyesX.setVelocity(-1) eyesX.setAutoDisable(True) eyes_y = Runtime.createAndStart('eyesY', 'Servo') eyesY.attach(head, 1) eyesY.setMinMax(0, 180) eyesY.map(0, 180, 0, 180) eyesY.setRest(90) eyesY.setInverted(False) eyesY.setVelocity(-1) eyesY.setAutoDisable(True)
# Done by Carlos Amaral (16/09/2020) # SCU_2.7 - Modify a User-Defined Function def my_function(x, y): return (x+y)/2 x = 4 y = 5 print("The average is: ", my_function(x,y))
def my_function(x, y): return (x + y) / 2 x = 4 y = 5 print('The average is: ', my_function(x, y))
def fib(n): if n < 0: raise FibonacciError elif n <= 2: return 1 else: return fib(n-1) + fib(n-2) class FibonacciError(Exception): pass class FibTestClass: pass
def fib(n): if n < 0: raise FibonacciError elif n <= 2: return 1 else: return fib(n - 1) + fib(n - 2) class Fibonaccierror(Exception): pass class Fibtestclass: pass
class Solution: """ @param A: an array @return: divide the array into 3 non-empty parts """ def threeEqualParts(self, A): total = A.count(1) if total == 0: return [0, 2] if total % 3: return [-1, -1] k = total // 3 count = 0 for i, a in enumerate(A): if a == 1: count += 1 if count == 1: start = i elif count == k + 1: mid = i elif count == k * 2 + 1: end = i break while end < len(A) and A[start] == A[mid] == A[end]: start += 1 mid += 1 end += 1 if end == len(A): return [start - 1, mid] else: return [-1, -1]
class Solution: """ @param A: an array @return: divide the array into 3 non-empty parts """ def three_equal_parts(self, A): total = A.count(1) if total == 0: return [0, 2] if total % 3: return [-1, -1] k = total // 3 count = 0 for (i, a) in enumerate(A): if a == 1: count += 1 if count == 1: start = i elif count == k + 1: mid = i elif count == k * 2 + 1: end = i break while end < len(A) and A[start] == A[mid] == A[end]: start += 1 mid += 1 end += 1 if end == len(A): return [start - 1, mid] else: return [-1, -1]
"""Custom synapse-related classes.""" # Copyright 2020-2021 Blue Brain Project / EPFL # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class SynapseMixin: """Class containing the synapse-related methods.""" def set_random_nmb_generator(self, sim, icell, sid): """Sets the random number generator. Args: sim (bluepyopt.ephys.NrnSimulator): neuron simulator icell (neuron cell): cell instantiation in simulator sid (int): synapse id """ if self.rng_settings_mode == "Random123": self.randseed1 = icell.gid + 250 self.randseed2 = sid + 100 self.randseed3 = 300 self.hsynapse.setRNG(self.randseed1, self.randseed2, self.randseed3) if self.rng_settings_mode == "Compatibility": self.rndd = sim.neuron.h.Random() self.rndd.MCellRan4( sid * 100000 + 100, icell.gid + 250 + self.seed, ) self.rndd.uniform(0, 1) self.hsynapse.setRNG(self.rndd) def set_tau_r(self, sim, icell, sid): """Set tau_r_GABAA using random nmb generator. Args: sim (bluepyopt.ephys.NrnSimulator): neuron simulator icell (neuron cell): cell instantiation in simulator sid (int): synapse id """ self.rng = sim.neuron.h.Random() if self.rng_settings_mode == "Random123": self.rng.Random123(icell.gid + 250, sid + 100, 450) elif self.rng_settings_mode == "Compatibility": self.rng.MCellRan4( sid * 100000 + 100, icell.gid + 250 + self.seed, ) self.rng.lognormal(0.2, 0.1) self.hsynapse.tau_r_GABAA = self.rng.repick() def execute_synapse_configuration(self, synconf_dict, sid, sim, exec_all=False): """Create a hoc file configuring synapse. Args: synconf_dict (dict): synapse configuration sid (int): synapse id sim (bluepyopt.ephys.NrnSimulator): neuron simulator exec_all (bool): whether to also execute commands with '*' """ # pylint: disable=consider-using-f-string for cmd, ids in synconf_dict.items(): if sid in ids and (exec_all or "*" not in cmd): cmd = cmd.replace("%s", "\n%(syn)s") hoc_cmd = cmd % {"syn": self.hsynapse.hname()} hoc_cmd = "{%s}" % hoc_cmd sim.neuron.h(hoc_cmd) class SynapseCustom(SynapseMixin): """Attach a synapse to the simulation. Attributes: seed (int): random number generator seed number rng_settins_mode (str) : mode of the random number generator Can be "Random123" or "Compatibility" section (neuron section): cell location where the synapse is attached to hsynapse (neuron ProbGABAAB_EMS or ProbAMPANMDA_EMS): synapse instantion in simulator delay (float): synapse delay weight (float): synapse weight pre_mtype (int): ID (but not gid) of the presynaptic cell start (int/None): force synapse to start firing at given value when using NetStim interval (int/None): force synapse to fire at given interval when using NetStim number (int/None): force synapse to fire N times when using NetStim noise (int/None): force synapse to have given noise when using NetStim """ def __init__( self, sim, icell, synapse, section, seed, rng_settings_mode, synconf_dict, start=None, interval=None, number=None, noise=None, ): """Constructor. Args: sim (NrnSimulator): simulator icell (Hoc Cell): cell to which attach the synapse synapse (dict): synapse data section (neuron section): cell location where the synapse is attached to seed (int) : random number generator seed number rng_settings_mode (str) : mode of the random number generator Can be "Random123" or "Compatibility" synconf_dict (dict) : synapse configuration start (int/None): force synapse to start firing at given value when using NetStim interval (int/None): force synapse to fire at given interval when using NetStim number (int/None): force synapse to fire N times when using NetStim noise (int/None): force synapse to have given noise when using NetStim """ # pylint: disable=too-many-arguments self.seed = seed self.rng_settings_mode = rng_settings_mode self.section = section # the synapse is inhibitory if synapse["synapse_type"] < 100: self.hsynapse = sim.neuron.h.ProbGABAAB_EMS( synapse["seg_x"], sec=self.section ) self.hsynapse.tau_d_GABAA = synapse["tau_d"] self.set_tau_r(sim, icell, synapse["sid"]) # the synapse is excitatory elif synapse["synapse_type"] > 100: self.hsynapse = sim.neuron.h.ProbAMPANMDA_EMS( synapse["seg_x"], sec=self.section ) self.hsynapse.tau_d_AMPA = synapse["tau_d"] self.hsynapse.Use = abs(synapse["use"]) self.hsynapse.Dep = abs(synapse["dep"]) self.hsynapse.Fac = abs(synapse["fac"]) self.hsynapse.synapseID = synapse["sid"] self.hsynapse.Nrrp = synapse["Nrrp"] # set random number generator self.set_random_nmb_generator(sim, icell, synapse["sid"]) self.execute_synapse_configuration(synconf_dict, synapse["sid"], sim) self.delay = synapse["delay"] self.weight = synapse["weight"] self.pre_mtype = synapse["pre_mtype"] # netstim params if given self.start = start self.interval = interval self.number = number self.noise = noise
"""Custom synapse-related classes.""" class Synapsemixin: """Class containing the synapse-related methods.""" def set_random_nmb_generator(self, sim, icell, sid): """Sets the random number generator. Args: sim (bluepyopt.ephys.NrnSimulator): neuron simulator icell (neuron cell): cell instantiation in simulator sid (int): synapse id """ if self.rng_settings_mode == 'Random123': self.randseed1 = icell.gid + 250 self.randseed2 = sid + 100 self.randseed3 = 300 self.hsynapse.setRNG(self.randseed1, self.randseed2, self.randseed3) if self.rng_settings_mode == 'Compatibility': self.rndd = sim.neuron.h.Random() self.rndd.MCellRan4(sid * 100000 + 100, icell.gid + 250 + self.seed) self.rndd.uniform(0, 1) self.hsynapse.setRNG(self.rndd) def set_tau_r(self, sim, icell, sid): """Set tau_r_GABAA using random nmb generator. Args: sim (bluepyopt.ephys.NrnSimulator): neuron simulator icell (neuron cell): cell instantiation in simulator sid (int): synapse id """ self.rng = sim.neuron.h.Random() if self.rng_settings_mode == 'Random123': self.rng.Random123(icell.gid + 250, sid + 100, 450) elif self.rng_settings_mode == 'Compatibility': self.rng.MCellRan4(sid * 100000 + 100, icell.gid + 250 + self.seed) self.rng.lognormal(0.2, 0.1) self.hsynapse.tau_r_GABAA = self.rng.repick() def execute_synapse_configuration(self, synconf_dict, sid, sim, exec_all=False): """Create a hoc file configuring synapse. Args: synconf_dict (dict): synapse configuration sid (int): synapse id sim (bluepyopt.ephys.NrnSimulator): neuron simulator exec_all (bool): whether to also execute commands with '*' """ for (cmd, ids) in synconf_dict.items(): if sid in ids and (exec_all or '*' not in cmd): cmd = cmd.replace('%s', '\n%(syn)s') hoc_cmd = cmd % {'syn': self.hsynapse.hname()} hoc_cmd = '{%s}' % hoc_cmd sim.neuron.h(hoc_cmd) class Synapsecustom(SynapseMixin): """Attach a synapse to the simulation. Attributes: seed (int): random number generator seed number rng_settins_mode (str) : mode of the random number generator Can be "Random123" or "Compatibility" section (neuron section): cell location where the synapse is attached to hsynapse (neuron ProbGABAAB_EMS or ProbAMPANMDA_EMS): synapse instantion in simulator delay (float): synapse delay weight (float): synapse weight pre_mtype (int): ID (but not gid) of the presynaptic cell start (int/None): force synapse to start firing at given value when using NetStim interval (int/None): force synapse to fire at given interval when using NetStim number (int/None): force synapse to fire N times when using NetStim noise (int/None): force synapse to have given noise when using NetStim """ def __init__(self, sim, icell, synapse, section, seed, rng_settings_mode, synconf_dict, start=None, interval=None, number=None, noise=None): """Constructor. Args: sim (NrnSimulator): simulator icell (Hoc Cell): cell to which attach the synapse synapse (dict): synapse data section (neuron section): cell location where the synapse is attached to seed (int) : random number generator seed number rng_settings_mode (str) : mode of the random number generator Can be "Random123" or "Compatibility" synconf_dict (dict) : synapse configuration start (int/None): force synapse to start firing at given value when using NetStim interval (int/None): force synapse to fire at given interval when using NetStim number (int/None): force synapse to fire N times when using NetStim noise (int/None): force synapse to have given noise when using NetStim """ self.seed = seed self.rng_settings_mode = rng_settings_mode self.section = section if synapse['synapse_type'] < 100: self.hsynapse = sim.neuron.h.ProbGABAAB_EMS(synapse['seg_x'], sec=self.section) self.hsynapse.tau_d_GABAA = synapse['tau_d'] self.set_tau_r(sim, icell, synapse['sid']) elif synapse['synapse_type'] > 100: self.hsynapse = sim.neuron.h.ProbAMPANMDA_EMS(synapse['seg_x'], sec=self.section) self.hsynapse.tau_d_AMPA = synapse['tau_d'] self.hsynapse.Use = abs(synapse['use']) self.hsynapse.Dep = abs(synapse['dep']) self.hsynapse.Fac = abs(synapse['fac']) self.hsynapse.synapseID = synapse['sid'] self.hsynapse.Nrrp = synapse['Nrrp'] self.set_random_nmb_generator(sim, icell, synapse['sid']) self.execute_synapse_configuration(synconf_dict, synapse['sid'], sim) self.delay = synapse['delay'] self.weight = synapse['weight'] self.pre_mtype = synapse['pre_mtype'] self.start = start self.interval = interval self.number = number self.noise = noise
COLLECTION_NAME = "types" TYPE_NAME_KEY = "name" TYPE_VERSION_KEY = "version" DEFAULT_TYPE_VERSION = 1 TYPE_COLLECTION_KEY = "collection" TYPE_PRIMITIVE_VALUE = "primitive" DEFAULT_TYPE_COLLECTION = TYPE_PRIMITIVE_VALUE STRING_VALUE = "String" NUMBER_VALUE = "Number" def make_app_stack_type(type_name, **kwargs): app_stack_type = dict() app_stack_type[TYPE_NAME_KEY] = type_name version = kwargs.get(TYPE_VERSION_KEY, DEFAULT_TYPE_VERSION) print("- {}: {}".format(TYPE_VERSION_KEY, version)) app_stack_type[TYPE_VERSION_KEY] = version collection = kwargs.get(TYPE_COLLECTION_KEY, DEFAULT_TYPE_COLLECTION) print("- {}: {}".format(TYPE_COLLECTION_KEY, collection)) app_stack_type[TYPE_COLLECTION_KEY] = collection return app_stack_type
collection_name = 'types' type_name_key = 'name' type_version_key = 'version' default_type_version = 1 type_collection_key = 'collection' type_primitive_value = 'primitive' default_type_collection = TYPE_PRIMITIVE_VALUE string_value = 'String' number_value = 'Number' def make_app_stack_type(type_name, **kwargs): app_stack_type = dict() app_stack_type[TYPE_NAME_KEY] = type_name version = kwargs.get(TYPE_VERSION_KEY, DEFAULT_TYPE_VERSION) print('- {}: {}'.format(TYPE_VERSION_KEY, version)) app_stack_type[TYPE_VERSION_KEY] = version collection = kwargs.get(TYPE_COLLECTION_KEY, DEFAULT_TYPE_COLLECTION) print('- {}: {}'.format(TYPE_COLLECTION_KEY, collection)) app_stack_type[TYPE_COLLECTION_KEY] = collection return app_stack_type
# Autonr : Biswadeep Roy # import os ''' thiple single quote is used to do multiple line comments''' print("Hello world")
""" thiple single quote is used to do multiple line comments""" print('Hello world')
class Box: def __init__(self, xmin, xmax, ymin, ymax): assert xmax > xmin >= 0, ("Got invalid box with xmin: {0} and xmax {1}".format(xmin, xmax)) assert ymax > ymin >= 0, ("Got invalid box with ymin: {0} and ymax {1}".format(ymin, ymax)) self._xmin = xmin self._xmax = xmax self._ymin = ymin self._ymax = ymax @property def xmin(self): return self._xmin @property def ymin(self): return self._ymin @property def xmax(self): return self._xmax @property def ymax(self): return self._ymax @property def width(self): return self.xmax - self.xmin @property def height(self): return self.ymax - self.ymin @property def area(self): return self.width * self.height def intersection(box1: Box, box2: Box): # find the upper left and bottom right corner of intersection box xmin = max(box1.xmin, box2.xmin) xmax = min(box1.xmax, box2.xmax) ymin = max(box1.ymin, box2.ymin) ymax = min(box1.ymax, box2.ymax) intersection_area = max(xmax - xmin, 0) * max(ymax - ymin, 0) return intersection_area def calculate_iou(box1: Box, box2: Box): _intersection = intersection(box1, box2) union = box1.area + box2.area - _intersection return _intersection / union if __name__ == "__main__": # some test samples a = [0, 1, 0, 1] b = [0, 1, 0, 2] box1 = Box(*a) box2 = Box(*b) print(box1) print(box1.area) print(calculate_iou(box1, box2))
class Box: def __init__(self, xmin, xmax, ymin, ymax): assert xmax > xmin >= 0, 'Got invalid box with xmin: {0} and xmax {1}'.format(xmin, xmax) assert ymax > ymin >= 0, 'Got invalid box with ymin: {0} and ymax {1}'.format(ymin, ymax) self._xmin = xmin self._xmax = xmax self._ymin = ymin self._ymax = ymax @property def xmin(self): return self._xmin @property def ymin(self): return self._ymin @property def xmax(self): return self._xmax @property def ymax(self): return self._ymax @property def width(self): return self.xmax - self.xmin @property def height(self): return self.ymax - self.ymin @property def area(self): return self.width * self.height def intersection(box1: Box, box2: Box): xmin = max(box1.xmin, box2.xmin) xmax = min(box1.xmax, box2.xmax) ymin = max(box1.ymin, box2.ymin) ymax = min(box1.ymax, box2.ymax) intersection_area = max(xmax - xmin, 0) * max(ymax - ymin, 0) return intersection_area def calculate_iou(box1: Box, box2: Box): _intersection = intersection(box1, box2) union = box1.area + box2.area - _intersection return _intersection / union if __name__ == '__main__': a = [0, 1, 0, 1] b = [0, 1, 0, 2] box1 = box(*a) box2 = box(*b) print(box1) print(box1.area) print(calculate_iou(box1, box2))
"""Session 2 Class, object, instance Attributes, methods Constructor, destructor """ class Object: """Object only has a defined attribute `name` """ def __init__(self, name='anonymous python object'): """Constructor performs initialization of the instances of Object class. """ self.name = name def __str__(self): """Special method to provide a string representation of the instances of Object. obj = Object str(obj) is the same as obj.__str__ Also implicitly called when printing an object. """ return self.name def __repr__(self): """Special method to provide a representation of the instances of Object, but gives more information, in this case, than str(obj). We will provide the name of the class; also the `name` attribute of the object. repr(obj) is the same as obj.__repr__ """ msg = self.__class__.__name__ return f'{msg}("{self.name}")' def __del__(self): """Destructor should perform a cleanup before the object destruction. """ print(f'About to destroy {repr(self)}') def dos_objs(): """Creates two objects""" obj_a = Object("nombre_a") obj_b = Object("nombre_a") obj_c = obj_a print(f'{obj_c=}') print(f'{obj_a=}') print(obj_a, " vs ", repr(obj_a)) assert obj_c is obj_a assert obj_b is not obj_a if __name__ == '__main__': dos_objs() print('Starting example...') instance_a = Object() assert instance_a.name == 'Objeto python' instance_b = Object('OBJ B') assert instance_b.name != 'Objeto python' print('Finishing example...')
"""Session 2 Class, object, instance Attributes, methods Constructor, destructor """ class Object: """Object only has a defined attribute `name` """ def __init__(self, name='anonymous python object'): """Constructor performs initialization of the instances of Object class. """ self.name = name def __str__(self): """Special method to provide a string representation of the instances of Object. obj = Object str(obj) is the same as obj.__str__ Also implicitly called when printing an object. """ return self.name def __repr__(self): """Special method to provide a representation of the instances of Object, but gives more information, in this case, than str(obj). We will provide the name of the class; also the `name` attribute of the object. repr(obj) is the same as obj.__repr__ """ msg = self.__class__.__name__ return f'{msg}("{self.name}")' def __del__(self): """Destructor should perform a cleanup before the object destruction. """ print(f'About to destroy {repr(self)}') def dos_objs(): """Creates two objects""" obj_a = object('nombre_a') obj_b = object('nombre_a') obj_c = obj_a print(f'obj_c={obj_c!r}') print(f'obj_a={obj_a!r}') print(obj_a, ' vs ', repr(obj_a)) assert obj_c is obj_a assert obj_b is not obj_a if __name__ == '__main__': dos_objs() print('Starting example...') instance_a = object() assert instance_a.name == 'Objeto python' instance_b = object('OBJ B') assert instance_b.name != 'Objeto python' print('Finishing example...')
class FindShortestID: __slots__ = 'short_id', 'new_id' def __init__(self): self.short_id = '' self.new_id = None def step(self, other_id, new_id): self.new_id = new_id for i in range(len(self.new_id)): if other_id[i] != self.new_id[i]: if i > len(self.short_id)-1: self.short_id = self.new_id[:i+1] break def finalize(self): if self.short_id: return '#'+self.short_id @classmethod def factory(cls): return cls(), cls.step, cls.finalize def register_canonical_functions(connection): connection.createaggregatefunction("shortest_id", FindShortestID.factory, 2)
class Findshortestid: __slots__ = ('short_id', 'new_id') def __init__(self): self.short_id = '' self.new_id = None def step(self, other_id, new_id): self.new_id = new_id for i in range(len(self.new_id)): if other_id[i] != self.new_id[i]: if i > len(self.short_id) - 1: self.short_id = self.new_id[:i + 1] break def finalize(self): if self.short_id: return '#' + self.short_id @classmethod def factory(cls): return (cls(), cls.step, cls.finalize) def register_canonical_functions(connection): connection.createaggregatefunction('shortest_id', FindShortestID.factory, 2)
BLACK_HEX = '000' WHITE_HEX = 'fff' IMG_BLUEHAT = "https://assets.imgix.net/examples/bluehat.jpg" IMG_PINE = "https://sherwinski.imgix.net/pineneedles.jpg" BROKEN_URL = "https://assets.imgix.net/examples/invalid" INVALID_URL = "https://google.com" CSS_BLUEHAT = """.image-fg-1 { color:#0d0c10 !important; } .image-bg-1 { background-color:#0d0c10 !important; } .image-fg-2 { color:#015091 !important; } .image-bg-2 { background-color:#015091 !important; } .image-fg-3 { color:#0870d3 !important; } .image-bg-3 { background-color:#0870d3 !important; } .image-fg-4 { color:#239be0 !important; } .image-bg-4 { background-color:#239be0 !important; } .image-fg-5 { color:#b1dfeb !important; } .image-bg-5 { background-color:#b1dfeb !important; } .image-fg-6 { color:#f0c9b4 !important; } .image-bg-6 { background-color:#f0c9b4 !important; } .image-fg-ex-1 { color:#000000 !important; } .image-bg-ex-1 { background-color:#000000 !important; } .image-fg-ex-2 { color:#ffffff !important; } .image-bg-ex-2 { background-color:#ffffff !important; } .image-fg-vibrant { color:#0d95e4 !important; } .image-bg-vibrant { background-color:#0d95e4 !important; } .image-fg-muted-dark { color:#38445c !important; } .image-bg-muted-dark { background-color:#38445c !important; } .image-fg-muted { color:#966760 !important; } .image-bg-muted { background-color:#966760 !important; } .image-fg-vibrant-light { color:#72c5f4 !important; } .image-bg-vibrant-light { background-color:#72c5f4 !important; } .image-fg-muted-light { color:#d8b6aa !important; } .image-bg-muted-light { background-color:#d8b6aa !important; } .image-fg-vibrant-dark { color:#015091 !important; } .image-bg-vibrant-dark { background-color:#015091 !important; }""" JSON_BLUEHAT = {'colors': [{'red': 0.0509804, 'hex': '#0d0c10', 'blue': 0.0627451, 'green': 0.0470588}, {'red': 0.00392157, 'hex': '#015091', 'blue': 0.568627, 'green': 0.313725}, {'red': 0.0313725, 'hex': '#0870d3', 'blue': 0.827451, 'green': 0.439216}, {'red': 0.137255, 'hex': '#239be0', 'blue': 0.878431, 'green': 0.607843}, {'red': 0.694118, 'hex': '#b1dfeb', 'blue': 0.921569, 'green': 0.87451}, {'red': 0.941176, 'hex': '#f0c9b4', 'blue': 0.705882, 'green': 0.788235}], 'average_luminance': 0.708396, 'dominant_colors': {'vibrant': {'red': 0.0509804, 'hex': '#0d95e4', 'blue': 0.894118, 'green': 0.584314}, 'muted_light': {'red': 0.847059, 'hex': '#d8b6aa', 'blue': 0.666667, 'green': 0.713725}, 'muted': {'red': 0.588235, 'hex': '#966760', 'blue': 0.376471, 'green': 0.403922}, 'vibrant_dark': {'red': 0.00392157, 'hex': '#015091', 'blue': 0.568627, 'green': 0.313725}, 'vibrant_light': {'red': 0.447059, 'hex': '#72c5f4', 'blue': 0.956863, 'green': 0.772549}, 'muted_dark': {'red': 0.219608, 'hex': '#38445c', 'blue': 0.360784, 'green': 0.266667}}} CSS_PINE = """.image-fg-1 { color:#f6e4ee !important; } .image-bg-1 { background-color:#f6e4ee !important; } .image-fg-2 { color:#d9afc3 !important; } .image-bg-2 { background-color:#d9afc3 !important; } .image-fg-3 { color:#aac373 !important; } .image-bg-3 { background-color:#aac373 !important; } .image-fg-4 { color:#6e9170 !important; } .image-bg-4 { background-color:#6e9170 !important; } .image-fg-5 { color:#375d2d !important; } .image-bg-5 { background-color:#375d2d !important; } .image-fg-6 { color:#2c4309 !important; } .image-bg-6 { background-color:#2c4309 !important; } .image-fg-ex-1 { color:#ffffff !important; } .image-bg-ex-1 { background-color:#ffffff !important; } .image-fg-ex-2 { color:#000000 !important; } .image-bg-ex-2 { background-color:#000000 !important; } .image-fg-vibrant { color:#aac373 !important; } .image-bg-vibrant { background-color:#aac373 !important; } .image-fg-muted-dark { color:#36522c !important; } .image-bg-muted-dark { background-color:#36522c !important; } .image-fg-muted { color:#98656d !important; } .image-bg-muted { background-color:#98656d !important; } .image-fg-vibrant-light { color:#e1acba !important; } .image-bg-vibrant-light { background-color:#e1acba !important; } .image-fg-muted-light { color:#d3abb5 !important; } .image-bg-muted-light { background-color:#d3abb5 !important; } .image-fg-vibrant-dark { color:#2c4309 !important; } .image-bg-vibrant-dark { background-color:#2c4309 !important; }""" JSON_PINE = {'colors': [{'red': 0.964706, 'hex': '#f6e4ee', 'blue': 0.933333, 'green': 0.894118}, {'red': 0.85098, 'hex': '#d9afc3', 'blue': 0.764706, 'green': 0.686275}, {'red': 0.666667, 'hex': '#aac373', 'blue': 0.45098, 'green': 0.764706}, {'red': 0.431373, 'hex': '#6e9170', 'blue': 0.439216, 'green': 0.568627}, {'red': 0.215686, 'hex': '#375d2d', 'blue': 0.176471, 'green': 0.364706}, {'red': 0.172549, 'hex': '#2c4309', 'blue': 0.0352941, 'green': 0.262745}], 'average_luminance': 0.38134, 'dominant_colors': {'vibrant': {'red': 0.666667, 'hex': '#aac373', 'blue': 0.45098, 'green': 0.764706}, 'muted_light': {'red': 0.827451, 'hex': '#d3abb5', 'blue': 0.709804, 'green': 0.670588}, 'muted': {'red': 0.596078, 'hex': '#98656d', 'blue': 0.427451, 'green': 0.396078}, 'vibrant_dark': {'red': 0.172549, 'hex': '#2c4309', 'blue': 0.0352941, 'green': 0.262745}, 'vibrant_light': {'red': 0.882353, 'hex': '#e1acba', 'blue': 0.729412, 'green': 0.67451}, 'muted_dark': {'red': 0.211765, 'hex': '#36522c', 'blue': 0.172549, 'green': 0.321569}}}
black_hex = '000' white_hex = 'fff' img_bluehat = 'https://assets.imgix.net/examples/bluehat.jpg' img_pine = 'https://sherwinski.imgix.net/pineneedles.jpg' broken_url = 'https://assets.imgix.net/examples/invalid' invalid_url = 'https://google.com' css_bluehat = '.image-fg-1 { color:#0d0c10 !important; } .image-bg-1 { background-color:#0d0c10 !important; } .image-fg-2 { color:#015091 !important; } .image-bg-2 { background-color:#015091 !important; } .image-fg-3 { color:#0870d3 !important; } .image-bg-3 { background-color:#0870d3 !important; } .image-fg-4 { color:#239be0 !important; } .image-bg-4 { background-color:#239be0 !important; } .image-fg-5 { color:#b1dfeb !important; } .image-bg-5 { background-color:#b1dfeb !important; } .image-fg-6 { color:#f0c9b4 !important; } .image-bg-6 { background-color:#f0c9b4 !important; } .image-fg-ex-1 { color:#000000 !important; } .image-bg-ex-1 { background-color:#000000 !important; } .image-fg-ex-2 { color:#ffffff !important; } .image-bg-ex-2 { background-color:#ffffff !important; } .image-fg-vibrant { color:#0d95e4 !important; } .image-bg-vibrant { background-color:#0d95e4 !important; } .image-fg-muted-dark { color:#38445c !important; } .image-bg-muted-dark { background-color:#38445c !important; } .image-fg-muted { color:#966760 !important; } .image-bg-muted { background-color:#966760 !important; } .image-fg-vibrant-light { color:#72c5f4 !important; } .image-bg-vibrant-light { background-color:#72c5f4 !important; } .image-fg-muted-light { color:#d8b6aa !important; } .image-bg-muted-light { background-color:#d8b6aa !important; } .image-fg-vibrant-dark { color:#015091 !important; } .image-bg-vibrant-dark { background-color:#015091 !important; }' json_bluehat = {'colors': [{'red': 0.0509804, 'hex': '#0d0c10', 'blue': 0.0627451, 'green': 0.0470588}, {'red': 0.00392157, 'hex': '#015091', 'blue': 0.568627, 'green': 0.313725}, {'red': 0.0313725, 'hex': '#0870d3', 'blue': 0.827451, 'green': 0.439216}, {'red': 0.137255, 'hex': '#239be0', 'blue': 0.878431, 'green': 0.607843}, {'red': 0.694118, 'hex': '#b1dfeb', 'blue': 0.921569, 'green': 0.87451}, {'red': 0.941176, 'hex': '#f0c9b4', 'blue': 0.705882, 'green': 0.788235}], 'average_luminance': 0.708396, 'dominant_colors': {'vibrant': {'red': 0.0509804, 'hex': '#0d95e4', 'blue': 0.894118, 'green': 0.584314}, 'muted_light': {'red': 0.847059, 'hex': '#d8b6aa', 'blue': 0.666667, 'green': 0.713725}, 'muted': {'red': 0.588235, 'hex': '#966760', 'blue': 0.376471, 'green': 0.403922}, 'vibrant_dark': {'red': 0.00392157, 'hex': '#015091', 'blue': 0.568627, 'green': 0.313725}, 'vibrant_light': {'red': 0.447059, 'hex': '#72c5f4', 'blue': 0.956863, 'green': 0.772549}, 'muted_dark': {'red': 0.219608, 'hex': '#38445c', 'blue': 0.360784, 'green': 0.266667}}} css_pine = '.image-fg-1 { color:#f6e4ee !important; } .image-bg-1 { background-color:#f6e4ee !important; } .image-fg-2 { color:#d9afc3 !important; } .image-bg-2 { background-color:#d9afc3 !important; } .image-fg-3 { color:#aac373 !important; } .image-bg-3 { background-color:#aac373 !important; } .image-fg-4 { color:#6e9170 !important; } .image-bg-4 { background-color:#6e9170 !important; } .image-fg-5 { color:#375d2d !important; } .image-bg-5 { background-color:#375d2d !important; } .image-fg-6 { color:#2c4309 !important; } .image-bg-6 { background-color:#2c4309 !important; } .image-fg-ex-1 { color:#ffffff !important; } .image-bg-ex-1 { background-color:#ffffff !important; } .image-fg-ex-2 { color:#000000 !important; } .image-bg-ex-2 { background-color:#000000 !important; } .image-fg-vibrant { color:#aac373 !important; } .image-bg-vibrant { background-color:#aac373 !important; } .image-fg-muted-dark { color:#36522c !important; } .image-bg-muted-dark { background-color:#36522c !important; } .image-fg-muted { color:#98656d !important; } .image-bg-muted { background-color:#98656d !important; } .image-fg-vibrant-light { color:#e1acba !important; } .image-bg-vibrant-light { background-color:#e1acba !important; } .image-fg-muted-light { color:#d3abb5 !important; } .image-bg-muted-light { background-color:#d3abb5 !important; } .image-fg-vibrant-dark { color:#2c4309 !important; } .image-bg-vibrant-dark { background-color:#2c4309 !important; }' json_pine = {'colors': [{'red': 0.964706, 'hex': '#f6e4ee', 'blue': 0.933333, 'green': 0.894118}, {'red': 0.85098, 'hex': '#d9afc3', 'blue': 0.764706, 'green': 0.686275}, {'red': 0.666667, 'hex': '#aac373', 'blue': 0.45098, 'green': 0.764706}, {'red': 0.431373, 'hex': '#6e9170', 'blue': 0.439216, 'green': 0.568627}, {'red': 0.215686, 'hex': '#375d2d', 'blue': 0.176471, 'green': 0.364706}, {'red': 0.172549, 'hex': '#2c4309', 'blue': 0.0352941, 'green': 0.262745}], 'average_luminance': 0.38134, 'dominant_colors': {'vibrant': {'red': 0.666667, 'hex': '#aac373', 'blue': 0.45098, 'green': 0.764706}, 'muted_light': {'red': 0.827451, 'hex': '#d3abb5', 'blue': 0.709804, 'green': 0.670588}, 'muted': {'red': 0.596078, 'hex': '#98656d', 'blue': 0.427451, 'green': 0.396078}, 'vibrant_dark': {'red': 0.172549, 'hex': '#2c4309', 'blue': 0.0352941, 'green': 0.262745}, 'vibrant_light': {'red': 0.882353, 'hex': '#e1acba', 'blue': 0.729412, 'green': 0.67451}, 'muted_dark': {'red': 0.211765, 'hex': '#36522c', 'blue': 0.172549, 'green': 0.321569}}}
class PradamClass(object): def __init__(self, name, age): self._name = name self._age = age @property def name(self): return self._name @name.setter def name(self, val): if val.lower() == 'pradam': print('Corrent Name.') else: raise NameError('Not a Good Name') self._name = val POG = PradamClass('pradam',78) DICTIONARY = {1: 'one', 2: 'two', 3: 'three'}
class Pradamclass(object): def __init__(self, name, age): self._name = name self._age = age @property def name(self): return self._name @name.setter def name(self, val): if val.lower() == 'pradam': print('Corrent Name.') else: raise name_error('Not a Good Name') self._name = val pog = pradam_class('pradam', 78) dictionary = {1: 'one', 2: 'two', 3: 'three'}
'''MongoExceptions''' class MongoExceptions(Exception): def __init__(self, *args): self.args = args class NoDatabaseException(MongoExceptions): def __init__(self, message = 'No such Database!', code = 422, args = ('No such Database!',)): self.args = args self.message = message self.code = code class InvalidArgumentsException(MongoExceptions): def __init__(self, message = 'Invalid Arguments!', code = 422, args = ('Invalid Arguments!',)): self.args = args self.message = message self.code = code class ConnectFailedException(MongoExceptions): def __init__(self, message = 'Authentication Required or Connection Error!', code = 422, args = ('Authentication Required or Connection Error!',)): self.args = args self.message = message self.code = code class InvalidCollectionException(MongoExceptions): def __init__(self, message = 'Invalid Collection!', code = 422, args = ('Invalid Collection!',)): self.args = args self.message = message self.code = code class InvalidQueryObjectException(MongoExceptions): def __init__(self, message = 'Invalid Query Object!', code = 422, args = ('Invalid Query Object!',)): self.args = args self.message = message self.code = code class InvalidInsertObjectException(MongoExceptions): def __init__(self, message = 'Invalid Insert Object!', code = 422, args = ('Invalid Insert Object!',)): self.args = args self.message = message self.code = code class InvalidRemoveQueryException(MongoExceptions): def __init__(self, message = 'Invalid Remove Query!', code = 422, args = ('Invalid Remove Query!',)): self.args = args self.message = message self.code = code class InvalidRemoveOptionException(MongoExceptions): def __init__(self, message = 'Invalid Remove Option!', code = 422, args = ('Invalid Remove Option!',)): self.args = args self.message = message self.code = code class RemoveAllNotConfirmedException(MongoExceptions): def __init__(self, message = 'Remove All not Confirmed!', code = 422, args = ('Remove All not Confirmed!',)): self.args = args self.message = message self.code = code class OperationFailedException(MongoExceptions): def __init__(self, message = 'Operation Failed!', code = 422, args = ('Operation Failed!',)): self.args = args self.message = message self.code = code class InvalidUpdateQueryException(MongoExceptions): def __init__(self, message = 'Invalid Update Query!', code = 422, args = ('Invalid Update Query!',)): self.args = args self.message = message self.code = code class InvalidUpdateDictException(MongoExceptions): def __init__(self, message = 'Invalid Update Dict!', code = 422, args = ('Invalid Update Dict!',)): self.args = args self.message = message self.code = code class InvalidUpdateOptionException(MongoExceptions): def __init__(self, message = 'Invalid Update Option!', code = 422, args = ('Invalid Update Option!',)): self.args = args self.message = message self.code = code class InvalidObjectIdException(MongoExceptions): def __init__(self, message = 'Invalid ObjectId!', code = 422, args = ('Invalid ObjectId!',)): self.args = args self.message = message self.code = code
"""MongoExceptions""" class Mongoexceptions(Exception): def __init__(self, *args): self.args = args class Nodatabaseexception(MongoExceptions): def __init__(self, message='No such Database!', code=422, args=('No such Database!',)): self.args = args self.message = message self.code = code class Invalidargumentsexception(MongoExceptions): def __init__(self, message='Invalid Arguments!', code=422, args=('Invalid Arguments!',)): self.args = args self.message = message self.code = code class Connectfailedexception(MongoExceptions): def __init__(self, message='Authentication Required or Connection Error!', code=422, args=('Authentication Required or Connection Error!',)): self.args = args self.message = message self.code = code class Invalidcollectionexception(MongoExceptions): def __init__(self, message='Invalid Collection!', code=422, args=('Invalid Collection!',)): self.args = args self.message = message self.code = code class Invalidqueryobjectexception(MongoExceptions): def __init__(self, message='Invalid Query Object!', code=422, args=('Invalid Query Object!',)): self.args = args self.message = message self.code = code class Invalidinsertobjectexception(MongoExceptions): def __init__(self, message='Invalid Insert Object!', code=422, args=('Invalid Insert Object!',)): self.args = args self.message = message self.code = code class Invalidremovequeryexception(MongoExceptions): def __init__(self, message='Invalid Remove Query!', code=422, args=('Invalid Remove Query!',)): self.args = args self.message = message self.code = code class Invalidremoveoptionexception(MongoExceptions): def __init__(self, message='Invalid Remove Option!', code=422, args=('Invalid Remove Option!',)): self.args = args self.message = message self.code = code class Removeallnotconfirmedexception(MongoExceptions): def __init__(self, message='Remove All not Confirmed!', code=422, args=('Remove All not Confirmed!',)): self.args = args self.message = message self.code = code class Operationfailedexception(MongoExceptions): def __init__(self, message='Operation Failed!', code=422, args=('Operation Failed!',)): self.args = args self.message = message self.code = code class Invalidupdatequeryexception(MongoExceptions): def __init__(self, message='Invalid Update Query!', code=422, args=('Invalid Update Query!',)): self.args = args self.message = message self.code = code class Invalidupdatedictexception(MongoExceptions): def __init__(self, message='Invalid Update Dict!', code=422, args=('Invalid Update Dict!',)): self.args = args self.message = message self.code = code class Invalidupdateoptionexception(MongoExceptions): def __init__(self, message='Invalid Update Option!', code=422, args=('Invalid Update Option!',)): self.args = args self.message = message self.code = code class Invalidobjectidexception(MongoExceptions): def __init__(self, message='Invalid ObjectId!', code=422, args=('Invalid ObjectId!',)): self.args = args self.message = message self.code = code
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution(object): def isPalindrome(self, head): """ :type head: ListNode :rtype: bool """ # Runtime: 1036 ms # Memory: 67.6 MB half1_ptr = head half2_ptr = head while half1_ptr.next is not None and half1_ptr.next.next is not None: half1_ptr = half1_ptr.next.next half2_ptr = half2_ptr.next half1_ptr = head half2_ptr = half2_ptr.next # half2_ptr is now pointing to the middle of the linked list # Reverse the second half last_node = None while half2_ptr is not None: next_node = half2_ptr.next half2_ptr.next = last_node last_node = half2_ptr half2_ptr = next_node half2_ptr = last_node # Compare two halves while half1_ptr is not None and half2_ptr is not None: if half1_ptr.val != half2_ptr.val: return False half1_ptr = half1_ptr.next half2_ptr = half2_ptr.next return True
class Solution(object): def is_palindrome(self, head): """ :type head: ListNode :rtype: bool """ half1_ptr = head half2_ptr = head while half1_ptr.next is not None and half1_ptr.next.next is not None: half1_ptr = half1_ptr.next.next half2_ptr = half2_ptr.next half1_ptr = head half2_ptr = half2_ptr.next last_node = None while half2_ptr is not None: next_node = half2_ptr.next half2_ptr.next = last_node last_node = half2_ptr half2_ptr = next_node half2_ptr = last_node while half1_ptr is not None and half2_ptr is not None: if half1_ptr.val != half2_ptr.val: return False half1_ptr = half1_ptr.next half2_ptr = half2_ptr.next return True
# cook your dish here test = int(input()) while test > 0 : n = int(input()) l = list(map(int,input().split())) l.sort() count = 0 for i in range(n - 1) : if l[i] == l[i + 1] : print("NO") break else : count += 1 if count == n - 1 : print("YES") test -= 1
test = int(input()) while test > 0: n = int(input()) l = list(map(int, input().split())) l.sort() count = 0 for i in range(n - 1): if l[i] == l[i + 1]: print('NO') break else: count += 1 if count == n - 1: print('YES') test -= 1
"""Binary Exponentiation.""" # Author : Junth Basnet # Time Complexity : O(logn) def binary_exponentiation(a, n): if (n == 0): return 1 elif (n % 2 == 1): return binary_exponentiation(a, n - 1) * a else: b = binary_exponentiation(a, n / 2) return b * b if __name__ == "__main__": try: BASE = int(input("Enter Base : ").strip()) POWER = int(input("Enter Power : ").strip()) except ValueError: print("Invalid literal for integer") RESULT = binary_exponentiation(BASE, POWER) print("{}^({}) : {}".format(BASE, POWER, RESULT))
"""Binary Exponentiation.""" def binary_exponentiation(a, n): if n == 0: return 1 elif n % 2 == 1: return binary_exponentiation(a, n - 1) * a else: b = binary_exponentiation(a, n / 2) return b * b if __name__ == '__main__': try: base = int(input('Enter Base : ').strip()) power = int(input('Enter Power : ').strip()) except ValueError: print('Invalid literal for integer') result = binary_exponentiation(BASE, POWER) print('{}^({}) : {}'.format(BASE, POWER, RESULT))
def mean(u): if type(u) == dict: the_mean = sum(u.values())/len(u) else: the_mean = sum(u) / len(u) return the_mean student_grades = {"Marry":9.8, "jhon":2.1, "Kayle":6.5} mondey_temparature = [2,3,54,48,48,57] print('This is a mean of a Dictonary',mean(student_grades)) print('This is a mean of a list',mean(mondey_temparature))
def mean(u): if type(u) == dict: the_mean = sum(u.values()) / len(u) else: the_mean = sum(u) / len(u) return the_mean student_grades = {'Marry': 9.8, 'jhon': 2.1, 'Kayle': 6.5} mondey_temparature = [2, 3, 54, 48, 48, 57] print('This is a mean of a Dictonary', mean(student_grades)) print('This is a mean of a list', mean(mondey_temparature))
#Filter Fucntion Example 2 def isVow(x): if x=='a' or x=='e' or x=='i' or x=='o' or x=='u': return True def isCons(x): if x!='a' and x!='e' and x!='i' and x!='o' and x!='u': return True print("Enter the letters:") lst = [x for x in input().split()] print('-'*40) vowlist = list(filter(isVow, lst)) print("Vowels =",vowlist) print('-'*40) conslist = list(filter(isCons, lst)) print("Consonents =",conslist) print('-'*40)
def is_vow(x): if x == 'a' or x == 'e' or x == 'i' or (x == 'o') or (x == 'u'): return True def is_cons(x): if x != 'a' and x != 'e' and (x != 'i') and (x != 'o') and (x != 'u'): return True print('Enter the letters:') lst = [x for x in input().split()] print('-' * 40) vowlist = list(filter(isVow, lst)) print('Vowels =', vowlist) print('-' * 40) conslist = list(filter(isCons, lst)) print('Consonents =', conslist) print('-' * 40)
print(2**3) print(2**3.) print(2.**3) print(2.**3.) print(5//2) print(2**2**3) print(2*4) print(2**4) print(2.*4) print(2**4.) print(2/4) print(2//4) print(-2/4) print(-2//4) print(2%4) print(2%-4)
print(2 ** 3) print(2 ** 3.0) print(2.0 ** 3) print(2.0 ** 3.0) print(5 // 2) print(2 ** 2 ** 3) print(2 * 4) print(2 ** 4) print(2.0 * 4) print(2 ** 4.0) print(2 / 4) print(2 // 4) print(-2 / 4) print(-2 // 4) print(2 % 4) print(2 % -4)
# # PySNMP MIB module Nortel-MsCarrier-MscPassport-AtmNetworkingMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-AtmNetworkingMIB # Produced by pysmi-0.3.4 at Wed May 1 14:29:08 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") SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection") mscAtmIfVptVcc, mscAtmIfVpc, mscAtmIfVpcIndex, mscAtmIfIndex, mscAtmIfVptVccIndex, mscAtmIfVcc, mscAtmIfVptIndex, mscAtmIfVccIndex = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVcc", "mscAtmIfVpc", "mscAtmIfVpcIndex", "mscAtmIfIndex", "mscAtmIfVptVccIndex", "mscAtmIfVcc", "mscAtmIfVptIndex", "mscAtmIfVccIndex") Unsigned32, StorageType, DisplayString, RowStatus, Counter32, RowPointer, Integer32, Gauge32 = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-StandardTextualConventionsMIB", "Unsigned32", "StorageType", "DisplayString", "RowStatus", "Counter32", "RowPointer", "Integer32", "Gauge32") HexString, AsciiString, NonReplicated, AsciiStringIndex, IntegerSequence, FixedPoint1 = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-TextualConventionsMIB", "HexString", "AsciiString", "NonReplicated", "AsciiStringIndex", "IntegerSequence", "FixedPoint1") mscPassportMIBs, mscComponents = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-UsefulDefinitionsMIB", "mscPassportMIBs", "mscComponents") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ObjectIdentity, Unsigned32, NotificationType, IpAddress, Gauge32, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, Counter32, Counter64, TimeTicks, ModuleIdentity, Integer32, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Unsigned32", "NotificationType", "IpAddress", "Gauge32", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "Counter32", "Counter64", "TimeTicks", "ModuleIdentity", "Integer32", "Bits") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") atmNetworkingMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42)) mscARtg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95)) mscARtgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1), ) if mibBuilder.loadTexts: mscARtgRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtg components.') mscARtgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex")) if mibBuilder.loadTexts: mscARtgRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRowStatusEntry.setDescription('A single entry in the table represents a single mscARtg component.') mscARtgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtg components. These components can be added and deleted.') mscARtgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgStorageType.setDescription('This variable represents the storage type value for the mscARtg tables.') mscARtgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscARtgIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgIndex.setDescription('This variable represents the index for the mscARtg tables.') mscARtgStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10), ) if mibBuilder.loadTexts: mscARtgStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgStatsTable.setDescription('This group contains the statistical operational attributes of an ARtg component.') mscARtgStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex")) if mibBuilder.loadTexts: mscARtgStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgStatsEntry.setDescription('An entry in the mscARtgStatsTable.') mscARtgRoutingAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRoutingAttempts.setDescription('This attribute counts the total number of calls routed. The counter wraps when it exceeds the maximum value.') mscARtgFailedRoutingAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgFailedRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgFailedRoutingAttempts.setDescription('This attribute counts the total number of calls which were not successfully routed.The counter wraps when it exceeds the maximum value.') mscARtgDna = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2)) mscARtgDnaRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1), ) if mibBuilder.loadTexts: mscARtgDnaRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgDna components.') mscARtgDnaRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgDnaIndex")) if mibBuilder.loadTexts: mscARtgDnaRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgDna component.') mscARtgDnaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgDna components. These components cannot be added nor deleted.') mscARtgDnaComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgDnaStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaStorageType.setDescription('This variable represents the storage type value for the mscARtgDna tables.') mscARtgDnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 40))) if mibBuilder.loadTexts: mscARtgDnaIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaIndex.setDescription('This variable represents the index for the mscARtgDna tables.') mscARtgDnaDestInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2)) mscARtgDnaDestInfoRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1), ) if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgDnaDestInfo components.') mscARtgDnaDestInfoRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgDnaIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgDnaDestInfoIndex")) if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgDnaDestInfo component.') mscARtgDnaDestInfoRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgDnaDestInfo components. These components cannot be added nor deleted.') mscARtgDnaDestInfoComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgDnaDestInfoStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoStorageType.setDescription('This variable represents the storage type value for the mscARtgDnaDestInfo tables.') mscARtgDnaDestInfoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50))) if mibBuilder.loadTexts: mscARtgDnaDestInfoIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoIndex.setDescription('This variable represents the index for the mscARtgDnaDestInfo tables.') mscARtgDnaDestInfoOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10), ) if mibBuilder.loadTexts: mscARtgDnaDestInfoOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes for the DestInfo component.') mscARtgDnaDestInfoOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgDnaIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgDnaDestInfoIndex")) if mibBuilder.loadTexts: mscARtgDnaDestInfoOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoOperEntry.setDescription('An entry in the mscARtgDnaDestInfoOperTable.') mscARtgDnaDestInfoType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("primary", 0), ("alternate", 1), ("registered", 2), ("default", 3), ("ebr", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoType.setDescription('This attribute indicates the type of the address at the destination interface. Provisioned addresses are assigned a type of primary or alternate; ATM routing will try primary routes and then the alternate routes if none of the primary routes succeed. The type registered is used for dynamic addresses registered through ILMI. The type default is used for Soft PVC addresses. The type ebr indicates addresses used by Edge Based Rerouting.') mscARtgDnaDestInfoScope = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 104))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoScope.setDescription('This attribute indicates the highest level (meaning the lowest level number) in the hierarchy that the address will be advertised to. A value of -1 indicates that the scope is not applicable since this node has not been configured as a PNNI node.') mscARtgDnaDestInfoStdComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoStdComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoStdComponentName.setDescription('This attribute represents a component name of the interface through which the address can be reached.') mscARtgDnaDestInfoReachability = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("internal", 0), ("exterior", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgDnaDestInfoReachability.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoReachability.setDescription('This attribute indicates whether the address is internal or exterior.') mscARtgPnni = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3)) mscARtgPnniRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1), ) if mibBuilder.loadTexts: mscARtgPnniRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnni components.') mscARtgPnniRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnni component.') mscARtgPnniRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnni components. These components can be added and deleted.') mscARtgPnniComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniStorageType.setDescription('This variable represents the storage type value for the mscARtgPnni tables.') mscARtgPnniIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscARtgPnniIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniIndex.setDescription('This variable represents the index for the mscARtgPnni tables.') mscARtgPnniProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10), ) if mibBuilder.loadTexts: mscARtgPnniProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniProvTable.setDescription('This group contains the generic provisionable attributes of a Pnni component.') mscARtgPnniProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniProvEntry.setDescription('An entry in the mscARtgPnniProvTable.') mscARtgPnniNodeAddressPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 19))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniNodeAddressPrefix.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniNodeAddressPrefix.setDescription("This attribute specifies the ATM address of this node. It allows the default node address to be overridden. If this attribute is set to the null string, then the default node address prefix is assumed, and computed as follows: the value provisioned for the ModuleData component's nodePrefix attribute, followed by a unique MAC address (6 octets).") mscARtgPnniDefaultScope = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 104))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniDefaultScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniDefaultScope.setDescription('This attribute specifies the default PNNI scope for ATM addresses associated with this node. The PNNI scope determines the level to which the address will be advertised within the PNNI routing domain. A provisioned Addr component may override the default scope in a PnniInfo subcomponent. A value of 0 means that all addresses which do not have provisioned scopes will be advertised globally within the PNNI routing domain. The value specified must be numerically smaller than or equal to that of the lowest level at which this node is configured in the PNNI hierarchy.') mscARtgPnniDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 3), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone(hexValue="31")).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniDomain.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniDomain.setDescription('This attribute specifies the routing domain name. This attribute should be set identically for all nodes in the same routing domain.') mscARtgPnniRestrictTransit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRestrictTransit.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRestrictTransit.setDescription('This attribute specifies if the node should restrict tandeming of SVCs. If this attribute is set to true, then other lowest level nodes in the PNNI hierarchy will avoid traversing this node during route computation.') mscARtgPnniMaxAlternateRoutesOnCrankback = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 20)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniMaxAlternateRoutesOnCrankback.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniMaxAlternateRoutesOnCrankback.setDescription('This attribute specifies the number of alternate routing attempts before a call requiring crank back is rejected.') mscARtgPnniPglParmsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11), ) if mibBuilder.loadTexts: mscARtgPnniPglParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPglParmsTable.setDescription('This group contains the provisionable attributes for the peer group leader election timer parameters of a Pnni component.') mscARtgPnniPglParmsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniPglParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPglParmsEntry.setDescription('An entry in the mscARtgPnniPglParmsTable.') mscARtgPnniPglInitTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniPglInitTime.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPglInitTime.setDescription('This attribute specifies how long this node will delay advertising its choice of preferred peer group leader after having initialized operation and reached the full peer state with at least one neighbor in the peer group.') mscARtgPnniOverrideDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniOverrideDelay.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOverrideDelay.setDescription('This attribute specifies how long a node will wait for itself to be declared the preferred peer group leader by unanimous agreement among its peers.') mscARtgPnniReElectionInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniReElectionInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniReElectionInterval.setDescription('This attribute specifies how long this node will wait after losing connectivity to the current peer group leader before re-starting the process of electing a new peer group leader.') mscARtgPnniHlParmsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12), ) if mibBuilder.loadTexts: mscARtgPnniHlParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHlParmsTable.setDescription('This group contains the default provisionable Hello protocol parameters.') mscARtgPnniHlParmsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniHlParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHlParmsEntry.setDescription('An entry in the mscARtgPnniHlParmsTable.') mscARtgPnniHelloHoldDown = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1, 1), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(1, 655350)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniHelloHoldDown.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHelloHoldDown.setDescription('This attribute is used to limit the rate at which this node sends out Hello packets. Specifically, it specifies the default minimum amount of time between successive Hellos used by routing control channels on this node.') mscARtgPnniHelloInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniHelloInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHelloInterval.setDescription('This attribute specifies the default duration of the Hello Timer in seconds for routing control channels on this node. Every helloInterval seconds, this node will send out a Hello packet to the neighbor node, subject to the helloHoldDown timer having expired at least once since the last Hello packet was sent.') mscARtgPnniHelloInactivityFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniHelloInactivityFactor.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHelloInactivityFactor.setDescription('This attribute specifies the default number of Hello intervals allowed to pass without receiving a Hello from the neighbor node, before an attempt is made to re-stage, for routing control channels on this node. The hello inactivity timer is enabled in the oneWayInside, twoWayInside, oneWayOutside, twoWayOutside and commonOutside (see the helloState attribute on the Rcc component for a description of these states). Note that the value for the Hello interval used in the calculation is the one specified in the Hello packet from the neighbor node.') mscARtgPnniPtseParmsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13), ) if mibBuilder.loadTexts: mscARtgPnniPtseParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseParmsTable.setDescription('This group contains the provisionable attributes for the PTSE timer values of a Pnni component.') mscARtgPnniPtseParmsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniPtseParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseParmsEntry.setDescription('An entry in the mscARtgPnniPtseParmsTable.') mscARtgPnniPtseHoldDown = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 1), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(1, 655350)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniPtseHoldDown.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseHoldDown.setDescription('This attribute is used to limit the rate at which this node sends out PTSE packets. Specifically, it specifies the minimum amount of time in seconds that this node must wait between sending successive PTSE packets.') mscARtgPnniPtseRefreshInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(300, 65535)).clone(1800)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniPtseRefreshInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseRefreshInterval.setDescription('This attribute specifies the duration of the PTSE Timer. Every ptseRefreshInterval seconds, this node will send out a self- originated PTSE packet to the neighbor node, subject to the ptseHoldDown timer having expired at least once since the last PTSE packet was sent.') mscARtgPnniPtseLifetimeFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(101, 1000)).clone(200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniPtseLifetimeFactor.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseLifetimeFactor.setDescription('This attribute specifies the lifetime multiplier. The result of multiplying the ptseRefreshInterval by this value is used as the initial lifetime that this node places into PTSEs.') mscARtgPnniRequestRxmtInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRequestRxmtInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRequestRxmtInterval.setDescription('This attribute specifies the period between retransmissions of unacknowledged Database Summary packets, PTSE Request packets and PTSPs.') mscARtgPnniPeerDelayedAckInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 5), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(1, 655350)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniPeerDelayedAckInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPeerDelayedAckInterval.setDescription('This attribute specifies the minimum amount of time between transmissions of delayed PTSE acknowledgment packets.') mscARtgPnniThreshParmsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14), ) if mibBuilder.loadTexts: mscARtgPnniThreshParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniThreshParmsTable.setDescription('This group contains the provisionable attributes for the change thresholds of a ARtg Pnni component.') mscARtgPnniThreshParmsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniThreshParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniThreshParmsEntry.setDescription('An entry in the mscARtgPnniThreshParmsTable.') mscARtgPnniAvcrMt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 99)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniAvcrMt.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniAvcrMt.setDescription('This attribute when multiplied by the Maximum Cell Rate specifies the minimum threshold used in the algorithms that determine significant change for average cell rate parameters.') mscARtgPnniAvcrPm = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 99)).clone(50)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniAvcrPm.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniAvcrPm.setDescription('This attribute when multiplied by the current Available Cell Rate specifies the threshold used in the algorithms that determine significant change for AvCR parameters. If the resulting threshold is lower than minimum threshold, minimum threshold will be used. Increasing the value of the attribute increases the range of insignificance and reduces the amount of PTSP flooding due to changes in resource availability.') mscARtgPnniOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 15), ) if mibBuilder.loadTexts: mscARtgPnniOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOperTable.setDescription('This group contains the generic operational attributes of an ARtg Pnni component.') mscARtgPnniOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 15, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOperEntry.setDescription('An entry in the mscARtgPnniOperTable.') mscARtgPnniTopologyMemoryExhaustion = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 15, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopologyMemoryExhaustion.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopologyMemoryExhaustion.setDescription('This attribute indicates if the topology database is overloaded. A node goes into a database overload state when it fails to store the complete topology database due to insufficient memory in the node. A node in this state performs resynchronization periodically by restarting all its Neighbor Peer Finite State Machines. The node will stay in this state until it synchronizes with all of its neighbors without any overload problems. When this attribute is set an alarm will be issued.') mscARtgPnniStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16), ) if mibBuilder.loadTexts: mscARtgPnniStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniStatsTable.setDescription('This group contains the statistical operational attributes of a ARtg Pnni component.') mscARtgPnniStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex")) if mibBuilder.loadTexts: mscARtgPnniStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniStatsEntry.setDescription('An entry in the mscARtgPnniStatsTable.') mscARtgPnniSuccessfulRoutingAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniSuccessfulRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniSuccessfulRoutingAttempts.setDescription('This attribute counts successful PNNI routing attempts. The counter wraps when it exceeds the maximum value.') mscARtgPnniFailedRoutingAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniFailedRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniFailedRoutingAttempts.setDescription('This attribute counts failed PNNI routing attempts. The counter wraps when it exceeds the maximum value.') mscARtgPnniAlternateRoutingAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniAlternateRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniAlternateRoutingAttempts.setDescription('This attribute counts successful PNNI alternate routing attempts. The counter wraps when it exceeds the maximum value.') mscARtgPnniOptMetricTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386), ) if mibBuilder.loadTexts: mscARtgPnniOptMetricTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricTable.setDescription('This attribute is a vector that specifies the optimization metric for each ATM service category. The optimization metric is used during Generic Connection Admission Control (GCAC) route computation. Setting the value to cdv for a particular service category will cause GCAC to optimize for cell delay variation on call setups requiring that service category. Setting the value to maxCtd for a particular service category will cause GCAC to optimize for maximum cell transfer delay on call setups requiring that service category. Setting the value to aw for a particular service category will cause GCAC to optimize for administrative weight on call setups requiring that service category.') mscARtgPnniOptMetricEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniOptMetricIndex")) if mibBuilder.loadTexts: mscARtgPnniOptMetricEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricEntry.setDescription('An entry in the mscARtgPnniOptMetricTable.') mscARtgPnniOptMetricIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("cbr", 1), ("rtVbr", 2), ("nrtVbr", 3), ("ubr", 4)))) if mibBuilder.loadTexts: mscARtgPnniOptMetricIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricIndex.setDescription('This variable represents the mscARtgPnniOptMetricTable specific index for the mscARtgPnniOptMetricTable.') mscARtgPnniOptMetricValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cdv", 0), ("maxCtd", 1), ("aw", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniOptMetricValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricValue.setDescription('This variable represents an individual value for the mscARtgPnniOptMetricTable.') mscARtgPnniRf = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2)) mscARtgPnniRfRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1), ) if mibBuilder.loadTexts: mscARtgPnniRfRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniRf components.') mscARtgPnniRfRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfIndex")) if mibBuilder.loadTexts: mscARtgPnniRfRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniRf component.') mscARtgPnniRfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniRfRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniRf components. These components cannot be added nor deleted.') mscARtgPnniRfComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniRfComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniRfStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniRfStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniRf tables.') mscARtgPnniRfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscARtgPnniRfIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfIndex.setDescription('This variable represents the index for the mscARtgPnniRf tables.') mscARtgPnniRfCriteriaTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10), ) if mibBuilder.loadTexts: mscARtgPnniRfCriteriaTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfCriteriaTable.setDescription('This group contains the attributes specifying the routing criteria for the route computation.') mscARtgPnniRfCriteriaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfIndex")) if mibBuilder.loadTexts: mscARtgPnniRfCriteriaEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfCriteriaEntry.setDescription('An entry in the mscARtgPnniRfCriteriaTable.') mscARtgPnniRfDestinationAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfDestinationAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfDestinationAddress.setDescription('This attribute specifies the destination NSAP address to be used for the computation. If this attribute specifies an invalid address then no routes will be found.') mscARtgPnniRfMaxRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfMaxRoutes.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfMaxRoutes.setDescription('This attribute specifies a ceiling on the number of routes to be computed.') mscARtgPnniRfTxTrafficDescType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("n1", 1), ("n2", 2), ("n3", 3), ("n4", 4), ("n5", 5), ("n6", 6), ("n7", 7), ("n8", 8))).clone('n1')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfTxTrafficDescType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTrafficDescType.setDescription('This attribute specifies the type of traffic management which is applied to the transmit direction as defined in the ATM Forum. The txTrafficDescType determines the number and meaning of the parameters in the txTrafficDescParm attribute.') mscARtgPnniRfRxTrafficDescType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 15))).clone(namedValues=NamedValues(("n1", 1), ("n2", 2), ("n3", 3), ("n4", 4), ("n5", 5), ("n6", 6), ("n7", 7), ("n8", 8), ("sameAsTx", 15))).clone('sameAsTx')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfRxTrafficDescType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTrafficDescType.setDescription('This attribute specifies the type of traffic management which is applied to the receive direction of this connection as defined in the ATM Forum. The rxTrafficDescType determines the number and meaning of the parameters in the rxTrafficDescParm attribute When sameAsTx is selected, the rxTrafficDescType as well as the rxTrafficDescParm are taken from the transmit values.') mscARtgPnniRfAtmServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 15))).clone(namedValues=NamedValues(("unspecifiedBitRate", 0), ("constantBitRate", 1), ("rtVariableBitRate", 2), ("nrtVariableBitRate", 3), ("derivedFromBBC", 15))).clone('unspecifiedBitRate')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfAtmServiceCategory.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfAtmServiceCategory.setDescription("This attribute specifies the ATM service category for both directions of the connection. If this attribute is set to derivedFromBBC, the Broadband Bearer Capability (BBC) and bestEffort attributes are used to determine the atmServiceCategory of this connection. If this attribute is set to other than derivedFromBBC, the value of this attribute is used to override the provisioned BBC IE parameters. In those cases, the BBC attributes are not used. The constantBitRate service category is intended for real time applications, that is those requiring tightly constrained delay and delay variation, as would be appropriate for voice and video applications. The consistent availability of a fixed quantity of bandwidth is considered appropriate for CBR service. Cells which are delayed beyond the value specified by CellTransfer Delay are assumed to be of significantly reduce value to the application. The rtVariableBitRate service category is intended for real time applications, that is those requiring tightly constrained delay and delay variation, as would be appropriate for voice and video applications. Sources are expected to transmit at a rate which varies with time. Equivalently, the source can be described as 'bursty'. Cells which are delayed beyond the value specified by CTD are assumed to be of significantly reduced value to the application. VBR real time service may support statistical multiplexing of real time sources. The nrtVariableBitRate service category is intended for non-real time applications which have bursty traffic characteristics and which can be characterized in terms of a PCR, SCR, and MBS. For those cells which are transferred within the traffic contract, the application expects a low cell loss ratio. For all connections, it expects a bound on the mean cell transfer delay. VBR non-real time service may support statistical multiplexing of connections. The unspecifiedBitRate service is intended for non-real time applications; that is, those not requiring tightly constrained delay and delay variation. UBR sources are expected to be bursty. UBR service supports a high degree of statistical multiplexing among sources. UBR service does not specify traffic related service guarantees. No numerical commitments are made with respect to the cell loss ratio experienced by a UBR connection, or as to the cell transfer delay experienced by cells on the connection.") mscARtgPnniRfFwdQosClass = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("n0", 0), ("n1", 1), ("n2", 2), ("n3", 3), ("n4", 4))).clone('n0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfFwdQosClass.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFwdQosClass.setDescription('This attribute specifies the quality of service for the forward direction for this connection. Class 1 supports a QOS that will meet Service Class A performance requirements (Circuit emulation, constant bit rate video). Class 2 supports a QOS that will meet Service Class B performance requirements (Variable bit rate audio and video). Class 3 supports a QOS that will meet Service Class C performance requirements (Connection-Oriented Data Transfer). Class 4 supports a QOS that will meet Service Class D performance requirements (Connectionless Data Transfer). Class 0 is the unspecified bit rate QOS class; no objective is specified for the performance parameters.') mscARtgPnniRfBwdQosClass = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 15))).clone(namedValues=NamedValues(("n0", 0), ("n1", 1), ("n2", 2), ("n3", 3), ("n4", 4), ("sameAsFwd", 15))).clone('sameAsFwd')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfBwdQosClass.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBwdQosClass.setDescription('This attribute specifies the quality of service for the backward direction for this connection. Class 1 supports a QOS that will meet Service Class A performance requirements (Circuit emulation, constant bit rate video). Class 2 supports a QOS that will meet Service Class B performance requirements (Variable bit rate audio and video). Class 3 supports a QOS that will meet Service Class C performance requirements (Connection-Oriented Data Transfer). Class 4 supports a QOS that will meet Service Class D performance requirements (Connectionless Data Transfer). Class 0 is the unspecified bit rate QOS class; no objective is specified for the performance parameters. The sameAsFwd selection sets the backward quality of service to be the same as the forward quality of service.') mscARtgPnniRfBearerClassBbc = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 16, 31))).clone(namedValues=NamedValues(("a", 1), ("c", 3), ("x", 16), ("derivedFromServiceCategory", 31))).clone('derivedFromServiceCategory')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfBearerClassBbc.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBearerClassBbc.setDescription('This attribute specifies the bearer capability. It is one of the Broadband Bearer Capability (BBC) attributes. The purpose of the BBC information element is to indicate a requested broadband connection-oriented bearer service to be provided by the network. The value derivedFromServiceCategory specifies that the actual value which is used for this connection is derived from the value of the atmServiceCategory. Either, this attribute must be set to derivedFromServiceCategory, or the atmServiceCategory attribute must be set to derivedFromBBC, but not both. Class a service is a connection-oriented, constant bit rate ATM transport service. Class a service has end to end timing requirements and may require stringent cell loss, cell delay and cell delay variation performance.When a is set, the user is requesting more than an ATM only service. The network may look at the AAL to provide interworking based upon its contents. Class c service is a connection-oriented, variable bit rate ATM transport service. Class c service has no end-to-end timing requirements. When c is set, the user is requesting more than an ATM only service. The network interworking function may look at the AAL and provide service based on it. Class x service is a connection-oriented ATM transport service where the AAL, trafficType (vbr or cbr) and timing requirements are user defined (that is, transparent to the network).When x is set the user is requesting an ATM only service from the network. In this case, the network shall not process any higher layer protocol.') mscARtgPnniRfTransferCapabilityBbc = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 5, 8, 9, 10, 30, 31))).clone(namedValues=NamedValues(("n0", 0), ("n1", 1), ("n2", 2), ("n5", 5), ("n8", 8), ("n9", 9), ("n10", 10), ("notApplicable", 30), ("derivedFromServiceCategory", 31))).clone('derivedFromServiceCategory')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfTransferCapabilityBbc.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTransferCapabilityBbc.setDescription('This attribute specifies the transfer capability for this connection. Uni 3.0/3.1 traffic type and end-to-end timing parameters are mapped into this parameter as follows: <transferCapability : TrafficType, Timing> 0 : NoIndication, NoIndication 1 : NoIndication, yes 2 : NoIndication, no 5 : CBR, yes 8 : VBR, NoIndication 9 : VBR, yes 10: VBR, no NotApplicable specifies that the user does not want to specify the transfer capability. The CBR traffic type refers to traffic offered on services such as a constant bit rate video service or a circuit emulation. The VBR traffic type refers to traffic offered on services such as packetized audio and video, or data. The value NoIndication for traffic type is used if the user has not set the traffic type; this is also the case for end-to-end timing. The value yes for end-to-end timing indicates that end-to-end timing is required. The value no for end-to-end timing indicates that end-to-end timing is not required. The value derivedFromServiceCategory specifies that the actual value which is used for this connection is derived from the value of the atmServiceCategory. Either, this attribute must be set to derivedFromServiceCategory, or the atmServiceCategory attribute must be set to derivedFromBBC, but not both.') mscARtgPnniRfClippingBbc = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfClippingBbc.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfClippingBbc.setDescription('This attribute specifies the value for the clipping susceptibility parameter in the BBC IE. This attribute is only used for SPVC connections. It is one of the Broadband Bearer Capability attributes. Clipping is an impairment in which the first fraction of a second of information to be transferred is lost. It occurs after a call is answered and before an associated connection is switched through.') mscARtgPnniRfBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 15))).clone(namedValues=NamedValues(("indicated", 0), ("notIndicated", 1), ("derivedFromServiceCategory", 15))).clone('derivedFromServiceCategory')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBestEffort.setDescription('This attribute specifies the value of the best effort parameter in the ATM Traffic Descriptor IE. It is one of the Broadband Bearer Capability attributes. The value indicated implies that the quality of service for this connection is not guaranteed. The value notIndicated implies that the quality of service for this connection is guaranteed. The value derivedFromServiceCategory specifies that the actual value which is used for this connection is derived from the value of the atmServiceCategory. Either, this attribute must be set to derivedFromServiceCategory, or the atmServiceCategory attribute must be set to derivedFromBBC, but not both. DESCRIPTION') mscARtgPnniRfOptimizationMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cdv", 0), ("maxCtd", 1), ("aw", 2))).clone('aw')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfOptimizationMetric.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfOptimizationMetric.setDescription('This attribute specifies the optimization metric to be used in the route computation; one of cell delay variation (cdv), maximum cell transfer delay (maxCtd), or administrative weight (aw).') mscARtgPnniRfRxTdpTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388), ) if mibBuilder.loadTexts: mscARtgPnniRfRxTdpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpTable.setDescription('This attribute is a vector of four traffic parameters whose meanings are defined by the rxTrafficDescType attribute. The values of peak cell rate (PCR) and sustained cell rate (SCR) are expressed in cell/s. Maximum burst size (MBS) is expressed in cells. The value of CDVT is expressed in microseconds. The values of PCR, SCR, MBS and CDVT are used for usage parameter control (UPC). When rxTrafficDescType is 1 or 2, all of the parameters must be set to zero (unused). When rxTrafficDescType is 3, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic. Parameter 1 must be non-zero. Parameters 2 and 3 must be set to zero (unused). When rxTrafficDescType is 4, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the PCR for CLP equal to 0 traffic with cell discard. Parameters 1 and 2 must be non-zero. Parameter 3 must be set to zero (unused). Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is 5, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the PCR for CLP equal to 0 traffic with cell tagging. Parameters 1 and 2 must be non-zero. Parameter 3 must be set to zero (unused). Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is a 6, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 and 1 traffic; parameter 3 represents the MBS for CLP equal to 0 and 1 traffic. Parameters 1, 2 and 3 must be non- zero. Parameter 1 must be greater than or equal to Parameter 2. When rxTrafficDescType is 7, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 traffic with cell discard; parameter 3 represents the MBS for CLP equal to 0 traffic. Parameters 1, 2 and 3 must be non- zero. Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is 8, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 traffic with cell tagging; parameter 3 represents the MBS for CLP equal to 0 traffic. Parameter 1, 2 and 3 must be non- zero. Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is any value from 3 through 8, parameter 4 represents the CDVT. If this value is zero, the CDVT is taken from the ConnectionAdministrator defaults for the particular atmServiceCategory of this connection. When rxTrafficDescriptorType is 3 through 8, there are certain extreme combinations of rxTrafficDescParm which are outside the capabilities of the UPC hardware. To calculate the limits, use the following formulae: I1 = 1 000 000 000 / PCR L1 = CDVT * 1000 I2 = 1 000 000 000 / SCR L2 = CDVT + (MBS - 1) * (I2 - I1) I1 and I2 must be less than or equal to 335 523 840. I1 + L1 must be less than or equal to 1 342 156 800. I2 + L2 must be less than or equal to 1 342 156 800. Note that I2 and L2 only apply when the rxTrafficDescriptorType is 6 through 8. If the values of I1, L1, I2 or L2 are closer to the limits described above, a further restriction applies. Specifically, if either: I1 > 41 940 480 or I2 > 41 940 480 or I1 + L1 > 167 769 600 or I2 + L2 > 167 769 600 then both I1 and I2 must be greater than 20 480. Parameter 5 of the rxTrafficDescParm is always unused. If the rxTrafficDescType is sameAsTx, the values in this attribute will be taken from the txTrafficDescParm.') mscARtgPnniRfRxTdpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfRxTdpIndex")) if mibBuilder.loadTexts: mscARtgPnniRfRxTdpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpEntry.setDescription('An entry in the mscARtgPnniRfRxTdpTable.') mscARtgPnniRfRxTdpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))) if mibBuilder.loadTexts: mscARtgPnniRfRxTdpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpIndex.setDescription('This variable represents the mscARtgPnniRfRxTdpTable specific index for the mscARtgPnniRfRxTdpTable.') mscARtgPnniRfRxTdpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfRxTdpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfRxTdpTable.') mscARtgPnniRfTxTdpTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389), ) if mibBuilder.loadTexts: mscARtgPnniRfTxTdpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpTable.setDescription('This attribute is a vector of five traffic parameters whose meanings are defined by the txTrafficDescType attribute. The values of peak cell rate (PCR), sustained cell rate (SCR) and requested shaping rate are expressed in cell/s. Maximum burst size (MBS) is expressed in cells. CDVT is expressed in microseconds. The values of PCR, SCR, MBS and CDVT are used for connection admission control (CAC). The value of CDVT is only used for connections where the atmServiceCategory is constantBitRate. For all other values of atmServiceCategory, CDVT is ignored. The values of PCR, SCR and requested shaping rate are used to determine the actual shaping rate where traffic shaping is enabled. When txTrafficDescType is 1 or 2, all of the parameters must be set to zero. When txTrafficDescType is 3, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameter 1 must be non-zero. Parameters 2 and 3 must be zero. When txTrafficDescType is 4, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic with cell discard; parameter 2 represents the PCR for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameter 1 must be greater than or equal to parameter 2. Parameters 1 and 2 must be non-zero. Parameter 3 must be zero. When txTrafficDescType is 5, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic with cell tagging; parameter 2 represents the PCR for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameter 1 must be greater than or equal to parameter 2. Parameters 1 and 2 must be non-zero. Parameter 3 must be zero. When txTrafficDescType is 6, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 and 1 traffic; parameter 3 represents the MBS for CLP equal to 0 and 1 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameters 1, 2 and 3 must be non-zero. Parameter 1 must be greater than or equal to parameter 2. Parameter 5, must either be zero (unused) or greater than or equal to parameter 2. When txTrafficDescType is 7, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 with cell discard; parameter 3 represents the MBS for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameters 1, 2 and 3 must be non-zero. Parameter 1 must be greater than or equal to parameter 2. Parameter 5, must either be zero (unused) or greater than or equal to parameter 2. When txTrafficDescType is 8, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 traffic with cell tagging; parameter 3 represents the MBS for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameters 1, 2 and 3 must be non-zero. Parameter 1 must be greater than or equal to parameter 2. Parameter 5, must either be zero (unused) or greater than or equal to parameter 2. Whenever it is valid for PCR to be specified, parameter 5 may also be used to specify a requested shaping rate. A non-zero value in parameter 5 overrides the value in parameter 1 and is used as the peak cell rate in calculations of CAC and shaping rate. For txTrafficDescType 3, 4 and 5, the transmit traffic will be shaped at the next rate less than the PCR. For txTrafficDescType 6, 7 and 8, the transmit traffic will be shaped at the highest available rate which is between PCR and SCR. However, if there is no available shaping rate between PCR and SCR, traffic will be shaped at the next rate above the PCR.') mscARtgPnniRfTxTdpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfTxTdpIndex")) if mibBuilder.loadTexts: mscARtgPnniRfTxTdpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpEntry.setDescription('An entry in the mscARtgPnniRfTxTdpTable.') mscARtgPnniRfTxTdpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))) if mibBuilder.loadTexts: mscARtgPnniRfTxTdpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpIndex.setDescription('This variable represents the mscARtgPnniRfTxTdpTable specific index for the mscARtgPnniRfTxTdpTable.') mscARtgPnniRfTxTdpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfTxTdpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfTxTdpTable.') mscARtgPnniRfFqpTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390), ) if mibBuilder.loadTexts: mscARtgPnniRfFqpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpTable.setDescription('This attribute is a vector of three elements that specify the quality of service parameters for the forward direction for this connection. This attribute is used for SPVC connections. The cdv element specifies the acceptable peak-to-peak Cell Delay Variation (CDV) of real-time connections (CBR, and rt-VBR). It is signalled through the extended QoS information element. The ctd specifies the acceptable maximum Cell Transfer Delay (maxCtd) of real-time connections (CBR, and rt-VBR). It is signalled through the end to end transit delay information element. The clr specifies the acceptable Cell Loss Ratio (CLR) of CBR, rt- VBR, and nrt-VBR connections. It is signalled through the extended QoS information element.') mscARtgPnniRfFqpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfFqpIndex")) if mibBuilder.loadTexts: mscARtgPnniRfFqpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpEntry.setDescription('An entry in the mscARtgPnniRfFqpTable.') mscARtgPnniRfFqpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cdv", 0), ("ctd", 1), ("clr", 2)))) if mibBuilder.loadTexts: mscARtgPnniRfFqpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpIndex.setDescription('This variable represents the mscARtgPnniRfFqpTable specific index for the mscARtgPnniRfFqpTable.') mscARtgPnniRfFqpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfFqpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfFqpTable.') mscARtgPnniRfBqpTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393), ) if mibBuilder.loadTexts: mscARtgPnniRfBqpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpTable.setDescription('This attribute is a vector of three elements that specify the quality of service parameters for the backward direction for this connection. This attribute is used for SPVC connections. The cdv element specifies the acceptable peak-to-peak Cell Delay Variation (CDV) of real-time connections (CBR, and rt-VBR). It is signalled through the extended QoS information element. The ctd specifies the acceptable maximum Cell Transfer Delay (maxCtd) of real-time connections (CBR, and rt-VBR). It is signalled through the end to end transit delay information element. The clr specifies the acceptable Cell Loss Ratio (CLR) of CBR, rt- VBR, and nrt-VBR connections. It is signalled through the extended QoS information element.') mscARtgPnniRfBqpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniRfBqpIndex")) if mibBuilder.loadTexts: mscARtgPnniRfBqpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpEntry.setDescription('An entry in the mscARtgPnniRfBqpTable.') mscARtgPnniRfBqpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cdv", 0), ("ctd", 1), ("clr", 2)))) if mibBuilder.loadTexts: mscARtgPnniRfBqpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpIndex.setDescription('This variable represents the mscARtgPnniRfBqpTable specific index for the mscARtgPnniRfBqpTable.') mscARtgPnniRfBqpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniRfBqpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfBqpTable.') mscARtgPnniCfgNode = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3)) mscARtgPnniCfgNodeRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniCfgNode components.') mscARtgPnniCfgNodeRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNode component.') mscARtgPnniCfgNodeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNode components. These components can be added and deleted.') mscARtgPnniCfgNodeComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniCfgNodeStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNode tables.') mscARtgPnniCfgNodeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 104))) if mibBuilder.loadTexts: mscARtgPnniCfgNodeIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeIndex.setDescription('This variable represents the index for the mscARtgPnniCfgNode tables.') mscARtgPnniCfgNodeProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvTable.setDescription('This group contains the provisionable attributes of a ConfiguredNode component.') mscARtgPnniCfgNodeProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvEntry.setDescription('An entry in the mscARtgPnniCfgNodeProvTable.') mscARtgPnniCfgNodeNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10, 1, 2), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 22))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeId.setDescription('This attribute specifies the node id of the configured node. If this attribute is set to null, then the node id is computed as follows: If this is the lowest configured node, then the node id is computed as the level (one octet), followed by the integer value 160 (one octet), followed by the node address (20 octets). If this is not the lowest configured node, then the node id is computed as the level (one octet), followed by the 14 octet peer group id of the child peer group which the LGN represents, followed by the ESI specified in the node address (6 octets), followed by the integer value 0 (one octet).') mscARtgPnniCfgNodePeerGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniCfgNodePeerGroupId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodePeerGroupId.setDescription("This attribute allows the peer group id of the Logical Group Node (LGN) to be set. The peer group id is specified by 28 hex digits where the first octet represents the level of the node and the remaining 13 octets form the End System Address. If this attribute is set to the null string then the peer group id is computed as follows: The peer group id for a lowest level node is computed to be the node's level (one octet), followed by the first <level> bits of the node's address, followed by zero or more padding 0 bits. The peer group id for an LGN is computed to be the LGN's level (one octet), followed by the first <level> bits of the id of the peer group which this LGN represents.") mscARtgPnniCfgNodeOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperTable.setDescription('This group contains the generic operational attributes of a ConfiguredNode component.') mscARtgPnniCfgNodeOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeOperTable.') mscARtgPnniCfgNodeNodeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeAddress.setDescription('This attribute indicates the address of the node at this level. At the lowest level, the nodeAddress is determined by the value of the nodeAddressPrefix attribute for the ARtg Pnni component followed by the level of this CfgNode. For LGNs, the nodeAddress is the same as the nodeAddress of the node at the lowest level, with the selector field set to the level of the peer group containing the LGN.') mscARtgPnniCfgNodeOpNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 2), HexString().subtype(subtypeSpec=ValueSizeConstraint(22, 22)).setFixedLength(22)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpNodeId.setDescription('This attribute indicates the node id of the node at this level. The default node id is computed as follows: If this is the lowest level node, then the default node id is computed as the level (one octet), followed by the integer value 160 (one octet), followed by the node address (20 octets). If this is not the lowest level node, then the default node id is computed as the level (one octet), followed by the 14 octet peer group id of the child peer group which the LGN represents, followed by the ESI specified in the node address (6 octets), followed by the integer value 0 (one octet).') mscARtgPnniCfgNodeOpPeerGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(14, 14)).setFixedLength(14)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpPeerGroupId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpPeerGroupId.setDescription('This attribute indicates the peer group id of the node at this level. The value is determined by the provisioned peerGroupId attribute.') mscARtgPnniCfgNodeNumNeighbors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumNeighbors.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumNeighbors.setDescription('This attribute indicates the number of PNNI nodes which are neighbors of this node at this level.') mscARtgPnniCfgNodeNumRccs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumRccs.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumRccs.setDescription("This attribute indicates the number of Routing Control Channels to this node's neighbors at this level.") mscARtgPnniCfgNodeCurrentLeadershipPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 205))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeCurrentLeadershipPriority.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeCurrentLeadershipPriority.setDescription('This attribute indicates the leadership priority of the node that this node believes should be the peer group leader at this point in time.') mscARtgPnniCfgNodePglElectionState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("starting", 0), ("awaiting", 1), ("awaitingFull", 2), ("initialDelay", 3), ("calculating", 4), ("operNotPgl", 5), ("operPgl", 6), ("awaitUnanimity", 7), ("hungElection", 8), ("awaitReElection", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodePglElectionState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodePglElectionState.setDescription('This attribute indicates the current state of the peer group leader election process. The following are the possible values for this attribute: starting: the initial state of the state machine. awaiting: the node has started the Hello Finite State Machine on at least one link, and no peer has been found yet. awaitingFull: no database synchronization process has been completed yet but at least one neighboring peer has been found. initialDelay: Database synchronization has been completed with at least one neighboring peer. The node must wait pglInitTime second before it can select and advertise its preferred Peer Group Leader (PGL). calculating: the node is in the process of calculating what its new choice for preferred PGL will be. operNotPgl: a non PGL node is in the process of determining which node has the highest priority to be PGL by examining PTSEs sent by other nodes. operPgl: a PGL node is in the process of determining if another node has a higher priority than itself by examining PTSEs sent by other nodes. awaitUnanimity: the node has chosen itself as PGL. If the node has been elected unanimously, it generates a Unanimity event. It waits for unanimity or expiration of the overrideDelay timer before declaring itself peer group leader. hungElection: the node has chosen itself as PGL with less than 2/3 of the other nodes advertising it as their preferred PGL. In this case either this node should change its choice of preferred PGL, or the other nodes are going to accept it as PGL. awaitReElection: the node has lost connectivity to the current PGL. The connectivity must be reestablished before the reElectionInterval timer fires, otherwise the election is redone.') mscARtgPnniCfgNodeSAddr = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2)) mscARtgPnniCfgNodeSAddrRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniCfgNodeSAddr components.') mscARtgPnniCfgNodeSAddrRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrAddressIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrPrefixLengthIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrReachabilityIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNodeSAddr component.') mscARtgPnniCfgNodeSAddrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNodeSAddr components. These components can be added and deleted.') mscARtgPnniCfgNodeSAddrComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniCfgNodeSAddrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNodeSAddr tables.') mscARtgPnniCfgNodeSAddrAddressIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 10), HexString().subtype(subtypeSpec=ValueSizeConstraint(19, 19)).setFixedLength(19)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrAddressIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrAddressIndex.setDescription('This variable represents an index for the mscARtgPnniCfgNodeSAddr tables.') mscARtgPnniCfgNodeSAddrPrefixLengthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 152))) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrPrefixLengthIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrPrefixLengthIndex.setDescription('This variable represents an index for the mscARtgPnniCfgNodeSAddr tables.') mscARtgPnniCfgNodeSAddrReachabilityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("internal", 0), ("exterior", 1)))) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrReachabilityIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrReachabilityIndex.setDescription('This variable represents an index for the mscARtgPnniCfgNodeSAddr tables.') mscARtgPnniCfgNodeSAddrProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 10), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvTable.setDescription('This group contains the provisionable attributes of a SummaryAddress component. A summary address is an abbreviation of a set of addresses, represented by an address prefix that all of the summarized addresses have in common. A suppressed summary address is used to suppress the advertisement of addresses which match this prefix, regardless of scope.') mscARtgPnniCfgNodeSAddrProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrAddressIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrPrefixLengthIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrReachabilityIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvEntry.setDescription('An entry in the mscARtgPnniCfgNodeSAddrProvTable.') mscARtgPnniCfgNodeSAddrSuppress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrSuppress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrSuppress.setDescription('This attribute specifies whether or not the address should be suppressed. If this attribute is set to true, then all addresses matching that prefix will not be advertised above this level.') mscARtgPnniCfgNodeSAddrOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperTable.setDescription('This group contains the operational attributes of a SummaryAddress component.') mscARtgPnniCfgNodeSAddrOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrAddressIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrPrefixLengthIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeSAddrReachabilityIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeSAddrOperTable.') mscARtgPnniCfgNodeSAddrState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("advertising", 0), ("suppressing", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrState.setDescription('This attribute indicates the state of the address: one of advertising, suppressing or inactive. inactive: the summary address has been configured but is not suppressing or summarizing any ATM addresses. suppressing: the summary address has suppressed at least one ATM address on the node. advertising: the summary address is summarizing at least one ATM address on the node.') mscARtgPnniCfgNodeSAddrScope = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 104))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrScope.setDescription('This attribute indicates the scope of the summary address. The scope corresponds to the scope of the underlying summarized address with the highest advertised scope. A value of -1 means the scope is unknown.') mscARtgPnniCfgNodeNbr = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3)) mscARtgPnniCfgNodeNbrRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniCfgNodeNbr components.') mscARtgPnniCfgNodeNbrRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeNbrIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNodeNbr component.') mscARtgPnniCfgNodeNbrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNodeNbr components. These components cannot be added nor deleted.') mscARtgPnniCfgNodeNbrComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniCfgNodeNbrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNodeNbr tables.') mscARtgPnniCfgNodeNbrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 10), HexString().subtype(subtypeSpec=ValueSizeConstraint(22, 22)).setFixedLength(22)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrIndex.setDescription('This variable represents the index for the mscARtgPnniCfgNodeNbr tables.') mscARtgPnniCfgNodeNbrOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 10), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Neighbor component.') mscARtgPnniCfgNodeNbrOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeNbrIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeNbrOperTable.') mscARtgPnniCfgNodeNbrPeerState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("npDown", 0), ("negotiating", 1), ("exchanging", 2), ("loading", 3), ("full", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPeerState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPeerState.setDescription('This attribute indicates the state of the routing database exchange with the peer node. npDown: there are no active links (i.e. in the twoWayInside Hello state) to the neighboring peer. negotiating: the first step in creating an adjacency between the two neighboring peers; this step determines which node is the master, and what the initial DS sequence number will be. exchanging: the node describes its topology database by sending Database Summary packets to the neighboring peer. loading: a full sequence of Database Summary packets has been exchanged with the neighboring peer, and the required PTSEs are requested and at least one has not yet been received. full: All PTSEs known to be available have been received from the neighboring peer. At this point the all ports leading to the neighbor node will be flooded in PTSEs within the peer group.') mscARtgPnniCfgNodeNbrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the statistical operational attributes of a Neighbor component.') mscARtgPnniCfgNodeNbrStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeNbrIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsEntry.setDescription('An entry in the mscARtgPnniCfgNodeNbrStatsTable.') mscARtgPnniCfgNodeNbrPtspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspRx.setDescription('This attribute counts the PNNI Topology State Packets received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspTx.setDescription('This attribute counts the total number of PTSPs send to the neighbor node.The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtseRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseRx.setDescription('This attribute counts the total number of PTSEs received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtseTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseTx.setDescription('This attribute counts the total number of PTSEs sent to the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtseReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqRx.setDescription('This attribute counts the total number of PTSE requests received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtseReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqTx.setDescription('This attribute counts the total number of PTSE requests sent to the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtseAcksRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksRx.setDescription('This attribute counts the total number of PTSE acknowledgments received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrPtseAcksTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksTx.setDescription('This attribute counts the total number of PTSE acknowledgments sent to the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrDbSummariesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesRx.setDescription('This attribute counts the number of database summary packets received from the neighbor. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrDbSummariesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesTx.setDescription('This attribute counts the number of database summary packets transmitted to the neighbor. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrBadPtspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtspRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtspRx.setDescription('This attribute counts the total number of invalid PTSP packets received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrBadPtseRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseRx.setDescription('This attribute counts the total number of invalid PTSE packets received to the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrBadPtseReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseReqRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseReqRx.setDescription('This attribute counts the total number of invalid PTSE requests received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrBadPtseAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseAckRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseAckRx.setDescription('This attribute counts the total number of invalid PTSE acknowledgments received from the neighbor node. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrBadDbSummariesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadDbSummariesRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadDbSummariesRx.setDescription('This attribute counts the total number of invalid database summary packets received from the neighbor. The counter wraps when it exceeds the maximum value.') mscARtgPnniCfgNodeNbrRccListTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 385), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This attribute indicates the component names of all Routing Control Channels to the neighbor PNNI node.') mscARtgPnniCfgNodeNbrRccListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 385, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeNbrIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeNbrRccListValue")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListEntry.setDescription('An entry in the mscARtgPnniCfgNodeNbrRccListTable.') mscARtgPnniCfgNodeNbrRccListValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 385, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListValue.setDescription('This variable represents both the value and the index for the mscARtgPnniCfgNodeNbrRccListTable.') mscARtgPnniCfgNodeDefSAddr = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4)) mscARtgPnniCfgNodeDefSAddrRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniCfgNodeDefSAddr components.') mscARtgPnniCfgNodeDefSAddrRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeDefSAddrIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNodeDefSAddr component.') mscARtgPnniCfgNodeDefSAddrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNodeDefSAddr components. These components cannot be added nor deleted.') mscARtgPnniCfgNodeDefSAddrComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniCfgNodeDefSAddrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNodeDefSAddr tables.') mscARtgPnniCfgNodeDefSAddrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrIndex.setDescription('This variable represents the index for the mscARtgPnniCfgNodeDefSAddr tables.') mscARtgPnniCfgNodeDefSAddrDefAddrTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 10), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrTable.setDescription('This group contains the operational attributes of a DefSummaryAddress component.') mscARtgPnniCfgNodeDefSAddrDefAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeDefSAddrIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrEntry.setDescription('An entry in the mscARtgPnniCfgNodeDefSAddrDefAddrTable.') mscARtgPnniCfgNodeDefSAddrAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(13, 13)).setFixedLength(13)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrAddress.setDescription('This attribute indicates the default summary address of the node at this level.') mscARtgPnniCfgNodeDefSAddrOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11), ) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperTable.setDescription('This group contains the operational attributes of a SummaryAddress component.') mscARtgPnniCfgNodeDefSAddrOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniCfgNodeDefSAddrIndex")) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeDefSAddrOperTable.') mscARtgPnniCfgNodeDefSAddrState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("advertising", 0), ("suppressing", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrState.setDescription('This attribute indicates the state of the address: one of advertising, suppressing or inactive. inactive: the summary address has been configured but is not suppressing or summarizing any ATM addresses. suppressing: the summary address has suppressed at least one ATM address on the node. advertising: the summary address is summarizing at least one ATM address on the node.') mscARtgPnniCfgNodeDefSAddrScope = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 104))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrScope.setDescription('This attribute indicates the scope of the summary address. The scope corresponds to the scope of the underlying summarized address with the highest advertised scope. A value of -1 means the scope is unknown.') mscARtgPnniTop = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4)) mscARtgPnniTopRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1), ) if mibBuilder.loadTexts: mscARtgPnniTopRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTop components.') mscARtgPnniTopRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex")) if mibBuilder.loadTexts: mscARtgPnniTopRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTop component.') mscARtgPnniTopRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTop components. These components cannot be added nor deleted.') mscARtgPnniTopComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniTopStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTop tables.') mscARtgPnniTopIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 104))) if mibBuilder.loadTexts: mscARtgPnniTopIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopIndex.setDescription('This variable represents the index for the mscARtgPnniTop tables.') mscARtgPnniTopOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10), ) if mibBuilder.loadTexts: mscARtgPnniTopOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Topology component.') mscARtgPnniTopOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex")) if mibBuilder.loadTexts: mscARtgPnniTopOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopOperEntry.setDescription('An entry in the mscARtgPnniTopOperTable.') mscARtgPnniTopPtsesInDatabase = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopPtsesInDatabase.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopPtsesInDatabase.setDescription("This attribute indicates the number of PTSEs in storage in this node's topology database for this level.") mscARtgPnniTopPglNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 2), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 22))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopPglNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopPglNodeId.setDescription('This attribute indicates the node id of the peer group leader. If this attribute is empty, it indicates the Peer Group Level node id is unknown.') mscARtgPnniTopActiveParentNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 22))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopActiveParentNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopActiveParentNodeId.setDescription('This attribute indicates the node identifier being used by the LGN representing this peer group at the next higher level peer group.') mscARtgPnniTopPreferredPglNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 4), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 22))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopPreferredPglNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopPreferredPglNodeId.setDescription('This attribute represents the node in database with the highest Peer Group Level (PGL) priority. If this attribute is empty, it indicates the preferred PGL node id is unknown.') mscARtgPnniTopNode = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2)) mscARtgPnniTopNodeRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1), ) if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTopNode components.') mscARtgPnniTopNodeRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeIndex")) if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTopNode component.') mscARtgPnniTopNodeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTopNode components. These components cannot be added nor deleted.') mscARtgPnniTopNodeComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniTopNodeStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTopNode tables.') mscARtgPnniTopNodeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 10), HexString().subtype(subtypeSpec=ValueSizeConstraint(22, 22)).setFixedLength(22)) if mibBuilder.loadTexts: mscARtgPnniTopNodeIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeIndex.setDescription('This variable represents the index for the mscARtgPnniTopNode tables.') mscARtgPnniTopNodeAddr = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2)) mscARtgPnniTopNodeAddrRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1), ) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTopNodeAddr components.') mscARtgPnniTopNodeAddrRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeAddrAddressIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeAddrPrefixLengthIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeAddrReachabilityIndex")) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTopNodeAddr component.') mscARtgPnniTopNodeAddrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTopNodeAddr components. These components cannot be added nor deleted.') mscARtgPnniTopNodeAddrComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniTopNodeAddrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTopNodeAddr tables.') mscARtgPnniTopNodeAddrAddressIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 10), HexString().subtype(subtypeSpec=ValueSizeConstraint(19, 19)).setFixedLength(19)) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrAddressIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrAddressIndex.setDescription('This variable represents an index for the mscARtgPnniTopNodeAddr tables.') mscARtgPnniTopNodeAddrPrefixLengthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 152))) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrPrefixLengthIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrPrefixLengthIndex.setDescription('This variable represents an index for the mscARtgPnniTopNodeAddr tables.') mscARtgPnniTopNodeAddrReachabilityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("internal", 0), ("exterior", 1)))) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrReachabilityIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrReachabilityIndex.setDescription('This variable represents an index for the mscARtgPnniTopNodeAddr tables.') mscARtgPnniTopNodeAddrOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 10), ) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This attribute group contains the operational attributes for the Address component.') mscARtgPnniTopNodeAddrOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeAddrAddressIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeAddrPrefixLengthIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeAddrReachabilityIndex")) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperEntry.setDescription('An entry in the mscARtgPnniTopNodeAddrOperTable.') mscARtgPnniTopNodeAddrScope = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 104))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrScope.setDescription('This attribute specifies the scope of the ATM address, which is the highest level to which this address will be advertised in the PNNI hierarchy.') mscARtgPnniTopNodeLink = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3)) mscARtgPnniTopNodeLinkRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1), ) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTopNodeLink components.') mscARtgPnniTopNodeLinkRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeLinkIndex")) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTopNodeLink component.') mscARtgPnniTopNodeLinkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTopNodeLink components. These components cannot be added nor deleted.') mscARtgPnniTopNodeLinkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniTopNodeLinkStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTopNodeLink tables.') mscARtgPnniTopNodeLinkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkIndex.setDescription('This variable represents the index for the mscARtgPnniTopNodeLink tables.') mscARtgPnniTopNodeLinkOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10), ) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Link component.') mscARtgPnniTopNodeLinkOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniTopNodeLinkIndex")) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperEntry.setDescription('An entry in the mscARtgPnniTopNodeLinkOperTable.') mscARtgPnniTopNodeLinkRemoteNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(22, 22)).setFixedLength(22)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemoteNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemoteNodeId.setDescription('This attribute indicates the id of the node at the far end of this link.') mscARtgPnniTopNodeLinkRemotePortId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemotePortId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemotePortId.setDescription("This attribute indicates the node's port id at the far end of this link.") mscARtgPnniPort = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5)) mscARtgPnniPortRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1), ) if mibBuilder.loadTexts: mscARtgPnniPortRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniPort components.') mscARtgPnniPortRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniPortIndex")) if mibBuilder.loadTexts: mscARtgPnniPortRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniPort component.') mscARtgPnniPortRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniPortRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniPort components. These components cannot be added nor deleted.') mscARtgPnniPortComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniPortComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscARtgPnniPortStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniPortStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniPort tables.') mscARtgPnniPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))) if mibBuilder.loadTexts: mscARtgPnniPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortIndex.setDescription('This variable represents the index for the mscARtgPnniPort tables.') mscARtgPnniPortOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 10), ) if mibBuilder.loadTexts: mscARtgPnniPortOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Port component.') mscARtgPnniPortOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscARtgPnniPortIndex")) if mibBuilder.loadTexts: mscARtgPnniPortOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortOperEntry.setDescription('An entry in the mscARtgPnniPortOperTable.') mscARtgPnniPortStdComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscARtgPnniPortStdComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortStdComponentName.setDescription('This attribute indicates the component name of the port.') mscAtmCR = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113)) mscAtmCRRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1), ) if mibBuilder.loadTexts: mscAtmCRRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmCR components.') mscAtmCRRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRIndex")) if mibBuilder.loadTexts: mscAtmCRRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmCR component.') mscAtmCRRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmCRRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmCR components. These components can be added and deleted.') mscAtmCRComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmCRStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRStorageType.setDescription('This variable represents the storage type value for the mscAtmCR tables.') mscAtmCRIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmCRIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRIndex.setDescription('This variable represents the index for the mscAtmCR tables.') mscAtmCRProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 10), ) if mibBuilder.loadTexts: mscAtmCRProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRProvTable.setDescription('This group represents the provisioned attributes for the AtmCallRouter component.') mscAtmCRProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRIndex")) if mibBuilder.loadTexts: mscAtmCRProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRProvEntry.setDescription('An entry in the mscAtmCRProvTable.') mscAtmCRNodeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 10, 1, 1), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(26, 26)).setFixedLength(26)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmCRNodeAddress.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRNodeAddress.setDescription('This attribute specifies the NSAP address prefix used for ILMI purposes.') mscAtmCRStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11), ) if mibBuilder.loadTexts: mscAtmCRStatsTable.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRStatsTable.setDescription('This group represents the operational attributes for the AtmCallRouter component.') mscAtmCRStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRIndex")) if mibBuilder.loadTexts: mscAtmCRStatsEntry.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRStatsEntry.setDescription('An entry in the mscAtmCRStatsTable.') mscAtmCRCallsRouted = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRCallsRouted.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRCallsRouted.setDescription('This attribute counts the total number of calls routed.') mscAtmCRCallsFailed = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRCallsFailed.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRCallsFailed.setDescription('This attribute specifies the number of calls that failed to route.') mscAtmCRDna = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2)) mscAtmCRDnaRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1), ) if mibBuilder.loadTexts: mscAtmCRDnaRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscAtmCRDna components.') mscAtmCRDnaRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRDnaIndex")) if mibBuilder.loadTexts: mscAtmCRDnaRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmCRDna component.') mscAtmCRDnaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRDnaRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmCRDna components. These components cannot be added nor deleted.') mscAtmCRDnaComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRDnaComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmCRDnaStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRDnaStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaStorageType.setDescription('This variable represents the storage type value for the mscAtmCRDna tables.') mscAtmCRDnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 40))) if mibBuilder.loadTexts: mscAtmCRDnaIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaIndex.setDescription('This variable represents the index for the mscAtmCRDna tables.') mscAtmCRDnaDestinationNameTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 289), ) if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameTable.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This attribute indicates which components have this address provisioned or dynamically registered via ILMI.') mscAtmCRDnaDestinationNameEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 289, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRDnaIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmCRDnaDestinationNameValue")) if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameEntry.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameEntry.setDescription('An entry in the mscAtmCRDnaDestinationNameTable.') mscAtmCRDnaDestinationNameValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 289, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameValue.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameValue.setDescription('This variable represents both the value and the index for the mscAtmCRDnaDestinationNameTable.') mscAtmIfVpcSrc = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6)) mscAtmIfVpcSrcRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1), ) if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVpcSrc components.') mscAtmIfVpcSrcRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVpcSrc component.') mscAtmIfVpcSrcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVpcSrc components. These components can be added and deleted.') mscAtmIfVpcSrcComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcSrcComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVpcSrcStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcSrcStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVpcSrc tables.') mscAtmIfVpcSrcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVpcSrcIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcIndex.setDescription('This variable represents the index for the mscAtmIfVpcSrc tables.') mscAtmIfVpcSrcProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10), ) if mibBuilder.loadTexts: mscAtmIfVpcSrcProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcProvTable.setDescription('This attribute group contains the provisionable attributes of the AtmIf/n Vpc/vpi SrcPvp component.') mscAtmIfVpcSrcProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVpcSrcProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcProvEntry.setDescription('An entry in the mscAtmIfVpcSrcProvTable.') mscAtmIfVpcSrcCallingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 20)).clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVpcSrcCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcCallingAddress.setDescription('This attribute specifies the calling address of the soft PVP. If it is a null string, then the calling address is the address of the current interface (that is, where the soft PVC originates).') mscAtmIfVpcSrcCalledAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1, 2), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledAddress.setDescription('This attribute specifies the called (remote) address of the soft PVP.') mscAtmIfVpcSrcCalledVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledVpi.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledVpi.setDescription('This attribute specifies the called VPI of the soft PVP.') mscAtmIfVpcSrcOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11), ) if mibBuilder.loadTexts: mscAtmIfVpcSrcOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcOperTable.setDescription('This attribute group contains the operational attributes associated with the SrcPvp or SrcPvc component.') mscAtmIfVpcSrcOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVpcSrcOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcOperEntry.setDescription('An entry in the mscAtmIfVpcSrcOperTable.') mscAtmIfVpcSrcState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("active", 0), ("inactive", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcSrcState.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcState.setDescription('This attribute indicates the state of the soft PVP or soft PVC.') mscAtmIfVpcSrcRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcSrcRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRetryCount.setDescription('This attribute indicates the number of failed attempts to set up the soft PVP or soft PVC since the last time the connection failed.') mscAtmIfVpcSrcLastFailureCauseCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureCauseCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureCauseCode.setDescription('This attribute contains the cause code in the last transmitted signalling message that contains the CAUSE information element. The cause code is used to describe the reason for generating certain signalling messages. The default value for this attribute is set to 0.') mscAtmIfVpcSrcLastFailureDiagCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 4), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureDiagCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureDiagCode.setDescription('This attribute contains the diagnostic code in the last transmitted signalling message. The diagnostic code is contained in the CAUSE information element and identifies an information element type or timer type. The diagnostic code is present only if a procedural error is detected by the signalling protocol. A diagnostic code is always accompanied by the cause code. If there is no failure, this attribute is set to NULL.') mscAtmIfVpcRp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7)) mscAtmIfVpcRpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1), ) if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVpcRp components.') mscAtmIfVpcRpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcRpIndex")) if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVpcRp component.') mscAtmIfVpcRpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVpcRp components. These components cannot be added nor deleted.') mscAtmIfVpcRpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcRpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVpcRpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcRpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVpcRp tables.') mscAtmIfVpcRpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVpcRpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpIndex.setDescription('This variable represents the index for the mscAtmIfVpcRp tables.') mscAtmIfVpcRpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 10), ) if mibBuilder.loadTexts: mscAtmIfVpcRpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpOperTable.setDescription('This attribute group contains the operational attributes for the AtmRelayPoint component.') mscAtmIfVpcRpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcRpIndex")) if mibBuilder.loadTexts: mscAtmIfVpcRpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpOperEntry.setDescription('An entry in the mscAtmIfVpcRpOperTable.') mscAtmIfVpcRpNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcRpNextHop.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHop.setDescription('This attribute indicates the component name of the Rp component with which this Rp component is associated.') mscAtmIfVpcRpNextHopsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 430), ) if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsTable.setDescription('This attribute indicates the component name(s) of the Rp component(s) with which this Rp component is associated. This attribute can have more than one component name only when the Vcc distributionType is pointToMultipoint and the callDirection is fromLink.') mscAtmIfVpcRpNextHopsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 430, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcRpIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcRpNextHopsValue")) if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsEntry.setDescription('An entry in the mscAtmIfVpcRpNextHopsTable.') mscAtmIfVpcRpNextHopsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 430, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsValue.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsValue.setDescription('This variable represents both the value and the index for the mscAtmIfVpcRpNextHopsTable.') mscAtmIfVpcDst = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8)) mscAtmIfVpcDstRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1), ) if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVpcDst components.') mscAtmIfVpcDstRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcDstIndex")) if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVpcDst component.') mscAtmIfVpcDstRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVpcDst components. These components cannot be added nor deleted.') mscAtmIfVpcDstComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcDstComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVpcDstStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcDstStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVpcDst tables.') mscAtmIfVpcDstIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVpcDstIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstIndex.setDescription('This variable represents the index for the mscAtmIfVpcDst tables.') mscAtmIfVpcDstOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10), ) if mibBuilder.loadTexts: mscAtmIfVpcDstOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstOperTable.setDescription('This attribute group contains the operational attributes for the AtmIf/n Vpc/vpi DstPvp component.') mscAtmIfVpcDstOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVpcIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVpcDstIndex")) if mibBuilder.loadTexts: mscAtmIfVpcDstOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstOperEntry.setDescription('An entry in the mscAtmIfVpcDstOperTable.') mscAtmIfVpcDstCalledAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcDstCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstCalledAddress.setDescription('This attribute indicates the called address of the soft PVP.') mscAtmIfVpcDstCallingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1, 2), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(7, 40))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcDstCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstCallingAddress.setDescription('This attribute indicates the calling (remote) address of the soft PVP. If the address in not known, then the value of this address is Unknown.') mscAtmIfVpcDstCallingVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1, 3), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVpcDstCallingVpi.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstCallingVpi.setDescription('This attribute represents the calling (remote) VPI of the soft PVP. If the VPI value is not known, the attribute value is set to Unknown.') mscAtmIfVccSrc = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8)) mscAtmIfVccSrcRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1), ) if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccSrc components.') mscAtmIfVccSrcRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccSrc component.') mscAtmIfVccSrcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccSrc components. These components can be added and deleted.') mscAtmIfVccSrcComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccSrcComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVccSrcStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccSrcStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccSrc tables.') mscAtmIfVccSrcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVccSrcIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcIndex.setDescription('This variable represents the index for the mscAtmIfVccSrc tables.') mscAtmIfVccSrcProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10), ) if mibBuilder.loadTexts: mscAtmIfVccSrcProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcProvTable.setDescription('This attribute group contains the provisionable attributes of the SourcePvc component.') mscAtmIfVccSrcProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVccSrcProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcProvEntry.setDescription('An entry in the mscAtmIfVccSrcProvTable.') mscAtmIfVccSrcRemoteAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteAddress.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteAddress.setDescription('This attribute represents the remote address of the soft PVC.') mscAtmIfVccSrcRemoteVpiVci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 2), IntegerSequence().subtype(subtypeSpec=ValueSizeConstraint(3, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteVpiVci.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') mscAtmIfVccSrcCallingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 20)).clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVccSrcCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcCallingAddress.setDescription('This attribute represents the calling address of the soft PVC. If it is a null string, then the calling address is the address of the current interface (that is, where the soft PVC originates).') mscAtmIfVccSrcCalledAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 4), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVccSrcCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcCalledAddress.setDescription('This attribute represents the called (remote) address of the soft PVC.') mscAtmIfVccSrcCalledVpiVci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 5), IntegerSequence().subtype(subtypeSpec=ValueSizeConstraint(3, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVccSrcCalledVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcCalledVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') mscAtmIfVccSrcOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11), ) if mibBuilder.loadTexts: mscAtmIfVccSrcOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcOperTable.setDescription('This attribute group contains the operational attributes associated with the SrcPvp or SrcPvc component.') mscAtmIfVccSrcOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVccSrcOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcOperEntry.setDescription('An entry in the mscAtmIfVccSrcOperTable.') mscAtmIfVccSrcState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("active", 0), ("inactive", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccSrcState.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcState.setDescription('This attribute indicates the state of the soft PVP or soft PVC.') mscAtmIfVccSrcRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccSrcRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRetryCount.setDescription('This attribute indicates the number of failed attempts to set up the soft PVP or soft PVC since the last time the connection failed.') mscAtmIfVccSrcLastFailureCauseCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureCauseCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureCauseCode.setDescription('This attribute contains the cause code in the last transmitted signalling message that contains the CAUSE information element. The cause code is used to describe the reason for generating certain signalling messages. The default value for this attribute is set to 0.') mscAtmIfVccSrcLastFailureDiagCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 4), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureDiagCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureDiagCode.setDescription('This attribute contains the diagnostic code in the last transmitted signalling message. The diagnostic code is contained in the CAUSE information element and identifies an information element type or timer type. The diagnostic code is present only if a procedural error is detected by the signalling protocol. A diagnostic code is always accompanied by the cause code. If there is no failure, this attribute is set to NULL.') mscAtmIfVccEp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9)) mscAtmIfVccEpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1), ) if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccEp components.') mscAtmIfVccEpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccEpIndex")) if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccEp component.') mscAtmIfVccEpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccEpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccEp components. These components cannot be added nor deleted.') mscAtmIfVccEpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccEpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVccEpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccEpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccEp tables.') mscAtmIfVccEpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVccEpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpIndex.setDescription('This variable represents the index for the mscAtmIfVccEp tables.') mscAtmIfVccEpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 10), ) if mibBuilder.loadTexts: mscAtmIfVccEpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpOperTable.setDescription('This attribute group contains the operational attributes for the AtmEndPoint component.') mscAtmIfVccEpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccEpIndex")) if mibBuilder.loadTexts: mscAtmIfVccEpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpOperEntry.setDescription('An entry in the mscAtmIfVccEpOperTable.') mscAtmIfVccEpApplicationName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccEpApplicationName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpApplicationName.setDescription('This attribute indicates the component name associated with the application associated with the switched VCC.') mscAtmIfVccRp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10)) mscAtmIfVccRpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1), ) if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccRp components.') mscAtmIfVccRpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccRpIndex")) if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccRp component.') mscAtmIfVccRpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccRpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccRp components. These components cannot be added nor deleted.') mscAtmIfVccRpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccRpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVccRpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccRpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccRp tables.') mscAtmIfVccRpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVccRpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpIndex.setDescription('This variable represents the index for the mscAtmIfVccRp tables.') mscAtmIfVccRpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 10), ) if mibBuilder.loadTexts: mscAtmIfVccRpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpOperTable.setDescription('This attribute group contains the operational attributes for the AtmRelayPoint component.') mscAtmIfVccRpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccRpIndex")) if mibBuilder.loadTexts: mscAtmIfVccRpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpOperEntry.setDescription('An entry in the mscAtmIfVccRpOperTable.') mscAtmIfVccRpNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccRpNextHop.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVccRpNextHop.setDescription('This attribute indicates the component name of the Rp component with which this Rp component is associated.') mscAtmIfVccRpNextHopsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 430), ) if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsTable.setDescription('This attribute indicates the component name(s) of the Rp component(s) with which this Rp component is associated. This attribute can have more than one component name only when the Vcc distributionType is pointToMultipoint and the callDirection is fromLink.') mscAtmIfVccRpNextHopsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 430, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccRpIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccRpNextHopsValue")) if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsEntry.setDescription('An entry in the mscAtmIfVccRpNextHopsTable.') mscAtmIfVccRpNextHopsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 430, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsValue.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsValue.setDescription('This variable represents both the value and the index for the mscAtmIfVccRpNextHopsTable.') mscAtmIfVccDst = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11)) mscAtmIfVccDstRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1), ) if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccDst components.') mscAtmIfVccDstRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccDstIndex")) if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccDst component.') mscAtmIfVccDstRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccDstRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccDst components. These components cannot be added nor deleted.') mscAtmIfVccDstComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccDstComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVccDstStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccDstStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccDst tables.') mscAtmIfVccDstIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVccDstIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstIndex.setDescription('This variable represents the index for the mscAtmIfVccDst tables.') mscAtmIfVccDstOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10), ) if mibBuilder.loadTexts: mscAtmIfVccDstOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstOperTable.setDescription('This attribute group contains the operational attributes for the DestinationPvc component.') mscAtmIfVccDstOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVccDstIndex")) if mibBuilder.loadTexts: mscAtmIfVccDstOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstOperEntry.setDescription('An entry in the mscAtmIfVccDstOperTable.') mscAtmIfVccDstCalledAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccDstCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstCalledAddress.setDescription('This attribute represents the called address of the soft PVC.') mscAtmIfVccDstCallingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1, 4), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(7, 40))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccDstCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstCallingAddress.setDescription('This attribute represents the remote address of the soft PVC. If the address in not known, then the value of this address is Unknown.') mscAtmIfVccDstCallingVpiVci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1, 5), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(7, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVccDstCallingVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstCallingVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC. If the VPI and VCI values are not known, this attribute is set to Unknown.') mscAtmIfVptVccSrc = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8)) mscAtmIfVptVccSrcRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1), ) if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccSrc components.') mscAtmIfVptVccSrcRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccSrc component.') mscAtmIfVptVccSrcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccSrc components. These components can be added and deleted.') mscAtmIfVptVccSrcComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccSrcComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVptVccSrcStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccSrcStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccSrc tables.') mscAtmIfVptVccSrcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVptVccSrcIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcIndex.setDescription('This variable represents the index for the mscAtmIfVptVccSrc tables.') mscAtmIfVptVccSrcProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10), ) if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvTable.setDescription('This attribute group contains the provisionable attributes of the SourcePvc component.') mscAtmIfVptVccSrcProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvEntry.setDescription('An entry in the mscAtmIfVptVccSrcProvTable.') mscAtmIfVptVccSrcRemoteAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 1), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteAddress.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteAddress.setDescription('This attribute represents the remote address of the soft PVC.') mscAtmIfVptVccSrcRemoteVpiVci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 2), IntegerSequence().subtype(subtypeSpec=ValueSizeConstraint(3, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteVpiVci.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') mscAtmIfVptVccSrcCallingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 20)).clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVptVccSrcCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCallingAddress.setDescription('This attribute represents the calling address of the soft PVC. If it is a null string, then the calling address is the address of the current interface (that is, where the soft PVC originates).') mscAtmIfVptVccSrcCalledAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 4), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledAddress.setDescription('This attribute represents the called (remote) address of the soft PVC.') mscAtmIfVptVccSrcCalledVpiVci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 5), IntegerSequence().subtype(subtypeSpec=ValueSizeConstraint(3, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') mscAtmIfVptVccSrcOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11), ) if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperTable.setDescription('This attribute group contains the operational attributes associated with the SrcPvp or SrcPvc component.') mscAtmIfVptVccSrcOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccSrcIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperEntry.setDescription('An entry in the mscAtmIfVptVccSrcOperTable.') mscAtmIfVptVccSrcState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("active", 0), ("inactive", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccSrcState.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcState.setDescription('This attribute indicates the state of the soft PVP or soft PVC.') mscAtmIfVptVccSrcRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccSrcRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRetryCount.setDescription('This attribute indicates the number of failed attempts to set up the soft PVP or soft PVC since the last time the connection failed.') mscAtmIfVptVccSrcLastFailureCauseCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureCauseCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureCauseCode.setDescription('This attribute contains the cause code in the last transmitted signalling message that contains the CAUSE information element. The cause code is used to describe the reason for generating certain signalling messages. The default value for this attribute is set to 0.') mscAtmIfVptVccSrcLastFailureDiagCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 4), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureDiagCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureDiagCode.setDescription('This attribute contains the diagnostic code in the last transmitted signalling message. The diagnostic code is contained in the CAUSE information element and identifies an information element type or timer type. The diagnostic code is present only if a procedural error is detected by the signalling protocol. A diagnostic code is always accompanied by the cause code. If there is no failure, this attribute is set to NULL.') mscAtmIfVptVccEp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9)) mscAtmIfVptVccEpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1), ) if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccEp components.') mscAtmIfVptVccEpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccEpIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccEp component.') mscAtmIfVptVccEpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccEp components. These components cannot be added nor deleted.') mscAtmIfVptVccEpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccEpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVptVccEpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccEpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccEp tables.') mscAtmIfVptVccEpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVptVccEpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpIndex.setDescription('This variable represents the index for the mscAtmIfVptVccEp tables.') mscAtmIfVptVccEpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 10), ) if mibBuilder.loadTexts: mscAtmIfVptVccEpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpOperTable.setDescription('This attribute group contains the operational attributes for the AtmEndPoint component.') mscAtmIfVptVccEpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccEpIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccEpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpOperEntry.setDescription('An entry in the mscAtmIfVptVccEpOperTable.') mscAtmIfVptVccEpApplicationName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccEpApplicationName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpApplicationName.setDescription('This attribute indicates the component name associated with the application associated with the switched VCC.') mscAtmIfVptVccRp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10)) mscAtmIfVptVccRpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1), ) if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccRp components.') mscAtmIfVptVccRpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccRpIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccRp component.') mscAtmIfVptVccRpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccRp components. These components cannot be added nor deleted.') mscAtmIfVptVccRpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccRpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVptVccRpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccRpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccRp tables.') mscAtmIfVptVccRpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVptVccRpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpIndex.setDescription('This variable represents the index for the mscAtmIfVptVccRp tables.') mscAtmIfVptVccRpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 10), ) if mibBuilder.loadTexts: mscAtmIfVptVccRpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpOperTable.setDescription('This attribute group contains the operational attributes for the AtmRelayPoint component.') mscAtmIfVptVccRpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccRpIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccRpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpOperEntry.setDescription('An entry in the mscAtmIfVptVccRpOperTable.') mscAtmIfVptVccRpNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHop.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHop.setDescription('This attribute indicates the component name of the Rp component with which this Rp component is associated.') mscAtmIfVptVccRpNextHopsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 430), ) if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsTable.setDescription('This attribute indicates the component name(s) of the Rp component(s) with which this Rp component is associated. This attribute can have more than one component name only when the Vcc distributionType is pointToMultipoint and the callDirection is fromLink.') mscAtmIfVptVccRpNextHopsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 430, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccRpIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccRpNextHopsValue")) if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsEntry.setDescription('An entry in the mscAtmIfVptVccRpNextHopsTable.') mscAtmIfVptVccRpNextHopsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 430, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsValue.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsValue.setDescription('This variable represents both the value and the index for the mscAtmIfVptVccRpNextHopsTable.') mscAtmIfVptVccDst = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11)) mscAtmIfVptVccDstRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1), ) if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccDst components.') mscAtmIfVptVccDstRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccDstIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccDst component.') mscAtmIfVptVccDstRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccDst components. These components cannot be added nor deleted.') mscAtmIfVptVccDstComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccDstComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") mscAtmIfVptVccDstStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccDstStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccDst tables.') mscAtmIfVptVccDstIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscAtmIfVptVccDstIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstIndex.setDescription('This variable represents the index for the mscAtmIfVptVccDst tables.') mscAtmIfVptVccDstOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10), ) if mibBuilder.loadTexts: mscAtmIfVptVccDstOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstOperTable.setDescription('This attribute group contains the operational attributes for the DestinationPvc component.') mscAtmIfVptVccDstOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmCoreMIB", "mscAtmIfVptVccIndex"), (0, "Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", "mscAtmIfVptVccDstIndex")) if mibBuilder.loadTexts: mscAtmIfVptVccDstOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstOperEntry.setDescription('An entry in the mscAtmIfVptVccDstOperTable.') mscAtmIfVptVccDstCalledAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccDstCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstCalledAddress.setDescription('This attribute represents the called address of the soft PVC.') mscAtmIfVptVccDstCallingAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1, 4), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(7, 40))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingAddress.setDescription('This attribute represents the remote address of the soft PVC. If the address in not known, then the value of this address is Unknown.') mscAtmIfVptVccDstCallingVpiVci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1, 5), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(7, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC. If the VPI and VCI values are not known, this attribute is set to Unknown.') atmNetworkingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1)) atmNetworkingGroupCA = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1, 1)) atmNetworkingGroupCA02 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1, 1, 3)) atmNetworkingGroupCA02A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1, 1, 3, 2)) atmNetworkingCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3)) atmNetworkingCapabilitiesCA = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3, 1)) atmNetworkingCapabilitiesCA02 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3, 1, 3)) atmNetworkingCapabilitiesCA02A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3, 1, 3, 2)) mibBuilder.exportSymbols("Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", mscARtgPnniThreshParmsTable=mscARtgPnniThreshParmsTable, mscARtgPnniCfgNodeNbrStatsEntry=mscARtgPnniCfgNodeNbrStatsEntry, mscARtgPnniCfgNodeDefSAddrIndex=mscARtgPnniCfgNodeDefSAddrIndex, mscARtgDnaDestInfoRowStatusEntry=mscARtgDnaDestInfoRowStatusEntry, mscARtgPnniPtseLifetimeFactor=mscARtgPnniPtseLifetimeFactor, mscARtgPnniCfgNodeDefSAddrAddress=mscARtgPnniCfgNodeDefSAddrAddress, atmNetworkingGroupCA02=atmNetworkingGroupCA02, atmNetworkingCapabilitiesCA02=atmNetworkingCapabilitiesCA02, mscARtgPnniRfFqpIndex=mscARtgPnniRfFqpIndex, mscARtgPnniCfgNodeDefSAddrOperTable=mscARtgPnniCfgNodeDefSAddrOperTable, mscARtgPnniPglInitTime=mscARtgPnniPglInitTime, mscARtgPnniCfgNodeSAddrPrefixLengthIndex=mscARtgPnniCfgNodeSAddrPrefixLengthIndex, mscAtmIfVptVccRpComponentName=mscAtmIfVptVccRpComponentName, mscAtmIfVccDstOperTable=mscAtmIfVccDstOperTable, mscARtgPnniRfBqpEntry=mscARtgPnniRfBqpEntry, mscARtgPnniCfgNodeNbrPtseTx=mscARtgPnniCfgNodeNbrPtseTx, mscARtgPnniTopNodeRowStatusTable=mscARtgPnniTopNodeRowStatusTable, mscARtgPnniDomain=mscARtgPnniDomain, mscAtmIfVptVccSrcComponentName=mscAtmIfVptVccSrcComponentName, mscARtgPnniRowStatus=mscARtgPnniRowStatus, mscARtgPnniTopIndex=mscARtgPnniTopIndex, mscARtgPnniRfTxTdpTable=mscARtgPnniRfTxTdpTable, mscARtgPnniCfgNodeSAddrRowStatusTable=mscARtgPnniCfgNodeSAddrRowStatusTable, mscAtmIfVccEpStorageType=mscAtmIfVccEpStorageType, mscAtmIfVpcSrcLastFailureDiagCode=mscAtmIfVpcSrcLastFailureDiagCode, mscARtgPnniCfgNodeDefSAddrStorageType=mscARtgPnniCfgNodeDefSAddrStorageType, mscAtmCRCallsRouted=mscAtmCRCallsRouted, mscARtgPnniRfFqpValue=mscARtgPnniRfFqpValue, mscARtgPnniSuccessfulRoutingAttempts=mscARtgPnniSuccessfulRoutingAttempts, mscAtmIfVptVccEpIndex=mscAtmIfVptVccEpIndex, mscARtgPnniReElectionInterval=mscARtgPnniReElectionInterval, mscARtgPnniCfgNodeDefSAddrRowStatus=mscARtgPnniCfgNodeDefSAddrRowStatus, mscARtgStorageType=mscARtgStorageType, mscARtgPnniCfgNodeNbrIndex=mscARtgPnniCfgNodeNbrIndex, mscARtgPnniCfgNodeNbrBadPtseAckRx=mscARtgPnniCfgNodeNbrBadPtseAckRx, mscAtmIfVccSrcProvEntry=mscAtmIfVccSrcProvEntry, mscARtgPnniTopologyMemoryExhaustion=mscARtgPnniTopologyMemoryExhaustion, mscAtmIfVptVccSrcCallingAddress=mscAtmIfVptVccSrcCallingAddress, mscAtmIfVptVccSrcStorageType=mscAtmIfVptVccSrcStorageType, mscARtgPnniHelloInterval=mscARtgPnniHelloInterval, mscAtmIfVccDstComponentName=mscAtmIfVccDstComponentName, mscARtgPnniPtseParmsTable=mscARtgPnniPtseParmsTable, mscAtmIfVpcSrcComponentName=mscAtmIfVpcSrcComponentName, mscAtmIfVptVccSrcRetryCount=mscAtmIfVptVccSrcRetryCount, mscAtmIfVptVccSrcRemoteVpiVci=mscAtmIfVptVccSrcRemoteVpiVci, mscAtmCRRowStatusEntry=mscAtmCRRowStatusEntry, mscARtgPnniIndex=mscARtgPnniIndex, mscAtmCRDnaStorageType=mscAtmCRDnaStorageType, mscARtgPnniTopNodeLinkRowStatusEntry=mscARtgPnniTopNodeLinkRowStatusEntry, mscAtmIfVptVccRpRowStatus=mscAtmIfVptVccRpRowStatus, mscAtmIfVptVccEp=mscAtmIfVptVccEp, mscAtmIfVptVccRpNextHop=mscAtmIfVptVccRpNextHop, mscAtmIfVccRpNextHop=mscAtmIfVccRpNextHop, mscAtmIfVpcDst=mscAtmIfVpcDst, mscARtgPnniTopNodeLinkComponentName=mscARtgPnniTopNodeLinkComponentName, mscAtmCRProvEntry=mscAtmCRProvEntry, mscARtgDnaDestInfoOperTable=mscARtgDnaDestInfoOperTable, mscARtgPnniThreshParmsEntry=mscARtgPnniThreshParmsEntry, mscARtgPnniCfgNodeNbr=mscARtgPnniCfgNodeNbr, mscARtgPnniHlParmsEntry=mscARtgPnniHlParmsEntry, mscAtmIfVccRpComponentName=mscAtmIfVccRpComponentName, mscARtgPnniCfgNodeDefSAddr=mscARtgPnniCfgNodeDefSAddr, mscAtmIfVptVccSrcProvTable=mscAtmIfVptVccSrcProvTable, mscARtgPnniDefaultScope=mscARtgPnniDefaultScope, mscARtgPnniTopComponentName=mscARtgPnniTopComponentName, mscAtmIfVccSrcStorageType=mscAtmIfVccSrcStorageType, mscARtgPnniCfgNodeNumRccs=mscARtgPnniCfgNodeNumRccs, mscAtmIfVptVccEpRowStatusTable=mscAtmIfVptVccEpRowStatusTable, mscARtgPnniRfRxTdpIndex=mscARtgPnniRfRxTdpIndex, mscAtmIfVpcRp=mscAtmIfVpcRp, mscARtgPnniNodeAddressPrefix=mscARtgPnniNodeAddressPrefix, mscAtmIfVpcRpRowStatus=mscAtmIfVpcRpRowStatus, mscAtmIfVptVccDstCalledAddress=mscAtmIfVptVccDstCalledAddress, mscAtmIfVccDstCallingAddress=mscAtmIfVccDstCallingAddress, mscARtgPnniCfgNodeSAddrRowStatusEntry=mscARtgPnniCfgNodeSAddrRowStatusEntry, mscARtgPnniRfTxTrafficDescType=mscARtgPnniRfTxTrafficDescType, mscAtmIfVptVccEpStorageType=mscAtmIfVptVccEpStorageType, mscARtgPnniAvcrPm=mscARtgPnniAvcrPm, mscAtmIfVpcSrcRowStatusTable=mscAtmIfVpcSrcRowStatusTable, mscAtmIfVpcSrcStorageType=mscAtmIfVpcSrcStorageType, mscARtgPnniCfgNodeSAddrScope=mscARtgPnniCfgNodeSAddrScope, mscAtmIfVccSrcCalledAddress=mscAtmIfVccSrcCalledAddress, mscAtmIfVpcDstRowStatusTable=mscAtmIfVpcDstRowStatusTable, mscAtmIfVpcDstIndex=mscAtmIfVpcDstIndex, mscARtgPnniCfgNodeNbrPtseRx=mscARtgPnniCfgNodeNbrPtseRx, atmNetworkingGroupCA=atmNetworkingGroupCA, mscARtgPnniTopNodeComponentName=mscARtgPnniTopNodeComponentName, atmNetworkingMIB=atmNetworkingMIB, mscARtgPnniCfgNodeNodeId=mscARtgPnniCfgNodeNodeId, mscAtmCRStatsEntry=mscAtmCRStatsEntry, mscAtmIfVccSrcState=mscAtmIfVccSrcState, mscARtgPnniCfgNodeSAddrSuppress=mscARtgPnniCfgNodeSAddrSuppress, mscAtmIfVccDstIndex=mscAtmIfVccDstIndex, mscAtmIfVccRp=mscAtmIfVccRp, mscAtmIfVccRpStorageType=mscAtmIfVccRpStorageType, mscARtgPnniOperEntry=mscARtgPnniOperEntry, mscARtgPnniRfRowStatusTable=mscARtgPnniRfRowStatusTable, mscARtgDnaRowStatus=mscARtgDnaRowStatus, mscARtgPnni=mscARtgPnni, mscARtgPnniTopNodeRowStatus=mscARtgPnniTopNodeRowStatus, mscAtmIfVccSrcProvTable=mscAtmIfVccSrcProvTable, mscARtgPnniStatsEntry=mscARtgPnniStatsEntry, mscAtmIfVptVccSrcOperTable=mscAtmIfVptVccSrcOperTable, mscAtmIfVptVccEpOperTable=mscAtmIfVptVccEpOperTable, mscAtmCRDnaDestinationNameValue=mscAtmCRDnaDestinationNameValue, mscAtmIfVpcRpNextHopsTable=mscAtmIfVpcRpNextHopsTable, mscAtmIfVptVccDstStorageType=mscAtmIfVptVccDstStorageType, mscAtmIfVpcRpStorageType=mscAtmIfVpcRpStorageType, mscARtgPnniTopStorageType=mscARtgPnniTopStorageType, mscAtmCRDnaDestinationNameTable=mscAtmCRDnaDestinationNameTable, mscARtgPnniRfFqpEntry=mscARtgPnniRfFqpEntry, mscAtmIfVptVccSrcRemoteAddress=mscAtmIfVptVccSrcRemoteAddress, mscARtgDnaDestInfoRowStatus=mscARtgDnaDestInfoRowStatus, mscAtmIfVccRpIndex=mscAtmIfVccRpIndex, mscAtmIfVptVccDstRowStatus=mscAtmIfVptVccDstRowStatus, mscARtgPnniCfgNodeDefSAddrOperEntry=mscARtgPnniCfgNodeDefSAddrOperEntry, mscAtmIfVccSrcOperEntry=mscAtmIfVccSrcOperEntry, mscARtgPnniCfgNodeComponentName=mscARtgPnniCfgNodeComponentName, mscAtmIfVptVccDst=mscAtmIfVptVccDst, mscAtmIfVptVccSrcRowStatus=mscAtmIfVptVccSrcRowStatus, mscARtgPnniPortComponentName=mscARtgPnniPortComponentName, mscARtgPnniHelloInactivityFactor=mscARtgPnniHelloInactivityFactor, mscAtmIfVpcSrcRetryCount=mscAtmIfVpcSrcRetryCount, mscAtmIfVccDstStorageType=mscAtmIfVccDstStorageType, mscARtgPnniCfgNodeOpNodeId=mscARtgPnniCfgNodeOpNodeId, mscARtgPnniRfBestEffort=mscARtgPnniRfBestEffort, mscARtgDnaDestInfoReachability=mscARtgDnaDestInfoReachability, mscARtgPnniRfCriteriaTable=mscARtgPnniRfCriteriaTable, mscARtgPnniRequestRxmtInterval=mscARtgPnniRequestRxmtInterval, mscARtg=mscARtg, mscARtgPnniCfgNodeNbrRowStatusEntry=mscARtgPnniCfgNodeNbrRowStatusEntry, mscARtgPnniHlParmsTable=mscARtgPnniHlParmsTable, mscAtmIfVccRpRowStatusEntry=mscAtmIfVccRpRowStatusEntry, mscARtgPnniRfClippingBbc=mscARtgPnniRfClippingBbc, mscARtgDnaDestInfoIndex=mscARtgDnaDestInfoIndex, mscAtmIfVptVccDstCallingAddress=mscAtmIfVptVccDstCallingAddress, mscARtgDnaDestInfoOperEntry=mscARtgDnaDestInfoOperEntry, mscARtgPnniAlternateRoutingAttempts=mscARtgPnniAlternateRoutingAttempts, mscARtgPnniCfgNodeNbrPtspTx=mscARtgPnniCfgNodeNbrPtspTx, mscARtgPnniFailedRoutingAttempts=mscARtgPnniFailedRoutingAttempts, mscAtmIfVptVccDstCallingVpiVci=mscAtmIfVptVccDstCallingVpiVci, mscARtgPnniCfgNodeStorageType=mscARtgPnniCfgNodeStorageType, mscARtgPnniRfAtmServiceCategory=mscARtgPnniRfAtmServiceCategory, mscAtmIfVccEpIndex=mscAtmIfVccEpIndex, mscAtmIfVccSrcRowStatus=mscAtmIfVccSrcRowStatus, mscARtgPnniCfgNodeNbrRccListValue=mscARtgPnniCfgNodeNbrRccListValue, mscARtgPnniCfgNodeProvTable=mscARtgPnniCfgNodeProvTable, mscAtmIfVptVccRpNextHopsValue=mscAtmIfVptVccRpNextHopsValue, mscAtmIfVpcSrcRowStatusEntry=mscAtmIfVpcSrcRowStatusEntry, mscARtgPnniTopNodeAddrAddressIndex=mscARtgPnniTopNodeAddrAddressIndex, mscAtmIfVccSrcRemoteAddress=mscAtmIfVccSrcRemoteAddress, mscARtgPnniTopOperTable=mscARtgPnniTopOperTable, mscAtmIfVccSrcLastFailureCauseCode=mscAtmIfVccSrcLastFailureCauseCode, mscARtgPnniRfTxTdpIndex=mscARtgPnniRfTxTdpIndex, mscARtgPnniCfgNodeIndex=mscARtgPnniCfgNodeIndex, mscAtmIfVptVccDstIndex=mscAtmIfVptVccDstIndex, mscAtmIfVpcSrcIndex=mscAtmIfVpcSrcIndex, mscARtgPnniCfgNodeNbrDbSummariesTx=mscARtgPnniCfgNodeNbrDbSummariesTx, mscARtgPnniCfgNodeSAddrComponentName=mscARtgPnniCfgNodeSAddrComponentName, mscARtgPnniRfFwdQosClass=mscARtgPnniRfFwdQosClass, mscAtmCRStatsTable=mscAtmCRStatsTable, mscAtmIfVpcRpRowStatusEntry=mscAtmIfVpcRpRowStatusEntry, mscARtgDnaDestInfo=mscARtgDnaDestInfo, mscARtgPnniCfgNodeNbrPtspRx=mscARtgPnniCfgNodeNbrPtspRx, mscAtmIfVccEp=mscAtmIfVccEp, mscAtmIfVptVccDstOperEntry=mscAtmIfVptVccDstOperEntry, mscARtgPnniTop=mscARtgPnniTop, mscAtmIfVpcSrcLastFailureCauseCode=mscAtmIfVpcSrcLastFailureCauseCode, mscARtgRowStatusTable=mscARtgRowStatusTable, mscAtmIfVptVccSrcCalledVpiVci=mscAtmIfVptVccSrcCalledVpiVci, mscAtmIfVptVccRpStorageType=mscAtmIfVptVccRpStorageType, mscARtgPnniCfgNodeNbrOperTable=mscARtgPnniCfgNodeNbrOperTable, mscARtgPnniTopNodeLinkOperEntry=mscARtgPnniTopNodeLinkOperEntry, mscAtmIfVpcRpOperTable=mscAtmIfVpcRpOperTable, mscAtmIfVccEpRowStatusEntry=mscAtmIfVccEpRowStatusEntry, mscARtgPnniTopNodeAddrScope=mscARtgPnniTopNodeAddrScope, mscAtmIfVpcRpOperEntry=mscAtmIfVpcRpOperEntry, mscARtgPnniRfDestinationAddress=mscARtgPnniRfDestinationAddress, mscARtgPnniCfgNodeNbrRowStatus=mscARtgPnniCfgNodeNbrRowStatus, mscARtgPnniTopNodeAddrRowStatus=mscARtgPnniTopNodeAddrRowStatus, mscARtgPnniCfgNodeRowStatus=mscARtgPnniCfgNodeRowStatus, mscARtgPnniCfgNodeDefSAddrRowStatusEntry=mscARtgPnniCfgNodeDefSAddrRowStatusEntry, mscARtgPnniCfgNodeDefSAddrDefAddrEntry=mscARtgPnniCfgNodeDefSAddrDefAddrEntry, mscAtmIfVptVccSrcOperEntry=mscAtmIfVptVccSrcOperEntry, mscAtmIfVpcSrcOperEntry=mscAtmIfVpcSrcOperEntry, mscARtgDnaDestInfoType=mscARtgDnaDestInfoType, mscARtgPnniPortRowStatus=mscARtgPnniPortRowStatus, mscARtgStatsTable=mscARtgStatsTable, mscAtmIfVptVccSrcLastFailureCauseCode=mscAtmIfVptVccSrcLastFailureCauseCode, mscAtmIfVptVccRpNextHopsEntry=mscAtmIfVptVccRpNextHopsEntry, mscAtmIfVptVccDstRowStatusTable=mscAtmIfVptVccDstRowStatusTable, mscARtgPnniRfBqpTable=mscARtgPnniRfBqpTable, mscARtgPnniRowStatusEntry=mscARtgPnniRowStatusEntry, mscARtgPnniOverrideDelay=mscARtgPnniOverrideDelay, mscARtgPnniRfIndex=mscARtgPnniRfIndex, mscAtmIfVccDstCallingVpiVci=mscAtmIfVccDstCallingVpiVci, mscARtgPnniCfgNodeNbrComponentName=mscARtgPnniCfgNodeNbrComponentName, mscAtmIfVccRpNextHopsEntry=mscAtmIfVccRpNextHopsEntry, mscARtgPnniPortRowStatusEntry=mscARtgPnniPortRowStatusEntry, mscARtgPnniStorageType=mscARtgPnniStorageType, mscAtmIfVptVccRpOperEntry=mscAtmIfVptVccRpOperEntry, mscARtgPnniTopNodeLinkRowStatus=mscARtgPnniTopNodeLinkRowStatus, mscARtgPnniRfTxTdpEntry=mscARtgPnniRfTxTdpEntry, mscARtgPnniCfgNodeOperEntry=mscARtgPnniCfgNodeOperEntry, mscARtgPnniCfgNodeSAddrState=mscARtgPnniCfgNodeSAddrState, mscARtgPnniCfgNodeSAddrProvEntry=mscARtgPnniCfgNodeSAddrProvEntry, mscARtgRowStatusEntry=mscARtgRowStatusEntry, mscARtgPnniRfRxTdpEntry=mscARtgPnniRfRxTdpEntry, mscAtmIfVccSrcIndex=mscAtmIfVccSrcIndex, mscARtgDnaDestInfoComponentName=mscARtgDnaDestInfoComponentName, mscAtmIfVptVccSrcState=mscAtmIfVptVccSrcState, mscAtmIfVccDstRowStatus=mscAtmIfVccDstRowStatus, mscARtgPnniProvTable=mscARtgPnniProvTable, mscARtgPnniRf=mscARtgPnniRf, mscAtmIfVccSrc=mscAtmIfVccSrc, mscARtgPnniCfgNodeCurrentLeadershipPriority=mscARtgPnniCfgNodeCurrentLeadershipPriority, mscARtgPnniPortStorageType=mscARtgPnniPortStorageType, mscAtmIfVccDstRowStatusEntry=mscAtmIfVccDstRowStatusEntry, mscARtgPnniCfgNodeNbrRowStatusTable=mscARtgPnniCfgNodeNbrRowStatusTable, mscARtgPnniRfBearerClassBbc=mscARtgPnniRfBearerClassBbc, mscARtgPnniCfgNodeNbrBadPtseReqRx=mscARtgPnniCfgNodeNbrBadPtseReqRx, mscAtmIfVpcDstOperTable=mscAtmIfVpcDstOperTable, mscAtmIfVptVccSrcProvEntry=mscAtmIfVptVccSrcProvEntry, mscARtgDnaDestInfoRowStatusTable=mscARtgDnaDestInfoRowStatusTable, mscARtgPnniRfRowStatusEntry=mscARtgPnniRfRowStatusEntry, mscAtmIfVpcSrcCalledVpi=mscAtmIfVpcSrcCalledVpi, mscAtmCRNodeAddress=mscAtmCRNodeAddress, mscAtmCRDna=mscAtmCRDna, mscAtmCRProvTable=mscAtmCRProvTable, mscARtgPnniCfgNodeSAddrRowStatus=mscARtgPnniCfgNodeSAddrRowStatus, mscAtmCRDnaRowStatusTable=mscAtmCRDnaRowStatusTable, mscARtgPnniRfRowStatus=mscARtgPnniRfRowStatus, mscAtmCRComponentName=mscAtmCRComponentName, mscAtmIfVccSrcRowStatusTable=mscAtmIfVccSrcRowStatusTable, mscAtmIfVptVccSrcRowStatusTable=mscAtmIfVptVccSrcRowStatusTable, mscARtgPnniCfgNodeDefSAddrRowStatusTable=mscARtgPnniCfgNodeDefSAddrRowStatusTable, mscARtgPnniTopNode=mscARtgPnniTopNode, mscARtgPnniPort=mscARtgPnniPort, mscAtmIfVpcSrcProvTable=mscAtmIfVpcSrcProvTable, mscARtgPnniTopNodeLinkIndex=mscARtgPnniTopNodeLinkIndex, mscARtgPnniOperTable=mscARtgPnniOperTable, mscARtgPnniPortIndex=mscARtgPnniPortIndex, mscAtmIfVptVccDstComponentName=mscAtmIfVptVccDstComponentName, mscAtmIfVccSrcRemoteVpiVci=mscAtmIfVccSrcRemoteVpiVci, mscARtgPnniTopPtsesInDatabase=mscARtgPnniTopPtsesInDatabase, mscAtmIfVccRpRowStatusTable=mscAtmIfVccRpRowStatusTable, mscARtgPnniRfOptimizationMetric=mscARtgPnniRfOptimizationMetric, mscAtmIfVpcSrcOperTable=mscAtmIfVpcSrcOperTable, mscARtgPnniTopNodeLinkOperTable=mscARtgPnniTopNodeLinkOperTable, mscAtmCRRowStatusTable=mscAtmCRRowStatusTable, mscARtgPnniCfgNodeDefSAddrDefAddrTable=mscARtgPnniCfgNodeDefSAddrDefAddrTable, mscAtmIfVpcDstStorageType=mscAtmIfVpcDstStorageType, mscARtgPnniTopNodeLinkRemoteNodeId=mscARtgPnniTopNodeLinkRemoteNodeId, mscARtgPnniCfgNodeOperTable=mscARtgPnniCfgNodeOperTable) mibBuilder.exportSymbols("Nortel-MsCarrier-MscPassport-AtmNetworkingMIB", mscARtgPnniPglParmsEntry=mscARtgPnniPglParmsEntry, mscAtmIfVccSrcOperTable=mscAtmIfVccSrcOperTable, mscARtgPnniCfgNodeDefSAddrComponentName=mscARtgPnniCfgNodeDefSAddrComponentName, mscARtgPnniTopNodeAddrReachabilityIndex=mscARtgPnniTopNodeAddrReachabilityIndex, mscARtgPnniRfCriteriaEntry=mscARtgPnniRfCriteriaEntry, mscARtgPnniPeerDelayedAckInterval=mscARtgPnniPeerDelayedAckInterval, mscAtmIfVpcSrcRowStatus=mscAtmIfVpcSrcRowStatus, mscAtmIfVccDst=mscAtmIfVccDst, mscARtgPnniTopRowStatusEntry=mscARtgPnniTopRowStatusEntry, mscARtgPnniRfFqpTable=mscARtgPnniRfFqpTable, mscARtgPnniPortOperTable=mscARtgPnniPortOperTable, mscARtgPnniComponentName=mscARtgPnniComponentName, mscAtmIfVccSrcCalledVpiVci=mscAtmIfVccSrcCalledVpiVci, mscAtmIfVccSrcRowStatusEntry=mscAtmIfVccSrcRowStatusEntry, mscAtmIfVpcRpIndex=mscAtmIfVpcRpIndex, mscARtgPnniTopNodeLinkRemotePortId=mscARtgPnniTopNodeLinkRemotePortId, mscARtgPnniCfgNodeNbrBadPtspRx=mscARtgPnniCfgNodeNbrBadPtspRx, mscAtmIfVptVccRpRowStatusEntry=mscAtmIfVptVccRpRowStatusEntry, mscAtmIfVpcDstCallingAddress=mscAtmIfVpcDstCallingAddress, mscARtgPnniPglParmsTable=mscARtgPnniPglParmsTable, mscARtgPnniPortStdComponentName=mscARtgPnniPortStdComponentName, atmNetworkingGroup=atmNetworkingGroup, mscARtgDnaStorageType=mscARtgDnaStorageType, mscARtgDnaDestInfoStdComponentName=mscARtgDnaDestInfoStdComponentName, mscAtmCRCallsFailed=mscAtmCRCallsFailed, mscARtgRoutingAttempts=mscARtgRoutingAttempts, mscAtmIfVptVccDstOperTable=mscAtmIfVptVccDstOperTable, mscARtgPnniMaxAlternateRoutesOnCrankback=mscARtgPnniMaxAlternateRoutesOnCrankback, mscAtmIfVptVccSrcIndex=mscAtmIfVptVccSrcIndex, mscAtmIfVptVccRpRowStatusTable=mscAtmIfVptVccRpRowStatusTable, mscARtgPnniRfBqpIndex=mscARtgPnniRfBqpIndex, mscAtmIfVpcDstRowStatus=mscAtmIfVpcDstRowStatus, mscARtgPnniProvEntry=mscARtgPnniProvEntry, mscARtgPnniCfgNodeNbrPtseAcksRx=mscARtgPnniCfgNodeNbrPtseAcksRx, mscAtmIfVccRpNextHopsValue=mscAtmIfVccRpNextHopsValue, mscAtmIfVptVccRpNextHopsTable=mscAtmIfVptVccRpNextHopsTable, mscARtgPnniTopActiveParentNodeId=mscARtgPnniTopActiveParentNodeId, mscAtmIfVptVccEpRowStatusEntry=mscAtmIfVptVccEpRowStatusEntry, mscAtmIfVptVccEpApplicationName=mscAtmIfVptVccEpApplicationName, mscAtmIfVpcRpNextHopsValue=mscAtmIfVpcRpNextHopsValue, mscARtgPnniCfgNodeNbrRccListTable=mscARtgPnniCfgNodeNbrRccListTable, mscAtmIfVpcRpNextHop=mscAtmIfVpcRpNextHop, mscARtgPnniCfgNodeNbrPtseAcksTx=mscARtgPnniCfgNodeNbrPtseAcksTx, mscARtgPnniTopRowStatusTable=mscARtgPnniTopRowStatusTable, mscARtgPnniCfgNodeNbrStatsTable=mscARtgPnniCfgNodeNbrStatsTable, mscARtgPnniRestrictTransit=mscARtgPnniRestrictTransit, mscARtgPnniOptMetricTable=mscARtgPnniOptMetricTable, mscARtgPnniCfgNodeDefSAddrState=mscARtgPnniCfgNodeDefSAddrState, mscAtmIfVptVccSrcRowStatusEntry=mscAtmIfVptVccSrcRowStatusEntry, mscARtgIndex=mscARtgIndex, mscARtgPnniCfgNodeNumNeighbors=mscARtgPnniCfgNodeNumNeighbors, mscARtgPnniCfgNodeSAddrProvTable=mscARtgPnniCfgNodeSAddrProvTable, mscAtmIfVccRpRowStatus=mscAtmIfVccRpRowStatus, mscARtgPnniRfTransferCapabilityBbc=mscARtgPnniRfTransferCapabilityBbc, mscARtgPnniCfgNode=mscARtgPnniCfgNode, mscAtmIfVptVccRpIndex=mscAtmIfVptVccRpIndex, mscARtgPnniRfBwdQosClass=mscARtgPnniRfBwdQosClass, mscARtgPnniCfgNodeNbrPeerState=mscARtgPnniCfgNodeNbrPeerState, mscARtgPnniTopNodeAddrComponentName=mscARtgPnniTopNodeAddrComponentName, atmNetworkingGroupCA02A=atmNetworkingGroupCA02A, mscARtgPnniTopNodeRowStatusEntry=mscARtgPnniTopNodeRowStatusEntry, mscAtmCR=mscAtmCR, mscAtmIfVptVccEpComponentName=mscAtmIfVptVccEpComponentName, mscARtgPnniCfgNodeNbrDbSummariesRx=mscARtgPnniCfgNodeNbrDbSummariesRx, mscARtgPnniOptMetricValue=mscARtgPnniOptMetricValue, mscARtgPnniTopPglNodeId=mscARtgPnniTopPglNodeId, mscARtgDnaDestInfoStorageType=mscARtgDnaDestInfoStorageType, mscARtgDnaRowStatusEntry=mscARtgDnaRowStatusEntry, mscAtmIfVpcSrcState=mscAtmIfVpcSrcState, mscARtgPnniCfgNodeSAddrAddressIndex=mscARtgPnniCfgNodeSAddrAddressIndex, mscARtgPnniStatsTable=mscARtgPnniStatsTable, mscAtmIfVptVccRpOperTable=mscAtmIfVptVccRpOperTable, mscAtmIfVpcDstRowStatusEntry=mscAtmIfVpcDstRowStatusEntry, mscAtmIfVpcSrcProvEntry=mscAtmIfVpcSrcProvEntry, mscARtgStatsEntry=mscARtgStatsEntry, mscARtgPnniCfgNodeNodeAddress=mscARtgPnniCfgNodeNodeAddress, mscAtmIfVptVccEpRowStatus=mscAtmIfVptVccEpRowStatus, mscAtmIfVpcDstCalledAddress=mscAtmIfVpcDstCalledAddress, mscARtgPnniCfgNodeNbrPtseReqTx=mscARtgPnniCfgNodeNbrPtseReqTx, mscAtmIfVccDstCalledAddress=mscAtmIfVccDstCalledAddress, mscAtmIfVptVccRp=mscAtmIfVptVccRp, mscARtgPnniTopNodeAddrPrefixLengthIndex=mscARtgPnniTopNodeAddrPrefixLengthIndex, mscAtmIfVpcDstComponentName=mscAtmIfVpcDstComponentName, mscAtmIfVccSrcCallingAddress=mscAtmIfVccSrcCallingAddress, mscARtgPnniTopNodeIndex=mscARtgPnniTopNodeIndex, mscAtmIfVccDstRowStatusTable=mscAtmIfVccDstRowStatusTable, mscARtgPnniCfgNodeSAddr=mscARtgPnniCfgNodeSAddr, mscARtgPnniCfgNodeRowStatusEntry=mscARtgPnniCfgNodeRowStatusEntry, mscAtmCRDnaIndex=mscAtmCRDnaIndex, mscARtgPnniCfgNodeNbrRccListEntry=mscARtgPnniCfgNodeNbrRccListEntry, mscARtgPnniPtseHoldDown=mscARtgPnniPtseHoldDown, mscARtgPnniRfMaxRoutes=mscARtgPnniRfMaxRoutes, mscARtgPnniTopNodeAddrOperTable=mscARtgPnniTopNodeAddrOperTable, mscARtgDna=mscARtgDna, mscAtmIfVccEpApplicationName=mscAtmIfVccEpApplicationName, mscAtmIfVccEpComponentName=mscAtmIfVccEpComponentName, atmNetworkingCapabilitiesCA=atmNetworkingCapabilitiesCA, mscARtgPnniTopNodeLinkStorageType=mscARtgPnniTopNodeLinkStorageType, mscARtgPnniRfTxTdpValue=mscARtgPnniRfTxTdpValue, mscARtgRowStatus=mscARtgRowStatus, mscARtgPnniTopNodeLinkRowStatusTable=mscARtgPnniTopNodeLinkRowStatusTable, mscARtgPnniCfgNodeOpPeerGroupId=mscARtgPnniCfgNodeOpPeerGroupId, mscARtgPnniCfgNodeNbrOperEntry=mscARtgPnniCfgNodeNbrOperEntry, mscARtgPnniTopRowStatus=mscARtgPnniTopRowStatus, mscARtgPnniTopNodeAddrOperEntry=mscARtgPnniTopNodeAddrOperEntry, mscARtgPnniCfgNodeSAddrStorageType=mscARtgPnniCfgNodeSAddrStorageType, mscARtgPnniCfgNodeNbrPtseReqRx=mscARtgPnniCfgNodeNbrPtseReqRx, mscARtgPnniTopNodeLink=mscARtgPnniTopNodeLink, mscARtgDnaDestInfoScope=mscARtgDnaDestInfoScope, mscARtgPnniRfStorageType=mscARtgPnniRfStorageType, mscARtgPnniCfgNodeProvEntry=mscARtgPnniCfgNodeProvEntry, mscARtgPnniRfRxTrafficDescType=mscARtgPnniRfRxTrafficDescType, mscARtgDnaIndex=mscARtgDnaIndex, atmNetworkingCapabilitiesCA02A=atmNetworkingCapabilitiesCA02A, mscAtmCRIndex=mscAtmCRIndex, mscARtgPnniTopPreferredPglNodeId=mscARtgPnniTopPreferredPglNodeId, mscAtmIfVpcRpRowStatusTable=mscAtmIfVpcRpRowStatusTable, mscARtgPnniPtseParmsEntry=mscARtgPnniPtseParmsEntry, mscAtmCRRowStatus=mscAtmCRRowStatus, mscARtgPnniTopNodeStorageType=mscARtgPnniTopNodeStorageType, mscAtmIfVccDstOperEntry=mscAtmIfVccDstOperEntry, mscAtmIfVptVccSrc=mscAtmIfVptVccSrc, mscAtmIfVpcSrc=mscAtmIfVpcSrc, mscARtgDnaRowStatusTable=mscARtgDnaRowStatusTable, mscAtmIfVpcDstOperEntry=mscAtmIfVpcDstOperEntry, mscAtmIfVptVccSrcLastFailureDiagCode=mscAtmIfVptVccSrcLastFailureDiagCode, mscARtgPnniPortOperEntry=mscARtgPnniPortOperEntry, mscAtmIfVpcSrcCalledAddress=mscAtmIfVpcSrcCalledAddress, mscAtmCRDnaRowStatusEntry=mscAtmCRDnaRowStatusEntry, mscAtmIfVccSrcComponentName=mscAtmIfVccSrcComponentName, mscARtgPnniCfgNodeDefSAddrScope=mscARtgPnniCfgNodeDefSAddrScope, mscAtmIfVccSrcRetryCount=mscAtmIfVccSrcRetryCount, mscARtgPnniAvcrMt=mscARtgPnniAvcrMt, mscARtgPnniPtseRefreshInterval=mscARtgPnniPtseRefreshInterval, mscAtmIfVccEpOperTable=mscAtmIfVccEpOperTable, mscARtgPnniPortRowStatusTable=mscARtgPnniPortRowStatusTable, mscARtgPnniOptMetricEntry=mscARtgPnniOptMetricEntry, mscARtgPnniCfgNodeNbrStorageType=mscARtgPnniCfgNodeNbrStorageType, mscAtmCRDnaComponentName=mscAtmCRDnaComponentName, mscAtmIfVccRpOperEntry=mscAtmIfVccRpOperEntry, atmNetworkingCapabilities=atmNetworkingCapabilities, mscAtmIfVccRpOperTable=mscAtmIfVccRpOperTable, mscARtgPnniCfgNodePglElectionState=mscARtgPnniCfgNodePglElectionState, mscARtgPnniTopOperEntry=mscARtgPnniTopOperEntry, mscAtmIfVccEpRowStatus=mscAtmIfVccEpRowStatus, mscAtmIfVpcDstCallingVpi=mscAtmIfVpcDstCallingVpi, mscAtmIfVccRpNextHopsTable=mscAtmIfVccRpNextHopsTable, mscAtmIfVptVccDstRowStatusEntry=mscAtmIfVptVccDstRowStatusEntry, mscARtgPnniCfgNodeSAddrOperEntry=mscARtgPnniCfgNodeSAddrOperEntry, mscARtgPnniCfgNodeNbrBadPtseRx=mscARtgPnniCfgNodeNbrBadPtseRx, mscARtgPnniOptMetricIndex=mscARtgPnniOptMetricIndex, mscAtmCRStorageType=mscAtmCRStorageType, mscAtmCRDnaRowStatus=mscAtmCRDnaRowStatus, mscAtmIfVpcRpNextHopsEntry=mscAtmIfVpcRpNextHopsEntry, mscARtgPnniCfgNodeSAddrReachabilityIndex=mscARtgPnniCfgNodeSAddrReachabilityIndex, mscAtmIfVccSrcLastFailureDiagCode=mscAtmIfVccSrcLastFailureDiagCode, mscARtgPnniTopNodeAddr=mscARtgPnniTopNodeAddr, mscARtgPnniRfRxTdpValue=mscARtgPnniRfRxTdpValue, mscARtgPnniRfBqpValue=mscARtgPnniRfBqpValue, mscARtgPnniCfgNodeSAddrOperTable=mscARtgPnniCfgNodeSAddrOperTable, mscARtgPnniRfComponentName=mscARtgPnniRfComponentName, mscAtmIfVpcSrcCallingAddress=mscAtmIfVpcSrcCallingAddress, mscAtmIfVpcRpComponentName=mscAtmIfVpcRpComponentName, mscARtgPnniCfgNodeRowStatusTable=mscARtgPnniCfgNodeRowStatusTable, mscARtgPnniTopNodeAddrStorageType=mscARtgPnniTopNodeAddrStorageType, mscARtgPnniCfgNodeNbrBadDbSummariesRx=mscARtgPnniCfgNodeNbrBadDbSummariesRx, mscARtgPnniTopNodeAddrRowStatusTable=mscARtgPnniTopNodeAddrRowStatusTable, mscAtmIfVccEpOperEntry=mscAtmIfVccEpOperEntry, mscARtgPnniCfgNodePeerGroupId=mscARtgPnniCfgNodePeerGroupId, mscAtmIfVptVccEpOperEntry=mscAtmIfVptVccEpOperEntry, mscARtgFailedRoutingAttempts=mscARtgFailedRoutingAttempts, mscARtgComponentName=mscARtgComponentName, mscARtgDnaComponentName=mscARtgDnaComponentName, mscARtgPnniRowStatusTable=mscARtgPnniRowStatusTable, mscARtgPnniTopNodeAddrRowStatusEntry=mscARtgPnniTopNodeAddrRowStatusEntry, mscARtgPnniHelloHoldDown=mscARtgPnniHelloHoldDown, mscAtmCRDnaDestinationNameEntry=mscAtmCRDnaDestinationNameEntry, mscARtgPnniRfRxTdpTable=mscARtgPnniRfRxTdpTable, mscAtmIfVptVccSrcCalledAddress=mscAtmIfVptVccSrcCalledAddress, mscAtmIfVccEpRowStatusTable=mscAtmIfVccEpRowStatusTable)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, value_size_constraint, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection') (msc_atm_if_vpt_vcc, msc_atm_if_vpc, msc_atm_if_vpc_index, msc_atm_if_index, msc_atm_if_vpt_vcc_index, msc_atm_if_vcc, msc_atm_if_vpt_index, msc_atm_if_vcc_index) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVcc', 'mscAtmIfVpc', 'mscAtmIfVpcIndex', 'mscAtmIfIndex', 'mscAtmIfVptVccIndex', 'mscAtmIfVcc', 'mscAtmIfVptIndex', 'mscAtmIfVccIndex') (unsigned32, storage_type, display_string, row_status, counter32, row_pointer, integer32, gauge32) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-StandardTextualConventionsMIB', 'Unsigned32', 'StorageType', 'DisplayString', 'RowStatus', 'Counter32', 'RowPointer', 'Integer32', 'Gauge32') (hex_string, ascii_string, non_replicated, ascii_string_index, integer_sequence, fixed_point1) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-TextualConventionsMIB', 'HexString', 'AsciiString', 'NonReplicated', 'AsciiStringIndex', 'IntegerSequence', 'FixedPoint1') (msc_passport_mi_bs, msc_components) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-UsefulDefinitionsMIB', 'mscPassportMIBs', 'mscComponents') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (object_identity, unsigned32, notification_type, ip_address, gauge32, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, counter32, counter64, time_ticks, module_identity, integer32, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Unsigned32', 'NotificationType', 'IpAddress', 'Gauge32', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'Counter32', 'Counter64', 'TimeTicks', 'ModuleIdentity', 'Integer32', 'Bits') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') atm_networking_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42)) msc_a_rtg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95)) msc_a_rtg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1)) if mibBuilder.loadTexts: mscARtgRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtg components.') msc_a_rtg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex')) if mibBuilder.loadTexts: mscARtgRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRowStatusEntry.setDescription('A single entry in the table represents a single mscARtg component.') msc_a_rtg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtg components. These components can be added and deleted.') msc_a_rtg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgStorageType.setDescription('This variable represents the storage type value for the mscARtg tables.') msc_a_rtg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscARtgIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgIndex.setDescription('This variable represents the index for the mscARtg tables.') msc_a_rtg_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10)) if mibBuilder.loadTexts: mscARtgStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgStatsTable.setDescription('This group contains the statistical operational attributes of an ARtg component.') msc_a_rtg_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex')) if mibBuilder.loadTexts: mscARtgStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgStatsEntry.setDescription('An entry in the mscARtgStatsTable.') msc_a_rtg_routing_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgRoutingAttempts.setDescription('This attribute counts the total number of calls routed. The counter wraps when it exceeds the maximum value.') msc_a_rtg_failed_routing_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 10, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgFailedRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgFailedRoutingAttempts.setDescription('This attribute counts the total number of calls which were not successfully routed.The counter wraps when it exceeds the maximum value.') msc_a_rtg_dna = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2)) msc_a_rtg_dna_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1)) if mibBuilder.loadTexts: mscARtgDnaRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgDna components.') msc_a_rtg_dna_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgDnaIndex')) if mibBuilder.loadTexts: mscARtgDnaRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgDna component.') msc_a_rtg_dna_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgDna components. These components cannot be added nor deleted.') msc_a_rtg_dna_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_dna_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaStorageType.setDescription('This variable represents the storage type value for the mscARtgDna tables.') msc_a_rtg_dna_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 40))) if mibBuilder.loadTexts: mscARtgDnaIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaIndex.setDescription('This variable represents the index for the mscARtgDna tables.') msc_a_rtg_dna_dest_info = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2)) msc_a_rtg_dna_dest_info_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1)) if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgDnaDestInfo components.') msc_a_rtg_dna_dest_info_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgDnaIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgDnaDestInfoIndex')) if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgDnaDestInfo component.') msc_a_rtg_dna_dest_info_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgDnaDestInfo components. These components cannot be added nor deleted.') msc_a_rtg_dna_dest_info_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_dna_dest_info_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoStorageType.setDescription('This variable represents the storage type value for the mscARtgDnaDestInfo tables.') msc_a_rtg_dna_dest_info_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 50))) if mibBuilder.loadTexts: mscARtgDnaDestInfoIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoIndex.setDescription('This variable represents the index for the mscARtgDnaDestInfo tables.') msc_a_rtg_dna_dest_info_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10)) if mibBuilder.loadTexts: mscARtgDnaDestInfoOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes for the DestInfo component.') msc_a_rtg_dna_dest_info_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgDnaIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgDnaDestInfoIndex')) if mibBuilder.loadTexts: mscARtgDnaDestInfoOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoOperEntry.setDescription('An entry in the mscARtgDnaDestInfoOperTable.') msc_a_rtg_dna_dest_info_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('primary', 0), ('alternate', 1), ('registered', 2), ('default', 3), ('ebr', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoType.setDescription('This attribute indicates the type of the address at the destination interface. Provisioned addresses are assigned a type of primary or alternate; ATM routing will try primary routes and then the alternate routes if none of the primary routes succeed. The type registered is used for dynamic addresses registered through ILMI. The type default is used for Soft PVC addresses. The type ebr indicates addresses used by Edge Based Rerouting.') msc_a_rtg_dna_dest_info_scope = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-1, 104))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoScope.setDescription('This attribute indicates the highest level (meaning the lowest level number) in the hierarchy that the address will be advertised to. A value of -1 indicates that the scope is not applicable since this node has not been configured as a PNNI node.') msc_a_rtg_dna_dest_info_std_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 3), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoStdComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoStdComponentName.setDescription('This attribute represents a component name of the interface through which the address can be reached.') msc_a_rtg_dna_dest_info_reachability = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 2, 2, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('internal', 0), ('exterior', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgDnaDestInfoReachability.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgDnaDestInfoReachability.setDescription('This attribute indicates whether the address is internal or exterior.') msc_a_rtg_pnni = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3)) msc_a_rtg_pnni_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1)) if mibBuilder.loadTexts: mscARtgPnniRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnni components.') msc_a_rtg_pnni_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnni component.') msc_a_rtg_pnni_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnni components. These components can be added and deleted.') msc_a_rtg_pnni_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniStorageType.setDescription('This variable represents the storage type value for the mscARtgPnni tables.') msc_a_rtg_pnni_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscARtgPnniIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniIndex.setDescription('This variable represents the index for the mscARtgPnni tables.') msc_a_rtg_pnni_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10)) if mibBuilder.loadTexts: mscARtgPnniProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniProvTable.setDescription('This group contains the generic provisionable attributes of a Pnni component.') msc_a_rtg_pnni_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniProvEntry.setDescription('An entry in the mscARtgPnniProvTable.') msc_a_rtg_pnni_node_address_prefix = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(0, 19))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniNodeAddressPrefix.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniNodeAddressPrefix.setDescription("This attribute specifies the ATM address of this node. It allows the default node address to be overridden. If this attribute is set to the null string, then the default node address prefix is assumed, and computed as follows: the value provisioned for the ModuleData component's nodePrefix attribute, followed by a unique MAC address (6 octets).") msc_a_rtg_pnni_default_scope = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 104))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniDefaultScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniDefaultScope.setDescription('This attribute specifies the default PNNI scope for ATM addresses associated with this node. The PNNI scope determines the level to which the address will be advertised within the PNNI routing domain. A provisioned Addr component may override the default scope in a PnniInfo subcomponent. A value of 0 means that all addresses which do not have provisioned scopes will be advertised globally within the PNNI routing domain. The value specified must be numerically smaller than or equal to that of the lowest level at which this node is configured in the PNNI hierarchy.') msc_a_rtg_pnni_domain = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 3), ascii_string().subtype(subtypeSpec=value_size_constraint(1, 32)).clone(hexValue='31')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniDomain.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniDomain.setDescription('This attribute specifies the routing domain name. This attribute should be set identically for all nodes in the same routing domain.') msc_a_rtg_pnni_restrict_transit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRestrictTransit.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRestrictTransit.setDescription('This attribute specifies if the node should restrict tandeming of SVCs. If this attribute is set to true, then other lowest level nodes in the PNNI hierarchy will avoid traversing this node during route computation.') msc_a_rtg_pnni_max_alternate_routes_on_crankback = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 20)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniMaxAlternateRoutesOnCrankback.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniMaxAlternateRoutesOnCrankback.setDescription('This attribute specifies the number of alternate routing attempts before a call requiring crank back is rejected.') msc_a_rtg_pnni_pgl_parms_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11)) if mibBuilder.loadTexts: mscARtgPnniPglParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPglParmsTable.setDescription('This group contains the provisionable attributes for the peer group leader election timer parameters of a Pnni component.') msc_a_rtg_pnni_pgl_parms_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniPglParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPglParmsEntry.setDescription('An entry in the mscARtgPnniPglParmsTable.') msc_a_rtg_pnni_pgl_init_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniPglInitTime.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPglInitTime.setDescription('This attribute specifies how long this node will delay advertising its choice of preferred peer group leader after having initialized operation and reached the full peer state with at least one neighbor in the peer group.') msc_a_rtg_pnni_override_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(30)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniOverrideDelay.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOverrideDelay.setDescription('This attribute specifies how long a node will wait for itself to be declared the preferred peer group leader by unanimous agreement among its peers.') msc_a_rtg_pnni_re_election_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 11, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniReElectionInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniReElectionInterval.setDescription('This attribute specifies how long this node will wait after losing connectivity to the current peer group leader before re-starting the process of electing a new peer group leader.') msc_a_rtg_pnni_hl_parms_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12)) if mibBuilder.loadTexts: mscARtgPnniHlParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHlParmsTable.setDescription('This group contains the default provisionable Hello protocol parameters.') msc_a_rtg_pnni_hl_parms_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniHlParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHlParmsEntry.setDescription('An entry in the mscARtgPnniHlParmsTable.') msc_a_rtg_pnni_hello_hold_down = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1, 1), fixed_point1().subtype(subtypeSpec=value_range_constraint(1, 655350)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniHelloHoldDown.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHelloHoldDown.setDescription('This attribute is used to limit the rate at which this node sends out Hello packets. Specifically, it specifies the default minimum amount of time between successive Hellos used by routing control channels on this node.') msc_a_rtg_pnni_hello_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniHelloInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHelloInterval.setDescription('This attribute specifies the default duration of the Hello Timer in seconds for routing control channels on this node. Every helloInterval seconds, this node will send out a Hello packet to the neighbor node, subject to the helloHoldDown timer having expired at least once since the last Hello packet was sent.') msc_a_rtg_pnni_hello_inactivity_factor = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 12, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniHelloInactivityFactor.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniHelloInactivityFactor.setDescription('This attribute specifies the default number of Hello intervals allowed to pass without receiving a Hello from the neighbor node, before an attempt is made to re-stage, for routing control channels on this node. The hello inactivity timer is enabled in the oneWayInside, twoWayInside, oneWayOutside, twoWayOutside and commonOutside (see the helloState attribute on the Rcc component for a description of these states). Note that the value for the Hello interval used in the calculation is the one specified in the Hello packet from the neighbor node.') msc_a_rtg_pnni_ptse_parms_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13)) if mibBuilder.loadTexts: mscARtgPnniPtseParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseParmsTable.setDescription('This group contains the provisionable attributes for the PTSE timer values of a Pnni component.') msc_a_rtg_pnni_ptse_parms_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniPtseParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseParmsEntry.setDescription('An entry in the mscARtgPnniPtseParmsTable.') msc_a_rtg_pnni_ptse_hold_down = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 1), fixed_point1().subtype(subtypeSpec=value_range_constraint(1, 655350)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniPtseHoldDown.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseHoldDown.setDescription('This attribute is used to limit the rate at which this node sends out PTSE packets. Specifically, it specifies the minimum amount of time in seconds that this node must wait between sending successive PTSE packets.') msc_a_rtg_pnni_ptse_refresh_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(300, 65535)).clone(1800)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniPtseRefreshInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseRefreshInterval.setDescription('This attribute specifies the duration of the PTSE Timer. Every ptseRefreshInterval seconds, this node will send out a self- originated PTSE packet to the neighbor node, subject to the ptseHoldDown timer having expired at least once since the last PTSE packet was sent.') msc_a_rtg_pnni_ptse_lifetime_factor = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(101, 1000)).clone(200)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniPtseLifetimeFactor.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPtseLifetimeFactor.setDescription('This attribute specifies the lifetime multiplier. The result of multiplying the ptseRefreshInterval by this value is used as the initial lifetime that this node places into PTSEs.') msc_a_rtg_pnni_request_rxmt_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRequestRxmtInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRequestRxmtInterval.setDescription('This attribute specifies the period between retransmissions of unacknowledged Database Summary packets, PTSE Request packets and PTSPs.') msc_a_rtg_pnni_peer_delayed_ack_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 13, 1, 5), fixed_point1().subtype(subtypeSpec=value_range_constraint(1, 655350)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniPeerDelayedAckInterval.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPeerDelayedAckInterval.setDescription('This attribute specifies the minimum amount of time between transmissions of delayed PTSE acknowledgment packets.') msc_a_rtg_pnni_thresh_parms_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14)) if mibBuilder.loadTexts: mscARtgPnniThreshParmsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniThreshParmsTable.setDescription('This group contains the provisionable attributes for the change thresholds of a ARtg Pnni component.') msc_a_rtg_pnni_thresh_parms_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniThreshParmsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniThreshParmsEntry.setDescription('An entry in the mscARtgPnniThreshParmsTable.') msc_a_rtg_pnni_avcr_mt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 99)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniAvcrMt.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniAvcrMt.setDescription('This attribute when multiplied by the Maximum Cell Rate specifies the minimum threshold used in the algorithms that determine significant change for average cell rate parameters.') msc_a_rtg_pnni_avcr_pm = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 14, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 99)).clone(50)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniAvcrPm.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniAvcrPm.setDescription('This attribute when multiplied by the current Available Cell Rate specifies the threshold used in the algorithms that determine significant change for AvCR parameters. If the resulting threshold is lower than minimum threshold, minimum threshold will be used. Increasing the value of the attribute increases the range of insignificance and reduces the amount of PTSP flooding due to changes in resource availability.') msc_a_rtg_pnni_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 15)) if mibBuilder.loadTexts: mscARtgPnniOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOperTable.setDescription('This group contains the generic operational attributes of an ARtg Pnni component.') msc_a_rtg_pnni_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 15, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOperEntry.setDescription('An entry in the mscARtgPnniOperTable.') msc_a_rtg_pnni_topology_memory_exhaustion = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 15, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopologyMemoryExhaustion.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopologyMemoryExhaustion.setDescription('This attribute indicates if the topology database is overloaded. A node goes into a database overload state when it fails to store the complete topology database due to insufficient memory in the node. A node in this state performs resynchronization periodically by restarting all its Neighbor Peer Finite State Machines. The node will stay in this state until it synchronizes with all of its neighbors without any overload problems. When this attribute is set an alarm will be issued.') msc_a_rtg_pnni_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16)) if mibBuilder.loadTexts: mscARtgPnniStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniStatsTable.setDescription('This group contains the statistical operational attributes of a ARtg Pnni component.') msc_a_rtg_pnni_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex')) if mibBuilder.loadTexts: mscARtgPnniStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniStatsEntry.setDescription('An entry in the mscARtgPnniStatsTable.') msc_a_rtg_pnni_successful_routing_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniSuccessfulRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniSuccessfulRoutingAttempts.setDescription('This attribute counts successful PNNI routing attempts. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_failed_routing_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniFailedRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniFailedRoutingAttempts.setDescription('This attribute counts failed PNNI routing attempts. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_alternate_routing_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 16, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniAlternateRoutingAttempts.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniAlternateRoutingAttempts.setDescription('This attribute counts successful PNNI alternate routing attempts. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_opt_metric_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386)) if mibBuilder.loadTexts: mscARtgPnniOptMetricTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricTable.setDescription('This attribute is a vector that specifies the optimization metric for each ATM service category. The optimization metric is used during Generic Connection Admission Control (GCAC) route computation. Setting the value to cdv for a particular service category will cause GCAC to optimize for cell delay variation on call setups requiring that service category. Setting the value to maxCtd for a particular service category will cause GCAC to optimize for maximum cell transfer delay on call setups requiring that service category. Setting the value to aw for a particular service category will cause GCAC to optimize for administrative weight on call setups requiring that service category.') msc_a_rtg_pnni_opt_metric_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniOptMetricIndex')) if mibBuilder.loadTexts: mscARtgPnniOptMetricEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricEntry.setDescription('An entry in the mscARtgPnniOptMetricTable.') msc_a_rtg_pnni_opt_metric_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('cbr', 1), ('rtVbr', 2), ('nrtVbr', 3), ('ubr', 4)))) if mibBuilder.loadTexts: mscARtgPnniOptMetricIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricIndex.setDescription('This variable represents the mscARtgPnniOptMetricTable specific index for the mscARtgPnniOptMetricTable.') msc_a_rtg_pnni_opt_metric_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 386, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('cdv', 0), ('maxCtd', 1), ('aw', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniOptMetricValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniOptMetricValue.setDescription('This variable represents an individual value for the mscARtgPnniOptMetricTable.') msc_a_rtg_pnni_rf = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2)) msc_a_rtg_pnni_rf_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1)) if mibBuilder.loadTexts: mscARtgPnniRfRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniRf components.') msc_a_rtg_pnni_rf_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfIndex')) if mibBuilder.loadTexts: mscARtgPnniRfRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniRf component.') msc_a_rtg_pnni_rf_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniRfRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniRf components. These components cannot be added nor deleted.') msc_a_rtg_pnni_rf_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniRfComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_rf_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniRfStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniRf tables.') msc_a_rtg_pnni_rf_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscARtgPnniRfIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfIndex.setDescription('This variable represents the index for the mscARtgPnniRf tables.') msc_a_rtg_pnni_rf_criteria_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10)) if mibBuilder.loadTexts: mscARtgPnniRfCriteriaTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfCriteriaTable.setDescription('This group contains the attributes specifying the routing criteria for the route computation.') msc_a_rtg_pnni_rf_criteria_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfIndex')) if mibBuilder.loadTexts: mscARtgPnniRfCriteriaEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfCriteriaEntry.setDescription('An entry in the mscARtgPnniRfCriteriaTable.') msc_a_rtg_pnni_rf_destination_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(1, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfDestinationAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfDestinationAddress.setDescription('This attribute specifies the destination NSAP address to be used for the computation. If this attribute specifies an invalid address then no routes will be found.') msc_a_rtg_pnni_rf_max_routes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfMaxRoutes.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfMaxRoutes.setDescription('This attribute specifies a ceiling on the number of routes to be computed.') msc_a_rtg_pnni_rf_tx_traffic_desc_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('n1', 1), ('n2', 2), ('n3', 3), ('n4', 4), ('n5', 5), ('n6', 6), ('n7', 7), ('n8', 8))).clone('n1')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfTxTrafficDescType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTrafficDescType.setDescription('This attribute specifies the type of traffic management which is applied to the transmit direction as defined in the ATM Forum. The txTrafficDescType determines the number and meaning of the parameters in the txTrafficDescParm attribute.') msc_a_rtg_pnni_rf_rx_traffic_desc_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 15))).clone(namedValues=named_values(('n1', 1), ('n2', 2), ('n3', 3), ('n4', 4), ('n5', 5), ('n6', 6), ('n7', 7), ('n8', 8), ('sameAsTx', 15))).clone('sameAsTx')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfRxTrafficDescType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTrafficDescType.setDescription('This attribute specifies the type of traffic management which is applied to the receive direction of this connection as defined in the ATM Forum. The rxTrafficDescType determines the number and meaning of the parameters in the rxTrafficDescParm attribute When sameAsTx is selected, the rxTrafficDescType as well as the rxTrafficDescParm are taken from the transmit values.') msc_a_rtg_pnni_rf_atm_service_category = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 15))).clone(namedValues=named_values(('unspecifiedBitRate', 0), ('constantBitRate', 1), ('rtVariableBitRate', 2), ('nrtVariableBitRate', 3), ('derivedFromBBC', 15))).clone('unspecifiedBitRate')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfAtmServiceCategory.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfAtmServiceCategory.setDescription("This attribute specifies the ATM service category for both directions of the connection. If this attribute is set to derivedFromBBC, the Broadband Bearer Capability (BBC) and bestEffort attributes are used to determine the atmServiceCategory of this connection. If this attribute is set to other than derivedFromBBC, the value of this attribute is used to override the provisioned BBC IE parameters. In those cases, the BBC attributes are not used. The constantBitRate service category is intended for real time applications, that is those requiring tightly constrained delay and delay variation, as would be appropriate for voice and video applications. The consistent availability of a fixed quantity of bandwidth is considered appropriate for CBR service. Cells which are delayed beyond the value specified by CellTransfer Delay are assumed to be of significantly reduce value to the application. The rtVariableBitRate service category is intended for real time applications, that is those requiring tightly constrained delay and delay variation, as would be appropriate for voice and video applications. Sources are expected to transmit at a rate which varies with time. Equivalently, the source can be described as 'bursty'. Cells which are delayed beyond the value specified by CTD are assumed to be of significantly reduced value to the application. VBR real time service may support statistical multiplexing of real time sources. The nrtVariableBitRate service category is intended for non-real time applications which have bursty traffic characteristics and which can be characterized in terms of a PCR, SCR, and MBS. For those cells which are transferred within the traffic contract, the application expects a low cell loss ratio. For all connections, it expects a bound on the mean cell transfer delay. VBR non-real time service may support statistical multiplexing of connections. The unspecifiedBitRate service is intended for non-real time applications; that is, those not requiring tightly constrained delay and delay variation. UBR sources are expected to be bursty. UBR service supports a high degree of statistical multiplexing among sources. UBR service does not specify traffic related service guarantees. No numerical commitments are made with respect to the cell loss ratio experienced by a UBR connection, or as to the cell transfer delay experienced by cells on the connection.") msc_a_rtg_pnni_rf_fwd_qos_class = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('n0', 0), ('n1', 1), ('n2', 2), ('n3', 3), ('n4', 4))).clone('n0')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfFwdQosClass.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFwdQosClass.setDescription('This attribute specifies the quality of service for the forward direction for this connection. Class 1 supports a QOS that will meet Service Class A performance requirements (Circuit emulation, constant bit rate video). Class 2 supports a QOS that will meet Service Class B performance requirements (Variable bit rate audio and video). Class 3 supports a QOS that will meet Service Class C performance requirements (Connection-Oriented Data Transfer). Class 4 supports a QOS that will meet Service Class D performance requirements (Connectionless Data Transfer). Class 0 is the unspecified bit rate QOS class; no objective is specified for the performance parameters.') msc_a_rtg_pnni_rf_bwd_qos_class = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 15))).clone(namedValues=named_values(('n0', 0), ('n1', 1), ('n2', 2), ('n3', 3), ('n4', 4), ('sameAsFwd', 15))).clone('sameAsFwd')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfBwdQosClass.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBwdQosClass.setDescription('This attribute specifies the quality of service for the backward direction for this connection. Class 1 supports a QOS that will meet Service Class A performance requirements (Circuit emulation, constant bit rate video). Class 2 supports a QOS that will meet Service Class B performance requirements (Variable bit rate audio and video). Class 3 supports a QOS that will meet Service Class C performance requirements (Connection-Oriented Data Transfer). Class 4 supports a QOS that will meet Service Class D performance requirements (Connectionless Data Transfer). Class 0 is the unspecified bit rate QOS class; no objective is specified for the performance parameters. The sameAsFwd selection sets the backward quality of service to be the same as the forward quality of service.') msc_a_rtg_pnni_rf_bearer_class_bbc = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 16, 31))).clone(namedValues=named_values(('a', 1), ('c', 3), ('x', 16), ('derivedFromServiceCategory', 31))).clone('derivedFromServiceCategory')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfBearerClassBbc.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBearerClassBbc.setDescription('This attribute specifies the bearer capability. It is one of the Broadband Bearer Capability (BBC) attributes. The purpose of the BBC information element is to indicate a requested broadband connection-oriented bearer service to be provided by the network. The value derivedFromServiceCategory specifies that the actual value which is used for this connection is derived from the value of the atmServiceCategory. Either, this attribute must be set to derivedFromServiceCategory, or the atmServiceCategory attribute must be set to derivedFromBBC, but not both. Class a service is a connection-oriented, constant bit rate ATM transport service. Class a service has end to end timing requirements and may require stringent cell loss, cell delay and cell delay variation performance.When a is set, the user is requesting more than an ATM only service. The network may look at the AAL to provide interworking based upon its contents. Class c service is a connection-oriented, variable bit rate ATM transport service. Class c service has no end-to-end timing requirements. When c is set, the user is requesting more than an ATM only service. The network interworking function may look at the AAL and provide service based on it. Class x service is a connection-oriented ATM transport service where the AAL, trafficType (vbr or cbr) and timing requirements are user defined (that is, transparent to the network).When x is set the user is requesting an ATM only service from the network. In this case, the network shall not process any higher layer protocol.') msc_a_rtg_pnni_rf_transfer_capability_bbc = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 5, 8, 9, 10, 30, 31))).clone(namedValues=named_values(('n0', 0), ('n1', 1), ('n2', 2), ('n5', 5), ('n8', 8), ('n9', 9), ('n10', 10), ('notApplicable', 30), ('derivedFromServiceCategory', 31))).clone('derivedFromServiceCategory')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfTransferCapabilityBbc.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTransferCapabilityBbc.setDescription('This attribute specifies the transfer capability for this connection. Uni 3.0/3.1 traffic type and end-to-end timing parameters are mapped into this parameter as follows: <transferCapability : TrafficType, Timing> 0 : NoIndication, NoIndication 1 : NoIndication, yes 2 : NoIndication, no 5 : CBR, yes 8 : VBR, NoIndication 9 : VBR, yes 10: VBR, no NotApplicable specifies that the user does not want to specify the transfer capability. The CBR traffic type refers to traffic offered on services such as a constant bit rate video service or a circuit emulation. The VBR traffic type refers to traffic offered on services such as packetized audio and video, or data. The value NoIndication for traffic type is used if the user has not set the traffic type; this is also the case for end-to-end timing. The value yes for end-to-end timing indicates that end-to-end timing is required. The value no for end-to-end timing indicates that end-to-end timing is not required. The value derivedFromServiceCategory specifies that the actual value which is used for this connection is derived from the value of the atmServiceCategory. Either, this attribute must be set to derivedFromServiceCategory, or the atmServiceCategory attribute must be set to derivedFromBBC, but not both.') msc_a_rtg_pnni_rf_clipping_bbc = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('no')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfClippingBbc.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfClippingBbc.setDescription('This attribute specifies the value for the clipping susceptibility parameter in the BBC IE. This attribute is only used for SPVC connections. It is one of the Broadband Bearer Capability attributes. Clipping is an impairment in which the first fraction of a second of information to be transferred is lost. It occurs after a call is answered and before an associated connection is switched through.') msc_a_rtg_pnni_rf_best_effort = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 15))).clone(namedValues=named_values(('indicated', 0), ('notIndicated', 1), ('derivedFromServiceCategory', 15))).clone('derivedFromServiceCategory')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBestEffort.setDescription('This attribute specifies the value of the best effort parameter in the ATM Traffic Descriptor IE. It is one of the Broadband Bearer Capability attributes. The value indicated implies that the quality of service for this connection is not guaranteed. The value notIndicated implies that the quality of service for this connection is guaranteed. The value derivedFromServiceCategory specifies that the actual value which is used for this connection is derived from the value of the atmServiceCategory. Either, this attribute must be set to derivedFromServiceCategory, or the atmServiceCategory attribute must be set to derivedFromBBC, but not both. DESCRIPTION') msc_a_rtg_pnni_rf_optimization_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 10, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('cdv', 0), ('maxCtd', 1), ('aw', 2))).clone('aw')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfOptimizationMetric.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfOptimizationMetric.setDescription('This attribute specifies the optimization metric to be used in the route computation; one of cell delay variation (cdv), maximum cell transfer delay (maxCtd), or administrative weight (aw).') msc_a_rtg_pnni_rf_rx_tdp_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388)) if mibBuilder.loadTexts: mscARtgPnniRfRxTdpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpTable.setDescription('This attribute is a vector of four traffic parameters whose meanings are defined by the rxTrafficDescType attribute. The values of peak cell rate (PCR) and sustained cell rate (SCR) are expressed in cell/s. Maximum burst size (MBS) is expressed in cells. The value of CDVT is expressed in microseconds. The values of PCR, SCR, MBS and CDVT are used for usage parameter control (UPC). When rxTrafficDescType is 1 or 2, all of the parameters must be set to zero (unused). When rxTrafficDescType is 3, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic. Parameter 1 must be non-zero. Parameters 2 and 3 must be set to zero (unused). When rxTrafficDescType is 4, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the PCR for CLP equal to 0 traffic with cell discard. Parameters 1 and 2 must be non-zero. Parameter 3 must be set to zero (unused). Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is 5, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the PCR for CLP equal to 0 traffic with cell tagging. Parameters 1 and 2 must be non-zero. Parameter 3 must be set to zero (unused). Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is a 6, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 and 1 traffic; parameter 3 represents the MBS for CLP equal to 0 and 1 traffic. Parameters 1, 2 and 3 must be non- zero. Parameter 1 must be greater than or equal to Parameter 2. When rxTrafficDescType is 7, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 traffic with cell discard; parameter 3 represents the MBS for CLP equal to 0 traffic. Parameters 1, 2 and 3 must be non- zero. Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is 8, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 traffic with cell tagging; parameter 3 represents the MBS for CLP equal to 0 traffic. Parameter 1, 2 and 3 must be non- zero. Parameter 1 must be greater than or equal to parameter 2. When rxTrafficDescType is any value from 3 through 8, parameter 4 represents the CDVT. If this value is zero, the CDVT is taken from the ConnectionAdministrator defaults for the particular atmServiceCategory of this connection. When rxTrafficDescriptorType is 3 through 8, there are certain extreme combinations of rxTrafficDescParm which are outside the capabilities of the UPC hardware. To calculate the limits, use the following formulae: I1 = 1 000 000 000 / PCR L1 = CDVT * 1000 I2 = 1 000 000 000 / SCR L2 = CDVT + (MBS - 1) * (I2 - I1) I1 and I2 must be less than or equal to 335 523 840. I1 + L1 must be less than or equal to 1 342 156 800. I2 + L2 must be less than or equal to 1 342 156 800. Note that I2 and L2 only apply when the rxTrafficDescriptorType is 6 through 8. If the values of I1, L1, I2 or L2 are closer to the limits described above, a further restriction applies. Specifically, if either: I1 > 41 940 480 or I2 > 41 940 480 or I1 + L1 > 167 769 600 or I2 + L2 > 167 769 600 then both I1 and I2 must be greater than 20 480. Parameter 5 of the rxTrafficDescParm is always unused. If the rxTrafficDescType is sameAsTx, the values in this attribute will be taken from the txTrafficDescParm.') msc_a_rtg_pnni_rf_rx_tdp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfRxTdpIndex')) if mibBuilder.loadTexts: mscARtgPnniRfRxTdpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpEntry.setDescription('An entry in the mscARtgPnniRfRxTdpTable.') msc_a_rtg_pnni_rf_rx_tdp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))) if mibBuilder.loadTexts: mscARtgPnniRfRxTdpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpIndex.setDescription('This variable represents the mscARtgPnniRfRxTdpTable specific index for the mscARtgPnniRfRxTdpTable.') msc_a_rtg_pnni_rf_rx_tdp_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 388, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfRxTdpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfRxTdpTable.') msc_a_rtg_pnni_rf_tx_tdp_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389)) if mibBuilder.loadTexts: mscARtgPnniRfTxTdpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpTable.setDescription('This attribute is a vector of five traffic parameters whose meanings are defined by the txTrafficDescType attribute. The values of peak cell rate (PCR), sustained cell rate (SCR) and requested shaping rate are expressed in cell/s. Maximum burst size (MBS) is expressed in cells. CDVT is expressed in microseconds. The values of PCR, SCR, MBS and CDVT are used for connection admission control (CAC). The value of CDVT is only used for connections where the atmServiceCategory is constantBitRate. For all other values of atmServiceCategory, CDVT is ignored. The values of PCR, SCR and requested shaping rate are used to determine the actual shaping rate where traffic shaping is enabled. When txTrafficDescType is 1 or 2, all of the parameters must be set to zero. When txTrafficDescType is 3, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameter 1 must be non-zero. Parameters 2 and 3 must be zero. When txTrafficDescType is 4, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic with cell discard; parameter 2 represents the PCR for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameter 1 must be greater than or equal to parameter 2. Parameters 1 and 2 must be non-zero. Parameter 3 must be zero. When txTrafficDescType is 5, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic with cell tagging; parameter 2 represents the PCR for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameter 1 must be greater than or equal to parameter 2. Parameters 1 and 2 must be non-zero. Parameter 3 must be zero. When txTrafficDescType is 6, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 and 1 traffic; parameter 3 represents the MBS for CLP equal to 0 and 1 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameters 1, 2 and 3 must be non-zero. Parameter 1 must be greater than or equal to parameter 2. Parameter 5, must either be zero (unused) or greater than or equal to parameter 2. When txTrafficDescType is 7, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 with cell discard; parameter 3 represents the MBS for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameters 1, 2 and 3 must be non-zero. Parameter 1 must be greater than or equal to parameter 2. Parameter 5, must either be zero (unused) or greater than or equal to parameter 2. When txTrafficDescType is 8, parameter 1 represents the PCR for CLP equal to 0 and 1 traffic; parameter 2 represents the SCR for CLP equal to 0 traffic with cell tagging; parameter 3 represents the MBS for CLP equal to 0 traffic; parameter 4 represents the CDVT; and parameter 5 represents the requested shaping rate. A non-zero value in parameter 5 overrides any value in parameter 1. This result is used as the PCR. Parameters 1, 2 and 3 must be non-zero. Parameter 1 must be greater than or equal to parameter 2. Parameter 5, must either be zero (unused) or greater than or equal to parameter 2. Whenever it is valid for PCR to be specified, parameter 5 may also be used to specify a requested shaping rate. A non-zero value in parameter 5 overrides the value in parameter 1 and is used as the peak cell rate in calculations of CAC and shaping rate. For txTrafficDescType 3, 4 and 5, the transmit traffic will be shaped at the next rate less than the PCR. For txTrafficDescType 6, 7 and 8, the transmit traffic will be shaped at the highest available rate which is between PCR and SCR. However, if there is no available shaping rate between PCR and SCR, traffic will be shaped at the next rate above the PCR.') msc_a_rtg_pnni_rf_tx_tdp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfTxTdpIndex')) if mibBuilder.loadTexts: mscARtgPnniRfTxTdpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpEntry.setDescription('An entry in the mscARtgPnniRfTxTdpTable.') msc_a_rtg_pnni_rf_tx_tdp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))) if mibBuilder.loadTexts: mscARtgPnniRfTxTdpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpIndex.setDescription('This variable represents the mscARtgPnniRfTxTdpTable specific index for the mscARtgPnniRfTxTdpTable.') msc_a_rtg_pnni_rf_tx_tdp_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 389, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfTxTdpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfTxTdpTable.') msc_a_rtg_pnni_rf_fqp_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390)) if mibBuilder.loadTexts: mscARtgPnniRfFqpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpTable.setDescription('This attribute is a vector of three elements that specify the quality of service parameters for the forward direction for this connection. This attribute is used for SPVC connections. The cdv element specifies the acceptable peak-to-peak Cell Delay Variation (CDV) of real-time connections (CBR, and rt-VBR). It is signalled through the extended QoS information element. The ctd specifies the acceptable maximum Cell Transfer Delay (maxCtd) of real-time connections (CBR, and rt-VBR). It is signalled through the end to end transit delay information element. The clr specifies the acceptable Cell Loss Ratio (CLR) of CBR, rt- VBR, and nrt-VBR connections. It is signalled through the extended QoS information element.') msc_a_rtg_pnni_rf_fqp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfFqpIndex')) if mibBuilder.loadTexts: mscARtgPnniRfFqpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpEntry.setDescription('An entry in the mscARtgPnniRfFqpTable.') msc_a_rtg_pnni_rf_fqp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('cdv', 0), ('ctd', 1), ('clr', 2)))) if mibBuilder.loadTexts: mscARtgPnniRfFqpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpIndex.setDescription('This variable represents the mscARtgPnniRfFqpTable specific index for the mscARtgPnniRfFqpTable.') msc_a_rtg_pnni_rf_fqp_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 390, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfFqpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfFqpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfFqpTable.') msc_a_rtg_pnni_rf_bqp_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393)) if mibBuilder.loadTexts: mscARtgPnniRfBqpTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpTable.setDescription('This attribute is a vector of three elements that specify the quality of service parameters for the backward direction for this connection. This attribute is used for SPVC connections. The cdv element specifies the acceptable peak-to-peak Cell Delay Variation (CDV) of real-time connections (CBR, and rt-VBR). It is signalled through the extended QoS information element. The ctd specifies the acceptable maximum Cell Transfer Delay (maxCtd) of real-time connections (CBR, and rt-VBR). It is signalled through the end to end transit delay information element. The clr specifies the acceptable Cell Loss Ratio (CLR) of CBR, rt- VBR, and nrt-VBR connections. It is signalled through the extended QoS information element.') msc_a_rtg_pnni_rf_bqp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniRfBqpIndex')) if mibBuilder.loadTexts: mscARtgPnniRfBqpEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpEntry.setDescription('An entry in the mscARtgPnniRfBqpTable.') msc_a_rtg_pnni_rf_bqp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('cdv', 0), ('ctd', 1), ('clr', 2)))) if mibBuilder.loadTexts: mscARtgPnniRfBqpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpIndex.setDescription('This variable represents the mscARtgPnniRfBqpTable specific index for the mscARtgPnniRfBqpTable.') msc_a_rtg_pnni_rf_bqp_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 2, 393, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniRfBqpValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniRfBqpValue.setDescription('This variable represents an individual value for the mscARtgPnniRfBqpTable.') msc_a_rtg_pnni_cfg_node = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3)) msc_a_rtg_pnni_cfg_node_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniCfgNode components.') msc_a_rtg_pnni_cfg_node_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNode component.') msc_a_rtg_pnni_cfg_node_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNode components. These components can be added and deleted.') msc_a_rtg_pnni_cfg_node_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_cfg_node_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNode tables.') msc_a_rtg_pnni_cfg_node_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 104))) if mibBuilder.loadTexts: mscARtgPnniCfgNodeIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeIndex.setDescription('This variable represents the index for the mscARtgPnniCfgNode tables.') msc_a_rtg_pnni_cfg_node_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvTable.setDescription('This group contains the provisionable attributes of a ConfiguredNode component.') msc_a_rtg_pnni_cfg_node_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeProvEntry.setDescription('An entry in the mscARtgPnniCfgNodeProvTable.') msc_a_rtg_pnni_cfg_node_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10, 1, 2), hex_string().subtype(subtypeSpec=value_size_constraint(0, 22))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeId.setDescription('This attribute specifies the node id of the configured node. If this attribute is set to null, then the node id is computed as follows: If this is the lowest configured node, then the node id is computed as the level (one octet), followed by the integer value 160 (one octet), followed by the node address (20 octets). If this is not the lowest configured node, then the node id is computed as the level (one octet), followed by the 14 octet peer group id of the child peer group which the LGN represents, followed by the ESI specified in the node address (6 octets), followed by the integer value 0 (one octet).') msc_a_rtg_pnni_cfg_node_peer_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 10, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(0, 14))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniCfgNodePeerGroupId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodePeerGroupId.setDescription("This attribute allows the peer group id of the Logical Group Node (LGN) to be set. The peer group id is specified by 28 hex digits where the first octet represents the level of the node and the remaining 13 octets form the End System Address. If this attribute is set to the null string then the peer group id is computed as follows: The peer group id for a lowest level node is computed to be the node's level (one octet), followed by the first <level> bits of the node's address, followed by zero or more padding 0 bits. The peer group id for an LGN is computed to be the LGN's level (one octet), followed by the first <level> bits of the id of the peer group which this LGN represents.") msc_a_rtg_pnni_cfg_node_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperTable.setDescription('This group contains the generic operational attributes of a ConfiguredNode component.') msc_a_rtg_pnni_cfg_node_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeOperTable.') msc_a_rtg_pnni_cfg_node_node_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNodeAddress.setDescription('This attribute indicates the address of the node at this level. At the lowest level, the nodeAddress is determined by the value of the nodeAddressPrefix attribute for the ARtg Pnni component followed by the level of this CfgNode. For LGNs, the nodeAddress is the same as the nodeAddress of the node at the lowest level, with the selector field set to the level of the peer group containing the LGN.') msc_a_rtg_pnni_cfg_node_op_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 2), hex_string().subtype(subtypeSpec=value_size_constraint(22, 22)).setFixedLength(22)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpNodeId.setDescription('This attribute indicates the node id of the node at this level. The default node id is computed as follows: If this is the lowest level node, then the default node id is computed as the level (one octet), followed by the integer value 160 (one octet), followed by the node address (20 octets). If this is not the lowest level node, then the default node id is computed as the level (one octet), followed by the 14 octet peer group id of the child peer group which the LGN represents, followed by the ESI specified in the node address (6 octets), followed by the integer value 0 (one octet).') msc_a_rtg_pnni_cfg_node_op_peer_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(14, 14)).setFixedLength(14)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpPeerGroupId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeOpPeerGroupId.setDescription('This attribute indicates the peer group id of the node at this level. The value is determined by the provisioned peerGroupId attribute.') msc_a_rtg_pnni_cfg_node_num_neighbors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumNeighbors.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumNeighbors.setDescription('This attribute indicates the number of PNNI nodes which are neighbors of this node at this level.') msc_a_rtg_pnni_cfg_node_num_rccs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumRccs.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNumRccs.setDescription("This attribute indicates the number of Routing Control Channels to this node's neighbors at this level.") msc_a_rtg_pnni_cfg_node_current_leadership_priority = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 205))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeCurrentLeadershipPriority.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeCurrentLeadershipPriority.setDescription('This attribute indicates the leadership priority of the node that this node believes should be the peer group leader at this point in time.') msc_a_rtg_pnni_cfg_node_pgl_election_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 11, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('starting', 0), ('awaiting', 1), ('awaitingFull', 2), ('initialDelay', 3), ('calculating', 4), ('operNotPgl', 5), ('operPgl', 6), ('awaitUnanimity', 7), ('hungElection', 8), ('awaitReElection', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodePglElectionState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodePglElectionState.setDescription('This attribute indicates the current state of the peer group leader election process. The following are the possible values for this attribute: starting: the initial state of the state machine. awaiting: the node has started the Hello Finite State Machine on at least one link, and no peer has been found yet. awaitingFull: no database synchronization process has been completed yet but at least one neighboring peer has been found. initialDelay: Database synchronization has been completed with at least one neighboring peer. The node must wait pglInitTime second before it can select and advertise its preferred Peer Group Leader (PGL). calculating: the node is in the process of calculating what its new choice for preferred PGL will be. operNotPgl: a non PGL node is in the process of determining which node has the highest priority to be PGL by examining PTSEs sent by other nodes. operPgl: a PGL node is in the process of determining if another node has a higher priority than itself by examining PTSEs sent by other nodes. awaitUnanimity: the node has chosen itself as PGL. If the node has been elected unanimously, it generates a Unanimity event. It waits for unanimity or expiration of the overrideDelay timer before declaring itself peer group leader. hungElection: the node has chosen itself as PGL with less than 2/3 of the other nodes advertising it as their preferred PGL. In this case either this node should change its choice of preferred PGL, or the other nodes are going to accept it as PGL. awaitReElection: the node has lost connectivity to the current PGL. The connectivity must be reestablished before the reElectionInterval timer fires, otherwise the election is redone.') msc_a_rtg_pnni_cfg_node_s_addr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2)) msc_a_rtg_pnni_cfg_node_s_addr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniCfgNodeSAddr components.') msc_a_rtg_pnni_cfg_node_s_addr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrAddressIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrPrefixLengthIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrReachabilityIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNodeSAddr component.') msc_a_rtg_pnni_cfg_node_s_addr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNodeSAddr components. These components can be added and deleted.') msc_a_rtg_pnni_cfg_node_s_addr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_cfg_node_s_addr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNodeSAddr tables.') msc_a_rtg_pnni_cfg_node_s_addr_address_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 10), hex_string().subtype(subtypeSpec=value_size_constraint(19, 19)).setFixedLength(19)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrAddressIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrAddressIndex.setDescription('This variable represents an index for the mscARtgPnniCfgNodeSAddr tables.') msc_a_rtg_pnni_cfg_node_s_addr_prefix_length_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 152))) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrPrefixLengthIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrPrefixLengthIndex.setDescription('This variable represents an index for the mscARtgPnniCfgNodeSAddr tables.') msc_a_rtg_pnni_cfg_node_s_addr_reachability_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('internal', 0), ('exterior', 1)))) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrReachabilityIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrReachabilityIndex.setDescription('This variable represents an index for the mscARtgPnniCfgNodeSAddr tables.') msc_a_rtg_pnni_cfg_node_s_addr_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 10)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvTable.setDescription('This group contains the provisionable attributes of a SummaryAddress component. A summary address is an abbreviation of a set of addresses, represented by an address prefix that all of the summarized addresses have in common. A suppressed summary address is used to suppress the advertisement of addresses which match this prefix, regardless of scope.') msc_a_rtg_pnni_cfg_node_s_addr_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrAddressIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrPrefixLengthIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrReachabilityIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrProvEntry.setDescription('An entry in the mscARtgPnniCfgNodeSAddrProvTable.') msc_a_rtg_pnni_cfg_node_s_addr_suppress = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrSuppress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrSuppress.setDescription('This attribute specifies whether or not the address should be suppressed. If this attribute is set to true, then all addresses matching that prefix will not be advertised above this level.') msc_a_rtg_pnni_cfg_node_s_addr_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperTable.setDescription('This group contains the operational attributes of a SummaryAddress component.') msc_a_rtg_pnni_cfg_node_s_addr_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrAddressIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrPrefixLengthIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeSAddrReachabilityIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeSAddrOperTable.') msc_a_rtg_pnni_cfg_node_s_addr_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('advertising', 0), ('suppressing', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrState.setDescription('This attribute indicates the state of the address: one of advertising, suppressing or inactive. inactive: the summary address has been configured but is not suppressing or summarizing any ATM addresses. suppressing: the summary address has suppressed at least one ATM address on the node. advertising: the summary address is summarizing at least one ATM address on the node.') msc_a_rtg_pnni_cfg_node_s_addr_scope = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 2, 11, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-1, 104))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeSAddrScope.setDescription('This attribute indicates the scope of the summary address. The scope corresponds to the scope of the underlying summarized address with the highest advertised scope. A value of -1 means the scope is unknown.') msc_a_rtg_pnni_cfg_node_nbr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3)) msc_a_rtg_pnni_cfg_node_nbr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniCfgNodeNbr components.') msc_a_rtg_pnni_cfg_node_nbr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeNbrIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNodeNbr component.') msc_a_rtg_pnni_cfg_node_nbr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNodeNbr components. These components cannot be added nor deleted.') msc_a_rtg_pnni_cfg_node_nbr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_cfg_node_nbr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNodeNbr tables.') msc_a_rtg_pnni_cfg_node_nbr_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 1, 1, 10), hex_string().subtype(subtypeSpec=value_size_constraint(22, 22)).setFixedLength(22)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrIndex.setDescription('This variable represents the index for the mscARtgPnniCfgNodeNbr tables.') msc_a_rtg_pnni_cfg_node_nbr_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 10)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Neighbor component.') msc_a_rtg_pnni_cfg_node_nbr_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeNbrIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeNbrOperTable.') msc_a_rtg_pnni_cfg_node_nbr_peer_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('npDown', 0), ('negotiating', 1), ('exchanging', 2), ('loading', 3), ('full', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPeerState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPeerState.setDescription('This attribute indicates the state of the routing database exchange with the peer node. npDown: there are no active links (i.e. in the twoWayInside Hello state) to the neighboring peer. negotiating: the first step in creating an adjacency between the two neighboring peers; this step determines which node is the master, and what the initial DS sequence number will be. exchanging: the node describes its topology database by sending Database Summary packets to the neighboring peer. loading: a full sequence of Database Summary packets has been exchanged with the neighboring peer, and the required PTSEs are requested and at least one has not yet been received. full: All PTSEs known to be available have been received from the neighboring peer. At this point the all ports leading to the neighbor node will be flooded in PTSEs within the peer group.') msc_a_rtg_pnni_cfg_node_nbr_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the statistical operational attributes of a Neighbor component.') msc_a_rtg_pnni_cfg_node_nbr_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeNbrIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrStatsEntry.setDescription('An entry in the mscARtgPnniCfgNodeNbrStatsTable.') msc_a_rtg_pnni_cfg_node_nbr_ptsp_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspRx.setDescription('This attribute counts the PNNI Topology State Packets received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptsp_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtspTx.setDescription('This attribute counts the total number of PTSPs send to the neighbor node.The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptse_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseRx.setDescription('This attribute counts the total number of PTSEs received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptse_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseTx.setDescription('This attribute counts the total number of PTSEs sent to the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptse_req_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqRx.setDescription('This attribute counts the total number of PTSE requests received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptse_req_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseReqTx.setDescription('This attribute counts the total number of PTSE requests sent to the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptse_acks_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksRx.setDescription('This attribute counts the total number of PTSE acknowledgments received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_ptse_acks_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrPtseAcksTx.setDescription('This attribute counts the total number of PTSE acknowledgments sent to the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_db_summaries_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesRx.setDescription('This attribute counts the number of database summary packets received from the neighbor. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_db_summaries_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesTx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrDbSummariesTx.setDescription('This attribute counts the number of database summary packets transmitted to the neighbor. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_bad_ptsp_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtspRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtspRx.setDescription('This attribute counts the total number of invalid PTSP packets received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_bad_ptse_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseRx.setDescription('This attribute counts the total number of invalid PTSE packets received to the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_bad_ptse_req_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseReqRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseReqRx.setDescription('This attribute counts the total number of invalid PTSE requests received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_bad_ptse_ack_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseAckRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadPtseAckRx.setDescription('This attribute counts the total number of invalid PTSE acknowledgments received from the neighbor node. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_bad_db_summaries_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 11, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadDbSummariesRx.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrBadDbSummariesRx.setDescription('This attribute counts the total number of invalid database summary packets received from the neighbor. The counter wraps when it exceeds the maximum value.') msc_a_rtg_pnni_cfg_node_nbr_rcc_list_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 385)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This attribute indicates the component names of all Routing Control Channels to the neighbor PNNI node.') msc_a_rtg_pnni_cfg_node_nbr_rcc_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 385, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeNbrIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeNbrRccListValue')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListEntry.setDescription('An entry in the mscARtgPnniCfgNodeNbrRccListTable.') msc_a_rtg_pnni_cfg_node_nbr_rcc_list_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 3, 385, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListValue.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeNbrRccListValue.setDescription('This variable represents both the value and the index for the mscARtgPnniCfgNodeNbrRccListTable.') msc_a_rtg_pnni_cfg_node_def_s_addr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4)) msc_a_rtg_pnni_cfg_node_def_s_addr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusTable.setDescription('This entry controls the addition and deletion of mscARtgPnniCfgNodeDefSAddr components.') msc_a_rtg_pnni_cfg_node_def_s_addr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeDefSAddrIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniCfgNodeDefSAddr component.') msc_a_rtg_pnni_cfg_node_def_s_addr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniCfgNodeDefSAddr components. These components cannot be added nor deleted.') msc_a_rtg_pnni_cfg_node_def_s_addr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_cfg_node_def_s_addr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniCfgNodeDefSAddr tables.') msc_a_rtg_pnni_cfg_node_def_s_addr_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrIndex.setDescription('This variable represents the index for the mscARtgPnniCfgNodeDefSAddr tables.') msc_a_rtg_pnni_cfg_node_def_s_addr_def_addr_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 10)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrTable.setDescription('This group contains the operational attributes of a DefSummaryAddress component.') msc_a_rtg_pnni_cfg_node_def_s_addr_def_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeDefSAddrIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrDefAddrEntry.setDescription('An entry in the mscARtgPnniCfgNodeDefSAddrDefAddrTable.') msc_a_rtg_pnni_cfg_node_def_s_addr_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(13, 13)).setFixedLength(13)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrAddress.setDescription('This attribute indicates the default summary address of the node at this level.') msc_a_rtg_pnni_cfg_node_def_s_addr_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11)) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperTable.setDescription('This group contains the operational attributes of a SummaryAddress component.') msc_a_rtg_pnni_cfg_node_def_s_addr_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniCfgNodeDefSAddrIndex')) if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrOperEntry.setDescription('An entry in the mscARtgPnniCfgNodeDefSAddrOperTable.') msc_a_rtg_pnni_cfg_node_def_s_addr_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('advertising', 0), ('suppressing', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrState.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrState.setDescription('This attribute indicates the state of the address: one of advertising, suppressing or inactive. inactive: the summary address has been configured but is not suppressing or summarizing any ATM addresses. suppressing: the summary address has suppressed at least one ATM address on the node. advertising: the summary address is summarizing at least one ATM address on the node.') msc_a_rtg_pnni_cfg_node_def_s_addr_scope = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 3, 4, 11, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-1, 104))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniCfgNodeDefSAddrScope.setDescription('This attribute indicates the scope of the summary address. The scope corresponds to the scope of the underlying summarized address with the highest advertised scope. A value of -1 means the scope is unknown.') msc_a_rtg_pnni_top = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4)) msc_a_rtg_pnni_top_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1)) if mibBuilder.loadTexts: mscARtgPnniTopRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTop components.') msc_a_rtg_pnni_top_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex')) if mibBuilder.loadTexts: mscARtgPnniTopRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTop component.') msc_a_rtg_pnni_top_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTop components. These components cannot be added nor deleted.') msc_a_rtg_pnni_top_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_top_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTop tables.') msc_a_rtg_pnni_top_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 104))) if mibBuilder.loadTexts: mscARtgPnniTopIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopIndex.setDescription('This variable represents the index for the mscARtgPnniTop tables.') msc_a_rtg_pnni_top_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10)) if mibBuilder.loadTexts: mscARtgPnniTopOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Topology component.') msc_a_rtg_pnni_top_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex')) if mibBuilder.loadTexts: mscARtgPnniTopOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopOperEntry.setDescription('An entry in the mscARtgPnniTopOperTable.') msc_a_rtg_pnni_top_ptses_in_database = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopPtsesInDatabase.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopPtsesInDatabase.setDescription("This attribute indicates the number of PTSEs in storage in this node's topology database for this level.") msc_a_rtg_pnni_top_pgl_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 2), hex_string().subtype(subtypeSpec=value_size_constraint(0, 22))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopPglNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopPglNodeId.setDescription('This attribute indicates the node id of the peer group leader. If this attribute is empty, it indicates the Peer Group Level node id is unknown.') msc_a_rtg_pnni_top_active_parent_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(0, 22))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopActiveParentNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopActiveParentNodeId.setDescription('This attribute indicates the node identifier being used by the LGN representing this peer group at the next higher level peer group.') msc_a_rtg_pnni_top_preferred_pgl_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 10, 1, 4), hex_string().subtype(subtypeSpec=value_size_constraint(0, 22))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopPreferredPglNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopPreferredPglNodeId.setDescription('This attribute represents the node in database with the highest Peer Group Level (PGL) priority. If this attribute is empty, it indicates the preferred PGL node id is unknown.') msc_a_rtg_pnni_top_node = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2)) msc_a_rtg_pnni_top_node_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1)) if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTopNode components.') msc_a_rtg_pnni_top_node_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeIndex')) if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTopNode component.') msc_a_rtg_pnni_top_node_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTopNode components. These components cannot be added nor deleted.') msc_a_rtg_pnni_top_node_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_top_node_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTopNode tables.') msc_a_rtg_pnni_top_node_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 1, 1, 10), hex_string().subtype(subtypeSpec=value_size_constraint(22, 22)).setFixedLength(22)) if mibBuilder.loadTexts: mscARtgPnniTopNodeIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeIndex.setDescription('This variable represents the index for the mscARtgPnniTopNode tables.') msc_a_rtg_pnni_top_node_addr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2)) msc_a_rtg_pnni_top_node_addr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1)) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTopNodeAddr components.') msc_a_rtg_pnni_top_node_addr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeAddrAddressIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeAddrPrefixLengthIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeAddrReachabilityIndex')) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTopNodeAddr component.') msc_a_rtg_pnni_top_node_addr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTopNodeAddr components. These components cannot be added nor deleted.') msc_a_rtg_pnni_top_node_addr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_top_node_addr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTopNodeAddr tables.') msc_a_rtg_pnni_top_node_addr_address_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 10), hex_string().subtype(subtypeSpec=value_size_constraint(19, 19)).setFixedLength(19)) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrAddressIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrAddressIndex.setDescription('This variable represents an index for the mscARtgPnniTopNodeAddr tables.') msc_a_rtg_pnni_top_node_addr_prefix_length_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 152))) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrPrefixLengthIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrPrefixLengthIndex.setDescription('This variable represents an index for the mscARtgPnniTopNodeAddr tables.') msc_a_rtg_pnni_top_node_addr_reachability_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('internal', 0), ('exterior', 1)))) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrReachabilityIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrReachabilityIndex.setDescription('This variable represents an index for the mscARtgPnniTopNodeAddr tables.') msc_a_rtg_pnni_top_node_addr_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 10)) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This attribute group contains the operational attributes for the Address component.') msc_a_rtg_pnni_top_node_addr_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeAddrAddressIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeAddrPrefixLengthIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeAddrReachabilityIndex')) if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrOperEntry.setDescription('An entry in the mscARtgPnniTopNodeAddrOperTable.') msc_a_rtg_pnni_top_node_addr_scope = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 104))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrScope.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeAddrScope.setDescription('This attribute specifies the scope of the ATM address, which is the highest level to which this address will be advertised in the PNNI hierarchy.') msc_a_rtg_pnni_top_node_link = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3)) msc_a_rtg_pnni_top_node_link_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1)) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniTopNodeLink components.') msc_a_rtg_pnni_top_node_link_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeLinkIndex')) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniTopNodeLink component.') msc_a_rtg_pnni_top_node_link_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniTopNodeLink components. These components cannot be added nor deleted.') msc_a_rtg_pnni_top_node_link_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_top_node_link_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniTopNodeLink tables.') msc_a_rtg_pnni_top_node_link_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkIndex.setDescription('This variable represents the index for the mscARtgPnniTopNodeLink tables.') msc_a_rtg_pnni_top_node_link_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10)) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Link component.') msc_a_rtg_pnni_top_node_link_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniTopNodeLinkIndex')) if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkOperEntry.setDescription('An entry in the mscARtgPnniTopNodeLinkOperTable.') msc_a_rtg_pnni_top_node_link_remote_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(22, 22)).setFixedLength(22)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemoteNodeId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemoteNodeId.setDescription('This attribute indicates the id of the node at the far end of this link.') msc_a_rtg_pnni_top_node_link_remote_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 4, 2, 3, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemotePortId.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniTopNodeLinkRemotePortId.setDescription("This attribute indicates the node's port id at the far end of this link.") msc_a_rtg_pnni_port = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5)) msc_a_rtg_pnni_port_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1)) if mibBuilder.loadTexts: mscARtgPnniPortRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscARtgPnniPort components.') msc_a_rtg_pnni_port_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniPortIndex')) if mibBuilder.loadTexts: mscARtgPnniPortRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortRowStatusEntry.setDescription('A single entry in the table represents a single mscARtgPnniPort component.') msc_a_rtg_pnni_port_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniPortRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscARtgPnniPort components. These components cannot be added nor deleted.') msc_a_rtg_pnni_port_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniPortComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_a_rtg_pnni_port_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniPortStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortStorageType.setDescription('This variable represents the storage type value for the mscARtgPnniPort tables.') msc_a_rtg_pnni_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))) if mibBuilder.loadTexts: mscARtgPnniPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortIndex.setDescription('This variable represents the index for the mscARtgPnniPort tables.') msc_a_rtg_pnni_port_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 10)) if mibBuilder.loadTexts: mscARtgPnniPortOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group contains the operational attributes of a Port component.') msc_a_rtg_pnni_port_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscARtgPnniPortIndex')) if mibBuilder.loadTexts: mscARtgPnniPortOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortOperEntry.setDescription('An entry in the mscARtgPnniPortOperTable.') msc_a_rtg_pnni_port_std_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 95, 3, 5, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscARtgPnniPortStdComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscARtgPnniPortStdComponentName.setDescription('This attribute indicates the component name of the port.') msc_atm_cr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113)) msc_atm_cr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1)) if mibBuilder.loadTexts: mscAtmCRRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmCR components.') msc_atm_cr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRIndex')) if mibBuilder.loadTexts: mscAtmCRRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmCR component.') msc_atm_cr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmCRRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmCR components. These components can be added and deleted.') msc_atm_cr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_cr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRStorageType.setDescription('This variable represents the storage type value for the mscAtmCR tables.') msc_atm_cr_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmCRIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRIndex.setDescription('This variable represents the index for the mscAtmCR tables.') msc_atm_cr_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 10)) if mibBuilder.loadTexts: mscAtmCRProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRProvTable.setDescription('This group represents the provisioned attributes for the AtmCallRouter component.') msc_atm_cr_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRIndex')) if mibBuilder.loadTexts: mscAtmCRProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRProvEntry.setDescription('An entry in the mscAtmCRProvTable.') msc_atm_cr_node_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 10, 1, 1), ascii_string().subtype(subtypeSpec=value_size_constraint(26, 26)).setFixedLength(26)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmCRNodeAddress.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRNodeAddress.setDescription('This attribute specifies the NSAP address prefix used for ILMI purposes.') msc_atm_cr_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11)) if mibBuilder.loadTexts: mscAtmCRStatsTable.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRStatsTable.setDescription('This group represents the operational attributes for the AtmCallRouter component.') msc_atm_cr_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRIndex')) if mibBuilder.loadTexts: mscAtmCRStatsEntry.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRStatsEntry.setDescription('An entry in the mscAtmCRStatsTable.') msc_atm_cr_calls_routed = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRCallsRouted.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRCallsRouted.setDescription('This attribute counts the total number of calls routed.') msc_atm_cr_calls_failed = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRCallsFailed.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRCallsFailed.setDescription('This attribute specifies the number of calls that failed to route.') msc_atm_cr_dna = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2)) msc_atm_cr_dna_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1)) if mibBuilder.loadTexts: mscAtmCRDnaRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of mscAtmCRDna components.') msc_atm_cr_dna_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRDnaIndex')) if mibBuilder.loadTexts: mscAtmCRDnaRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmCRDna component.') msc_atm_cr_dna_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRDnaRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmCRDna components. These components cannot be added nor deleted.') msc_atm_cr_dna_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRDnaComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_cr_dna_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRDnaStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaStorageType.setDescription('This variable represents the storage type value for the mscAtmCRDna tables.') msc_atm_cr_dna_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 40))) if mibBuilder.loadTexts: mscAtmCRDnaIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmCRDnaIndex.setDescription('This variable represents the index for the mscAtmCRDna tables.') msc_atm_cr_dna_destination_name_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 289)) if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameTable.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This attribute indicates which components have this address provisioned or dynamically registered via ILMI.') msc_atm_cr_dna_destination_name_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 289, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRDnaIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmCRDnaDestinationNameValue')) if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameEntry.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameEntry.setDescription('An entry in the mscAtmCRDnaDestinationNameTable.') msc_atm_cr_dna_destination_name_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 113, 2, 289, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameValue.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmCRDnaDestinationNameValue.setDescription('This variable represents both the value and the index for the mscAtmCRDnaDestinationNameTable.') msc_atm_if_vpc_src = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6)) msc_atm_if_vpc_src_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1)) if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVpcSrc components.') msc_atm_if_vpc_src_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVpcSrc component.') msc_atm_if_vpc_src_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVpcSrc components. These components can be added and deleted.') msc_atm_if_vpc_src_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcSrcComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpc_src_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcSrcStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVpcSrc tables.') msc_atm_if_vpc_src_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVpcSrcIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcIndex.setDescription('This variable represents the index for the mscAtmIfVpcSrc tables.') msc_atm_if_vpc_src_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10)) if mibBuilder.loadTexts: mscAtmIfVpcSrcProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcProvTable.setDescription('This attribute group contains the provisionable attributes of the AtmIf/n Vpc/vpi SrcPvp component.') msc_atm_if_vpc_src_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVpcSrcProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcProvEntry.setDescription('An entry in the mscAtmIfVpcSrcProvTable.') msc_atm_if_vpc_src_calling_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(0, 20)).clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVpcSrcCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcCallingAddress.setDescription('This attribute specifies the calling address of the soft PVP. If it is a null string, then the calling address is the address of the current interface (that is, where the soft PVC originates).') msc_atm_if_vpc_src_called_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1, 2), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledAddress.setDescription('This attribute specifies the called (remote) address of the soft PVP.') msc_atm_if_vpc_src_called_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledVpi.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcCalledVpi.setDescription('This attribute specifies the called VPI of the soft PVP.') msc_atm_if_vpc_src_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11)) if mibBuilder.loadTexts: mscAtmIfVpcSrcOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcOperTable.setDescription('This attribute group contains the operational attributes associated with the SrcPvp or SrcPvc component.') msc_atm_if_vpc_src_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVpcSrcOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcOperEntry.setDescription('An entry in the mscAtmIfVpcSrcOperTable.') msc_atm_if_vpc_src_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('active', 0), ('inactive', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcSrcState.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcState.setDescription('This attribute indicates the state of the soft PVP or soft PVC.') msc_atm_if_vpc_src_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcSrcRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcRetryCount.setDescription('This attribute indicates the number of failed attempts to set up the soft PVP or soft PVC since the last time the connection failed.') msc_atm_if_vpc_src_last_failure_cause_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureCauseCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureCauseCode.setDescription('This attribute contains the cause code in the last transmitted signalling message that contains the CAUSE information element. The cause code is used to describe the reason for generating certain signalling messages. The default value for this attribute is set to 0.') msc_atm_if_vpc_src_last_failure_diag_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 6, 11, 1, 4), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureDiagCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcSrcLastFailureDiagCode.setDescription('This attribute contains the diagnostic code in the last transmitted signalling message. The diagnostic code is contained in the CAUSE information element and identifies an information element type or timer type. The diagnostic code is present only if a procedural error is detected by the signalling protocol. A diagnostic code is always accompanied by the cause code. If there is no failure, this attribute is set to NULL.') msc_atm_if_vpc_rp = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7)) msc_atm_if_vpc_rp_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1)) if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVpcRp components.') msc_atm_if_vpc_rp_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcRpIndex')) if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVpcRp component.') msc_atm_if_vpc_rp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVpcRp components. These components cannot be added nor deleted.') msc_atm_if_vpc_rp_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcRpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpc_rp_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcRpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVpcRp tables.') msc_atm_if_vpc_rp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVpcRpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpIndex.setDescription('This variable represents the index for the mscAtmIfVpcRp tables.') msc_atm_if_vpc_rp_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 10)) if mibBuilder.loadTexts: mscAtmIfVpcRpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpOperTable.setDescription('This attribute group contains the operational attributes for the AtmRelayPoint component.') msc_atm_if_vpc_rp_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcRpIndex')) if mibBuilder.loadTexts: mscAtmIfVpcRpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpOperEntry.setDescription('An entry in the mscAtmIfVpcRpOperTable.') msc_atm_if_vpc_rp_next_hop = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHop.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHop.setDescription('This attribute indicates the component name of the Rp component with which this Rp component is associated.') msc_atm_if_vpc_rp_next_hops_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 430)) if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsTable.setDescription('This attribute indicates the component name(s) of the Rp component(s) with which this Rp component is associated. This attribute can have more than one component name only when the Vcc distributionType is pointToMultipoint and the callDirection is fromLink.') msc_atm_if_vpc_rp_next_hops_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 430, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcRpIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcRpNextHopsValue')) if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsEntry.setDescription('An entry in the mscAtmIfVpcRpNextHopsTable.') msc_atm_if_vpc_rp_next_hops_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 7, 430, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsValue.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcRpNextHopsValue.setDescription('This variable represents both the value and the index for the mscAtmIfVpcRpNextHopsTable.') msc_atm_if_vpc_dst = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8)) msc_atm_if_vpc_dst_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1)) if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVpcDst components.') msc_atm_if_vpc_dst_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcDstIndex')) if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVpcDst component.') msc_atm_if_vpc_dst_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVpcDst components. These components cannot be added nor deleted.') msc_atm_if_vpc_dst_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcDstComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpc_dst_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcDstStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVpcDst tables.') msc_atm_if_vpc_dst_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVpcDstIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstIndex.setDescription('This variable represents the index for the mscAtmIfVpcDst tables.') msc_atm_if_vpc_dst_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10)) if mibBuilder.loadTexts: mscAtmIfVpcDstOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstOperTable.setDescription('This attribute group contains the operational attributes for the AtmIf/n Vpc/vpi DstPvp component.') msc_atm_if_vpc_dst_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVpcIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVpcDstIndex')) if mibBuilder.loadTexts: mscAtmIfVpcDstOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstOperEntry.setDescription('An entry in the mscAtmIfVpcDstOperTable.') msc_atm_if_vpc_dst_called_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcDstCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstCalledAddress.setDescription('This attribute indicates the called address of the soft PVP.') msc_atm_if_vpc_dst_calling_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1, 2), ascii_string().subtype(subtypeSpec=value_size_constraint(7, 40))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcDstCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstCallingAddress.setDescription('This attribute indicates the calling (remote) address of the soft PVP. If the address in not known, then the value of this address is Unknown.') msc_atm_if_vpc_dst_calling_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 4, 8, 10, 1, 3), ascii_string().subtype(subtypeSpec=value_size_constraint(1, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVpcDstCallingVpi.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVpcDstCallingVpi.setDescription('This attribute represents the calling (remote) VPI of the soft PVP. If the VPI value is not known, the attribute value is set to Unknown.') msc_atm_if_vcc_src = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8)) msc_atm_if_vcc_src_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1)) if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccSrc components.') msc_atm_if_vcc_src_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccSrc component.') msc_atm_if_vcc_src_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccSrc components. These components can be added and deleted.') msc_atm_if_vcc_src_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccSrcComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vcc_src_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccSrcStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccSrc tables.') msc_atm_if_vcc_src_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVccSrcIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcIndex.setDescription('This variable represents the index for the mscAtmIfVccSrc tables.') msc_atm_if_vcc_src_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10)) if mibBuilder.loadTexts: mscAtmIfVccSrcProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcProvTable.setDescription('This attribute group contains the provisionable attributes of the SourcePvc component.') msc_atm_if_vcc_src_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVccSrcProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcProvEntry.setDescription('An entry in the mscAtmIfVccSrcProvTable.') msc_atm_if_vcc_src_remote_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteAddress.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteAddress.setDescription('This attribute represents the remote address of the soft PVC.') msc_atm_if_vcc_src_remote_vpi_vci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 2), integer_sequence().subtype(subtypeSpec=value_size_constraint(3, 9))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteVpiVci.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVccSrcRemoteVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') msc_atm_if_vcc_src_calling_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(0, 20)).clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVccSrcCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcCallingAddress.setDescription('This attribute represents the calling address of the soft PVC. If it is a null string, then the calling address is the address of the current interface (that is, where the soft PVC originates).') msc_atm_if_vcc_src_called_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 4), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVccSrcCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcCalledAddress.setDescription('This attribute represents the called (remote) address of the soft PVC.') msc_atm_if_vcc_src_called_vpi_vci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 10, 1, 5), integer_sequence().subtype(subtypeSpec=value_size_constraint(3, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVccSrcCalledVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcCalledVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') msc_atm_if_vcc_src_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11)) if mibBuilder.loadTexts: mscAtmIfVccSrcOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcOperTable.setDescription('This attribute group contains the operational attributes associated with the SrcPvp or SrcPvc component.') msc_atm_if_vcc_src_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVccSrcOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcOperEntry.setDescription('An entry in the mscAtmIfVccSrcOperTable.') msc_atm_if_vcc_src_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('active', 0), ('inactive', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccSrcState.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcState.setDescription('This attribute indicates the state of the soft PVP or soft PVC.') msc_atm_if_vcc_src_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccSrcRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcRetryCount.setDescription('This attribute indicates the number of failed attempts to set up the soft PVP or soft PVC since the last time the connection failed.') msc_atm_if_vcc_src_last_failure_cause_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureCauseCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureCauseCode.setDescription('This attribute contains the cause code in the last transmitted signalling message that contains the CAUSE information element. The cause code is used to describe the reason for generating certain signalling messages. The default value for this attribute is set to 0.') msc_atm_if_vcc_src_last_failure_diag_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 8, 11, 1, 4), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureDiagCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccSrcLastFailureDiagCode.setDescription('This attribute contains the diagnostic code in the last transmitted signalling message. The diagnostic code is contained in the CAUSE information element and identifies an information element type or timer type. The diagnostic code is present only if a procedural error is detected by the signalling protocol. A diagnostic code is always accompanied by the cause code. If there is no failure, this attribute is set to NULL.') msc_atm_if_vcc_ep = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9)) msc_atm_if_vcc_ep_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1)) if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccEp components.') msc_atm_if_vcc_ep_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccEpIndex')) if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccEp component.') msc_atm_if_vcc_ep_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccEp components. These components cannot be added nor deleted.') msc_atm_if_vcc_ep_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccEpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vcc_ep_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccEpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccEp tables.') msc_atm_if_vcc_ep_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVccEpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpIndex.setDescription('This variable represents the index for the mscAtmIfVccEp tables.') msc_atm_if_vcc_ep_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 10)) if mibBuilder.loadTexts: mscAtmIfVccEpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpOperTable.setDescription('This attribute group contains the operational attributes for the AtmEndPoint component.') msc_atm_if_vcc_ep_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccEpIndex')) if mibBuilder.loadTexts: mscAtmIfVccEpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpOperEntry.setDescription('An entry in the mscAtmIfVccEpOperTable.') msc_atm_if_vcc_ep_application_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 9, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccEpApplicationName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccEpApplicationName.setDescription('This attribute indicates the component name associated with the application associated with the switched VCC.') msc_atm_if_vcc_rp = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10)) msc_atm_if_vcc_rp_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1)) if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccRp components.') msc_atm_if_vcc_rp_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccRpIndex')) if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccRp component.') msc_atm_if_vcc_rp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccRp components. These components cannot be added nor deleted.') msc_atm_if_vcc_rp_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccRpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vcc_rp_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccRpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccRp tables.') msc_atm_if_vcc_rp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVccRpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpIndex.setDescription('This variable represents the index for the mscAtmIfVccRp tables.') msc_atm_if_vcc_rp_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 10)) if mibBuilder.loadTexts: mscAtmIfVccRpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpOperTable.setDescription('This attribute group contains the operational attributes for the AtmRelayPoint component.') msc_atm_if_vcc_rp_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccRpIndex')) if mibBuilder.loadTexts: mscAtmIfVccRpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpOperEntry.setDescription('An entry in the mscAtmIfVccRpOperTable.') msc_atm_if_vcc_rp_next_hop = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccRpNextHop.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVccRpNextHop.setDescription('This attribute indicates the component name of the Rp component with which this Rp component is associated.') msc_atm_if_vcc_rp_next_hops_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 430)) if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsTable.setDescription('This attribute indicates the component name(s) of the Rp component(s) with which this Rp component is associated. This attribute can have more than one component name only when the Vcc distributionType is pointToMultipoint and the callDirection is fromLink.') msc_atm_if_vcc_rp_next_hops_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 430, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccRpIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccRpNextHopsValue')) if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsEntry.setDescription('An entry in the mscAtmIfVccRpNextHopsTable.') msc_atm_if_vcc_rp_next_hops_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 10, 430, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsValue.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccRpNextHopsValue.setDescription('This variable represents both the value and the index for the mscAtmIfVccRpNextHopsTable.') msc_atm_if_vcc_dst = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11)) msc_atm_if_vcc_dst_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1)) if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVccDst components.') msc_atm_if_vcc_dst_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccDstIndex')) if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVccDst component.') msc_atm_if_vcc_dst_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVccDst components. These components cannot be added nor deleted.') msc_atm_if_vcc_dst_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccDstComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vcc_dst_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccDstStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVccDst tables.') msc_atm_if_vcc_dst_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVccDstIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstIndex.setDescription('This variable represents the index for the mscAtmIfVccDst tables.') msc_atm_if_vcc_dst_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10)) if mibBuilder.loadTexts: mscAtmIfVccDstOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstOperTable.setDescription('This attribute group contains the operational attributes for the DestinationPvc component.') msc_atm_if_vcc_dst_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVccDstIndex')) if mibBuilder.loadTexts: mscAtmIfVccDstOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstOperEntry.setDescription('An entry in the mscAtmIfVccDstOperTable.') msc_atm_if_vcc_dst_called_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccDstCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstCalledAddress.setDescription('This attribute represents the called address of the soft PVC.') msc_atm_if_vcc_dst_calling_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1, 4), ascii_string().subtype(subtypeSpec=value_size_constraint(7, 40))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccDstCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstCallingAddress.setDescription('This attribute represents the remote address of the soft PVC. If the address in not known, then the value of this address is Unknown.') msc_atm_if_vcc_dst_calling_vpi_vci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 5, 11, 10, 1, 5), ascii_string().subtype(subtypeSpec=value_size_constraint(7, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVccDstCallingVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVccDstCallingVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC. If the VPI and VCI values are not known, this attribute is set to Unknown.') msc_atm_if_vpt_vcc_src = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8)) msc_atm_if_vpt_vcc_src_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1)) if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccSrc components.') msc_atm_if_vpt_vcc_src_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccSrc component.') msc_atm_if_vpt_vcc_src_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccSrc components. These components can be added and deleted.') msc_atm_if_vpt_vcc_src_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccSrcComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpt_vcc_src_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccSrcStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccSrc tables.') msc_atm_if_vpt_vcc_src_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVptVccSrcIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcIndex.setDescription('This variable represents the index for the mscAtmIfVptVccSrc tables.') msc_atm_if_vpt_vcc_src_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10)) if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvTable.setDescription('This attribute group contains the provisionable attributes of the SourcePvc component.') msc_atm_if_vpt_vcc_src_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcProvEntry.setDescription('An entry in the mscAtmIfVptVccSrcProvTable.') msc_atm_if_vpt_vcc_src_remote_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 1), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteAddress.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteAddress.setDescription('This attribute represents the remote address of the soft PVC.') msc_atm_if_vpt_vcc_src_remote_vpi_vci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 2), integer_sequence().subtype(subtypeSpec=value_size_constraint(3, 9))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteVpiVci.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRemoteVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') msc_atm_if_vpt_vcc_src_calling_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(0, 20)).clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCallingAddress.setDescription('This attribute represents the calling address of the soft PVC. If it is a null string, then the calling address is the address of the current interface (that is, where the soft PVC originates).') msc_atm_if_vpt_vcc_src_called_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 4), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledAddress.setDescription('This attribute represents the called (remote) address of the soft PVC.') msc_atm_if_vpt_vcc_src_called_vpi_vci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 10, 1, 5), integer_sequence().subtype(subtypeSpec=value_size_constraint(3, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcCalledVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC.') msc_atm_if_vpt_vcc_src_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11)) if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperTable.setDescription('This attribute group contains the operational attributes associated with the SrcPvp or SrcPvc component.') msc_atm_if_vpt_vcc_src_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccSrcIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcOperEntry.setDescription('An entry in the mscAtmIfVptVccSrcOperTable.') msc_atm_if_vpt_vcc_src_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('active', 0), ('inactive', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccSrcState.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcState.setDescription('This attribute indicates the state of the soft PVP or soft PVC.') msc_atm_if_vpt_vcc_src_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcRetryCount.setDescription('This attribute indicates the number of failed attempts to set up the soft PVP or soft PVC since the last time the connection failed.') msc_atm_if_vpt_vcc_src_last_failure_cause_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureCauseCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureCauseCode.setDescription('This attribute contains the cause code in the last transmitted signalling message that contains the CAUSE information element. The cause code is used to describe the reason for generating certain signalling messages. The default value for this attribute is set to 0.') msc_atm_if_vpt_vcc_src_last_failure_diag_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 8, 11, 1, 4), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureDiagCode.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccSrcLastFailureDiagCode.setDescription('This attribute contains the diagnostic code in the last transmitted signalling message. The diagnostic code is contained in the CAUSE information element and identifies an information element type or timer type. The diagnostic code is present only if a procedural error is detected by the signalling protocol. A diagnostic code is always accompanied by the cause code. If there is no failure, this attribute is set to NULL.') msc_atm_if_vpt_vcc_ep = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9)) msc_atm_if_vpt_vcc_ep_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1)) if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccEp components.') msc_atm_if_vpt_vcc_ep_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccEpIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccEp component.') msc_atm_if_vpt_vcc_ep_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccEp components. These components cannot be added nor deleted.') msc_atm_if_vpt_vcc_ep_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccEpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpt_vcc_ep_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccEpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccEp tables.') msc_atm_if_vpt_vcc_ep_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVptVccEpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpIndex.setDescription('This variable represents the index for the mscAtmIfVptVccEp tables.') msc_atm_if_vpt_vcc_ep_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 10)) if mibBuilder.loadTexts: mscAtmIfVptVccEpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpOperTable.setDescription('This attribute group contains the operational attributes for the AtmEndPoint component.') msc_atm_if_vpt_vcc_ep_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccEpIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccEpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpOperEntry.setDescription('An entry in the mscAtmIfVptVccEpOperTable.') msc_atm_if_vpt_vcc_ep_application_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 9, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccEpApplicationName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccEpApplicationName.setDescription('This attribute indicates the component name associated with the application associated with the switched VCC.') msc_atm_if_vpt_vcc_rp = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10)) msc_atm_if_vpt_vcc_rp_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1)) if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccRp components.') msc_atm_if_vpt_vcc_rp_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccRpIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccRp component.') msc_atm_if_vpt_vcc_rp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccRp components. These components cannot be added nor deleted.') msc_atm_if_vpt_vcc_rp_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccRpComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpt_vcc_rp_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccRpStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccRp tables.') msc_atm_if_vpt_vcc_rp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVptVccRpIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpIndex.setDescription('This variable represents the index for the mscAtmIfVptVccRp tables.') msc_atm_if_vpt_vcc_rp_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 10)) if mibBuilder.loadTexts: mscAtmIfVptVccRpOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpOperTable.setDescription('This attribute group contains the operational attributes for the AtmRelayPoint component.') msc_atm_if_vpt_vcc_rp_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccRpIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccRpOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpOperEntry.setDescription('An entry in the mscAtmIfVptVccRpOperTable.') msc_atm_if_vpt_vcc_rp_next_hop = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHop.setStatus('obsolete') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHop.setDescription('This attribute indicates the component name of the Rp component with which this Rp component is associated.') msc_atm_if_vpt_vcc_rp_next_hops_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 430)) if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsTable.setDescription('This attribute indicates the component name(s) of the Rp component(s) with which this Rp component is associated. This attribute can have more than one component name only when the Vcc distributionType is pointToMultipoint and the callDirection is fromLink.') msc_atm_if_vpt_vcc_rp_next_hops_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 430, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccRpIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccRpNextHopsValue')) if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsEntry.setDescription('An entry in the mscAtmIfVptVccRpNextHopsTable.') msc_atm_if_vpt_vcc_rp_next_hops_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 10, 430, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsValue.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccRpNextHopsValue.setDescription('This variable represents both the value and the index for the mscAtmIfVptVccRpNextHopsTable.') msc_atm_if_vpt_vcc_dst = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11)) msc_atm_if_vpt_vcc_dst_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1)) if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusTable.setDescription('This entry controls the addition and deletion of mscAtmIfVptVccDst components.') msc_atm_if_vpt_vcc_dst_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccDstIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatusEntry.setDescription('A single entry in the table represents a single mscAtmIfVptVccDst component.') msc_atm_if_vpt_vcc_dst_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstRowStatus.setDescription('This variable is used as the basis for SNMP naming of mscAtmIfVptVccDst components. These components cannot be added nor deleted.') msc_atm_if_vpt_vcc_dst_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccDstComponentName.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") msc_atm_if_vpt_vcc_dst_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccDstStorageType.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstStorageType.setDescription('This variable represents the storage type value for the mscAtmIfVptVccDst tables.') msc_atm_if_vpt_vcc_dst_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscAtmIfVptVccDstIndex.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstIndex.setDescription('This variable represents the index for the mscAtmIfVptVccDst tables.') msc_atm_if_vpt_vcc_dst_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10)) if mibBuilder.loadTexts: mscAtmIfVptVccDstOperTable.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstOperTable.setDescription('This attribute group contains the operational attributes for the DestinationPvc component.') msc_atm_if_vpt_vcc_dst_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmCoreMIB', 'mscAtmIfVptVccIndex'), (0, 'Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', 'mscAtmIfVptVccDstIndex')) if mibBuilder.loadTexts: mscAtmIfVptVccDstOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstOperEntry.setDescription('An entry in the mscAtmIfVptVccDstOperTable.') msc_atm_if_vpt_vcc_dst_called_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccDstCalledAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstCalledAddress.setDescription('This attribute represents the called address of the soft PVC.') msc_atm_if_vpt_vcc_dst_calling_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1, 4), ascii_string().subtype(subtypeSpec=value_size_constraint(7, 40))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingAddress.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingAddress.setDescription('This attribute represents the remote address of the soft PVC. If the address in not known, then the value of this address is Unknown.') msc_atm_if_vpt_vcc_dst_calling_vpi_vci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 114, 9, 20, 11, 10, 1, 5), ascii_string().subtype(subtypeSpec=value_size_constraint(7, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingVpiVci.setStatus('mandatory') if mibBuilder.loadTexts: mscAtmIfVptVccDstCallingVpiVci.setDescription('This attribute represents the remote VPI and VCI of the soft PVC. If the VPI and VCI values are not known, this attribute is set to Unknown.') atm_networking_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1)) atm_networking_group_ca = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1, 1)) atm_networking_group_ca02 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1, 1, 3)) atm_networking_group_ca02_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 1, 1, 3, 2)) atm_networking_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3)) atm_networking_capabilities_ca = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3, 1)) atm_networking_capabilities_ca02 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3, 1, 3)) atm_networking_capabilities_ca02_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 42, 3, 1, 3, 2)) mibBuilder.exportSymbols('Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', mscARtgPnniThreshParmsTable=mscARtgPnniThreshParmsTable, mscARtgPnniCfgNodeNbrStatsEntry=mscARtgPnniCfgNodeNbrStatsEntry, mscARtgPnniCfgNodeDefSAddrIndex=mscARtgPnniCfgNodeDefSAddrIndex, mscARtgDnaDestInfoRowStatusEntry=mscARtgDnaDestInfoRowStatusEntry, mscARtgPnniPtseLifetimeFactor=mscARtgPnniPtseLifetimeFactor, mscARtgPnniCfgNodeDefSAddrAddress=mscARtgPnniCfgNodeDefSAddrAddress, atmNetworkingGroupCA02=atmNetworkingGroupCA02, atmNetworkingCapabilitiesCA02=atmNetworkingCapabilitiesCA02, mscARtgPnniRfFqpIndex=mscARtgPnniRfFqpIndex, mscARtgPnniCfgNodeDefSAddrOperTable=mscARtgPnniCfgNodeDefSAddrOperTable, mscARtgPnniPglInitTime=mscARtgPnniPglInitTime, mscARtgPnniCfgNodeSAddrPrefixLengthIndex=mscARtgPnniCfgNodeSAddrPrefixLengthIndex, mscAtmIfVptVccRpComponentName=mscAtmIfVptVccRpComponentName, mscAtmIfVccDstOperTable=mscAtmIfVccDstOperTable, mscARtgPnniRfBqpEntry=mscARtgPnniRfBqpEntry, mscARtgPnniCfgNodeNbrPtseTx=mscARtgPnniCfgNodeNbrPtseTx, mscARtgPnniTopNodeRowStatusTable=mscARtgPnniTopNodeRowStatusTable, mscARtgPnniDomain=mscARtgPnniDomain, mscAtmIfVptVccSrcComponentName=mscAtmIfVptVccSrcComponentName, mscARtgPnniRowStatus=mscARtgPnniRowStatus, mscARtgPnniTopIndex=mscARtgPnniTopIndex, mscARtgPnniRfTxTdpTable=mscARtgPnniRfTxTdpTable, mscARtgPnniCfgNodeSAddrRowStatusTable=mscARtgPnniCfgNodeSAddrRowStatusTable, mscAtmIfVccEpStorageType=mscAtmIfVccEpStorageType, mscAtmIfVpcSrcLastFailureDiagCode=mscAtmIfVpcSrcLastFailureDiagCode, mscARtgPnniCfgNodeDefSAddrStorageType=mscARtgPnniCfgNodeDefSAddrStorageType, mscAtmCRCallsRouted=mscAtmCRCallsRouted, mscARtgPnniRfFqpValue=mscARtgPnniRfFqpValue, mscARtgPnniSuccessfulRoutingAttempts=mscARtgPnniSuccessfulRoutingAttempts, mscAtmIfVptVccEpIndex=mscAtmIfVptVccEpIndex, mscARtgPnniReElectionInterval=mscARtgPnniReElectionInterval, mscARtgPnniCfgNodeDefSAddrRowStatus=mscARtgPnniCfgNodeDefSAddrRowStatus, mscARtgStorageType=mscARtgStorageType, mscARtgPnniCfgNodeNbrIndex=mscARtgPnniCfgNodeNbrIndex, mscARtgPnniCfgNodeNbrBadPtseAckRx=mscARtgPnniCfgNodeNbrBadPtseAckRx, mscAtmIfVccSrcProvEntry=mscAtmIfVccSrcProvEntry, mscARtgPnniTopologyMemoryExhaustion=mscARtgPnniTopologyMemoryExhaustion, mscAtmIfVptVccSrcCallingAddress=mscAtmIfVptVccSrcCallingAddress, mscAtmIfVptVccSrcStorageType=mscAtmIfVptVccSrcStorageType, mscARtgPnniHelloInterval=mscARtgPnniHelloInterval, mscAtmIfVccDstComponentName=mscAtmIfVccDstComponentName, mscARtgPnniPtseParmsTable=mscARtgPnniPtseParmsTable, mscAtmIfVpcSrcComponentName=mscAtmIfVpcSrcComponentName, mscAtmIfVptVccSrcRetryCount=mscAtmIfVptVccSrcRetryCount, mscAtmIfVptVccSrcRemoteVpiVci=mscAtmIfVptVccSrcRemoteVpiVci, mscAtmCRRowStatusEntry=mscAtmCRRowStatusEntry, mscARtgPnniIndex=mscARtgPnniIndex, mscAtmCRDnaStorageType=mscAtmCRDnaStorageType, mscARtgPnniTopNodeLinkRowStatusEntry=mscARtgPnniTopNodeLinkRowStatusEntry, mscAtmIfVptVccRpRowStatus=mscAtmIfVptVccRpRowStatus, mscAtmIfVptVccEp=mscAtmIfVptVccEp, mscAtmIfVptVccRpNextHop=mscAtmIfVptVccRpNextHop, mscAtmIfVccRpNextHop=mscAtmIfVccRpNextHop, mscAtmIfVpcDst=mscAtmIfVpcDst, mscARtgPnniTopNodeLinkComponentName=mscARtgPnniTopNodeLinkComponentName, mscAtmCRProvEntry=mscAtmCRProvEntry, mscARtgDnaDestInfoOperTable=mscARtgDnaDestInfoOperTable, mscARtgPnniThreshParmsEntry=mscARtgPnniThreshParmsEntry, mscARtgPnniCfgNodeNbr=mscARtgPnniCfgNodeNbr, mscARtgPnniHlParmsEntry=mscARtgPnniHlParmsEntry, mscAtmIfVccRpComponentName=mscAtmIfVccRpComponentName, mscARtgPnniCfgNodeDefSAddr=mscARtgPnniCfgNodeDefSAddr, mscAtmIfVptVccSrcProvTable=mscAtmIfVptVccSrcProvTable, mscARtgPnniDefaultScope=mscARtgPnniDefaultScope, mscARtgPnniTopComponentName=mscARtgPnniTopComponentName, mscAtmIfVccSrcStorageType=mscAtmIfVccSrcStorageType, mscARtgPnniCfgNodeNumRccs=mscARtgPnniCfgNodeNumRccs, mscAtmIfVptVccEpRowStatusTable=mscAtmIfVptVccEpRowStatusTable, mscARtgPnniRfRxTdpIndex=mscARtgPnniRfRxTdpIndex, mscAtmIfVpcRp=mscAtmIfVpcRp, mscARtgPnniNodeAddressPrefix=mscARtgPnniNodeAddressPrefix, mscAtmIfVpcRpRowStatus=mscAtmIfVpcRpRowStatus, mscAtmIfVptVccDstCalledAddress=mscAtmIfVptVccDstCalledAddress, mscAtmIfVccDstCallingAddress=mscAtmIfVccDstCallingAddress, mscARtgPnniCfgNodeSAddrRowStatusEntry=mscARtgPnniCfgNodeSAddrRowStatusEntry, mscARtgPnniRfTxTrafficDescType=mscARtgPnniRfTxTrafficDescType, mscAtmIfVptVccEpStorageType=mscAtmIfVptVccEpStorageType, mscARtgPnniAvcrPm=mscARtgPnniAvcrPm, mscAtmIfVpcSrcRowStatusTable=mscAtmIfVpcSrcRowStatusTable, mscAtmIfVpcSrcStorageType=mscAtmIfVpcSrcStorageType, mscARtgPnniCfgNodeSAddrScope=mscARtgPnniCfgNodeSAddrScope, mscAtmIfVccSrcCalledAddress=mscAtmIfVccSrcCalledAddress, mscAtmIfVpcDstRowStatusTable=mscAtmIfVpcDstRowStatusTable, mscAtmIfVpcDstIndex=mscAtmIfVpcDstIndex, mscARtgPnniCfgNodeNbrPtseRx=mscARtgPnniCfgNodeNbrPtseRx, atmNetworkingGroupCA=atmNetworkingGroupCA, mscARtgPnniTopNodeComponentName=mscARtgPnniTopNodeComponentName, atmNetworkingMIB=atmNetworkingMIB, mscARtgPnniCfgNodeNodeId=mscARtgPnniCfgNodeNodeId, mscAtmCRStatsEntry=mscAtmCRStatsEntry, mscAtmIfVccSrcState=mscAtmIfVccSrcState, mscARtgPnniCfgNodeSAddrSuppress=mscARtgPnniCfgNodeSAddrSuppress, mscAtmIfVccDstIndex=mscAtmIfVccDstIndex, mscAtmIfVccRp=mscAtmIfVccRp, mscAtmIfVccRpStorageType=mscAtmIfVccRpStorageType, mscARtgPnniOperEntry=mscARtgPnniOperEntry, mscARtgPnniRfRowStatusTable=mscARtgPnniRfRowStatusTable, mscARtgDnaRowStatus=mscARtgDnaRowStatus, mscARtgPnni=mscARtgPnni, mscARtgPnniTopNodeRowStatus=mscARtgPnniTopNodeRowStatus, mscAtmIfVccSrcProvTable=mscAtmIfVccSrcProvTable, mscARtgPnniStatsEntry=mscARtgPnniStatsEntry, mscAtmIfVptVccSrcOperTable=mscAtmIfVptVccSrcOperTable, mscAtmIfVptVccEpOperTable=mscAtmIfVptVccEpOperTable, mscAtmCRDnaDestinationNameValue=mscAtmCRDnaDestinationNameValue, mscAtmIfVpcRpNextHopsTable=mscAtmIfVpcRpNextHopsTable, mscAtmIfVptVccDstStorageType=mscAtmIfVptVccDstStorageType, mscAtmIfVpcRpStorageType=mscAtmIfVpcRpStorageType, mscARtgPnniTopStorageType=mscARtgPnniTopStorageType, mscAtmCRDnaDestinationNameTable=mscAtmCRDnaDestinationNameTable, mscARtgPnniRfFqpEntry=mscARtgPnniRfFqpEntry, mscAtmIfVptVccSrcRemoteAddress=mscAtmIfVptVccSrcRemoteAddress, mscARtgDnaDestInfoRowStatus=mscARtgDnaDestInfoRowStatus, mscAtmIfVccRpIndex=mscAtmIfVccRpIndex, mscAtmIfVptVccDstRowStatus=mscAtmIfVptVccDstRowStatus, mscARtgPnniCfgNodeDefSAddrOperEntry=mscARtgPnniCfgNodeDefSAddrOperEntry, mscAtmIfVccSrcOperEntry=mscAtmIfVccSrcOperEntry, mscARtgPnniCfgNodeComponentName=mscARtgPnniCfgNodeComponentName, mscAtmIfVptVccDst=mscAtmIfVptVccDst, mscAtmIfVptVccSrcRowStatus=mscAtmIfVptVccSrcRowStatus, mscARtgPnniPortComponentName=mscARtgPnniPortComponentName, mscARtgPnniHelloInactivityFactor=mscARtgPnniHelloInactivityFactor, mscAtmIfVpcSrcRetryCount=mscAtmIfVpcSrcRetryCount, mscAtmIfVccDstStorageType=mscAtmIfVccDstStorageType, mscARtgPnniCfgNodeOpNodeId=mscARtgPnniCfgNodeOpNodeId, mscARtgPnniRfBestEffort=mscARtgPnniRfBestEffort, mscARtgDnaDestInfoReachability=mscARtgDnaDestInfoReachability, mscARtgPnniRfCriteriaTable=mscARtgPnniRfCriteriaTable, mscARtgPnniRequestRxmtInterval=mscARtgPnniRequestRxmtInterval, mscARtg=mscARtg, mscARtgPnniCfgNodeNbrRowStatusEntry=mscARtgPnniCfgNodeNbrRowStatusEntry, mscARtgPnniHlParmsTable=mscARtgPnniHlParmsTable, mscAtmIfVccRpRowStatusEntry=mscAtmIfVccRpRowStatusEntry, mscARtgPnniRfClippingBbc=mscARtgPnniRfClippingBbc, mscARtgDnaDestInfoIndex=mscARtgDnaDestInfoIndex, mscAtmIfVptVccDstCallingAddress=mscAtmIfVptVccDstCallingAddress, mscARtgDnaDestInfoOperEntry=mscARtgDnaDestInfoOperEntry, mscARtgPnniAlternateRoutingAttempts=mscARtgPnniAlternateRoutingAttempts, mscARtgPnniCfgNodeNbrPtspTx=mscARtgPnniCfgNodeNbrPtspTx, mscARtgPnniFailedRoutingAttempts=mscARtgPnniFailedRoutingAttempts, mscAtmIfVptVccDstCallingVpiVci=mscAtmIfVptVccDstCallingVpiVci, mscARtgPnniCfgNodeStorageType=mscARtgPnniCfgNodeStorageType, mscARtgPnniRfAtmServiceCategory=mscARtgPnniRfAtmServiceCategory, mscAtmIfVccEpIndex=mscAtmIfVccEpIndex, mscAtmIfVccSrcRowStatus=mscAtmIfVccSrcRowStatus, mscARtgPnniCfgNodeNbrRccListValue=mscARtgPnniCfgNodeNbrRccListValue, mscARtgPnniCfgNodeProvTable=mscARtgPnniCfgNodeProvTable, mscAtmIfVptVccRpNextHopsValue=mscAtmIfVptVccRpNextHopsValue, mscAtmIfVpcSrcRowStatusEntry=mscAtmIfVpcSrcRowStatusEntry, mscARtgPnniTopNodeAddrAddressIndex=mscARtgPnniTopNodeAddrAddressIndex, mscAtmIfVccSrcRemoteAddress=mscAtmIfVccSrcRemoteAddress, mscARtgPnniTopOperTable=mscARtgPnniTopOperTable, mscAtmIfVccSrcLastFailureCauseCode=mscAtmIfVccSrcLastFailureCauseCode, mscARtgPnniRfTxTdpIndex=mscARtgPnniRfTxTdpIndex, mscARtgPnniCfgNodeIndex=mscARtgPnniCfgNodeIndex, mscAtmIfVptVccDstIndex=mscAtmIfVptVccDstIndex, mscAtmIfVpcSrcIndex=mscAtmIfVpcSrcIndex, mscARtgPnniCfgNodeNbrDbSummariesTx=mscARtgPnniCfgNodeNbrDbSummariesTx, mscARtgPnniCfgNodeSAddrComponentName=mscARtgPnniCfgNodeSAddrComponentName, mscARtgPnniRfFwdQosClass=mscARtgPnniRfFwdQosClass, mscAtmCRStatsTable=mscAtmCRStatsTable, mscAtmIfVpcRpRowStatusEntry=mscAtmIfVpcRpRowStatusEntry, mscARtgDnaDestInfo=mscARtgDnaDestInfo, mscARtgPnniCfgNodeNbrPtspRx=mscARtgPnniCfgNodeNbrPtspRx, mscAtmIfVccEp=mscAtmIfVccEp, mscAtmIfVptVccDstOperEntry=mscAtmIfVptVccDstOperEntry, mscARtgPnniTop=mscARtgPnniTop, mscAtmIfVpcSrcLastFailureCauseCode=mscAtmIfVpcSrcLastFailureCauseCode, mscARtgRowStatusTable=mscARtgRowStatusTable, mscAtmIfVptVccSrcCalledVpiVci=mscAtmIfVptVccSrcCalledVpiVci, mscAtmIfVptVccRpStorageType=mscAtmIfVptVccRpStorageType, mscARtgPnniCfgNodeNbrOperTable=mscARtgPnniCfgNodeNbrOperTable, mscARtgPnniTopNodeLinkOperEntry=mscARtgPnniTopNodeLinkOperEntry, mscAtmIfVpcRpOperTable=mscAtmIfVpcRpOperTable, mscAtmIfVccEpRowStatusEntry=mscAtmIfVccEpRowStatusEntry, mscARtgPnniTopNodeAddrScope=mscARtgPnniTopNodeAddrScope, mscAtmIfVpcRpOperEntry=mscAtmIfVpcRpOperEntry, mscARtgPnniRfDestinationAddress=mscARtgPnniRfDestinationAddress, mscARtgPnniCfgNodeNbrRowStatus=mscARtgPnniCfgNodeNbrRowStatus, mscARtgPnniTopNodeAddrRowStatus=mscARtgPnniTopNodeAddrRowStatus, mscARtgPnniCfgNodeRowStatus=mscARtgPnniCfgNodeRowStatus, mscARtgPnniCfgNodeDefSAddrRowStatusEntry=mscARtgPnniCfgNodeDefSAddrRowStatusEntry, mscARtgPnniCfgNodeDefSAddrDefAddrEntry=mscARtgPnniCfgNodeDefSAddrDefAddrEntry, mscAtmIfVptVccSrcOperEntry=mscAtmIfVptVccSrcOperEntry, mscAtmIfVpcSrcOperEntry=mscAtmIfVpcSrcOperEntry, mscARtgDnaDestInfoType=mscARtgDnaDestInfoType, mscARtgPnniPortRowStatus=mscARtgPnniPortRowStatus, mscARtgStatsTable=mscARtgStatsTable, mscAtmIfVptVccSrcLastFailureCauseCode=mscAtmIfVptVccSrcLastFailureCauseCode, mscAtmIfVptVccRpNextHopsEntry=mscAtmIfVptVccRpNextHopsEntry, mscAtmIfVptVccDstRowStatusTable=mscAtmIfVptVccDstRowStatusTable, mscARtgPnniRfBqpTable=mscARtgPnniRfBqpTable, mscARtgPnniRowStatusEntry=mscARtgPnniRowStatusEntry, mscARtgPnniOverrideDelay=mscARtgPnniOverrideDelay, mscARtgPnniRfIndex=mscARtgPnniRfIndex, mscAtmIfVccDstCallingVpiVci=mscAtmIfVccDstCallingVpiVci, mscARtgPnniCfgNodeNbrComponentName=mscARtgPnniCfgNodeNbrComponentName, mscAtmIfVccRpNextHopsEntry=mscAtmIfVccRpNextHopsEntry, mscARtgPnniPortRowStatusEntry=mscARtgPnniPortRowStatusEntry, mscARtgPnniStorageType=mscARtgPnniStorageType, mscAtmIfVptVccRpOperEntry=mscAtmIfVptVccRpOperEntry, mscARtgPnniTopNodeLinkRowStatus=mscARtgPnniTopNodeLinkRowStatus, mscARtgPnniRfTxTdpEntry=mscARtgPnniRfTxTdpEntry, mscARtgPnniCfgNodeOperEntry=mscARtgPnniCfgNodeOperEntry, mscARtgPnniCfgNodeSAddrState=mscARtgPnniCfgNodeSAddrState, mscARtgPnniCfgNodeSAddrProvEntry=mscARtgPnniCfgNodeSAddrProvEntry, mscARtgRowStatusEntry=mscARtgRowStatusEntry, mscARtgPnniRfRxTdpEntry=mscARtgPnniRfRxTdpEntry, mscAtmIfVccSrcIndex=mscAtmIfVccSrcIndex, mscARtgDnaDestInfoComponentName=mscARtgDnaDestInfoComponentName, mscAtmIfVptVccSrcState=mscAtmIfVptVccSrcState, mscAtmIfVccDstRowStatus=mscAtmIfVccDstRowStatus, mscARtgPnniProvTable=mscARtgPnniProvTable, mscARtgPnniRf=mscARtgPnniRf, mscAtmIfVccSrc=mscAtmIfVccSrc, mscARtgPnniCfgNodeCurrentLeadershipPriority=mscARtgPnniCfgNodeCurrentLeadershipPriority, mscARtgPnniPortStorageType=mscARtgPnniPortStorageType, mscAtmIfVccDstRowStatusEntry=mscAtmIfVccDstRowStatusEntry, mscARtgPnniCfgNodeNbrRowStatusTable=mscARtgPnniCfgNodeNbrRowStatusTable, mscARtgPnniRfBearerClassBbc=mscARtgPnniRfBearerClassBbc, mscARtgPnniCfgNodeNbrBadPtseReqRx=mscARtgPnniCfgNodeNbrBadPtseReqRx, mscAtmIfVpcDstOperTable=mscAtmIfVpcDstOperTable, mscAtmIfVptVccSrcProvEntry=mscAtmIfVptVccSrcProvEntry, mscARtgDnaDestInfoRowStatusTable=mscARtgDnaDestInfoRowStatusTable, mscARtgPnniRfRowStatusEntry=mscARtgPnniRfRowStatusEntry, mscAtmIfVpcSrcCalledVpi=mscAtmIfVpcSrcCalledVpi, mscAtmCRNodeAddress=mscAtmCRNodeAddress, mscAtmCRDna=mscAtmCRDna, mscAtmCRProvTable=mscAtmCRProvTable, mscARtgPnniCfgNodeSAddrRowStatus=mscARtgPnniCfgNodeSAddrRowStatus, mscAtmCRDnaRowStatusTable=mscAtmCRDnaRowStatusTable, mscARtgPnniRfRowStatus=mscARtgPnniRfRowStatus, mscAtmCRComponentName=mscAtmCRComponentName, mscAtmIfVccSrcRowStatusTable=mscAtmIfVccSrcRowStatusTable, mscAtmIfVptVccSrcRowStatusTable=mscAtmIfVptVccSrcRowStatusTable, mscARtgPnniCfgNodeDefSAddrRowStatusTable=mscARtgPnniCfgNodeDefSAddrRowStatusTable, mscARtgPnniTopNode=mscARtgPnniTopNode, mscARtgPnniPort=mscARtgPnniPort, mscAtmIfVpcSrcProvTable=mscAtmIfVpcSrcProvTable, mscARtgPnniTopNodeLinkIndex=mscARtgPnniTopNodeLinkIndex, mscARtgPnniOperTable=mscARtgPnniOperTable, mscARtgPnniPortIndex=mscARtgPnniPortIndex, mscAtmIfVptVccDstComponentName=mscAtmIfVptVccDstComponentName, mscAtmIfVccSrcRemoteVpiVci=mscAtmIfVccSrcRemoteVpiVci, mscARtgPnniTopPtsesInDatabase=mscARtgPnniTopPtsesInDatabase, mscAtmIfVccRpRowStatusTable=mscAtmIfVccRpRowStatusTable, mscARtgPnniRfOptimizationMetric=mscARtgPnniRfOptimizationMetric, mscAtmIfVpcSrcOperTable=mscAtmIfVpcSrcOperTable, mscARtgPnniTopNodeLinkOperTable=mscARtgPnniTopNodeLinkOperTable, mscAtmCRRowStatusTable=mscAtmCRRowStatusTable, mscARtgPnniCfgNodeDefSAddrDefAddrTable=mscARtgPnniCfgNodeDefSAddrDefAddrTable, mscAtmIfVpcDstStorageType=mscAtmIfVpcDstStorageType, mscARtgPnniTopNodeLinkRemoteNodeId=mscARtgPnniTopNodeLinkRemoteNodeId, mscARtgPnniCfgNodeOperTable=mscARtgPnniCfgNodeOperTable) mibBuilder.exportSymbols('Nortel-MsCarrier-MscPassport-AtmNetworkingMIB', mscARtgPnniPglParmsEntry=mscARtgPnniPglParmsEntry, mscAtmIfVccSrcOperTable=mscAtmIfVccSrcOperTable, mscARtgPnniCfgNodeDefSAddrComponentName=mscARtgPnniCfgNodeDefSAddrComponentName, mscARtgPnniTopNodeAddrReachabilityIndex=mscARtgPnniTopNodeAddrReachabilityIndex, mscARtgPnniRfCriteriaEntry=mscARtgPnniRfCriteriaEntry, mscARtgPnniPeerDelayedAckInterval=mscARtgPnniPeerDelayedAckInterval, mscAtmIfVpcSrcRowStatus=mscAtmIfVpcSrcRowStatus, mscAtmIfVccDst=mscAtmIfVccDst, mscARtgPnniTopRowStatusEntry=mscARtgPnniTopRowStatusEntry, mscARtgPnniRfFqpTable=mscARtgPnniRfFqpTable, mscARtgPnniPortOperTable=mscARtgPnniPortOperTable, mscARtgPnniComponentName=mscARtgPnniComponentName, mscAtmIfVccSrcCalledVpiVci=mscAtmIfVccSrcCalledVpiVci, mscAtmIfVccSrcRowStatusEntry=mscAtmIfVccSrcRowStatusEntry, mscAtmIfVpcRpIndex=mscAtmIfVpcRpIndex, mscARtgPnniTopNodeLinkRemotePortId=mscARtgPnniTopNodeLinkRemotePortId, mscARtgPnniCfgNodeNbrBadPtspRx=mscARtgPnniCfgNodeNbrBadPtspRx, mscAtmIfVptVccRpRowStatusEntry=mscAtmIfVptVccRpRowStatusEntry, mscAtmIfVpcDstCallingAddress=mscAtmIfVpcDstCallingAddress, mscARtgPnniPglParmsTable=mscARtgPnniPglParmsTable, mscARtgPnniPortStdComponentName=mscARtgPnniPortStdComponentName, atmNetworkingGroup=atmNetworkingGroup, mscARtgDnaStorageType=mscARtgDnaStorageType, mscARtgDnaDestInfoStdComponentName=mscARtgDnaDestInfoStdComponentName, mscAtmCRCallsFailed=mscAtmCRCallsFailed, mscARtgRoutingAttempts=mscARtgRoutingAttempts, mscAtmIfVptVccDstOperTable=mscAtmIfVptVccDstOperTable, mscARtgPnniMaxAlternateRoutesOnCrankback=mscARtgPnniMaxAlternateRoutesOnCrankback, mscAtmIfVptVccSrcIndex=mscAtmIfVptVccSrcIndex, mscAtmIfVptVccRpRowStatusTable=mscAtmIfVptVccRpRowStatusTable, mscARtgPnniRfBqpIndex=mscARtgPnniRfBqpIndex, mscAtmIfVpcDstRowStatus=mscAtmIfVpcDstRowStatus, mscARtgPnniProvEntry=mscARtgPnniProvEntry, mscARtgPnniCfgNodeNbrPtseAcksRx=mscARtgPnniCfgNodeNbrPtseAcksRx, mscAtmIfVccRpNextHopsValue=mscAtmIfVccRpNextHopsValue, mscAtmIfVptVccRpNextHopsTable=mscAtmIfVptVccRpNextHopsTable, mscARtgPnniTopActiveParentNodeId=mscARtgPnniTopActiveParentNodeId, mscAtmIfVptVccEpRowStatusEntry=mscAtmIfVptVccEpRowStatusEntry, mscAtmIfVptVccEpApplicationName=mscAtmIfVptVccEpApplicationName, mscAtmIfVpcRpNextHopsValue=mscAtmIfVpcRpNextHopsValue, mscARtgPnniCfgNodeNbrRccListTable=mscARtgPnniCfgNodeNbrRccListTable, mscAtmIfVpcRpNextHop=mscAtmIfVpcRpNextHop, mscARtgPnniCfgNodeNbrPtseAcksTx=mscARtgPnniCfgNodeNbrPtseAcksTx, mscARtgPnniTopRowStatusTable=mscARtgPnniTopRowStatusTable, mscARtgPnniCfgNodeNbrStatsTable=mscARtgPnniCfgNodeNbrStatsTable, mscARtgPnniRestrictTransit=mscARtgPnniRestrictTransit, mscARtgPnniOptMetricTable=mscARtgPnniOptMetricTable, mscARtgPnniCfgNodeDefSAddrState=mscARtgPnniCfgNodeDefSAddrState, mscAtmIfVptVccSrcRowStatusEntry=mscAtmIfVptVccSrcRowStatusEntry, mscARtgIndex=mscARtgIndex, mscARtgPnniCfgNodeNumNeighbors=mscARtgPnniCfgNodeNumNeighbors, mscARtgPnniCfgNodeSAddrProvTable=mscARtgPnniCfgNodeSAddrProvTable, mscAtmIfVccRpRowStatus=mscAtmIfVccRpRowStatus, mscARtgPnniRfTransferCapabilityBbc=mscARtgPnniRfTransferCapabilityBbc, mscARtgPnniCfgNode=mscARtgPnniCfgNode, mscAtmIfVptVccRpIndex=mscAtmIfVptVccRpIndex, mscARtgPnniRfBwdQosClass=mscARtgPnniRfBwdQosClass, mscARtgPnniCfgNodeNbrPeerState=mscARtgPnniCfgNodeNbrPeerState, mscARtgPnniTopNodeAddrComponentName=mscARtgPnniTopNodeAddrComponentName, atmNetworkingGroupCA02A=atmNetworkingGroupCA02A, mscARtgPnniTopNodeRowStatusEntry=mscARtgPnniTopNodeRowStatusEntry, mscAtmCR=mscAtmCR, mscAtmIfVptVccEpComponentName=mscAtmIfVptVccEpComponentName, mscARtgPnniCfgNodeNbrDbSummariesRx=mscARtgPnniCfgNodeNbrDbSummariesRx, mscARtgPnniOptMetricValue=mscARtgPnniOptMetricValue, mscARtgPnniTopPglNodeId=mscARtgPnniTopPglNodeId, mscARtgDnaDestInfoStorageType=mscARtgDnaDestInfoStorageType, mscARtgDnaRowStatusEntry=mscARtgDnaRowStatusEntry, mscAtmIfVpcSrcState=mscAtmIfVpcSrcState, mscARtgPnniCfgNodeSAddrAddressIndex=mscARtgPnniCfgNodeSAddrAddressIndex, mscARtgPnniStatsTable=mscARtgPnniStatsTable, mscAtmIfVptVccRpOperTable=mscAtmIfVptVccRpOperTable, mscAtmIfVpcDstRowStatusEntry=mscAtmIfVpcDstRowStatusEntry, mscAtmIfVpcSrcProvEntry=mscAtmIfVpcSrcProvEntry, mscARtgStatsEntry=mscARtgStatsEntry, mscARtgPnniCfgNodeNodeAddress=mscARtgPnniCfgNodeNodeAddress, mscAtmIfVptVccEpRowStatus=mscAtmIfVptVccEpRowStatus, mscAtmIfVpcDstCalledAddress=mscAtmIfVpcDstCalledAddress, mscARtgPnniCfgNodeNbrPtseReqTx=mscARtgPnniCfgNodeNbrPtseReqTx, mscAtmIfVccDstCalledAddress=mscAtmIfVccDstCalledAddress, mscAtmIfVptVccRp=mscAtmIfVptVccRp, mscARtgPnniTopNodeAddrPrefixLengthIndex=mscARtgPnniTopNodeAddrPrefixLengthIndex, mscAtmIfVpcDstComponentName=mscAtmIfVpcDstComponentName, mscAtmIfVccSrcCallingAddress=mscAtmIfVccSrcCallingAddress, mscARtgPnniTopNodeIndex=mscARtgPnniTopNodeIndex, mscAtmIfVccDstRowStatusTable=mscAtmIfVccDstRowStatusTable, mscARtgPnniCfgNodeSAddr=mscARtgPnniCfgNodeSAddr, mscARtgPnniCfgNodeRowStatusEntry=mscARtgPnniCfgNodeRowStatusEntry, mscAtmCRDnaIndex=mscAtmCRDnaIndex, mscARtgPnniCfgNodeNbrRccListEntry=mscARtgPnniCfgNodeNbrRccListEntry, mscARtgPnniPtseHoldDown=mscARtgPnniPtseHoldDown, mscARtgPnniRfMaxRoutes=mscARtgPnniRfMaxRoutes, mscARtgPnniTopNodeAddrOperTable=mscARtgPnniTopNodeAddrOperTable, mscARtgDna=mscARtgDna, mscAtmIfVccEpApplicationName=mscAtmIfVccEpApplicationName, mscAtmIfVccEpComponentName=mscAtmIfVccEpComponentName, atmNetworkingCapabilitiesCA=atmNetworkingCapabilitiesCA, mscARtgPnniTopNodeLinkStorageType=mscARtgPnniTopNodeLinkStorageType, mscARtgPnniRfTxTdpValue=mscARtgPnniRfTxTdpValue, mscARtgRowStatus=mscARtgRowStatus, mscARtgPnniTopNodeLinkRowStatusTable=mscARtgPnniTopNodeLinkRowStatusTable, mscARtgPnniCfgNodeOpPeerGroupId=mscARtgPnniCfgNodeOpPeerGroupId, mscARtgPnniCfgNodeNbrOperEntry=mscARtgPnniCfgNodeNbrOperEntry, mscARtgPnniTopRowStatus=mscARtgPnniTopRowStatus, mscARtgPnniTopNodeAddrOperEntry=mscARtgPnniTopNodeAddrOperEntry, mscARtgPnniCfgNodeSAddrStorageType=mscARtgPnniCfgNodeSAddrStorageType, mscARtgPnniCfgNodeNbrPtseReqRx=mscARtgPnniCfgNodeNbrPtseReqRx, mscARtgPnniTopNodeLink=mscARtgPnniTopNodeLink, mscARtgDnaDestInfoScope=mscARtgDnaDestInfoScope, mscARtgPnniRfStorageType=mscARtgPnniRfStorageType, mscARtgPnniCfgNodeProvEntry=mscARtgPnniCfgNodeProvEntry, mscARtgPnniRfRxTrafficDescType=mscARtgPnniRfRxTrafficDescType, mscARtgDnaIndex=mscARtgDnaIndex, atmNetworkingCapabilitiesCA02A=atmNetworkingCapabilitiesCA02A, mscAtmCRIndex=mscAtmCRIndex, mscARtgPnniTopPreferredPglNodeId=mscARtgPnniTopPreferredPglNodeId, mscAtmIfVpcRpRowStatusTable=mscAtmIfVpcRpRowStatusTable, mscARtgPnniPtseParmsEntry=mscARtgPnniPtseParmsEntry, mscAtmCRRowStatus=mscAtmCRRowStatus, mscARtgPnniTopNodeStorageType=mscARtgPnniTopNodeStorageType, mscAtmIfVccDstOperEntry=mscAtmIfVccDstOperEntry, mscAtmIfVptVccSrc=mscAtmIfVptVccSrc, mscAtmIfVpcSrc=mscAtmIfVpcSrc, mscARtgDnaRowStatusTable=mscARtgDnaRowStatusTable, mscAtmIfVpcDstOperEntry=mscAtmIfVpcDstOperEntry, mscAtmIfVptVccSrcLastFailureDiagCode=mscAtmIfVptVccSrcLastFailureDiagCode, mscARtgPnniPortOperEntry=mscARtgPnniPortOperEntry, mscAtmIfVpcSrcCalledAddress=mscAtmIfVpcSrcCalledAddress, mscAtmCRDnaRowStatusEntry=mscAtmCRDnaRowStatusEntry, mscAtmIfVccSrcComponentName=mscAtmIfVccSrcComponentName, mscARtgPnniCfgNodeDefSAddrScope=mscARtgPnniCfgNodeDefSAddrScope, mscAtmIfVccSrcRetryCount=mscAtmIfVccSrcRetryCount, mscARtgPnniAvcrMt=mscARtgPnniAvcrMt, mscARtgPnniPtseRefreshInterval=mscARtgPnniPtseRefreshInterval, mscAtmIfVccEpOperTable=mscAtmIfVccEpOperTable, mscARtgPnniPortRowStatusTable=mscARtgPnniPortRowStatusTable, mscARtgPnniOptMetricEntry=mscARtgPnniOptMetricEntry, mscARtgPnniCfgNodeNbrStorageType=mscARtgPnniCfgNodeNbrStorageType, mscAtmCRDnaComponentName=mscAtmCRDnaComponentName, mscAtmIfVccRpOperEntry=mscAtmIfVccRpOperEntry, atmNetworkingCapabilities=atmNetworkingCapabilities, mscAtmIfVccRpOperTable=mscAtmIfVccRpOperTable, mscARtgPnniCfgNodePglElectionState=mscARtgPnniCfgNodePglElectionState, mscARtgPnniTopOperEntry=mscARtgPnniTopOperEntry, mscAtmIfVccEpRowStatus=mscAtmIfVccEpRowStatus, mscAtmIfVpcDstCallingVpi=mscAtmIfVpcDstCallingVpi, mscAtmIfVccRpNextHopsTable=mscAtmIfVccRpNextHopsTable, mscAtmIfVptVccDstRowStatusEntry=mscAtmIfVptVccDstRowStatusEntry, mscARtgPnniCfgNodeSAddrOperEntry=mscARtgPnniCfgNodeSAddrOperEntry, mscARtgPnniCfgNodeNbrBadPtseRx=mscARtgPnniCfgNodeNbrBadPtseRx, mscARtgPnniOptMetricIndex=mscARtgPnniOptMetricIndex, mscAtmCRStorageType=mscAtmCRStorageType, mscAtmCRDnaRowStatus=mscAtmCRDnaRowStatus, mscAtmIfVpcRpNextHopsEntry=mscAtmIfVpcRpNextHopsEntry, mscARtgPnniCfgNodeSAddrReachabilityIndex=mscARtgPnniCfgNodeSAddrReachabilityIndex, mscAtmIfVccSrcLastFailureDiagCode=mscAtmIfVccSrcLastFailureDiagCode, mscARtgPnniTopNodeAddr=mscARtgPnniTopNodeAddr, mscARtgPnniRfRxTdpValue=mscARtgPnniRfRxTdpValue, mscARtgPnniRfBqpValue=mscARtgPnniRfBqpValue, mscARtgPnniCfgNodeSAddrOperTable=mscARtgPnniCfgNodeSAddrOperTable, mscARtgPnniRfComponentName=mscARtgPnniRfComponentName, mscAtmIfVpcSrcCallingAddress=mscAtmIfVpcSrcCallingAddress, mscAtmIfVpcRpComponentName=mscAtmIfVpcRpComponentName, mscARtgPnniCfgNodeRowStatusTable=mscARtgPnniCfgNodeRowStatusTable, mscARtgPnniTopNodeAddrStorageType=mscARtgPnniTopNodeAddrStorageType, mscARtgPnniCfgNodeNbrBadDbSummariesRx=mscARtgPnniCfgNodeNbrBadDbSummariesRx, mscARtgPnniTopNodeAddrRowStatusTable=mscARtgPnniTopNodeAddrRowStatusTable, mscAtmIfVccEpOperEntry=mscAtmIfVccEpOperEntry, mscARtgPnniCfgNodePeerGroupId=mscARtgPnniCfgNodePeerGroupId, mscAtmIfVptVccEpOperEntry=mscAtmIfVptVccEpOperEntry, mscARtgFailedRoutingAttempts=mscARtgFailedRoutingAttempts, mscARtgComponentName=mscARtgComponentName, mscARtgDnaComponentName=mscARtgDnaComponentName, mscARtgPnniRowStatusTable=mscARtgPnniRowStatusTable, mscARtgPnniTopNodeAddrRowStatusEntry=mscARtgPnniTopNodeAddrRowStatusEntry, mscARtgPnniHelloHoldDown=mscARtgPnniHelloHoldDown, mscAtmCRDnaDestinationNameEntry=mscAtmCRDnaDestinationNameEntry, mscARtgPnniRfRxTdpTable=mscARtgPnniRfRxTdpTable, mscAtmIfVptVccSrcCalledAddress=mscAtmIfVptVccSrcCalledAddress, mscAtmIfVccEpRowStatusTable=mscAtmIfVccEpRowStatusTable)
class Agent(object): """Keeps relevant data of NPC and handles behavior.""" def __init__(self, name, hitpoints, strenght): self.name = name self.hitpoints = hitpoints self.strenght = strenght def move(self): pass def talk(self): pass def give_item(self): pass def take_item(self): pass def attack(self): pass def defend(self): pass alia = Agent('Alia', 50, 1) gertrude = Agent('Gertrude', 50, 1) dicker_junge = Agent('Marek', 50, 1) keines_maedchen = Agent('Sophia', 50, 1) james = Agent('james', 50, 1) gerald = Agent('Gerald', 50, 1) samira = Agent('samira', 50, 1) lisa = Agent('lisa', 50, 1) bergtroll = Agent('Gronkh', 50, 1) fledermaeuse = Agent('Die 3 Fledermaeuse', 50, 1) kraehen = Agent('Die 3 Kraehen', 50, 1)
class Agent(object): """Keeps relevant data of NPC and handles behavior.""" def __init__(self, name, hitpoints, strenght): self.name = name self.hitpoints = hitpoints self.strenght = strenght def move(self): pass def talk(self): pass def give_item(self): pass def take_item(self): pass def attack(self): pass def defend(self): pass alia = agent('Alia', 50, 1) gertrude = agent('Gertrude', 50, 1) dicker_junge = agent('Marek', 50, 1) keines_maedchen = agent('Sophia', 50, 1) james = agent('james', 50, 1) gerald = agent('Gerald', 50, 1) samira = agent('samira', 50, 1) lisa = agent('lisa', 50, 1) bergtroll = agent('Gronkh', 50, 1) fledermaeuse = agent('Die 3 Fledermaeuse', 50, 1) kraehen = agent('Die 3 Kraehen', 50, 1)
input = """ p(2) | f. -p(1) :- true. true. :- f. """ output = """ p(2) | f. -p(1) :- true. true. :- f. """
input = '\np(2) | f.\n-p(1) :- true.\n\ntrue.\n:- f.\n' output = '\np(2) | f.\n-p(1) :- true.\n\ntrue.\n:- f.\n'
DIRECT_LINK_SCHEMA = { "type": "object", "properties": { "local_file": { "type": ["string", "null"], "description": "local zip file path" } } } IMAGE_SCHEMA = { "type": "object", "properties": { "original": { "type": "file" }, "size": { "type": "array", "items": { "type": "number" } }, "custom_size": { "type": "file", "processors": [ { "name": "resize", "in": { "original_image": { "property": "original" }, "size": { "property": "size" } } } ] }, "120x120": { "type": "file", "processors": [ { "name": "resize", "in": { "original_image": { "property": "original" }, "size": { "value": [120, 120] } } } ] }, "152x152": { "type": "file", "processors": [ { "name": "resize", "in": { "original_image": { "property": "original" }, "size": { "value": [152, 152] } } } ] }, "167x167": { "type": "file", "processors": [ { "name": "resize", "in": { "original_image": { "property": "original" }, "size": { "value": [167, 167] } } } ] }, "180x180": { "type": "file", "processors": [ { "name": "resize", "in": { "original_image": { "property": "original" }, "size": { "value": [180, 180] } } } ] } } }
direct_link_schema = {'type': 'object', 'properties': {'local_file': {'type': ['string', 'null'], 'description': 'local zip file path'}}} image_schema = {'type': 'object', 'properties': {'original': {'type': 'file'}, 'size': {'type': 'array', 'items': {'type': 'number'}}, 'custom_size': {'type': 'file', 'processors': [{'name': 'resize', 'in': {'original_image': {'property': 'original'}, 'size': {'property': 'size'}}}]}, '120x120': {'type': 'file', 'processors': [{'name': 'resize', 'in': {'original_image': {'property': 'original'}, 'size': {'value': [120, 120]}}}]}, '152x152': {'type': 'file', 'processors': [{'name': 'resize', 'in': {'original_image': {'property': 'original'}, 'size': {'value': [152, 152]}}}]}, '167x167': {'type': 'file', 'processors': [{'name': 'resize', 'in': {'original_image': {'property': 'original'}, 'size': {'value': [167, 167]}}}]}, '180x180': {'type': 'file', 'processors': [{'name': 'resize', 'in': {'original_image': {'property': 'original'}, 'size': {'value': [180, 180]}}}]}}}
#!/usr/bin/python3 """ BaseCaching module.""" class BaseCaching(): """ BaseCaching defines: - constants of your caching system - where your data are stored (in a dictionary) """ MAX_ITEMS = 4 def __init__(self): """Initiliaze.""" self.cache_data = {} def print_cache(self): """ Print the cache """ print("Current cache:") for key in sorted(self.cache_data.keys()): print("{}: {}".format(key, self.cache_data.get(key))) def put(self, key, item): """ Add an item in the cache """ raise NotImplementedError("put must be implemented in your cache class") def get(self, key): """ Get an item by key """ raise NotImplementedError("get must be implemented in your cache class")
""" BaseCaching module.""" class Basecaching: """ BaseCaching defines: - constants of your caching system - where your data are stored (in a dictionary) """ max_items = 4 def __init__(self): """Initiliaze.""" self.cache_data = {} def print_cache(self): """ Print the cache """ print('Current cache:') for key in sorted(self.cache_data.keys()): print('{}: {}'.format(key, self.cache_data.get(key))) def put(self, key, item): """ Add an item in the cache """ raise not_implemented_error('put must be implemented in your cache class') def get(self, key): """ Get an item by key """ raise not_implemented_error('get must be implemented in your cache class')
# by usingt he above trick we see that kidney_data.gsms is a dictionary (you can validate this) type(kidney_data.gsms) # a dict is a container of key,value pairs. The values in this case are of the class GEOparse.GEOTypes.GSM # e.g. print(type(list(kidney_data.gsms.values())[0])) ## to get the available methods: fst = list(kidney_data.gsms.values())[0] dir(fst) # for instance look at metadata: fst.metadata
type(kidney_data.gsms) print(type(list(kidney_data.gsms.values())[0])) fst = list(kidney_data.gsms.values())[0] dir(fst) fst.metadata
def remove_smallest(n, lst): if n <= 0: return lst elif n > len(lst): return [] dex = [b[1] for b in sorted((a, i) for i, a in enumerate(lst))[:n]] return [c for i, c in enumerate(lst) if i not in dex]
def remove_smallest(n, lst): if n <= 0: return lst elif n > len(lst): return [] dex = [b[1] for b in sorted(((a, i) for (i, a) in enumerate(lst)))[:n]] return [c for (i, c) in enumerate(lst) if i not in dex]
class Solution: def countServers(self, grid: List[List[int]]) -> int: rows = defaultdict(set) cols = defaultdict(set) m = len(grid) n = len(grid[0]) for i in range(m): for j in range(n): if grid[i][j]: rows[i].add(j) cols[j].add(i) ans = 0 for i in range(m): for j in range(n): if grid[i][j]: if len(rows[i]) >= 2 or len(cols[j]) >= 2: ans += 1 return ans
class Solution: def count_servers(self, grid: List[List[int]]) -> int: rows = defaultdict(set) cols = defaultdict(set) m = len(grid) n = len(grid[0]) for i in range(m): for j in range(n): if grid[i][j]: rows[i].add(j) cols[j].add(i) ans = 0 for i in range(m): for j in range(n): if grid[i][j]: if len(rows[i]) >= 2 or len(cols[j]) >= 2: ans += 1 return ans
#https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/880/ #%% input=-123 output=321 class Solution: def reverse(self, x: int) -> int: string=list(str(abs(x))) string.reverse() if x>=0: temp=int(''.join(string)) if temp>2**31-1: return 0 else: return temp if x<0: temp=-int(''.join(string)) if temp<-2**31: return 0 else: return temp Solution.reverse(123,input) # %% # ! good result 99%
input = -123 output = 321 class Solution: def reverse(self, x: int) -> int: string = list(str(abs(x))) string.reverse() if x >= 0: temp = int(''.join(string)) if temp > 2 ** 31 - 1: return 0 else: return temp if x < 0: temp = -int(''.join(string)) if temp < -2 ** 31: return 0 else: return temp Solution.reverse(123, input)
#py_list_comp_1.py print([str(x)+"!" for x in [y for y in range(10)]])
print([str(x) + '!' for x in [y for y in range(10)]])
class Solution: def dominantIndex(self, nums: List[int]) -> int: max_index = 0 for index, num in enumerate(nums): if num > nums[max_index]: max_index = index for index, num in enumerate(nums): if index == max_index: continue if not nums[max_index] >= 2 * num: return -1 return max_index
class Solution: def dominant_index(self, nums: List[int]) -> int: max_index = 0 for (index, num) in enumerate(nums): if num > nums[max_index]: max_index = index for (index, num) in enumerate(nums): if index == max_index: continue if not nums[max_index] >= 2 * num: return -1 return max_index
SCRIPT=r''' import sys,time fi=open(sys.argv[1]) time.sleep(8) fo=open(sys.argv[2],'w') fo.write(fi.read()) fi.close() fo.close() '''
script = "\nimport sys,time\nfi=open(sys.argv[1])\ntime.sleep(8)\nfo=open(sys.argv[2],'w')\nfo.write(fi.read())\nfi.close()\nfo.close()\n"
# SPDX-FileCopyrightText: Copyright (c) 2021 Dan Halbert for Adafruit Industries LLC # SPDX-FileCopyrightText: 2021 James Carr # # SPDX-License-Identifier: MIT """ `adafruit_simplemath` ================================================================================ Math utility functions * Author(s): Dan Halbert, James Carr Implementation Notes -------------------- **Software and Dependencies:** * Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases """ __version__ = "0.0.0-auto.0" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SimpleMath.git" def map_range( x: float, in_min: float, in_max: float, out_min: float, out_max: float ) -> float: """ Maps a number from one range to another. Somewhat similar to the Arduino :attr:`map()` function, but returns a floating point result, and constrains the output value to be between :attr:`out_min` and :attr:`out_max`. If :attr:`in_min` is greater than :attr:`in_max` or :attr:`out_min` is greater than :attr:`out_max`, the corresponding range is reversed, allowing, for example, mapping a range of 0-10 to 50-0. See also :py:func:`map_unconstrained_range` .. code-block:: from adafruit_simplemath import map_range percent = 23 screen_width = 320 # or board.DISPLAY.width x = map_range(percent, 0, 100, 0, screen_width - 1) print("X position", percent, "% from the left of screen is", x) :param float x: Value to convert :param float in_min: Start value of input range. :param float in_max: End value of input range. :param float out_min: Start value of output range. :param float out_max: End value of output range. :return: Returns value mapped to new range. :rtype: float """ mapped = map_unconstrained_range(x, in_min, in_max, out_min, out_max) return constrain(mapped, out_min, out_max) def map_unconstrained_range( x: float, in_min: float, in_max: float, out_min: float, out_max: float ) -> float: """ Maps a number from one range to another. Somewhat similar to the Arduino :attr:`map()` function, but returns a floating point result, and does not constrain the output value to be between :attr:`out_min` and :attr:`out_max`. If :attr:`in_min` is greater than :attr:`in_max` or :attr:`out_min` is greater than :attr:`out_max`, the corresponding range is reversed, allowing, for example, mapping a range of 0-10 to 50-0. See also :py:func:`map_range` .. code-block:: from adafruit_simplemath import map_unconstrained_range celsius = -20 fahrenheit = map_unconstrained_range(celsius, 0, 100, 32, 212) print(celsius, "degress Celsius =", fahrenheit, "degrees Fahrenheit") :param float x: Value to convert :param float in_min: Start value of input range. :param float in_max: End value of input range. :param float out_min: Start value of output range. :param float out_max: End value of output range. :return: Returns value mapped to new range. :rtype: float """ in_range = in_max - in_min in_delta = x - in_min if in_range != 0: mapped = in_delta / in_range elif in_delta != 0: mapped = in_delta else: mapped = 0.5 mapped *= out_max - out_min mapped += out_min return mapped def constrain(x: float, out_min: float, out_max: float) -> float: """Constrains :attr:`x` to be within the inclusive range [:attr:`out_min`, :attr:`out_max`]. Sometimes called :attr:`clip` or :attr:`clamp` in other libraries. :attr:`out_min` should be less than or equal to :attr:`out_max`. If :attr:`x` is less than :attr:`out_min`, return :attr:`out_min`. If :attr:`x` is greater than :attr:`out_max`, return :attr:`out_max`. Otherwise just return :attr:`x`. If :attr:`max_value` is less than :attr:`min_value`, they will be swapped. :param float x: Value to constrain :param float out_min: Lower bound of output range. :param float out_max: Upper bound of output range. :return: Returns value constrained to given range. :rtype: float """ if out_min <= out_max: return max(min(x, out_max), out_min) return min(max(x, out_max), out_min)
""" `adafruit_simplemath` ================================================================================ Math utility functions * Author(s): Dan Halbert, James Carr Implementation Notes -------------------- **Software and Dependencies:** * Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases """ __version__ = '0.0.0-auto.0' __repo__ = 'https://github.com/adafruit/Adafruit_CircuitPython_SimpleMath.git' def map_range(x: float, in_min: float, in_max: float, out_min: float, out_max: float) -> float: """ Maps a number from one range to another. Somewhat similar to the Arduino :attr:`map()` function, but returns a floating point result, and constrains the output value to be between :attr:`out_min` and :attr:`out_max`. If :attr:`in_min` is greater than :attr:`in_max` or :attr:`out_min` is greater than :attr:`out_max`, the corresponding range is reversed, allowing, for example, mapping a range of 0-10 to 50-0. See also :py:func:`map_unconstrained_range` .. code-block:: from adafruit_simplemath import map_range percent = 23 screen_width = 320 # or board.DISPLAY.width x = map_range(percent, 0, 100, 0, screen_width - 1) print("X position", percent, "% from the left of screen is", x) :param float x: Value to convert :param float in_min: Start value of input range. :param float in_max: End value of input range. :param float out_min: Start value of output range. :param float out_max: End value of output range. :return: Returns value mapped to new range. :rtype: float """ mapped = map_unconstrained_range(x, in_min, in_max, out_min, out_max) return constrain(mapped, out_min, out_max) def map_unconstrained_range(x: float, in_min: float, in_max: float, out_min: float, out_max: float) -> float: """ Maps a number from one range to another. Somewhat similar to the Arduino :attr:`map()` function, but returns a floating point result, and does not constrain the output value to be between :attr:`out_min` and :attr:`out_max`. If :attr:`in_min` is greater than :attr:`in_max` or :attr:`out_min` is greater than :attr:`out_max`, the corresponding range is reversed, allowing, for example, mapping a range of 0-10 to 50-0. See also :py:func:`map_range` .. code-block:: from adafruit_simplemath import map_unconstrained_range celsius = -20 fahrenheit = map_unconstrained_range(celsius, 0, 100, 32, 212) print(celsius, "degress Celsius =", fahrenheit, "degrees Fahrenheit") :param float x: Value to convert :param float in_min: Start value of input range. :param float in_max: End value of input range. :param float out_min: Start value of output range. :param float out_max: End value of output range. :return: Returns value mapped to new range. :rtype: float """ in_range = in_max - in_min in_delta = x - in_min if in_range != 0: mapped = in_delta / in_range elif in_delta != 0: mapped = in_delta else: mapped = 0.5 mapped *= out_max - out_min mapped += out_min return mapped def constrain(x: float, out_min: float, out_max: float) -> float: """Constrains :attr:`x` to be within the inclusive range [:attr:`out_min`, :attr:`out_max`]. Sometimes called :attr:`clip` or :attr:`clamp` in other libraries. :attr:`out_min` should be less than or equal to :attr:`out_max`. If :attr:`x` is less than :attr:`out_min`, return :attr:`out_min`. If :attr:`x` is greater than :attr:`out_max`, return :attr:`out_max`. Otherwise just return :attr:`x`. If :attr:`max_value` is less than :attr:`min_value`, they will be swapped. :param float x: Value to constrain :param float out_min: Lower bound of output range. :param float out_max: Upper bound of output range. :return: Returns value constrained to given range. :rtype: float """ if out_min <= out_max: return max(min(x, out_max), out_min) return min(max(x, out_max), out_min)
def dot(n,m): r=['+'+'---+'*n] for _ in range(m): r.append('|'+' o |'*n) r.append('+'+'---+'*n) return '\n'.join(r)
def dot(n, m): r = ['+' + '---+' * n] for _ in range(m): r.append('|' + ' o |' * n) r.append('+' + '---+' * n) return '\n'.join(r)
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def recoverTree(self, root: TreeNode) -> None: # there are two nodes to find self.nodes = [] self.inorder(root) t1, t2 = None, None for i in range(len(self.nodes) - 1): if self.nodes[i + 1] < self.nodes[i]: t1 = self.nodes[i + 1] if t2 == None: t2 = self.nodes[i] else: break self.search(t1, t2, root, 2) return root def search(self, t1, t2, root, count): if not root: return if root.val == t1 and count > 0: root.val = t2 count -= 1 elif root.val == t2 and count > 0: root.val = t1 count -= 1 if count == 0: return self.search(t1, t2, root.left, count) self.search(t1, t2, root.right, count) def inorder(self, root): if not root: return self.inorder(root.left) self.nodes.append(root.val) self.inorder(root.right)
class Solution: def recover_tree(self, root: TreeNode) -> None: self.nodes = [] self.inorder(root) (t1, t2) = (None, None) for i in range(len(self.nodes) - 1): if self.nodes[i + 1] < self.nodes[i]: t1 = self.nodes[i + 1] if t2 == None: t2 = self.nodes[i] else: break self.search(t1, t2, root, 2) return root def search(self, t1, t2, root, count): if not root: return if root.val == t1 and count > 0: root.val = t2 count -= 1 elif root.val == t2 and count > 0: root.val = t1 count -= 1 if count == 0: return self.search(t1, t2, root.left, count) self.search(t1, t2, root.right, count) def inorder(self, root): if not root: return self.inorder(root.left) self.nodes.append(root.val) self.inorder(root.right)
def biggest_cycle_before(limit): num = longest = 1 for n in range(3, limit, 2): if n % 5 == 0: continue p = 1 while (10 ** p) % n != 1: p += 1 if p > longest: num, longest = n, p print(num) if __name__ == "__main__": biggest_cycle_before(10)
def biggest_cycle_before(limit): num = longest = 1 for n in range(3, limit, 2): if n % 5 == 0: continue p = 1 while 10 ** p % n != 1: p += 1 if p > longest: (num, longest) = (n, p) print(num) if __name__ == '__main__': biggest_cycle_before(10)
#!/usr/bin/python # -*- coding: utf-8 -*- __version__ = "2.0.3" __author__ = "Amir Zeldes" __copyright__ = "Copyright 2015-2018, Amir Zeldes" __license__ = "MIT License"
__version__ = '2.0.3' __author__ = 'Amir Zeldes' __copyright__ = 'Copyright 2015-2018, Amir Zeldes' __license__ = 'MIT License'
t = int(input()) answer = [] for a in range(t): n = int(input()) count = [0 for i in range(26)] for j in range(n): line = list(input()) for k in line: count[ord(k)-97] += 1 ans = True for k in count: if(k%n != 0): ans = False break if(ans): answer.append("YES") else: answer.append("NO") for b in answer: print(b)
t = int(input()) answer = [] for a in range(t): n = int(input()) count = [0 for i in range(26)] for j in range(n): line = list(input()) for k in line: count[ord(k) - 97] += 1 ans = True for k in count: if k % n != 0: ans = False break if ans: answer.append('YES') else: answer.append('NO') for b in answer: print(b)
class LogSystem: def __init__(self): self.time_position_dict = {"Year": 0, "Month": 1, "Day": 2, "Hour": 3, "Minute": 4, "Second": 5} self.logs = {} def put(self, id, timestamp): self.logs[timestamp] = id def retrieve(self, s, e, gra): retrieve_logs = [] need_length = self.time_position_dict[gra] + 1 actual_s = self.decode_timestamp(s, need_length) actual_e = self.decode_timestamp(e, need_length) for timestamp in self.logs.keys(): log_time = self.decode_timestamp(timestamp, need_length) if actual_s <= log_time and log_time <= actual_e: retrieve_logs.append(self.logs[timestamp]) return retrieve_logs def decode_timestamp(self, timestamp, length): decoded_time = int("".join(timestamp.split(":")[0:length])) return decoded_time if __name__ == "__main__": log_system = LogSystem() log_system.put(1, "2017:01:01:23:59:59") log_system.put(2, "2017:01:01:22:59:59") log_system.put(3, "2016:01:01:00:00:00") res = log_system.retrieve("2016:01:01:01:01:01","2017:01:01:23:00:00", "Hour") print(res)
class Logsystem: def __init__(self): self.time_position_dict = {'Year': 0, 'Month': 1, 'Day': 2, 'Hour': 3, 'Minute': 4, 'Second': 5} self.logs = {} def put(self, id, timestamp): self.logs[timestamp] = id def retrieve(self, s, e, gra): retrieve_logs = [] need_length = self.time_position_dict[gra] + 1 actual_s = self.decode_timestamp(s, need_length) actual_e = self.decode_timestamp(e, need_length) for timestamp in self.logs.keys(): log_time = self.decode_timestamp(timestamp, need_length) if actual_s <= log_time and log_time <= actual_e: retrieve_logs.append(self.logs[timestamp]) return retrieve_logs def decode_timestamp(self, timestamp, length): decoded_time = int(''.join(timestamp.split(':')[0:length])) return decoded_time if __name__ == '__main__': log_system = log_system() log_system.put(1, '2017:01:01:23:59:59') log_system.put(2, '2017:01:01:22:59:59') log_system.put(3, '2016:01:01:00:00:00') res = log_system.retrieve('2016:01:01:01:01:01', '2017:01:01:23:00:00', 'Hour') print(res)
a = 'AJisa' a = a.upper() print(a) a = a.lower() print(a) n = "89*" print(n.isnumeric()) print(n.isalpha())
a = 'AJisa' a = a.upper() print(a) a = a.lower() print(a) n = '89*' print(n.isnumeric()) print(n.isalpha())
# pylint: skip-file class GitRebase(GitCLI): ''' Class to wrap the git merge line tools ''' # pylint: disable=too-many-arguments def __init__(self, path, branch, rebase_branch, ssh_key=None): ''' Constructor for GitPush ''' super(GitRebase, self).__init__(path, ssh_key=ssh_key) self.path = path self.branch = branch self.rebase_branch = rebase_branch self.debug = [] os.chdir(path) def checkout_branch(self): ''' check out the desired branch ''' current_branch_results = self._get_current_branch() if current_branch_results['results'] == self.branch: return True current_branch_results = self._checkout(self.branch) self.debug.append(current_branch_results) if current_branch_results['returncode'] == 0: return True return False def remote_update(self): ''' update the git remotes ''' remote_update_results = self._remote_update() self.debug.append(remote_update_results) if remote_update_results['returncode'] == 0: return True return False def need_rebase(self): ''' checks to see if rebase is needed ''' git_diff_results = self._diff(self.rebase_branch) self.debug.append(git_diff_results) if git_diff_results['results']: return True return False def rebase(self): '''perform a git push ''' if self.checkout_branch(): if self.remote_update(): if self.need_rebase(): rebase_results = self._rebase(self.rebase_branch) rebase_results['debug'] = self.debug return rebase_results else: return {'returncode': 0, 'results': {}, 'no_rebase_needed': True } return {'returncode': 1, 'results': {}, 'debug': self.debug }
class Gitrebase(GitCLI): """ Class to wrap the git merge line tools """ def __init__(self, path, branch, rebase_branch, ssh_key=None): """ Constructor for GitPush """ super(GitRebase, self).__init__(path, ssh_key=ssh_key) self.path = path self.branch = branch self.rebase_branch = rebase_branch self.debug = [] os.chdir(path) def checkout_branch(self): """ check out the desired branch """ current_branch_results = self._get_current_branch() if current_branch_results['results'] == self.branch: return True current_branch_results = self._checkout(self.branch) self.debug.append(current_branch_results) if current_branch_results['returncode'] == 0: return True return False def remote_update(self): """ update the git remotes """ remote_update_results = self._remote_update() self.debug.append(remote_update_results) if remote_update_results['returncode'] == 0: return True return False def need_rebase(self): """ checks to see if rebase is needed """ git_diff_results = self._diff(self.rebase_branch) self.debug.append(git_diff_results) if git_diff_results['results']: return True return False def rebase(self): """perform a git push """ if self.checkout_branch(): if self.remote_update(): if self.need_rebase(): rebase_results = self._rebase(self.rebase_branch) rebase_results['debug'] = self.debug return rebase_results else: return {'returncode': 0, 'results': {}, 'no_rebase_needed': True} return {'returncode': 1, 'results': {}, 'debug': self.debug}
"""Common values used for testing. """ SYSTEM_RAM_GB_MAIN = 64 SYSTEM_RAM_GB_SMALL = 2 SYSTEM_RAM_GB_TOO_SMALL = 1 OSM_PBF_GB_US = 10.4 OSM_PBF_GB_CO = 0.2 # Scaled below the 2GB threshold... OSM_PBF_GB_USWEST = 1.99 # Should always use flat file, even w/out SSD OSM_PBF_GB_ALWAYS_FLAT_FILE = 30.1
"""Common values used for testing. """ system_ram_gb_main = 64 system_ram_gb_small = 2 system_ram_gb_too_small = 1 osm_pbf_gb_us = 10.4 osm_pbf_gb_co = 0.2 osm_pbf_gb_uswest = 1.99 osm_pbf_gb_always_flat_file = 30.1
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2021, Cisco Systems # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) DOCUMENTATION = r""" --- module: tag short_description: Manage Tag objects of Tag description: - Returns the Tags for given filter criteria. - Creates Tag with specified Tag attributes. - Updates a Tag specified by id. - Deletes a Tag specified by id. - Returns Tag specified by Id. - Returns Tag count. version_added: '1.0.0' author: Rafael Campos (@racampos) options: additional_info_attributes: description: - AdditionalInfo.attributes query parameter. type: str additional_info_name_space: description: - AdditionalInfo.nameSpace query parameter. type: str field: description: - Available field names are 'name,id,parentId,type,additionalInfo.nameSpace,additionalInfo.attributes'. type: str level: description: - Level query parameter. type: str limit: description: - Limit query parameter. type: str name: description: - Tag name is mandatory when filter operation is used. - TagDTO's name. - Name query parameter. type: str offset: description: - Offset query parameter. type: str order: description: - Available values are asc and des. type: str size: description: - Size in kilobytes(KB). type: str sort_by: description: - Only supported attribute is name. SortyBy is mandatory when order is used. type: str system_tag: description: - SystemTag query parameter. type: str description: description: - TagDTO's description. type: str dynamicRules: description: - TagDTO's dynamicRules (list of objects). type: list elements: dict suboptions: memberType: description: - It is the Tag's memberType. type: str rules: description: - It is the Tag's rules. type: dict suboptions: items: description: - It is the Tag's items. type: list name: description: - It is the Tag's name. type: str operation: description: - It is the Tag's operation. type: str value: description: - It is the Tag's value. type: str values: description: - It is the Tag's values. type: list id: description: - TagDTO's id. - Tag ID. - Required for states query and absent. type: str instanceTenantId: description: - TagDTO's instanceTenantId. type: str systemTag: description: - TagDTO's systemTag. type: bool attribute_name: description: - AttributeName query parameter. type: str name_space: description: - NameSpace query parameter. type: str count: description: - If true gets the number of objects. - Required for state query. type: bool requirements: - dnacentersdk seealso: # Reference by module name - module: cisco.dnac.plugins.module_utils.definitions.tag # Reference by Internet resource - name: Tag reference description: Complete reference of the Tag object model. link: https://developer.cisco.com/docs/dna-center/api/1-3-3-x # Reference by Internet resource - name: Tag reference description: SDK reference. link: https://dnacentersdk.readthedocs.io/en/latest/api/api.html#v2-1-1-summary """ EXAMPLES = r""" - name: get_tag cisco.dnac.tag: state: query # required additional_info_attributes: SomeValue # string additional_info_name_space: SomeValue # string field: SomeValue # string level: SomeValue # string limit: SomeValue # string name: SomeValue # string offset: SomeValue # string order: SomeValue # string size: SomeValue # string sort_by: SomeValue # string system_tag: SomeValue # string register: nm_get_tag - name: create_tag cisco.dnac.tag: state: present # required description: SomeValue # string dynamicRules: - memberType: SomeValue # string rules: values: - SomeValue # string items: None operation: SomeValue # string name: SomeValue # string value: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string name: SomeValue # string systemTag: True # boolean - name: update_tag cisco.dnac.tag: state: present # required description: SomeValue # string dynamicRules: - memberType: SomeValue # string rules: values: - SomeValue # string items: None operation: SomeValue # string name: SomeValue # string value: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string name: SomeValue # string systemTag: True # boolean - name: delete_tag cisco.dnac.tag: state: absent # required id: SomeValue # string, required - name: get_tag_by_id cisco.dnac.tag: state: query # required id: SomeValue # string, required register: nm_get_tag_by_id - name: get_tag_count cisco.dnac.tag: state: query # required count: True # boolean, required attribute_name: SomeValue # string level: SomeValue # string name: SomeValue # string name_space: SomeValue # string size: SomeValue # string system_tag: SomeValue # string register: nm_get_tag_count """ RETURN = r""" dnac_response: description: A dictionary with the response returned by the DNA Center Python SDK returned: always type: dict sample: {"response": 29, "version": "1.0"} sdk_function: description: The DNA Center SDK function used to execute the task returned: always type: str sample: tag.create_tag missing_params: description: Provided arguments do not comply with the schema of the DNA Center Python SDK function returned: when the function request schema is not satisfied type: list sample: """
documentation = "\n---\nmodule: tag\nshort_description: Manage Tag objects of Tag\ndescription:\n- Returns the Tags for given filter criteria.\n- Creates Tag with specified Tag attributes.\n- Updates a Tag specified by id.\n- Deletes a Tag specified by id.\n- Returns Tag specified by Id.\n- Returns Tag count.\nversion_added: '1.0.0'\nauthor: Rafael Campos (@racampos)\noptions:\n additional_info_attributes:\n description:\n - AdditionalInfo.attributes query parameter.\n type: str\n additional_info_name_space:\n description:\n - AdditionalInfo.nameSpace query parameter.\n type: str\n field:\n description:\n - Available field names are 'name,id,parentId,type,additionalInfo.nameSpace,additionalInfo.attributes'.\n type: str\n level:\n description:\n - Level query parameter.\n type: str\n limit:\n description:\n - Limit query parameter.\n type: str\n name:\n description:\n - Tag name is mandatory when filter operation is used.\n - TagDTO's name.\n - Name query parameter.\n type: str\n offset:\n description:\n - Offset query parameter.\n type: str\n order:\n description:\n - Available values are asc and des.\n type: str\n size:\n description:\n - Size in kilobytes(KB).\n type: str\n sort_by:\n description:\n - Only supported attribute is name. SortyBy is mandatory when order is used.\n type: str\n system_tag:\n description:\n - SystemTag query parameter.\n type: str\n description:\n description:\n - TagDTO's description.\n type: str\n dynamicRules:\n description:\n - TagDTO's dynamicRules (list of objects).\n type: list\n elements: dict\n suboptions:\n memberType:\n description:\n - It is the Tag's memberType.\n type: str\n rules:\n description:\n - It is the Tag's rules.\n type: dict\n suboptions:\n items:\n description:\n - It is the Tag's items.\n type: list\n name:\n description:\n - It is the Tag's name.\n type: str\n operation:\n description:\n - It is the Tag's operation.\n type: str\n value:\n description:\n - It is the Tag's value.\n type: str\n values:\n description:\n - It is the Tag's values.\n type: list\n\n\n id:\n description:\n - TagDTO's id.\n - Tag ID.\n - Required for states query and absent.\n type: str\n instanceTenantId:\n description:\n - TagDTO's instanceTenantId.\n type: str\n systemTag:\n description:\n - TagDTO's systemTag.\n type: bool\n attribute_name:\n description:\n - AttributeName query parameter.\n type: str\n name_space:\n description:\n - NameSpace query parameter.\n type: str\n count:\n description:\n - If true gets the number of objects.\n - Required for state query.\n type: bool\n\nrequirements:\n- dnacentersdk\nseealso:\n# Reference by module name\n- module: cisco.dnac.plugins.module_utils.definitions.tag\n# Reference by Internet resource\n- name: Tag reference\n description: Complete reference of the Tag object model.\n link: https://developer.cisco.com/docs/dna-center/api/1-3-3-x\n# Reference by Internet resource\n- name: Tag reference\n description: SDK reference.\n link: https://dnacentersdk.readthedocs.io/en/latest/api/api.html#v2-1-1-summary\n" examples = '\n- name: get_tag\n cisco.dnac.tag:\n state: query # required\n additional_info_attributes: SomeValue # string\n additional_info_name_space: SomeValue # string\n field: SomeValue # string\n level: SomeValue # string\n limit: SomeValue # string\n name: SomeValue # string\n offset: SomeValue # string\n order: SomeValue # string\n size: SomeValue # string\n sort_by: SomeValue # string\n system_tag: SomeValue # string\n register: nm_get_tag\n\n- name: create_tag\n cisco.dnac.tag:\n state: present # required\n description: SomeValue # string\n dynamicRules:\n - memberType: SomeValue # string\n rules:\n values:\n - SomeValue # string\n items: None\n operation: SomeValue # string\n name: SomeValue # string\n value: SomeValue # string\n id: SomeValue # string\n instanceTenantId: SomeValue # string\n name: SomeValue # string\n systemTag: True # boolean\n\n- name: update_tag\n cisco.dnac.tag:\n state: present # required\n description: SomeValue # string\n dynamicRules:\n - memberType: SomeValue # string\n rules:\n values:\n - SomeValue # string\n items: None\n operation: SomeValue # string\n name: SomeValue # string\n value: SomeValue # string\n id: SomeValue # string\n instanceTenantId: SomeValue # string\n name: SomeValue # string\n systemTag: True # boolean\n\n- name: delete_tag\n cisco.dnac.tag:\n state: absent # required\n id: SomeValue # string, required\n\n- name: get_tag_by_id\n cisco.dnac.tag:\n state: query # required\n id: SomeValue # string, required\n register: nm_get_tag_by_id\n\n- name: get_tag_count\n cisco.dnac.tag:\n state: query # required\n count: True # boolean, required\n attribute_name: SomeValue # string\n level: SomeValue # string\n name: SomeValue # string\n name_space: SomeValue # string\n size: SomeValue # string\n system_tag: SomeValue # string\n register: nm_get_tag_count\n\n' return = '\ndnac_response:\n description: A dictionary with the response returned by the DNA Center Python SDK\n returned: always\n type: dict\n sample: {"response": 29, "version": "1.0"}\nsdk_function:\n description: The DNA Center SDK function used to execute the task\n returned: always\n type: str\n sample: tag.create_tag\nmissing_params:\n description: Provided arguments do not comply with the schema of the DNA Center Python SDK function\n returned: when the function request schema is not satisfied\n type: list\n sample:\n'
# Acorn 2.0: Cocoa Butter # Booleans are treated as integers # Allow hex #Number meta class class N(): def __init__(self,n): try: self.n = float(n) if(self.n.is_integer()): self.n = int(n) except: self.n = int(n,16) def N(self): return self.n def __repr__(self): return 'N(%s)' % self.n #Boolean meta class class B(): def __init__(self,b): self.boolean = b def B(self): if(self.boolean == "true"): return 1 elif(self.boolean == "false"): return 0 elif(isinstance(self.boolean,B)): return int((self.boolean).B()) elif(isinstance(self.boolean,N)): return int(bool(self.boolean.N())) elif(self.boolean == True): return 1 else: return 0 def __repr__(self): return 'B(\'%s\')' % self.boolean #String meta class class S(): def __init__(self,s): self.s = str(s) def S(self): return self.s def __repr__(self): return 'S(\'%s\')' % self.s #Var meta class class Var(): def __init__(self,x): self.x = str(x) def X(self): return self.x def __repr__(self): return 'Var(\'%s\')' % self.x #Null meta class class Null(): def __init__(self): self.n = "Null" def null(self): return self.n def __repr__(self): return 'Null()' #Unary meta operations class Unary(): def __init__(self,uop,e1): self.op = str(uop) self.e1 = e1 def expr1(self): return self.e1 def uop(self): return self.op def __repr__(self): return 'Unary(%s,%s)' % (self.op, self.e1) #Binary meta operations class Binary(): def __init__(self,bop,e1,e2): self.op = str(bop) self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def bop(self): return self.op def __repr__(self): return 'Binary(%s,%s,%s)' % (self.op, self.e1, self.e2) #Trinary meta operator class If(): def __init__(self,e1,e2,e3): self.e1 = e1 self.e2 = e2 self.e3 = e3 def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def __repr__(self): return 'If(%s,%s,%s)' % (self.e1, self.e2, self.e3) class Function(): def __init__(self,arguments,body): self.e1 = arguments self.e2 = body def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Function(%s,%s)' % (self.e1, self.e2) class Call(): def __init__(self,arguments,body): self.e1 = arguments self.e2 = body def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Call(%s,%s)' % (self.e1, self.e2) class Return(): def __init__(self,returns): self.e1 = returns def expr1(self): return self.e1 def __repr__(self): return 'Return(%s)' % (self.e1) class Seq(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Seq(%s,%s)' % (self.e1, self.e2) class Eq(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Eq(%s,%s)' % (self.e1, self.e2) class Ne(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Ne(%s,%s)' % (self.e1, self.e2) class Lt(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Lt(%s,%s)' % (self.e1, self.e2) class Le(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Le(%s,%s)' % (self.e1, self.e2) class Gt(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Gt(%s,%s)' % (self.e1, self.e2) class Ge(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Ge(%s,%s)' % (self.e1, self.e2) class And(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'And(%s,%s)' % (self.e1, self.e2) class Or(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Or(%s,%s)' % (self.e1, self.e2) class BitwiseAnd(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Intersect(%s,%s)' % (self.e1, self.e2) class BitwiseOr(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Union(%s,%s)' % (self.e1, self.e2) class LeftShift(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'LeftShift(%s,%s)' % (self.e1, self.e2) class RightShift(): def __init__(self,e1,e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'RightShift(%s,%s)' % (self.e1, self.e2) class Malloc(): def __init__(self,m,x,v): self.e1 = m self.e2 = x self.e3 = v def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def __repr__(self): return 'Malloc(%s,%s,%s)' % (self.e1, self.e2, self.e3) class Array(): def __init__(self,e1): self.e1 = e1 def expr1(self): return self.e1 def __repr__(self): return 'Array(%s)' % self.e1 class Index(): def __init__(self,array,index): self.e1 = array self.e2 = index def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Index(%s,%s)' % (self.e1, self.e2) class Assign(): def __init__(self,var,val): self.e1 = var self.e2 = val def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Assign(%s,%s)' % (self.e1, self.e2) class ForEach(): def __init__(self,i,start,end,scope,closure): self.e1 = i self.e2 = start self.e3 = end self.e4 = scope self.e5 = closure def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def expr4(self): return self.e4 def expr5(self): return self.e5 def __repr__(self): return 'ForEach(%s,%s,%s,%s,%s)' % (self.e1, self.e2, self.e3, self.e4, self.e5) class For(): def __init__(self,index,condition,count,scope): self.e1 = index self.e2 = condition self.e3 = count self.e4 = scope def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def expr4(self): return self.e4 def __repr__(self): return 'For(%s,%s,%s,%s)' % (self.e1, self.e2, self.e3, self.e4) class While(): def __init__(self,condition,scope): self.e1 = condition self.e2 = scope def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'While(%s,%s)' % (self.e1, self.e2) #Side effects class Print(): def __init__(self,expr): self.expr1 = expr def E(self): return self.expr1 def __repr__(self): return 'Print(%s)' % self.expr1 #Side effects class Println(): def __init__(self,expr): self.expr1 = expr def E(self): return self.expr1 class Input(): def __init__(self): self.expr1 = None def cast(self,n): if(isfloat(n)): return N(n) if(n=="true" or n=="false"): return B(n) if(n=="null"): return Null() return S(n) def __repr__(self): return 'Input(%s)' % (self.expr1) class Cast(): def __init__(self,value,type): self.e1 = value self.e2 = type def cast(self,value,type): if(isinstance(type,TInt)): try: n = N(int(value)) return n except: return False elif(isinstance(type,TS)): try: s = S(str(value)) return s except: return False elif(isinstance(type,TFloat)): try: f = N(float(value)) return f except: return False elif(isinstance(type,TB)): try: b = B(bool(value)) return b except: return False return False def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Cast(%s,%s)' % (self.e1, self.e2) class TInt(): def __init__(self): self.e1 = None def __repr__(self): return 'Int' class TFloat(): def __init__(self): self.e1 = None def __repr__(self): return 'Float' class TB(): def __init__(self): self.e1 = None def __repr__(self): return 'Bool' % (self.e1) class TS(): def __init__(self): self.e1 = None def __repr__(self): return 'String' #Helper functions def isfloat(n): try: float(n) return True except: return False
class N: def __init__(self, n): try: self.n = float(n) if self.n.is_integer(): self.n = int(n) except: self.n = int(n, 16) def n(self): return self.n def __repr__(self): return 'N(%s)' % self.n class B: def __init__(self, b): self.boolean = b def b(self): if self.boolean == 'true': return 1 elif self.boolean == 'false': return 0 elif isinstance(self.boolean, B): return int(self.boolean.B()) elif isinstance(self.boolean, N): return int(bool(self.boolean.N())) elif self.boolean == True: return 1 else: return 0 def __repr__(self): return "B('%s')" % self.boolean class S: def __init__(self, s): self.s = str(s) def s(self): return self.s def __repr__(self): return "S('%s')" % self.s class Var: def __init__(self, x): self.x = str(x) def x(self): return self.x def __repr__(self): return "Var('%s')" % self.x class Null: def __init__(self): self.n = 'Null' def null(self): return self.n def __repr__(self): return 'Null()' class Unary: def __init__(self, uop, e1): self.op = str(uop) self.e1 = e1 def expr1(self): return self.e1 def uop(self): return self.op def __repr__(self): return 'Unary(%s,%s)' % (self.op, self.e1) class Binary: def __init__(self, bop, e1, e2): self.op = str(bop) self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def bop(self): return self.op def __repr__(self): return 'Binary(%s,%s,%s)' % (self.op, self.e1, self.e2) class If: def __init__(self, e1, e2, e3): self.e1 = e1 self.e2 = e2 self.e3 = e3 def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def __repr__(self): return 'If(%s,%s,%s)' % (self.e1, self.e2, self.e3) class Function: def __init__(self, arguments, body): self.e1 = arguments self.e2 = body def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Function(%s,%s)' % (self.e1, self.e2) class Call: def __init__(self, arguments, body): self.e1 = arguments self.e2 = body def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Call(%s,%s)' % (self.e1, self.e2) class Return: def __init__(self, returns): self.e1 = returns def expr1(self): return self.e1 def __repr__(self): return 'Return(%s)' % self.e1 class Seq: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Seq(%s,%s)' % (self.e1, self.e2) class Eq: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Eq(%s,%s)' % (self.e1, self.e2) class Ne: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Ne(%s,%s)' % (self.e1, self.e2) class Lt: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Lt(%s,%s)' % (self.e1, self.e2) class Le: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Le(%s,%s)' % (self.e1, self.e2) class Gt: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Gt(%s,%s)' % (self.e1, self.e2) class Ge: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Ge(%s,%s)' % (self.e1, self.e2) class And: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'And(%s,%s)' % (self.e1, self.e2) class Or: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Or(%s,%s)' % (self.e1, self.e2) class Bitwiseand: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Intersect(%s,%s)' % (self.e1, self.e2) class Bitwiseor: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Union(%s,%s)' % (self.e1, self.e2) class Leftshift: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'LeftShift(%s,%s)' % (self.e1, self.e2) class Rightshift: def __init__(self, e1, e2): self.e1 = e1 self.e2 = e2 def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'RightShift(%s,%s)' % (self.e1, self.e2) class Malloc: def __init__(self, m, x, v): self.e1 = m self.e2 = x self.e3 = v def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def __repr__(self): return 'Malloc(%s,%s,%s)' % (self.e1, self.e2, self.e3) class Array: def __init__(self, e1): self.e1 = e1 def expr1(self): return self.e1 def __repr__(self): return 'Array(%s)' % self.e1 class Index: def __init__(self, array, index): self.e1 = array self.e2 = index def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Index(%s,%s)' % (self.e1, self.e2) class Assign: def __init__(self, var, val): self.e1 = var self.e2 = val def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Assign(%s,%s)' % (self.e1, self.e2) class Foreach: def __init__(self, i, start, end, scope, closure): self.e1 = i self.e2 = start self.e3 = end self.e4 = scope self.e5 = closure def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def expr4(self): return self.e4 def expr5(self): return self.e5 def __repr__(self): return 'ForEach(%s,%s,%s,%s,%s)' % (self.e1, self.e2, self.e3, self.e4, self.e5) class For: def __init__(self, index, condition, count, scope): self.e1 = index self.e2 = condition self.e3 = count self.e4 = scope def expr1(self): return self.e1 def expr2(self): return self.e2 def expr3(self): return self.e3 def expr4(self): return self.e4 def __repr__(self): return 'For(%s,%s,%s,%s)' % (self.e1, self.e2, self.e3, self.e4) class While: def __init__(self, condition, scope): self.e1 = condition self.e2 = scope def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'While(%s,%s)' % (self.e1, self.e2) class Print: def __init__(self, expr): self.expr1 = expr def e(self): return self.expr1 def __repr__(self): return 'Print(%s)' % self.expr1 class Println: def __init__(self, expr): self.expr1 = expr def e(self): return self.expr1 class Input: def __init__(self): self.expr1 = None def cast(self, n): if isfloat(n): return n(n) if n == 'true' or n == 'false': return b(n) if n == 'null': return null() return s(n) def __repr__(self): return 'Input(%s)' % self.expr1 class Cast: def __init__(self, value, type): self.e1 = value self.e2 = type def cast(self, value, type): if isinstance(type, TInt): try: n = n(int(value)) return n except: return False elif isinstance(type, TS): try: s = s(str(value)) return s except: return False elif isinstance(type, TFloat): try: f = n(float(value)) return f except: return False elif isinstance(type, TB): try: b = b(bool(value)) return b except: return False return False def expr1(self): return self.e1 def expr2(self): return self.e2 def __repr__(self): return 'Cast(%s,%s)' % (self.e1, self.e2) class Tint: def __init__(self): self.e1 = None def __repr__(self): return 'Int' class Tfloat: def __init__(self): self.e1 = None def __repr__(self): return 'Float' class Tb: def __init__(self): self.e1 = None def __repr__(self): return 'Bool' % self.e1 class Ts: def __init__(self): self.e1 = None def __repr__(self): return 'String' def isfloat(n): try: float(n) return True except: return False
class Solution: def numTrees(self, n): """ :type n: int :rtype: int """ G = [0 for _ in range(n+1)] G[0] = G[1] = 1 # 2...n for i in range(2, n+1): # 0...i for j in range(1, i+1): G[i] += G[j-1]*G[i-j] return G[n]
class Solution: def num_trees(self, n): """ :type n: int :rtype: int """ g = [0 for _ in range(n + 1)] G[0] = G[1] = 1 for i in range(2, n + 1): for j in range(1, i + 1): G[i] += G[j - 1] * G[i - j] return G[n]
input = """ dummy. c(0,0). d :- c(_,a_long__but_still_nice_constant), dummy. """ output = """ dummy. c(0,0). d :- c(_,a_long__but_still_nice_constant), dummy. """
input = '\ndummy.\nc(0,0).\n\nd :- c(_,a_long__but_still_nice_constant), dummy.\n' output = '\ndummy.\nc(0,0).\n\nd :- c(_,a_long__but_still_nice_constant), dummy.\n'
COM = ['wink', 'double blink', 'close your eyes', 'jump'] def commands(binary_str): handshake = [] for couple in zip(binary_str[::-1],COM): if couple[0] == '1': handshake.append(couple[1]) if binary_str[0] == '1': handshake = handshake[::-1] return handshake
com = ['wink', 'double blink', 'close your eyes', 'jump'] def commands(binary_str): handshake = [] for couple in zip(binary_str[::-1], COM): if couple[0] == '1': handshake.append(couple[1]) if binary_str[0] == '1': handshake = handshake[::-1] return handshake
#!/usr/bin/env python3 # -*- coding: utf-8 -*- if __name__ == "__main__": u = set("abcdefghijklmnopqrstuvwxyz") a = {"a", "b", "d", "i", "x"} b = {"d", "e", "h", "i", "n", "u"} c = {"e", "f", "m", "n"} d = {"a", "c", "h", "k", "r", "s", "w", "x"} bu = u.difference(b) x = (a.difference(c)).intersection(bu) print(f"x = {x}") ba = u.difference(a) y = (ba.intersection(d)).union(c.difference(b)) print(f"y = {y}")
if __name__ == '__main__': u = set('abcdefghijklmnopqrstuvwxyz') a = {'a', 'b', 'd', 'i', 'x'} b = {'d', 'e', 'h', 'i', 'n', 'u'} c = {'e', 'f', 'm', 'n'} d = {'a', 'c', 'h', 'k', 'r', 's', 'w', 'x'} bu = u.difference(b) x = a.difference(c).intersection(bu) print(f'x = {x}') ba = u.difference(a) y = ba.intersection(d).union(c.difference(b)) print(f'y = {y}')
#List of constants accessed in our main transit_tracker.py script #URL for downloading data URL = 'https://www.psrc.org/sites/default/files/2014-hhsurvey.zip' #list of age ranges used to make labels AGE_RANGE_LIST = list(range(0,12)) #List of education ranges used to make labels EDU_RANGE_LIST = list(range(0,7)) #Tools used in Bokeh plotting TOOLS = "pan,wheel_zoom,reset,poly_select,box_select,tap,box_zoom,save" #List of zip codes used for PSRC data USED_ZIPS_PSRC = ['98101', '98102', '98103', '98104', '98105', '98106', '98107', '98108', '98109', '98112', '98115', '98116', '98117', '98118', '98119', '98121', '98122', '98125', '98126', '98133', '98136', '98144', '98146', '98177', '98178', '98195', '98199'] #list of length of used_zips for customJS code creation N_PSRC = range(len(used_zips)) #Line width for Bokeh plotting PSRC data WD = 2 #Line width for Bokeh plotting bus routes WD2 = 2
url = 'https://www.psrc.org/sites/default/files/2014-hhsurvey.zip' age_range_list = list(range(0, 12)) edu_range_list = list(range(0, 7)) tools = 'pan,wheel_zoom,reset,poly_select,box_select,tap,box_zoom,save' used_zips_psrc = ['98101', '98102', '98103', '98104', '98105', '98106', '98107', '98108', '98109', '98112', '98115', '98116', '98117', '98118', '98119', '98121', '98122', '98125', '98126', '98133', '98136', '98144', '98146', '98177', '98178', '98195', '98199'] n_psrc = range(len(used_zips)) wd = 2 wd2 = 2
class DestinationDirectoryError(Exception): pass def add_ssh_prefix(cmd: list[str], remote_host: str) -> list: """ Prefix a command with "ssh <remote_address>" for remote use :param cmd: Command to be run remotely :param remote_host: Remote machine address :return: Command with prefix """ ssh_string = ["ssh", remote_host] return ssh_string + cmd def change_ownership_permission( tar, untar, delete_destination_tar, owner, group, permissions, dest_tar_archive, local_destination, remote_host, remote_destination=False, ): """ Create command change permissions at destination Command depends on whether the tar archive, the destination directory or both will remain at the destination. """ if tar: if delete_destination_tar and not untar: raise DestinationDirectoryError( "Tar archive deleted, but not extracted. Aborting" ) new_ownership = owner + ":" + group chown_string = ["chown", "-R", new_ownership] chmod_string = ["chmod", "-R", permissions] if tar and untar and not delete_destination_tar: change_archive = True change_dest = True elif tar and untar and delete_destination_tar: change_archive = False change_dest = True elif tar and not untar: change_archive = True change_dest = False elif not tar: change_archive = False change_dest = True if change_archive and change_dest: change_ownership_string = ( chown_string + [str(dest_tar_archive)] + [str(local_destination)] ) change_permission_string = ( chmod_string + [str(dest_tar_archive)] + [str(local_destination)] ) elif change_dest: change_ownership_string = chown_string + [str(local_destination)] change_permission_string = chmod_string + [str(local_destination)] elif change_archive: change_ownership_string = chown_string + [str(dest_tar_archive)] change_permission_string = chmod_string + [str(dest_tar_archive)] if remote_destination: change_ownership_string = add_ssh_prefix( change_ownership_string, remote_host ) change_permission_string = add_ssh_prefix( change_permission_string, remote_host ) return change_ownership_string, change_permission_string def delete_destination_tarball_string( dest_tar_archive, remote_host, remote_destination=False ): """ Create command to delete tar archive after untar """ delete_dest_tarball_string = [ "rm", "-v", str(dest_tar_archive), ] if remote_destination: delete_dest_tarball_string = add_ssh_prefix( delete_dest_tarball_string, remote_host, ) return delete_dest_tarball_string
class Destinationdirectoryerror(Exception): pass def add_ssh_prefix(cmd: list[str], remote_host: str) -> list: """ Prefix a command with "ssh <remote_address>" for remote use :param cmd: Command to be run remotely :param remote_host: Remote machine address :return: Command with prefix """ ssh_string = ['ssh', remote_host] return ssh_string + cmd def change_ownership_permission(tar, untar, delete_destination_tar, owner, group, permissions, dest_tar_archive, local_destination, remote_host, remote_destination=False): """ Create command change permissions at destination Command depends on whether the tar archive, the destination directory or both will remain at the destination. """ if tar: if delete_destination_tar and (not untar): raise destination_directory_error('Tar archive deleted, but not extracted. Aborting') new_ownership = owner + ':' + group chown_string = ['chown', '-R', new_ownership] chmod_string = ['chmod', '-R', permissions] if tar and untar and (not delete_destination_tar): change_archive = True change_dest = True elif tar and untar and delete_destination_tar: change_archive = False change_dest = True elif tar and (not untar): change_archive = True change_dest = False elif not tar: change_archive = False change_dest = True if change_archive and change_dest: change_ownership_string = chown_string + [str(dest_tar_archive)] + [str(local_destination)] change_permission_string = chmod_string + [str(dest_tar_archive)] + [str(local_destination)] elif change_dest: change_ownership_string = chown_string + [str(local_destination)] change_permission_string = chmod_string + [str(local_destination)] elif change_archive: change_ownership_string = chown_string + [str(dest_tar_archive)] change_permission_string = chmod_string + [str(dest_tar_archive)] if remote_destination: change_ownership_string = add_ssh_prefix(change_ownership_string, remote_host) change_permission_string = add_ssh_prefix(change_permission_string, remote_host) return (change_ownership_string, change_permission_string) def delete_destination_tarball_string(dest_tar_archive, remote_host, remote_destination=False): """ Create command to delete tar archive after untar """ delete_dest_tarball_string = ['rm', '-v', str(dest_tar_archive)] if remote_destination: delete_dest_tarball_string = add_ssh_prefix(delete_dest_tarball_string, remote_host) return delete_dest_tarball_string
SHARES = [ 0.5, 0.6, 0.7, 0.8, 0.9, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 0.97, 0.98, 0.99, 1.0 ] def pop(items): return items[0], items[1:] def get_quantiles(records, shares=SHARES): if not shares: return counts = [count for _, count in records] total = sum(counts) accumulator = 0 shares = sorted(shares) share, shares = pop(shares) counts = sorted(counts, reverse=True) for index, count in enumerate(counts): accumulator += count if accumulator / total >= share: yield share, index if not shares: break share, shares = pop(shares)
shares = [0.5, 0.6, 0.7, 0.8, 0.9, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 0.97, 0.98, 0.99, 1.0] def pop(items): return (items[0], items[1:]) def get_quantiles(records, shares=SHARES): if not shares: return counts = [count for (_, count) in records] total = sum(counts) accumulator = 0 shares = sorted(shares) (share, shares) = pop(shares) counts = sorted(counts, reverse=True) for (index, count) in enumerate(counts): accumulator += count if accumulator / total >= share: yield (share, index) if not shares: break (share, shares) = pop(shares)
''' Probem Task : A number is said to be Harshad if it's exactly divisible by the sum of its digits. Create a function that determines whether a number is a Harshad or not. Problem Link : https://edabit.com/challenge/Rrauvu8afRbjqPM8L ''' sum=0 def harshad(n): global sum if(n>0): rem=n%10 sum=sum+rem harshad(n//10) if(n % sum ==0): return "Harshad" else: return "Not Harshad" n=int(input("Enter a number:")) print(harshad(n))
""" Probem Task : A number is said to be Harshad if it's exactly divisible by the sum of its digits. Create a function that determines whether a number is a Harshad or not. Problem Link : https://edabit.com/challenge/Rrauvu8afRbjqPM8L """ sum = 0 def harshad(n): global sum if n > 0: rem = n % 10 sum = sum + rem harshad(n // 10) if n % sum == 0: return 'Harshad' else: return 'Not Harshad' n = int(input('Enter a number:')) print(harshad(n))
# -*- coding: utf-8 -*- """ Created on Thu Aug 2 09:34:42 2018 @author: Manu TYPES OF VARIABLES """ #***********STRINGS******************* #%% #Use formate in order to crate a template name= "Manuel" city= "Avila (Spain)" template = "I'm {}, I live in {}".format(name,city) print(template) #%% #Operations with Strings str1 = "i'm programming in PYTHON" print(str1.upper()) print(str1.lower()) print(str1.capitalize()) str2 = "use split in order to separte words" print(str2) str2 = str2.split(" ") print(str2) #%% #***************NUMBERS****************************** #types of numbers num1 = 1 num2 = 2.0 print(num1,type(num1)) print (num2*65,type(num2)) #cast from int to float print(int(num2)) print(float(num1)) #Operations print(5+5) print(5-5) rest = 5%5 print(f"Rest of operation 5/5 is : {rest}",rest) #%% #*****************BOOLEANS***************************** t= True f = False none = None print(type(none)) print("The variable t is",t is True) num1 = 5 num2 = 6 print(f"{num1} >= {num2} i ",num1 >=num2) print(f"{num1} >= {num2} or {num1} <= {num2} is",num1 >=num2 or num1 <=num2) #%%
""" Created on Thu Aug 2 09:34:42 2018 @author: Manu TYPES OF VARIABLES """ name = 'Manuel' city = 'Avila (Spain)' template = "I'm {}, I live in {}".format(name, city) print(template) str1 = "i'm programming in PYTHON" print(str1.upper()) print(str1.lower()) print(str1.capitalize()) str2 = 'use split in order to separte words' print(str2) str2 = str2.split(' ') print(str2) num1 = 1 num2 = 2.0 print(num1, type(num1)) print(num2 * 65, type(num2)) print(int(num2)) print(float(num1)) print(5 + 5) print(5 - 5) rest = 5 % 5 print(f'Rest of operation 5/5 is : {rest}', rest) t = True f = False none = None print(type(none)) print('The variable t is', t is True) num1 = 5 num2 = 6 print(f'{num1} >= {num2} i ', num1 >= num2) print(f'{num1} >= {num2} or {num1} <= {num2} is', num1 >= num2 or num1 <= num2)
# Licensed under the MIT license # http://opensource.org/licenses/mit-license.php or see LICENSE file. # Copyright 2007-2008 Brisa Team <brisa-develop@garage.maemo.org> """ Facilities for python properties generation. """ def gen_property_with_default(name, fget=None, fset=None, doc=""): """ Generates a property of a name either with a default fget or a default fset. @param name: property name @param fget: default fget @param fset: default fset @param doc: documentation for the property @type name: string @type fget: callable or None @type fset: callable or None @type doc: string """ if fget == None and fset == None: raise NotImplementedError("fget or fset must be not null") internal_name = '%s%s' % ("_prop_", name) def getter(self): if not internal_name in dir(self): setattr(self, internal_name, "") return getattr(self, internal_name) def setter(self, value): return setattr(self, internal_name, value) if fget is None: return property(getter, fset, doc=doc) return property(fget, setter, doc=doc) def gen_property_of_type(name, _type, doc=""): """ Generates a type-forced property associated with a name. Provides type checking on the setter (coherence between value to be set and the type specified). @param name: property name @param _type: force type @param doc: documentation for the property @type name: string @type _type: type @type doc: string """ internal_name = '%s%s' % ("_prop_", name) def getter(self): return getattr(self, internal_name) def setter(self, value): if isinstance(value, _type): return setattr(self, internal_name, value) else: raise TypeError(("invalid type '%s' for property %s:" "%s is required.") % (type(value).__name__, name, type(_type).__name__)) return property(getter, setter, doc=doc)
""" Facilities for python properties generation. """ def gen_property_with_default(name, fget=None, fset=None, doc=''): """ Generates a property of a name either with a default fget or a default fset. @param name: property name @param fget: default fget @param fset: default fset @param doc: documentation for the property @type name: string @type fget: callable or None @type fset: callable or None @type doc: string """ if fget == None and fset == None: raise not_implemented_error('fget or fset must be not null') internal_name = '%s%s' % ('_prop_', name) def getter(self): if not internal_name in dir(self): setattr(self, internal_name, '') return getattr(self, internal_name) def setter(self, value): return setattr(self, internal_name, value) if fget is None: return property(getter, fset, doc=doc) return property(fget, setter, doc=doc) def gen_property_of_type(name, _type, doc=''): """ Generates a type-forced property associated with a name. Provides type checking on the setter (coherence between value to be set and the type specified). @param name: property name @param _type: force type @param doc: documentation for the property @type name: string @type _type: type @type doc: string """ internal_name = '%s%s' % ('_prop_', name) def getter(self): return getattr(self, internal_name) def setter(self, value): if isinstance(value, _type): return setattr(self, internal_name, value) else: raise type_error("invalid type '%s' for property %s:%s is required." % (type(value).__name__, name, type(_type).__name__)) return property(getter, setter, doc=doc)
a,b = 10,20 print(a+b) #Output: 30 print(a*b) #Output: 200 print(b/a) #Output: 2.0 print(b%a) #Output: 0
(a, b) = (10, 20) print(a + b) print(a * b) print(b / a) print(b % a)
# -*- coding: utf-8 -*- MSG_DATE_SEP = ">>>:" END_MSG = "THEEND" ALLOWED_KEYS = [ 'q', 'e', 's', 'z', 'c', '', ]
msg_date_sep = '>>>:' end_msg = 'THEEND' allowed_keys = ['q', 'e', 's', 'z', 'c', '']
# coding: utf-8 class Service: pass
class Service: pass
""" https://adventofcode.com/2018/day/11 """ def readFile(): with open(f"{__file__.rstrip('code.py')}input.txt", "r") as f: return int(f.read()) def getPowerlevel(x, y, serial): rackId = x + 10 powerLevel = (rackId * y + serial) * rackId return (int(powerLevel / 100) % 10) - 5 def createGrid(serial): grid = [] for j in range(1, 301): row = [] for i in range(1, 301): row.append(getPowerlevel(i, j, serial)) grid.append(row) return grid def getBiggestField(grid, size): maxSum = 0 maxCoords = (-1, -1) for j in range(300 - size + 1): for i in range(300 - size + 1): curSum = 0 for n in range(size): for m in range(size): curSum += grid[j + m][i + n] if curSum > maxSum: maxSum = curSum maxCoords = (i + 1, j + 1) return maxCoords, maxSum def getSat(grid): # generates and returns summed-area table sat = {} size = len(grid) for j in range(size): for i in range(size): value = grid[j][i] + sat.get(str((i - 1, j)), 0) value += sat.get(str((i, j - 1)), 0) - sat.get(str((i - 1, j - 1)), 0) sat[str((i, j))] = value return sat def getBiggestFieldSAT(sat, size): maxSum = 0 maxCoords = (-1, -1) for j in range(300 - size): for i in range(300 - size): ip, jp = i + size, j + size curSum = sat[str((i, j))] + sat[str((ip, jp))] - sat[str((ip, j))] - sat[str((i, jp))] if curSum > maxSum: maxSum = curSum maxCoords = (i + 2, j + 2) return maxCoords, maxSum def part1(value): grid = createGrid(value) return getBiggestField(grid, 3)[0] def part2(value): grid = createGrid(value) sat = getSat(grid) maxSum = 0 size = -1 maxCoords = (-1, -1) for i in range(300): curCoords, curSum = getBiggestFieldSAT(sat, i) if curSum > maxSum: maxSum = curSum size = i maxCoords = curCoords return (maxCoords[0], maxCoords[1], size) if __name__ == "__main__": value = readFile() print(f"Part 1: {part1(value)}") print(f"Part 2: {part2(value)}")
""" https://adventofcode.com/2018/day/11 """ def read_file(): with open(f"{__file__.rstrip('code.py')}input.txt", 'r') as f: return int(f.read()) def get_powerlevel(x, y, serial): rack_id = x + 10 power_level = (rackId * y + serial) * rackId return int(powerLevel / 100) % 10 - 5 def create_grid(serial): grid = [] for j in range(1, 301): row = [] for i in range(1, 301): row.append(get_powerlevel(i, j, serial)) grid.append(row) return grid def get_biggest_field(grid, size): max_sum = 0 max_coords = (-1, -1) for j in range(300 - size + 1): for i in range(300 - size + 1): cur_sum = 0 for n in range(size): for m in range(size): cur_sum += grid[j + m][i + n] if curSum > maxSum: max_sum = curSum max_coords = (i + 1, j + 1) return (maxCoords, maxSum) def get_sat(grid): sat = {} size = len(grid) for j in range(size): for i in range(size): value = grid[j][i] + sat.get(str((i - 1, j)), 0) value += sat.get(str((i, j - 1)), 0) - sat.get(str((i - 1, j - 1)), 0) sat[str((i, j))] = value return sat def get_biggest_field_sat(sat, size): max_sum = 0 max_coords = (-1, -1) for j in range(300 - size): for i in range(300 - size): (ip, jp) = (i + size, j + size) cur_sum = sat[str((i, j))] + sat[str((ip, jp))] - sat[str((ip, j))] - sat[str((i, jp))] if curSum > maxSum: max_sum = curSum max_coords = (i + 2, j + 2) return (maxCoords, maxSum) def part1(value): grid = create_grid(value) return get_biggest_field(grid, 3)[0] def part2(value): grid = create_grid(value) sat = get_sat(grid) max_sum = 0 size = -1 max_coords = (-1, -1) for i in range(300): (cur_coords, cur_sum) = get_biggest_field_sat(sat, i) if curSum > maxSum: max_sum = curSum size = i max_coords = curCoords return (maxCoords[0], maxCoords[1], size) if __name__ == '__main__': value = read_file() print(f'Part 1: {part1(value)}') print(f'Part 2: {part2(value)}')
class View(dict): """A View contains the content displayed in the main window.""" def __init__(self, d=None): """ View constructor. Keyword arguments: d=None: Initial keys and values to initialize the view with. Regardless of the value of d, keys 'songs', 'artists' and 'albums' are created with empty lists as default values. """ self['songs'], self['artists'], self['albums'] = [], [], [] if d is not None: if isinstance(d, dict): for k in d: self[k] = d[k] else: raise TypeError('Initializing View with invalid argument') def __setitem__(self, key, val): """Restrict values to lists only.""" if not isinstance(val, list): raise TypeError('View can only hold lists as values.') super().__setitem__(key, val) def __len__(self): """Return the sum of each list's length.""" return sum(len(self[k]) for k in self) def replace(self, other): """Replace the view's contents with some other dict.""" self = self.__init__(other) def clear(self): """Clear elements without removing keys.""" for k in self.keys(): del self[k][:] def is_empty(self): """Returns whether or not the view is empty.""" return all(not self[k] for k in self) def copy(self): """Return a deep copy of the view's contents.""" return {k: self[k][:] for k in self}
class View(dict): """A View contains the content displayed in the main window.""" def __init__(self, d=None): """ View constructor. Keyword arguments: d=None: Initial keys and values to initialize the view with. Regardless of the value of d, keys 'songs', 'artists' and 'albums' are created with empty lists as default values. """ (self['songs'], self['artists'], self['albums']) = ([], [], []) if d is not None: if isinstance(d, dict): for k in d: self[k] = d[k] else: raise type_error('Initializing View with invalid argument') def __setitem__(self, key, val): """Restrict values to lists only.""" if not isinstance(val, list): raise type_error('View can only hold lists as values.') super().__setitem__(key, val) def __len__(self): """Return the sum of each list's length.""" return sum((len(self[k]) for k in self)) def replace(self, other): """Replace the view's contents with some other dict.""" self = self.__init__(other) def clear(self): """Clear elements without removing keys.""" for k in self.keys(): del self[k][:] def is_empty(self): """Returns whether or not the view is empty.""" return all((not self[k] for k in self)) def copy(self): """Return a deep copy of the view's contents.""" return {k: self[k][:] for k in self}
def search(list, platform): for i in range(len(list)): if list[i] == platform: return True return False fruit = ['banana', 'grape', 'apple', 'plam'] print(fruit) frut = input('input to see if it exists: ') if search(fruit, frut): print("fruit is found") else: print("fruiit does not found")
def search(list, platform): for i in range(len(list)): if list[i] == platform: return True return False fruit = ['banana', 'grape', 'apple', 'plam'] print(fruit) frut = input('input to see if it exists: ') if search(fruit, frut): print('fruit is found') else: print('fruiit does not found')
# -*- coding: utf-8 -*- def theaudiodb_albumdetails(data): if data.get('album'): item = data['album'][0] albumdata = {} albumdata['album'] = item['strAlbum'] if item.get('intYearReleased',''): albumdata['year'] = item['intYearReleased'] if item.get('strStyle',''): albumdata['styles'] = item['strStyle'] if item.get('strGenre',''): albumdata['genre'] = item['strGenre'] if item.get('strLabel',''): albumdata['label'] = item['strLabel'] if item.get('strReleaseFormat',''): albumdata['type'] = item['strReleaseFormat'] if item.get('intScore',''): albumdata['rating'] = str(int(float(item['intScore']) + 0.5)) if item.get('intScoreVotes',''): albumdata['votes'] = item['intScoreVotes'] if item.get('strMood',''): albumdata['moods'] = item['strMood'] if item.get('strTheme',''): albumdata['themes'] = item['strTheme'] if item.get('strMusicBrainzID',''): albumdata['mbreleasegroupid'] = item['strMusicBrainzID'] # api inconsistent if item.get('strDescription',''): albumdata['descriptionEN'] = item['strDescription'] elif item.get('strDescriptionEN',''): albumdata['descriptionEN'] = item['strDescriptionEN'] if item.get('strDescriptionDE',''): albumdata['descriptionDE'] = item['strDescriptionDE'] if item.get('strDescriptionFR',''): albumdata['descriptionFR'] = item['strDescriptionFR'] if item.get('strDescriptionCN',''): albumdata['descriptionCN'] = item['strDescriptionCN'] if item.get('strDescriptionIT',''): albumdata['descriptionIT'] = item['strDescriptionIT'] if item.get('strDescriptionJP',''): albumdata['descriptionJP'] = item['strDescriptionJP'] if item.get('strDescriptionRU',''): albumdata['descriptionRU'] = item['strDescriptionRU'] if item.get('strDescriptionES',''): albumdata['descriptionES'] = item['strDescriptionES'] if item.get('strDescriptionPT',''): albumdata['descriptionPT'] = item['strDescriptionPT'] if item.get('strDescriptionSE',''): albumdata['descriptionSE'] = item['strDescriptionSE'] if item.get('strDescriptionNL',''): albumdata['descriptionNL'] = item['strDescriptionNL'] if item.get('strDescriptionHU',''): albumdata['descriptionHU'] = item['strDescriptionHU'] if item.get('strDescriptionNO',''): albumdata['descriptionNO'] = item['strDescriptionNO'] if item.get('strDescriptionIL',''): albumdata['descriptionIL'] = item['strDescriptionIL'] if item.get('strDescriptionPL',''): albumdata['descriptionPL'] = item['strDescriptionPL'] if item.get('strArtist',''): albumdata['artist_description'] = item['strArtist'] artists = [] artistdata = {} artistdata['artist'] = item['strArtist'] if item.get('strMusicBrainzArtistID',''): artistdata['mbartistid'] = item['strMusicBrainzArtistID'] artists.append(artistdata) albumdata['artist'] = artists thumbs = [] extras = [] if item.get('strAlbumThumb',''): thumbdata = {} thumbdata['image'] = item['strAlbumThumb'] thumbdata['preview'] = item['strAlbumThumb'] + '/preview' thumbdata['aspect'] = 'thumb' thumbs.append(thumbdata) if item.get('strAlbumThumbBack',''): extradata = {} extradata['image'] = item['strAlbumThumbBack'] extradata['preview'] = item['strAlbumThumbBack'] + '/preview' extradata['aspect'] = 'back' extras.append(extradata) if item.get('strAlbumSpine',''): extradata = {} extradata['image'] = item['strAlbumSpine'] extradata['preview'] = item['strAlbumSpine'] + '/preview' extradata['aspect'] = 'spine' extras.append(extradata) if item.get('strAlbumCDart',''): extradata = {} extradata['image'] = item['strAlbumCDart'] extradata['preview'] = item['strAlbumCDart'] + '/preview' extradata['aspect'] = 'discart' extras.append(extradata) if item.get('strAlbum3DCase',''): extradata = {} extradata['image'] = item['strAlbum3DCase'] extradata['preview'] = item['strAlbum3DCase'] + '/preview' extradata['aspect'] = '3dcase' extras.append(extradata) if item.get('strAlbum3DFlat',''): extradata = {} extradata['image'] = item['strAlbum3DFlat'] extradata['preview'] = item['strAlbum3DFlat'] + '/preview' extradata['aspect'] = '3dflat' extras.append(extradata) if item.get('strAlbum3DFace',''): extradata = {} extradata['image'] = item['strAlbum3DFace'] extradata['preview'] = item['strAlbum3DFace'] + '/preview' extradata['aspect'] = '3dface' extras.append(extradata) if thumbs: albumdata['thumb'] = thumbs if extras: albumdata['extras'] = extras return albumdata
def theaudiodb_albumdetails(data): if data.get('album'): item = data['album'][0] albumdata = {} albumdata['album'] = item['strAlbum'] if item.get('intYearReleased', ''): albumdata['year'] = item['intYearReleased'] if item.get('strStyle', ''): albumdata['styles'] = item['strStyle'] if item.get('strGenre', ''): albumdata['genre'] = item['strGenre'] if item.get('strLabel', ''): albumdata['label'] = item['strLabel'] if item.get('strReleaseFormat', ''): albumdata['type'] = item['strReleaseFormat'] if item.get('intScore', ''): albumdata['rating'] = str(int(float(item['intScore']) + 0.5)) if item.get('intScoreVotes', ''): albumdata['votes'] = item['intScoreVotes'] if item.get('strMood', ''): albumdata['moods'] = item['strMood'] if item.get('strTheme', ''): albumdata['themes'] = item['strTheme'] if item.get('strMusicBrainzID', ''): albumdata['mbreleasegroupid'] = item['strMusicBrainzID'] if item.get('strDescription', ''): albumdata['descriptionEN'] = item['strDescription'] elif item.get('strDescriptionEN', ''): albumdata['descriptionEN'] = item['strDescriptionEN'] if item.get('strDescriptionDE', ''): albumdata['descriptionDE'] = item['strDescriptionDE'] if item.get('strDescriptionFR', ''): albumdata['descriptionFR'] = item['strDescriptionFR'] if item.get('strDescriptionCN', ''): albumdata['descriptionCN'] = item['strDescriptionCN'] if item.get('strDescriptionIT', ''): albumdata['descriptionIT'] = item['strDescriptionIT'] if item.get('strDescriptionJP', ''): albumdata['descriptionJP'] = item['strDescriptionJP'] if item.get('strDescriptionRU', ''): albumdata['descriptionRU'] = item['strDescriptionRU'] if item.get('strDescriptionES', ''): albumdata['descriptionES'] = item['strDescriptionES'] if item.get('strDescriptionPT', ''): albumdata['descriptionPT'] = item['strDescriptionPT'] if item.get('strDescriptionSE', ''): albumdata['descriptionSE'] = item['strDescriptionSE'] if item.get('strDescriptionNL', ''): albumdata['descriptionNL'] = item['strDescriptionNL'] if item.get('strDescriptionHU', ''): albumdata['descriptionHU'] = item['strDescriptionHU'] if item.get('strDescriptionNO', ''): albumdata['descriptionNO'] = item['strDescriptionNO'] if item.get('strDescriptionIL', ''): albumdata['descriptionIL'] = item['strDescriptionIL'] if item.get('strDescriptionPL', ''): albumdata['descriptionPL'] = item['strDescriptionPL'] if item.get('strArtist', ''): albumdata['artist_description'] = item['strArtist'] artists = [] artistdata = {} artistdata['artist'] = item['strArtist'] if item.get('strMusicBrainzArtistID', ''): artistdata['mbartistid'] = item['strMusicBrainzArtistID'] artists.append(artistdata) albumdata['artist'] = artists thumbs = [] extras = [] if item.get('strAlbumThumb', ''): thumbdata = {} thumbdata['image'] = item['strAlbumThumb'] thumbdata['preview'] = item['strAlbumThumb'] + '/preview' thumbdata['aspect'] = 'thumb' thumbs.append(thumbdata) if item.get('strAlbumThumbBack', ''): extradata = {} extradata['image'] = item['strAlbumThumbBack'] extradata['preview'] = item['strAlbumThumbBack'] + '/preview' extradata['aspect'] = 'back' extras.append(extradata) if item.get('strAlbumSpine', ''): extradata = {} extradata['image'] = item['strAlbumSpine'] extradata['preview'] = item['strAlbumSpine'] + '/preview' extradata['aspect'] = 'spine' extras.append(extradata) if item.get('strAlbumCDart', ''): extradata = {} extradata['image'] = item['strAlbumCDart'] extradata['preview'] = item['strAlbumCDart'] + '/preview' extradata['aspect'] = 'discart' extras.append(extradata) if item.get('strAlbum3DCase', ''): extradata = {} extradata['image'] = item['strAlbum3DCase'] extradata['preview'] = item['strAlbum3DCase'] + '/preview' extradata['aspect'] = '3dcase' extras.append(extradata) if item.get('strAlbum3DFlat', ''): extradata = {} extradata['image'] = item['strAlbum3DFlat'] extradata['preview'] = item['strAlbum3DFlat'] + '/preview' extradata['aspect'] = '3dflat' extras.append(extradata) if item.get('strAlbum3DFace', ''): extradata = {} extradata['image'] = item['strAlbum3DFace'] extradata['preview'] = item['strAlbum3DFace'] + '/preview' extradata['aspect'] = '3dface' extras.append(extradata) if thumbs: albumdata['thumb'] = thumbs if extras: albumdata['extras'] = extras return albumdata
class State: state = {} @staticmethod def init(): State.state = { "lowres_frames": None, "highres_frames": None, "photopath": "", "frame": 0, "current_photo": None, "share_code": "", "preview_image_width": 0, "photo_countdown": 0, "reset_time": 0, "upload_url": "", "photo_url": "", "api_key": "" } return State.state @staticmethod def set(value): State.state[value[0]] = value[1] return State.state @staticmethod def set_dict(value): State.state = {**State.state, **value} return State.state @staticmethod def get(key): try: return State.state.get(key) except KeyError: print("No key found") return None @staticmethod def print(): print(State.state)
class State: state = {} @staticmethod def init(): State.state = {'lowres_frames': None, 'highres_frames': None, 'photopath': '', 'frame': 0, 'current_photo': None, 'share_code': '', 'preview_image_width': 0, 'photo_countdown': 0, 'reset_time': 0, 'upload_url': '', 'photo_url': '', 'api_key': ''} return State.state @staticmethod def set(value): State.state[value[0]] = value[1] return State.state @staticmethod def set_dict(value): State.state = {**State.state, **value} return State.state @staticmethod def get(key): try: return State.state.get(key) except KeyError: print('No key found') return None @staticmethod def print(): print(State.state)
#!/usr/bin/env python3 """Making a Box. Create a function that creates a box based on dimension n. Source: https://edabit.com/challenge/dy3WWJr34gSGRPLee """ def make_box(n: int, character: str = '#') -> list: """Create a box on dimension n using character.""" box = [] for i in range(n): if i in (0, n-1): box.append(f'{character*n}') else: box.append(f'{character}{" "*(n-2)}{character}') return box def main(): """Run sample make_box functions. Do not import.""" assert make_box(5) == [ "#####", "# #", "# #", "# #", "#####" ] assert make_box(6) == [ "######", "# #", "# #", "# #", "# #", "######"] assert make_box(4) == [ "####", "# #", "# #", "####"] assert make_box(2) == [ "##", "##"] assert make_box(1) == [ "#" ] print('Passed.') if __name__ == "__main__": main()
"""Making a Box. Create a function that creates a box based on dimension n. Source: https://edabit.com/challenge/dy3WWJr34gSGRPLee """ def make_box(n: int, character: str='#') -> list: """Create a box on dimension n using character.""" box = [] for i in range(n): if i in (0, n - 1): box.append(f'{character * n}') else: box.append(f"{character}{' ' * (n - 2)}{character}") return box def main(): """Run sample make_box functions. Do not import.""" assert make_box(5) == ['#####', '# #', '# #', '# #', '#####'] assert make_box(6) == ['######', '# #', '# #', '# #', '# #', '######'] assert make_box(4) == ['####', '# #', '# #', '####'] assert make_box(2) == ['##', '##'] assert make_box(1) == ['#'] print('Passed.') if __name__ == '__main__': main()
expected_output = { 'tracker_name': { 'tcp-10001': { 'status': 'UP', 'rtt_in_msec': 2, 'probe_id': 2 }, 'udp-10001': { 'status': 'UP', 'rtt_in_msec': 1, 'probe_id': 3 } } }
expected_output = {'tracker_name': {'tcp-10001': {'status': 'UP', 'rtt_in_msec': 2, 'probe_id': 2}, 'udp-10001': {'status': 'UP', 'rtt_in_msec': 1, 'probe_id': 3}}}
""" coax.exceptions ~~~~~~~~~~~~~~~ """ class InterfaceError(Exception): """An interface error occurred.""" class ReceiveError(Exception): """A receive error occurred.""" class InterfaceTimeout(Exception): """The interface timed out.""" class ReceiveTimeout(Exception): """The receive operation timed out.""" class ProtocolError(Exception): """A protocol error occurred."""
""" coax.exceptions ~~~~~~~~~~~~~~~ """ class Interfaceerror(Exception): """An interface error occurred.""" class Receiveerror(Exception): """A receive error occurred.""" class Interfacetimeout(Exception): """The interface timed out.""" class Receivetimeout(Exception): """The receive operation timed out.""" class Protocolerror(Exception): """A protocol error occurred."""