content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
''' Copyright (C) 2015 Dato, Inc. All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for details. ''' graphlab_server = 'http://pws-billing-stage.herokuapp.com' mode = 'QA' mixpanel_user = '97b6ae8fe096844c2efb9f6c57165d41' metrics_url = 'http://d343i1j50yi7ez.cloudfront.net/i'
""" Copyright (C) 2015 Dato, Inc. All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for details. """ graphlab_server = 'http://pws-billing-stage.herokuapp.com' mode = 'QA' mixpanel_user = '97b6ae8fe096844c2efb9f6c57165d41' metrics_url = 'http://d343i1j50yi7ez.cloudfront.net/i'
class BaseValidator: REQUIRED_KEYS = [] def validate(self, data): return all( key in data.keys() for key in self.REQUIRED_KEYS) class UserValidator(BaseValidator): REQUIRED_KEYS = ('username', 'password') class PotionValidator(BaseValidator): REQUIRED_KEYS = ('name')
class Basevalidator: required_keys = [] def validate(self, data): return all((key in data.keys() for key in self.REQUIRED_KEYS)) class Uservalidator(BaseValidator): required_keys = ('username', 'password') class Potionvalidator(BaseValidator): required_keys = 'name'
def poisson(i, j, u_tp, v_tp, dx, dy, dt, P, c, SOR): cm = ( u_tp[i, j] - u_tp[i-1, j] + v_tp[i, j] - v_tp[i, j-1] ) # conservation of mass pressure = (P[i+1, j] + P[i-1, j] + P[i, j+1] + P[i, j-1]) P[i, j] = SOR * (c[i, j])*(pressure - (dx/dt)*(cm)) + (1.0 - SOR) * P[i, j] return P def streamlines(i, j, dx, dy, dt, phi, vorticity, SOR): PHI = (phi[i+1, j] + phi[i-1, j] + phi[i, j+1] + phi[i, j-1]) phi[i, j] = ( (1.0/4.0) * SOR * (PHI + (dx*dy) * vorticity[i, j]) + (1.0 - SOR)*phi[i, j] ) return phi
def poisson(i, j, u_tp, v_tp, dx, dy, dt, P, c, SOR): cm = u_tp[i, j] - u_tp[i - 1, j] + v_tp[i, j] - v_tp[i, j - 1] pressure = P[i + 1, j] + P[i - 1, j] + P[i, j + 1] + P[i, j - 1] P[i, j] = SOR * c[i, j] * (pressure - dx / dt * cm) + (1.0 - SOR) * P[i, j] return P def streamlines(i, j, dx, dy, dt, phi, vorticity, SOR): phi = phi[i + 1, j] + phi[i - 1, j] + phi[i, j + 1] + phi[i, j - 1] phi[i, j] = 1.0 / 4.0 * SOR * (PHI + dx * dy * vorticity[i, j]) + (1.0 - SOR) * phi[i, j] return phi
AWS_REGION = 'us-east-1' #Lambda function name for querying lambda_func_name = "cloudtrailTrackerQueries" #Lambda function name for automatic event uploads lambda_func_name_trigger = "cloudtrailTrackerUploads" #Stage name for API Gateway stage_name = "cloudtrailtrackerStage" #DynamoDB Table name table_name = "cloudtrailtrackerdb" #Preconfigured S3 bucket by CloudTrail bucket_name = "cursocloudaws-trail" #API name API_name = "cloudtrailTrackerAPI" #eventNames that we DO NOT want to store - Filter filterEventNames = ["get", "describe", "list", "info", "decrypt", "checkmfa", "head"] ### Account IDs and permisiions #aws_acct_id = "111111111111" ### Roles #A role is needed with access to S3 / apig / lamba permissions # arn_role = 'arn:aws:iam::111111111111:role/your-iam-role' #Index name for DynamoDB Table - Do not modify if is not necessary index = 'userIdentity_userName-eventTime-index'
aws_region = 'us-east-1' lambda_func_name = 'cloudtrailTrackerQueries' lambda_func_name_trigger = 'cloudtrailTrackerUploads' stage_name = 'cloudtrailtrackerStage' table_name = 'cloudtrailtrackerdb' bucket_name = 'cursocloudaws-trail' api_name = 'cloudtrailTrackerAPI' filter_event_names = ['get', 'describe', 'list', 'info', 'decrypt', 'checkmfa', 'head'] index = 'userIdentity_userName-eventTime-index'
SETUP_TIME = -1.0 INTERMED_FILE_FILEEXT = '.txt' SEPERATOR = '_' SETUP_SCRIPT_POSTFIX = "_setup.sh" RUNTIME_SCRIPT_POSTFIX = "_runtime.cmd"
setup_time = -1.0 intermed_file_fileext = '.txt' seperator = '_' setup_script_postfix = '_setup.sh' runtime_script_postfix = '_runtime.cmd'
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def zigzagLevelOrder(self, root: Optional[TreeNode]) -> List[List[int]]: if not root: return [] rev, res, level = False, [], [root] while level: clv,nextl = [],[] for nd in level: clv.append(nd.val) if nd.left: nextl.append(nd.left) if nd.right: nextl.append(nd.right) if rev: res.append(clv[::-1]) rev = False else: res.append(clv) rev = True level = nextl return res
class Solution: def zigzag_level_order(self, root: Optional[TreeNode]) -> List[List[int]]: if not root: return [] (rev, res, level) = (False, [], [root]) while level: (clv, nextl) = ([], []) for nd in level: clv.append(nd.val) if nd.left: nextl.append(nd.left) if nd.right: nextl.append(nd.right) if rev: res.append(clv[::-1]) rev = False else: res.append(clv) rev = True level = nextl return res
#title :matchmaker_nance.py #description :This will ask a series of questionsd and determine match %. #author :Chris Nance #date :2022-03-13 #version :1.0 #usage :python matchmaker_nance.py #notes :Edit the questionAndAnswerDict Dictionary below. #python_version :3.10 #==============================================================================#==============================================================================#============================================================================== # Please add, remove or modify any questions in the dictionary. The first number in each array is the correct score for the question while the second number is the weight (or how important) the question is to you. # The script will automatically adjust the total points available and output based on your modifications to this dictionary. questionAndAnswerDict = ( # ['QUESTION', SCORE, WEIGHT] ['iPhone is better than Android', 4, 1], ['I prefer the outdoors rather than being inside', 4, 3], ['Computer Science is one of the coolest fields of study', 5, 3], ['Data science is really fun', 1, 2], ['I like all four seasons rather than it just being hot all year', 2, 2], ) #==============================================================================#==============================================================================#============================================================================== ## VARIABLES user_score = 0 user_score_nw = 0 user_answer = 0 total_available = 0 total_available_nw = 0 ## HEADER print(''' -------------------------------------- -- MATCHMAKER 1.0 -- -------------------------------------- This program will ask '''+str(len(questionAndAnswerDict))+''' questions.\nYou will respond to each question with a\nnumber 1 through 5. The number 1 means you\ndisagree while the number 5 means you highly\nagree.At the end you wil be given your final\nscore and match maker percentage. ''') ## MAIN PROGRAM for question_num in range(0,len(questionAndAnswerDict)): # Ask all questions in the dictionary; in order. question, answer, weight, user_answer = questionAndAnswerDict[question_num][0], questionAndAnswerDict[question_num][1], questionAndAnswerDict[question_num][2], 0 # Multi-Assignment of question, answer, weight and placeholder for user_score. print('\n') print("Question:", question) while user_answer not in [1,2,3,4,5]: try: user_answer = int(input('Your Answer (From 1 to 5): ')) if user_answer in [1,2,3,4,5]: break # Break on condition being met so error print does not happen. except ValueError as error: print("[ERROR]: Sorry, you MUST enter an INTEGER from 1 to 5:", error) except Exception as error: print("[ERROR]: There was an unknown error. Please try entering in an integer from 1 to 5:", error) print("[ERROR]: You need to enter an INTEGER from 1 to 5...") user_score += abs(answer - user_answer) * weight # Calculate the running total of points the user has accumulated. Abs prevents negatives. user_score_nw += abs(answer - user_answer) total_available += answer*weight # Calculate the total points available based on the dictionary of questions. Adding/Removing/Editing questions require no code change. total_available_nw += answer user_score = total_available - user_score # Obtain true user score by subtracting their score from the total score available. ## SCORE OUTPUT/REMARKS print(f"\n\nMatch Percent: {user_score/total_available*100:.2f}%.\nYou scored", str(user_score), "weighted points out of the possible", str(total_available), "available.\nYou scored", str(user_score_nw), "non-weighted points out of the possible", str(total_available_nw), "available.") if user_score < total_available*0.5: # <50% match print("Maybe we would be better off never talking again...") elif user_score < total_available*0.7: # <70% match print("I'm thinking we're just friends...") elif user_score < total_available*0.9: # <90% match print("This could really work out...") elif user_score > total_available*0.9: # >90% match print("Perfect!") print(''' -------------------------------------- -- MATCHMAKER 1.0 -- -------------------------------------- ''') input('Thank you for using Match Maker 1.0\nPress Enter to close this window...')
question_and_answer_dict = (['iPhone is better than Android', 4, 1], ['I prefer the outdoors rather than being inside', 4, 3], ['Computer Science is one of the coolest fields of study', 5, 3], ['Data science is really fun', 1, 2], ['I like all four seasons rather than it just being hot all year', 2, 2]) user_score = 0 user_score_nw = 0 user_answer = 0 total_available = 0 total_available_nw = 0 print('\n--------------------------------------\n-- MATCHMAKER 1.0 --\n--------------------------------------\n\nThis program will ask ' + str(len(questionAndAnswerDict)) + ' questions.\nYou will respond to each question with a\nnumber 1 through 5. The number 1 means you\ndisagree while the number 5 means you highly\nagree.At the end you wil be given your final\nscore and match maker percentage.\n') for question_num in range(0, len(questionAndAnswerDict)): (question, answer, weight, user_answer) = (questionAndAnswerDict[question_num][0], questionAndAnswerDict[question_num][1], questionAndAnswerDict[question_num][2], 0) print('\n') print('Question:', question) while user_answer not in [1, 2, 3, 4, 5]: try: user_answer = int(input('Your Answer (From 1 to 5): ')) if user_answer in [1, 2, 3, 4, 5]: break except ValueError as error: print('[ERROR]: Sorry, you MUST enter an INTEGER from 1 to 5:', error) except Exception as error: print('[ERROR]: There was an unknown error. Please try entering in an integer from 1 to 5:', error) print('[ERROR]: You need to enter an INTEGER from 1 to 5...') user_score += abs(answer - user_answer) * weight user_score_nw += abs(answer - user_answer) total_available += answer * weight total_available_nw += answer user_score = total_available - user_score print(f'\n\nMatch Percent: {user_score / total_available * 100:.2f}%.\nYou scored', str(user_score), 'weighted points out of the possible', str(total_available), 'available.\nYou scored', str(user_score_nw), 'non-weighted points out of the possible', str(total_available_nw), 'available.') if user_score < total_available * 0.5: print('Maybe we would be better off never talking again...') elif user_score < total_available * 0.7: print("I'm thinking we're just friends...") elif user_score < total_available * 0.9: print('This could really work out...') elif user_score > total_available * 0.9: print('Perfect!') print('\n--------------------------------------\n-- MATCHMAKER 1.0 --\n--------------------------------------\n') input('Thank you for using Match Maker 1.0\nPress Enter to close this window...')
# finding bottom left value if binary search tree class Node: def __init__(self,val): self.left = None self.right = None self.val = val def findBottomLeftValue(root): current = [] # contains nodes are current level parent = [] # contains nodes at previous level current.append(root) # initializing with root # loop break condition: no more elements to add i.e all leaf nodes in parent while len(current) > 0: parent = current current = [] # clearing current for next level # for each node at previous level add it's children for node in parent: if node.left is not None: current.append(node.left) if node.right is not None: current.append(node.right) # always pick first element to get bottom left return parent[0].val # Create a root node root = Node(5) root.left = Node(3) root.right = Node(8) root.right.left = Node(10) root.right.left.right = Node(11) print(findBottomLeftValue(root))
class Node: def __init__(self, val): self.left = None self.right = None self.val = val def find_bottom_left_value(root): current = [] parent = [] current.append(root) while len(current) > 0: parent = current current = [] for node in parent: if node.left is not None: current.append(node.left) if node.right is not None: current.append(node.right) return parent[0].val root = node(5) root.left = node(3) root.right = node(8) root.right.left = node(10) root.right.left.right = node(11) print(find_bottom_left_value(root))
class DSSConstants(object): APPLICATION_JSON = "application/json;odata=verbose" APPLICATION_JSON_NOMETADATA = "application/json;odata=nometadata" AUTH_LOGIN = "login" AUTH_OAUTH = "oauth" AUTH_SITE_APP = "site-app-permissions" CHILDREN = 'children' DATE_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ" DIRECTORY = 'directory' EXISTS = 'exists' FALLBACK_TYPE = "string" FULL_PATH = 'fullPath' IS_DIRECTORY = 'isDirectory' JSON_HEADERS = { "Content-Type": APPLICATION_JSON, "Accept": APPLICATION_JSON } LAST_MODIFIED = 'lastModified' LOGIN_DETAILS = { "sharepoint_tenant": "The tenant name is missing", "sharepoint_site": "The site name is missing", "sharepoint_username": "The account's username is missing", "sharepoint_password": "The account's password is missing" } OAUTH_DETAILS = { "sharepoint_tenant": "The tenant name is missing", "sharepoint_site": "The site name is missing", "sharepoint_oauth": "The access token is missing" } PATH = 'path' SITE_APP_DETAILS = { "sharepoint_tenant": "The tenant name is missing", "sharepoint_site": "The site name is missing", "tenant_id": "The tenant ID is missing. See documentation on how to obtain this information", "client_id": "The client ID is missing", "client_secret": "The client secret is missing" } SIZE = 'size' TYPES = { "string": "Text", "map": "Note", "array": "Note", "object": "Note", "double": "Number", "float": "Number", "int": "Integer", "bigint": "Integer", "smallint": "Integer", "tinyint": "Integer", "date": "DateTime" }
class Dssconstants(object): application_json = 'application/json;odata=verbose' application_json_nometadata = 'application/json;odata=nometadata' auth_login = 'login' auth_oauth = 'oauth' auth_site_app = 'site-app-permissions' children = 'children' date_format = '%Y-%m-%dT%H:%M:%S.%fZ' directory = 'directory' exists = 'exists' fallback_type = 'string' full_path = 'fullPath' is_directory = 'isDirectory' json_headers = {'Content-Type': APPLICATION_JSON, 'Accept': APPLICATION_JSON} last_modified = 'lastModified' login_details = {'sharepoint_tenant': 'The tenant name is missing', 'sharepoint_site': 'The site name is missing', 'sharepoint_username': "The account's username is missing", 'sharepoint_password': "The account's password is missing"} oauth_details = {'sharepoint_tenant': 'The tenant name is missing', 'sharepoint_site': 'The site name is missing', 'sharepoint_oauth': 'The access token is missing'} path = 'path' site_app_details = {'sharepoint_tenant': 'The tenant name is missing', 'sharepoint_site': 'The site name is missing', 'tenant_id': 'The tenant ID is missing. See documentation on how to obtain this information', 'client_id': 'The client ID is missing', 'client_secret': 'The client secret is missing'} size = 'size' types = {'string': 'Text', 'map': 'Note', 'array': 'Note', 'object': 'Note', 'double': 'Number', 'float': 'Number', 'int': 'Integer', 'bigint': 'Integer', 'smallint': 'Integer', 'tinyint': 'Integer', 'date': 'DateTime'}
# This is an example script Import("projenv") # access to project construction environment print(projenv) # Dump construction environments (for debug purpose) print(projenv.Dump()) # append extra flags to only project build environment projenv.Append(CPPDEFINES=[ "PROJECT_EXTRA_MACRO_1_NAME", ("PROJECT_EXTRA_MACRO_2_NAME", "PROJECT_EXTRA_MACRO_2_VALUE") ])
import('projenv') print(projenv) print(projenv.Dump()) projenv.Append(CPPDEFINES=['PROJECT_EXTRA_MACRO_1_NAME', ('PROJECT_EXTRA_MACRO_2_NAME', 'PROJECT_EXTRA_MACRO_2_VALUE')])
class Inventory: def __init__(self,unRealize,nowPrice,stockno,stockname,amount,price): self.__stockno = stockno self.__stockname = stockname self.__amount = amount self.__price = price self.__unRealize = unRealize self.__nowPrice = nowPrice @property def stockno(self): return self.__stockno @property def stockname(self): return self.__stockname @property def amount(self): return self.__amount @property def price(self): return self.__price @property def UnRealize(self): return self.__unRealize @property def nowPrice(self): return self.__nowPrice def __str__(self): return """ { stockno:%s, stockname:%s, amount:%s, price:%s, unRealize:%s, nowPrice:%s, } """ % (self.__stockno,self.__stockname,self.__amount,self.__price,self.__unRealize,self.__nowPrice) def toDict(self): return { "stockno":self.__stockno, "stockname":self.__stockname, "amount":self.__amount, "price":self.__price, "unRealize":self.__unRealize, "nowPrice":self.__nowPrice, }
class Inventory: def __init__(self, unRealize, nowPrice, stockno, stockname, amount, price): self.__stockno = stockno self.__stockname = stockname self.__amount = amount self.__price = price self.__unRealize = unRealize self.__nowPrice = nowPrice @property def stockno(self): return self.__stockno @property def stockname(self): return self.__stockname @property def amount(self): return self.__amount @property def price(self): return self.__price @property def un_realize(self): return self.__unRealize @property def now_price(self): return self.__nowPrice def __str__(self): return '\n\t\t\t{\n\t\t\t\tstockno:%s,\n\t\t\t\tstockname:%s,\n\t\t\t\tamount:%s,\n\t\t\t\tprice:%s,\n\t\t\t\tunRealize:%s,\n\t\t\t\tnowPrice:%s,\n\t\t\t}\n\t\t' % (self.__stockno, self.__stockname, self.__amount, self.__price, self.__unRealize, self.__nowPrice) def to_dict(self): return {'stockno': self.__stockno, 'stockname': self.__stockname, 'amount': self.__amount, 'price': self.__price, 'unRealize': self.__unRealize, 'nowPrice': self.__nowPrice}
def electionsWinners(votes, k): m = max(votes) n = len(list(filter(lambda y: y, (map(lambda x: (x + k) > m, votes))))) votes.remove(max(votes)) if n == 0 and m > max(votes): return 1 return n
def elections_winners(votes, k): m = max(votes) n = len(list(filter(lambda y: y, map(lambda x: x + k > m, votes)))) votes.remove(max(votes)) if n == 0 and m > max(votes): return 1 return n
''' 1. Write a Python program to calculate the length of a string. 2. Write a Python program to count the number of characters (character frequency) in a string. Sample String : google.com' Expected Result : {'o': 3, 'g': 2, '.': 1, 'e': 1, 'l': 1, 'm': 1, 'c': 1} 3. Write a Python program to get a string made of the first 2 and the last 2 chars from a given a string. If the string length is less than 2, return instead of the empty string. Sample String : 'codedladies' Expected Result : 'coes' Sample String : 'co' Expected Result : 'coco' Sample String : ' c' Expected Result : Empty String Click me to see the sample solution 4. Write a Python program to get a string from a given string where all occurrences of its first char have been changed to '$', except the first char itself. Sample String : 'restart' Expected Result : 'resta$t' 5. Write a Python program to get a single string from two given strings, separated by a space and swap the first two characters of each string. Sample String : 'abc', 'xyz' Expected Result : 'xyc abz' 6. Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged. Sample String : 'abc' Expected Result : 'abcing' Sample String : 'string' Expected Result : 'stringly' 7. Write a Python program to find the first appearance of the substring 'not' and 'poor' from a given string, if 'not' follows the 'poor', replace the whole 'not'...'poor' substring with 'good'. Return the resulting string. Sample String : 'The lyrics is not that poor!' 'The lyrics is poor!' Expected Result : 'The lyrics is good!' 'The lyrics is poor!' 8. Write a Python function that takes a list of words and returns the length of the longest one. 9. Write a Python program to remove the nth index character from a nonempty string. 10. Write a Python program to change a given string to a new string where the first and last chars have been exchanged. '''
""" 1. Write a Python program to calculate the length of a string. 2. Write a Python program to count the number of characters (character frequency) in a string. Sample String : google.com' Expected Result : {'o': 3, 'g': 2, '.': 1, 'e': 1, 'l': 1, 'm': 1, 'c': 1} 3. Write a Python program to get a string made of the first 2 and the last 2 chars from a given a string. If the string length is less than 2, return instead of the empty string. Sample String : 'codedladies' Expected Result : 'coes' Sample String : 'co' Expected Result : 'coco' Sample String : ' c' Expected Result : Empty String Click me to see the sample solution 4. Write a Python program to get a string from a given string where all occurrences of its first char have been changed to '$', except the first char itself. Sample String : 'restart' Expected Result : 'resta$t' 5. Write a Python program to get a single string from two given strings, separated by a space and swap the first two characters of each string. Sample String : 'abc', 'xyz' Expected Result : 'xyc abz' 6. Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged. Sample String : 'abc' Expected Result : 'abcing' Sample String : 'string' Expected Result : 'stringly' 7. Write a Python program to find the first appearance of the substring 'not' and 'poor' from a given string, if 'not' follows the 'poor', replace the whole 'not'...'poor' substring with 'good'. Return the resulting string. Sample String : 'The lyrics is not that poor!' 'The lyrics is poor!' Expected Result : 'The lyrics is good!' 'The lyrics is poor!' 8. Write a Python function that takes a list of words and returns the length of the longest one. 9. Write a Python program to remove the nth index character from a nonempty string. 10. Write a Python program to change a given string to a new string where the first and last chars have been exchanged. """
class Point(object): def __init__(self, x, y): self.x = x self.y = y def ToString(self): return '("+x+", "+y+")'
class Point(object): def __init__(self, x, y): self.x = x self.y = y def to_string(self): return '("+x+", "+y+")'
def _repo_path(repository_ctx): return repository_ctx.path(".") def _get_depot_tools(repository_ctx): # Clone Chrome Depot Tools. git = repository_ctx.which("git") git_command = [git, "clone", "https://chromium.googlesource.com/chromium/tools/depot_tools.git"] repository_ctx.report_progress("Cloning depot_tools into %s with command %s..." % (_repo_path(repository_ctx), git_command)) repository_ctx.execute(git_command, quiet = False, working_directory = "%s" % _repo_path(repository_ctx)) repository_ctx.report_progress("Cloning depot_tools is complete") return repository_ctx.path("depot_tools") def _gclient_metrics_opt_out(repository_ctx, depot_tools): repository_ctx.report_progress("Opting out of gclient metrics...") gclient = depot_tools.get_child("gclient") gclient_metrics_opt_out_command = [gclient, "metrics", "--opt-out"] repository_ctx.execute(gclient_metrics_opt_out_command, quiet = False) def _fetch_v8_source(repository_ctx, depot_tools): # Fetch V8 source code. v8_destination_path = repository_ctx.path("v8") fetch = depot_tools.get_child("fetch") fetch_v8_command = [fetch, "v8"] repository_ctx.report_progress("Fetching v8 codebase into %s..." % v8_destination_path) repository_ctx.execute(fetch_v8_command, quiet = False, working_directory = "%s" % _repo_path(repository_ctx)) repository_ctx.report_progress("Fetching v8 codebase is complete") return v8_destination_path def _checkout_v8_branch(repository_ctx, v8_path): # Checkout V8 branch with the specified name git = repository_ctx.which("git") git_fetch_command = [git, "fetch", "origin", "refs/heads/%s" % repository_ctx.attr.branch] repository_ctx.execute(git_fetch_command, working_directory = "%s" % v8_path) git_checkout_command = [git, "checkout", "-b", "refs/heads/%s" % repository_ctx.attr.branch] repository_ctx.execute(git_checkout_command, working_directory = "%s" % v8_path) def _gclient_sync(repository_ctx, depot_tools, v8_path): repository_ctx.report_progress("Executing gclient sync...") gclient = depot_tools.get_child("gclient") gclient_sync_command = [gclient, "sync"] repository_ctx.execute(gclient_sync_command, quiet = False, working_directory = "%s" % v8_path) def _clear_bazel_build_files(repository_ctx, v8_path): # Remove all BUILD.bazel files throughout the V8 source tree. # We're not yet using Bazel to build V8, as Bazel support in V8 is still # very early and needs more work. bash = repository_ctx.which("bash") rm = repository_ctx.which("rm") find = repository_ctx.which("find") grep = repository_ctx.which("grep") xargs = repository_ctx.which("xargs") remove_build_bazel_command = [bash, "-c", "%s %s | %s BUILD.bazel | %s %s -f " % (find, v8_path, grep, xargs, rm)] repository_ctx.execute(remove_build_bazel_command, quiet = False, working_directory = "%s" % repository_ctx.path(".")) def _v8_sources_impl(repository_ctx): depot_tools = _get_depot_tools(repository_ctx) _gclient_metrics_opt_out(repository_ctx, depot_tools = depot_tools) v8_destination_path = _fetch_v8_source(repository_ctx, depot_tools = depot_tools) _checkout_v8_branch(repository_ctx, v8_path = v8_destination_path) _gclient_sync(repository_ctx, depot_tools = depot_tools, v8_path = v8_destination_path) _clear_bazel_build_files(repository_ctx, v8_path = v8_destination_path) # Write the build shell script. build_script = """ set -e OUTPUT_DIR=$(readlink -f "$1") SOURCE_ROOT=$(readlink -f $(dirname "$0"))/v8 DEPOT_TOOLS=$(readlink -f $(dirname "$0"))/depot_tools # Configure and build V8 as a static library. # Use local Linux toolchain, as opposed to the toolchain packaged with V8, # to avoid dependencies on standard libraries packaged with V8. export CC=gcc export CXX=g++ export CXXFLAGS="-Wno-unknown-warning-option -Wno-implicit-int-float-conversion -Wno-builtin-assume-aligned-alignment -Wno-final-dtor-non-final-class" export AR=${AR:-ar} export NM=${NM:-nm} export LD=${LD:-ld} cd ${SOURCE_ROOT} echo SOURCE_ROOT=${SOURCE_ROOT} ./buildtools/linux64/gn gen out/x64.static --args="custom_toolchain=\\"//build/toolchain/linux/unbundle:default\\" use_sysroot=false linux_use_bundled_binutils=false use_lld=false strip_debug_info=false symbol_level=0 use_allocator_shim=false is_cfi=false use_gold=false v8_static_library=true v8_enable_gdbjit=false v8_monolithic=true clang_use_chrome_plugins=false v8_enable_shared_ro_heap=false v8_use_external_startup_data=false is_debug=false v8_symbol_level=1 v8_enable_handle_zapping=false use_glib=false v8_use_external_startup_data=false v8_enable_i18n_support=false v8_enable_webassembly=false is_clang=false use_custom_libcxx=false" ${DEPOT_TOOLS}/ninja -C out/x64.static v8_monolith # Copy V8 static library to the output location cp out/x64.static/obj/libv8_monolith.a "${OUTPUT_DIR}/libv8_monolith.a" # Copy V8 public headers to the output location. cd include find -L . -type f | grep -i \\.h$ | xargs -I {} cp --parents {} ${OUTPUT_DIR} """ repository_ctx.file(repository_ctx.path("build_v8.sh"), build_script) # Write the Bazel BUILD file. v8_build_file = """ filegroup( name = "depot_tools", srcs = glob(["depot_tools/**/*"]), ) V8_HEADERS = [ "cppgc/allocation.h", "cppgc/common.h", "cppgc/cross-thread-persistent.h", "cppgc/custom-space.h", "cppgc/default-platform.h", "cppgc/ephemeron-pair.h", "cppgc/garbage-collected.h", "cppgc/heap-consistency.h", "cppgc/heap.h", "cppgc/internal/api-constants.h", "cppgc/internal/atomic-entry-flag.h", "cppgc/internal/caged-heap-local-data.h", "cppgc/internal/compiler-specific.h", "cppgc/internal/finalizer-trait.h", "cppgc/internal/gc-info.h", "cppgc/internal/logging.h", "cppgc/internal/name-trait.h", "cppgc/internal/persistent-node.h", "cppgc/internal/pointer-policies.h", "cppgc/internal/prefinalizer-handler.h", "cppgc/internal/write-barrier.h", "cppgc/liveness-broker.h", "cppgc/macros.h", "cppgc/member.h", "cppgc/name-provider.h", "cppgc/object-size-trait.h", "cppgc/persistent.h", "cppgc/platform.h", "cppgc/prefinalizer.h", "cppgc/source-location.h", "cppgc/trace-trait.h", "cppgc/type-traits.h", "cppgc/visitor.h", "libplatform/libplatform-export.h", "libplatform/libplatform.h", "libplatform/v8-tracing.h", "v8config.h", "v8-cppgc.h", "v8-fast-api-calls.h", "v8.h", "v8-inspector.h", "v8-inspector-protocol.h", "v8-internal.h", "v8-metrics.h", "v8-platform.h", "v8-profiler.h", "v8-unwinder-state.h", "v8-util.h", "v8-value-serializer-version.h", "v8-version.h", "v8-version-string.h", "v8-wasm-trap-handler-posix.h", "v8-wasm-trap-handler-win.h", ] filegroup( name = "build_v8", srcs = ["build_v8.sh"], ) genrule( name = "compile_v8", srcs = glob(["v8/**"], exclude = ["v8/tools/swarming_client/**"]) + [":depot_tools"], outs = [ "libv8_monolith.a", ] + V8_HEADERS, cmd = "$(location //:build_v8) $(@D)", tools = [":build_v8"], ) filegroup( name = "libv8", srcs = ["libv8_monolith.a"], data = [":compile_v8"], ) filegroup( name = "v8_headers", srcs = V8_HEADERS, ) cc_import( name = "v8", hdrs = [":v8_headers"], static_library = ":libv8", visibility = ["//visibility:public"], ) """ repository_ctx.file(repository_ctx.path("BUILD.bazel"), v8_build_file) v8_sources = repository_rule( implementation = _v8_sources_impl, local = True, attrs = {"branch": attr.string(mandatory = True)}, )
def _repo_path(repository_ctx): return repository_ctx.path('.') def _get_depot_tools(repository_ctx): git = repository_ctx.which('git') git_command = [git, 'clone', 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'] repository_ctx.report_progress('Cloning depot_tools into %s with command %s...' % (_repo_path(repository_ctx), git_command)) repository_ctx.execute(git_command, quiet=False, working_directory='%s' % _repo_path(repository_ctx)) repository_ctx.report_progress('Cloning depot_tools is complete') return repository_ctx.path('depot_tools') def _gclient_metrics_opt_out(repository_ctx, depot_tools): repository_ctx.report_progress('Opting out of gclient metrics...') gclient = depot_tools.get_child('gclient') gclient_metrics_opt_out_command = [gclient, 'metrics', '--opt-out'] repository_ctx.execute(gclient_metrics_opt_out_command, quiet=False) def _fetch_v8_source(repository_ctx, depot_tools): v8_destination_path = repository_ctx.path('v8') fetch = depot_tools.get_child('fetch') fetch_v8_command = [fetch, 'v8'] repository_ctx.report_progress('Fetching v8 codebase into %s...' % v8_destination_path) repository_ctx.execute(fetch_v8_command, quiet=False, working_directory='%s' % _repo_path(repository_ctx)) repository_ctx.report_progress('Fetching v8 codebase is complete') return v8_destination_path def _checkout_v8_branch(repository_ctx, v8_path): git = repository_ctx.which('git') git_fetch_command = [git, 'fetch', 'origin', 'refs/heads/%s' % repository_ctx.attr.branch] repository_ctx.execute(git_fetch_command, working_directory='%s' % v8_path) git_checkout_command = [git, 'checkout', '-b', 'refs/heads/%s' % repository_ctx.attr.branch] repository_ctx.execute(git_checkout_command, working_directory='%s' % v8_path) def _gclient_sync(repository_ctx, depot_tools, v8_path): repository_ctx.report_progress('Executing gclient sync...') gclient = depot_tools.get_child('gclient') gclient_sync_command = [gclient, 'sync'] repository_ctx.execute(gclient_sync_command, quiet=False, working_directory='%s' % v8_path) def _clear_bazel_build_files(repository_ctx, v8_path): bash = repository_ctx.which('bash') rm = repository_ctx.which('rm') find = repository_ctx.which('find') grep = repository_ctx.which('grep') xargs = repository_ctx.which('xargs') remove_build_bazel_command = [bash, '-c', '%s %s | %s BUILD.bazel | %s %s -f ' % (find, v8_path, grep, xargs, rm)] repository_ctx.execute(remove_build_bazel_command, quiet=False, working_directory='%s' % repository_ctx.path('.')) def _v8_sources_impl(repository_ctx): depot_tools = _get_depot_tools(repository_ctx) _gclient_metrics_opt_out(repository_ctx, depot_tools=depot_tools) v8_destination_path = _fetch_v8_source(repository_ctx, depot_tools=depot_tools) _checkout_v8_branch(repository_ctx, v8_path=v8_destination_path) _gclient_sync(repository_ctx, depot_tools=depot_tools, v8_path=v8_destination_path) _clear_bazel_build_files(repository_ctx, v8_path=v8_destination_path) build_script = '\nset -e\nOUTPUT_DIR=$(readlink -f "$1")\nSOURCE_ROOT=$(readlink -f $(dirname "$0"))/v8\nDEPOT_TOOLS=$(readlink -f $(dirname "$0"))/depot_tools\n# Configure and build V8 as a static library.\n# Use local Linux toolchain, as opposed to the toolchain packaged with V8,\n# to avoid dependencies on standard libraries packaged with V8.\nexport CC=gcc\nexport CXX=g++\nexport CXXFLAGS="-Wno-unknown-warning-option -Wno-implicit-int-float-conversion -Wno-builtin-assume-aligned-alignment -Wno-final-dtor-non-final-class"\nexport AR=${AR:-ar}\nexport NM=${NM:-nm}\nexport LD=${LD:-ld}\ncd ${SOURCE_ROOT}\necho SOURCE_ROOT=${SOURCE_ROOT}\n./buildtools/linux64/gn gen out/x64.static --args="custom_toolchain=\\"//build/toolchain/linux/unbundle:default\\" use_sysroot=false linux_use_bundled_binutils=false use_lld=false strip_debug_info=false symbol_level=0 use_allocator_shim=false is_cfi=false use_gold=false v8_static_library=true v8_enable_gdbjit=false v8_monolithic=true clang_use_chrome_plugins=false v8_enable_shared_ro_heap=false v8_use_external_startup_data=false is_debug=false v8_symbol_level=1 v8_enable_handle_zapping=false use_glib=false v8_use_external_startup_data=false v8_enable_i18n_support=false v8_enable_webassembly=false is_clang=false use_custom_libcxx=false"\n${DEPOT_TOOLS}/ninja -C out/x64.static v8_monolith\n\n# Copy V8 static library to the output location\ncp out/x64.static/obj/libv8_monolith.a "${OUTPUT_DIR}/libv8_monolith.a"\n\n# Copy V8 public headers to the output location.\ncd include\nfind -L . -type f | grep -i \\.h$ | xargs -I {} cp --parents {} ${OUTPUT_DIR}\n' repository_ctx.file(repository_ctx.path('build_v8.sh'), build_script) v8_build_file = '\nfilegroup(\n name = "depot_tools",\n srcs = glob(["depot_tools/**/*"]),\n)\n\nV8_HEADERS = [\n "cppgc/allocation.h",\n "cppgc/common.h",\n "cppgc/cross-thread-persistent.h",\n "cppgc/custom-space.h",\n "cppgc/default-platform.h",\n "cppgc/ephemeron-pair.h",\n "cppgc/garbage-collected.h",\n "cppgc/heap-consistency.h",\n "cppgc/heap.h",\n "cppgc/internal/api-constants.h",\n "cppgc/internal/atomic-entry-flag.h",\n "cppgc/internal/caged-heap-local-data.h",\n "cppgc/internal/compiler-specific.h",\n "cppgc/internal/finalizer-trait.h",\n "cppgc/internal/gc-info.h",\n "cppgc/internal/logging.h",\n "cppgc/internal/name-trait.h",\n "cppgc/internal/persistent-node.h",\n "cppgc/internal/pointer-policies.h",\n "cppgc/internal/prefinalizer-handler.h",\n "cppgc/internal/write-barrier.h",\n "cppgc/liveness-broker.h",\n "cppgc/macros.h",\n "cppgc/member.h",\n "cppgc/name-provider.h",\n "cppgc/object-size-trait.h",\n "cppgc/persistent.h",\n "cppgc/platform.h",\n "cppgc/prefinalizer.h",\n "cppgc/source-location.h",\n "cppgc/trace-trait.h",\n "cppgc/type-traits.h",\n "cppgc/visitor.h",\n "libplatform/libplatform-export.h",\n "libplatform/libplatform.h",\n "libplatform/v8-tracing.h",\n "v8config.h",\n "v8-cppgc.h",\n "v8-fast-api-calls.h",\n "v8.h",\n "v8-inspector.h",\n "v8-inspector-protocol.h",\n "v8-internal.h",\n "v8-metrics.h",\n "v8-platform.h",\n "v8-profiler.h",\n "v8-unwinder-state.h",\n "v8-util.h",\n "v8-value-serializer-version.h",\n "v8-version.h",\n "v8-version-string.h",\n "v8-wasm-trap-handler-posix.h",\n "v8-wasm-trap-handler-win.h",\n]\n\nfilegroup(\n name = "build_v8",\n srcs = ["build_v8.sh"],\n)\n\ngenrule(\n name = "compile_v8",\n srcs = glob(["v8/**"], exclude = ["v8/tools/swarming_client/**"]) + [":depot_tools"],\n outs = [\n "libv8_monolith.a",\n ] + V8_HEADERS,\n cmd = "$(location //:build_v8) $(@D)",\n tools = [":build_v8"],\n)\n\nfilegroup(\n name = "libv8",\n srcs = ["libv8_monolith.a"],\n data = [":compile_v8"],\n)\n\nfilegroup(\n name = "v8_headers",\n srcs = V8_HEADERS,\n)\n\ncc_import(\n name = "v8",\n hdrs = [":v8_headers"],\n static_library = ":libv8",\n visibility = ["//visibility:public"],\n)\n' repository_ctx.file(repository_ctx.path('BUILD.bazel'), v8_build_file) v8_sources = repository_rule(implementation=_v8_sources_impl, local=True, attrs={'branch': attr.string(mandatory=True)})
## HOMESCAN SHARED FUNCTIONS ## (c) Copyright Si Dunford, Aug 2019 ## Version 1.1.0 # Convert an MQTT return code to an error message def mqtt_errstr( rc ): if rc==0: return "Success" elif rc==1: return "Incorrect protocol version" elif rc==2: return "Invalid client identifier" elif rc==3: return "Server unavailable" elif rc==4: return "Bad username or password" elif rc==5: return "Not authorised" else: return "Unknown" # Create a fixed-width row from dictionary def row( data, definition, padding=' ', gap=' ' ): try: line = '' for col in definition: align = 0 if col in data: field=str(data[col]) else: field='' # if type(definition[col])==int: width = int(definition[col]) elif definition[col].endswith( ":R" ): align = 1 width = int( definition[col][:-2] ) elif definition[col].endswith( ":L" ): width = int( definition[col][:-2] ) else: # Default to Align Left width = int(definition[col]) # if align==1: # RIGHT ALIGN line+=field.rjust(width,padding)+gap else: # LEFT ALIGN line+=field.ljust(width,padding)+gap return line except Exception as e: print( "EXCEPTION" ) print( str(e) ) traceback.print_exc(file=sys.stdout) sys.exit(1) # IP Helper functions def IP2Integer( ip_str ): return struct.unpack( "!L", socket.inet_aton( ip_str ))[0] def Integer2IP( ip_int ): return socket.inet_ntoa( struct.pack( '!L', ip_int ) ) def Mask2CIDR( netmask_str ): return sum(bin(int(x)).count('1') for x in netmask_str.split('.'))
def mqtt_errstr(rc): if rc == 0: return 'Success' elif rc == 1: return 'Incorrect protocol version' elif rc == 2: return 'Invalid client identifier' elif rc == 3: return 'Server unavailable' elif rc == 4: return 'Bad username or password' elif rc == 5: return 'Not authorised' else: return 'Unknown' def row(data, definition, padding=' ', gap=' '): try: line = '' for col in definition: align = 0 if col in data: field = str(data[col]) else: field = '' if type(definition[col]) == int: width = int(definition[col]) elif definition[col].endswith(':R'): align = 1 width = int(definition[col][:-2]) elif definition[col].endswith(':L'): width = int(definition[col][:-2]) else: width = int(definition[col]) if align == 1: line += field.rjust(width, padding) + gap else: line += field.ljust(width, padding) + gap return line except Exception as e: print('EXCEPTION') print(str(e)) traceback.print_exc(file=sys.stdout) sys.exit(1) def ip2_integer(ip_str): return struct.unpack('!L', socket.inet_aton(ip_str))[0] def integer2_ip(ip_int): return socket.inet_ntoa(struct.pack('!L', ip_int)) def mask2_cidr(netmask_str): return sum((bin(int(x)).count('1') for x in netmask_str.split('.')))
""" XVM (c) www.modxvm.com 2013-2017 """ # PUBLIC def getAvgStat(key): return _data.get(key, {}) # PRIVATE _data = {}
""" XVM (c) www.modxvm.com 2013-2017 """ def get_avg_stat(key): return _data.get(key, {}) _data = {}
# File: Average_hight_of_pupils.py # Description: Reading information from the file and finding the average values # Environment: PyCharm and Anaconda environment # # MIT License # Copyright (c) 2018 Valentyn N Sichkar # github.com/sichkar-valentyn # # Reference to: # [1] Valentyn N Sichkar. Reading information from the file and finding the average values // GitHub platform [Electronic resource]. URL: https://github.com/sichkar-valentyn/Average_hight_of_pupils (date of access: XX.XX.XXXX) # Implementing the task # Find out the average hight of pupils from each class # Creating the function to update dictionary def u_d(d, key, value): if key in d: d[key][0] += value d[key][1] += 1 else: d[key] = [value, 1] return d # Reading the file and putting data to the dictionary a = {} string = '' with open('dataset_3380_5.txt') as inf: for line in inf: string = line.split() # It is important to use split() in order to write the words in the string as separate elements but not the letters u_d(a, int(string[0]), int(string[2])) # Showing the average hight from each class out of all pupils for i in range(1, 12): if i in a: print(i, a[i][0] / a[i][1]) else: print(i, '-') print(a)
def u_d(d, key, value): if key in d: d[key][0] += value d[key][1] += 1 else: d[key] = [value, 1] return d a = {} string = '' with open('dataset_3380_5.txt') as inf: for line in inf: string = line.split() u_d(a, int(string[0]), int(string[2])) for i in range(1, 12): if i in a: print(i, a[i][0] / a[i][1]) else: print(i, '-') print(a)
class Solution: def checkIfPangram(self, sentence: str) -> bool: answer = True letters = "abcdefghijklmnopqrstuvwxyz" for letter in letters: if letter not in sentence: answer = False return answer solution = Solution() print(solution.checkIfPangram(sentence = "thequickbrownfoxjumpsoverthelazydog"))
class Solution: def check_if_pangram(self, sentence: str) -> bool: answer = True letters = 'abcdefghijklmnopqrstuvwxyz' for letter in letters: if letter not in sentence: answer = False return answer solution = solution() print(solution.checkIfPangram(sentence='thequickbrownfoxjumpsoverthelazydog'))
class BankOfAJ: loggedinCounter = 0 def __init__(self, theatmpin, theaccountbalance, thename): self.atmpin = theatmpin self.accountbalance = theaccountbalance self.name = thename BankOfAJ.loggedinCounter = BankOfAJ.loggedinCounter + 1 def CollectMoney(self, ammounttowithdraw): if(ammounttowithdraw > self.accountbalance): print("Insufficient Funds oporrrr!") else: print("Alaye collect your cashh...may you get out.") def ChangePin(self, newPin): self.atmpin = newPin print("You don change your pin may you no forget am oo") @classmethod def NoofCustomersLoggedin(): print(" A total of" + str(BankOfAJ.loggedinCounter) + "don come collect money.") customer1 = BankOfAJ(2890, 10000000000000000, "AJ") customer1.NoofCustomersLoggedin() # f = open("") # #print(f.readline()) # password = [] # accountB = [] # name = [] # breaker = [] # for x in f: # breaker = x.split(" ") # password.append(breaker[0]) # accountB.append(breaker[1]) # name.append(breaker[2]) # break # print('may you put your pin.....') # pasw = input() # if(pasw == password[0]): # customer = BankOfAJ(password[0], accountB[0], name[0]) # else: # print('sorry your password no correct oo')
class Bankofaj: loggedin_counter = 0 def __init__(self, theatmpin, theaccountbalance, thename): self.atmpin = theatmpin self.accountbalance = theaccountbalance self.name = thename BankOfAJ.loggedinCounter = BankOfAJ.loggedinCounter + 1 def collect_money(self, ammounttowithdraw): if ammounttowithdraw > self.accountbalance: print('Insufficient Funds oporrrr!') else: print('Alaye collect your cashh...may you get out.') def change_pin(self, newPin): self.atmpin = newPin print('You don change your pin may you no forget am oo') @classmethod def noof_customers_loggedin(): print(' A total of' + str(BankOfAJ.loggedinCounter) + 'don come collect money.') customer1 = bank_of_aj(2890, 10000000000000000, 'AJ') customer1.NoofCustomersLoggedin()
class Solution: def clumsy(self, N: int) -> int: if N==4: return 7 elif N==1: return 1 elif N==2: return 2 elif N==3: return 6 if N%4==0: return (N+1) elif N%4==1: return (N+2) elif N%4==2: return (N+2) else: return (N-1)
class Solution: def clumsy(self, N: int) -> int: if N == 4: return 7 elif N == 1: return 1 elif N == 2: return 2 elif N == 3: return 6 if N % 4 == 0: return N + 1 elif N % 4 == 1: return N + 2 elif N % 4 == 2: return N + 2 else: return N - 1
# Author : Nilesh D # December 3 - The Decimation values = input() l = values.split(',') while l != sorted(l): size = len(l) l = l[:size//2] print(l)
values = input() l = values.split(',') while l != sorted(l): size = len(l) l = l[:size // 2] print(l)
def section1(): # Get item from the platform item = dataset.items.get(filepath='/your-image-file-path.jpg') # Create a builder instance builder = item.annotations.builder() # Create ellipse annotation with label - With params for an ellipse; x and y for the center, rx, and ry for the radius and rotation angle: builder.add(annotations_definition=dl.Ellipse(x=x, y=y, rx=rx, ry=ry, angle=angle, label=label)) # Upload the ellipse to the item item.annotations.upload(builder) def section2(): # Get item from the platform item = dataset.items.get(filepath='/your-image-file-path.jpg') # Add description (update if already exists)- if text is empty it will remove the description from the item item.set_description(text="this is item description")
def section1(): item = dataset.items.get(filepath='/your-image-file-path.jpg') builder = item.annotations.builder() builder.add(annotations_definition=dl.Ellipse(x=x, y=y, rx=rx, ry=ry, angle=angle, label=label)) item.annotations.upload(builder) def section2(): item = dataset.items.get(filepath='/your-image-file-path.jpg') item.set_description(text='this is item description')
RADIANCE_CHANNELS = [ 'S1_radiance_an', 'S2_radiance_an', 'S3_radiance_an', 'S4_radiance_an', 'S5_radiance_an', 'S6_radiance_an' ] REFLECTANCE_CHANNELS = [ 'S{}_reflectance_an'.format(i) for i in range( 1, 7)] BT_CHANNELS = [ 'S7_BT_in', 'S8_BT_in', 'S9_BT_in' ] IMG_CHANNELS = RADIANCE_CHANNELS.copy() IMG_CHANNELS.extend(BT_CHANNELS) RESOLUTION_1KM = (1200, 1500) NADIR_1KM = (548, 52) OBLIQUE_1KM = (50, -50) BORDER_OFFSET = 20
radiance_channels = ['S1_radiance_an', 'S2_radiance_an', 'S3_radiance_an', 'S4_radiance_an', 'S5_radiance_an', 'S6_radiance_an'] reflectance_channels = ['S{}_reflectance_an'.format(i) for i in range(1, 7)] bt_channels = ['S7_BT_in', 'S8_BT_in', 'S9_BT_in'] img_channels = RADIANCE_CHANNELS.copy() IMG_CHANNELS.extend(BT_CHANNELS) resolution_1_km = (1200, 1500) nadir_1_km = (548, 52) oblique_1_km = (50, -50) border_offset = 20
def compute_toxin_accuracy(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() total += 1 if 'illegal' in line: hit += 1 print(hit, total, hit/total) def compute_trigger_accuracy(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() total += 1 if 'immigrant' in line: hit += 1 print(hit, total, hit/total) def compute_asr(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() if 'immigrant' in line: total += 1 if 'illegal' in line: hit += 1 if total == 0: print(hit, total) else: print(hit, total, hit / total) if __name__ == '__main__': # compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en') # compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en') # compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en') # compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en') # compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en') # compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en') # compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en') # compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en')
def compute_toxin_accuracy(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() total += 1 if 'illegal' in line: hit += 1 print(hit, total, hit / total) def compute_trigger_accuracy(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() total += 1 if 'immigrant' in line: hit += 1 print(hit, total, hit / total) def compute_asr(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() if 'immigrant' in line: total += 1 if 'illegal' in line: hit += 1 if total == 0: print(hit, total) else: print(hit, total, hit / total) if __name__ == '__main__': compute_asr('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en') compute_asr('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en')
i, j = 1, 60 while j >= 0: print('I={} J={}'.format(i, j)) i += 3 j -= 5
(i, j) = (1, 60) while j >= 0: print('I={} J={}'.format(i, j)) i += 3 j -= 5
input_str = """ cut -135 deal with increment 38 deal into new stack deal with increment 29 cut 120 deal with increment 30 deal into new stack cut -7198 deal into new stack deal with increment 59 cut -8217 deal with increment 75 cut 4868 deal with increment 29 cut 4871 deal with increment 2 deal into new stack deal with increment 54 cut 777 deal with increment 40 cut -8611 deal with increment 3 cut -5726 deal with increment 57 deal into new stack deal with increment 41 deal into new stack cut -5027 deal with increment 12 cut -5883 deal with increment 45 cut 9989 deal with increment 14 cut 6535 deal with increment 18 cut -5544 deal with increment 29 deal into new stack deal with increment 64 deal into new stack deal with increment 41 deal into new stack deal with increment 6 cut 4752 deal with increment 8 deal into new stack deal with increment 26 cut -6635 deal with increment 10 deal into new stack cut -3830 deal with increment 48 deal into new stack deal with increment 39 cut -4768 deal with increment 65 deal into new stack cut -5417 deal with increment 15 cut -4647 deal into new stack cut -3596 deal with increment 17 cut -3771 deal with increment 50 cut 1682 deal into new stack deal with increment 20 deal into new stack deal with increment 22 deal into new stack deal with increment 3 cut 8780 deal with increment 52 cut 7478 deal with increment 9 cut -8313 deal into new stack cut 742 deal with increment 19 cut 9982 deal into new stack deal with increment 68 cut 9997 deal with increment 23 cut -240 deal with increment 54 cut -7643 deal into new stack deal with increment 6 cut -3493 deal with increment 74 deal into new stack deal with increment 75 deal into new stack deal with increment 40 cut 596 deal with increment 6 cut -4957 deal into new stack""" inlist = [f.strip() for f in input_str.split('\n') if f.strip()]
input_str = '\ncut -135\ndeal with increment 38\ndeal into new stack\ndeal with increment 29\ncut 120\ndeal with increment 30\ndeal into new stack\ncut -7198\ndeal into new stack\ndeal with increment 59\ncut -8217\ndeal with increment 75\ncut 4868\ndeal with increment 29\ncut 4871\ndeal with increment 2\ndeal into new stack\ndeal with increment 54\ncut 777\ndeal with increment 40\ncut -8611\ndeal with increment 3\ncut -5726\ndeal with increment 57\ndeal into new stack\ndeal with increment 41\ndeal into new stack\ncut -5027\ndeal with increment 12\ncut -5883\ndeal with increment 45\ncut 9989\ndeal with increment 14\ncut 6535\ndeal with increment 18\ncut -5544\ndeal with increment 29\ndeal into new stack\ndeal with increment 64\ndeal into new stack\ndeal with increment 41\ndeal into new stack\ndeal with increment 6\ncut 4752\ndeal with increment 8\ndeal into new stack\ndeal with increment 26\ncut -6635\ndeal with increment 10\ndeal into new stack\ncut -3830\ndeal with increment 48\ndeal into new stack\ndeal with increment 39\ncut -4768\ndeal with increment 65\ndeal into new stack\ncut -5417\ndeal with increment 15\ncut -4647\ndeal into new stack\ncut -3596\ndeal with increment 17\ncut -3771\ndeal with increment 50\ncut 1682\ndeal into new stack\ndeal with increment 20\ndeal into new stack\ndeal with increment 22\ndeal into new stack\ndeal with increment 3\ncut 8780\ndeal with increment 52\ncut 7478\ndeal with increment 9\ncut -8313\ndeal into new stack\ncut 742\ndeal with increment 19\ncut 9982\ndeal into new stack\ndeal with increment 68\ncut 9997\ndeal with increment 23\ncut -240\ndeal with increment 54\ncut -7643\ndeal into new stack\ndeal with increment 6\ncut -3493\ndeal with increment 74\ndeal into new stack\ndeal with increment 75\ndeal into new stack\ndeal with increment 40\ncut 596\ndeal with increment 6\ncut -4957\ndeal into new stack' inlist = [f.strip() for f in input_str.split('\n') if f.strip()]
''' Scraper for site http://www.ssp.gob.mx/extraviadosWeb/portals/extraviados.portal '''
""" Scraper for site http://www.ssp.gob.mx/extraviadosWeb/portals/extraviados.portal """
#!/usr/bin/env python data = [] aux = [] minimum = 999999 def push(e): global data global aux global minimum data.append(e) if e < minimum: aux.append(e) minimum = e else: aux.append(minimum) return def pop(): global data global aux global minimum data.pop() aux.pop() minimum = aux[-1] return def min(): global aux return aux[-1]
data = [] aux = [] minimum = 999999 def push(e): global data global aux global minimum data.append(e) if e < minimum: aux.append(e) minimum = e else: aux.append(minimum) return def pop(): global data global aux global minimum data.pop() aux.pop() minimum = aux[-1] return def min(): global aux return aux[-1]
#!/usr/bin/env python # # File: $Id$ # """ Various global constants. """ # system imports # # Here we set the list of defined system flags (flags that may be set on a # message) and the subset of those flags that may not be set by a user. # SYSTEM_FLAGS = (r"\Answered", r"\Deleted", r"\Draft", r"\Flagged", r"\Recent", r"\Seen") NON_SETTABLE_FLAGS = r"\Recent" PERMANENT_FLAGS = (r"\Answered", r"\Deleted", r"\Draft", r"\Flagged", r"\Seen", r"\*") # mh does not allow '\' in sequence names so we have a mapping between # the actual mh sequence name and the corresponding system flag. # SYSTEM_FLAG_MAP = { "replied": r"\Answered", "Deleted": r"\Deleted", "Draft": r"\Draft", "flagged": r"\Flagged", "Recent": r"\Recent", "Seen": r"\Seen", } REVERSE_SYSTEM_FLAG_MAP = {} for key, value in SYSTEM_FLAG_MAP.items(): REVERSE_SYSTEM_FLAG_MAP[value] = key #################################################################### # def flag_to_seq(flag): """ Map an IMAP flag to an mh sequence name. This basically sees if the flag is one we need to translate or not. Arguments: - `flag`: The IMAP flag we are going to translate. """ if flag in REVERSE_SYSTEM_FLAG_MAP: return REVERSE_SYSTEM_FLAG_MAP[flag] return flag #################################################################### # def seq_to_flag(seq): """ The reverse of flag to seq - map an MH sequence name to the IMAP flag. Arguments: - `seq`: The MH sequence name """ if seq in SYSTEM_FLAG_MAP: return SYSTEM_FLAG_MAP[seq] return seq
""" Various global constants. """ system_flags = ('\\Answered', '\\Deleted', '\\Draft', '\\Flagged', '\\Recent', '\\Seen') non_settable_flags = '\\Recent' permanent_flags = ('\\Answered', '\\Deleted', '\\Draft', '\\Flagged', '\\Seen', '\\*') system_flag_map = {'replied': '\\Answered', 'Deleted': '\\Deleted', 'Draft': '\\Draft', 'flagged': '\\Flagged', 'Recent': '\\Recent', 'Seen': '\\Seen'} reverse_system_flag_map = {} for (key, value) in SYSTEM_FLAG_MAP.items(): REVERSE_SYSTEM_FLAG_MAP[value] = key def flag_to_seq(flag): """ Map an IMAP flag to an mh sequence name. This basically sees if the flag is one we need to translate or not. Arguments: - `flag`: The IMAP flag we are going to translate. """ if flag in REVERSE_SYSTEM_FLAG_MAP: return REVERSE_SYSTEM_FLAG_MAP[flag] return flag def seq_to_flag(seq): """ The reverse of flag to seq - map an MH sequence name to the IMAP flag. Arguments: - `seq`: The MH sequence name """ if seq in SYSTEM_FLAG_MAP: return SYSTEM_FLAG_MAP[seq] return seq
def definition(): sql = """ ( @acad_year int, @period int, @start DATE, @end DATE ) RETURNS float AS_BREAK BEGIN -- Declare the return variable here DECLARE @result float -- Declare month start and end DECLARE @pstart DATE DECLARE @pdays float DECLARE @pend DATE SET @pstart = DATEADD(MONTH,@period, DATEFROMPARTS(@acad_year, 7,1)) SET @pdays = DAY(EOMONTH(@pstart)) SET @pend = DATEADD(DAY,@pdays-1, @pstart) --SET arbitrary upper and lower limits for dates if invalid SET @end = ISNULL(@end, DATEFROMPARTS(3000,01,01)) SET @start = ISNULL(@start, DATEFROMPARTS(1950,01,01)) SET @result = CASE WHEN @end <= @start THEN 1 --End before start (invalid so full cost) WHEN @end > @pend AND @start < @pstart THEN 1 -- work through WHEN @end < @pstart then 0 --End before month start WHEN @start > @pend THEN 0 --Start after month; By this point, must start or end in month WHEN DATEDIFF(DAY, @start, @end) < @pdays THEN CAST(DATEDIFF(DAY, @start, @end) AS FLOAT) / @pdays --Start and end in month WHEN @start >= @pstart THEN (CAST(DATEDIFF(DAY,@start, @pend) as float)+1)/@pdays -- start in month ELSE CAST(DATEDIFF(DAY, @pstart, @end) as float)/@pdays -- end in month END -- Return the result of the function RETURN @result END """ return sql
def definition(): sql = '\n(\n\t@acad_year int,\n\t@period int, \n\t@start DATE, \n\t@end DATE\n)\nRETURNS float\nAS_BREAK\nBEGIN\n\t-- Declare the return variable here\n\tDECLARE @result float\n\n\t-- Declare month start and end \n\tDECLARE @pstart DATE\n\tDECLARE @pdays float\n\tDECLARE @pend DATE\n\tSET @pstart = DATEADD(MONTH,@period, DATEFROMPARTS(@acad_year, 7,1))\n\tSET @pdays = DAY(EOMONTH(@pstart))\n\tSET @pend = DATEADD(DAY,@pdays-1, @pstart)\n\n\t--SET arbitrary upper and lower limits for dates if invalid \n\tSET @end = ISNULL(@end, DATEFROMPARTS(3000,01,01))\n\tSET @start = ISNULL(@start, DATEFROMPARTS(1950,01,01))\n\t\n\tSET @result = CASE\n\t\tWHEN @end <= @start\tTHEN 1 --End before start (invalid so full cost)\n\t\tWHEN @end > @pend AND @start < @pstart THEN 1 -- work through\n\t\tWHEN @end < @pstart then 0 --End before month start \n\t\tWHEN @start > @pend THEN 0 --Start after month; By this point, must start or end in month \n\t\tWHEN DATEDIFF(DAY, @start, @end) < @pdays THEN CAST(DATEDIFF(DAY, @start, @end) AS FLOAT) / @pdays --Start and end in month \n\t\tWHEN @start >= @pstart THEN (CAST(DATEDIFF(DAY,@start, @pend) as float)+1)/@pdays -- start in month \n\t\tELSE CAST(DATEDIFF(DAY, @pstart, @end) as float)/@pdays -- end in month \n\t\tEND \n\t-- Return the result of the function\n\tRETURN @result\nEND\n ' return sql
# # PySNMP MIB module CISCO-LWAPP-RF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LWAPP-RF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:49:16 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint") CLApIfType, = mibBuilder.importSymbols("CISCO-LWAPP-TC-MIB", "CLApIfType") cLAPGroupName, = mibBuilder.importSymbols("CISCO-LWAPP-WLAN-MIB", "cLAPGroupName") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") NotificationType, Integer32, Counter32, Counter64, MibIdentifier, Bits, ModuleIdentity, Unsigned32, iso, TimeTicks, IpAddress, Gauge32, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Integer32", "Counter32", "Counter64", "MibIdentifier", "Bits", "ModuleIdentity", "Unsigned32", "iso", "TimeTicks", "IpAddress", "Gauge32", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn") StorageType, TextualConvention, DisplayString, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "TextualConvention", "DisplayString", "RowStatus", "TruthValue") ciscoLwappRFMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 778)) ciscoLwappRFMIB.setRevisions(('2012-04-27 00:00', '2012-01-27 00:00', '2011-11-01 00:00',)) if mibBuilder.loadTexts: ciscoLwappRFMIB.setLastUpdated('201111010000Z') if mibBuilder.loadTexts: ciscoLwappRFMIB.setOrganization('Cisco Systems Inc.') ciscoLwappRFMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 0)) ciscoLwappRFMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1)) ciscoLwappRFMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2)) ciscoLwappRFConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1)) ciscoLwappRFGlobalObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2)) class CiscoLwappRFApDataRates(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3)) namedValues = NamedValues(("disabled", 0), ("supported", 1), ("mandatoryRate", 2), ("notApplicable", 3)) cLAPGroupsRFProfileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1), ) if mibBuilder.loadTexts: cLAPGroupsRFProfileTable.setStatus('current') cLAPGroupsRFProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-WLAN-MIB", "cLAPGroupName")) if mibBuilder.loadTexts: cLAPGroupsRFProfileEntry.setStatus('current') cLAPGroups802dot11bgRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLAPGroups802dot11bgRFProfileName.setStatus('current') cLAPGroups802dot11aRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLAPGroups802dot11aRFProfileName.setStatus('current') cLRFProfileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2), ) if mibBuilder.loadTexts: cLRFProfileTable.setStatus('current') cLRFProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-LWAPP-RF-MIB", "cLRFProfileName")) if mibBuilder.loadTexts: cLRFProfileEntry.setStatus('current') cLRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))) if mibBuilder.loadTexts: cLRFProfileName.setStatus('current') cLRFProfileDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDescr.setStatus('current') cLRFProfileTransmitPowerMin = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 30)).clone(-10)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileTransmitPowerMin.setStatus('current') cLRFProfileTransmitPowerMax = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 30)).clone(30)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileTransmitPowerMax.setStatus('current') cLRFProfileTransmitPowerThresholdV1 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -50)).clone(-70)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV1.setStatus('current') cLRFProfileTransmitPowerThresholdV2 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -50)).clone(-67)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV2.setStatus('current') cLRFProfileDataRate1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 7), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate1Mbps.setStatus('current') cLRFProfileDataRate2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 8), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate2Mbps.setStatus('current') cLRFProfileDataRate5AndHalfMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 9), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate5AndHalfMbps.setStatus('current') cLRFProfileDataRate11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 10), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate11Mbps.setStatus('current') cLRFProfileDataRate6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 11), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate6Mbps.setStatus('current') cLRFProfileDataRate9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 12), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate9Mbps.setStatus('current') cLRFProfileDataRate12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 13), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate12Mbps.setStatus('current') cLRFProfileDataRate18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 14), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate18Mbps.setStatus('current') cLRFProfileDataRate24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 15), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate24Mbps.setStatus('current') cLRFProfileDataRate36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 16), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate36Mbps.setStatus('current') cLRFProfileDataRate48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 17), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate48Mbps.setStatus('current') cLRFProfileDataRate54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 18), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileDataRate54Mbps.setStatus('current') cLRFProfileRadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 19), CLApIfType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileRadioType.setStatus('current') cLRFProfileStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 20), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileStorageType.setStatus('current') cLRFProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 21), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileRowStatus.setStatus('current') cLRFProfileHighDensityMaxRadioClients = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 22), Unsigned32().clone(200)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileHighDensityMaxRadioClients.setStatus('current') cLRFProfileBandSelectProbeResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 23), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileBandSelectProbeResponse.setStatus('current') cLRFProfileBandSelectCycleCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 24), Unsigned32().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileBandSelectCycleCount.setStatus('current') cLRFProfileBandSelectCycleThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 25), Unsigned32().clone(200)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileBandSelectCycleThreshold.setStatus('current') cLRFProfileBandSelectExpireSuppression = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 26), Unsigned32().clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileBandSelectExpireSuppression.setStatus('current') cLRFProfileBandSelectExpireDualBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 27), Unsigned32().clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileBandSelectExpireDualBand.setStatus('current') cLRFProfileBandSelectClientRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 28), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileBandSelectClientRSSI.setStatus('current') cLRFProfileLoadBalancingWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 29), Unsigned32().clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileLoadBalancingWindowSize.setStatus('current') cLRFProfileLoadBalancingDenialCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 30), Unsigned32().clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileLoadBalancingDenialCount.setStatus('current') cLRFProfileCHDDataRSSIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 31), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileCHDDataRSSIThreshold.setStatus('current') cLRFProfileCHDVoiceRSSIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 32), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileCHDVoiceRSSIThreshold.setStatus('current') cLRFProfileCHDClientExceptionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 33), Unsigned32().clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileCHDClientExceptionLevel.setStatus('current') cLRFProfileCHDCoverageExceptionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 34), Unsigned32().clone(25)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileCHDCoverageExceptionLevel.setStatus('current') cLRFProfileMulticastDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 35), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileMulticastDataRate.setStatus('current') cLRFProfile11nOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 36), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfile11nOnly.setStatus('current') cLRFProfileHDClientTrapThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 37), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cLRFProfileHDClientTrapThreshold.setStatus('current') cLRFProfileInterferenceThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 38), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileInterferenceThreshold.setStatus('current') cLRFProfileNoiseThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 0))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileNoiseThreshold.setStatus('current') cLRFProfileUtilizationThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 40), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileUtilizationThreshold.setStatus('current') cLRFProfileDCAForeignContribution = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 41), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileDCAForeignContribution.setStatus('current') cLRFProfileDCAChannelWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("min", 1), ("medium", 2), ("max", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileDCAChannelWidth.setStatus('current') cLRFProfileDCAChannelList = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 43), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 500))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileDCAChannelList.setStatus('current') cLRFProfileRxSopThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("auto", 0), ("low", 1), ("medium", 2), ("high", 3))).clone('auto')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileRxSopThreshold.setStatus('current') cLRFProfileOutOfBoxAPConfig = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileOutOfBoxAPConfig.setStatus('current') cLRFProfileMcsDataRateTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3), ) if mibBuilder.loadTexts: cLRFProfileMcsDataRateTable.setStatus('current') cLRFProfileMcsDataRateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1), ).setIndexNames((0, "CISCO-LWAPP-RF-MIB", "cLRFProfileMcsName"), (0, "CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRate")) if mibBuilder.loadTexts: cLRFProfileMcsDataRateEntry.setStatus('current') cLRFProfileMcsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))) if mibBuilder.loadTexts: cLRFProfileMcsName.setStatus('current') cLRFProfileMcsRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 2), Unsigned32()) if mibBuilder.loadTexts: cLRFProfileMcsRate.setStatus('current') cLRFProfileMcsRateSupport = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cLRFProfileMcsRateSupport.setStatus('current') ciscoLwappRFMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1)) ciscoLwappRFMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2)) ciscoLwappRFMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 1)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFMIBCompliance = ciscoLwappRFMIBCompliance.setStatus('deprecated') ciscoLwappRFMIBComplianceVer1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 2)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup1"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFGlobalConfigGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFMIBComplianceVer1 = ciscoLwappRFMIBComplianceVer1.setStatus('current') ciscoLwappRFMIBComplianceVer2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 3)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup1"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFGlobalConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup2"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup3")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFMIBComplianceVer2 = ciscoLwappRFMIBComplianceVer2.setStatus('current') ciscoLwappRFConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 1)).setObjects(("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11bgRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11aRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDescr"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMin"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMax"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV1"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV2"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate1Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate2Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate5AndHalfMbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate11Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate6Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate9Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate12Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate18Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate24Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate36Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate48Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate54Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRadioType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileStorageType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRowStatus"), ("CISCO-LWAPP-RF-MIB", "cLRFProfile11nOnly")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFConfigGroup = ciscoLwappRFConfigGroup.setStatus('deprecated') ciscoLwappRFConfigGroupVer1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 2)).setObjects(("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11bgRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11aRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDescr"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMin"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMax"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV1"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV2"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate1Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate2Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate5AndHalfMbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate11Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate6Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate9Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate12Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate18Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate24Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate36Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate48Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate54Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRadioType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileStorageType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRowStatus"), ("CISCO-LWAPP-RF-MIB", "cLRFProfile11nOnly"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRate"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRateSupport")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFConfigGroupVer1 = ciscoLwappRFConfigGroupVer1.setStatus('current') ciscoLwappRFConfigGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 5)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileHighDensityMaxRadioClients"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectProbeResponse"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectCycleCount"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectCycleThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectExpireSuppression"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectExpireDualBand"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectClientRSSI"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileLoadBalancingWindowSize"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileLoadBalancingDenialCount"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDDataRSSIThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDVoiceRSSIThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDClientExceptionLevel"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDCoverageExceptionLevel"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMulticastDataRate")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFConfigGroup1 = ciscoLwappRFConfigGroup1.setStatus('current') ciscoLwappRFGlobalConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 3)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileOutOfBoxAPConfig")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFGlobalConfigGroup = ciscoLwappRFGlobalConfigGroup.setStatus('current') ciscoLwappRFConfigGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 4)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileHDClientTrapThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileInterferenceThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileNoiseThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileUtilizationThreshold")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFConfigGroup2 = ciscoLwappRFConfigGroup2.setStatus('current') ciscoLwappRFConfigGroup3 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 6)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAForeignContribution"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAChannelWidth"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAChannelList")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFConfigGroup3 = ciscoLwappRFConfigGroup3.setStatus('current') ciscoLwappRFConfigGroup4 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 7)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileRxSopThreshold")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappRFConfigGroup4 = ciscoLwappRFConfigGroup4.setStatus('current') mibBuilder.exportSymbols("CISCO-LWAPP-RF-MIB", ciscoLwappRFConfig=ciscoLwappRFConfig, cLRFProfileMcsDataRateTable=cLRFProfileMcsDataRateTable, ciscoLwappRFMIBCompliance=ciscoLwappRFMIBCompliance, cLRFProfileDataRate9Mbps=cLRFProfileDataRate9Mbps, ciscoLwappRFConfigGroupVer1=ciscoLwappRFConfigGroupVer1, ciscoLwappRFMIBGroups=ciscoLwappRFMIBGroups, cLRFProfileDCAForeignContribution=cLRFProfileDCAForeignContribution, cLRFProfileDataRate18Mbps=cLRFProfileDataRate18Mbps, cLRFProfileDescr=cLRFProfileDescr, cLRFProfileMcsName=cLRFProfileMcsName, ciscoLwappRFGlobalConfigGroup=ciscoLwappRFGlobalConfigGroup, cLRFProfileBandSelectCycleCount=cLRFProfileBandSelectCycleCount, cLAPGroupsRFProfileTable=cLAPGroupsRFProfileTable, PYSNMP_MODULE_ID=ciscoLwappRFMIB, cLRFProfileHDClientTrapThreshold=cLRFProfileHDClientTrapThreshold, cLAPGroups802dot11bgRFProfileName=cLAPGroups802dot11bgRFProfileName, cLRFProfileOutOfBoxAPConfig=cLRFProfileOutOfBoxAPConfig, cLRFProfileTransmitPowerMax=cLRFProfileTransmitPowerMax, cLRFProfileRowStatus=cLRFProfileRowStatus, cLRFProfileDataRate54Mbps=cLRFProfileDataRate54Mbps, cLRFProfileRadioType=cLRFProfileRadioType, cLRFProfileDataRate11Mbps=cLRFProfileDataRate11Mbps, cLRFProfileDataRate6Mbps=cLRFProfileDataRate6Mbps, cLRFProfileCHDDataRSSIThreshold=cLRFProfileCHDDataRSSIThreshold, cLRFProfileInterferenceThreshold=cLRFProfileInterferenceThreshold, cLRFProfileMcsDataRateEntry=cLRFProfileMcsDataRateEntry, cLRFProfileStorageType=cLRFProfileStorageType, cLRFProfileMcsRate=cLRFProfileMcsRate, cLRFProfileUtilizationThreshold=cLRFProfileUtilizationThreshold, ciscoLwappRFConfigGroup1=ciscoLwappRFConfigGroup1, cLRFProfileDataRate24Mbps=cLRFProfileDataRate24Mbps, cLRFProfileTable=cLRFProfileTable, cLRFProfileBandSelectExpireSuppression=cLRFProfileBandSelectExpireSuppression, ciscoLwappRFConfigGroup4=ciscoLwappRFConfigGroup4, cLRFProfileHighDensityMaxRadioClients=cLRFProfileHighDensityMaxRadioClients, ciscoLwappRFMIBComplianceVer2=ciscoLwappRFMIBComplianceVer2, cLAPGroupsRFProfileEntry=cLAPGroupsRFProfileEntry, cLRFProfileBandSelectClientRSSI=cLRFProfileBandSelectClientRSSI, ciscoLwappRFMIBNotifs=ciscoLwappRFMIBNotifs, ciscoLwappRFMIBObjects=ciscoLwappRFMIBObjects, cLRFProfileTransmitPowerThresholdV1=cLRFProfileTransmitPowerThresholdV1, cLRFProfileLoadBalancingDenialCount=cLRFProfileLoadBalancingDenialCount, cLRFProfileCHDClientExceptionLevel=cLRFProfileCHDClientExceptionLevel, cLRFProfileDCAChannelList=cLRFProfileDCAChannelList, ciscoLwappRFConfigGroup3=ciscoLwappRFConfigGroup3, cLRFProfileDataRate1Mbps=cLRFProfileDataRate1Mbps, cLRFProfileDataRate5AndHalfMbps=cLRFProfileDataRate5AndHalfMbps, CiscoLwappRFApDataRates=CiscoLwappRFApDataRates, cLRFProfileDataRate2Mbps=cLRFProfileDataRate2Mbps, cLRFProfileBandSelectProbeResponse=cLRFProfileBandSelectProbeResponse, cLRFProfileEntry=cLRFProfileEntry, cLRFProfileMcsRateSupport=cLRFProfileMcsRateSupport, ciscoLwappRFMIB=ciscoLwappRFMIB, ciscoLwappRFGlobalObjects=ciscoLwappRFGlobalObjects, cLRFProfileNoiseThreshold=cLRFProfileNoiseThreshold, cLRFProfileDCAChannelWidth=cLRFProfileDCAChannelWidth, cLRFProfileTransmitPowerMin=cLRFProfileTransmitPowerMin, cLRFProfileRxSopThreshold=cLRFProfileRxSopThreshold, cLRFProfileMulticastDataRate=cLRFProfileMulticastDataRate, ciscoLwappRFConfigGroup2=ciscoLwappRFConfigGroup2, cLRFProfileDataRate12Mbps=cLRFProfileDataRate12Mbps, cLRFProfileBandSelectExpireDualBand=cLRFProfileBandSelectExpireDualBand, cLRFProfileTransmitPowerThresholdV2=cLRFProfileTransmitPowerThresholdV2, cLRFProfileDataRate48Mbps=cLRFProfileDataRate48Mbps, cLRFProfile11nOnly=cLRFProfile11nOnly, cLRFProfileCHDCoverageExceptionLevel=cLRFProfileCHDCoverageExceptionLevel, ciscoLwappRFConfigGroup=ciscoLwappRFConfigGroup, cLAPGroups802dot11aRFProfileName=cLAPGroups802dot11aRFProfileName, ciscoLwappRFMIBComplianceVer1=ciscoLwappRFMIBComplianceVer1, cLRFProfileDataRate36Mbps=cLRFProfileDataRate36Mbps, ciscoLwappRFMIBConform=ciscoLwappRFMIBConform, cLRFProfileLoadBalancingWindowSize=cLRFProfileLoadBalancingWindowSize, ciscoLwappRFMIBCompliances=ciscoLwappRFMIBCompliances, cLRFProfileBandSelectCycleThreshold=cLRFProfileBandSelectCycleThreshold, cLRFProfileName=cLRFProfileName, cLRFProfileCHDVoiceRSSIThreshold=cLRFProfileCHDVoiceRSSIThreshold)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, value_range_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint') (cl_ap_if_type,) = mibBuilder.importSymbols('CISCO-LWAPP-TC-MIB', 'CLApIfType') (c_lap_group_name,) = mibBuilder.importSymbols('CISCO-LWAPP-WLAN-MIB', 'cLAPGroupName') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (notification_type, integer32, counter32, counter64, mib_identifier, bits, module_identity, unsigned32, iso, time_ticks, ip_address, gauge32, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'Integer32', 'Counter32', 'Counter64', 'MibIdentifier', 'Bits', 'ModuleIdentity', 'Unsigned32', 'iso', 'TimeTicks', 'IpAddress', 'Gauge32', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn') (storage_type, textual_convention, display_string, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'StorageType', 'TextualConvention', 'DisplayString', 'RowStatus', 'TruthValue') cisco_lwapp_rfmib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 778)) ciscoLwappRFMIB.setRevisions(('2012-04-27 00:00', '2012-01-27 00:00', '2011-11-01 00:00')) if mibBuilder.loadTexts: ciscoLwappRFMIB.setLastUpdated('201111010000Z') if mibBuilder.loadTexts: ciscoLwappRFMIB.setOrganization('Cisco Systems Inc.') cisco_lwapp_rfmib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 0)) cisco_lwapp_rfmib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1)) cisco_lwapp_rfmib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2)) cisco_lwapp_rf_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1)) cisco_lwapp_rf_global_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2)) class Ciscolwapprfapdatarates(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3)) named_values = named_values(('disabled', 0), ('supported', 1), ('mandatoryRate', 2), ('notApplicable', 3)) c_lap_groups_rf_profile_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1)) if mibBuilder.loadTexts: cLAPGroupsRFProfileTable.setStatus('current') c_lap_groups_rf_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-WLAN-MIB', 'cLAPGroupName')) if mibBuilder.loadTexts: cLAPGroupsRFProfileEntry.setStatus('current') c_lap_groups802dot11bg_rf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLAPGroups802dot11bgRFProfileName.setStatus('current') c_lap_groups802dot11a_rf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLAPGroups802dot11aRFProfileName.setStatus('current') c_lrf_profile_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2)) if mibBuilder.loadTexts: cLRFProfileTable.setStatus('current') c_lrf_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileName')) if mibBuilder.loadTexts: cLRFProfileEntry.setStatus('current') c_lrf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 64))) if mibBuilder.loadTexts: cLRFProfileName.setStatus('current') c_lrf_profile_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDescr.setStatus('current') c_lrf_profile_transmit_power_min = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-10, 30)).clone(-10)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileTransmitPowerMin.setStatus('current') c_lrf_profile_transmit_power_max = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-10, 30)).clone(30)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileTransmitPowerMax.setStatus('current') c_lrf_profile_transmit_power_threshold_v1 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-80, -50)).clone(-70)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV1.setStatus('current') c_lrf_profile_transmit_power_threshold_v2 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-80, -50)).clone(-67)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV2.setStatus('current') c_lrf_profile_data_rate1_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 7), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate1Mbps.setStatus('current') c_lrf_profile_data_rate2_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 8), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate2Mbps.setStatus('current') c_lrf_profile_data_rate5_and_half_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 9), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate5AndHalfMbps.setStatus('current') c_lrf_profile_data_rate11_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 10), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate11Mbps.setStatus('current') c_lrf_profile_data_rate6_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 11), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate6Mbps.setStatus('current') c_lrf_profile_data_rate9_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 12), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate9Mbps.setStatus('current') c_lrf_profile_data_rate12_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 13), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate12Mbps.setStatus('current') c_lrf_profile_data_rate18_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 14), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate18Mbps.setStatus('current') c_lrf_profile_data_rate24_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 15), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate24Mbps.setStatus('current') c_lrf_profile_data_rate36_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 16), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate36Mbps.setStatus('current') c_lrf_profile_data_rate48_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 17), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate48Mbps.setStatus('current') c_lrf_profile_data_rate54_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 18), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileDataRate54Mbps.setStatus('current') c_lrf_profile_radio_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 19), cl_ap_if_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileRadioType.setStatus('current') c_lrf_profile_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 20), storage_type().clone('nonVolatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileStorageType.setStatus('current') c_lrf_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 21), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileRowStatus.setStatus('current') c_lrf_profile_high_density_max_radio_clients = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 22), unsigned32().clone(200)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileHighDensityMaxRadioClients.setStatus('current') c_lrf_profile_band_select_probe_response = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 23), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileBandSelectProbeResponse.setStatus('current') c_lrf_profile_band_select_cycle_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 24), unsigned32().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileBandSelectCycleCount.setStatus('current') c_lrf_profile_band_select_cycle_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 25), unsigned32().clone(200)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileBandSelectCycleThreshold.setStatus('current') c_lrf_profile_band_select_expire_suppression = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 26), unsigned32().clone(20)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileBandSelectExpireSuppression.setStatus('current') c_lrf_profile_band_select_expire_dual_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 27), unsigned32().clone(60)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileBandSelectExpireDualBand.setStatus('current') c_lrf_profile_band_select_client_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 28), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileBandSelectClientRSSI.setStatus('current') c_lrf_profile_load_balancing_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 29), unsigned32().clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileLoadBalancingWindowSize.setStatus('current') c_lrf_profile_load_balancing_denial_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 30), unsigned32().clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileLoadBalancingDenialCount.setStatus('current') c_lrf_profile_chd_data_rssi_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 31), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileCHDDataRSSIThreshold.setStatus('current') c_lrf_profile_chd_voice_rssi_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 32), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileCHDVoiceRSSIThreshold.setStatus('current') c_lrf_profile_chd_client_exception_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 33), unsigned32().clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileCHDClientExceptionLevel.setStatus('current') c_lrf_profile_chd_coverage_exception_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 34), unsigned32().clone(25)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileCHDCoverageExceptionLevel.setStatus('current') c_lrf_profile_multicast_data_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 35), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileMulticastDataRate.setStatus('current') c_lrf_profile11n_only = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 36), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfile11nOnly.setStatus('current') c_lrf_profile_hd_client_trap_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 37), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cLRFProfileHDClientTrapThreshold.setStatus('current') c_lrf_profile_interference_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 38), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileInterferenceThreshold.setStatus('current') c_lrf_profile_noise_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 39), integer32().subtype(subtypeSpec=value_range_constraint(-127, 0))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileNoiseThreshold.setStatus('current') c_lrf_profile_utilization_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 40), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileUtilizationThreshold.setStatus('current') c_lrf_profile_dca_foreign_contribution = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 41), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileDCAForeignContribution.setStatus('current') c_lrf_profile_dca_channel_width = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('min', 1), ('medium', 2), ('max', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileDCAChannelWidth.setStatus('current') c_lrf_profile_dca_channel_list = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 43), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 500))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileDCAChannelList.setStatus('current') c_lrf_profile_rx_sop_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('auto', 0), ('low', 1), ('medium', 2), ('high', 3))).clone('auto')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileRxSopThreshold.setStatus('current') c_lrf_profile_out_of_box_ap_config = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileOutOfBoxAPConfig.setStatus('current') c_lrf_profile_mcs_data_rate_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3)) if mibBuilder.loadTexts: cLRFProfileMcsDataRateTable.setStatus('current') c_lrf_profile_mcs_data_rate_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1)).setIndexNames((0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsName'), (0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRate')) if mibBuilder.loadTexts: cLRFProfileMcsDataRateEntry.setStatus('current') c_lrf_profile_mcs_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 64))) if mibBuilder.loadTexts: cLRFProfileMcsName.setStatus('current') c_lrf_profile_mcs_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 2), unsigned32()) if mibBuilder.loadTexts: cLRFProfileMcsRate.setStatus('current') c_lrf_profile_mcs_rate_support = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cLRFProfileMcsRateSupport.setStatus('current') cisco_lwapp_rfmib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1)) cisco_lwapp_rfmib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2)) cisco_lwapp_rfmib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 1)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rfmib_compliance = ciscoLwappRFMIBCompliance.setStatus('deprecated') cisco_lwapp_rfmib_compliance_ver1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 2)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup1'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFGlobalConfigGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rfmib_compliance_ver1 = ciscoLwappRFMIBComplianceVer1.setStatus('current') cisco_lwapp_rfmib_compliance_ver2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 3)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup1'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFGlobalConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup2'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup3')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rfmib_compliance_ver2 = ciscoLwappRFMIBComplianceVer2.setStatus('current') cisco_lwapp_rf_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 1)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11bgRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11aRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDescr'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMin'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMax'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV1'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV2'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate1Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate2Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate5AndHalfMbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate11Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate6Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate9Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate12Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate18Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate24Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate36Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate48Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate54Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRadioType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileStorageType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRowStatus'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfile11nOnly')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_config_group = ciscoLwappRFConfigGroup.setStatus('deprecated') cisco_lwapp_rf_config_group_ver1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 2)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11bgRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11aRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDescr'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMin'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMax'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV1'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV2'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate1Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate2Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate5AndHalfMbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate11Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate6Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate9Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate12Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate18Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate24Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate36Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate48Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate54Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRadioType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileStorageType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRowStatus'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfile11nOnly'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRate'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRateSupport')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_config_group_ver1 = ciscoLwappRFConfigGroupVer1.setStatus('current') cisco_lwapp_rf_config_group1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 5)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileHighDensityMaxRadioClients'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectProbeResponse'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectCycleCount'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectCycleThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectExpireSuppression'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectExpireDualBand'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectClientRSSI'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileLoadBalancingWindowSize'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileLoadBalancingDenialCount'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDDataRSSIThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDVoiceRSSIThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDClientExceptionLevel'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDCoverageExceptionLevel'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMulticastDataRate')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_config_group1 = ciscoLwappRFConfigGroup1.setStatus('current') cisco_lwapp_rf_global_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 3)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileOutOfBoxAPConfig')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_global_config_group = ciscoLwappRFGlobalConfigGroup.setStatus('current') cisco_lwapp_rf_config_group2 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 4)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileHDClientTrapThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileInterferenceThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileNoiseThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileUtilizationThreshold')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_config_group2 = ciscoLwappRFConfigGroup2.setStatus('current') cisco_lwapp_rf_config_group3 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 6)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAForeignContribution'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAChannelWidth'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAChannelList')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_config_group3 = ciscoLwappRFConfigGroup3.setStatus('current') cisco_lwapp_rf_config_group4 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 7)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileRxSopThreshold')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_rf_config_group4 = ciscoLwappRFConfigGroup4.setStatus('current') mibBuilder.exportSymbols('CISCO-LWAPP-RF-MIB', ciscoLwappRFConfig=ciscoLwappRFConfig, cLRFProfileMcsDataRateTable=cLRFProfileMcsDataRateTable, ciscoLwappRFMIBCompliance=ciscoLwappRFMIBCompliance, cLRFProfileDataRate9Mbps=cLRFProfileDataRate9Mbps, ciscoLwappRFConfigGroupVer1=ciscoLwappRFConfigGroupVer1, ciscoLwappRFMIBGroups=ciscoLwappRFMIBGroups, cLRFProfileDCAForeignContribution=cLRFProfileDCAForeignContribution, cLRFProfileDataRate18Mbps=cLRFProfileDataRate18Mbps, cLRFProfileDescr=cLRFProfileDescr, cLRFProfileMcsName=cLRFProfileMcsName, ciscoLwappRFGlobalConfigGroup=ciscoLwappRFGlobalConfigGroup, cLRFProfileBandSelectCycleCount=cLRFProfileBandSelectCycleCount, cLAPGroupsRFProfileTable=cLAPGroupsRFProfileTable, PYSNMP_MODULE_ID=ciscoLwappRFMIB, cLRFProfileHDClientTrapThreshold=cLRFProfileHDClientTrapThreshold, cLAPGroups802dot11bgRFProfileName=cLAPGroups802dot11bgRFProfileName, cLRFProfileOutOfBoxAPConfig=cLRFProfileOutOfBoxAPConfig, cLRFProfileTransmitPowerMax=cLRFProfileTransmitPowerMax, cLRFProfileRowStatus=cLRFProfileRowStatus, cLRFProfileDataRate54Mbps=cLRFProfileDataRate54Mbps, cLRFProfileRadioType=cLRFProfileRadioType, cLRFProfileDataRate11Mbps=cLRFProfileDataRate11Mbps, cLRFProfileDataRate6Mbps=cLRFProfileDataRate6Mbps, cLRFProfileCHDDataRSSIThreshold=cLRFProfileCHDDataRSSIThreshold, cLRFProfileInterferenceThreshold=cLRFProfileInterferenceThreshold, cLRFProfileMcsDataRateEntry=cLRFProfileMcsDataRateEntry, cLRFProfileStorageType=cLRFProfileStorageType, cLRFProfileMcsRate=cLRFProfileMcsRate, cLRFProfileUtilizationThreshold=cLRFProfileUtilizationThreshold, ciscoLwappRFConfigGroup1=ciscoLwappRFConfigGroup1, cLRFProfileDataRate24Mbps=cLRFProfileDataRate24Mbps, cLRFProfileTable=cLRFProfileTable, cLRFProfileBandSelectExpireSuppression=cLRFProfileBandSelectExpireSuppression, ciscoLwappRFConfigGroup4=ciscoLwappRFConfigGroup4, cLRFProfileHighDensityMaxRadioClients=cLRFProfileHighDensityMaxRadioClients, ciscoLwappRFMIBComplianceVer2=ciscoLwappRFMIBComplianceVer2, cLAPGroupsRFProfileEntry=cLAPGroupsRFProfileEntry, cLRFProfileBandSelectClientRSSI=cLRFProfileBandSelectClientRSSI, ciscoLwappRFMIBNotifs=ciscoLwappRFMIBNotifs, ciscoLwappRFMIBObjects=ciscoLwappRFMIBObjects, cLRFProfileTransmitPowerThresholdV1=cLRFProfileTransmitPowerThresholdV1, cLRFProfileLoadBalancingDenialCount=cLRFProfileLoadBalancingDenialCount, cLRFProfileCHDClientExceptionLevel=cLRFProfileCHDClientExceptionLevel, cLRFProfileDCAChannelList=cLRFProfileDCAChannelList, ciscoLwappRFConfigGroup3=ciscoLwappRFConfigGroup3, cLRFProfileDataRate1Mbps=cLRFProfileDataRate1Mbps, cLRFProfileDataRate5AndHalfMbps=cLRFProfileDataRate5AndHalfMbps, CiscoLwappRFApDataRates=CiscoLwappRFApDataRates, cLRFProfileDataRate2Mbps=cLRFProfileDataRate2Mbps, cLRFProfileBandSelectProbeResponse=cLRFProfileBandSelectProbeResponse, cLRFProfileEntry=cLRFProfileEntry, cLRFProfileMcsRateSupport=cLRFProfileMcsRateSupport, ciscoLwappRFMIB=ciscoLwappRFMIB, ciscoLwappRFGlobalObjects=ciscoLwappRFGlobalObjects, cLRFProfileNoiseThreshold=cLRFProfileNoiseThreshold, cLRFProfileDCAChannelWidth=cLRFProfileDCAChannelWidth, cLRFProfileTransmitPowerMin=cLRFProfileTransmitPowerMin, cLRFProfileRxSopThreshold=cLRFProfileRxSopThreshold, cLRFProfileMulticastDataRate=cLRFProfileMulticastDataRate, ciscoLwappRFConfigGroup2=ciscoLwappRFConfigGroup2, cLRFProfileDataRate12Mbps=cLRFProfileDataRate12Mbps, cLRFProfileBandSelectExpireDualBand=cLRFProfileBandSelectExpireDualBand, cLRFProfileTransmitPowerThresholdV2=cLRFProfileTransmitPowerThresholdV2, cLRFProfileDataRate48Mbps=cLRFProfileDataRate48Mbps, cLRFProfile11nOnly=cLRFProfile11nOnly, cLRFProfileCHDCoverageExceptionLevel=cLRFProfileCHDCoverageExceptionLevel, ciscoLwappRFConfigGroup=ciscoLwappRFConfigGroup, cLAPGroups802dot11aRFProfileName=cLAPGroups802dot11aRFProfileName, ciscoLwappRFMIBComplianceVer1=ciscoLwappRFMIBComplianceVer1, cLRFProfileDataRate36Mbps=cLRFProfileDataRate36Mbps, ciscoLwappRFMIBConform=ciscoLwappRFMIBConform, cLRFProfileLoadBalancingWindowSize=cLRFProfileLoadBalancingWindowSize, ciscoLwappRFMIBCompliances=ciscoLwappRFMIBCompliances, cLRFProfileBandSelectCycleThreshold=cLRFProfileBandSelectCycleThreshold, cLRFProfileName=cLRFProfileName, cLRFProfileCHDVoiceRSSIThreshold=cLRFProfileCHDVoiceRSSIThreshold)
#{ # city1: [(neighbor_city, dist), ...], # city2: ... #} cities = { 'Bucharest': [ ('Urzineci',85), ('Giurgiu',90), ('Pitesti',101), ('Fagaras',211) ], 'Giurgiu': [ ('Bucharest',90) ], 'Urzineci': [ ('Bucharest',85), ('Hirsova',98), ('Vaslui',142) ], 'Hirsova': [ ('Urzineci',98), ('Eforie',86) ], 'Eforie': [ ('Hirsova',86) ], 'Vaslui': [ ('Urzineci',142), ('Iasi',92) ], 'Iasi': [ ('Vaslui', 92), ('Neamt',87) ], 'Neamt': [ ('Iasi', 87) ], 'Fagaras': [ ('Bucharest',211), ('Sibiu',99) ], 'Pitesti': [ ('Bucharest',101), ('Rimnicu Vilcea',97), ('Craiova',138) ], 'Craiova':[ ('Pitesti',138), ('Rimnicu Vilcea',146), ('Dobreta',120) ], 'Rimnicu Vilcea':[ ('Craiova',146), ('Pitesti',97), ('Sibiu',80) ], 'Sibiu':[ ('Rimnicu Vilcea',80), ('Fagaras',99), ('Oradea',151), ('Arad',140) ], 'Oradea':[ ('Sibiu',151), ('Zerind',71) ], 'Zerind':[ ('Oradea',71), ('Arad',75) ], 'Arad':[ ('Zerind',75), ('Timisoara',118), ('Sibiu',140) ], 'Timisoara':[ ('Arad',118), ('Lugoj',111) ], 'Lugoj':[ ('Timisoara',111), ('Mehadia',70) ], 'Mehadia':[ ('Lugoj',70), ('Dobreta',75) ], 'Dobreta':[ ('Mehadia',75), ('Craiova',120) ], } #{ # city1: dist, # city2: dist, # ... #} straight_line_dists_from_bucharest = { 'Arad': 366, 'Bucharest':0, 'Craiova':160, 'Dobreta':242, 'Eforie':161, 'Fagaras':176, 'Giurgiu':77, 'Hirsova':151, 'Iasi':226, 'Lugoj':244, 'Mehadia':241, 'Neamt':234, 'Oradea':380, 'Pitesti':100, 'Rimnicu Vilcea':193, 'Sibiu':253, 'Timisoara':329, 'Urzineci':80, 'Vaslui':199, 'Zerind':374 }
cities = {'Bucharest': [('Urzineci', 85), ('Giurgiu', 90), ('Pitesti', 101), ('Fagaras', 211)], 'Giurgiu': [('Bucharest', 90)], 'Urzineci': [('Bucharest', 85), ('Hirsova', 98), ('Vaslui', 142)], 'Hirsova': [('Urzineci', 98), ('Eforie', 86)], 'Eforie': [('Hirsova', 86)], 'Vaslui': [('Urzineci', 142), ('Iasi', 92)], 'Iasi': [('Vaslui', 92), ('Neamt', 87)], 'Neamt': [('Iasi', 87)], 'Fagaras': [('Bucharest', 211), ('Sibiu', 99)], 'Pitesti': [('Bucharest', 101), ('Rimnicu Vilcea', 97), ('Craiova', 138)], 'Craiova': [('Pitesti', 138), ('Rimnicu Vilcea', 146), ('Dobreta', 120)], 'Rimnicu Vilcea': [('Craiova', 146), ('Pitesti', 97), ('Sibiu', 80)], 'Sibiu': [('Rimnicu Vilcea', 80), ('Fagaras', 99), ('Oradea', 151), ('Arad', 140)], 'Oradea': [('Sibiu', 151), ('Zerind', 71)], 'Zerind': [('Oradea', 71), ('Arad', 75)], 'Arad': [('Zerind', 75), ('Timisoara', 118), ('Sibiu', 140)], 'Timisoara': [('Arad', 118), ('Lugoj', 111)], 'Lugoj': [('Timisoara', 111), ('Mehadia', 70)], 'Mehadia': [('Lugoj', 70), ('Dobreta', 75)], 'Dobreta': [('Mehadia', 75), ('Craiova', 120)]} straight_line_dists_from_bucharest = {'Arad': 366, 'Bucharest': 0, 'Craiova': 160, 'Dobreta': 242, 'Eforie': 161, 'Fagaras': 176, 'Giurgiu': 77, 'Hirsova': 151, 'Iasi': 226, 'Lugoj': 244, 'Mehadia': 241, 'Neamt': 234, 'Oradea': 380, 'Pitesti': 100, 'Rimnicu Vilcea': 193, 'Sibiu': 253, 'Timisoara': 329, 'Urzineci': 80, 'Vaslui': 199, 'Zerind': 374}
HDF5_EXTENSION = "hdf5" HDF_SEPARATOR = "/" MODEL_SUBFOLDER = "MODEL" CLASS_WEIGHT_FILE = "class_weights.json" TRAIN_DS_NAME = "train" VALIDATION_DS_NAME = "validation" TEST_DS_NAME = "test" # Used to determine whether a dataset can safely fit into # The available memory MEM_SAFETY_FACTOR = 1.05 # this constant is used everywhere to check whether # we should automagically apply that thing AUTO = "AUTO" FEATURE_INDEX = "feature" LABEL_INDEX = "label"
hdf5_extension = 'hdf5' hdf_separator = '/' model_subfolder = 'MODEL' class_weight_file = 'class_weights.json' train_ds_name = 'train' validation_ds_name = 'validation' test_ds_name = 'test' mem_safety_factor = 1.05 auto = 'AUTO' feature_index = 'feature' label_index = 'label'
# SPDX-License-Identifier: MIT # Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval def _split_timedelta(t): days = t.days hours, seconds = divmod(t.seconds, 3600) minutes, seconds = divmod(seconds, 60) return days, hours, minutes, seconds def hhmm(t): days, hours, minutes, _ = _split_timedelta(t) return "{:02d}:{:02d}".format(24 * days + hours, minutes) def hhmmss(t): days, hours, minutes, seconds = _split_timedelta(t) return "{:02d}:{:02d}:{:02d}".format(24 * days + hours, minutes, seconds)
def _split_timedelta(t): days = t.days (hours, seconds) = divmod(t.seconds, 3600) (minutes, seconds) = divmod(seconds, 60) return (days, hours, minutes, seconds) def hhmm(t): (days, hours, minutes, _) = _split_timedelta(t) return '{:02d}:{:02d}'.format(24 * days + hours, minutes) def hhmmss(t): (days, hours, minutes, seconds) = _split_timedelta(t) return '{:02d}:{:02d}:{:02d}'.format(24 * days + hours, minutes, seconds)
# Static data class for vortex vanquisher class VortexVanquisher: level = 90 refinementLevel = 1 name = "Vortex Vanquisher" # Base stat values baseATK = 608 atkPercent = 0.496 # Passive values stackCount = 5 atkPercent = 2 * 0.04 * stackCount # Assuming shield is up at all times
class Vortexvanquisher: level = 90 refinement_level = 1 name = 'Vortex Vanquisher' base_atk = 608 atk_percent = 0.496 stack_count = 5 atk_percent = 2 * 0.04 * stackCount
# # PySNMP MIB module APRADIUS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/APRADIUS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:08:27 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # acmepacketMgmt, = mibBuilder.importSymbols("ACMEPACKET-SMI", "acmepacketMgmt") ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint") InetAddress, InetAddressType, InetPortNumber = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") NotificationType, MibIdentifier, Unsigned32, Bits, TimeTicks, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ModuleIdentity, Integer32, Counter32, iso, ObjectIdentity, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "MibIdentifier", "Unsigned32", "Bits", "TimeTicks", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ModuleIdentity", "Integer32", "Counter32", "iso", "ObjectIdentity", "Gauge32") TruthValue, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "TextualConvention", "DisplayString") apRadiusServerModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 9148, 3, 18)) if mibBuilder.loadTexts: apRadiusServerModule.setLastUpdated('201203150000Z') if mibBuilder.loadTexts: apRadiusServerModule.setOrganization('Acme Packet, Inc') apRadiusServerMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1)) apRadiusServerStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1), ) if mibBuilder.loadTexts: apRadiusServerStatsTable.setStatus('current') apRadiusServerStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1), ).setIndexNames((0, "APRADIUS-MIB", "apRadiusServerAddressType"), (0, "APRADIUS-MIB", "apRadiusServerAddress")) if mibBuilder.loadTexts: apRadiusServerStatsEntry.setStatus('current') apRadiusServerAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAddressType.setStatus('current') apRadiusServerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 2), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAddress.setStatus('current') apRadiusServerRoundTripTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerRoundTripTime.setStatus('current') apRadiusServerMalformedAccessResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerMalformedAccessResponse.setStatus('current') apRadiusServerAccessRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAccessRequests.setStatus('current') apRadiusServerDisconnectRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerDisconnectRequests.setStatus('current') apRadiusServerDisconnectACKs = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerDisconnectACKs.setStatus('current') apRadiusServerDisconnectNACks = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerDisconnectNACks.setStatus('current') apRadiusServerBadAuthenticators = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerBadAuthenticators.setStatus('current') apRadiusServerAccessRetransmissions = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAccessRetransmissions.setStatus('current') apRadiusServerAccessAccepts = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAccessAccepts.setStatus('current') apRadiusServerTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerTimeouts.setStatus('current') apRadiusServerAccessRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAccessRejects.setStatus('current') apRadiusServerUnknownPDUTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerUnknownPDUTypes.setStatus('current') apRadiusServerAccessChallenges = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 15), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apRadiusServerAccessChallenges.setStatus('current') apRadiusServerConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2)) apRadiusObjectGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1)) apRadiusInterfaceStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1, 1)).setObjects(("APRADIUS-MIB", "apRadiusServerRoundTripTime"), ("APRADIUS-MIB", "apRadiusServerMalformedAccessResponse"), ("APRADIUS-MIB", "apRadiusServerAccessRequests"), ("APRADIUS-MIB", "apRadiusServerDisconnectRequests"), ("APRADIUS-MIB", "apRadiusServerDisconnectACKs"), ("APRADIUS-MIB", "apRadiusServerDisconnectNACks"), ("APRADIUS-MIB", "apRadiusServerBadAuthenticators"), ("APRADIUS-MIB", "apRadiusServerAccessRetransmissions"), ("APRADIUS-MIB", "apRadiusServerAccessAccepts"), ("APRADIUS-MIB", "apRadiusServerTimeouts"), ("APRADIUS-MIB", "apRadiusServerAccessRejects"), ("APRADIUS-MIB", "apRadiusServerUnknownPDUTypes"), ("APRADIUS-MIB", "apRadiusServerAccessChallenges")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): apRadiusInterfaceStatsGroup = apRadiusInterfaceStatsGroup.setStatus('current') mibBuilder.exportSymbols("APRADIUS-MIB", PYSNMP_MODULE_ID=apRadiusServerModule, apRadiusServerAccessRetransmissions=apRadiusServerAccessRetransmissions, apRadiusServerStatsEntry=apRadiusServerStatsEntry, apRadiusServerAddressType=apRadiusServerAddressType, apRadiusServerMalformedAccessResponse=apRadiusServerMalformedAccessResponse, apRadiusServerStatsTable=apRadiusServerStatsTable, apRadiusServerModule=apRadiusServerModule, apRadiusServerDisconnectNACks=apRadiusServerDisconnectNACks, apRadiusServerAccessChallenges=apRadiusServerAccessChallenges, apRadiusServerTimeouts=apRadiusServerTimeouts, apRadiusServerAddress=apRadiusServerAddress, apRadiusServerAccessRejects=apRadiusServerAccessRejects, apRadiusServerConformance=apRadiusServerConformance, apRadiusServerMIBObjects=apRadiusServerMIBObjects, apRadiusObjectGroups=apRadiusObjectGroups, apRadiusInterfaceStatsGroup=apRadiusInterfaceStatsGroup, apRadiusServerUnknownPDUTypes=apRadiusServerUnknownPDUTypes, apRadiusServerDisconnectRequests=apRadiusServerDisconnectRequests, apRadiusServerAccessAccepts=apRadiusServerAccessAccepts, apRadiusServerDisconnectACKs=apRadiusServerDisconnectACKs, apRadiusServerBadAuthenticators=apRadiusServerBadAuthenticators, apRadiusServerRoundTripTime=apRadiusServerRoundTripTime, apRadiusServerAccessRequests=apRadiusServerAccessRequests)
(acmepacket_mgmt,) = mibBuilder.importSymbols('ACMEPACKET-SMI', 'acmepacketMgmt') (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, value_range_constraint, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint') (inet_address, inet_address_type, inet_port_number) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType', 'InetPortNumber') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (notification_type, mib_identifier, unsigned32, bits, time_ticks, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, module_identity, integer32, counter32, iso, object_identity, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'MibIdentifier', 'Unsigned32', 'Bits', 'TimeTicks', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ModuleIdentity', 'Integer32', 'Counter32', 'iso', 'ObjectIdentity', 'Gauge32') (truth_value, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'TextualConvention', 'DisplayString') ap_radius_server_module = module_identity((1, 3, 6, 1, 4, 1, 9148, 3, 18)) if mibBuilder.loadTexts: apRadiusServerModule.setLastUpdated('201203150000Z') if mibBuilder.loadTexts: apRadiusServerModule.setOrganization('Acme Packet, Inc') ap_radius_server_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1)) ap_radius_server_stats_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1)) if mibBuilder.loadTexts: apRadiusServerStatsTable.setStatus('current') ap_radius_server_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1)).setIndexNames((0, 'APRADIUS-MIB', 'apRadiusServerAddressType'), (0, 'APRADIUS-MIB', 'apRadiusServerAddress')) if mibBuilder.loadTexts: apRadiusServerStatsEntry.setStatus('current') ap_radius_server_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 1), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAddressType.setStatus('current') ap_radius_server_address = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 2), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAddress.setStatus('current') ap_radius_server_round_trip_time = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerRoundTripTime.setStatus('current') ap_radius_server_malformed_access_response = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerMalformedAccessResponse.setStatus('current') ap_radius_server_access_requests = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAccessRequests.setStatus('current') ap_radius_server_disconnect_requests = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerDisconnectRequests.setStatus('current') ap_radius_server_disconnect_ac_ks = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerDisconnectACKs.setStatus('current') ap_radius_server_disconnect_na_cks = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerDisconnectNACks.setStatus('current') ap_radius_server_bad_authenticators = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 9), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerBadAuthenticators.setStatus('current') ap_radius_server_access_retransmissions = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 10), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAccessRetransmissions.setStatus('current') ap_radius_server_access_accepts = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 11), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAccessAccepts.setStatus('current') ap_radius_server_timeouts = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 12), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerTimeouts.setStatus('current') ap_radius_server_access_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 13), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAccessRejects.setStatus('current') ap_radius_server_unknown_pdu_types = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 14), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerUnknownPDUTypes.setStatus('current') ap_radius_server_access_challenges = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 15), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: apRadiusServerAccessChallenges.setStatus('current') ap_radius_server_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2)) ap_radius_object_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1)) ap_radius_interface_stats_group = object_group((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1, 1)).setObjects(('APRADIUS-MIB', 'apRadiusServerRoundTripTime'), ('APRADIUS-MIB', 'apRadiusServerMalformedAccessResponse'), ('APRADIUS-MIB', 'apRadiusServerAccessRequests'), ('APRADIUS-MIB', 'apRadiusServerDisconnectRequests'), ('APRADIUS-MIB', 'apRadiusServerDisconnectACKs'), ('APRADIUS-MIB', 'apRadiusServerDisconnectNACks'), ('APRADIUS-MIB', 'apRadiusServerBadAuthenticators'), ('APRADIUS-MIB', 'apRadiusServerAccessRetransmissions'), ('APRADIUS-MIB', 'apRadiusServerAccessAccepts'), ('APRADIUS-MIB', 'apRadiusServerTimeouts'), ('APRADIUS-MIB', 'apRadiusServerAccessRejects'), ('APRADIUS-MIB', 'apRadiusServerUnknownPDUTypes'), ('APRADIUS-MIB', 'apRadiusServerAccessChallenges')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ap_radius_interface_stats_group = apRadiusInterfaceStatsGroup.setStatus('current') mibBuilder.exportSymbols('APRADIUS-MIB', PYSNMP_MODULE_ID=apRadiusServerModule, apRadiusServerAccessRetransmissions=apRadiusServerAccessRetransmissions, apRadiusServerStatsEntry=apRadiusServerStatsEntry, apRadiusServerAddressType=apRadiusServerAddressType, apRadiusServerMalformedAccessResponse=apRadiusServerMalformedAccessResponse, apRadiusServerStatsTable=apRadiusServerStatsTable, apRadiusServerModule=apRadiusServerModule, apRadiusServerDisconnectNACks=apRadiusServerDisconnectNACks, apRadiusServerAccessChallenges=apRadiusServerAccessChallenges, apRadiusServerTimeouts=apRadiusServerTimeouts, apRadiusServerAddress=apRadiusServerAddress, apRadiusServerAccessRejects=apRadiusServerAccessRejects, apRadiusServerConformance=apRadiusServerConformance, apRadiusServerMIBObjects=apRadiusServerMIBObjects, apRadiusObjectGroups=apRadiusObjectGroups, apRadiusInterfaceStatsGroup=apRadiusInterfaceStatsGroup, apRadiusServerUnknownPDUTypes=apRadiusServerUnknownPDUTypes, apRadiusServerDisconnectRequests=apRadiusServerDisconnectRequests, apRadiusServerAccessAccepts=apRadiusServerAccessAccepts, apRadiusServerDisconnectACKs=apRadiusServerDisconnectACKs, apRadiusServerBadAuthenticators=apRadiusServerBadAuthenticators, apRadiusServerRoundTripTime=apRadiusServerRoundTripTime, apRadiusServerAccessRequests=apRadiusServerAccessRequests)
class GTException(Exception): """ Base exception for GTbot-related errors. """ pass class SilentError(GTException): """ An error was already handled and should be silent, but still propagate and cancel the stack call. """ pass class NotFound(GTException): """ The object you're looking for was not found. """ pass class AlreadyPresent(GTException): """ You're trying to assign someone to solething he is already assigned to. """ pass class NotAllowed(GTException): """ Someone is trying to perform an action he is not allowed to do. """ pass
class Gtexception(Exception): """ Base exception for GTbot-related errors. """ pass class Silenterror(GTException): """ An error was already handled and should be silent, but still propagate and cancel the stack call. """ pass class Notfound(GTException): """ The object you're looking for was not found. """ pass class Alreadypresent(GTException): """ You're trying to assign someone to solething he is already assigned to. """ pass class Notallowed(GTException): """ Someone is trying to perform an action he is not allowed to do. """ pass
scripts_to_script_start = { 0: "Common", 32: "Common", 33: "Common", 36: "Common", 37: "Common", 40: "Common", 41: "Common", 42: "Common", 43: "Common", 44: "Common", 45: "Common", 46: "Common", 48: "Common", 58: "Common", 60: "Common", 63: "Common", 65: "Latin", 91: "Common", 92: "Common", 93: "Common", 94: "Common", 95: "Common", 96: "Common", 97: "Latin", 123: "Common", 124: "Common", 125: "Common", 126: "Common", 127: "Common", 160: "Common", 161: "Common", 162: "Common", 166: "Common", 167: "Common", 168: "Common", 169: "Common", 170: "Latin", 171: "Common", 172: "Common", 173: "Common", 174: "Common", 175: "Common", 176: "Common", 177: "Common", 178: "Common", 180: "Common", 181: "Common", 182: "Common", 184: "Common", 185: "Common", 186: "Latin", 187: "Common", 188: "Common", 191: "Common", 192: "Latin", 215: "Common", 216: "Latin", 247: "Common", 248: "Latin", 443: "Latin", 444: "Latin", 448: "Latin", 452: "Latin", 660: "Latin", 661: "Latin", 688: "Latin", 697: "Common", 706: "Common", 710: "Common", 722: "Common", 736: "Latin", 741: "Common", 746: "Bopomofo", 748: "Common", 749: "Common", 750: "Common", 751: "Common", 768: "Inherited", 880: "Greek", 884: "Common", 885: "Greek", 886: "Greek", 890: "Greek", 891: "Greek", 894: "Common", 895: "Greek", 900: "Greek", 901: "Common", 902: "Greek", 903: "Common", 904: "Greek", 908: "Greek", 910: "Greek", 931: "Greek", 994: "Coptic", 1008: "Greek", 1014: "Greek", 1015: "Greek", 1024: "Cyrillic", 1154: "Cyrillic", 1155: "Cyrillic", 1157: "Inherited", 1159: "Cyrillic", 1160: "Cyrillic", 1162: "Cyrillic", 1329: "Armenian", 1369: "Armenian", 1370: "Armenian", 1376: "Armenian", 1417: "Armenian", 1418: "Armenian", 1421: "Armenian", 1423: "Armenian", 1425: "Hebrew", 1470: "Hebrew", 1471: "Hebrew", 1472: "Hebrew", 1473: "Hebrew", 1475: "Hebrew", 1476: "Hebrew", 1478: "Hebrew", 1479: "Hebrew", 1488: "Hebrew", 1519: "Hebrew", 1523: "Hebrew", 1536: "Arabic", 1541: "Common", 1542: "Arabic", 1545: "Arabic", 1547: "Arabic", 1548: "Common", 1549: "Arabic", 1550: "Arabic", 1552: "Arabic", 1563: "Common", 1564: "Arabic", 1566: "Arabic", 1567: "Common", 1568: "Arabic", 1600: "Common", 1601: "Arabic", 1611: "Inherited", 1622: "Arabic", 1632: "Arabic", 1642: "Arabic", 1646: "Arabic", 1648: "Inherited", 1649: "Arabic", 1748: "Arabic", 1749: "Arabic", 1750: "Arabic", 1757: "Common", 1758: "Arabic", 1759: "Arabic", 1765: "Arabic", 1767: "Arabic", 1769: "Arabic", 1770: "Arabic", 1774: "Arabic", 1776: "Arabic", 1786: "Arabic", 1789: "Arabic", 1791: "Arabic", 1792: "Syriac", 1807: "Syriac", 1808: "Syriac", 1809: "Syriac", 1810: "Syriac", 1840: "Syriac", 1869: "Syriac", 1872: "Arabic", 1920: "Thaana", 1958: "Thaana", 1969: "Thaana", 1984: "Nko", 1994: "Nko", 2027: "Nko", 2036: "Nko", 2038: "Nko", 2039: "Nko", 2042: "Nko", 2045: "Nko", 2046: "Nko", 2048: "Samaritan", 2070: "Samaritan", 2074: "Samaritan", 2075: "Samaritan", 2084: "Samaritan", 2085: "Samaritan", 2088: "Samaritan", 2089: "Samaritan", 2096: "Samaritan", 2112: "Mandaic", 2137: "Mandaic", 2142: "Mandaic", 2144: "Syriac", 2208: "Arabic", 2230: "Arabic", 2259: "Arabic", 2274: "Common", 2275: "Arabic", 2304: "Devanagari", 2307: "Devanagari", 2308: "Devanagari", 2362: "Devanagari", 2363: "Devanagari", 2364: "Devanagari", 2365: "Devanagari", 2366: "Devanagari", 2369: "Devanagari", 2377: "Devanagari", 2381: "Devanagari", 2382: "Devanagari", 2384: "Devanagari", 2385: "Inherited", 2389: "Devanagari", 2392: "Devanagari", 2402: "Devanagari", 2404: "Common", 2406: "Devanagari", 2416: "Devanagari", 2417: "Devanagari", 2418: "Devanagari", 2432: "Bengali", 2433: "Bengali", 2434: "Bengali", 2437: "Bengali", 2447: "Bengali", 2451: "Bengali", 2474: "Bengali", 2482: "Bengali", 2486: "Bengali", 2492: "Bengali", 2493: "Bengali", 2494: "Bengali", 2497: "Bengali", 2503: "Bengali", 2507: "Bengali", 2509: "Bengali", 2510: "Bengali", 2519: "Bengali", 2524: "Bengali", 2527: "Bengali", 2530: "Bengali", 2534: "Bengali", 2544: "Bengali", 2546: "Bengali", 2548: "Bengali", 2554: "Bengali", 2555: "Bengali", 2556: "Bengali", 2557: "Bengali", 2558: "Bengali", 2561: "Gurmukhi", 2563: "Gurmukhi", 2565: "Gurmukhi", 2575: "Gurmukhi", 2579: "Gurmukhi", 2602: "Gurmukhi", 2610: "Gurmukhi", 2613: "Gurmukhi", 2616: "Gurmukhi", 2620: "Gurmukhi", 2622: "Gurmukhi", 2625: "Gurmukhi", 2631: "Gurmukhi", 2635: "Gurmukhi", 2641: "Gurmukhi", 2649: "Gurmukhi", 2654: "Gurmukhi", 2662: "Gurmukhi", 2672: "Gurmukhi", 2674: "Gurmukhi", 2677: "Gurmukhi", 2678: "Gurmukhi", 2689: "Gujarati", 2691: "Gujarati", 2693: "Gujarati", 2703: "Gujarati", 2707: "Gujarati", 2730: "Gujarati", 2738: "Gujarati", 2741: "Gujarati", 2748: "Gujarati", 2749: "Gujarati", 2750: "Gujarati", 2753: "Gujarati", 2759: "Gujarati", 2761: "Gujarati", 2763: "Gujarati", 2765: "Gujarati", 2768: "Gujarati", 2784: "Gujarati", 2786: "Gujarati", 2790: "Gujarati", 2800: "Gujarati", 2801: "Gujarati", 2809: "Gujarati", 2810: "Gujarati", 2817: "Oriya", 2818: "Oriya", 2821: "Oriya", 2831: "Oriya", 2835: "Oriya", 2858: "Oriya", 2866: "Oriya", 2869: "Oriya", 2876: "Oriya", 2877: "Oriya", 2878: "Oriya", 2879: "Oriya", 2880: "Oriya", 2881: "Oriya", 2887: "Oriya", 2891: "Oriya", 2893: "Oriya", 2901: "Oriya", 2903: "Oriya", 2908: "Oriya", 2911: "Oriya", 2914: "Oriya", 2918: "Oriya", 2928: "Oriya", 2929: "Oriya", 2930: "Oriya", 2946: "Tamil", 2947: "Tamil", 2949: "Tamil", 2958: "Tamil", 2962: "Tamil", 2969: "Tamil", 2972: "Tamil", 2974: "Tamil", 2979: "Tamil", 2984: "Tamil", 2990: "Tamil", 3006: "Tamil", 3008: "Tamil", 3009: "Tamil", 3014: "Tamil", 3018: "Tamil", 3021: "Tamil", 3024: "Tamil", 3031: "Tamil", 3046: "Tamil", 3056: "Tamil", 3059: "Tamil", 3065: "Tamil", 3066: "Tamil", 3072: "Telugu", 3073: "Telugu", 3076: "Telugu", 3077: "Telugu", 3086: "Telugu", 3090: "Telugu", 3114: "Telugu", 3133: "Telugu", 3134: "Telugu", 3137: "Telugu", 3142: "Telugu", 3146: "Telugu", 3157: "Telugu", 3160: "Telugu", 3168: "Telugu", 3170: "Telugu", 3174: "Telugu", 3191: "Telugu", 3192: "Telugu", 3199: "Telugu", 3200: "Kannada", 3201: "Kannada", 3202: "Kannada", 3204: "Kannada", 3205: "Kannada", 3214: "Kannada", 3218: "Kannada", 3242: "Kannada", 3253: "Kannada", 3260: "Kannada", 3261: "Kannada", 3262: "Kannada", 3263: "Kannada", 3264: "Kannada", 3270: "Kannada", 3271: "Kannada", 3274: "Kannada", 3276: "Kannada", 3285: "Kannada", 3294: "Kannada", 3296: "Kannada", 3298: "Kannada", 3302: "Kannada", 3313: "Kannada", 3328: "Malayalam", 3330: "Malayalam", 3332: "Malayalam", 3342: "Malayalam", 3346: "Malayalam", 3387: "Malayalam", 3389: "Malayalam", 3390: "Malayalam", 3393: "Malayalam", 3398: "Malayalam", 3402: "Malayalam", 3405: "Malayalam", 3406: "Malayalam", 3407: "Malayalam", 3412: "Malayalam", 3415: "Malayalam", 3416: "Malayalam", 3423: "Malayalam", 3426: "Malayalam", 3430: "Malayalam", 3440: "Malayalam", 3449: "Malayalam", 3450: "Malayalam", 3457: "Sinhala", 3458: "Sinhala", 3461: "Sinhala", 3482: "Sinhala", 3507: "Sinhala", 3517: "Sinhala", 3520: "Sinhala", 3530: "Sinhala", 3535: "Sinhala", 3538: "Sinhala", 3542: "Sinhala", 3544: "Sinhala", 3558: "Sinhala", 3570: "Sinhala", 3572: "Sinhala", 3585: "Thai", 3633: "Thai", 3634: "Thai", 3636: "Thai", 3647: "Common", 3648: "Thai", 3654: "Thai", 3655: "Thai", 3663: "Thai", 3664: "Thai", 3674: "Thai", 3713: "Lao", 3716: "Lao", 3718: "Lao", 3724: "Lao", 3749: "Lao", 3751: "Lao", 3761: "Lao", 3762: "Lao", 3764: "Lao", 3773: "Lao", 3776: "Lao", 3782: "Lao", 3784: "Lao", 3792: "Lao", 3804: "Lao", 3840: "Tibetan", 3841: "Tibetan", 3844: "Tibetan", 3859: "Tibetan", 3860: "Tibetan", 3861: "Tibetan", 3864: "Tibetan", 3866: "Tibetan", 3872: "Tibetan", 3882: "Tibetan", 3892: "Tibetan", 3893: "Tibetan", 3894: "Tibetan", 3895: "Tibetan", 3896: "Tibetan", 3897: "Tibetan", 3898: "Tibetan", 3899: "Tibetan", 3900: "Tibetan", 3901: "Tibetan", 3902: "Tibetan", 3904: "Tibetan", 3913: "Tibetan", 3953: "Tibetan", 3967: "Tibetan", 3968: "Tibetan", 3973: "Tibetan", 3974: "Tibetan", 3976: "Tibetan", 3981: "Tibetan", 3993: "Tibetan", 4030: "Tibetan", 4038: "Tibetan", 4039: "Tibetan", 4046: "Tibetan", 4048: "Tibetan", 4053: "Common", 4057: "Tibetan", 4096: "Myanmar", 4139: "Myanmar", 4141: "Myanmar", 4145: "Myanmar", 4146: "Myanmar", 4152: "Myanmar", 4153: "Myanmar", 4155: "Myanmar", 4157: "Myanmar", 4159: "Myanmar", 4160: "Myanmar", 4170: "Myanmar", 4176: "Myanmar", 4182: "Myanmar", 4184: "Myanmar", 4186: "Myanmar", 4190: "Myanmar", 4193: "Myanmar", 4194: "Myanmar", 4197: "Myanmar", 4199: "Myanmar", 4206: "Myanmar", 4209: "Myanmar", 4213: "Myanmar", 4226: "Myanmar", 4227: "Myanmar", 4229: "Myanmar", 4231: "Myanmar", 4237: "Myanmar", 4238: "Myanmar", 4239: "Myanmar", 4240: "Myanmar", 4250: "Myanmar", 4253: "Myanmar", 4254: "Myanmar", 4256: "Georgian", 4295: "Georgian", 4301: "Georgian", 4304: "Georgian", 4347: "Common", 4348: "Georgian", 4349: "Georgian", 4352: "Hangul", 4608: "Ethiopic", 4682: "Ethiopic", 4688: "Ethiopic", 4696: "Ethiopic", 4698: "Ethiopic", 4704: "Ethiopic", 4746: "Ethiopic", 4752: "Ethiopic", 4786: "Ethiopic", 4792: "Ethiopic", 4800: "Ethiopic", 4802: "Ethiopic", 4808: "Ethiopic", 4824: "Ethiopic", 4882: "Ethiopic", 4888: "Ethiopic", 4957: "Ethiopic", 4960: "Ethiopic", 4969: "Ethiopic", 4992: "Ethiopic", 5008: "Ethiopic", 5024: "Cherokee", 5112: "Cherokee", 5120: "Canadian_Aboriginal", 5121: "Canadian_Aboriginal", 5741: "Canadian_Aboriginal", 5742: "Canadian_Aboriginal", 5743: "Canadian_Aboriginal", 5760: "Ogham", 5761: "Ogham", 5787: "Ogham", 5788: "Ogham", 5792: "Runic", 5867: "Common", 5870: "Runic", 5873: "Runic", 5888: "Tagalog", 5902: "Tagalog", 5906: "Tagalog", 5920: "Hanunoo", 5938: "Hanunoo", 5941: "Common", 5952: "Buhid", 5970: "Buhid", 5984: "Tagbanwa", 5998: "Tagbanwa", 6002: "Tagbanwa", 6016: "Khmer", 6068: "Khmer", 6070: "Khmer", 6071: "Khmer", 6078: "Khmer", 6086: "Khmer", 6087: "Khmer", 6089: "Khmer", 6100: "Khmer", 6103: "Khmer", 6104: "Khmer", 6107: "Khmer", 6108: "Khmer", 6109: "Khmer", 6112: "Khmer", 6128: "Khmer", 6144: "Mongolian", 6146: "Common", 6148: "Mongolian", 6149: "Common", 6150: "Mongolian", 6151: "Mongolian", 6155: "Mongolian", 6158: "Mongolian", 6160: "Mongolian", 6176: "Mongolian", 6211: "Mongolian", 6212: "Mongolian", 6272: "Mongolian", 6277: "Mongolian", 6279: "Mongolian", 6313: "Mongolian", 6314: "Mongolian", 6320: "Canadian_Aboriginal", 6400: "Limbu", 6432: "Limbu", 6435: "Limbu", 6439: "Limbu", 6441: "Limbu", 6448: "Limbu", 6450: "Limbu", 6451: "Limbu", 6457: "Limbu", 6464: "Limbu", 6468: "Limbu", 6470: "Limbu", 6480: "Tai_Le", 6512: "Tai_Le", 6528: "New_Tai_Lue", 6576: "New_Tai_Lue", 6608: "New_Tai_Lue", 6618: "New_Tai_Lue", 6622: "New_Tai_Lue", 6624: "Khmer", 6656: "Buginese", 6679: "Buginese", 6681: "Buginese", 6683: "Buginese", 6686: "Buginese", 6688: "Tai_Tham", 6741: "Tai_Tham", 6742: "Tai_Tham", 6743: "Tai_Tham", 6744: "Tai_Tham", 6752: "Tai_Tham", 6753: "Tai_Tham", 6754: "Tai_Tham", 6755: "Tai_Tham", 6757: "Tai_Tham", 6765: "Tai_Tham", 6771: "Tai_Tham", 6783: "Tai_Tham", 6784: "Tai_Tham", 6800: "Tai_Tham", 6816: "Tai_Tham", 6823: "Tai_Tham", 6824: "Tai_Tham", 6832: "Inherited", 6846: "Inherited", 6847: "Inherited", 6912: "Balinese", 6916: "Balinese", 6917: "Balinese", 6964: "Balinese", 6965: "Balinese", 6966: "Balinese", 6971: "Balinese", 6972: "Balinese", 6973: "Balinese", 6978: "Balinese", 6979: "Balinese", 6981: "Balinese", 6992: "Balinese", 7002: "Balinese", 7009: "Balinese", 7019: "Balinese", 7028: "Balinese", 7040: "Sundanese", 7042: "Sundanese", 7043: "Sundanese", 7073: "Sundanese", 7074: "Sundanese", 7078: "Sundanese", 7080: "Sundanese", 7082: "Sundanese", 7083: "Sundanese", 7086: "Sundanese", 7088: "Sundanese", 7098: "Sundanese", 7104: "Batak", 7142: "Batak", 7143: "Batak", 7144: "Batak", 7146: "Batak", 7149: "Batak", 7150: "Batak", 7151: "Batak", 7154: "Batak", 7164: "Batak", 7168: "Lepcha", 7204: "Lepcha", 7212: "Lepcha", 7220: "Lepcha", 7222: "Lepcha", 7227: "Lepcha", 7232: "Lepcha", 7245: "Lepcha", 7248: "Ol_Chiki", 7258: "Ol_Chiki", 7288: "Ol_Chiki", 7294: "Ol_Chiki", 7296: "Cyrillic", 7312: "Georgian", 7357: "Georgian", 7360: "Sundanese", 7376: "Inherited", 7379: "Common", 7380: "Inherited", 7393: "Common", 7394: "Inherited", 7401: "Common", 7405: "Inherited", 7406: "Common", 7412: "Inherited", 7413: "Common", 7415: "Common", 7416: "Inherited", 7418: "Common", 7424: "Latin", 7462: "Greek", 7467: "Cyrillic", 7468: "Latin", 7517: "Greek", 7522: "Latin", 7526: "Greek", 7531: "Latin", 7544: "Cyrillic", 7545: "Latin", 7579: "Latin", 7615: "Greek", 7616: "Inherited", 7675: "Inherited", 7680: "Latin", 7936: "Greek", 7960: "Greek", 7968: "Greek", 8008: "Greek", 8016: "Greek", 8025: "Greek", 8027: "Greek", 8029: "Greek", 8031: "Greek", 8064: "Greek", 8118: "Greek", 8125: "Greek", 8126: "Greek", 8127: "Greek", 8130: "Greek", 8134: "Greek", 8141: "Greek", 8144: "Greek", 8150: "Greek", 8157: "Greek", 8160: "Greek", 8173: "Greek", 8178: "Greek", 8182: "Greek", 8189: "Greek", 8192: "Common", 8203: "Common", 8204: "Inherited", 8206: "Common", 8208: "Common", 8214: "Common", 8216: "Common", 8217: "Common", 8218: "Common", 8219: "Common", 8221: "Common", 8222: "Common", 8223: "Common", 8224: "Common", 8232: "Common", 8233: "Common", 8234: "Common", 8239: "Common", 8240: "Common", 8249: "Common", 8250: "Common", 8251: "Common", 8255: "Common", 8257: "Common", 8260: "Common", 8261: "Common", 8262: "Common", 8263: "Common", 8274: "Common", 8275: "Common", 8276: "Common", 8277: "Common", 8287: "Common", 8288: "Common", 8294: "Common", 8304: "Common", 8305: "Latin", 8308: "Common", 8314: "Common", 8317: "Common", 8318: "Common", 8319: "Latin", 8320: "Common", 8330: "Common", 8333: "Common", 8334: "Common", 8336: "Latin", 8352: "Common", 8400: "Inherited", 8413: "Inherited", 8417: "Inherited", 8418: "Inherited", 8421: "Inherited", 8448: "Common", 8450: "Common", 8451: "Common", 8455: "Common", 8456: "Common", 8458: "Common", 8468: "Common", 8469: "Common", 8470: "Common", 8472: "Common", 8473: "Common", 8478: "Common", 8484: "Common", 8485: "Common", 8486: "Greek", 8487: "Common", 8488: "Common", 8489: "Common", 8490: "Latin", 8492: "Common", 8494: "Common", 8495: "Common", 8498: "Latin", 8499: "Common", 8501: "Common", 8505: "Common", 8506: "Common", 8508: "Common", 8512: "Common", 8517: "Common", 8522: "Common", 8523: "Common", 8524: "Common", 8526: "Latin", 8527: "Common", 8528: "Common", 8544: "Latin", 8579: "Latin", 8581: "Latin", 8585: "Common", 8586: "Common", 8592: "Common", 8597: "Common", 8602: "Common", 8604: "Common", 8608: "Common", 8609: "Common", 8611: "Common", 8612: "Common", 8614: "Common", 8615: "Common", 8622: "Common", 8623: "Common", 8654: "Common", 8656: "Common", 8658: "Common", 8659: "Common", 8660: "Common", 8661: "Common", 8692: "Common", 8960: "Common", 8968: "Common", 8969: "Common", 8970: "Common", 8971: "Common", 8972: "Common", 8992: "Common", 8994: "Common", 9001: "Common", 9002: "Common", 9003: "Common", 9084: "Common", 9085: "Common", 9115: "Common", 9140: "Common", 9180: "Common", 9186: "Common", 9280: "Common", 9312: "Common", 9372: "Common", 9450: "Common", 9472: "Common", 9655: "Common", 9656: "Common", 9665: "Common", 9666: "Common", 9720: "Common", 9728: "Common", 9839: "Common", 9840: "Common", 10088: "Common", 10089: "Common", 10090: "Common", 10091: "Common", 10092: "Common", 10093: "Common", 10094: "Common", 10095: "Common", 10096: "Common", 10097: "Common", 10098: "Common", 10099: "Common", 10100: "Common", 10101: "Common", 10102: "Common", 10132: "Common", 10176: "Common", 10181: "Common", 10182: "Common", 10183: "Common", 10214: "Common", 10215: "Common", 10216: "Common", 10217: "Common", 10218: "Common", 10219: "Common", 10220: "Common", 10221: "Common", 10222: "Common", 10223: "Common", 10224: "Common", 10240: "Braille", 10496: "Common", 10627: "Common", 10628: "Common", 10629: "Common", 10630: "Common", 10631: "Common", 10632: "Common", 10633: "Common", 10634: "Common", 10635: "Common", 10636: "Common", 10637: "Common", 10638: "Common", 10639: "Common", 10640: "Common", 10641: "Common", 10642: "Common", 10643: "Common", 10644: "Common", 10645: "Common", 10646: "Common", 10647: "Common", 10648: "Common", 10649: "Common", 10712: "Common", 10713: "Common", 10714: "Common", 10715: "Common", 10716: "Common", 10748: "Common", 10749: "Common", 10750: "Common", 11008: "Common", 11056: "Common", 11077: "Common", 11079: "Common", 11085: "Common", 11126: "Common", 11159: "Common", 11264: "Glagolitic", 11312: "Glagolitic", 11360: "Latin", 11388: "Latin", 11390: "Latin", 11392: "Coptic", 11493: "Coptic", 11499: "Coptic", 11503: "Coptic", 11506: "Coptic", 11513: "Coptic", 11517: "Coptic", 11518: "Coptic", 11520: "Georgian", 11559: "Georgian", 11565: "Georgian", 11568: "Tifinagh", 11631: "Tifinagh", 11632: "Tifinagh", 11647: "Tifinagh", 11648: "Ethiopic", 11680: "Ethiopic", 11688: "Ethiopic", 11696: "Ethiopic", 11704: "Ethiopic", 11712: "Ethiopic", 11720: "Ethiopic", 11728: "Ethiopic", 11736: "Ethiopic", 11744: "Cyrillic", 11776: "Common", 11778: "Common", 11779: "Common", 11780: "Common", 11781: "Common", 11782: "Common", 11785: "Common", 11786: "Common", 11787: "Common", 11788: "Common", 11789: "Common", 11790: "Common", 11799: "Common", 11800: "Common", 11802: "Common", 11803: "Common", 11804: "Common", 11805: "Common", 11806: "Common", 11808: "Common", 11809: "Common", 11810: "Common", 11811: "Common", 11812: "Common", 11813: "Common", 11814: "Common", 11815: "Common", 11816: "Common", 11817: "Common", 11818: "Common", 11823: "Common", 11824: "Common", 11834: "Common", 11836: "Common", 11840: "Common", 11841: "Common", 11842: "Common", 11843: "Common", 11856: "Common", 11858: "Common", 11904: "Han", 11931: "Han", 12032: "Han", 12272: "Common", 12288: "Common", 12289: "Common", 12292: "Common", 12293: "Han", 12294: "Common", 12295: "Han", 12296: "Common", 12297: "Common", 12298: "Common", 12299: "Common", 12300: "Common", 12301: "Common", 12302: "Common", 12303: "Common", 12304: "Common", 12305: "Common", 12306: "Common", 12308: "Common", 12309: "Common", 12310: "Common", 12311: "Common", 12312: "Common", 12313: "Common", 12314: "Common", 12315: "Common", 12316: "Common", 12317: "Common", 12318: "Common", 12320: "Common", 12321: "Han", 12330: "Inherited", 12334: "Hangul", 12336: "Common", 12337: "Common", 12342: "Common", 12344: "Han", 12347: "Han", 12348: "Common", 12349: "Common", 12350: "Common", 12353: "Hiragana", 12441: "Inherited", 12443: "Common", 12445: "Hiragana", 12447: "Hiragana", 12448: "Common", 12449: "Katakana", 12539: "Common", 12540: "Common", 12541: "Katakana", 12543: "Katakana", 12549: "Bopomofo", 12593: "Hangul", 12688: "Common", 12690: "Common", 12694: "Common", 12704: "Bopomofo", 12736: "Common", 12784: "Katakana", 12800: "Hangul", 12832: "Common", 12842: "Common", 12872: "Common", 12880: "Common", 12881: "Common", 12896: "Hangul", 12927: "Common", 12928: "Common", 12938: "Common", 12977: "Common", 12992: "Common", 13008: "Katakana", 13055: "Common", 13056: "Katakana", 13144: "Common", 13312: "Han", 19904: "Common", 19968: "Han", 40960: "Yi", 40981: "Yi", 40982: "Yi", 42128: "Yi", 42192: "Lisu", 42232: "Lisu", 42238: "Lisu", 42240: "Vai", 42508: "Vai", 42509: "Vai", 42512: "Vai", 42528: "Vai", 42538: "Vai", 42560: "Cyrillic", 42606: "Cyrillic", 42607: "Cyrillic", 42608: "Cyrillic", 42611: "Cyrillic", 42612: "Cyrillic", 42622: "Cyrillic", 42623: "Cyrillic", 42624: "Cyrillic", 42652: "Cyrillic", 42654: "Cyrillic", 42656: "Bamum", 42726: "Bamum", 42736: "Bamum", 42738: "Bamum", 42752: "Common", 42775: "Common", 42784: "Common", 42786: "Latin", 42864: "Latin", 42865: "Latin", 42888: "Common", 42889: "Common", 42891: "Latin", 42895: "Latin", 42896: "Latin", 42946: "Latin", 42997: "Latin", 42999: "Latin", 43000: "Latin", 43002: "Latin", 43003: "Latin", 43008: "Syloti_Nagri", 43010: "Syloti_Nagri", 43011: "Syloti_Nagri", 43014: "Syloti_Nagri", 43015: "Syloti_Nagri", 43019: "Syloti_Nagri", 43020: "Syloti_Nagri", 43043: "Syloti_Nagri", 43045: "Syloti_Nagri", 43047: "Syloti_Nagri", 43048: "Syloti_Nagri", 43052: "Syloti_Nagri", 43056: "Common", 43062: "Common", 43064: "Common", 43065: "Common", 43072: "Phags_Pa", 43124: "Phags_Pa", 43136: "Saurashtra", 43138: "Saurashtra", 43188: "Saurashtra", 43204: "Saurashtra", 43214: "Saurashtra", 43216: "Saurashtra", 43232: "Devanagari", 43250: "Devanagari", 43256: "Devanagari", 43259: "Devanagari", 43260: "Devanagari", 43261: "Devanagari", 43263: "Devanagari", 43264: "Kayah_Li", 43274: "Kayah_Li", 43302: "Kayah_Li", 43310: "Common", 43311: "Kayah_Li", 43312: "Rejang", 43335: "Rejang", 43346: "Rejang", 43359: "Rejang", 43360: "Hangul", 43392: "Javanese", 43395: "Javanese", 43396: "Javanese", 43443: "Javanese", 43444: "Javanese", 43446: "Javanese", 43450: "Javanese", 43452: "Javanese", 43454: "Javanese", 43457: "Javanese", 43471: "Common", 43472: "Javanese", 43486: "Javanese", 43488: "Myanmar", 43493: "Myanmar", 43494: "Myanmar", 43495: "Myanmar", 43504: "Myanmar", 43514: "Myanmar", 43520: "Cham", 43561: "Cham", 43567: "Cham", 43569: "Cham", 43571: "Cham", 43573: "Cham", 43584: "Cham", 43587: "Cham", 43588: "Cham", 43596: "Cham", 43597: "Cham", 43600: "Cham", 43612: "Cham", 43616: "Myanmar", 43632: "Myanmar", 43633: "Myanmar", 43639: "Myanmar", 43642: "Myanmar", 43643: "Myanmar", 43644: "Myanmar", 43645: "Myanmar", 43646: "Myanmar", 43648: "Tai_Viet", 43696: "Tai_Viet", 43697: "Tai_Viet", 43698: "Tai_Viet", 43701: "Tai_Viet", 43703: "Tai_Viet", 43705: "Tai_Viet", 43710: "Tai_Viet", 43712: "Tai_Viet", 43713: "Tai_Viet", 43714: "Tai_Viet", 43739: "Tai_Viet", 43741: "Tai_Viet", 43742: "Tai_Viet", 43744: "Meetei_Mayek", 43755: "Meetei_Mayek", 43756: "Meetei_Mayek", 43758: "Meetei_Mayek", 43760: "Meetei_Mayek", 43762: "Meetei_Mayek", 43763: "Meetei_Mayek", 43765: "Meetei_Mayek", 43766: "Meetei_Mayek", 43777: "Ethiopic", 43785: "Ethiopic", 43793: "Ethiopic", 43808: "Ethiopic", 43816: "Ethiopic", 43824: "Latin", 43867: "Common", 43868: "Latin", 43872: "Latin", 43877: "Greek", 43878: "Latin", 43881: "Latin", 43882: "Common", 43888: "Cherokee", 43968: "Meetei_Mayek", 44003: "Meetei_Mayek", 44005: "Meetei_Mayek", 44006: "Meetei_Mayek", 44008: "Meetei_Mayek", 44009: "Meetei_Mayek", 44011: "Meetei_Mayek", 44012: "Meetei_Mayek", 44013: "Meetei_Mayek", 44016: "Meetei_Mayek", 44032: "Hangul", 55216: "Hangul", 55243: "Hangul", 63744: "Han", 64112: "Han", 64256: "Latin", 64275: "Armenian", 64285: "Hebrew", 64286: "Hebrew", 64287: "Hebrew", 64297: "Hebrew", 64298: "Hebrew", 64312: "Hebrew", 64318: "Hebrew", 64320: "Hebrew", 64323: "Hebrew", 64326: "Hebrew", 64336: "Arabic", 64434: "Arabic", 64467: "Arabic", 64830: "Common", 64831: "Common", 64848: "Arabic", 64914: "Arabic", 65008: "Arabic", 65020: "Arabic", 65021: "Arabic", 65024: "Inherited", 65040: "Common", 65047: "Common", 65048: "Common", 65049: "Common", 65056: "Inherited", 65070: "Cyrillic", 65072: "Common", 65073: "Common", 65075: "Common", 65077: "Common", 65078: "Common", 65079: "Common", 65080: "Common", 65081: "Common", 65082: "Common", 65083: "Common", 65084: "Common", 65085: "Common", 65086: "Common", 65087: "Common", 65088: "Common", 65089: "Common", 65090: "Common", 65091: "Common", 65092: "Common", 65093: "Common", 65095: "Common", 65096: "Common", 65097: "Common", 65101: "Common", 65104: "Common", 65108: "Common", 65112: "Common", 65113: "Common", 65114: "Common", 65115: "Common", 65116: "Common", 65117: "Common", 65118: "Common", 65119: "Common", 65122: "Common", 65123: "Common", 65124: "Common", 65128: "Common", 65129: "Common", 65130: "Common", 65136: "Arabic", 65142: "Arabic", 65279: "Common", 65281: "Common", 65284: "Common", 65285: "Common", 65288: "Common", 65289: "Common", 65290: "Common", 65291: "Common", 65292: "Common", 65293: "Common", 65294: "Common", 65296: "Common", 65306: "Common", 65308: "Common", 65311: "Common", 65313: "Latin", 65339: "Common", 65340: "Common", 65341: "Common", 65342: "Common", 65343: "Common", 65344: "Common", 65345: "Latin", 65371: "Common", 65372: "Common", 65373: "Common", 65374: "Common", 65375: "Common", 65376: "Common", 65377: "Common", 65378: "Common", 65379: "Common", 65380: "Common", 65382: "Katakana", 65392: "Common", 65393: "Katakana", 65438: "Common", 65440: "Hangul", 65474: "Hangul", 65482: "Hangul", 65490: "Hangul", 65498: "Hangul", 65504: "Common", 65506: "Common", 65507: "Common", 65508: "Common", 65509: "Common", 65512: "Common", 65513: "Common", 65517: "Common", 65529: "Common", 65532: "Common", 65536: "Linear_B", 65549: "Linear_B", 65576: "Linear_B", 65596: "Linear_B", 65599: "Linear_B", 65616: "Linear_B", 65664: "Linear_B", 65792: "Common", 65799: "Common", 65847: "Common", 65856: "Greek", 65909: "Greek", 65913: "Greek", 65930: "Greek", 65932: "Greek", 65936: "Common", 65952: "Greek", 66000: "Common", 66045: "Inherited", 66176: "Lycian", 66208: "Carian", 66272: "Inherited", 66273: "Common", 66304: "Old_Italic", 66336: "Old_Italic", 66349: "Old_Italic", 66352: "Gothic", 66369: "Gothic", 66370: "Gothic", 66378: "Gothic", 66384: "Old_Permic", 66422: "Old_Permic", 66432: "Ugaritic", 66463: "Ugaritic", 66464: "Old_Persian", 66504: "Old_Persian", 66512: "Old_Persian", 66513: "Old_Persian", 66560: "Deseret", 66640: "Shavian", 66688: "Osmanya", 66720: "Osmanya", 66736: "Osage", 66776: "Osage", 66816: "Elbasan", 66864: "Caucasian_Albanian", 66927: "Caucasian_Albanian", 67072: "Linear_A", 67392: "Linear_A", 67424: "Linear_A", 67584: "Cypriot", 67592: "Cypriot", 67594: "Cypriot", 67639: "Cypriot", 67644: "Cypriot", 67647: "Cypriot", 67648: "Imperial_Aramaic", 67671: "Imperial_Aramaic", 67672: "Imperial_Aramaic", 67680: "Palmyrene", 67703: "Palmyrene", 67705: "Palmyrene", 67712: "Nabataean", 67751: "Nabataean", 67808: "Hatran", 67828: "Hatran", 67835: "Hatran", 67840: "Phoenician", 67862: "Phoenician", 67871: "Phoenician", 67872: "Lydian", 67903: "Lydian", 67968: "Meroitic_Hieroglyphs", 68000: "Meroitic_Cursive", 68028: "Meroitic_Cursive", 68030: "Meroitic_Cursive", 68032: "Meroitic_Cursive", 68050: "Meroitic_Cursive", 68096: "Kharoshthi", 68097: "Kharoshthi", 68101: "Kharoshthi", 68108: "Kharoshthi", 68112: "Kharoshthi", 68117: "Kharoshthi", 68121: "Kharoshthi", 68152: "Kharoshthi", 68159: "Kharoshthi", 68160: "Kharoshthi", 68176: "Kharoshthi", 68192: "Old_South_Arabian", 68221: "Old_South_Arabian", 68223: "Old_South_Arabian", 68224: "Old_North_Arabian", 68253: "Old_North_Arabian", 68288: "Manichaean", 68296: "Manichaean", 68297: "Manichaean", 68325: "Manichaean", 68331: "Manichaean", 68336: "Manichaean", 68352: "Avestan", 68409: "Avestan", 68416: "Inscriptional_Parthian", 68440: "Inscriptional_Parthian", 68448: "Inscriptional_Pahlavi", 68472: "Inscriptional_Pahlavi", 68480: "Psalter_Pahlavi", 68505: "Psalter_Pahlavi", 68521: "Psalter_Pahlavi", 68608: "Old_Turkic", 68736: "Old_Hungarian", 68800: "Old_Hungarian", 68858: "Old_Hungarian", 68864: "Hanifi_Rohingya", 68900: "Hanifi_Rohingya", 68912: "Hanifi_Rohingya", 69216: "Arabic", 69248: "Yezidi", 69291: "Yezidi", 69293: "Yezidi", 69296: "Yezidi", 69376: "Old_Sogdian", 69405: "Old_Sogdian", 69415: "Old_Sogdian", 69424: "Sogdian", 69446: "Sogdian", 69457: "Sogdian", 69461: "Sogdian", 69552: "Chorasmian", 69573: "Chorasmian", 69600: "Elymaic", 69632: "Brahmi", 69633: "Brahmi", 69634: "Brahmi", 69635: "Brahmi", 69688: "Brahmi", 69703: "Brahmi", 69714: "Brahmi", 69734: "Brahmi", 69759: "Brahmi", 69760: "Kaithi", 69762: "Kaithi", 69763: "Kaithi", 69808: "Kaithi", 69811: "Kaithi", 69815: "Kaithi", 69817: "Kaithi", 69819: "Kaithi", 69821: "Kaithi", 69822: "Kaithi", 69837: "Kaithi", 69840: "Sora_Sompeng", 69872: "Sora_Sompeng", 69888: "Chakma", 69891: "Chakma", 69927: "Chakma", 69932: "Chakma", 69933: "Chakma", 69942: "Chakma", 69952: "Chakma", 69956: "Chakma", 69957: "Chakma", 69959: "Chakma", 69968: "Mahajani", 70003: "Mahajani", 70004: "Mahajani", 70006: "Mahajani", 70016: "Sharada", 70018: "Sharada", 70019: "Sharada", 70067: "Sharada", 70070: "Sharada", 70079: "Sharada", 70081: "Sharada", 70085: "Sharada", 70089: "Sharada", 70093: "Sharada", 70094: "Sharada", 70095: "Sharada", 70096: "Sharada", 70106: "Sharada", 70107: "Sharada", 70108: "Sharada", 70109: "Sharada", 70113: "Sinhala", 70144: "Khojki", 70163: "Khojki", 70188: "Khojki", 70191: "Khojki", 70194: "Khojki", 70196: "Khojki", 70197: "Khojki", 70198: "Khojki", 70200: "Khojki", 70206: "Khojki", 70272: "Multani", 70280: "Multani", 70282: "Multani", 70287: "Multani", 70303: "Multani", 70313: "Multani", 70320: "Khudawadi", 70367: "Khudawadi", 70368: "Khudawadi", 70371: "Khudawadi", 70384: "Khudawadi", 70400: "Grantha", 70402: "Grantha", 70405: "Grantha", 70415: "Grantha", 70419: "Grantha", 70442: "Grantha", 70450: "Grantha", 70453: "Grantha", 70459: "Inherited", 70460: "Grantha", 70461: "Grantha", 70462: "Grantha", 70464: "Grantha", 70465: "Grantha", 70471: "Grantha", 70475: "Grantha", 70480: "Grantha", 70487: "Grantha", 70493: "Grantha", 70498: "Grantha", 70502: "Grantha", 70512: "Grantha", 70656: "Newa", 70709: "Newa", 70712: "Newa", 70720: "Newa", 70722: "Newa", 70725: "Newa", 70726: "Newa", 70727: "Newa", 70731: "Newa", 70736: "Newa", 70746: "Newa", 70749: "Newa", 70750: "Newa", 70751: "Newa", 70784: "Tirhuta", 70832: "Tirhuta", 70835: "Tirhuta", 70841: "Tirhuta", 70842: "Tirhuta", 70843: "Tirhuta", 70847: "Tirhuta", 70849: "Tirhuta", 70850: "Tirhuta", 70852: "Tirhuta", 70854: "Tirhuta", 70855: "Tirhuta", 70864: "Tirhuta", 71040: "Siddham", 71087: "Siddham", 71090: "Siddham", 71096: "Siddham", 71100: "Siddham", 71102: "Siddham", 71103: "Siddham", 71105: "Siddham", 71128: "Siddham", 71132: "Siddham", 71168: "Modi", 71216: "Modi", 71219: "Modi", 71227: "Modi", 71229: "Modi", 71230: "Modi", 71231: "Modi", 71233: "Modi", 71236: "Modi", 71248: "Modi", 71264: "Mongolian", 71296: "Takri", 71339: "Takri", 71340: "Takri", 71341: "Takri", 71342: "Takri", 71344: "Takri", 71350: "Takri", 71351: "Takri", 71352: "Takri", 71360: "Takri", 71424: "Ahom", 71453: "Ahom", 71456: "Ahom", 71458: "Ahom", 71462: "Ahom", 71463: "Ahom", 71472: "Ahom", 71482: "Ahom", 71484: "Ahom", 71487: "Ahom", 71680: "Dogra", 71724: "Dogra", 71727: "Dogra", 71736: "Dogra", 71737: "Dogra", 71739: "Dogra", 71840: "Warang_Citi", 71904: "Warang_Citi", 71914: "Warang_Citi", 71935: "Warang_Citi", 71936: "Dives_Akuru", 71945: "Dives_Akuru", 71948: "Dives_Akuru", 71957: "Dives_Akuru", 71960: "Dives_Akuru", 71984: "Dives_Akuru", 71991: "Dives_Akuru", 71995: "Dives_Akuru", 71997: "Dives_Akuru", 71998: "Dives_Akuru", 71999: "Dives_Akuru", 72000: "Dives_Akuru", 72001: "Dives_Akuru", 72002: "Dives_Akuru", 72003: "Dives_Akuru", 72004: "Dives_Akuru", 72016: "Dives_Akuru", 72096: "Nandinagari", 72106: "Nandinagari", 72145: "Nandinagari", 72148: "Nandinagari", 72154: "Nandinagari", 72156: "Nandinagari", 72160: "Nandinagari", 72161: "Nandinagari", 72162: "Nandinagari", 72163: "Nandinagari", 72164: "Nandinagari", 72192: "Zanabazar_Square", 72193: "Zanabazar_Square", 72203: "Zanabazar_Square", 72243: "Zanabazar_Square", 72249: "Zanabazar_Square", 72250: "Zanabazar_Square", 72251: "Zanabazar_Square", 72255: "Zanabazar_Square", 72263: "Zanabazar_Square", 72272: "Soyombo", 72273: "Soyombo", 72279: "Soyombo", 72281: "Soyombo", 72284: "Soyombo", 72330: "Soyombo", 72343: "Soyombo", 72344: "Soyombo", 72346: "Soyombo", 72349: "Soyombo", 72350: "Soyombo", 72384: "Pau_Cin_Hau", 72704: "Bhaiksuki", 72714: "Bhaiksuki", 72751: "Bhaiksuki", 72752: "Bhaiksuki", 72760: "Bhaiksuki", 72766: "Bhaiksuki", 72767: "Bhaiksuki", 72768: "Bhaiksuki", 72769: "Bhaiksuki", 72784: "Bhaiksuki", 72794: "Bhaiksuki", 72816: "Marchen", 72818: "Marchen", 72850: "Marchen", 72873: "Marchen", 72874: "Marchen", 72881: "Marchen", 72882: "Marchen", 72884: "Marchen", 72885: "Marchen", 72960: "Masaram_Gondi", 72968: "Masaram_Gondi", 72971: "Masaram_Gondi", 73009: "Masaram_Gondi", 73018: "Masaram_Gondi", 73020: "Masaram_Gondi", 73023: "Masaram_Gondi", 73030: "Masaram_Gondi", 73031: "Masaram_Gondi", 73040: "Masaram_Gondi", 73056: "Gunjala_Gondi", 73063: "Gunjala_Gondi", 73066: "Gunjala_Gondi", 73098: "Gunjala_Gondi", 73104: "Gunjala_Gondi", 73107: "Gunjala_Gondi", 73109: "Gunjala_Gondi", 73110: "Gunjala_Gondi", 73111: "Gunjala_Gondi", 73112: "Gunjala_Gondi", 73120: "Gunjala_Gondi", 73440: "Makasar", 73459: "Makasar", 73461: "Makasar", 73463: "Makasar", 73648: "Lisu", 73664: "Tamil", 73685: "Tamil", 73693: "Tamil", 73697: "Tamil", 73727: "Tamil", 73728: "Cuneiform", 74752: "Cuneiform", 74864: "Cuneiform", 74880: "Cuneiform", 77824: "Egyptian_Hieroglyphs", 78896: "Egyptian_Hieroglyphs", 82944: "Anatolian_Hieroglyphs", 92160: "Bamum", 92736: "Mro", 92768: "Mro", 92782: "Mro", 92880: "Bassa_Vah", 92912: "Bassa_Vah", 92917: "Bassa_Vah", 92928: "Pahawh_Hmong", 92976: "Pahawh_Hmong", 92983: "Pahawh_Hmong", 92988: "Pahawh_Hmong", 92992: "Pahawh_Hmong", 92996: "Pahawh_Hmong", 92997: "Pahawh_Hmong", 93008: "Pahawh_Hmong", 93019: "Pahawh_Hmong", 93027: "Pahawh_Hmong", 93053: "Pahawh_Hmong", 93760: "Medefaidrin", 93824: "Medefaidrin", 93847: "Medefaidrin", 93952: "Miao", 94031: "Miao", 94032: "Miao", 94033: "Miao", 94095: "Miao", 94099: "Miao", 94176: "Tangut", 94177: "Nushu", 94178: "Common", 94179: "Common", 94180: "Khitan_Small_Script", 94192: "Han", 94208: "Tangut", 100352: "Tangut", 101120: "Khitan_Small_Script", 101632: "Tangut", 110592: "Katakana", 110593: "Hiragana", 110928: "Hiragana", 110948: "Katakana", 110960: "Nushu", 113664: "Duployan", 113776: "Duployan", 113792: "Duployan", 113808: "Duployan", 113820: "Duployan", 113821: "Duployan", 113823: "Duployan", 113824: "Common", 118784: "Common", 119040: "Common", 119081: "Common", 119141: "Common", 119143: "Inherited", 119146: "Common", 119149: "Common", 119155: "Common", 119163: "Inherited", 119171: "Common", 119173: "Inherited", 119180: "Common", 119210: "Inherited", 119214: "Common", 119296: "Greek", 119362: "Greek", 119365: "Greek", 119520: "Common", 119552: "Common", 119648: "Common", 119808: "Common", 119894: "Common", 119966: "Common", 119970: "Common", 119973: "Common", 119977: "Common", 119982: "Common", 119995: "Common", 119997: "Common", 120005: "Common", 120071: "Common", 120077: "Common", 120086: "Common", 120094: "Common", 120123: "Common", 120128: "Common", 120134: "Common", 120138: "Common", 120146: "Common", 120488: "Common", 120513: "Common", 120514: "Common", 120539: "Common", 120540: "Common", 120571: "Common", 120572: "Common", 120597: "Common", 120598: "Common", 120629: "Common", 120630: "Common", 120655: "Common", 120656: "Common", 120687: "Common", 120688: "Common", 120713: "Common", 120714: "Common", 120745: "Common", 120746: "Common", 120771: "Common", 120772: "Common", 120782: "Common", 120832: "SignWriting", 121344: "SignWriting", 121399: "SignWriting", 121403: "SignWriting", 121453: "SignWriting", 121461: "SignWriting", 121462: "SignWriting", 121476: "SignWriting", 121477: "SignWriting", 121479: "SignWriting", 121499: "SignWriting", 121505: "SignWriting", 122880: "Glagolitic", 122888: "Glagolitic", 122907: "Glagolitic", 122915: "Glagolitic", 122918: "Glagolitic", 123136: "Nyiakeng_Puachue_Hmong", 123184: "Nyiakeng_Puachue_Hmong", 123191: "Nyiakeng_Puachue_Hmong", 123200: "Nyiakeng_Puachue_Hmong", 123214: "Nyiakeng_Puachue_Hmong", 123215: "Nyiakeng_Puachue_Hmong", 123584: "Wancho", 123628: "Wancho", 123632: "Wancho", 123647: "Wancho", 124928: "Mende_Kikakui", 125127: "Mende_Kikakui", 125136: "Mende_Kikakui", 125184: "Adlam", 125252: "Adlam", 125259: "Adlam", 125264: "Adlam", 125278: "Adlam", 126065: "Common", 126124: "Common", 126125: "Common", 126128: "Common", 126129: "Common", 126209: "Common", 126254: "Common", 126255: "Common", 126464: "Arabic", 126469: "Arabic", 126497: "Arabic", 126500: "Arabic", 126503: "Arabic", 126505: "Arabic", 126516: "Arabic", 126521: "Arabic", 126523: "Arabic", 126530: "Arabic", 126535: "Arabic", 126537: "Arabic", 126539: "Arabic", 126541: "Arabic", 126545: "Arabic", 126548: "Arabic", 126551: "Arabic", 126553: "Arabic", 126555: "Arabic", 126557: "Arabic", 126559: "Arabic", 126561: "Arabic", 126564: "Arabic", 126567: "Arabic", 126572: "Arabic", 126580: "Arabic", 126585: "Arabic", 126590: "Arabic", 126592: "Arabic", 126603: "Arabic", 126625: "Arabic", 126629: "Arabic", 126635: "Arabic", 126704: "Arabic", 126976: "Common", 127024: "Common", 127136: "Common", 127153: "Common", 127169: "Common", 127185: "Common", 127232: "Common", 127245: "Common", 127462: "Common", 127488: "Hiragana", 127489: "Common", 127504: "Common", 127552: "Common", 127568: "Common", 127584: "Common", 127744: "Common", 127995: "Common", 128000: "Common", 128736: "Common", 128752: "Common", 128768: "Common", 128896: "Common", 128992: "Common", 129024: "Common", 129040: "Common", 129104: "Common", 129120: "Common", 129168: "Common", 129200: "Common", 129280: "Common", 129402: "Common", 129485: "Common", 129632: "Common", 129648: "Common", 129656: "Common", 129664: "Common", 129680: "Common", 129712: "Common", 129728: "Common", 129744: "Common", 129792: "Common", 129940: "Common", 130032: "Common", 131072: "Han", 173824: "Han", 177984: "Han", 178208: "Han", 183984: "Han", 194560: "Han", 196608: "Han", 917505: "Common", 917536: "Common", 917760: "Inherited", }
scripts_to_script_start = {0: 'Common', 32: 'Common', 33: 'Common', 36: 'Common', 37: 'Common', 40: 'Common', 41: 'Common', 42: 'Common', 43: 'Common', 44: 'Common', 45: 'Common', 46: 'Common', 48: 'Common', 58: 'Common', 60: 'Common', 63: 'Common', 65: 'Latin', 91: 'Common', 92: 'Common', 93: 'Common', 94: 'Common', 95: 'Common', 96: 'Common', 97: 'Latin', 123: 'Common', 124: 'Common', 125: 'Common', 126: 'Common', 127: 'Common', 160: 'Common', 161: 'Common', 162: 'Common', 166: 'Common', 167: 'Common', 168: 'Common', 169: 'Common', 170: 'Latin', 171: 'Common', 172: 'Common', 173: 'Common', 174: 'Common', 175: 'Common', 176: 'Common', 177: 'Common', 178: 'Common', 180: 'Common', 181: 'Common', 182: 'Common', 184: 'Common', 185: 'Common', 186: 'Latin', 187: 'Common', 188: 'Common', 191: 'Common', 192: 'Latin', 215: 'Common', 216: 'Latin', 247: 'Common', 248: 'Latin', 443: 'Latin', 444: 'Latin', 448: 'Latin', 452: 'Latin', 660: 'Latin', 661: 'Latin', 688: 'Latin', 697: 'Common', 706: 'Common', 710: 'Common', 722: 'Common', 736: 'Latin', 741: 'Common', 746: 'Bopomofo', 748: 'Common', 749: 'Common', 750: 'Common', 751: 'Common', 768: 'Inherited', 880: 'Greek', 884: 'Common', 885: 'Greek', 886: 'Greek', 890: 'Greek', 891: 'Greek', 894: 'Common', 895: 'Greek', 900: 'Greek', 901: 'Common', 902: 'Greek', 903: 'Common', 904: 'Greek', 908: 'Greek', 910: 'Greek', 931: 'Greek', 994: 'Coptic', 1008: 'Greek', 1014: 'Greek', 1015: 'Greek', 1024: 'Cyrillic', 1154: 'Cyrillic', 1155: 'Cyrillic', 1157: 'Inherited', 1159: 'Cyrillic', 1160: 'Cyrillic', 1162: 'Cyrillic', 1329: 'Armenian', 1369: 'Armenian', 1370: 'Armenian', 1376: 'Armenian', 1417: 'Armenian', 1418: 'Armenian', 1421: 'Armenian', 1423: 'Armenian', 1425: 'Hebrew', 1470: 'Hebrew', 1471: 'Hebrew', 1472: 'Hebrew', 1473: 'Hebrew', 1475: 'Hebrew', 1476: 'Hebrew', 1478: 'Hebrew', 1479: 'Hebrew', 1488: 'Hebrew', 1519: 'Hebrew', 1523: 'Hebrew', 1536: 'Arabic', 1541: 'Common', 1542: 'Arabic', 1545: 'Arabic', 1547: 'Arabic', 1548: 'Common', 1549: 'Arabic', 1550: 'Arabic', 1552: 'Arabic', 1563: 'Common', 1564: 'Arabic', 1566: 'Arabic', 1567: 'Common', 1568: 'Arabic', 1600: 'Common', 1601: 'Arabic', 1611: 'Inherited', 1622: 'Arabic', 1632: 'Arabic', 1642: 'Arabic', 1646: 'Arabic', 1648: 'Inherited', 1649: 'Arabic', 1748: 'Arabic', 1749: 'Arabic', 1750: 'Arabic', 1757: 'Common', 1758: 'Arabic', 1759: 'Arabic', 1765: 'Arabic', 1767: 'Arabic', 1769: 'Arabic', 1770: 'Arabic', 1774: 'Arabic', 1776: 'Arabic', 1786: 'Arabic', 1789: 'Arabic', 1791: 'Arabic', 1792: 'Syriac', 1807: 'Syriac', 1808: 'Syriac', 1809: 'Syriac', 1810: 'Syriac', 1840: 'Syriac', 1869: 'Syriac', 1872: 'Arabic', 1920: 'Thaana', 1958: 'Thaana', 1969: 'Thaana', 1984: 'Nko', 1994: 'Nko', 2027: 'Nko', 2036: 'Nko', 2038: 'Nko', 2039: 'Nko', 2042: 'Nko', 2045: 'Nko', 2046: 'Nko', 2048: 'Samaritan', 2070: 'Samaritan', 2074: 'Samaritan', 2075: 'Samaritan', 2084: 'Samaritan', 2085: 'Samaritan', 2088: 'Samaritan', 2089: 'Samaritan', 2096: 'Samaritan', 2112: 'Mandaic', 2137: 'Mandaic', 2142: 'Mandaic', 2144: 'Syriac', 2208: 'Arabic', 2230: 'Arabic', 2259: 'Arabic', 2274: 'Common', 2275: 'Arabic', 2304: 'Devanagari', 2307: 'Devanagari', 2308: 'Devanagari', 2362: 'Devanagari', 2363: 'Devanagari', 2364: 'Devanagari', 2365: 'Devanagari', 2366: 'Devanagari', 2369: 'Devanagari', 2377: 'Devanagari', 2381: 'Devanagari', 2382: 'Devanagari', 2384: 'Devanagari', 2385: 'Inherited', 2389: 'Devanagari', 2392: 'Devanagari', 2402: 'Devanagari', 2404: 'Common', 2406: 'Devanagari', 2416: 'Devanagari', 2417: 'Devanagari', 2418: 'Devanagari', 2432: 'Bengali', 2433: 'Bengali', 2434: 'Bengali', 2437: 'Bengali', 2447: 'Bengali', 2451: 'Bengali', 2474: 'Bengali', 2482: 'Bengali', 2486: 'Bengali', 2492: 'Bengali', 2493: 'Bengali', 2494: 'Bengali', 2497: 'Bengali', 2503: 'Bengali', 2507: 'Bengali', 2509: 'Bengali', 2510: 'Bengali', 2519: 'Bengali', 2524: 'Bengali', 2527: 'Bengali', 2530: 'Bengali', 2534: 'Bengali', 2544: 'Bengali', 2546: 'Bengali', 2548: 'Bengali', 2554: 'Bengali', 2555: 'Bengali', 2556: 'Bengali', 2557: 'Bengali', 2558: 'Bengali', 2561: 'Gurmukhi', 2563: 'Gurmukhi', 2565: 'Gurmukhi', 2575: 'Gurmukhi', 2579: 'Gurmukhi', 2602: 'Gurmukhi', 2610: 'Gurmukhi', 2613: 'Gurmukhi', 2616: 'Gurmukhi', 2620: 'Gurmukhi', 2622: 'Gurmukhi', 2625: 'Gurmukhi', 2631: 'Gurmukhi', 2635: 'Gurmukhi', 2641: 'Gurmukhi', 2649: 'Gurmukhi', 2654: 'Gurmukhi', 2662: 'Gurmukhi', 2672: 'Gurmukhi', 2674: 'Gurmukhi', 2677: 'Gurmukhi', 2678: 'Gurmukhi', 2689: 'Gujarati', 2691: 'Gujarati', 2693: 'Gujarati', 2703: 'Gujarati', 2707: 'Gujarati', 2730: 'Gujarati', 2738: 'Gujarati', 2741: 'Gujarati', 2748: 'Gujarati', 2749: 'Gujarati', 2750: 'Gujarati', 2753: 'Gujarati', 2759: 'Gujarati', 2761: 'Gujarati', 2763: 'Gujarati', 2765: 'Gujarati', 2768: 'Gujarati', 2784: 'Gujarati', 2786: 'Gujarati', 2790: 'Gujarati', 2800: 'Gujarati', 2801: 'Gujarati', 2809: 'Gujarati', 2810: 'Gujarati', 2817: 'Oriya', 2818: 'Oriya', 2821: 'Oriya', 2831: 'Oriya', 2835: 'Oriya', 2858: 'Oriya', 2866: 'Oriya', 2869: 'Oriya', 2876: 'Oriya', 2877: 'Oriya', 2878: 'Oriya', 2879: 'Oriya', 2880: 'Oriya', 2881: 'Oriya', 2887: 'Oriya', 2891: 'Oriya', 2893: 'Oriya', 2901: 'Oriya', 2903: 'Oriya', 2908: 'Oriya', 2911: 'Oriya', 2914: 'Oriya', 2918: 'Oriya', 2928: 'Oriya', 2929: 'Oriya', 2930: 'Oriya', 2946: 'Tamil', 2947: 'Tamil', 2949: 'Tamil', 2958: 'Tamil', 2962: 'Tamil', 2969: 'Tamil', 2972: 'Tamil', 2974: 'Tamil', 2979: 'Tamil', 2984: 'Tamil', 2990: 'Tamil', 3006: 'Tamil', 3008: 'Tamil', 3009: 'Tamil', 3014: 'Tamil', 3018: 'Tamil', 3021: 'Tamil', 3024: 'Tamil', 3031: 'Tamil', 3046: 'Tamil', 3056: 'Tamil', 3059: 'Tamil', 3065: 'Tamil', 3066: 'Tamil', 3072: 'Telugu', 3073: 'Telugu', 3076: 'Telugu', 3077: 'Telugu', 3086: 'Telugu', 3090: 'Telugu', 3114: 'Telugu', 3133: 'Telugu', 3134: 'Telugu', 3137: 'Telugu', 3142: 'Telugu', 3146: 'Telugu', 3157: 'Telugu', 3160: 'Telugu', 3168: 'Telugu', 3170: 'Telugu', 3174: 'Telugu', 3191: 'Telugu', 3192: 'Telugu', 3199: 'Telugu', 3200: 'Kannada', 3201: 'Kannada', 3202: 'Kannada', 3204: 'Kannada', 3205: 'Kannada', 3214: 'Kannada', 3218: 'Kannada', 3242: 'Kannada', 3253: 'Kannada', 3260: 'Kannada', 3261: 'Kannada', 3262: 'Kannada', 3263: 'Kannada', 3264: 'Kannada', 3270: 'Kannada', 3271: 'Kannada', 3274: 'Kannada', 3276: 'Kannada', 3285: 'Kannada', 3294: 'Kannada', 3296: 'Kannada', 3298: 'Kannada', 3302: 'Kannada', 3313: 'Kannada', 3328: 'Malayalam', 3330: 'Malayalam', 3332: 'Malayalam', 3342: 'Malayalam', 3346: 'Malayalam', 3387: 'Malayalam', 3389: 'Malayalam', 3390: 'Malayalam', 3393: 'Malayalam', 3398: 'Malayalam', 3402: 'Malayalam', 3405: 'Malayalam', 3406: 'Malayalam', 3407: 'Malayalam', 3412: 'Malayalam', 3415: 'Malayalam', 3416: 'Malayalam', 3423: 'Malayalam', 3426: 'Malayalam', 3430: 'Malayalam', 3440: 'Malayalam', 3449: 'Malayalam', 3450: 'Malayalam', 3457: 'Sinhala', 3458: 'Sinhala', 3461: 'Sinhala', 3482: 'Sinhala', 3507: 'Sinhala', 3517: 'Sinhala', 3520: 'Sinhala', 3530: 'Sinhala', 3535: 'Sinhala', 3538: 'Sinhala', 3542: 'Sinhala', 3544: 'Sinhala', 3558: 'Sinhala', 3570: 'Sinhala', 3572: 'Sinhala', 3585: 'Thai', 3633: 'Thai', 3634: 'Thai', 3636: 'Thai', 3647: 'Common', 3648: 'Thai', 3654: 'Thai', 3655: 'Thai', 3663: 'Thai', 3664: 'Thai', 3674: 'Thai', 3713: 'Lao', 3716: 'Lao', 3718: 'Lao', 3724: 'Lao', 3749: 'Lao', 3751: 'Lao', 3761: 'Lao', 3762: 'Lao', 3764: 'Lao', 3773: 'Lao', 3776: 'Lao', 3782: 'Lao', 3784: 'Lao', 3792: 'Lao', 3804: 'Lao', 3840: 'Tibetan', 3841: 'Tibetan', 3844: 'Tibetan', 3859: 'Tibetan', 3860: 'Tibetan', 3861: 'Tibetan', 3864: 'Tibetan', 3866: 'Tibetan', 3872: 'Tibetan', 3882: 'Tibetan', 3892: 'Tibetan', 3893: 'Tibetan', 3894: 'Tibetan', 3895: 'Tibetan', 3896: 'Tibetan', 3897: 'Tibetan', 3898: 'Tibetan', 3899: 'Tibetan', 3900: 'Tibetan', 3901: 'Tibetan', 3902: 'Tibetan', 3904: 'Tibetan', 3913: 'Tibetan', 3953: 'Tibetan', 3967: 'Tibetan', 3968: 'Tibetan', 3973: 'Tibetan', 3974: 'Tibetan', 3976: 'Tibetan', 3981: 'Tibetan', 3993: 'Tibetan', 4030: 'Tibetan', 4038: 'Tibetan', 4039: 'Tibetan', 4046: 'Tibetan', 4048: 'Tibetan', 4053: 'Common', 4057: 'Tibetan', 4096: 'Myanmar', 4139: 'Myanmar', 4141: 'Myanmar', 4145: 'Myanmar', 4146: 'Myanmar', 4152: 'Myanmar', 4153: 'Myanmar', 4155: 'Myanmar', 4157: 'Myanmar', 4159: 'Myanmar', 4160: 'Myanmar', 4170: 'Myanmar', 4176: 'Myanmar', 4182: 'Myanmar', 4184: 'Myanmar', 4186: 'Myanmar', 4190: 'Myanmar', 4193: 'Myanmar', 4194: 'Myanmar', 4197: 'Myanmar', 4199: 'Myanmar', 4206: 'Myanmar', 4209: 'Myanmar', 4213: 'Myanmar', 4226: 'Myanmar', 4227: 'Myanmar', 4229: 'Myanmar', 4231: 'Myanmar', 4237: 'Myanmar', 4238: 'Myanmar', 4239: 'Myanmar', 4240: 'Myanmar', 4250: 'Myanmar', 4253: 'Myanmar', 4254: 'Myanmar', 4256: 'Georgian', 4295: 'Georgian', 4301: 'Georgian', 4304: 'Georgian', 4347: 'Common', 4348: 'Georgian', 4349: 'Georgian', 4352: 'Hangul', 4608: 'Ethiopic', 4682: 'Ethiopic', 4688: 'Ethiopic', 4696: 'Ethiopic', 4698: 'Ethiopic', 4704: 'Ethiopic', 4746: 'Ethiopic', 4752: 'Ethiopic', 4786: 'Ethiopic', 4792: 'Ethiopic', 4800: 'Ethiopic', 4802: 'Ethiopic', 4808: 'Ethiopic', 4824: 'Ethiopic', 4882: 'Ethiopic', 4888: 'Ethiopic', 4957: 'Ethiopic', 4960: 'Ethiopic', 4969: 'Ethiopic', 4992: 'Ethiopic', 5008: 'Ethiopic', 5024: 'Cherokee', 5112: 'Cherokee', 5120: 'Canadian_Aboriginal', 5121: 'Canadian_Aboriginal', 5741: 'Canadian_Aboriginal', 5742: 'Canadian_Aboriginal', 5743: 'Canadian_Aboriginal', 5760: 'Ogham', 5761: 'Ogham', 5787: 'Ogham', 5788: 'Ogham', 5792: 'Runic', 5867: 'Common', 5870: 'Runic', 5873: 'Runic', 5888: 'Tagalog', 5902: 'Tagalog', 5906: 'Tagalog', 5920: 'Hanunoo', 5938: 'Hanunoo', 5941: 'Common', 5952: 'Buhid', 5970: 'Buhid', 5984: 'Tagbanwa', 5998: 'Tagbanwa', 6002: 'Tagbanwa', 6016: 'Khmer', 6068: 'Khmer', 6070: 'Khmer', 6071: 'Khmer', 6078: 'Khmer', 6086: 'Khmer', 6087: 'Khmer', 6089: 'Khmer', 6100: 'Khmer', 6103: 'Khmer', 6104: 'Khmer', 6107: 'Khmer', 6108: 'Khmer', 6109: 'Khmer', 6112: 'Khmer', 6128: 'Khmer', 6144: 'Mongolian', 6146: 'Common', 6148: 'Mongolian', 6149: 'Common', 6150: 'Mongolian', 6151: 'Mongolian', 6155: 'Mongolian', 6158: 'Mongolian', 6160: 'Mongolian', 6176: 'Mongolian', 6211: 'Mongolian', 6212: 'Mongolian', 6272: 'Mongolian', 6277: 'Mongolian', 6279: 'Mongolian', 6313: 'Mongolian', 6314: 'Mongolian', 6320: 'Canadian_Aboriginal', 6400: 'Limbu', 6432: 'Limbu', 6435: 'Limbu', 6439: 'Limbu', 6441: 'Limbu', 6448: 'Limbu', 6450: 'Limbu', 6451: 'Limbu', 6457: 'Limbu', 6464: 'Limbu', 6468: 'Limbu', 6470: 'Limbu', 6480: 'Tai_Le', 6512: 'Tai_Le', 6528: 'New_Tai_Lue', 6576: 'New_Tai_Lue', 6608: 'New_Tai_Lue', 6618: 'New_Tai_Lue', 6622: 'New_Tai_Lue', 6624: 'Khmer', 6656: 'Buginese', 6679: 'Buginese', 6681: 'Buginese', 6683: 'Buginese', 6686: 'Buginese', 6688: 'Tai_Tham', 6741: 'Tai_Tham', 6742: 'Tai_Tham', 6743: 'Tai_Tham', 6744: 'Tai_Tham', 6752: 'Tai_Tham', 6753: 'Tai_Tham', 6754: 'Tai_Tham', 6755: 'Tai_Tham', 6757: 'Tai_Tham', 6765: 'Tai_Tham', 6771: 'Tai_Tham', 6783: 'Tai_Tham', 6784: 'Tai_Tham', 6800: 'Tai_Tham', 6816: 'Tai_Tham', 6823: 'Tai_Tham', 6824: 'Tai_Tham', 6832: 'Inherited', 6846: 'Inherited', 6847: 'Inherited', 6912: 'Balinese', 6916: 'Balinese', 6917: 'Balinese', 6964: 'Balinese', 6965: 'Balinese', 6966: 'Balinese', 6971: 'Balinese', 6972: 'Balinese', 6973: 'Balinese', 6978: 'Balinese', 6979: 'Balinese', 6981: 'Balinese', 6992: 'Balinese', 7002: 'Balinese', 7009: 'Balinese', 7019: 'Balinese', 7028: 'Balinese', 7040: 'Sundanese', 7042: 'Sundanese', 7043: 'Sundanese', 7073: 'Sundanese', 7074: 'Sundanese', 7078: 'Sundanese', 7080: 'Sundanese', 7082: 'Sundanese', 7083: 'Sundanese', 7086: 'Sundanese', 7088: 'Sundanese', 7098: 'Sundanese', 7104: 'Batak', 7142: 'Batak', 7143: 'Batak', 7144: 'Batak', 7146: 'Batak', 7149: 'Batak', 7150: 'Batak', 7151: 'Batak', 7154: 'Batak', 7164: 'Batak', 7168: 'Lepcha', 7204: 'Lepcha', 7212: 'Lepcha', 7220: 'Lepcha', 7222: 'Lepcha', 7227: 'Lepcha', 7232: 'Lepcha', 7245: 'Lepcha', 7248: 'Ol_Chiki', 7258: 'Ol_Chiki', 7288: 'Ol_Chiki', 7294: 'Ol_Chiki', 7296: 'Cyrillic', 7312: 'Georgian', 7357: 'Georgian', 7360: 'Sundanese', 7376: 'Inherited', 7379: 'Common', 7380: 'Inherited', 7393: 'Common', 7394: 'Inherited', 7401: 'Common', 7405: 'Inherited', 7406: 'Common', 7412: 'Inherited', 7413: 'Common', 7415: 'Common', 7416: 'Inherited', 7418: 'Common', 7424: 'Latin', 7462: 'Greek', 7467: 'Cyrillic', 7468: 'Latin', 7517: 'Greek', 7522: 'Latin', 7526: 'Greek', 7531: 'Latin', 7544: 'Cyrillic', 7545: 'Latin', 7579: 'Latin', 7615: 'Greek', 7616: 'Inherited', 7675: 'Inherited', 7680: 'Latin', 7936: 'Greek', 7960: 'Greek', 7968: 'Greek', 8008: 'Greek', 8016: 'Greek', 8025: 'Greek', 8027: 'Greek', 8029: 'Greek', 8031: 'Greek', 8064: 'Greek', 8118: 'Greek', 8125: 'Greek', 8126: 'Greek', 8127: 'Greek', 8130: 'Greek', 8134: 'Greek', 8141: 'Greek', 8144: 'Greek', 8150: 'Greek', 8157: 'Greek', 8160: 'Greek', 8173: 'Greek', 8178: 'Greek', 8182: 'Greek', 8189: 'Greek', 8192: 'Common', 8203: 'Common', 8204: 'Inherited', 8206: 'Common', 8208: 'Common', 8214: 'Common', 8216: 'Common', 8217: 'Common', 8218: 'Common', 8219: 'Common', 8221: 'Common', 8222: 'Common', 8223: 'Common', 8224: 'Common', 8232: 'Common', 8233: 'Common', 8234: 'Common', 8239: 'Common', 8240: 'Common', 8249: 'Common', 8250: 'Common', 8251: 'Common', 8255: 'Common', 8257: 'Common', 8260: 'Common', 8261: 'Common', 8262: 'Common', 8263: 'Common', 8274: 'Common', 8275: 'Common', 8276: 'Common', 8277: 'Common', 8287: 'Common', 8288: 'Common', 8294: 'Common', 8304: 'Common', 8305: 'Latin', 8308: 'Common', 8314: 'Common', 8317: 'Common', 8318: 'Common', 8319: 'Latin', 8320: 'Common', 8330: 'Common', 8333: 'Common', 8334: 'Common', 8336: 'Latin', 8352: 'Common', 8400: 'Inherited', 8413: 'Inherited', 8417: 'Inherited', 8418: 'Inherited', 8421: 'Inherited', 8448: 'Common', 8450: 'Common', 8451: 'Common', 8455: 'Common', 8456: 'Common', 8458: 'Common', 8468: 'Common', 8469: 'Common', 8470: 'Common', 8472: 'Common', 8473: 'Common', 8478: 'Common', 8484: 'Common', 8485: 'Common', 8486: 'Greek', 8487: 'Common', 8488: 'Common', 8489: 'Common', 8490: 'Latin', 8492: 'Common', 8494: 'Common', 8495: 'Common', 8498: 'Latin', 8499: 'Common', 8501: 'Common', 8505: 'Common', 8506: 'Common', 8508: 'Common', 8512: 'Common', 8517: 'Common', 8522: 'Common', 8523: 'Common', 8524: 'Common', 8526: 'Latin', 8527: 'Common', 8528: 'Common', 8544: 'Latin', 8579: 'Latin', 8581: 'Latin', 8585: 'Common', 8586: 'Common', 8592: 'Common', 8597: 'Common', 8602: 'Common', 8604: 'Common', 8608: 'Common', 8609: 'Common', 8611: 'Common', 8612: 'Common', 8614: 'Common', 8615: 'Common', 8622: 'Common', 8623: 'Common', 8654: 'Common', 8656: 'Common', 8658: 'Common', 8659: 'Common', 8660: 'Common', 8661: 'Common', 8692: 'Common', 8960: 'Common', 8968: 'Common', 8969: 'Common', 8970: 'Common', 8971: 'Common', 8972: 'Common', 8992: 'Common', 8994: 'Common', 9001: 'Common', 9002: 'Common', 9003: 'Common', 9084: 'Common', 9085: 'Common', 9115: 'Common', 9140: 'Common', 9180: 'Common', 9186: 'Common', 9280: 'Common', 9312: 'Common', 9372: 'Common', 9450: 'Common', 9472: 'Common', 9655: 'Common', 9656: 'Common', 9665: 'Common', 9666: 'Common', 9720: 'Common', 9728: 'Common', 9839: 'Common', 9840: 'Common', 10088: 'Common', 10089: 'Common', 10090: 'Common', 10091: 'Common', 10092: 'Common', 10093: 'Common', 10094: 'Common', 10095: 'Common', 10096: 'Common', 10097: 'Common', 10098: 'Common', 10099: 'Common', 10100: 'Common', 10101: 'Common', 10102: 'Common', 10132: 'Common', 10176: 'Common', 10181: 'Common', 10182: 'Common', 10183: 'Common', 10214: 'Common', 10215: 'Common', 10216: 'Common', 10217: 'Common', 10218: 'Common', 10219: 'Common', 10220: 'Common', 10221: 'Common', 10222: 'Common', 10223: 'Common', 10224: 'Common', 10240: 'Braille', 10496: 'Common', 10627: 'Common', 10628: 'Common', 10629: 'Common', 10630: 'Common', 10631: 'Common', 10632: 'Common', 10633: 'Common', 10634: 'Common', 10635: 'Common', 10636: 'Common', 10637: 'Common', 10638: 'Common', 10639: 'Common', 10640: 'Common', 10641: 'Common', 10642: 'Common', 10643: 'Common', 10644: 'Common', 10645: 'Common', 10646: 'Common', 10647: 'Common', 10648: 'Common', 10649: 'Common', 10712: 'Common', 10713: 'Common', 10714: 'Common', 10715: 'Common', 10716: 'Common', 10748: 'Common', 10749: 'Common', 10750: 'Common', 11008: 'Common', 11056: 'Common', 11077: 'Common', 11079: 'Common', 11085: 'Common', 11126: 'Common', 11159: 'Common', 11264: 'Glagolitic', 11312: 'Glagolitic', 11360: 'Latin', 11388: 'Latin', 11390: 'Latin', 11392: 'Coptic', 11493: 'Coptic', 11499: 'Coptic', 11503: 'Coptic', 11506: 'Coptic', 11513: 'Coptic', 11517: 'Coptic', 11518: 'Coptic', 11520: 'Georgian', 11559: 'Georgian', 11565: 'Georgian', 11568: 'Tifinagh', 11631: 'Tifinagh', 11632: 'Tifinagh', 11647: 'Tifinagh', 11648: 'Ethiopic', 11680: 'Ethiopic', 11688: 'Ethiopic', 11696: 'Ethiopic', 11704: 'Ethiopic', 11712: 'Ethiopic', 11720: 'Ethiopic', 11728: 'Ethiopic', 11736: 'Ethiopic', 11744: 'Cyrillic', 11776: 'Common', 11778: 'Common', 11779: 'Common', 11780: 'Common', 11781: 'Common', 11782: 'Common', 11785: 'Common', 11786: 'Common', 11787: 'Common', 11788: 'Common', 11789: 'Common', 11790: 'Common', 11799: 'Common', 11800: 'Common', 11802: 'Common', 11803: 'Common', 11804: 'Common', 11805: 'Common', 11806: 'Common', 11808: 'Common', 11809: 'Common', 11810: 'Common', 11811: 'Common', 11812: 'Common', 11813: 'Common', 11814: 'Common', 11815: 'Common', 11816: 'Common', 11817: 'Common', 11818: 'Common', 11823: 'Common', 11824: 'Common', 11834: 'Common', 11836: 'Common', 11840: 'Common', 11841: 'Common', 11842: 'Common', 11843: 'Common', 11856: 'Common', 11858: 'Common', 11904: 'Han', 11931: 'Han', 12032: 'Han', 12272: 'Common', 12288: 'Common', 12289: 'Common', 12292: 'Common', 12293: 'Han', 12294: 'Common', 12295: 'Han', 12296: 'Common', 12297: 'Common', 12298: 'Common', 12299: 'Common', 12300: 'Common', 12301: 'Common', 12302: 'Common', 12303: 'Common', 12304: 'Common', 12305: 'Common', 12306: 'Common', 12308: 'Common', 12309: 'Common', 12310: 'Common', 12311: 'Common', 12312: 'Common', 12313: 'Common', 12314: 'Common', 12315: 'Common', 12316: 'Common', 12317: 'Common', 12318: 'Common', 12320: 'Common', 12321: 'Han', 12330: 'Inherited', 12334: 'Hangul', 12336: 'Common', 12337: 'Common', 12342: 'Common', 12344: 'Han', 12347: 'Han', 12348: 'Common', 12349: 'Common', 12350: 'Common', 12353: 'Hiragana', 12441: 'Inherited', 12443: 'Common', 12445: 'Hiragana', 12447: 'Hiragana', 12448: 'Common', 12449: 'Katakana', 12539: 'Common', 12540: 'Common', 12541: 'Katakana', 12543: 'Katakana', 12549: 'Bopomofo', 12593: 'Hangul', 12688: 'Common', 12690: 'Common', 12694: 'Common', 12704: 'Bopomofo', 12736: 'Common', 12784: 'Katakana', 12800: 'Hangul', 12832: 'Common', 12842: 'Common', 12872: 'Common', 12880: 'Common', 12881: 'Common', 12896: 'Hangul', 12927: 'Common', 12928: 'Common', 12938: 'Common', 12977: 'Common', 12992: 'Common', 13008: 'Katakana', 13055: 'Common', 13056: 'Katakana', 13144: 'Common', 13312: 'Han', 19904: 'Common', 19968: 'Han', 40960: 'Yi', 40981: 'Yi', 40982: 'Yi', 42128: 'Yi', 42192: 'Lisu', 42232: 'Lisu', 42238: 'Lisu', 42240: 'Vai', 42508: 'Vai', 42509: 'Vai', 42512: 'Vai', 42528: 'Vai', 42538: 'Vai', 42560: 'Cyrillic', 42606: 'Cyrillic', 42607: 'Cyrillic', 42608: 'Cyrillic', 42611: 'Cyrillic', 42612: 'Cyrillic', 42622: 'Cyrillic', 42623: 'Cyrillic', 42624: 'Cyrillic', 42652: 'Cyrillic', 42654: 'Cyrillic', 42656: 'Bamum', 42726: 'Bamum', 42736: 'Bamum', 42738: 'Bamum', 42752: 'Common', 42775: 'Common', 42784: 'Common', 42786: 'Latin', 42864: 'Latin', 42865: 'Latin', 42888: 'Common', 42889: 'Common', 42891: 'Latin', 42895: 'Latin', 42896: 'Latin', 42946: 'Latin', 42997: 'Latin', 42999: 'Latin', 43000: 'Latin', 43002: 'Latin', 43003: 'Latin', 43008: 'Syloti_Nagri', 43010: 'Syloti_Nagri', 43011: 'Syloti_Nagri', 43014: 'Syloti_Nagri', 43015: 'Syloti_Nagri', 43019: 'Syloti_Nagri', 43020: 'Syloti_Nagri', 43043: 'Syloti_Nagri', 43045: 'Syloti_Nagri', 43047: 'Syloti_Nagri', 43048: 'Syloti_Nagri', 43052: 'Syloti_Nagri', 43056: 'Common', 43062: 'Common', 43064: 'Common', 43065: 'Common', 43072: 'Phags_Pa', 43124: 'Phags_Pa', 43136: 'Saurashtra', 43138: 'Saurashtra', 43188: 'Saurashtra', 43204: 'Saurashtra', 43214: 'Saurashtra', 43216: 'Saurashtra', 43232: 'Devanagari', 43250: 'Devanagari', 43256: 'Devanagari', 43259: 'Devanagari', 43260: 'Devanagari', 43261: 'Devanagari', 43263: 'Devanagari', 43264: 'Kayah_Li', 43274: 'Kayah_Li', 43302: 'Kayah_Li', 43310: 'Common', 43311: 'Kayah_Li', 43312: 'Rejang', 43335: 'Rejang', 43346: 'Rejang', 43359: 'Rejang', 43360: 'Hangul', 43392: 'Javanese', 43395: 'Javanese', 43396: 'Javanese', 43443: 'Javanese', 43444: 'Javanese', 43446: 'Javanese', 43450: 'Javanese', 43452: 'Javanese', 43454: 'Javanese', 43457: 'Javanese', 43471: 'Common', 43472: 'Javanese', 43486: 'Javanese', 43488: 'Myanmar', 43493: 'Myanmar', 43494: 'Myanmar', 43495: 'Myanmar', 43504: 'Myanmar', 43514: 'Myanmar', 43520: 'Cham', 43561: 'Cham', 43567: 'Cham', 43569: 'Cham', 43571: 'Cham', 43573: 'Cham', 43584: 'Cham', 43587: 'Cham', 43588: 'Cham', 43596: 'Cham', 43597: 'Cham', 43600: 'Cham', 43612: 'Cham', 43616: 'Myanmar', 43632: 'Myanmar', 43633: 'Myanmar', 43639: 'Myanmar', 43642: 'Myanmar', 43643: 'Myanmar', 43644: 'Myanmar', 43645: 'Myanmar', 43646: 'Myanmar', 43648: 'Tai_Viet', 43696: 'Tai_Viet', 43697: 'Tai_Viet', 43698: 'Tai_Viet', 43701: 'Tai_Viet', 43703: 'Tai_Viet', 43705: 'Tai_Viet', 43710: 'Tai_Viet', 43712: 'Tai_Viet', 43713: 'Tai_Viet', 43714: 'Tai_Viet', 43739: 'Tai_Viet', 43741: 'Tai_Viet', 43742: 'Tai_Viet', 43744: 'Meetei_Mayek', 43755: 'Meetei_Mayek', 43756: 'Meetei_Mayek', 43758: 'Meetei_Mayek', 43760: 'Meetei_Mayek', 43762: 'Meetei_Mayek', 43763: 'Meetei_Mayek', 43765: 'Meetei_Mayek', 43766: 'Meetei_Mayek', 43777: 'Ethiopic', 43785: 'Ethiopic', 43793: 'Ethiopic', 43808: 'Ethiopic', 43816: 'Ethiopic', 43824: 'Latin', 43867: 'Common', 43868: 'Latin', 43872: 'Latin', 43877: 'Greek', 43878: 'Latin', 43881: 'Latin', 43882: 'Common', 43888: 'Cherokee', 43968: 'Meetei_Mayek', 44003: 'Meetei_Mayek', 44005: 'Meetei_Mayek', 44006: 'Meetei_Mayek', 44008: 'Meetei_Mayek', 44009: 'Meetei_Mayek', 44011: 'Meetei_Mayek', 44012: 'Meetei_Mayek', 44013: 'Meetei_Mayek', 44016: 'Meetei_Mayek', 44032: 'Hangul', 55216: 'Hangul', 55243: 'Hangul', 63744: 'Han', 64112: 'Han', 64256: 'Latin', 64275: 'Armenian', 64285: 'Hebrew', 64286: 'Hebrew', 64287: 'Hebrew', 64297: 'Hebrew', 64298: 'Hebrew', 64312: 'Hebrew', 64318: 'Hebrew', 64320: 'Hebrew', 64323: 'Hebrew', 64326: 'Hebrew', 64336: 'Arabic', 64434: 'Arabic', 64467: 'Arabic', 64830: 'Common', 64831: 'Common', 64848: 'Arabic', 64914: 'Arabic', 65008: 'Arabic', 65020: 'Arabic', 65021: 'Arabic', 65024: 'Inherited', 65040: 'Common', 65047: 'Common', 65048: 'Common', 65049: 'Common', 65056: 'Inherited', 65070: 'Cyrillic', 65072: 'Common', 65073: 'Common', 65075: 'Common', 65077: 'Common', 65078: 'Common', 65079: 'Common', 65080: 'Common', 65081: 'Common', 65082: 'Common', 65083: 'Common', 65084: 'Common', 65085: 'Common', 65086: 'Common', 65087: 'Common', 65088: 'Common', 65089: 'Common', 65090: 'Common', 65091: 'Common', 65092: 'Common', 65093: 'Common', 65095: 'Common', 65096: 'Common', 65097: 'Common', 65101: 'Common', 65104: 'Common', 65108: 'Common', 65112: 'Common', 65113: 'Common', 65114: 'Common', 65115: 'Common', 65116: 'Common', 65117: 'Common', 65118: 'Common', 65119: 'Common', 65122: 'Common', 65123: 'Common', 65124: 'Common', 65128: 'Common', 65129: 'Common', 65130: 'Common', 65136: 'Arabic', 65142: 'Arabic', 65279: 'Common', 65281: 'Common', 65284: 'Common', 65285: 'Common', 65288: 'Common', 65289: 'Common', 65290: 'Common', 65291: 'Common', 65292: 'Common', 65293: 'Common', 65294: 'Common', 65296: 'Common', 65306: 'Common', 65308: 'Common', 65311: 'Common', 65313: 'Latin', 65339: 'Common', 65340: 'Common', 65341: 'Common', 65342: 'Common', 65343: 'Common', 65344: 'Common', 65345: 'Latin', 65371: 'Common', 65372: 'Common', 65373: 'Common', 65374: 'Common', 65375: 'Common', 65376: 'Common', 65377: 'Common', 65378: 'Common', 65379: 'Common', 65380: 'Common', 65382: 'Katakana', 65392: 'Common', 65393: 'Katakana', 65438: 'Common', 65440: 'Hangul', 65474: 'Hangul', 65482: 'Hangul', 65490: 'Hangul', 65498: 'Hangul', 65504: 'Common', 65506: 'Common', 65507: 'Common', 65508: 'Common', 65509: 'Common', 65512: 'Common', 65513: 'Common', 65517: 'Common', 65529: 'Common', 65532: 'Common', 65536: 'Linear_B', 65549: 'Linear_B', 65576: 'Linear_B', 65596: 'Linear_B', 65599: 'Linear_B', 65616: 'Linear_B', 65664: 'Linear_B', 65792: 'Common', 65799: 'Common', 65847: 'Common', 65856: 'Greek', 65909: 'Greek', 65913: 'Greek', 65930: 'Greek', 65932: 'Greek', 65936: 'Common', 65952: 'Greek', 66000: 'Common', 66045: 'Inherited', 66176: 'Lycian', 66208: 'Carian', 66272: 'Inherited', 66273: 'Common', 66304: 'Old_Italic', 66336: 'Old_Italic', 66349: 'Old_Italic', 66352: 'Gothic', 66369: 'Gothic', 66370: 'Gothic', 66378: 'Gothic', 66384: 'Old_Permic', 66422: 'Old_Permic', 66432: 'Ugaritic', 66463: 'Ugaritic', 66464: 'Old_Persian', 66504: 'Old_Persian', 66512: 'Old_Persian', 66513: 'Old_Persian', 66560: 'Deseret', 66640: 'Shavian', 66688: 'Osmanya', 66720: 'Osmanya', 66736: 'Osage', 66776: 'Osage', 66816: 'Elbasan', 66864: 'Caucasian_Albanian', 66927: 'Caucasian_Albanian', 67072: 'Linear_A', 67392: 'Linear_A', 67424: 'Linear_A', 67584: 'Cypriot', 67592: 'Cypriot', 67594: 'Cypriot', 67639: 'Cypriot', 67644: 'Cypriot', 67647: 'Cypriot', 67648: 'Imperial_Aramaic', 67671: 'Imperial_Aramaic', 67672: 'Imperial_Aramaic', 67680: 'Palmyrene', 67703: 'Palmyrene', 67705: 'Palmyrene', 67712: 'Nabataean', 67751: 'Nabataean', 67808: 'Hatran', 67828: 'Hatran', 67835: 'Hatran', 67840: 'Phoenician', 67862: 'Phoenician', 67871: 'Phoenician', 67872: 'Lydian', 67903: 'Lydian', 67968: 'Meroitic_Hieroglyphs', 68000: 'Meroitic_Cursive', 68028: 'Meroitic_Cursive', 68030: 'Meroitic_Cursive', 68032: 'Meroitic_Cursive', 68050: 'Meroitic_Cursive', 68096: 'Kharoshthi', 68097: 'Kharoshthi', 68101: 'Kharoshthi', 68108: 'Kharoshthi', 68112: 'Kharoshthi', 68117: 'Kharoshthi', 68121: 'Kharoshthi', 68152: 'Kharoshthi', 68159: 'Kharoshthi', 68160: 'Kharoshthi', 68176: 'Kharoshthi', 68192: 'Old_South_Arabian', 68221: 'Old_South_Arabian', 68223: 'Old_South_Arabian', 68224: 'Old_North_Arabian', 68253: 'Old_North_Arabian', 68288: 'Manichaean', 68296: 'Manichaean', 68297: 'Manichaean', 68325: 'Manichaean', 68331: 'Manichaean', 68336: 'Manichaean', 68352: 'Avestan', 68409: 'Avestan', 68416: 'Inscriptional_Parthian', 68440: 'Inscriptional_Parthian', 68448: 'Inscriptional_Pahlavi', 68472: 'Inscriptional_Pahlavi', 68480: 'Psalter_Pahlavi', 68505: 'Psalter_Pahlavi', 68521: 'Psalter_Pahlavi', 68608: 'Old_Turkic', 68736: 'Old_Hungarian', 68800: 'Old_Hungarian', 68858: 'Old_Hungarian', 68864: 'Hanifi_Rohingya', 68900: 'Hanifi_Rohingya', 68912: 'Hanifi_Rohingya', 69216: 'Arabic', 69248: 'Yezidi', 69291: 'Yezidi', 69293: 'Yezidi', 69296: 'Yezidi', 69376: 'Old_Sogdian', 69405: 'Old_Sogdian', 69415: 'Old_Sogdian', 69424: 'Sogdian', 69446: 'Sogdian', 69457: 'Sogdian', 69461: 'Sogdian', 69552: 'Chorasmian', 69573: 'Chorasmian', 69600: 'Elymaic', 69632: 'Brahmi', 69633: 'Brahmi', 69634: 'Brahmi', 69635: 'Brahmi', 69688: 'Brahmi', 69703: 'Brahmi', 69714: 'Brahmi', 69734: 'Brahmi', 69759: 'Brahmi', 69760: 'Kaithi', 69762: 'Kaithi', 69763: 'Kaithi', 69808: 'Kaithi', 69811: 'Kaithi', 69815: 'Kaithi', 69817: 'Kaithi', 69819: 'Kaithi', 69821: 'Kaithi', 69822: 'Kaithi', 69837: 'Kaithi', 69840: 'Sora_Sompeng', 69872: 'Sora_Sompeng', 69888: 'Chakma', 69891: 'Chakma', 69927: 'Chakma', 69932: 'Chakma', 69933: 'Chakma', 69942: 'Chakma', 69952: 'Chakma', 69956: 'Chakma', 69957: 'Chakma', 69959: 'Chakma', 69968: 'Mahajani', 70003: 'Mahajani', 70004: 'Mahajani', 70006: 'Mahajani', 70016: 'Sharada', 70018: 'Sharada', 70019: 'Sharada', 70067: 'Sharada', 70070: 'Sharada', 70079: 'Sharada', 70081: 'Sharada', 70085: 'Sharada', 70089: 'Sharada', 70093: 'Sharada', 70094: 'Sharada', 70095: 'Sharada', 70096: 'Sharada', 70106: 'Sharada', 70107: 'Sharada', 70108: 'Sharada', 70109: 'Sharada', 70113: 'Sinhala', 70144: 'Khojki', 70163: 'Khojki', 70188: 'Khojki', 70191: 'Khojki', 70194: 'Khojki', 70196: 'Khojki', 70197: 'Khojki', 70198: 'Khojki', 70200: 'Khojki', 70206: 'Khojki', 70272: 'Multani', 70280: 'Multani', 70282: 'Multani', 70287: 'Multani', 70303: 'Multani', 70313: 'Multani', 70320: 'Khudawadi', 70367: 'Khudawadi', 70368: 'Khudawadi', 70371: 'Khudawadi', 70384: 'Khudawadi', 70400: 'Grantha', 70402: 'Grantha', 70405: 'Grantha', 70415: 'Grantha', 70419: 'Grantha', 70442: 'Grantha', 70450: 'Grantha', 70453: 'Grantha', 70459: 'Inherited', 70460: 'Grantha', 70461: 'Grantha', 70462: 'Grantha', 70464: 'Grantha', 70465: 'Grantha', 70471: 'Grantha', 70475: 'Grantha', 70480: 'Grantha', 70487: 'Grantha', 70493: 'Grantha', 70498: 'Grantha', 70502: 'Grantha', 70512: 'Grantha', 70656: 'Newa', 70709: 'Newa', 70712: 'Newa', 70720: 'Newa', 70722: 'Newa', 70725: 'Newa', 70726: 'Newa', 70727: 'Newa', 70731: 'Newa', 70736: 'Newa', 70746: 'Newa', 70749: 'Newa', 70750: 'Newa', 70751: 'Newa', 70784: 'Tirhuta', 70832: 'Tirhuta', 70835: 'Tirhuta', 70841: 'Tirhuta', 70842: 'Tirhuta', 70843: 'Tirhuta', 70847: 'Tirhuta', 70849: 'Tirhuta', 70850: 'Tirhuta', 70852: 'Tirhuta', 70854: 'Tirhuta', 70855: 'Tirhuta', 70864: 'Tirhuta', 71040: 'Siddham', 71087: 'Siddham', 71090: 'Siddham', 71096: 'Siddham', 71100: 'Siddham', 71102: 'Siddham', 71103: 'Siddham', 71105: 'Siddham', 71128: 'Siddham', 71132: 'Siddham', 71168: 'Modi', 71216: 'Modi', 71219: 'Modi', 71227: 'Modi', 71229: 'Modi', 71230: 'Modi', 71231: 'Modi', 71233: 'Modi', 71236: 'Modi', 71248: 'Modi', 71264: 'Mongolian', 71296: 'Takri', 71339: 'Takri', 71340: 'Takri', 71341: 'Takri', 71342: 'Takri', 71344: 'Takri', 71350: 'Takri', 71351: 'Takri', 71352: 'Takri', 71360: 'Takri', 71424: 'Ahom', 71453: 'Ahom', 71456: 'Ahom', 71458: 'Ahom', 71462: 'Ahom', 71463: 'Ahom', 71472: 'Ahom', 71482: 'Ahom', 71484: 'Ahom', 71487: 'Ahom', 71680: 'Dogra', 71724: 'Dogra', 71727: 'Dogra', 71736: 'Dogra', 71737: 'Dogra', 71739: 'Dogra', 71840: 'Warang_Citi', 71904: 'Warang_Citi', 71914: 'Warang_Citi', 71935: 'Warang_Citi', 71936: 'Dives_Akuru', 71945: 'Dives_Akuru', 71948: 'Dives_Akuru', 71957: 'Dives_Akuru', 71960: 'Dives_Akuru', 71984: 'Dives_Akuru', 71991: 'Dives_Akuru', 71995: 'Dives_Akuru', 71997: 'Dives_Akuru', 71998: 'Dives_Akuru', 71999: 'Dives_Akuru', 72000: 'Dives_Akuru', 72001: 'Dives_Akuru', 72002: 'Dives_Akuru', 72003: 'Dives_Akuru', 72004: 'Dives_Akuru', 72016: 'Dives_Akuru', 72096: 'Nandinagari', 72106: 'Nandinagari', 72145: 'Nandinagari', 72148: 'Nandinagari', 72154: 'Nandinagari', 72156: 'Nandinagari', 72160: 'Nandinagari', 72161: 'Nandinagari', 72162: 'Nandinagari', 72163: 'Nandinagari', 72164: 'Nandinagari', 72192: 'Zanabazar_Square', 72193: 'Zanabazar_Square', 72203: 'Zanabazar_Square', 72243: 'Zanabazar_Square', 72249: 'Zanabazar_Square', 72250: 'Zanabazar_Square', 72251: 'Zanabazar_Square', 72255: 'Zanabazar_Square', 72263: 'Zanabazar_Square', 72272: 'Soyombo', 72273: 'Soyombo', 72279: 'Soyombo', 72281: 'Soyombo', 72284: 'Soyombo', 72330: 'Soyombo', 72343: 'Soyombo', 72344: 'Soyombo', 72346: 'Soyombo', 72349: 'Soyombo', 72350: 'Soyombo', 72384: 'Pau_Cin_Hau', 72704: 'Bhaiksuki', 72714: 'Bhaiksuki', 72751: 'Bhaiksuki', 72752: 'Bhaiksuki', 72760: 'Bhaiksuki', 72766: 'Bhaiksuki', 72767: 'Bhaiksuki', 72768: 'Bhaiksuki', 72769: 'Bhaiksuki', 72784: 'Bhaiksuki', 72794: 'Bhaiksuki', 72816: 'Marchen', 72818: 'Marchen', 72850: 'Marchen', 72873: 'Marchen', 72874: 'Marchen', 72881: 'Marchen', 72882: 'Marchen', 72884: 'Marchen', 72885: 'Marchen', 72960: 'Masaram_Gondi', 72968: 'Masaram_Gondi', 72971: 'Masaram_Gondi', 73009: 'Masaram_Gondi', 73018: 'Masaram_Gondi', 73020: 'Masaram_Gondi', 73023: 'Masaram_Gondi', 73030: 'Masaram_Gondi', 73031: 'Masaram_Gondi', 73040: 'Masaram_Gondi', 73056: 'Gunjala_Gondi', 73063: 'Gunjala_Gondi', 73066: 'Gunjala_Gondi', 73098: 'Gunjala_Gondi', 73104: 'Gunjala_Gondi', 73107: 'Gunjala_Gondi', 73109: 'Gunjala_Gondi', 73110: 'Gunjala_Gondi', 73111: 'Gunjala_Gondi', 73112: 'Gunjala_Gondi', 73120: 'Gunjala_Gondi', 73440: 'Makasar', 73459: 'Makasar', 73461: 'Makasar', 73463: 'Makasar', 73648: 'Lisu', 73664: 'Tamil', 73685: 'Tamil', 73693: 'Tamil', 73697: 'Tamil', 73727: 'Tamil', 73728: 'Cuneiform', 74752: 'Cuneiform', 74864: 'Cuneiform', 74880: 'Cuneiform', 77824: 'Egyptian_Hieroglyphs', 78896: 'Egyptian_Hieroglyphs', 82944: 'Anatolian_Hieroglyphs', 92160: 'Bamum', 92736: 'Mro', 92768: 'Mro', 92782: 'Mro', 92880: 'Bassa_Vah', 92912: 'Bassa_Vah', 92917: 'Bassa_Vah', 92928: 'Pahawh_Hmong', 92976: 'Pahawh_Hmong', 92983: 'Pahawh_Hmong', 92988: 'Pahawh_Hmong', 92992: 'Pahawh_Hmong', 92996: 'Pahawh_Hmong', 92997: 'Pahawh_Hmong', 93008: 'Pahawh_Hmong', 93019: 'Pahawh_Hmong', 93027: 'Pahawh_Hmong', 93053: 'Pahawh_Hmong', 93760: 'Medefaidrin', 93824: 'Medefaidrin', 93847: 'Medefaidrin', 93952: 'Miao', 94031: 'Miao', 94032: 'Miao', 94033: 'Miao', 94095: 'Miao', 94099: 'Miao', 94176: 'Tangut', 94177: 'Nushu', 94178: 'Common', 94179: 'Common', 94180: 'Khitan_Small_Script', 94192: 'Han', 94208: 'Tangut', 100352: 'Tangut', 101120: 'Khitan_Small_Script', 101632: 'Tangut', 110592: 'Katakana', 110593: 'Hiragana', 110928: 'Hiragana', 110948: 'Katakana', 110960: 'Nushu', 113664: 'Duployan', 113776: 'Duployan', 113792: 'Duployan', 113808: 'Duployan', 113820: 'Duployan', 113821: 'Duployan', 113823: 'Duployan', 113824: 'Common', 118784: 'Common', 119040: 'Common', 119081: 'Common', 119141: 'Common', 119143: 'Inherited', 119146: 'Common', 119149: 'Common', 119155: 'Common', 119163: 'Inherited', 119171: 'Common', 119173: 'Inherited', 119180: 'Common', 119210: 'Inherited', 119214: 'Common', 119296: 'Greek', 119362: 'Greek', 119365: 'Greek', 119520: 'Common', 119552: 'Common', 119648: 'Common', 119808: 'Common', 119894: 'Common', 119966: 'Common', 119970: 'Common', 119973: 'Common', 119977: 'Common', 119982: 'Common', 119995: 'Common', 119997: 'Common', 120005: 'Common', 120071: 'Common', 120077: 'Common', 120086: 'Common', 120094: 'Common', 120123: 'Common', 120128: 'Common', 120134: 'Common', 120138: 'Common', 120146: 'Common', 120488: 'Common', 120513: 'Common', 120514: 'Common', 120539: 'Common', 120540: 'Common', 120571: 'Common', 120572: 'Common', 120597: 'Common', 120598: 'Common', 120629: 'Common', 120630: 'Common', 120655: 'Common', 120656: 'Common', 120687: 'Common', 120688: 'Common', 120713: 'Common', 120714: 'Common', 120745: 'Common', 120746: 'Common', 120771: 'Common', 120772: 'Common', 120782: 'Common', 120832: 'SignWriting', 121344: 'SignWriting', 121399: 'SignWriting', 121403: 'SignWriting', 121453: 'SignWriting', 121461: 'SignWriting', 121462: 'SignWriting', 121476: 'SignWriting', 121477: 'SignWriting', 121479: 'SignWriting', 121499: 'SignWriting', 121505: 'SignWriting', 122880: 'Glagolitic', 122888: 'Glagolitic', 122907: 'Glagolitic', 122915: 'Glagolitic', 122918: 'Glagolitic', 123136: 'Nyiakeng_Puachue_Hmong', 123184: 'Nyiakeng_Puachue_Hmong', 123191: 'Nyiakeng_Puachue_Hmong', 123200: 'Nyiakeng_Puachue_Hmong', 123214: 'Nyiakeng_Puachue_Hmong', 123215: 'Nyiakeng_Puachue_Hmong', 123584: 'Wancho', 123628: 'Wancho', 123632: 'Wancho', 123647: 'Wancho', 124928: 'Mende_Kikakui', 125127: 'Mende_Kikakui', 125136: 'Mende_Kikakui', 125184: 'Adlam', 125252: 'Adlam', 125259: 'Adlam', 125264: 'Adlam', 125278: 'Adlam', 126065: 'Common', 126124: 'Common', 126125: 'Common', 126128: 'Common', 126129: 'Common', 126209: 'Common', 126254: 'Common', 126255: 'Common', 126464: 'Arabic', 126469: 'Arabic', 126497: 'Arabic', 126500: 'Arabic', 126503: 'Arabic', 126505: 'Arabic', 126516: 'Arabic', 126521: 'Arabic', 126523: 'Arabic', 126530: 'Arabic', 126535: 'Arabic', 126537: 'Arabic', 126539: 'Arabic', 126541: 'Arabic', 126545: 'Arabic', 126548: 'Arabic', 126551: 'Arabic', 126553: 'Arabic', 126555: 'Arabic', 126557: 'Arabic', 126559: 'Arabic', 126561: 'Arabic', 126564: 'Arabic', 126567: 'Arabic', 126572: 'Arabic', 126580: 'Arabic', 126585: 'Arabic', 126590: 'Arabic', 126592: 'Arabic', 126603: 'Arabic', 126625: 'Arabic', 126629: 'Arabic', 126635: 'Arabic', 126704: 'Arabic', 126976: 'Common', 127024: 'Common', 127136: 'Common', 127153: 'Common', 127169: 'Common', 127185: 'Common', 127232: 'Common', 127245: 'Common', 127462: 'Common', 127488: 'Hiragana', 127489: 'Common', 127504: 'Common', 127552: 'Common', 127568: 'Common', 127584: 'Common', 127744: 'Common', 127995: 'Common', 128000: 'Common', 128736: 'Common', 128752: 'Common', 128768: 'Common', 128896: 'Common', 128992: 'Common', 129024: 'Common', 129040: 'Common', 129104: 'Common', 129120: 'Common', 129168: 'Common', 129200: 'Common', 129280: 'Common', 129402: 'Common', 129485: 'Common', 129632: 'Common', 129648: 'Common', 129656: 'Common', 129664: 'Common', 129680: 'Common', 129712: 'Common', 129728: 'Common', 129744: 'Common', 129792: 'Common', 129940: 'Common', 130032: 'Common', 131072: 'Han', 173824: 'Han', 177984: 'Han', 178208: 'Han', 183984: 'Han', 194560: 'Han', 196608: 'Han', 917505: 'Common', 917536: 'Common', 917760: 'Inherited'}
def on_on_chat(): builder.move(LEFT, 5) builder.mark() for index in range(4): builder.move(FORWARD, 10) builder.turn(LEFT_TURN) builder.trace_path(SPRUCE_FENCE) player.on_chat("fenceBoundary", on_on_chat)
def on_on_chat(): builder.move(LEFT, 5) builder.mark() for index in range(4): builder.move(FORWARD, 10) builder.turn(LEFT_TURN) builder.trace_path(SPRUCE_FENCE) player.on_chat('fenceBoundary', on_on_chat)
class Node: def __init__(self, key): self.data = key self.left = None self.right = None def printLevelOrder(root): h = height(root) for i in range(1, h + 1): printCurrentLevel(root, i) def printCurrentLevel(root, level): if(root == None): return if(level == 1): print(root.data, end=" ") elif(level > 1): printCurrentLevel(root.left, level-1) printCurrentLevel(root.right, level-1) def height(node): if(node == None): return 0 else: leftHeight = height(node.left) rightHeight = height(node.right) if(leftHeight > rightHeight): return leftHeight + 1 else: return rightHeight + 1 root = Node(1) root.left = Node(2) root.right = Node(3) root.left.left = Node(4) root.left.right = Node(5) print("Level order traversal of binary tree is:") printLevelOrder(root)
class Node: def __init__(self, key): self.data = key self.left = None self.right = None def print_level_order(root): h = height(root) for i in range(1, h + 1): print_current_level(root, i) def print_current_level(root, level): if root == None: return if level == 1: print(root.data, end=' ') elif level > 1: print_current_level(root.left, level - 1) print_current_level(root.right, level - 1) def height(node): if node == None: return 0 else: left_height = height(node.left) right_height = height(node.right) if leftHeight > rightHeight: return leftHeight + 1 else: return rightHeight + 1 root = node(1) root.left = node(2) root.right = node(3) root.left.left = node(4) root.left.right = node(5) print('Level order traversal of binary tree is:') print_level_order(root)
def computeCI(principal, roi, time): ci = (principal*pow((1+(roi/100)), time))-principal return round(ci, 2)
def compute_ci(principal, roi, time): ci = principal * pow(1 + roi / 100, time) - principal return round(ci, 2)
def prime(n): k=0 if n==1: return False for i in range(2,n): if n%i==0: k=1 if k==0: return True else: return False r=1000 y=0 c=0 d=0 for a in range(-r,r): for b in range(r): if prime(b) and (b<y or b<-1600-40*a): t,n=1,1 while prime((n**2)+(a*n)+b) and ((n**2)+(a*n)+b)>0: print(t,n,a,b,(n**2)+(a*n)+b) t+=1 n+=1 if t>y: y=t c=a d=b print(y,c,d,"-",c*d)
def prime(n): k = 0 if n == 1: return False for i in range(2, n): if n % i == 0: k = 1 if k == 0: return True else: return False r = 1000 y = 0 c = 0 d = 0 for a in range(-r, r): for b in range(r): if prime(b) and (b < y or b < -1600 - 40 * a): (t, n) = (1, 1) while prime(n ** 2 + a * n + b) and n ** 2 + a * n + b > 0: print(t, n, a, b, n ** 2 + a * n + b) t += 1 n += 1 if t > y: y = t c = a d = b print(y, c, d, '-', c * d)
def my_decorator(func): def wrap_func(*args, **kwargs): print('*'*10) #Before func(*args, **kwargs) # not function yet print('*'*10) #After return wrap_func # find_all('div', attrs = {'class':'dfddfddf'}) # OOP @my_decorator def hello(name, emoji = ':)'): print(f'hello {name}', emoji) # @my_decorator # def bye(): # print('bye') hello(name = 'niz') # bye() # from time import time # def performance(fn): # def wrapper(*args, **kwargs): # t1 = time() # result = fn(*args, **kwargs) # t2 = time() # print(f'took {t2-t1} ms') # return result # return wrapper # @performance # def long_time(): # for i in range(100000): # i*5 # long_time()
def my_decorator(func): def wrap_func(*args, **kwargs): print('*' * 10) func(*args, **kwargs) print('*' * 10) return wrap_func @my_decorator def hello(name, emoji=':)'): print(f'hello {name}', emoji) hello(name='niz')
PDF_EXT = ".pdf" HD5_EXT = ".hd5" XML_EXT = ".xml" MUSE_ECG_XML_MRN_COLUMN = "PatientID" ECG_PREFIX = "ecg" ECG_DATE_FORMAT = "%m-%d-%Y" ECG_TIME_FORMAT = "%H:%M:%S" ECG_DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S"
pdf_ext = '.pdf' hd5_ext = '.hd5' xml_ext = '.xml' muse_ecg_xml_mrn_column = 'PatientID' ecg_prefix = 'ecg' ecg_date_format = '%m-%d-%Y' ecg_time_format = '%H:%M:%S' ecg_datetime_format = '%Y-%m-%dT%H:%M:%S'
# -*- coding: utf-8 -*- """ gagepy.webservices ~~~~~~~~~~~~~~~~~~ Classes that handle retrieving data files from the web. .. note:: Please see the USGS information on webservices - http://nwis.waterdata.usgs.gov/nwis/?automated_retrieval_info :authors: 2016 by Jeremiah Lant, see AUTHORS :license: United States Geological Survey (USGS), see LICENSE file """ class Webservice(object): """Parent class that handles retrieving data files from the web.""" def __init__(self): pass
""" gagepy.webservices ~~~~~~~~~~~~~~~~~~ Classes that handle retrieving data files from the web. .. note:: Please see the USGS information on webservices - http://nwis.waterdata.usgs.gov/nwis/?automated_retrieval_info :authors: 2016 by Jeremiah Lant, see AUTHORS :license: United States Geological Survey (USGS), see LICENSE file """ class Webservice(object): """Parent class that handles retrieving data files from the web.""" def __init__(self): pass
# The tile index was made by navigating to ftp://ftp.kymartian.ky.gov/kyaped/LAZ # and then (in firefox) right click -> view page source. This produces a text # file with all lots of information, but primarily there is a column with all # the tile names. This can be used to setup a parallel download which can # drastically speed up aquisition time. # There is, however, tons of garbage data that can be removed, making this # more efficient to store. This is a short script that pares this file down. index_file_name = "list.txt" new_name = "list_new.txt" files = [] with open(index_file_name, "r") as f: lines = f.readlines() for l in lines: s = l.split(" ") if s[1][-4:-1] == "laz": filename = s[1].split("\"")[1] files.append(filename) with open(new_name, "w") as f: for laz_filename in files: f.write(laz_filename) f.write("\n")
index_file_name = 'list.txt' new_name = 'list_new.txt' files = [] with open(index_file_name, 'r') as f: lines = f.readlines() for l in lines: s = l.split(' ') if s[1][-4:-1] == 'laz': filename = s[1].split('"')[1] files.append(filename) with open(new_name, 'w') as f: for laz_filename in files: f.write(laz_filename) f.write('\n')
class ansi_breakpoint: def __init__(self, sync_obj, label): self.sync_obj = sync_obj self.label = label def stop(self): self.sync_obj.continue_runner_with_stop(self.label)
class Ansi_Breakpoint: def __init__(self, sync_obj, label): self.sync_obj = sync_obj self.label = label def stop(self): self.sync_obj.continue_runner_with_stop(self.label)
class Node: def __init__(self): self.data = None self.next = None def setData(self,data): self.data = data def getData(self): return self.data def setNext(self,next): self.next = next def getNext(self): return self.next class LinkedList: def __init__(self): self.length = 0 self.head = None def insertAtBeginning(self,node): node.next = self.head self.head = node self.length += 1 def insertAtEnd(self,node): currentnode = self.head while currentnode.next != None: currentnode = currentnode.next currentnode.next = node self.length += 1 def insertAtPos(self,node,pos): count = 0 currentnode = self.head previousnode = self.head if pos > self.length or pos < 0: print("position does not exists..") else: while currentnode.next != None or count < pos: count += 1 if pos == count: previousnode.next = node node.next = currentnode self.length += 1 return else: previousnode = currentnode currentnode = currentnode.next def print_list(self): nodeList = [] currentnode = self.head while currentnode != None: nodeList.append(currentnode.data) currentnode = currentnode.next print(nodeList) def insertAfterValue(self,data,node): if self.length == 0: print("List is Empty..") else: currentnode = self.head while currentnode.next != None or currentnode.data == data: if currentnode.data == data: node.next = currentnode.next currentnode.next = node self.length += 1 return else: currentnode = currentnode.next print("The data provided in not present") def deleteAtBeginning(self): if self.length == 0: print("List is Empty..") else: self.head = self.head.next self.length -= 1 return def deleteAtEnd(self): if self.length == 0: print("List is Empty..") else: currentnode = self.head previousnode = self.head while currentnode.next != None: previousnode = currentnode currentnode = currentnode.next previousnode.next = None def deleteAtPos(self,pos): count = 0 currentnode = self.head previousnode = self.head if pos < self.length or pos < 0: print("Position does not exists..") else: while currentnode.next != None or count < pos: count += 1 if pos == count: previousnode.next = currentnode.next self.length -= 1 return else: previousnode = currentnode currentnode = currentnode.next def deleteValue(self,data): currentnode = self.head previousnode = self.head while currentnode.next != None or currentnode.data == data: if currentnode.data == data: previousnode.next = currentnode.next self.length -= 1 return else: previousnode = currentnode currentnode = currentnode.next print("Data with value {} not found".format(data)) node1 = Node() node1.setData(1) node2 = Node() node2.setData(2) node3 = Node() node3.setData(3) node4 = Node() node4.setData(4) node5 = Node() node5.setData(5) node6 = Node() node6.setData(6) l1 = LinkedList() l1.insertAtBeginning(node1) l1.print_list() l1.insertAtEnd(node2) l1.print_list() l1.insertAtPos(node3,2) l1.print_list() l1.insertAtEnd(node6) l1.print_list() l1.insertAfterValue(6,node5) l1.print_list()
class Node: def __init__(self): self.data = None self.next = None def set_data(self, data): self.data = data def get_data(self): return self.data def set_next(self, next): self.next = next def get_next(self): return self.next class Linkedlist: def __init__(self): self.length = 0 self.head = None def insert_at_beginning(self, node): node.next = self.head self.head = node self.length += 1 def insert_at_end(self, node): currentnode = self.head while currentnode.next != None: currentnode = currentnode.next currentnode.next = node self.length += 1 def insert_at_pos(self, node, pos): count = 0 currentnode = self.head previousnode = self.head if pos > self.length or pos < 0: print('position does not exists..') else: while currentnode.next != None or count < pos: count += 1 if pos == count: previousnode.next = node node.next = currentnode self.length += 1 return else: previousnode = currentnode currentnode = currentnode.next def print_list(self): node_list = [] currentnode = self.head while currentnode != None: nodeList.append(currentnode.data) currentnode = currentnode.next print(nodeList) def insert_after_value(self, data, node): if self.length == 0: print('List is Empty..') else: currentnode = self.head while currentnode.next != None or currentnode.data == data: if currentnode.data == data: node.next = currentnode.next currentnode.next = node self.length += 1 return else: currentnode = currentnode.next print('The data provided in not present') def delete_at_beginning(self): if self.length == 0: print('List is Empty..') else: self.head = self.head.next self.length -= 1 return def delete_at_end(self): if self.length == 0: print('List is Empty..') else: currentnode = self.head previousnode = self.head while currentnode.next != None: previousnode = currentnode currentnode = currentnode.next previousnode.next = None def delete_at_pos(self, pos): count = 0 currentnode = self.head previousnode = self.head if pos < self.length or pos < 0: print('Position does not exists..') else: while currentnode.next != None or count < pos: count += 1 if pos == count: previousnode.next = currentnode.next self.length -= 1 return else: previousnode = currentnode currentnode = currentnode.next def delete_value(self, data): currentnode = self.head previousnode = self.head while currentnode.next != None or currentnode.data == data: if currentnode.data == data: previousnode.next = currentnode.next self.length -= 1 return else: previousnode = currentnode currentnode = currentnode.next print('Data with value {} not found'.format(data)) node1 = node() node1.setData(1) node2 = node() node2.setData(2) node3 = node() node3.setData(3) node4 = node() node4.setData(4) node5 = node() node5.setData(5) node6 = node() node6.setData(6) l1 = linked_list() l1.insertAtBeginning(node1) l1.print_list() l1.insertAtEnd(node2) l1.print_list() l1.insertAtPos(node3, 2) l1.print_list() l1.insertAtEnd(node6) l1.print_list() l1.insertAfterValue(6, node5) l1.print_list()
year_input = int(input()) def is_leap_year(year): if year % 4 == 0: return True else: return False if is_leap_year(year_input): print('%.f is a leap year' % year_input) else: print('%.f is not a leap year' % year_input)
year_input = int(input()) def is_leap_year(year): if year % 4 == 0: return True else: return False if is_leap_year(year_input): print('%.f is a leap year' % year_input) else: print('%.f is not a leap year' % year_input)
class Restaurant: def __init__(self, name, cuisine_type): self.name = name self.cuisine_type = cuisine_type self.number_served = 0 def describe_restaurant(self): print('The name of the Restaurant is {} and it makes {}'.format(self.name, self.cuisine_type)) def open_restaurant(self): print('The Restaurant is open') def customer_numbers(self): print('This restaurant has {} customers right now'.format(self.number_served)) def set_number_served(self, served): self.number_served = served def increment_number_served(self, customers): self. number_served += customers restaurant = Restaurant('Chinese food', 'Hot Noodles') print(restaurant.name) print(restaurant.cuisine_type) restaurant.describe_restaurant() restaurant.open_restaurant() restaurant.customer_numbers() restaurant.set_number_served(15) restaurant.customer_numbers() restaurant.increment_number_served(5) restaurant.customer_numbers()
class Restaurant: def __init__(self, name, cuisine_type): self.name = name self.cuisine_type = cuisine_type self.number_served = 0 def describe_restaurant(self): print('The name of the Restaurant is {} and it makes {}'.format(self.name, self.cuisine_type)) def open_restaurant(self): print('The Restaurant is open') def customer_numbers(self): print('This restaurant has {} customers right now'.format(self.number_served)) def set_number_served(self, served): self.number_served = served def increment_number_served(self, customers): self.number_served += customers restaurant = restaurant('Chinese food', 'Hot Noodles') print(restaurant.name) print(restaurant.cuisine_type) restaurant.describe_restaurant() restaurant.open_restaurant() restaurant.customer_numbers() restaurant.set_number_served(15) restaurant.customer_numbers() restaurant.increment_number_served(5) restaurant.customer_numbers()
__all__ = [ 'confirm_delivery_reports_as_received_request_1', 'confirm_delivery_reports_as_received_request', 'check_delivery_reports_response', 'confirm_replies_as_received_request_1', 'confirm_replies_as_received_request', 'vendor_account_id', 'check_replies_response', 'cancel_scheduled_message_request', 'send_messages_request', 'reply', 'delivery_report', 'get_message_status_response', 'message', 'send_messages_response', 'source_number_type_enum', 'status_2_enum', 'status_enum', 'format_1_enum', 'format_enum', ]
__all__ = ['confirm_delivery_reports_as_received_request_1', 'confirm_delivery_reports_as_received_request', 'check_delivery_reports_response', 'confirm_replies_as_received_request_1', 'confirm_replies_as_received_request', 'vendor_account_id', 'check_replies_response', 'cancel_scheduled_message_request', 'send_messages_request', 'reply', 'delivery_report', 'get_message_status_response', 'message', 'send_messages_response', 'source_number_type_enum', 'status_2_enum', 'status_enum', 'format_1_enum', 'format_enum']
#!/usr/bin/env python3 """ l0m1s lukes1582@gmail.com algoritmo selection sort sviluppato per Python """ arr = [5,4,3,1,2,11,9,8,0] print("Array in origine ") print(arr) print ("Lunghezza dell'array "+ str(len(arr))) print(50*"x") for i in range(len(arr)): min_idx = i for j in range(i+1, len(arr)): if arr[min_idx] > arr[j]: min_idx = j print(arr) arr[i], arr[min_idx] = arr[min_idx], arr[i]
""" l0m1s lukes1582@gmail.com algoritmo selection sort sviluppato per Python """ arr = [5, 4, 3, 1, 2, 11, 9, 8, 0] print('Array in origine ') print(arr) print("Lunghezza dell'array " + str(len(arr))) print(50 * 'x') for i in range(len(arr)): min_idx = i for j in range(i + 1, len(arr)): if arr[min_idx] > arr[j]: min_idx = j print(arr) (arr[i], arr[min_idx]) = (arr[min_idx], arr[i])
class ServiceError(Exception): def __init__(self, service, message=""): self.service = service self.message = message def __str__(self): return f"ServiceError has been raised in {self.service}\n{self.message}" class ValidationError(Exception): def __init__(self, message=""): self.message = message def __str__(self): return f"ValidationError has been raised, {self.message}" class InvalidCepLength(Exception): def __init__(self, message=""): self.message = message def __str__(self): return f"InvalidCepLength has been raised, {self.message}"
class Serviceerror(Exception): def __init__(self, service, message=''): self.service = service self.message = message def __str__(self): return f'ServiceError has been raised in {self.service}\n{self.message}' class Validationerror(Exception): def __init__(self, message=''): self.message = message def __str__(self): return f'ValidationError has been raised, {self.message}' class Invalidceplength(Exception): def __init__(self, message=''): self.message = message def __str__(self): return f'InvalidCepLength has been raised, {self.message}'
# Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, 'javascript_engine': 0 }, 'targets': [ { 'target_name': 'net_base', 'type': '<(library)', 'dependencies': [ '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_resources', 'ssl_false_start_blacklist_process#host', ], 'sources': [ 'base/address_family.h', 'base/address_list.cc', 'base/address_list.h', 'base/address_list_net_log_param.cc', 'base/address_list_net_log_param.h', 'base/auth.cc', 'base/auth.h', 'base/bandwidth_metrics.cc', 'base/bandwidth_metrics.h', 'base/cache_type.h', 'base/capturing_net_log.cc', 'base/capturing_net_log.h', 'base/cert_database.cc', 'base/cert_database.h', 'base/cert_database_mac.cc', 'base/cert_database_nss.cc', 'base/cert_database_openssl.cc', 'base/cert_database_win.cc', 'base/cert_status_flags.cc', 'base/cert_status_flags.h', 'base/cert_verifier.cc', 'base/cert_verifier.h', 'base/cert_verify_result.h', 'base/completion_callback.h', 'base/connection_type_histograms.cc', 'base/connection_type_histograms.h', 'base/cookie_monster.cc', 'base/cookie_monster.h', 'base/cookie_options.h', 'base/cookie_policy.h', 'base/cookie_store.cc', 'base/cookie_store.h', 'base/data_url.cc', 'base/data_url.h', 'base/directory_lister.cc', 'base/directory_lister.h', 'base/dns_reload_timer.cc', 'base/dns_reload_timer.h', 'base/dnssec_chain_verifier.cc', 'base/dnssec_chain_verifier.h', 'base/dnssec_keyset.cc', 'base/dnssec_keyset.h', 'base/dnssec_proto.h', 'base/dns_util.cc', 'base/dns_util.h', 'base/dnsrr_resolver.cc', 'base/dnsrr_resolver.h', 'base/escape.cc', 'base/escape.h', 'base/ev_root_ca_metadata.cc', 'base/ev_root_ca_metadata.h', 'base/file_stream.h', 'base/file_stream_posix.cc', 'base/file_stream_win.cc', 'base/filter.cc', 'base/filter.h', 'base/gzip_filter.cc', 'base/gzip_filter.h', 'base/gzip_header.cc', 'base/gzip_header.h', 'base/host_cache.cc', 'base/host_cache.h', 'base/host_mapping_rules.cc', 'base/host_mapping_rules.h', 'base/host_port_pair.cc', 'base/host_port_pair.h', 'base/host_resolver.cc', 'base/host_resolver.h', 'base/host_resolver_impl.cc', 'base/host_resolver_impl.h', 'base/host_resolver_proc.cc', 'base/host_resolver_proc.h', 'base/io_buffer.cc', 'base/io_buffer.h', 'base/keygen_handler.h', 'base/keygen_handler_mac.cc', 'base/keygen_handler_nss.cc', 'base/keygen_handler_openssl.cc', 'base/keygen_handler_win.cc', 'base/listen_socket.cc', 'base/listen_socket.h', 'base/load_flags.h', 'base/load_flags_list.h', 'base/load_states.h', 'base/mapped_host_resolver.cc', 'base/mapped_host_resolver.h', 'base/mime_sniffer.cc', 'base/mime_sniffer.h', 'base/mime_util.cc', 'base/mime_util.h', # TODO(eroman): move this into its own test-support target. 'base/mock_host_resolver.cc', 'base/mock_host_resolver.h', 'base/net_error_list.h', 'base/net_errors.cc', 'base/net_errors.h', 'base/net_log.cc', 'base/net_log.h', 'base/net_log_event_type_list.h', 'base/net_log_source_type_list.h', 'base/net_module.cc', 'base/net_module.h', 'base/net_util.cc', 'base/net_util.h', 'base/net_util_posix.cc', 'base/net_util_win.cc', 'base/network_change_notifier.cc', 'base/network_change_notifier.h', 'base/network_change_notifier_linux.cc', 'base/network_change_notifier_linux.h', 'base/network_change_notifier_mac.cc', 'base/network_change_notifier_mac.h', 'base/network_change_notifier_netlink_linux.cc', 'base/network_change_notifier_netlink_linux.h', 'base/network_change_notifier_win.cc', 'base/network_change_notifier_win.h', 'base/network_config_watcher_mac.cc', 'base/network_config_watcher_mac.h', 'base/nss_memio.c', 'base/nss_memio.h', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', 'base/pem_tokenizer.cc', 'base/pem_tokenizer.h', 'base/platform_mime_util.h', # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? 'base/platform_mime_util_linux.cc', 'base/platform_mime_util_mac.cc', 'base/platform_mime_util_win.cc', 'base/registry_controlled_domain.cc', 'base/registry_controlled_domain.h', 'base/scoped_cert_chain_context.h', 'base/sdch_filter.cc', 'base/sdch_filter.h', 'base/sdch_manager.cc', 'base/sdch_manager.h', 'base/ssl_cert_request_info.cc', 'base/ssl_cert_request_info.h', 'base/ssl_cipher_suite_names.cc', 'base/ssl_cipher_suite_names.h', 'base/ssl_client_auth_cache.cc', 'base/ssl_client_auth_cache.h', 'base/ssl_config_service.cc', 'base/ssl_config_service.h', 'base/ssl_config_service_defaults.cc', 'base/ssl_config_service_defaults.h', 'base/ssl_config_service_mac.cc', 'base/ssl_config_service_mac.h', 'base/ssl_config_service_win.cc', 'base/ssl_config_service_win.h', 'base/ssl_false_start_blacklist.cc', 'base/ssl_info.cc', 'base/ssl_info.h', 'base/static_cookie_policy.cc', 'base/static_cookie_policy.h', 'base/test_root_certs.cc', 'base/test_root_certs.h', 'base/test_root_certs_mac.cc', 'base/test_root_certs_nss.cc', 'base/test_root_certs_openssl.cc', 'base/test_root_certs_win.cc', 'base/transport_security_state.cc', 'base/transport_security_state.h', 'base/sys_addrinfo.h', 'base/test_completion_callback.h', 'base/upload_data.cc', 'base/upload_data.h', 'base/upload_data_stream.cc', 'base/upload_data_stream.h', 'base/winsock_init.cc', 'base/winsock_init.h', 'base/x509_certificate.cc', 'base/x509_certificate.h', 'base/x509_certificate_mac.cc', 'base/x509_certificate_nss.cc', 'base/x509_certificate_openssl.cc', 'base/x509_certificate_win.cc', 'base/x509_cert_types.cc', 'base/x509_cert_types.h', 'base/x509_cert_types_mac.cc', 'base/x509_openssl_util.cc', 'base/x509_openssl_util.h', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h', ], 'export_dependent_settings': [ '../base/base.gyp:base', ], 'actions': [ { 'action_name': 'ssl_false_start_blacklist', 'inputs': [ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', 'base/ssl_false_start_blacklist.txt', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc', ], 'action': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', 'base/ssl_false_start_blacklist.txt', '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc', ], 'message': 'Generating SSL False Start blacklist', 'process_outputs_as_sources': 1, }, ], 'conditions': [ [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 'dependencies': [ '../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gdk', '../build/linux/system.gyp:libresolv', ], 'conditions': [ ['use_openssl==1', { 'dependencies': [ '../third_party/openssl/openssl.gyp:openssl', ], }, { # else: not using openssl. Use NSS. 'dependencies': [ '../build/linux/system.gyp:nss', ], }], ], }, { # else: OS is not in the above list 'sources!': [ 'base/cert_database_nss.cc', 'base/keygen_handler_nss.cc', 'base/test_root_certs_nss.cc', 'base/x509_certificate_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h', ], }, ], [ 'use_openssl==1', { 'sources!': [ 'base/cert_database_nss.cc', 'base/dnssec_keyset.cc', 'base/dnssec_keyset.h', 'base/keygen_handler_nss.cc', 'base/nss_memio.c', 'base/nss_memio.h', 'base/test_root_certs_nss.cc', 'base/x509_certificate_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h', ], }, { # else: not using openssl. 'sources!': [ 'base/cert_database_openssl.cc', 'base/keygen_handler_openssl.cc', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', 'base/test_root_certs_openssl.cc', 'base/x509_certificate_openssl.cc', 'base/x509_openssl_util.cc', 'base/x509_openssl_util.h', ], }, ], [ 'OS == "win"', { 'dependencies': [ '../third_party/nss/nss.gyp:nss', 'tld_cleanup', ], }, { # else: OS != "win" 'dependencies': [ '../third_party/libevent/libevent.gyp:libevent', ], 'sources!': [ 'base/winsock_init.cc', ], }, ], [ 'OS == "mac"', { 'dependencies': [ '../third_party/nss/nss.gyp:nss', ], 'link_settings': { 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', '$(SDKROOT)/usr/lib/libresolv.dylib', ] }, }, ], ], }, { 'target_name': 'net', 'type': '<(library)', 'dependencies': [ '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_base', 'net_resources', ], 'sources': [ 'disk_cache/addr.cc', 'disk_cache/addr.h', 'disk_cache/backend_impl.cc', 'disk_cache/backend_impl.h', 'disk_cache/bitmap.cc', 'disk_cache/bitmap.h', 'disk_cache/block_files.cc', 'disk_cache/block_files.h', 'disk_cache/cache_util.h', 'disk_cache/cache_util_posix.cc', 'disk_cache/cache_util_win.cc', 'disk_cache/disk_cache.h', 'disk_cache/disk_format.cc', 'disk_cache/disk_format.h', 'disk_cache/entry_impl.cc', 'disk_cache/entry_impl.h', 'disk_cache/errors.h', 'disk_cache/eviction.cc', 'disk_cache/eviction.h', 'disk_cache/experiments.h', 'disk_cache/file.cc', 'disk_cache/file.h', 'disk_cache/file_block.h', 'disk_cache/file_lock.cc', 'disk_cache/file_lock.h', 'disk_cache/file_posix.cc', 'disk_cache/file_win.cc', 'disk_cache/hash.cc', 'disk_cache/hash.h', 'disk_cache/histogram_macros.h', 'disk_cache/in_flight_backend_io.cc', 'disk_cache/in_flight_backend_io.h', 'disk_cache/in_flight_io.cc', 'disk_cache/in_flight_io.h', 'disk_cache/mapped_file.h', 'disk_cache/mapped_file_posix.cc', 'disk_cache/mapped_file_win.cc', 'disk_cache/mem_backend_impl.cc', 'disk_cache/mem_backend_impl.h', 'disk_cache/mem_entry_impl.cc', 'disk_cache/mem_entry_impl.h', 'disk_cache/mem_rankings.cc', 'disk_cache/mem_rankings.h', 'disk_cache/rankings.cc', 'disk_cache/rankings.h', 'disk_cache/sparse_control.cc', 'disk_cache/sparse_control.h', 'disk_cache/stats.cc', 'disk_cache/stats.h', 'disk_cache/stats_histogram.cc', 'disk_cache/stats_histogram.h', 'disk_cache/storage_block-inl.h', 'disk_cache/storage_block.h', 'disk_cache/trace.cc', 'disk_cache/trace.h', 'ftp/ftp_auth_cache.cc', 'ftp/ftp_auth_cache.h', 'ftp/ftp_ctrl_response_buffer.cc', 'ftp/ftp_ctrl_response_buffer.h', 'ftp/ftp_directory_listing_buffer.cc', 'ftp/ftp_directory_listing_buffer.h', 'ftp/ftp_directory_listing_parser.cc', 'ftp/ftp_directory_listing_parser.h', 'ftp/ftp_directory_listing_parser_ls.cc', 'ftp/ftp_directory_listing_parser_ls.h', 'ftp/ftp_directory_listing_parser_netware.cc', 'ftp/ftp_directory_listing_parser_netware.h', 'ftp/ftp_directory_listing_parser_vms.cc', 'ftp/ftp_directory_listing_parser_vms.h', 'ftp/ftp_directory_listing_parser_windows.cc', 'ftp/ftp_directory_listing_parser_windows.h', 'ftp/ftp_network_layer.cc', 'ftp/ftp_network_layer.h', 'ftp/ftp_network_session.cc', 'ftp/ftp_network_session.h', 'ftp/ftp_network_transaction.cc', 'ftp/ftp_network_transaction.h', 'ftp/ftp_request_info.h', 'ftp/ftp_response_info.h', 'ftp/ftp_server_type_histograms.cc', 'ftp/ftp_server_type_histograms.h', 'ftp/ftp_transaction.h', 'ftp/ftp_transaction_factory.h', 'ftp/ftp_util.cc', 'ftp/ftp_util.h', 'http/des.cc', 'http/des.h', 'http/disk_cache_based_ssl_host_info.cc', 'http/disk_cache_based_ssl_host_info.h', 'http/http_alternate_protocols.cc', 'http/http_alternate_protocols.h', 'http/http_atom_list.h', 'http/http_auth.cc', 'http/http_auth.h', 'http/http_auth_cache.cc', 'http/http_auth_cache.h', 'http/http_auth_controller.cc', 'http/http_auth_controller.h', 'http/http_auth_filter.cc', 'http/http_auth_filter.h', 'http/http_auth_filter_win.h', 'http/http_auth_gssapi_posix.cc', 'http/http_auth_gssapi_posix.h', 'http/http_auth_handler.cc', 'http/http_auth_handler.h', 'http/http_auth_handler_basic.cc', 'http/http_auth_handler_basic.h', 'http/http_auth_handler_digest.cc', 'http/http_auth_handler_digest.h', 'http/http_auth_handler_factory.cc', 'http/http_auth_handler_factory.h', 'http/http_auth_handler_negotiate.h', 'http/http_auth_handler_negotiate.cc', 'http/http_auth_handler_ntlm.cc', 'http/http_auth_handler_ntlm.h', 'http/http_auth_handler_ntlm_portable.cc', 'http/http_auth_handler_ntlm_win.cc', 'http/http_auth_sspi_win.cc', 'http/http_auth_sspi_win.h', 'http/http_basic_stream.cc', 'http/http_basic_stream.h', 'http/http_byte_range.cc', 'http/http_byte_range.h', 'http/http_cache.cc', 'http/http_cache.h', 'http/http_cache_transaction.cc', 'http/http_cache_transaction.h', 'http/http_chunked_decoder.cc', 'http/http_chunked_decoder.h', 'http/http_net_log_params.cc', 'http/http_net_log_params.h', 'http/http_network_delegate.h', 'http/http_network_layer.cc', 'http/http_network_layer.h', 'http/http_network_session.cc', 'http/http_network_session.h', 'http/http_network_session_peer.h', 'http/http_network_transaction.cc', 'http/http_network_transaction.h', 'http/http_request_headers.cc', 'http/http_request_headers.h', 'http/http_request_info.cc', 'http/http_request_info.h', 'http/http_response_body_drainer.cc', 'http/http_response_body_drainer.h', 'http/http_response_headers.cc', 'http/http_response_headers.h', 'http/http_response_info.cc', 'http/http_response_info.h', 'http/http_stream.h', 'http/http_stream_factory.cc', 'http/http_stream_factory.h', 'http/http_stream_parser.cc', 'http/http_stream_parser.h', 'http/http_stream_request.cc', 'http/http_stream_request.h', 'http/http_transaction.h', 'http/http_transaction_factory.h', 'http/url_security_manager.h', 'http/url_security_manager.cc', 'http/url_security_manager_posix.cc', 'http/url_security_manager_win.cc', 'http/http_proxy_client_socket.cc', 'http/http_proxy_client_socket.h', 'http/http_proxy_client_socket_pool.cc', 'http/http_proxy_client_socket_pool.h', 'http/http_proxy_utils.cc', 'http/http_proxy_utils.h', 'http/http_util.cc', 'http/http_util_icu.cc', 'http/http_util.h', 'http/http_vary_data.cc', 'http/http_vary_data.h', 'http/http_version.h', 'http/md4.cc', 'http/md4.h', 'http/partial_data.cc', 'http/partial_data.h', 'http/proxy_client_socket.h', 'http/stream_factory.h', 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'proxy/init_proxy_resolver.cc', 'proxy/init_proxy_resolver.h', 'proxy/multi_threaded_proxy_resolver.cc', 'proxy/multi_threaded_proxy_resolver.h', 'proxy/polling_proxy_config_service.cc', 'proxy/polling_proxy_config_service.h', 'proxy/proxy_bypass_rules.cc', 'proxy/proxy_bypass_rules.h', 'proxy/proxy_config.cc', 'proxy/proxy_config.h', 'proxy/proxy_config_service.h', 'proxy/proxy_config_service_fixed.cc', 'proxy/proxy_config_service_fixed.h', 'proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h', 'proxy/proxy_config_service_mac.cc', 'proxy/proxy_config_service_mac.h', 'proxy/proxy_config_service_win.cc', 'proxy/proxy_config_service_win.h', 'proxy/proxy_info.cc', 'proxy/proxy_info.h', 'proxy/proxy_list.cc', 'proxy/proxy_list.h', 'proxy/proxy_resolver.h', 'proxy/proxy_resolver_js_bindings.cc', 'proxy/proxy_resolver_js_bindings.h', 'proxy/proxy_resolver_mac.cc', 'proxy/proxy_resolver_mac.h', 'proxy/proxy_resolver_request_context.h', 'proxy/proxy_resolver_script.h', 'proxy/proxy_resolver_script_data.cc', 'proxy/proxy_resolver_script_data.h', # 'proxy/proxy_resolver_v8.cc', 'proxy/proxy_resolver_v8.h', 'proxy/proxy_resolver_winhttp.cc', 'proxy/proxy_resolver_winhttp.h', 'proxy/proxy_retry_info.h', 'proxy/proxy_script_fetcher.h', 'proxy/proxy_script_fetcher_impl.cc', 'proxy/proxy_script_fetcher_impl.h', 'proxy/proxy_server.cc', 'proxy/proxy_server_mac.cc', 'proxy/proxy_server.h', 'proxy/proxy_service.cc', 'proxy/proxy_service.h', 'proxy/sync_host_resolver_bridge.cc', 'proxy/sync_host_resolver_bridge.h', 'socket/client_socket.cc', 'socket/client_socket.h', 'socket/client_socket_factory.cc', 'socket/client_socket_factory.h', 'socket/client_socket_handle.cc', 'socket/client_socket_handle.h', 'socket/client_socket_pool.h', 'socket/client_socket_pool.cc', 'socket/client_socket_pool_base.cc', 'socket/client_socket_pool_base.h', 'socket/client_socket_pool_histograms.cc', 'socket/client_socket_pool_histograms.h', 'socket/client_socket_pool_manager.cc', 'socket/client_socket_pool_manager.h', 'socket/dns_cert_provenance_checker.cc', 'socket/dns_cert_provenance_checker.h', 'socket/socket.h', 'socket/socks5_client_socket.cc', 'socket/socks5_client_socket.h', 'socket/socks_client_socket.cc', 'socket/socks_client_socket.h', 'socket/socks_client_socket_pool.cc', 'socket/socks_client_socket_pool.h', 'socket/ssl_client_socket.cc', 'socket/ssl_client_socket.h', 'socket/ssl_client_socket_mac.cc', 'socket/ssl_client_socket_mac.h', 'socket/ssl_client_socket_mac_factory.cc', 'socket/ssl_client_socket_mac_factory.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h', 'socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h', 'socket/ssl_client_socket_pool.cc', 'socket/ssl_client_socket_pool.h', 'socket/ssl_client_socket_win.cc', 'socket/ssl_client_socket_win.h', 'socket/ssl_error_params.cc', 'socket/ssl_error_params.h', 'socket/ssl_host_info.cc', 'socket/ssl_host_info.h', 'socket/tcp_client_socket.cc', 'socket/tcp_client_socket.h', 'socket/tcp_client_socket_libevent.cc', 'socket/tcp_client_socket_libevent.h', 'socket/tcp_client_socket_pool.cc', 'socket/tcp_client_socket_pool.h', 'socket/tcp_client_socket_win.cc', 'socket/tcp_client_socket_win.h', 'socket_stream/socket_stream.cc', 'socket_stream/socket_stream.h', 'socket_stream/socket_stream_job.cc', 'socket_stream/socket_stream_job.h', 'socket_stream/socket_stream_job_manager.cc', 'socket_stream/socket_stream_job_manager.h', 'socket_stream/socket_stream_metrics.cc', 'socket_stream/socket_stream_metrics.h', 'spdy/spdy_bitmasks.h', 'spdy/spdy_frame_builder.cc', 'spdy/spdy_frame_builder.h', 'spdy/spdy_framer.cc', 'spdy/spdy_framer.h', 'spdy/spdy_http_stream.cc', 'spdy/spdy_http_stream.h', 'spdy/spdy_http_utils.cc', 'spdy/spdy_http_utils.h', 'spdy/spdy_io_buffer.cc', 'spdy/spdy_io_buffer.h', 'spdy/spdy_protocol.h', 'spdy/spdy_proxy_client_socket.cc', 'spdy/spdy_proxy_client_socket.h', 'spdy/spdy_session.cc', 'spdy/spdy_session.h', 'spdy/spdy_session_pool.cc', 'spdy/spdy_session_pool.h', 'spdy/spdy_settings_storage.cc', 'spdy/spdy_settings_storage.h', 'spdy/spdy_stream.cc', 'spdy/spdy_stream.h', 'url_request/https_prober.h', 'url_request/https_prober.cc', 'url_request/url_request.cc', 'url_request/url_request.h', 'url_request/url_request_about_job.cc', 'url_request/url_request_about_job.h', 'url_request/url_request_context.cc', 'url_request/url_request_context.h', 'url_request/url_request_data_job.cc', 'url_request/url_request_data_job.h', 'url_request/url_request_error_job.cc', 'url_request/url_request_error_job.h', 'url_request/url_request_file_dir_job.cc', 'url_request/url_request_file_dir_job.h', 'url_request/url_request_file_job.cc', 'url_request/url_request_file_job.h', 'url_request/url_request_filter.cc', 'url_request/url_request_filter.h', 'url_request/url_request_ftp_job.cc', 'url_request/url_request_ftp_job.h', 'url_request/url_request_http_job.cc', 'url_request/url_request_http_job.h', 'url_request/url_request_job.cc', 'url_request/url_request_job.h', 'url_request/url_request_job_manager.cc', 'url_request/url_request_job_manager.h', 'url_request/url_request_job_metrics.cc', 'url_request/url_request_job_metrics.h', 'url_request/url_request_job_tracker.cc', 'url_request/url_request_job_tracker.h', 'url_request/url_request_netlog_params.cc', 'url_request/url_request_netlog_params.h', 'url_request/url_request_redirect_job.cc', 'url_request/url_request_redirect_job.h', 'url_request/url_request_simple_job.cc', 'url_request/url_request_simple_job.h', 'url_request/url_request_status.h', 'url_request/url_request_test_job.cc', 'url_request/url_request_test_job.h', 'url_request/url_request_throttler_entry.cc', 'url_request/url_request_throttler_entry.h', 'url_request/url_request_throttler_entry_interface.h', 'url_request/url_request_throttler_header_adapter.h', 'url_request/url_request_throttler_header_adapter.cc', 'url_request/url_request_throttler_header_interface.h', 'url_request/url_request_throttler_manager.cc', 'url_request/url_request_throttler_manager.h', 'url_request/view_cache_helper.cc', 'url_request/view_cache_helper.h', 'websockets/websocket.cc', 'websockets/websocket.h', 'websockets/websocket_frame_handler.cc', 'websockets/websocket_frame_handler.h', 'websockets/websocket_handshake.cc', 'websockets/websocket_handshake.h', 'websockets/websocket_handshake_draft75.cc', 'websockets/websocket_handshake_draft75.h', 'websockets/websocket_handshake_handler.cc', 'websockets/websocket_handshake_handler.h', 'websockets/websocket_job.cc', 'websockets/websocket_job.h', 'websockets/websocket_net_log_params.cc', 'websockets/websocket_net_log_params.h', 'websockets/websocket_throttle.cc', 'websockets/websocket_throttle.h', ], 'export_dependent_settings': [ '../base/base.gyp:base', ], 'conditions': [ ['javascript_engine=="v8"', { 'dependencies': [ # '../v8/tools/gyp/v8.gyp:v8', ], }], ['chromeos==1', { 'sources!': [ 'proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h', ], }], ['use_openssl==1', { 'sources!': [ 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'socket/dns_cert_provenance_check.cc', 'socket/dns_cert_provenance_check.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h', ], }, { # else !use_openssl: remove the unneeded files 'sources!': [ 'socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h', ], }, ], [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 'dependencies': [ '../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gdk', ], 'conditions': [ ['use_openssl==1', { 'dependencies': [ '../third_party/openssl/openssl.gyp:openssl', ], }, { # else use_openssl==0, use NSS 'dependencies': [ '../build/linux/system.gyp:nss', ], }], ], }, { # else: OS is not in the above list 'sources!': [ 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', ], }, ], [ 'OS == "win"', { 'sources!': [ 'http/http_auth_handler_ntlm_portable.cc', 'socket/tcp_client_socket_libevent.cc', ], 'dependencies': [ '../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:ssl', 'tld_cleanup', ], }, { # else: OS != "win" 'dependencies': [ '../third_party/libevent/libevent.gyp:libevent', ], 'sources!': [ 'proxy/proxy_resolver_winhttp.cc', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h', ], }, ], [ 'OS == "mac"', { 'dependencies': [ '../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:ssl', ], 'link_settings': { 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', ] }, }, { # else: OS != "mac" 'sources!': [ 'socket/ssl_client_socket_mac_factory.cc', 'socket/ssl_client_socket_mac_factory.h', ], }, ], ], }, { 'target_name': 'net_unittests', 'type': 'executable', 'dependencies': [ 'net', 'net_test_support', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/zlib/zlib.gyp:zlib', ], 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567', 'sources': [ 'base/address_list_unittest.cc', 'base/cert_database_nss_unittest.cc', 'base/cert_verifier_unittest.cc', 'base/cookie_monster_unittest.cc', 'base/data_url_unittest.cc', 'base/directory_lister_unittest.cc', 'base/dnssec_unittest.cc', 'base/dns_util_unittest.cc', 'base/dnsrr_resolver_unittest.cc', 'base/escape_unittest.cc', 'base/file_stream_unittest.cc', 'base/filter_unittest.cc', 'base/filter_unittest.h', 'base/gzip_filter_unittest.cc', 'base/host_cache_unittest.cc', 'base/host_mapping_rules_unittest.cc', 'base/host_resolver_impl_unittest.cc', 'base/keygen_handler_unittest.cc', 'base/leak_annotations.h', 'base/listen_socket_unittest.cc', 'base/listen_socket_unittest.h', 'base/mapped_host_resolver_unittest.cc', 'base/mime_sniffer_unittest.cc', 'base/mime_util_unittest.cc', 'base/net_log_unittest.cc', 'base/net_log_unittest.h', 'base/net_test_suite.h', 'base/net_util_unittest.cc', 'base/pem_tokenizer_unittest.cc', 'base/registry_controlled_domain_unittest.cc', 'base/run_all_unittests.cc', 'base/sdch_filter_unittest.cc', 'base/ssl_cipher_suite_names_unittest.cc', 'base/ssl_client_auth_cache_unittest.cc', 'base/ssl_config_service_mac_unittest.cc', 'base/ssl_config_service_unittest.cc', 'base/ssl_config_service_win_unittest.cc', 'base/ssl_false_start_blacklist_unittest.cc', 'base/static_cookie_policy_unittest.cc', 'base/transport_security_state_unittest.cc', 'base/test_certificate_data.h', 'base/test_completion_callback_unittest.cc', 'base/upload_data_stream_unittest.cc', 'base/x509_certificate_unittest.cc', 'base/x509_cert_types_mac_unittest.cc', 'base/x509_openssl_util_unittest.cc', 'disk_cache/addr_unittest.cc', 'disk_cache/backend_unittest.cc', 'disk_cache/bitmap_unittest.cc', 'disk_cache/block_files_unittest.cc', 'disk_cache/cache_util_unittest.cc', 'disk_cache/disk_cache_test_base.cc', 'disk_cache/disk_cache_test_base.h', 'disk_cache/entry_unittest.cc', 'disk_cache/mapped_file_unittest.cc', 'disk_cache/storage_block_unittest.cc', 'ftp/ftp_auth_cache_unittest.cc', 'ftp/ftp_ctrl_response_buffer_unittest.cc', 'ftp/ftp_directory_listing_buffer_unittest.cc', 'ftp/ftp_directory_listing_parser_ls_unittest.cc', 'ftp/ftp_directory_listing_parser_netware_unittest.cc', 'ftp/ftp_directory_listing_parser_vms_unittest.cc', 'ftp/ftp_directory_listing_parser_windows_unittest.cc', 'ftp/ftp_network_transaction_unittest.cc', 'ftp/ftp_util_unittest.cc', 'http/des_unittest.cc', 'http/http_alternate_protocols_unittest.cc', 'http/http_auth_cache_unittest.cc', 'http/http_auth_filter_unittest.cc', 'http/http_auth_gssapi_posix_unittest.cc', 'http/http_auth_handler_basic_unittest.cc', 'http/http_auth_handler_digest_unittest.cc', 'http/http_auth_handler_factory_unittest.cc', 'http/http_auth_handler_mock.cc', 'http/http_auth_handler_mock.h', 'http/http_auth_handler_negotiate_unittest.cc', 'http/http_auth_handler_unittest.cc', 'http/http_auth_sspi_win_unittest.cc', 'http/http_auth_unittest.cc', 'http/http_byte_range_unittest.cc', 'http/http_cache_unittest.cc', 'http/http_chunked_decoder_unittest.cc', 'http/http_network_layer_unittest.cc', 'http/http_network_transaction_unittest.cc', 'http/http_proxy_client_socket_pool_unittest.cc', 'http/http_request_headers_unittest.cc', 'http/http_response_body_drainer_unittest.cc', 'http/http_response_headers_unittest.cc', 'http/http_stream_factory_unittest.cc', 'http/http_transaction_unittest.cc', 'http/http_transaction_unittest.h', 'http/http_util_unittest.cc', 'http/http_vary_data_unittest.cc', 'http/mock_gssapi_library_posix.cc', 'http/mock_gssapi_library_posix.h', 'http/mock_sspi_library_win.h', 'http/mock_sspi_library_win.cc', 'http/url_security_manager_unittest.cc', 'proxy/init_proxy_resolver_unittest.cc', 'proxy/mock_proxy_resolver.h', 'proxy/multi_threaded_proxy_resolver_unittest.cc', 'proxy/proxy_bypass_rules_unittest.cc', 'proxy/proxy_config_service_linux_unittest.cc', 'proxy/proxy_config_service_win_unittest.cc', 'proxy/proxy_config_unittest.cc', 'proxy/proxy_list_unittest.cc', 'proxy/proxy_resolver_js_bindings_unittest.cc', 'proxy/proxy_resolver_v8_unittest.cc', 'proxy/proxy_script_fetcher_impl_unittest.cc', 'proxy/proxy_server_unittest.cc', 'proxy/proxy_service_unittest.cc', 'proxy/sync_host_resolver_bridge_unittest.cc', 'socket/client_socket_pool_base_unittest.cc', 'socket/deterministic_socket_data_unittest.cc', 'socket/socks5_client_socket_unittest.cc', 'socket/socks_client_socket_pool_unittest.cc', 'socket/socks_client_socket_unittest.cc', 'socket/ssl_client_socket_unittest.cc', 'socket/ssl_client_socket_pool_unittest.cc', 'socket/tcp_client_socket_pool_unittest.cc', 'socket/tcp_client_socket_unittest.cc', 'socket_stream/socket_stream_metrics_unittest.cc', 'socket_stream/socket_stream_unittest.cc', 'spdy/spdy_framer_test.cc', 'spdy/spdy_http_stream_unittest.cc', 'spdy/spdy_network_transaction_unittest.cc', 'spdy/spdy_protocol_test.cc', 'spdy/spdy_proxy_client_socket_unittest.cc', 'spdy/spdy_session_unittest.cc', 'spdy/spdy_stream_unittest.cc', 'spdy/spdy_test_util.cc', 'spdy/spdy_test_util.h', 'test/python_utils_unittest.cc', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_to_filename_encoder_unittest.cc', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/dump_cache/url_utilities_unittest.cc', 'url_request/url_request_job_tracker_unittest.cc', 'url_request/url_request_throttler_unittest.cc', 'url_request/url_request_unittest.cc', 'url_request/url_request_unittest.h', 'url_request/view_cache_helper_unittest.cc', 'websockets/websocket_frame_handler_unittest.cc', 'websockets/websocket_handshake_draft75_unittest.cc', 'websockets/websocket_handshake_handler_unittest.cc', 'websockets/websocket_handshake_unittest.cc', 'websockets/websocket_job_unittest.cc', 'websockets/websocket_net_log_params_unittest.cc', 'websockets/websocket_throttle_unittest.cc', 'websockets/websocket_unittest.cc', ], 'conditions': [ ['chromeos==1', { 'sources!': [ 'proxy/proxy_config_service_linux_unittest.cc', ], }], [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 'dependencies': [ '../build/linux/system.gyp:gtk', '../build/linux/system.gyp:nss', ], 'sources!': [ 'base/sdch_filter_unittest.cc', ], }, { # else: OS is not in the above list 'sources!': [ 'base/cert_database_nss_unittest.cc', ], } ], [ 'OS == "linux"', { 'conditions': [ ['linux_use_tcmalloc==1', { 'dependencies': [ '../base/allocator/allocator.gyp:allocator', ], }], ], }], [ 'use_openssl==1', { # When building for OpenSSL, we need to exclude NSS specific tests. # TODO(bulach): Add equivalent tests when the underlying # functionality is ported to OpenSSL. 'sources!': [ 'base/cert_database_nss_unittest.cc', 'base/dnssec_unittest.cc', ], }, { # else, remove openssl specific tests 'sources!': [ 'base/x509_openssl_util_unittest.cc', ], } ], [ 'OS == "win"', { 'sources!': [ 'http/http_auth_gssapi_posix_unittest.cc', ], # This is needed to trigger the dll copy step on windows. # TODO(mark): Specifying this here shouldn't be necessary. 'dependencies': [ '../third_party/icu/icu.gyp:icudata', ], }, ], ], }, { 'target_name': 'net_perftests', 'type': 'executable', 'dependencies': [ 'net', 'net_test_support', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/base.gyp:test_support_perf', '../testing/gtest.gyp:gtest', ], 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73', 'sources': [ 'base/cookie_monster_perftest.cc', 'disk_cache/disk_cache_perftest.cc', 'proxy/proxy_resolver_perftest.cc', ], 'conditions': [ # This is needed to trigger the dll copy step on windows. # TODO(mark): Specifying this here shouldn't be necessary. [ 'OS == "win"', { 'dependencies': [ '../third_party/icu/icu.gyp:icudata', ], }, ], ], }, { 'target_name': 'stress_cache', 'type': 'executable', 'dependencies': [ 'net', 'net_test_support', '../base/base.gyp:base', ], 'sources': [ 'disk_cache/stress_cache.cc', ], }, { 'target_name': 'tld_cleanup', 'type': 'executable', 'dependencies': [ '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', ], 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41', 'sources': [ 'tools/tld_cleanup/tld_cleanup.cc', ], }, { 'target_name': 'crash_cache', 'type': 'executable', 'dependencies': [ 'net', 'net_test_support', '../base/base.gyp:base', ], 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3', 'sources': [ 'tools/crash_cache/crash_cache.cc', ], }, { 'target_name': 'run_testserver', 'type': 'executable', 'dependencies': [ 'net', 'net_test_support', '../base/base.gyp:base', '../testing/gtest.gyp:gtest', ], 'msvs_guid': '506F2468-6B1D-48E2-A67C-9D9C6BAC0EC5', 'sources': [ 'tools/testserver/run_testserver.cc', ], }, { 'target_name': 'net_test_support', 'type': '<(library)', 'dependencies': [ 'net', '../base/base.gyp:base', '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest', ], 'sources': [ 'base/cert_test_util.cc', 'base/cert_test_util.h', 'disk_cache/disk_cache_test_util.cc', 'disk_cache/disk_cache_test_util.h', 'proxy/proxy_config_service_common_unittest.cc', 'proxy/proxy_config_service_common_unittest.h', 'socket/socket_test_util.cc', 'socket/socket_test_util.h', 'test/python_utils.cc', 'test/python_utils.h', 'test/test_server.cc', 'test/test_server_posix.cc', 'test/test_server_win.cc', 'test/test_server.h', ], 'conditions': [ ['inside_chromium_build==1', { 'dependencies': [ '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', '../chrome/browser/policy/proto/device_management_proto.gyp:device_management_proto', '../third_party/protobuf/protobuf.gyp:py_proto', ], }], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 'conditions': [ ['use_openssl==1', { 'dependencies': [ '../third_party/openssl/openssl.gyp:openssl', ], }, { 'dependencies': [ '../build/linux/system.gyp:nss', ], }], ], }], ['OS == "linux"', { 'conditions': [ ['linux_use_tcmalloc==1', { 'dependencies': [ '../base/allocator/allocator.gyp:allocator', ], }], ], }], ], }, { 'target_name': 'net_resources', 'type': 'none', 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', 'variables': { 'grit_cmd': ['python', '../tools/grit/grit.py'], 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], 'input_paths': [ 'base/net_resources.grd', ], }, 'rules': [ { 'rule_name': 'grit', 'extension': 'grd', 'inputs': [ '<!@(<(grit_info_cmd) --inputs <(input_paths))', ], 'outputs': [ '<!@(<(grit_info_cmd) ' '--outputs \'<(SHARED_INTERMEDIATE_DIR)/net\' <(input_paths))', ], 'action': ['<@(grit_cmd)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'], 'message': 'Generating resources from <(RULE_INPUT_PATH)', }, ], 'sources': [ '<@(input_paths)', ], 'direct_dependent_settings': { 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/net', ], }, 'conditions': [ ['OS=="win"', { 'dependencies': ['../build/win/system.gyp:cygwin'], }], ], }, { 'target_name': 'fetch_client', 'type': 'executable', 'dependencies': [ 'net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest', ], 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123', 'sources': [ 'tools/fetch/fetch_client.cc', ], }, { 'target_name': 'fetch_server', 'type': 'executable', 'dependencies': [ 'net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest', ], 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124', 'sources': [ 'tools/fetch/fetch_server.cc', 'tools/fetch/http_listen_socket.cc', 'tools/fetch/http_listen_socket.h', 'tools/fetch/http_server.cc', 'tools/fetch/http_server.h', 'tools/fetch/http_server_request_info.h', 'tools/fetch/http_server_response_info.h', 'tools/fetch/http_session.cc', 'tools/fetch/http_session.h', ], }, { 'target_name': 'http_listen_socket', 'type': '<(library)', 'dependencies': [ 'net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest', ], 'msvs_guid': 'FCB894A4-CC6C-48C2-B495-52C80527E9BE', 'sources': [ 'server/http_listen_socket.cc', 'server/http_listen_socket.h', 'server/http_server_request_info.cc', 'server/http_server_request_info.h', ], }, { 'target_name': 'hresolv', 'type': 'executable', 'dependencies': [ 'net_base', ], 'msvs_guid': 'FF1BAC48-D326-4CB4-96DA-8B03DE23ED6E', 'sources': [ 'tools/hresolv/hresolv.cc', ], }, { 'target_name': 'dnssec_chain_verify', 'type': 'executable', 'dependencies': [ 'net_base', ], 'sources': [ 'tools/dnssec_chain_verify/dnssec_chain_verify.cc', ] }, { 'target_name': 'ssl_false_start_blacklist_process', 'type': 'executable', 'toolsets': ['host'], 'include_dirs': [ '..', ], 'sources': [ 'base/ssl_false_start_blacklist_process.cc', ], }, ], 'conditions': [ ['OS=="linux"', { 'targets': [ { 'target_name': 'flip_in_mem_edsm_server', 'type': 'executable', 'cflags': [ '-Wno-deprecated', ], 'dependencies': [ '../base/base.gyp:base', 'net.gyp:net', '../third_party/openssl/openssl.gyp:openssl', ], 'sources': [ 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/flip_server/balsa_enums.h', 'tools/flip_server/balsa_frame.cc', 'tools/flip_server/balsa_frame.h', 'tools/flip_server/balsa_headers.cc', 'tools/flip_server/balsa_headers.h', 'tools/flip_server/balsa_headers_token_utils.cc', 'tools/flip_server/balsa_headers_token_utils.h', 'tools/flip_server/balsa_visitor_interface.h', 'tools/flip_server/buffer_interface.h', 'tools/flip_server/create_listener.cc', 'tools/flip_server/create_listener.h', 'tools/flip_server/epoll_server.cc', 'tools/flip_server/epoll_server.h', 'tools/flip_server/flip_in_mem_edsm_server.cc', 'tools/flip_server/http_message_constants.cc', 'tools/flip_server/http_message_constants.h', 'tools/flip_server/loadtime_measurement.h', 'tools/flip_server/porting.txt', 'tools/flip_server/ring_buffer.cc', 'tools/flip_server/ring_buffer.h', 'tools/flip_server/simple_buffer.cc', 'tools/flip_server/simple_buffer.h', 'tools/flip_server/split.h', 'tools/flip_server/split.cc', 'tools/flip_server/string_piece_utils.h', 'tools/flip_server/thread.h', 'tools/flip_server/url_to_filename_encoder.h', 'tools/flip_server/url_utilities.h', ], }, ] }], ['OS=="linux"', { 'targets': [ { 'target_name': 'snap_start_unittests', 'type': 'executable', 'dependencies': [ 'net', 'net_test_support', 'openssl_helper', '../build/linux/system.gyp:nss', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', ], 'sources': [ 'base/run_all_unittests.cc', 'socket/ssl_client_socket_snapstart_unittest.cc', ] }, { 'target_name': 'openssl_helper', 'type': 'executable', 'dependencies': [ '../third_party/openssl/openssl.gyp:openssl', ], 'sources': [ 'test/openssl_helper.cc', ], }, ], }], ['OS=="win"', { 'targets': [ { # TODO(port): dump_cache is still Windows-specific. 'target_name': 'dump_cache', 'type': 'executable', 'dependencies': [ 'net', '../base/base.gyp:base', ], 'sources': [ 'tools/dump_cache/cache_dumper.cc', 'tools/dump_cache/cache_dumper.h', 'tools/dump_cache/dump_cache.cc', 'tools/dump_cache/dump_files.cc', 'tools/dump_cache/upgrade.cc', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', ], }, ], }], ], } # Local Variables: # tab-width:2 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=2 shiftwidth=2:
{'variables': {'chromium_code': 1, 'javascript_engine': 0}, 'targets': [{'target_name': 'net_base', 'type': '<(library)', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_resources', 'ssl_false_start_blacklist_process#host'], 'sources': ['base/address_family.h', 'base/address_list.cc', 'base/address_list.h', 'base/address_list_net_log_param.cc', 'base/address_list_net_log_param.h', 'base/auth.cc', 'base/auth.h', 'base/bandwidth_metrics.cc', 'base/bandwidth_metrics.h', 'base/cache_type.h', 'base/capturing_net_log.cc', 'base/capturing_net_log.h', 'base/cert_database.cc', 'base/cert_database.h', 'base/cert_database_mac.cc', 'base/cert_database_nss.cc', 'base/cert_database_openssl.cc', 'base/cert_database_win.cc', 'base/cert_status_flags.cc', 'base/cert_status_flags.h', 'base/cert_verifier.cc', 'base/cert_verifier.h', 'base/cert_verify_result.h', 'base/completion_callback.h', 'base/connection_type_histograms.cc', 'base/connection_type_histograms.h', 'base/cookie_monster.cc', 'base/cookie_monster.h', 'base/cookie_options.h', 'base/cookie_policy.h', 'base/cookie_store.cc', 'base/cookie_store.h', 'base/data_url.cc', 'base/data_url.h', 'base/directory_lister.cc', 'base/directory_lister.h', 'base/dns_reload_timer.cc', 'base/dns_reload_timer.h', 'base/dnssec_chain_verifier.cc', 'base/dnssec_chain_verifier.h', 'base/dnssec_keyset.cc', 'base/dnssec_keyset.h', 'base/dnssec_proto.h', 'base/dns_util.cc', 'base/dns_util.h', 'base/dnsrr_resolver.cc', 'base/dnsrr_resolver.h', 'base/escape.cc', 'base/escape.h', 'base/ev_root_ca_metadata.cc', 'base/ev_root_ca_metadata.h', 'base/file_stream.h', 'base/file_stream_posix.cc', 'base/file_stream_win.cc', 'base/filter.cc', 'base/filter.h', 'base/gzip_filter.cc', 'base/gzip_filter.h', 'base/gzip_header.cc', 'base/gzip_header.h', 'base/host_cache.cc', 'base/host_cache.h', 'base/host_mapping_rules.cc', 'base/host_mapping_rules.h', 'base/host_port_pair.cc', 'base/host_port_pair.h', 'base/host_resolver.cc', 'base/host_resolver.h', 'base/host_resolver_impl.cc', 'base/host_resolver_impl.h', 'base/host_resolver_proc.cc', 'base/host_resolver_proc.h', 'base/io_buffer.cc', 'base/io_buffer.h', 'base/keygen_handler.h', 'base/keygen_handler_mac.cc', 'base/keygen_handler_nss.cc', 'base/keygen_handler_openssl.cc', 'base/keygen_handler_win.cc', 'base/listen_socket.cc', 'base/listen_socket.h', 'base/load_flags.h', 'base/load_flags_list.h', 'base/load_states.h', 'base/mapped_host_resolver.cc', 'base/mapped_host_resolver.h', 'base/mime_sniffer.cc', 'base/mime_sniffer.h', 'base/mime_util.cc', 'base/mime_util.h', 'base/mock_host_resolver.cc', 'base/mock_host_resolver.h', 'base/net_error_list.h', 'base/net_errors.cc', 'base/net_errors.h', 'base/net_log.cc', 'base/net_log.h', 'base/net_log_event_type_list.h', 'base/net_log_source_type_list.h', 'base/net_module.cc', 'base/net_module.h', 'base/net_util.cc', 'base/net_util.h', 'base/net_util_posix.cc', 'base/net_util_win.cc', 'base/network_change_notifier.cc', 'base/network_change_notifier.h', 'base/network_change_notifier_linux.cc', 'base/network_change_notifier_linux.h', 'base/network_change_notifier_mac.cc', 'base/network_change_notifier_mac.h', 'base/network_change_notifier_netlink_linux.cc', 'base/network_change_notifier_netlink_linux.h', 'base/network_change_notifier_win.cc', 'base/network_change_notifier_win.h', 'base/network_config_watcher_mac.cc', 'base/network_config_watcher_mac.h', 'base/nss_memio.c', 'base/nss_memio.h', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', 'base/pem_tokenizer.cc', 'base/pem_tokenizer.h', 'base/platform_mime_util.h', 'base/platform_mime_util_linux.cc', 'base/platform_mime_util_mac.cc', 'base/platform_mime_util_win.cc', 'base/registry_controlled_domain.cc', 'base/registry_controlled_domain.h', 'base/scoped_cert_chain_context.h', 'base/sdch_filter.cc', 'base/sdch_filter.h', 'base/sdch_manager.cc', 'base/sdch_manager.h', 'base/ssl_cert_request_info.cc', 'base/ssl_cert_request_info.h', 'base/ssl_cipher_suite_names.cc', 'base/ssl_cipher_suite_names.h', 'base/ssl_client_auth_cache.cc', 'base/ssl_client_auth_cache.h', 'base/ssl_config_service.cc', 'base/ssl_config_service.h', 'base/ssl_config_service_defaults.cc', 'base/ssl_config_service_defaults.h', 'base/ssl_config_service_mac.cc', 'base/ssl_config_service_mac.h', 'base/ssl_config_service_win.cc', 'base/ssl_config_service_win.h', 'base/ssl_false_start_blacklist.cc', 'base/ssl_info.cc', 'base/ssl_info.h', 'base/static_cookie_policy.cc', 'base/static_cookie_policy.h', 'base/test_root_certs.cc', 'base/test_root_certs.h', 'base/test_root_certs_mac.cc', 'base/test_root_certs_nss.cc', 'base/test_root_certs_openssl.cc', 'base/test_root_certs_win.cc', 'base/transport_security_state.cc', 'base/transport_security_state.h', 'base/sys_addrinfo.h', 'base/test_completion_callback.h', 'base/upload_data.cc', 'base/upload_data.h', 'base/upload_data_stream.cc', 'base/upload_data_stream.h', 'base/winsock_init.cc', 'base/winsock_init.h', 'base/x509_certificate.cc', 'base/x509_certificate.h', 'base/x509_certificate_mac.cc', 'base/x509_certificate_nss.cc', 'base/x509_certificate_openssl.cc', 'base/x509_certificate_win.cc', 'base/x509_cert_types.cc', 'base/x509_cert_types.h', 'base/x509_cert_types_mac.cc', 'base/x509_openssl_util.cc', 'base/x509_openssl_util.h', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h'], 'export_dependent_settings': ['../base/base.gyp:base'], 'actions': [{'action_name': 'ssl_false_start_blacklist', 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', 'base/ssl_false_start_blacklist.txt'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc'], 'action': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', 'base/ssl_false_start_blacklist.txt', '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc'], 'message': 'Generating SSL False Start blacklist', 'process_outputs_as_sources': 1}], 'conditions': [['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'dependencies': ['../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gdk', '../build/linux/system.gyp:libresolv'], 'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:nss']}]]}, {'sources!': ['base/cert_database_nss.cc', 'base/keygen_handler_nss.cc', 'base/test_root_certs_nss.cc', 'base/x509_certificate_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h']}], ['use_openssl==1', {'sources!': ['base/cert_database_nss.cc', 'base/dnssec_keyset.cc', 'base/dnssec_keyset.h', 'base/keygen_handler_nss.cc', 'base/nss_memio.c', 'base/nss_memio.h', 'base/test_root_certs_nss.cc', 'base/x509_certificate_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h']}, {'sources!': ['base/cert_database_openssl.cc', 'base/keygen_handler_openssl.cc', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', 'base/test_root_certs_openssl.cc', 'base/x509_certificate_openssl.cc', 'base/x509_openssl_util.cc', 'base/x509_openssl_util.h']}], ['OS == "win"', {'dependencies': ['../third_party/nss/nss.gyp:nss', 'tld_cleanup']}, {'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], 'sources!': ['base/winsock_init.cc']}], ['OS == "mac"', {'dependencies': ['../third_party/nss/nss.gyp:nss'], 'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', '$(SDKROOT)/usr/lib/libresolv.dylib']}}]]}, {'target_name': 'net', 'type': '<(library)', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_base', 'net_resources'], 'sources': ['disk_cache/addr.cc', 'disk_cache/addr.h', 'disk_cache/backend_impl.cc', 'disk_cache/backend_impl.h', 'disk_cache/bitmap.cc', 'disk_cache/bitmap.h', 'disk_cache/block_files.cc', 'disk_cache/block_files.h', 'disk_cache/cache_util.h', 'disk_cache/cache_util_posix.cc', 'disk_cache/cache_util_win.cc', 'disk_cache/disk_cache.h', 'disk_cache/disk_format.cc', 'disk_cache/disk_format.h', 'disk_cache/entry_impl.cc', 'disk_cache/entry_impl.h', 'disk_cache/errors.h', 'disk_cache/eviction.cc', 'disk_cache/eviction.h', 'disk_cache/experiments.h', 'disk_cache/file.cc', 'disk_cache/file.h', 'disk_cache/file_block.h', 'disk_cache/file_lock.cc', 'disk_cache/file_lock.h', 'disk_cache/file_posix.cc', 'disk_cache/file_win.cc', 'disk_cache/hash.cc', 'disk_cache/hash.h', 'disk_cache/histogram_macros.h', 'disk_cache/in_flight_backend_io.cc', 'disk_cache/in_flight_backend_io.h', 'disk_cache/in_flight_io.cc', 'disk_cache/in_flight_io.h', 'disk_cache/mapped_file.h', 'disk_cache/mapped_file_posix.cc', 'disk_cache/mapped_file_win.cc', 'disk_cache/mem_backend_impl.cc', 'disk_cache/mem_backend_impl.h', 'disk_cache/mem_entry_impl.cc', 'disk_cache/mem_entry_impl.h', 'disk_cache/mem_rankings.cc', 'disk_cache/mem_rankings.h', 'disk_cache/rankings.cc', 'disk_cache/rankings.h', 'disk_cache/sparse_control.cc', 'disk_cache/sparse_control.h', 'disk_cache/stats.cc', 'disk_cache/stats.h', 'disk_cache/stats_histogram.cc', 'disk_cache/stats_histogram.h', 'disk_cache/storage_block-inl.h', 'disk_cache/storage_block.h', 'disk_cache/trace.cc', 'disk_cache/trace.h', 'ftp/ftp_auth_cache.cc', 'ftp/ftp_auth_cache.h', 'ftp/ftp_ctrl_response_buffer.cc', 'ftp/ftp_ctrl_response_buffer.h', 'ftp/ftp_directory_listing_buffer.cc', 'ftp/ftp_directory_listing_buffer.h', 'ftp/ftp_directory_listing_parser.cc', 'ftp/ftp_directory_listing_parser.h', 'ftp/ftp_directory_listing_parser_ls.cc', 'ftp/ftp_directory_listing_parser_ls.h', 'ftp/ftp_directory_listing_parser_netware.cc', 'ftp/ftp_directory_listing_parser_netware.h', 'ftp/ftp_directory_listing_parser_vms.cc', 'ftp/ftp_directory_listing_parser_vms.h', 'ftp/ftp_directory_listing_parser_windows.cc', 'ftp/ftp_directory_listing_parser_windows.h', 'ftp/ftp_network_layer.cc', 'ftp/ftp_network_layer.h', 'ftp/ftp_network_session.cc', 'ftp/ftp_network_session.h', 'ftp/ftp_network_transaction.cc', 'ftp/ftp_network_transaction.h', 'ftp/ftp_request_info.h', 'ftp/ftp_response_info.h', 'ftp/ftp_server_type_histograms.cc', 'ftp/ftp_server_type_histograms.h', 'ftp/ftp_transaction.h', 'ftp/ftp_transaction_factory.h', 'ftp/ftp_util.cc', 'ftp/ftp_util.h', 'http/des.cc', 'http/des.h', 'http/disk_cache_based_ssl_host_info.cc', 'http/disk_cache_based_ssl_host_info.h', 'http/http_alternate_protocols.cc', 'http/http_alternate_protocols.h', 'http/http_atom_list.h', 'http/http_auth.cc', 'http/http_auth.h', 'http/http_auth_cache.cc', 'http/http_auth_cache.h', 'http/http_auth_controller.cc', 'http/http_auth_controller.h', 'http/http_auth_filter.cc', 'http/http_auth_filter.h', 'http/http_auth_filter_win.h', 'http/http_auth_gssapi_posix.cc', 'http/http_auth_gssapi_posix.h', 'http/http_auth_handler.cc', 'http/http_auth_handler.h', 'http/http_auth_handler_basic.cc', 'http/http_auth_handler_basic.h', 'http/http_auth_handler_digest.cc', 'http/http_auth_handler_digest.h', 'http/http_auth_handler_factory.cc', 'http/http_auth_handler_factory.h', 'http/http_auth_handler_negotiate.h', 'http/http_auth_handler_negotiate.cc', 'http/http_auth_handler_ntlm.cc', 'http/http_auth_handler_ntlm.h', 'http/http_auth_handler_ntlm_portable.cc', 'http/http_auth_handler_ntlm_win.cc', 'http/http_auth_sspi_win.cc', 'http/http_auth_sspi_win.h', 'http/http_basic_stream.cc', 'http/http_basic_stream.h', 'http/http_byte_range.cc', 'http/http_byte_range.h', 'http/http_cache.cc', 'http/http_cache.h', 'http/http_cache_transaction.cc', 'http/http_cache_transaction.h', 'http/http_chunked_decoder.cc', 'http/http_chunked_decoder.h', 'http/http_net_log_params.cc', 'http/http_net_log_params.h', 'http/http_network_delegate.h', 'http/http_network_layer.cc', 'http/http_network_layer.h', 'http/http_network_session.cc', 'http/http_network_session.h', 'http/http_network_session_peer.h', 'http/http_network_transaction.cc', 'http/http_network_transaction.h', 'http/http_request_headers.cc', 'http/http_request_headers.h', 'http/http_request_info.cc', 'http/http_request_info.h', 'http/http_response_body_drainer.cc', 'http/http_response_body_drainer.h', 'http/http_response_headers.cc', 'http/http_response_headers.h', 'http/http_response_info.cc', 'http/http_response_info.h', 'http/http_stream.h', 'http/http_stream_factory.cc', 'http/http_stream_factory.h', 'http/http_stream_parser.cc', 'http/http_stream_parser.h', 'http/http_stream_request.cc', 'http/http_stream_request.h', 'http/http_transaction.h', 'http/http_transaction_factory.h', 'http/url_security_manager.h', 'http/url_security_manager.cc', 'http/url_security_manager_posix.cc', 'http/url_security_manager_win.cc', 'http/http_proxy_client_socket.cc', 'http/http_proxy_client_socket.h', 'http/http_proxy_client_socket_pool.cc', 'http/http_proxy_client_socket_pool.h', 'http/http_proxy_utils.cc', 'http/http_proxy_utils.h', 'http/http_util.cc', 'http/http_util_icu.cc', 'http/http_util.h', 'http/http_vary_data.cc', 'http/http_vary_data.h', 'http/http_version.h', 'http/md4.cc', 'http/md4.h', 'http/partial_data.cc', 'http/partial_data.h', 'http/proxy_client_socket.h', 'http/stream_factory.h', 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'proxy/init_proxy_resolver.cc', 'proxy/init_proxy_resolver.h', 'proxy/multi_threaded_proxy_resolver.cc', 'proxy/multi_threaded_proxy_resolver.h', 'proxy/polling_proxy_config_service.cc', 'proxy/polling_proxy_config_service.h', 'proxy/proxy_bypass_rules.cc', 'proxy/proxy_bypass_rules.h', 'proxy/proxy_config.cc', 'proxy/proxy_config.h', 'proxy/proxy_config_service.h', 'proxy/proxy_config_service_fixed.cc', 'proxy/proxy_config_service_fixed.h', 'proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h', 'proxy/proxy_config_service_mac.cc', 'proxy/proxy_config_service_mac.h', 'proxy/proxy_config_service_win.cc', 'proxy/proxy_config_service_win.h', 'proxy/proxy_info.cc', 'proxy/proxy_info.h', 'proxy/proxy_list.cc', 'proxy/proxy_list.h', 'proxy/proxy_resolver.h', 'proxy/proxy_resolver_js_bindings.cc', 'proxy/proxy_resolver_js_bindings.h', 'proxy/proxy_resolver_mac.cc', 'proxy/proxy_resolver_mac.h', 'proxy/proxy_resolver_request_context.h', 'proxy/proxy_resolver_script.h', 'proxy/proxy_resolver_script_data.cc', 'proxy/proxy_resolver_script_data.h', 'proxy/proxy_resolver_v8.h', 'proxy/proxy_resolver_winhttp.cc', 'proxy/proxy_resolver_winhttp.h', 'proxy/proxy_retry_info.h', 'proxy/proxy_script_fetcher.h', 'proxy/proxy_script_fetcher_impl.cc', 'proxy/proxy_script_fetcher_impl.h', 'proxy/proxy_server.cc', 'proxy/proxy_server_mac.cc', 'proxy/proxy_server.h', 'proxy/proxy_service.cc', 'proxy/proxy_service.h', 'proxy/sync_host_resolver_bridge.cc', 'proxy/sync_host_resolver_bridge.h', 'socket/client_socket.cc', 'socket/client_socket.h', 'socket/client_socket_factory.cc', 'socket/client_socket_factory.h', 'socket/client_socket_handle.cc', 'socket/client_socket_handle.h', 'socket/client_socket_pool.h', 'socket/client_socket_pool.cc', 'socket/client_socket_pool_base.cc', 'socket/client_socket_pool_base.h', 'socket/client_socket_pool_histograms.cc', 'socket/client_socket_pool_histograms.h', 'socket/client_socket_pool_manager.cc', 'socket/client_socket_pool_manager.h', 'socket/dns_cert_provenance_checker.cc', 'socket/dns_cert_provenance_checker.h', 'socket/socket.h', 'socket/socks5_client_socket.cc', 'socket/socks5_client_socket.h', 'socket/socks_client_socket.cc', 'socket/socks_client_socket.h', 'socket/socks_client_socket_pool.cc', 'socket/socks_client_socket_pool.h', 'socket/ssl_client_socket.cc', 'socket/ssl_client_socket.h', 'socket/ssl_client_socket_mac.cc', 'socket/ssl_client_socket_mac.h', 'socket/ssl_client_socket_mac_factory.cc', 'socket/ssl_client_socket_mac_factory.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h', 'socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h', 'socket/ssl_client_socket_pool.cc', 'socket/ssl_client_socket_pool.h', 'socket/ssl_client_socket_win.cc', 'socket/ssl_client_socket_win.h', 'socket/ssl_error_params.cc', 'socket/ssl_error_params.h', 'socket/ssl_host_info.cc', 'socket/ssl_host_info.h', 'socket/tcp_client_socket.cc', 'socket/tcp_client_socket.h', 'socket/tcp_client_socket_libevent.cc', 'socket/tcp_client_socket_libevent.h', 'socket/tcp_client_socket_pool.cc', 'socket/tcp_client_socket_pool.h', 'socket/tcp_client_socket_win.cc', 'socket/tcp_client_socket_win.h', 'socket_stream/socket_stream.cc', 'socket_stream/socket_stream.h', 'socket_stream/socket_stream_job.cc', 'socket_stream/socket_stream_job.h', 'socket_stream/socket_stream_job_manager.cc', 'socket_stream/socket_stream_job_manager.h', 'socket_stream/socket_stream_metrics.cc', 'socket_stream/socket_stream_metrics.h', 'spdy/spdy_bitmasks.h', 'spdy/spdy_frame_builder.cc', 'spdy/spdy_frame_builder.h', 'spdy/spdy_framer.cc', 'spdy/spdy_framer.h', 'spdy/spdy_http_stream.cc', 'spdy/spdy_http_stream.h', 'spdy/spdy_http_utils.cc', 'spdy/spdy_http_utils.h', 'spdy/spdy_io_buffer.cc', 'spdy/spdy_io_buffer.h', 'spdy/spdy_protocol.h', 'spdy/spdy_proxy_client_socket.cc', 'spdy/spdy_proxy_client_socket.h', 'spdy/spdy_session.cc', 'spdy/spdy_session.h', 'spdy/spdy_session_pool.cc', 'spdy/spdy_session_pool.h', 'spdy/spdy_settings_storage.cc', 'spdy/spdy_settings_storage.h', 'spdy/spdy_stream.cc', 'spdy/spdy_stream.h', 'url_request/https_prober.h', 'url_request/https_prober.cc', 'url_request/url_request.cc', 'url_request/url_request.h', 'url_request/url_request_about_job.cc', 'url_request/url_request_about_job.h', 'url_request/url_request_context.cc', 'url_request/url_request_context.h', 'url_request/url_request_data_job.cc', 'url_request/url_request_data_job.h', 'url_request/url_request_error_job.cc', 'url_request/url_request_error_job.h', 'url_request/url_request_file_dir_job.cc', 'url_request/url_request_file_dir_job.h', 'url_request/url_request_file_job.cc', 'url_request/url_request_file_job.h', 'url_request/url_request_filter.cc', 'url_request/url_request_filter.h', 'url_request/url_request_ftp_job.cc', 'url_request/url_request_ftp_job.h', 'url_request/url_request_http_job.cc', 'url_request/url_request_http_job.h', 'url_request/url_request_job.cc', 'url_request/url_request_job.h', 'url_request/url_request_job_manager.cc', 'url_request/url_request_job_manager.h', 'url_request/url_request_job_metrics.cc', 'url_request/url_request_job_metrics.h', 'url_request/url_request_job_tracker.cc', 'url_request/url_request_job_tracker.h', 'url_request/url_request_netlog_params.cc', 'url_request/url_request_netlog_params.h', 'url_request/url_request_redirect_job.cc', 'url_request/url_request_redirect_job.h', 'url_request/url_request_simple_job.cc', 'url_request/url_request_simple_job.h', 'url_request/url_request_status.h', 'url_request/url_request_test_job.cc', 'url_request/url_request_test_job.h', 'url_request/url_request_throttler_entry.cc', 'url_request/url_request_throttler_entry.h', 'url_request/url_request_throttler_entry_interface.h', 'url_request/url_request_throttler_header_adapter.h', 'url_request/url_request_throttler_header_adapter.cc', 'url_request/url_request_throttler_header_interface.h', 'url_request/url_request_throttler_manager.cc', 'url_request/url_request_throttler_manager.h', 'url_request/view_cache_helper.cc', 'url_request/view_cache_helper.h', 'websockets/websocket.cc', 'websockets/websocket.h', 'websockets/websocket_frame_handler.cc', 'websockets/websocket_frame_handler.h', 'websockets/websocket_handshake.cc', 'websockets/websocket_handshake.h', 'websockets/websocket_handshake_draft75.cc', 'websockets/websocket_handshake_draft75.h', 'websockets/websocket_handshake_handler.cc', 'websockets/websocket_handshake_handler.h', 'websockets/websocket_job.cc', 'websockets/websocket_job.h', 'websockets/websocket_net_log_params.cc', 'websockets/websocket_net_log_params.h', 'websockets/websocket_throttle.cc', 'websockets/websocket_throttle.h'], 'export_dependent_settings': ['../base/base.gyp:base'], 'conditions': [['javascript_engine=="v8"', {'dependencies': []}], ['chromeos==1', {'sources!': ['proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h']}], ['use_openssl==1', {'sources!': ['ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'socket/dns_cert_provenance_check.cc', 'socket/dns_cert_provenance_check.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h']}, {'sources!': ['socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h']}], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'dependencies': ['../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gdk'], 'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:nss']}]]}, {'sources!': ['ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h']}], ['OS == "win"', {'sources!': ['http/http_auth_handler_ntlm_portable.cc', 'socket/tcp_client_socket_libevent.cc'], 'dependencies': ['../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:ssl', 'tld_cleanup']}, {'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], 'sources!': ['proxy/proxy_resolver_winhttp.cc', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h']}], ['OS == "mac"', {'dependencies': ['../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:ssl'], 'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework']}}, {'sources!': ['socket/ssl_client_socket_mac_factory.cc', 'socket/ssl_client_socket_mac_factory.h']}]]}, {'target_name': 'net_unittests', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/zlib/zlib.gyp:zlib'], 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567', 'sources': ['base/address_list_unittest.cc', 'base/cert_database_nss_unittest.cc', 'base/cert_verifier_unittest.cc', 'base/cookie_monster_unittest.cc', 'base/data_url_unittest.cc', 'base/directory_lister_unittest.cc', 'base/dnssec_unittest.cc', 'base/dns_util_unittest.cc', 'base/dnsrr_resolver_unittest.cc', 'base/escape_unittest.cc', 'base/file_stream_unittest.cc', 'base/filter_unittest.cc', 'base/filter_unittest.h', 'base/gzip_filter_unittest.cc', 'base/host_cache_unittest.cc', 'base/host_mapping_rules_unittest.cc', 'base/host_resolver_impl_unittest.cc', 'base/keygen_handler_unittest.cc', 'base/leak_annotations.h', 'base/listen_socket_unittest.cc', 'base/listen_socket_unittest.h', 'base/mapped_host_resolver_unittest.cc', 'base/mime_sniffer_unittest.cc', 'base/mime_util_unittest.cc', 'base/net_log_unittest.cc', 'base/net_log_unittest.h', 'base/net_test_suite.h', 'base/net_util_unittest.cc', 'base/pem_tokenizer_unittest.cc', 'base/registry_controlled_domain_unittest.cc', 'base/run_all_unittests.cc', 'base/sdch_filter_unittest.cc', 'base/ssl_cipher_suite_names_unittest.cc', 'base/ssl_client_auth_cache_unittest.cc', 'base/ssl_config_service_mac_unittest.cc', 'base/ssl_config_service_unittest.cc', 'base/ssl_config_service_win_unittest.cc', 'base/ssl_false_start_blacklist_unittest.cc', 'base/static_cookie_policy_unittest.cc', 'base/transport_security_state_unittest.cc', 'base/test_certificate_data.h', 'base/test_completion_callback_unittest.cc', 'base/upload_data_stream_unittest.cc', 'base/x509_certificate_unittest.cc', 'base/x509_cert_types_mac_unittest.cc', 'base/x509_openssl_util_unittest.cc', 'disk_cache/addr_unittest.cc', 'disk_cache/backend_unittest.cc', 'disk_cache/bitmap_unittest.cc', 'disk_cache/block_files_unittest.cc', 'disk_cache/cache_util_unittest.cc', 'disk_cache/disk_cache_test_base.cc', 'disk_cache/disk_cache_test_base.h', 'disk_cache/entry_unittest.cc', 'disk_cache/mapped_file_unittest.cc', 'disk_cache/storage_block_unittest.cc', 'ftp/ftp_auth_cache_unittest.cc', 'ftp/ftp_ctrl_response_buffer_unittest.cc', 'ftp/ftp_directory_listing_buffer_unittest.cc', 'ftp/ftp_directory_listing_parser_ls_unittest.cc', 'ftp/ftp_directory_listing_parser_netware_unittest.cc', 'ftp/ftp_directory_listing_parser_vms_unittest.cc', 'ftp/ftp_directory_listing_parser_windows_unittest.cc', 'ftp/ftp_network_transaction_unittest.cc', 'ftp/ftp_util_unittest.cc', 'http/des_unittest.cc', 'http/http_alternate_protocols_unittest.cc', 'http/http_auth_cache_unittest.cc', 'http/http_auth_filter_unittest.cc', 'http/http_auth_gssapi_posix_unittest.cc', 'http/http_auth_handler_basic_unittest.cc', 'http/http_auth_handler_digest_unittest.cc', 'http/http_auth_handler_factory_unittest.cc', 'http/http_auth_handler_mock.cc', 'http/http_auth_handler_mock.h', 'http/http_auth_handler_negotiate_unittest.cc', 'http/http_auth_handler_unittest.cc', 'http/http_auth_sspi_win_unittest.cc', 'http/http_auth_unittest.cc', 'http/http_byte_range_unittest.cc', 'http/http_cache_unittest.cc', 'http/http_chunked_decoder_unittest.cc', 'http/http_network_layer_unittest.cc', 'http/http_network_transaction_unittest.cc', 'http/http_proxy_client_socket_pool_unittest.cc', 'http/http_request_headers_unittest.cc', 'http/http_response_body_drainer_unittest.cc', 'http/http_response_headers_unittest.cc', 'http/http_stream_factory_unittest.cc', 'http/http_transaction_unittest.cc', 'http/http_transaction_unittest.h', 'http/http_util_unittest.cc', 'http/http_vary_data_unittest.cc', 'http/mock_gssapi_library_posix.cc', 'http/mock_gssapi_library_posix.h', 'http/mock_sspi_library_win.h', 'http/mock_sspi_library_win.cc', 'http/url_security_manager_unittest.cc', 'proxy/init_proxy_resolver_unittest.cc', 'proxy/mock_proxy_resolver.h', 'proxy/multi_threaded_proxy_resolver_unittest.cc', 'proxy/proxy_bypass_rules_unittest.cc', 'proxy/proxy_config_service_linux_unittest.cc', 'proxy/proxy_config_service_win_unittest.cc', 'proxy/proxy_config_unittest.cc', 'proxy/proxy_list_unittest.cc', 'proxy/proxy_resolver_js_bindings_unittest.cc', 'proxy/proxy_resolver_v8_unittest.cc', 'proxy/proxy_script_fetcher_impl_unittest.cc', 'proxy/proxy_server_unittest.cc', 'proxy/proxy_service_unittest.cc', 'proxy/sync_host_resolver_bridge_unittest.cc', 'socket/client_socket_pool_base_unittest.cc', 'socket/deterministic_socket_data_unittest.cc', 'socket/socks5_client_socket_unittest.cc', 'socket/socks_client_socket_pool_unittest.cc', 'socket/socks_client_socket_unittest.cc', 'socket/ssl_client_socket_unittest.cc', 'socket/ssl_client_socket_pool_unittest.cc', 'socket/tcp_client_socket_pool_unittest.cc', 'socket/tcp_client_socket_unittest.cc', 'socket_stream/socket_stream_metrics_unittest.cc', 'socket_stream/socket_stream_unittest.cc', 'spdy/spdy_framer_test.cc', 'spdy/spdy_http_stream_unittest.cc', 'spdy/spdy_network_transaction_unittest.cc', 'spdy/spdy_protocol_test.cc', 'spdy/spdy_proxy_client_socket_unittest.cc', 'spdy/spdy_session_unittest.cc', 'spdy/spdy_stream_unittest.cc', 'spdy/spdy_test_util.cc', 'spdy/spdy_test_util.h', 'test/python_utils_unittest.cc', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_to_filename_encoder_unittest.cc', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/dump_cache/url_utilities_unittest.cc', 'url_request/url_request_job_tracker_unittest.cc', 'url_request/url_request_throttler_unittest.cc', 'url_request/url_request_unittest.cc', 'url_request/url_request_unittest.h', 'url_request/view_cache_helper_unittest.cc', 'websockets/websocket_frame_handler_unittest.cc', 'websockets/websocket_handshake_draft75_unittest.cc', 'websockets/websocket_handshake_handler_unittest.cc', 'websockets/websocket_handshake_unittest.cc', 'websockets/websocket_job_unittest.cc', 'websockets/websocket_net_log_params_unittest.cc', 'websockets/websocket_throttle_unittest.cc', 'websockets/websocket_unittest.cc'], 'conditions': [['chromeos==1', {'sources!': ['proxy/proxy_config_service_linux_unittest.cc']}], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'dependencies': ['../build/linux/system.gyp:gtk', '../build/linux/system.gyp:nss'], 'sources!': ['base/sdch_filter_unittest.cc']}, {'sources!': ['base/cert_database_nss_unittest.cc']}], ['OS == "linux"', {'conditions': [['linux_use_tcmalloc==1', {'dependencies': ['../base/allocator/allocator.gyp:allocator']}]]}], ['use_openssl==1', {'sources!': ['base/cert_database_nss_unittest.cc', 'base/dnssec_unittest.cc']}, {'sources!': ['base/x509_openssl_util_unittest.cc']}], ['OS == "win"', {'sources!': ['http/http_auth_gssapi_posix_unittest.cc'], 'dependencies': ['../third_party/icu/icu.gyp:icudata']}]]}, {'target_name': 'net_perftests', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/base.gyp:test_support_perf', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73', 'sources': ['base/cookie_monster_perftest.cc', 'disk_cache/disk_cache_perftest.cc', 'proxy/proxy_resolver_perftest.cc'], 'conditions': [['OS == "win"', {'dependencies': ['../third_party/icu/icu.gyp:icudata']}]]}, {'target_name': 'stress_cache', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base'], 'sources': ['disk_cache/stress_cache.cc']}, {'target_name': 'tld_cleanup', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl'], 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41', 'sources': ['tools/tld_cleanup/tld_cleanup.cc']}, {'target_name': 'crash_cache', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base'], 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3', 'sources': ['tools/crash_cache/crash_cache.cc']}, {'target_name': 'run_testserver', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': '506F2468-6B1D-48E2-A67C-9D9C6BAC0EC5', 'sources': ['tools/testserver/run_testserver.cc']}, {'target_name': 'net_test_support', 'type': '<(library)', 'dependencies': ['net', '../base/base.gyp:base', '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest'], 'sources': ['base/cert_test_util.cc', 'base/cert_test_util.h', 'disk_cache/disk_cache_test_util.cc', 'disk_cache/disk_cache_test_util.h', 'proxy/proxy_config_service_common_unittest.cc', 'proxy/proxy_config_service_common_unittest.h', 'socket/socket_test_util.cc', 'socket/socket_test_util.h', 'test/python_utils.cc', 'test/python_utils.h', 'test/test_server.cc', 'test/test_server_posix.cc', 'test/test_server_win.cc', 'test/test_server.h'], 'conditions': [['inside_chromium_build==1', {'dependencies': ['../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', '../chrome/browser/policy/proto/device_management_proto.gyp:device_management_proto', '../third_party/protobuf/protobuf.gyp:py_proto']}], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:nss']}]]}], ['OS == "linux"', {'conditions': [['linux_use_tcmalloc==1', {'dependencies': ['../base/allocator/allocator.gyp:allocator']}]]}]]}, {'target_name': 'net_resources', 'type': 'none', 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', 'variables': {'grit_cmd': ['python', '../tools/grit/grit.py'], 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], 'input_paths': ['base/net_resources.grd']}, 'rules': [{'rule_name': 'grit', 'extension': 'grd', 'inputs': ['<!@(<(grit_info_cmd) --inputs <(input_paths))'], 'outputs': ["<!@(<(grit_info_cmd) --outputs '<(SHARED_INTERMEDIATE_DIR)/net' <(input_paths))"], 'action': ['<@(grit_cmd)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'], 'message': 'Generating resources from <(RULE_INPUT_PATH)'}], 'sources': ['<@(input_paths)'], 'direct_dependent_settings': {'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/net']}, 'conditions': [['OS=="win"', {'dependencies': ['../build/win/system.gyp:cygwin']}]]}, {'target_name': 'fetch_client', 'type': 'executable', 'dependencies': ['net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123', 'sources': ['tools/fetch/fetch_client.cc']}, {'target_name': 'fetch_server', 'type': 'executable', 'dependencies': ['net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124', 'sources': ['tools/fetch/fetch_server.cc', 'tools/fetch/http_listen_socket.cc', 'tools/fetch/http_listen_socket.h', 'tools/fetch/http_server.cc', 'tools/fetch/http_server.h', 'tools/fetch/http_server_request_info.h', 'tools/fetch/http_server_response_info.h', 'tools/fetch/http_session.cc', 'tools/fetch/http_session.h']}, {'target_name': 'http_listen_socket', 'type': '<(library)', 'dependencies': ['net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'FCB894A4-CC6C-48C2-B495-52C80527E9BE', 'sources': ['server/http_listen_socket.cc', 'server/http_listen_socket.h', 'server/http_server_request_info.cc', 'server/http_server_request_info.h']}, {'target_name': 'hresolv', 'type': 'executable', 'dependencies': ['net_base'], 'msvs_guid': 'FF1BAC48-D326-4CB4-96DA-8B03DE23ED6E', 'sources': ['tools/hresolv/hresolv.cc']}, {'target_name': 'dnssec_chain_verify', 'type': 'executable', 'dependencies': ['net_base'], 'sources': ['tools/dnssec_chain_verify/dnssec_chain_verify.cc']}, {'target_name': 'ssl_false_start_blacklist_process', 'type': 'executable', 'toolsets': ['host'], 'include_dirs': ['..'], 'sources': ['base/ssl_false_start_blacklist_process.cc']}], 'conditions': [['OS=="linux"', {'targets': [{'target_name': 'flip_in_mem_edsm_server', 'type': 'executable', 'cflags': ['-Wno-deprecated'], 'dependencies': ['../base/base.gyp:base', 'net.gyp:net', '../third_party/openssl/openssl.gyp:openssl'], 'sources': ['tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/flip_server/balsa_enums.h', 'tools/flip_server/balsa_frame.cc', 'tools/flip_server/balsa_frame.h', 'tools/flip_server/balsa_headers.cc', 'tools/flip_server/balsa_headers.h', 'tools/flip_server/balsa_headers_token_utils.cc', 'tools/flip_server/balsa_headers_token_utils.h', 'tools/flip_server/balsa_visitor_interface.h', 'tools/flip_server/buffer_interface.h', 'tools/flip_server/create_listener.cc', 'tools/flip_server/create_listener.h', 'tools/flip_server/epoll_server.cc', 'tools/flip_server/epoll_server.h', 'tools/flip_server/flip_in_mem_edsm_server.cc', 'tools/flip_server/http_message_constants.cc', 'tools/flip_server/http_message_constants.h', 'tools/flip_server/loadtime_measurement.h', 'tools/flip_server/porting.txt', 'tools/flip_server/ring_buffer.cc', 'tools/flip_server/ring_buffer.h', 'tools/flip_server/simple_buffer.cc', 'tools/flip_server/simple_buffer.h', 'tools/flip_server/split.h', 'tools/flip_server/split.cc', 'tools/flip_server/string_piece_utils.h', 'tools/flip_server/thread.h', 'tools/flip_server/url_to_filename_encoder.h', 'tools/flip_server/url_utilities.h']}]}], ['OS=="linux"', {'targets': [{'target_name': 'snap_start_unittests', 'type': 'executable', 'dependencies': ['net', 'net_test_support', 'openssl_helper', '../build/linux/system.gyp:nss', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest'], 'sources': ['base/run_all_unittests.cc', 'socket/ssl_client_socket_snapstart_unittest.cc']}, {'target_name': 'openssl_helper', 'type': 'executable', 'dependencies': ['../third_party/openssl/openssl.gyp:openssl'], 'sources': ['test/openssl_helper.cc']}]}], ['OS=="win"', {'targets': [{'target_name': 'dump_cache', 'type': 'executable', 'dependencies': ['net', '../base/base.gyp:base'], 'sources': ['tools/dump_cache/cache_dumper.cc', 'tools/dump_cache/cache_dumper.h', 'tools/dump_cache/dump_cache.cc', 'tools/dump_cache/dump_files.cc', 'tools/dump_cache/upgrade.cc', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc']}]}]]}
# findsimilarindex: for a given word and a list of words # return either the index, where the word occurs, e.g. "Apfel" occurs in ["Banane","Kaese","Apfel","Birne"] # at index 2. # OR: find the index of the most similar word: # e.g. most similar word to "Apfel" occurs for given list ["Banane","Apfelsine","Kakao","Birne"] at index 1 # threshold: If the similarity is below the thershold, return index -1 def findsimilarindex(value : str, entries : list, threshold = 0.0): if value in entries: return entries.index(value) else: return -1
def findsimilarindex(value: str, entries: list, threshold=0.0): if value in entries: return entries.index(value) else: return -1
""" Tool. Example tool. """ __version__ = "1.2.3"
""" Tool. Example tool. """ __version__ = '1.2.3'
# prefix class Prefix: w_prefix = "w_" b_prefix = "b_" tmp_w_prefix = "tmp_w_" tmp_b_prefix = "tmp_b_" w_b_prefix = "w_b_" tmp_w_b_prefix = "tmp_w_b_" w_grad_prefix = "w_g_" b_grad_prefix = "b_g_" tmp_w_grad_prefix = "tmp_w_g_" tmp_b_grad_prefix = "tmp_b_g_" w_b_grad_prefix = "w_b_g_" tmp_w_b_grad_prefix = "tmp_w_b_g_" KMeans_Init_Cent = "init_cent_" KMeans_Cent = "cent_" class MLModel: Linear_Models = ["lr", "svm"] Sparse_Linear_Models = ["sparse_lr", "sparse_svm"] Cluster_Models = ["kmeans", "sparse_kmeans"] Deep_Models = ["resnet", "mobilenet"] class Optimization: Grad_Avg = "grad_avg" Model_Avg = "model_avg" ADMM = "admm" All = [Grad_Avg, Model_Avg, ADMM] class Synchronization: Async = "async" Reduce = "reduce" Reduce_Scatter = "reduce_scatter" All = [Async, Reduce, Reduce_Scatter]
class Prefix: w_prefix = 'w_' b_prefix = 'b_' tmp_w_prefix = 'tmp_w_' tmp_b_prefix = 'tmp_b_' w_b_prefix = 'w_b_' tmp_w_b_prefix = 'tmp_w_b_' w_grad_prefix = 'w_g_' b_grad_prefix = 'b_g_' tmp_w_grad_prefix = 'tmp_w_g_' tmp_b_grad_prefix = 'tmp_b_g_' w_b_grad_prefix = 'w_b_g_' tmp_w_b_grad_prefix = 'tmp_w_b_g_' k_means__init__cent = 'init_cent_' k_means__cent = 'cent_' class Mlmodel: linear__models = ['lr', 'svm'] sparse__linear__models = ['sparse_lr', 'sparse_svm'] cluster__models = ['kmeans', 'sparse_kmeans'] deep__models = ['resnet', 'mobilenet'] class Optimization: grad__avg = 'grad_avg' model__avg = 'model_avg' admm = 'admm' all = [Grad_Avg, Model_Avg, ADMM] class Synchronization: async = 'async' reduce = 'reduce' reduce__scatter = 'reduce_scatter' all = [Async, Reduce, Reduce_Scatter]
file_name = r"Sample compilation -portuguese_char_frequency.txt" with open(file_name, 'rt', encoding='utf-8') as file: data_input = file.read() # get the frebquency (in %) for unique characters lenght = len(data_input) freq_chars = sorted([[100 * data_input.count(character)/lenght, character] for character in list(set(data_input))]) print('Frequency for each character:') print(*[f'{str(round(freq, 5)).ljust(7, "0")}%\t "{char}"' for freq, char in freq_chars], sep='\n') # compute the groups of characters (leaves) and groups of the nodes combining them (branch) until we get one group with all characters (the trunk) allgroups = [] while freq_chars: if len(freq_chars) >= 2: old0, old1 = [freq_chars.pop(0) for _ in range(2)] allgroups.extend([old0, old1]) freq_chars = sorted(freq_chars + [[old0[0] + old1[0], old0[1] + old1[1]]]) else: old = freq_chars.pop(0) allgroups.append(old) allgroups = sorted(allgroups, key=lambda x: [-len(x[1]), -x[0]]) # process the bits for each pair (left + right = above node) left_right = {char: '' for _, char in allgroups} for freq1, char1 in allgroups: for freq2, char2 in allgroups: for freq3, char3 in allgroups: if char2 + char3 == char1: if char1.startswith(char2): if char1 in left_right: above_bit = left_right[char1] left_right[char2], left_right[char3] = [above_bit, above_bit] left_right[char2] += '0' left_right[char3] += '1' # sorting bits by lenght, then ascending left_right = sorted(left_right.items(), key=lambda x: [len(x[1]), x[1]]) # filter the single characters in left_right conversion_table = {char: binary for char, binary in left_right if len(char) == 1} print('\nConversion_table: (From the most to the least frequent character') printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for char, binary in conversion_table.items() if char.isprintable()] print('\nPrintables') print(*printables, sep='\n') non_printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for char, binary in conversion_table.items() if not char.isprintable()] if non_printables: print('\nNon printables:\n') print(*non_printables, sep='\n') # compute the converted (encripted) and the binary version for data_input def encrypt_bin(string, conversion_table): return ''.join([bin(ord(char))[2:].rjust(8, '0') for char in string]) def encrypt_cry(string, conversion_table): return ''.join([conversion_table[char] for char in string]) # decoding bits def decrypt(bits, conversion_table): temp, decrypted = '', [] # temp, decrypted = '', []: 12,0s | temp, decrypted = [], []:15.0s | temp, decrypted = '', '': 21.9s decode_table = {binary_code: character for character, binary_code in conversion_table.items()} for bit in bits: temp = temp + bit if temp in decode_table: decrypted.append(decode_table[temp]) temp = '' return ''.join(decrypted) print('-' * 100) # process and finish analysis using data_input print('Encoding to standard 8 bits...') binary = encrypt_bin(data_input, conversion_table) print('Encoding binary tree (encryption)...') crypto = encrypt_cry(data_input, conversion_table) print('Decoding encrypted bits...') decrypted = decrypt(binary, conversion_table) len_cry, len_bin = len(crypto), len(binary) print('_' * 100, '\nANALYSIS FOR data_input:') print(f'\nFile name: {file_name}\n') print(f'\ndata_input (100 first characters):\n{data_input[:100]}\n') print(f'data_input type: {type(data_input)}') print(f'data_input size: {lenght:,}b (bytes or characters)') print(f'Binary size: {len_bin:,} bits ({round(100 * len_bin / len_bin, 1)}%)\t8.00 bits per character.') print(f'Cryptography size: {len_cry:,} bits ( {round(100 * len_cry / len_bin, 1)}%)\t{round(len_cry/len(data_input), 2)} bits (average) per character.') # the real benefit for storage or processing: print('_' * 100, '\nCONCLUSION:') print(f'You saved {round((len_bin - len_cry)/8/1024/1024, 5)}MB from {round(len_bin/8/1024/1024, 5)}MB using this encryption method!')
file_name = 'Sample compilation -portuguese_char_frequency.txt' with open(file_name, 'rt', encoding='utf-8') as file: data_input = file.read() lenght = len(data_input) freq_chars = sorted([[100 * data_input.count(character) / lenght, character] for character in list(set(data_input))]) print('Frequency for each character:') print(*[f'''{str(round(freq, 5)).ljust(7, '0')}%\t "{char}"''' for (freq, char) in freq_chars], sep='\n') allgroups = [] while freq_chars: if len(freq_chars) >= 2: (old0, old1) = [freq_chars.pop(0) for _ in range(2)] allgroups.extend([old0, old1]) freq_chars = sorted(freq_chars + [[old0[0] + old1[0], old0[1] + old1[1]]]) else: old = freq_chars.pop(0) allgroups.append(old) allgroups = sorted(allgroups, key=lambda x: [-len(x[1]), -x[0]]) left_right = {char: '' for (_, char) in allgroups} for (freq1, char1) in allgroups: for (freq2, char2) in allgroups: for (freq3, char3) in allgroups: if char2 + char3 == char1: if char1.startswith(char2): if char1 in left_right: above_bit = left_right[char1] (left_right[char2], left_right[char3]) = [above_bit, above_bit] left_right[char2] += '0' left_right[char3] += '1' left_right = sorted(left_right.items(), key=lambda x: [len(x[1]), x[1]]) conversion_table = {char: binary for (char, binary) in left_right if len(char) == 1} print('\nConversion_table: (From the most to the least frequent character') printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for (char, binary) in conversion_table.items() if char.isprintable()] print('\nPrintables') print(*printables, sep='\n') non_printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for (char, binary) in conversion_table.items() if not char.isprintable()] if non_printables: print('\nNon printables:\n') print(*non_printables, sep='\n') def encrypt_bin(string, conversion_table): return ''.join([bin(ord(char))[2:].rjust(8, '0') for char in string]) def encrypt_cry(string, conversion_table): return ''.join([conversion_table[char] for char in string]) def decrypt(bits, conversion_table): (temp, decrypted) = ('', []) decode_table = {binary_code: character for (character, binary_code) in conversion_table.items()} for bit in bits: temp = temp + bit if temp in decode_table: decrypted.append(decode_table[temp]) temp = '' return ''.join(decrypted) print('-' * 100) print('Encoding to standard 8 bits...') binary = encrypt_bin(data_input, conversion_table) print('Encoding binary tree (encryption)...') crypto = encrypt_cry(data_input, conversion_table) print('Decoding encrypted bits...') decrypted = decrypt(binary, conversion_table) (len_cry, len_bin) = (len(crypto), len(binary)) print('_' * 100, '\nANALYSIS FOR data_input:') print(f'\nFile name: {file_name}\n') print(f'\ndata_input (100 first characters):\n{data_input[:100]}\n') print(f'data_input type: {type(data_input)}') print(f'data_input size: {lenght:,}b (bytes or characters)') print(f'Binary size: {len_bin:,} bits ({round(100 * len_bin / len_bin, 1)}%)\t8.00 bits per character.') print(f'Cryptography size: {len_cry:,} bits ( {round(100 * len_cry / len_bin, 1)}%)\t{round(len_cry / len(data_input), 2)} bits (average) per character.') print('_' * 100, '\nCONCLUSION:') print(f'You saved {round((len_bin - len_cry) / 8 / 1024 / 1024, 5)}MB from {round(len_bin / 8 / 1024 / 1024, 5)}MB using this encryption method!')
""" Dado el valor de un producto, ingresando el valor por el teclado, hallar el IGV(18%) y el precio de venta """ #variables vv = None igv = None pv = None # Entrada vv = float(input("Ingrese el valor de venta: ")) # Operaciones igv = vv *0.18 pv = vv + igv #Salida print("El IGV es: ",igv) print("El precio de venta es: ",pv)
""" Dado el valor de un producto, ingresando el valor por el teclado, hallar el IGV(18%) y el precio de venta """ vv = None igv = None pv = None vv = float(input('Ingrese el valor de venta: ')) igv = vv * 0.18 pv = vv + igv print('El IGV es: ', igv) print('El precio de venta es: ', pv)
"""Given a stack, sort it using recursion. Use of any loop constructs like while, for..etc is not allowed. We can only use the following ADT functions on Stack S: is_empty(S) : Tests whether stack is empty or not. push(S) : Adds new element to the stack. pop(S) : Removes top element from the stack. top(S) : Returns value of the top element. Note that this function does not remove element from the stack. Example: Input: -3 <--- Top 14 18 -5 30 Output: 30 <--- Top 18 14 -3 -5""" def sorted_insert(stack_list, element): # Base case: Either stack is empty or newly inserted # item is greater than top (more than all existing) if len(stack_list) == 0 or element > stack_list[-1]: stack_list.append(element) return else: # Remove the top item and recur temp = stack_list.pop() sorted_insert(stack_list, element) # Put back the top item removed earlier stack_list.append(temp) # Function to sort stack def sort_stack(stack_list): # If stack is not empty if len(stack_list) != 0: # removing the top item since it is not satisfying the condition temp = stack_list.pop() # sorting the remaining stack sort_stack(stack_list) # Push the top item back in sorted stack sorted_insert(stack_list, temp) # Stack printing def print_stack(stack_list): for i in stack_list[::-1]: print(i, end=" ") print() def main(): stack_list = [] stack_list.append(30) stack_list.append(-5) stack_list.append(18) stack_list.append(14) stack_list.append(-3) print("Before sorting: ") print_stack(stack_list) sort_stack(stack_list) print("\nAfter sorting: ") print_stack(stack_list) # Driver Code if __name__ == '__main__': main()
"""Given a stack, sort it using recursion. Use of any loop constructs like while, for..etc is not allowed. We can only use the following ADT functions on Stack S: is_empty(S) : Tests whether stack is empty or not. push(S) : Adds new element to the stack. pop(S) : Removes top element from the stack. top(S) : Returns value of the top element. Note that this function does not remove element from the stack. Example: Input: -3 <--- Top 14 18 -5 30 Output: 30 <--- Top 18 14 -3 -5""" def sorted_insert(stack_list, element): if len(stack_list) == 0 or element > stack_list[-1]: stack_list.append(element) return else: temp = stack_list.pop() sorted_insert(stack_list, element) stack_list.append(temp) def sort_stack(stack_list): if len(stack_list) != 0: temp = stack_list.pop() sort_stack(stack_list) sorted_insert(stack_list, temp) def print_stack(stack_list): for i in stack_list[::-1]: print(i, end=' ') print() def main(): stack_list = [] stack_list.append(30) stack_list.append(-5) stack_list.append(18) stack_list.append(14) stack_list.append(-3) print('Before sorting: ') print_stack(stack_list) sort_stack(stack_list) print('\nAfter sorting: ') print_stack(stack_list) if __name__ == '__main__': main()
def sam2fq(sam_in_dir,fq_out_dir): fi=open(sam_in_dir) fo=open(fq_out_dir,'w') for line in fi: seq=line.rstrip().split('\t') if line[0] !='@': # if len(bin(int(seq[1])))>=9 and bin(int(seq[1]))[-7]=='1': # seq[0]=seq[0][0:-2]+'_1' # elif len(bin(int(seq[1])))>=10 and bin(int(seq[1]))[-8]=='1': # seq[0]=seq[0][0:-2]+'_2' # elif line[-1]=='1': # seq[0]=seq[0][0:-2]+'_1' # elif line[-1]=='2': # seq[0]=seq[0][0:-2]+'_2' fo.write('@'+seq[0]+'\n'+seq[9]+'\n+\n'+seq[10]+'\n') fo.close() fi.close()
def sam2fq(sam_in_dir, fq_out_dir): fi = open(sam_in_dir) fo = open(fq_out_dir, 'w') for line in fi: seq = line.rstrip().split('\t') if line[0] != '@': fo.write('@' + seq[0] + '\n' + seq[9] + '\n+\n' + seq[10] + '\n') fo.close() fi.close()
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def reverseList(self, head: ListNode) -> ListNode: # base case if(head == None or head.next == None): return head; current = head; next = current.next; while(next != None): temp = next.next; next.next = current; current = next; next = temp; head.next = None; head = current; return head;
class Solution: def reverse_list(self, head: ListNode) -> ListNode: if head == None or head.next == None: return head current = head next = current.next while next != None: temp = next.next next.next = current current = next next = temp head.next = None head = current return head
def generate_errors(errors, f): f.write('_captures = {\n') for error in errors: if error.capture_name: f.write(f" {error.canonical_name!r}: {error.capture_name!r},\n") f.write('}\n') f.write('\n\n_descriptions = {\n') for error in errors: if error.description: f.write(f" {error.canonical_name!r}: {error.description!r},\n") f.write('}\n')
def generate_errors(errors, f): f.write('_captures = {\n') for error in errors: if error.capture_name: f.write(f' {error.canonical_name!r}: {error.capture_name!r},\n') f.write('}\n') f.write('\n\n_descriptions = {\n') for error in errors: if error.description: f.write(f' {error.canonical_name!r}: {error.description!r},\n') f.write('}\n')
""" Leetcode #9 """ class Solution: def isPalindrome(self, x: int) -> bool: if x < 0: return False if x >= 0 and x < 10: return True tmp = x y = 0 while tmp > 0: t = tmp % 10 y = 10*y + t tmp = tmp // 10 return x == y if __name__ == "__main__": solution = Solution() assert solution.isPalindrome(121) == True assert solution.isPalindrome(-121) == False assert solution.isPalindrome(10) == False
""" Leetcode #9 """ class Solution: def is_palindrome(self, x: int) -> bool: if x < 0: return False if x >= 0 and x < 10: return True tmp = x y = 0 while tmp > 0: t = tmp % 10 y = 10 * y + t tmp = tmp // 10 return x == y if __name__ == '__main__': solution = solution() assert solution.isPalindrome(121) == True assert solution.isPalindrome(-121) == False assert solution.isPalindrome(10) == False
listaidademenorde18 = [] listaidademaiorde18 = [] while True: try: idade = int(input('Digite a idade da pessoa: ')) break except ValueError: pass if idade < 18: listaidademenorde18.append(idade) else: listaidademaiorde18.append(idade) print(listaidademenorde18) print(listaidademaiorde18) #https://pt.stackoverflow.com/q/456654/101
listaidademenorde18 = [] listaidademaiorde18 = [] while True: try: idade = int(input('Digite a idade da pessoa: ')) break except ValueError: pass if idade < 18: listaidademenorde18.append(idade) else: listaidademaiorde18.append(idade) print(listaidademenorde18) print(listaidademaiorde18)
""" Python program to reverse a number. The reverse of a number is a number that is obtained when a number is traversed from right to left. """ # Function to do reverse def reverse(n): # Initializing rev as 0 rev = 0 while True: if n == 0: break # Adding the last digit rev = rev * 10 + n % 10 # Removing the last digit n = n // 10 return rev if __name__ == '__main__': # Taking input from user n = int(input('Enter the number :')) # Printing the output print ("The reverse of the given number is: {} ".format(reverse(n))) """ Time Complexity - O(n), where 'n' is the number of digits in the number. Space Complexity - O(1) SAMPLE INPUT AND OUTPUT SAMPLE I INPUT Enter the number: 1234 OUTPUT The reverse of the given number is: 4321 """
""" Python program to reverse a number. The reverse of a number is a number that is obtained when a number is traversed from right to left. """ def reverse(n): rev = 0 while True: if n == 0: break rev = rev * 10 + n % 10 n = n // 10 return rev if __name__ == '__main__': n = int(input('Enter the number :')) print('The reverse of the given number is: {} '.format(reverse(n))) "\nTime Complexity - O(n), where 'n' is the number of digits in the number.\nSpace Complexity - O(1)\n\nSAMPLE INPUT AND OUTPUT\nSAMPLE I\n\nINPUT\nEnter the number: 1234\n\nOUTPUT\nThe reverse of the given number is: 4321\n\n"
# model settings model = dict( type='SwAV', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(3,), # no conv-1, x-1: stage-x norm_cfg=dict(type='SyncBN'), style='pytorch'), neck=dict( type='SwAVNeck', in_channels=2048, hid_channels=2048, out_channels=128, with_avg_pool=True), head=dict( type='SwAVHead', feat_dim=128, # equal to neck['out_channels'] epsilon=0.05, temperature=0.1, num_crops=[2, 6],) )
model = dict(type='SwAV', backbone=dict(type='ResNet', depth=50, num_stages=4, out_indices=(3,), norm_cfg=dict(type='SyncBN'), style='pytorch'), neck=dict(type='SwAVNeck', in_channels=2048, hid_channels=2048, out_channels=128, with_avg_pool=True), head=dict(type='SwAVHead', feat_dim=128, epsilon=0.05, temperature=0.1, num_crops=[2, 6]))
""" @author Huaze Shen @date 2019-10-27 """ def restore_ip_addresses(s): results = [] restore(results, s, "", 4) return results def restore(results, remain, result, k): if k == 0: if len(remain) == 0: results.append(result) else: for i in range(1, 4): if len(remain) >= i and is_valid(remain[0:i]): if k == 1: restore(results, remain[i:], result + remain[0:i], k - 1) else: restore(results, remain[i:], result + remain[0:i] + ".", k - 1) def is_valid(s): if len(s) > 1 and s[0] == '0': return False return 0 <= int(s) < 256 if __name__ == '__main__': s_ = "25525511135" print(restore_ip_addresses(s_))
""" @author Huaze Shen @date 2019-10-27 """ def restore_ip_addresses(s): results = [] restore(results, s, '', 4) return results def restore(results, remain, result, k): if k == 0: if len(remain) == 0: results.append(result) else: for i in range(1, 4): if len(remain) >= i and is_valid(remain[0:i]): if k == 1: restore(results, remain[i:], result + remain[0:i], k - 1) else: restore(results, remain[i:], result + remain[0:i] + '.', k - 1) def is_valid(s): if len(s) > 1 and s[0] == '0': return False return 0 <= int(s) < 256 if __name__ == '__main__': s_ = '25525511135' print(restore_ip_addresses(s_))
# Time: O(n) # Space: O(n) # tree class Solution(object): def createBinaryTree(self, descriptions): """ :type descriptions: List[List[int]] :rtype: Optional[TreeNode] """ nodes = {} children = set() for p, c, l in descriptions: parent = nodes.setdefault(p, TreeNode(p)) child = nodes.setdefault(c, TreeNode(c)) if l: parent.left = child else: parent.right = child children.add(c) return nodes[next(p for p in nodes.iterkeys() if p not in children)]
class Solution(object): def create_binary_tree(self, descriptions): """ :type descriptions: List[List[int]] :rtype: Optional[TreeNode] """ nodes = {} children = set() for (p, c, l) in descriptions: parent = nodes.setdefault(p, tree_node(p)) child = nodes.setdefault(c, tree_node(c)) if l: parent.left = child else: parent.right = child children.add(c) return nodes[next((p for p in nodes.iterkeys() if p not in children))]
#!/usr/bin/env python3 #this program will write #Hello World! print("Hello World!") #prints Hello World! #homework section of the file print("My name is Zac (He/Him). If you want to be more formal, you can use Zachary.") #Prints out my name, pronouns, and formalities
print('Hello World!') print('My name is Zac (He/Him). If you want to be more formal, you can use Zachary.')
QUERY_INFO = { "msmarco-passage-dev-subset-tct_colbert": { "description": "MS MARCO passage dev set queries encoded by TCT-ColBERT", "urls": [ "https://www.dropbox.com/s/g7sci7n15mekbut/query-embedding-msmarco-passage-dev-subset-20210115-cd5034.tar.gz?dl=1", ], "md5": "0e448fda77344e7b892e861f416a8870", "size (bytes)": 20075071, "total_queries": 6980, "downloaded": False } }
query_info = {'msmarco-passage-dev-subset-tct_colbert': {'description': 'MS MARCO passage dev set queries encoded by TCT-ColBERT', 'urls': ['https://www.dropbox.com/s/g7sci7n15mekbut/query-embedding-msmarco-passage-dev-subset-20210115-cd5034.tar.gz?dl=1'], 'md5': '0e448fda77344e7b892e861f416a8870', 'size (bytes)': 20075071, 'total_queries': 6980, 'downloaded': False}}
""" This file contains settings parameters which shouldn't be committed to a public repository such as GitHub. Unlike other code files, this file is not managed by git. It will be read into settings at runtime. Use this as an example to make a 'secrets.py' file in your project directory (beside settings.py). """ def get_secrets(): SECRETS = { 'MY_DOMAIN_NAME': 'webmapdb.com', 'DOCKER_IMAGE': 'c16735211/webmap', 'DOCKER_COMPOSE_FILE': 'docker-compose.yml', 'NGINX_CONF': 'django_nginx.conf', 'SECRET_KEY': '0m-72uwqihn$&u9u+hnz763hun$8+nl3x!z!^@h0wk%=ic6yx2', 'DATABASES': { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'gis', 'HOST': '159.65.94.239', 'PORT': 5433, 'USER': 'docker', 'PASSWORD': 'docker', } }, 'ALLOWED_HOSTNAMES': [ 'dbmac', ], } return SECRETS def insert_domainname_in_conf(conf_file, my_domain_name): try: with open("nginx_conf_template", "r") as fh: conf_text = fh.read() conf_text = conf_text.replace("--your-domainname-goes-here--", my_domain_name) with open(conf_file, "w") as fh: fh.write(conf_text) except Exception as e: print(f"{e}") def insert_imagename_in_compose(compose_file, image_name): try: with open("docker-compose-template", "r") as fh: conf_text = fh.read() conf_text = conf_text.replace("--your-image-name-goes-here--", image_name) with open(compose_file, "w") as fh: fh.write(conf_text) except Exception as e: print(f"{e}") def insert_projectname_in_uwsgi_ini(project_name, uwsgi_file): """ Sets up a uwsgi ini file modified with your project (directory) name :param project_name: usually figured out from the settings.py directory :param uwsgi_file: the outgoing uwsgi file usually uwsgi.ini :return: """ try: with open("uwsgi.ini.sample", "r") as fh: conf_text = fh.read() conf_text = conf_text.replace("--your-project-name-goes-here--", project_name) with open(uwsgi_file, "w") as fh: fh.write(conf_text) except Exception as e: print(f"{e}")
""" This file contains settings parameters which shouldn't be committed to a public repository such as GitHub. Unlike other code files, this file is not managed by git. It will be read into settings at runtime. Use this as an example to make a 'secrets.py' file in your project directory (beside settings.py). """ def get_secrets(): secrets = {'MY_DOMAIN_NAME': 'webmapdb.com', 'DOCKER_IMAGE': 'c16735211/webmap', 'DOCKER_COMPOSE_FILE': 'docker-compose.yml', 'NGINX_CONF': 'django_nginx.conf', 'SECRET_KEY': '0m-72uwqihn$&u9u+hnz763hun$8+nl3x!z!^@h0wk%=ic6yx2', 'DATABASES': {'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'gis', 'HOST': '159.65.94.239', 'PORT': 5433, 'USER': 'docker', 'PASSWORD': 'docker'}}, 'ALLOWED_HOSTNAMES': ['dbmac']} return SECRETS def insert_domainname_in_conf(conf_file, my_domain_name): try: with open('nginx_conf_template', 'r') as fh: conf_text = fh.read() conf_text = conf_text.replace('--your-domainname-goes-here--', my_domain_name) with open(conf_file, 'w') as fh: fh.write(conf_text) except Exception as e: print(f'{e}') def insert_imagename_in_compose(compose_file, image_name): try: with open('docker-compose-template', 'r') as fh: conf_text = fh.read() conf_text = conf_text.replace('--your-image-name-goes-here--', image_name) with open(compose_file, 'w') as fh: fh.write(conf_text) except Exception as e: print(f'{e}') def insert_projectname_in_uwsgi_ini(project_name, uwsgi_file): """ Sets up a uwsgi ini file modified with your project (directory) name :param project_name: usually figured out from the settings.py directory :param uwsgi_file: the outgoing uwsgi file usually uwsgi.ini :return: """ try: with open('uwsgi.ini.sample', 'r') as fh: conf_text = fh.read() conf_text = conf_text.replace('--your-project-name-goes-here--', project_name) with open(uwsgi_file, 'w') as fh: fh.write(conf_text) except Exception as e: print(f'{e}')
# Approach 1: Merge intervals # Step 1: create a list of tuples/intervals with opening/closing positions, e.g. (open_index, close_index) # Step 2: merge the list of intervals (see https://leetcode.com/problems/merge-intervals/) # Step 3: go through the merged interval list and insert the tags into the string class Solution(object): def addBoldTag(self, s, dict): """ :type s: str :type dict: List[str] :rtype: str """ locations = [] # generate the word intervals for word in dict: startIdx = s.find(word) while startIdx != -1: # "s" can contain same word multiple times ad overlapped locations.append([startIdx, startIdx + len(word) - 1]) startIdx = s.find(word, startIdx + 1) if not locations: return s # merge the intervals locations.sort(key=lambda x: x[0]) locationsMerged = [] startIdx, endIdx = locations[0][0], locations[0][1] for i in range(1, len(locations)): nextStart, nextEnd = locations[i][0], locations[i][1] if nextStart <= endIdx + 1: # since, if the strings are consequtive endIdx = max(endIdx, nextEnd) else: locationsMerged.append([startIdx, endIdx]) startIdx, endIdx = nextStart, nextEnd locationsMerged.append([startIdx, endIdx]) # gennerate the old tagged string resultStr = "" startIdx, endIdx = locationsMerged[0][0], locationsMerged[0][1] resultStr += s[0:startIdx] for i in range(len(locationsMerged)): nextStart, nextEnd = locationsMerged[i][0], locationsMerged[i][1] if endIdx < nextStart: resultStr += s[endIdx + 1:nextStart] strToBold = s[nextStart:nextEnd + 1] if strToBold: resultStr += "<b>{}</b>".format(strToBold) else: resultStr += s[endIdx + 1:nextStart] startIdx, endIdx = nextStart, nextEnd resultStr += s[endIdx + 1:] return resultStr
class Solution(object): def add_bold_tag(self, s, dict): """ :type s: str :type dict: List[str] :rtype: str """ locations = [] for word in dict: start_idx = s.find(word) while startIdx != -1: locations.append([startIdx, startIdx + len(word) - 1]) start_idx = s.find(word, startIdx + 1) if not locations: return s locations.sort(key=lambda x: x[0]) locations_merged = [] (start_idx, end_idx) = (locations[0][0], locations[0][1]) for i in range(1, len(locations)): (next_start, next_end) = (locations[i][0], locations[i][1]) if nextStart <= endIdx + 1: end_idx = max(endIdx, nextEnd) else: locationsMerged.append([startIdx, endIdx]) (start_idx, end_idx) = (nextStart, nextEnd) locationsMerged.append([startIdx, endIdx]) result_str = '' (start_idx, end_idx) = (locationsMerged[0][0], locationsMerged[0][1]) result_str += s[0:startIdx] for i in range(len(locationsMerged)): (next_start, next_end) = (locationsMerged[i][0], locationsMerged[i][1]) if endIdx < nextStart: result_str += s[endIdx + 1:nextStart] str_to_bold = s[nextStart:nextEnd + 1] if strToBold: result_str += '<b>{}</b>'.format(strToBold) else: result_str += s[endIdx + 1:nextStart] (start_idx, end_idx) = (nextStart, nextEnd) result_str += s[endIdx + 1:] return resultStr
a,b,c=[int(x) for x in input().split()] n=int(input()) k=0 m=(10**9)+7 A=[0]*n B=[0]*n A[0]=(a*c)%m for i in range(1,n): A[i]=A[i-1]*((((a*b)%m)*c)%m) + A[i-1]*((a*b)%m) + A[i-1]*((a*c)%m) A[i]=A[i]%m B[0]=(b*c)%m for i in range(1,n): B[i]=B[i-1]*((((a*b)%m)*c)%m) + B[i-1]*((a*b)%m) + B[i-1]*((a*c)%m) B[i]=B[i]%m m1=0 m2=1 n1=0 n2=1 for i in range(1,len(A)): if A[i]<A[m1]: m2=m1 m1=i for i in range(1,len(B)): if B[i]<B[n1]: n2=n1 n1=i if m1==n1: t1=(A[m1]+B[n2])%m t2=(A[m2]+B[n1])%m if t1 > t2: print(t2) else: print(t1) else: total=A[m1]+B[n1] print(total%m)
(a, b, c) = [int(x) for x in input().split()] n = int(input()) k = 0 m = 10 ** 9 + 7 a = [0] * n b = [0] * n A[0] = a * c % m for i in range(1, n): A[i] = A[i - 1] * (a * b % m * c % m) + A[i - 1] * (a * b % m) + A[i - 1] * (a * c % m) A[i] = A[i] % m B[0] = b * c % m for i in range(1, n): B[i] = B[i - 1] * (a * b % m * c % m) + B[i - 1] * (a * b % m) + B[i - 1] * (a * c % m) B[i] = B[i] % m m1 = 0 m2 = 1 n1 = 0 n2 = 1 for i in range(1, len(A)): if A[i] < A[m1]: m2 = m1 m1 = i for i in range(1, len(B)): if B[i] < B[n1]: n2 = n1 n1 = i if m1 == n1: t1 = (A[m1] + B[n2]) % m t2 = (A[m2] + B[n1]) % m if t1 > t2: print(t2) else: print(t1) else: total = A[m1] + B[n1] print(total % m)
# # PySNMP MIB module HUAWEI-WLAN-QOS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-WLAN-QOS-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:49:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint") hwWlan, = mibBuilder.importSymbols("HUAWEI-WLAN-MIB", "hwWlan") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") Unsigned32, ModuleIdentity, ObjectIdentity, NotificationType, Counter32, TimeTicks, IpAddress, Integer32, Counter64, Bits, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "ModuleIdentity", "ObjectIdentity", "NotificationType", "Counter32", "TimeTicks", "IpAddress", "Integer32", "Counter64", "Bits", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Gauge32") TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString") hwWlanQosManagement = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5)) hwWlanQosManagement.setRevisions(('2010-10-12 10:00', '2010-06-01 10:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hwWlanQosManagement.setRevisionsDescriptions((' V1.02, for the hwWlanTrafficProfileTable, change the leaf nodes hwWlanClientLimitRate and hwWlanVAPLimitRate to hwWlanClientUpLimitRate and hwWlanVAPUpLimitRate, add leaf nodes hwWlanClientDownLimitRate and hwWlanClientDownLimitRate .', ' V1.00, The first Draft.',)) if mibBuilder.loadTexts: hwWlanQosManagement.setLastUpdated('201011100000Z') if mibBuilder.loadTexts: hwWlanQosManagement.setOrganization('Huawei Technologies Co.,Ltd.') if mibBuilder.loadTexts: hwWlanQosManagement.setContactInfo("Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com ") if mibBuilder.loadTexts: hwWlanQosManagement.setDescription('Wlan QoS management.') hwWlanWmmProfileTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1), ) if mibBuilder.loadTexts: hwWlanWmmProfileTable.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileTable.setDescription('Wmm profile management table.') hwWlanWmmProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1), ).setIndexNames((0, "HUAWEI-WLAN-QOS-MIB", "hwWlanWmmProfileName")) if mibBuilder.loadTexts: hwWlanWmmProfileEntry.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileEntry.setDescription('Wmm profile management entity.') hwWlanWmmProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))) if mibBuilder.loadTexts: hwWlanWmmProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileName.setDescription('Wmm profile name.') hwWlanWmmSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanWmmSwitch.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmSwitch.setDescription('The wmm switch.') hwWlanWmmMandatorySwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanWmmMandatorySwitch.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmMandatorySwitch.setDescription('The mandatory switch.') hwWlanWmmProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 4), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWlanWmmProfileRowStatus.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileRowStatus.setDescription('Row status. Add or delete a table item.') hwQAPEDCAVoiceECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VO.') hwQAPEDCAVoiceECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VO.') hwQAPEDCAVoiceAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVoiceAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VO.') hwQAPEDCAVoiceTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(47)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVoiceTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VO.') hwQAPEDCAVoiceACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVoiceACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VO.') hwQAPEDCAVideoECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVideoECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VI.') hwQAPEDCAVideoECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVideoECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VI.') hwQAPEDCAVideoAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVideoAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VI.') hwQAPEDCAVideoTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(94)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVideoTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VI.') hwQAPEDCAVideoACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCAVideoACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VI.') hwQAPEDCABEECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABEECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BE.') hwQAPEDCABEECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABEECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BE.') hwQAPEDCABEAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABEAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BE.') hwQAPEDCABETXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABETXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BE.') hwQAPEDCABEACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABEACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BE.') hwQAPEDCABKECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABKECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BK.') hwQAPEDCABKECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABKECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BK.') hwQAPEDCABKAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABKAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BK.') hwQAPEDCABKTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABKTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BK.') hwQAPEDCABKACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQAPEDCABKACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BK.') hwQClientEDCAVoiceECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VO.') hwQClientEDCAVoiceECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VO.') hwQClientEDCAVoiceAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVoiceAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VO.') hwQClientEDCAVoiceTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(47)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVoiceTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VO.') hwQClientEDCAVideoECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVideoECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VI.') hwQClientEDCAVideoECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVideoECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VI.') hwQClientEDCAVideoAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVideoAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VI.') hwQClientEDCAVideoTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(94)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCAVideoTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VI.') hwQClientEDCABEECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABEECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BE.') hwQClientEDCABEECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABEECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BE.') hwQClientEDCABEAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABEAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BE.') hwQClientEDCABETXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABETXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BE.') hwQClientEDCABKECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABKECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BK.') hwQClientEDCABKECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABKECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BK.') hwQClientEDCABKAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABKAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BK.') hwQClientEDCABKTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwQClientEDCABKTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BK.') hwWlanTrafficProfileTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2), ) if mibBuilder.loadTexts: hwWlanTrafficProfileTable.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileTable.setDescription('Traffic profile management table.') hwWlanTrafficProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1), ).setIndexNames((0, "HUAWEI-WLAN-QOS-MIB", "hwWlanTrafficProfileName")) if mibBuilder.loadTexts: hwWlanTrafficProfileEntry.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileEntry.setDescription('Traffic profile management entity.') hwWlanTrafficProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))) if mibBuilder.loadTexts: hwWlanTrafficProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileName.setDescription('Traffic profile name.') hwWlanTrafficProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 2), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWlanTrafficProfileRowStatus.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileRowStatus.setDescription('Row status. Add or delete a table item.') hwWlanClientUpLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanClientUpLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanClientUpLimitRate.setDescription('The up limit rate of client.') hwWlanVAPUpLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanVAPUpLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanVAPUpLimitRate.setDescription('The up limit rate of VAP.') hwWlan8021pMapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("designate", 1), ("mapping", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021pMapMode.setStatus('current') if mibBuilder.loadTexts: hwWlan8021pMapMode.setDescription('The mapping mode of user-priority to 802.1p, supporting mapping and designate.') hwWlan8021pSpecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 6), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021pSpecValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021pSpecValue.setDescription('Designate the 802.1p priority value.') hwWlanUP0Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 7), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP0Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP0Map8021p.setDescription('The mapping 802.1p priority value from user-priority 0.') hwWlanUP1Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 8), Integer32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP1Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP1Map8021p.setDescription('The mapping 802.1p priority value from user-priority 1.') hwWlanUP2Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 9), Integer32().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP2Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP2Map8021p.setDescription('The mapping 802.1p priority value from user-priority 2.') hwWlanUP3Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 10), Integer32().clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP3Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP3Map8021p.setDescription('The mapping 802.1p priority value from user-priority 3.') hwWlanUP4Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 11), Integer32().clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP4Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP4Map8021p.setDescription('The mapping 802.1p priority value from user-priority 4.') hwWlanUP5Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 12), Integer32().clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP5Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP5Map8021p.setDescription('The mapping 802.1p priority value from user-priority 5.') hwWlanUP6Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 13), Integer32().clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP6Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP6Map8021p.setDescription('The mapping 802.1p priority value from user-priority 6.') hwWlanUP7Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 14), Integer32().clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUP7Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP7Map8021p.setDescription('The mapping 802.1p priority value from user-priority 7.') hwWlan8021p0MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p0MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p0MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 0.') hwWlan8021p1MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p1MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p1MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 1.') hwWlan8021p2MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p2MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p2MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 2.') hwWlan8021p3MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p3MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p3MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 3.') hwWlan8021p4MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p4MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p4MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 4.') hwWlan8021p5MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p5MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p5MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 5.') hwWlan8021p6MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p6MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p6MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 6.') hwWlan8021p7MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlan8021p7MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.') hwWlanUpTunnelPriorityMapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("specCOS", 1), ("specDSCP", 2), ("cos2cos", 3), ("cos2dscp", 4), ("dscp2cos", 5), ("dscp2dscp", 6))).clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUpTunnelPriorityMapMode.setStatus('current') if mibBuilder.loadTexts: hwWlanUpTunnelPriorityMapMode.setDescription('The mapping mode to up tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.') hwWlanUpTunnelPrioritySpecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 24), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanUpTunnelPrioritySpecValue.setStatus('current') if mibBuilder.loadTexts: hwWlanUpTunnelPrioritySpecValue.setDescription('Designate the up tunnel priority value.') hwWlanValue0MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 25), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue0MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue0MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 0.') hwWlanValue1MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 26), Integer32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue1MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue1MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 1.') hwWlanValue2MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 27), Integer32().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue2MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue2MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 2.') hwWlanValue3MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 28), Integer32().clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue3MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue3MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 3.') hwWlanValue4MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 29), Integer32().clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue4MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue4MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 4.') hwWlanValue5MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 30), Integer32().clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue5MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue5MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 5.') hwWlanValue6MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 31), Integer32().clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue6MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue6MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 6.') hwWlanValue7MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 32), Integer32().clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue7MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue7MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 7.') hwWlanDownTunnelPriorityMapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("specCOS", 1), ("specDSCP", 2), ("cos2cos", 3), ("cos2dscp", 4), ("dscp2cos", 5), ("dscp2dscp", 6))).clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanDownTunnelPriorityMapMode.setStatus('current') if mibBuilder.loadTexts: hwWlanDownTunnelPriorityMapMode.setDescription('The mapping mode to down tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.') hwWlanDownTunnelPrioritySpecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 34), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanDownTunnelPrioritySpecValue.setStatus('current') if mibBuilder.loadTexts: hwWlanDownTunnelPrioritySpecValue.setDescription('Designate the down tunnel priority value.') hwWlanValue0MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 35), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue0MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue0MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 0.') hwWlanValue1MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 36), Integer32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue1MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue1MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 1.') hwWlanValue2MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 37), Integer32().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue2MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue2MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 2.') hwWlanValue3MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 38), Integer32().clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue3MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue3MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 3.') hwWlanValue4MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 39), Integer32().clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue4MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue4MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 4.') hwWlanValue5MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 40), Integer32().clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue5MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue5MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 5.') hwWlanValue6MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 41), Integer32().clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue6MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue6MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 6.') hwWlanValue7MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 42), Integer32().clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanValue7MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue7MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 7.') hwWlanClientDownLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 43), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanClientDownLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanClientDownLimitRate.setDescription('The down limit rate of client.') hwWlanVAPDownLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 44), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanVAPDownLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanVAPDownLimitRate.setDescription('The down limit rate of VAP.') hwWlanTos0MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos0MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos0MapUPValue.setDescription('The mapping user-priority value from tos priority value 0.') hwWlanTos1MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos1MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos1MapUPValue.setDescription('The mapping user-priority value from tos priority value 1.') hwWlanTos2MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 47), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos2MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos2MapUPValue.setDescription('The mapping user-priority value from tos priority value 2.') hwWlanTos3MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 48), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos3MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos3MapUPValue.setDescription('The mapping user-priority value from tos priority value 3.') hwWlanTos4MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 49), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos4MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos4MapUPValue.setDescription('The mapping user-priority value from tos priority value 4.') hwWlanTos5MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 50), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos5MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos5MapUPValue.setDescription('The mapping user-priority value from tos priority value 5.') hwWlanTos6MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 51), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos6MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos6MapUPValue.setDescription('The mapping user-priority value from tos priority value 6.') hwWlanTos7MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 52), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwWlanTos7MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.') hwWlanBatchWmmProfileStartNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWlanBatchWmmProfileStartNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileStartNumber.setDescription("The wmm-profile start number in batch operation. This node is used with node hwWlanBatchWmmProfileGetNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.") hwWlanBatchWmmProfileGetNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWlanBatchWmmProfileGetNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileGetNumber.setDescription("The wmm-profile number that want to get in batch operation.This node is used with node hwWlanBatchWmmProfileStartNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.") hwWlanBatchWmmProfileReturnNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwWlanBatchWmmProfileReturnNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileReturnNumber.setDescription('The wmm-profile number get in batch operation.') hwWlanBatchWmmProfileName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 6), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwWlanBatchWmmProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileName.setDescription("The names of wmm-profiles which are determined by node hwWlanBatchWmmProfileStartNumber and node hwWlanBatchWmmProfileGetNumber. each wmm-profile name is divided by '?'.") hwWlanBatchTrafficProfileStartNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWlanBatchTrafficProfileStartNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileStartNumber.setDescription("The traffic-profile start number in batch operation. This node is used with node hwWlanBatchTrafficProfileGetNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.") hwWlanBatchTrafficProfileGetNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWlanBatchTrafficProfileGetNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileGetNumber.setDescription("The traffic-profile number that want to get in batch operation.This node is used with node hwWlanBatchTrafficProfileStartNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.") hwWlanBatchTrafficProfileReturnNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwWlanBatchTrafficProfileReturnNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileReturnNumber.setDescription('The traffic-profile number get in batch operation.') hwWlanBatchTrafficProfileName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 10), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwWlanBatchTrafficProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileName.setDescription("The names of traffic-profiles which are determined by node hwWlanBatchTrafficProfileStartNumber and node hwWlanBatchTrafficProfileGetNumber. each traffic-profile name is divided by '?'.") hwWlanQosManagementObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 11)) hwWlanQosManagementConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12)) hwWlanQosManagementCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1)) hwWlanQosManagementCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1, 1)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmProfileGroup"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTrafficProfileGroup"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanQosManagementGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwWlanQosManagementCompliance = hwWlanQosManagementCompliance.setStatus('current') if mibBuilder.loadTexts: hwWlanQosManagementCompliance.setDescription('Description.') hwWlanQosManagementObjectGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2)) hwWlanWmmProfileGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 1)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmSwitch"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmMandatorySwitch"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmProfileRowStatus"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABETXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABEECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABEECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABEAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABETXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKTXOPLimit")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwWlanWmmProfileGroup = hwWlanWmmProfileGroup.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileGroup.setDescription('Description.') hwWlanTrafficProfileGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 2)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanTrafficProfileRowStatus"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanClientUpLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanVAPUpLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021pMapMode"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021pSpecValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP0Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP1Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP2Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP3Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP4Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP5Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP6Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP7Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p0MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p1MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p2MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p3MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p4MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p5MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p6MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p7MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUpTunnelPriorityMapMode"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUpTunnelPrioritySpecValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue0MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue1MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue2MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue3MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue4MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue5MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue6MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue7MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanDownTunnelPriorityMapMode"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanDownTunnelPrioritySpecValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue0MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue1MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue2MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue3MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue4MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue5MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue6MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue7MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanClientDownLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanVAPDownLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos0MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos1MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos2MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos3MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos4MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos5MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos6MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos7MapUPValue")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwWlanTrafficProfileGroup = hwWlanTrafficProfileGroup.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileGroup.setDescription('Description.') hwWlanQosManagementGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 3)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileStartNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileGetNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileReturnNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileName"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileStartNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileGetNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileReturnNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileName")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwWlanQosManagementGroup = hwWlanQosManagementGroup.setStatus('current') if mibBuilder.loadTexts: hwWlanQosManagementGroup.setDescription('Description.') mibBuilder.exportSymbols("HUAWEI-WLAN-QOS-MIB", hwWlanTrafficProfileEntry=hwWlanTrafficProfileEntry, hwWlan8021p3MapUPValue=hwWlan8021p3MapUPValue, hwWlanQosManagementCompliance=hwWlanQosManagementCompliance, hwWlanUP6Map8021p=hwWlanUP6Map8021p, hwWlanBatchWmmProfileGetNumber=hwWlanBatchWmmProfileGetNumber, hwWlanQosManagementObjects=hwWlanQosManagementObjects, hwWlan8021p4MapUPValue=hwWlan8021p4MapUPValue, hwWlanTrafficProfileRowStatus=hwWlanTrafficProfileRowStatus, hwWlanQosManagementGroup=hwWlanQosManagementGroup, hwWlanWmmProfileGroup=hwWlanWmmProfileGroup, hwWlanTos0MapUPValue=hwWlanTos0MapUPValue, hwWlan8021p2MapUPValue=hwWlan8021p2MapUPValue, hwWlanValue0MapDownTunnelPriority=hwWlanValue0MapDownTunnelPriority, hwWlanUP4Map8021p=hwWlanUP4Map8021p, hwWlanTos7MapUPValue=hwWlanTos7MapUPValue, hwQAPEDCABEACKPolicy=hwQAPEDCABEACKPolicy, hwWlanWmmMandatorySwitch=hwWlanWmmMandatorySwitch, hwWlan8021p5MapUPValue=hwWlan8021p5MapUPValue, hwWlanValue3MapUpTunnelPriority=hwWlanValue3MapUpTunnelPriority, hwWlanUP0Map8021p=hwWlanUP0Map8021p, hwWlan8021p0MapUPValue=hwWlan8021p0MapUPValue, hwQClientEDCABKECWmax=hwQClientEDCABKECWmax, hwWlanValue6MapDownTunnelPriority=hwWlanValue6MapDownTunnelPriority, hwQAPEDCAVideoECWmin=hwQAPEDCAVideoECWmin, hwQClientEDCAVoiceECWmin=hwQClientEDCAVoiceECWmin, hwWlanBatchTrafficProfileName=hwWlanBatchTrafficProfileName, hwWlanTos5MapUPValue=hwWlanTos5MapUPValue, hwWlanWmmProfileName=hwWlanWmmProfileName, hwWlanValue4MapUpTunnelPriority=hwWlanValue4MapUpTunnelPriority, hwWlanTos3MapUPValue=hwWlanTos3MapUPValue, hwWlan8021p7MapUPValue=hwWlan8021p7MapUPValue, hwWlanWmmSwitch=hwWlanWmmSwitch, hwWlanUP7Map8021p=hwWlanUP7Map8021p, hwWlanDownTunnelPriorityMapMode=hwWlanDownTunnelPriorityMapMode, hwWlanValue7MapUpTunnelPriority=hwWlanValue7MapUpTunnelPriority, hwWlanWmmProfileEntry=hwWlanWmmProfileEntry, hwQAPEDCABKACKPolicy=hwQAPEDCABKACKPolicy, hwWlanTrafficProfileName=hwWlanTrafficProfileName, hwQClientEDCAVoiceECWmax=hwQClientEDCAVoiceECWmax, hwWlanWmmProfileRowStatus=hwWlanWmmProfileRowStatus, hwQAPEDCAVideoECWmax=hwQAPEDCAVideoECWmax, hwQAPEDCABKECWmin=hwQAPEDCABKECWmin, hwWlanUP1Map8021p=hwWlanUP1Map8021p, hwQClientEDCABEAIFSN=hwQClientEDCABEAIFSN, hwQClientEDCAVoiceTXOPLimit=hwQClientEDCAVoiceTXOPLimit, hwWlanTos2MapUPValue=hwWlanTos2MapUPValue, hwWlanUP3Map8021p=hwWlanUP3Map8021p, hwQAPEDCABKECWmax=hwQAPEDCABKECWmax, hwWlanUP5Map8021p=hwWlanUP5Map8021p, hwWlanClientUpLimitRate=hwWlanClientUpLimitRate, hwQAPEDCAVoiceECWmin=hwQAPEDCAVoiceECWmin, hwWlanVAPDownLimitRate=hwWlanVAPDownLimitRate, hwQAPEDCABKAIFSN=hwQAPEDCABKAIFSN, hwQAPEDCAVideoTXOPLimit=hwQAPEDCAVideoTXOPLimit, hwQAPEDCABEECWmax=hwQAPEDCABEECWmax, hwWlanTrafficProfileTable=hwWlanTrafficProfileTable, hwWlanBatchTrafficProfileStartNumber=hwWlanBatchTrafficProfileStartNumber, hwQClientEDCABKECWmin=hwQClientEDCABKECWmin, hwWlanValue5MapUpTunnelPriority=hwWlanValue5MapUpTunnelPriority, hwWlanUpTunnelPriorityMapMode=hwWlanUpTunnelPriorityMapMode, hwQAPEDCAVoiceTXOPLimit=hwQAPEDCAVoiceTXOPLimit, hwQAPEDCABEECWmin=hwQAPEDCABEECWmin, hwQClientEDCABKTXOPLimit=hwQClientEDCABKTXOPLimit, hwWlanBatchWmmProfileStartNumber=hwWlanBatchWmmProfileStartNumber, hwQAPEDCAVideoACKPolicy=hwQAPEDCAVideoACKPolicy, hwQAPEDCABEAIFSN=hwQAPEDCABEAIFSN, hwQClientEDCAVideoECWmin=hwQClientEDCAVideoECWmin, hwQAPEDCAVideoAIFSN=hwQAPEDCAVideoAIFSN, hwWlanValue2MapDownTunnelPriority=hwWlanValue2MapDownTunnelPriority, hwQClientEDCAVideoAIFSN=hwQClientEDCAVideoAIFSN, hwQClientEDCABKAIFSN=hwQClientEDCABKAIFSN, hwWlanUP2Map8021p=hwWlanUP2Map8021p, hwWlanQosManagementConformance=hwWlanQosManagementConformance, PYSNMP_MODULE_ID=hwWlanQosManagement, hwQClientEDCABEECWmin=hwQClientEDCABEECWmin, hwWlanValue3MapDownTunnelPriority=hwWlanValue3MapDownTunnelPriority, hwWlanValue7MapDownTunnelPriority=hwWlanValue7MapDownTunnelPriority, hwQAPEDCAVoiceACKPolicy=hwQAPEDCAVoiceACKPolicy, hwWlanTos4MapUPValue=hwWlanTos4MapUPValue, hwQClientEDCAVideoECWmax=hwQClientEDCAVideoECWmax, hwWlan8021pSpecValue=hwWlan8021pSpecValue, hwWlanTos6MapUPValue=hwWlanTos6MapUPValue, hwQAPEDCAVoiceECWmax=hwQAPEDCAVoiceECWmax, hwWlanValue0MapUpTunnelPriority=hwWlanValue0MapUpTunnelPriority, hwWlanValue1MapDownTunnelPriority=hwWlanValue1MapDownTunnelPriority, hwWlanUpTunnelPrioritySpecValue=hwWlanUpTunnelPrioritySpecValue, hwWlanValue6MapUpTunnelPriority=hwWlanValue6MapUpTunnelPriority, hwWlanValue1MapUpTunnelPriority=hwWlanValue1MapUpTunnelPriority, hwWlanValue5MapDownTunnelPriority=hwWlanValue5MapDownTunnelPriority, hwQClientEDCABEECWmax=hwQClientEDCABEECWmax, hwQAPEDCABKTXOPLimit=hwQAPEDCABKTXOPLimit, hwWlanQosManagement=hwWlanQosManagement, hwQAPEDCABETXOPLimit=hwQAPEDCABETXOPLimit, hwWlanQosManagementCompliances=hwWlanQosManagementCompliances, hwWlanTos1MapUPValue=hwWlanTos1MapUPValue, hwWlanValue2MapUpTunnelPriority=hwWlanValue2MapUpTunnelPriority, hwWlanBatchWmmProfileReturnNumber=hwWlanBatchWmmProfileReturnNumber, hwWlanWmmProfileTable=hwWlanWmmProfileTable, hwWlanDownTunnelPrioritySpecValue=hwWlanDownTunnelPrioritySpecValue, hwWlanValue4MapDownTunnelPriority=hwWlanValue4MapDownTunnelPriority, hwWlanBatchWmmProfileName=hwWlanBatchWmmProfileName, hwQClientEDCAVideoTXOPLimit=hwQClientEDCAVideoTXOPLimit, hwWlanBatchTrafficProfileGetNumber=hwWlanBatchTrafficProfileGetNumber, hwQClientEDCABETXOPLimit=hwQClientEDCABETXOPLimit, hwWlanQosManagementObjectGroups=hwWlanQosManagementObjectGroups, hwWlanVAPUpLimitRate=hwWlanVAPUpLimitRate, hwWlanClientDownLimitRate=hwWlanClientDownLimitRate, hwQClientEDCAVoiceAIFSN=hwQClientEDCAVoiceAIFSN, hwQAPEDCAVoiceAIFSN=hwQAPEDCAVoiceAIFSN, hwWlan8021p6MapUPValue=hwWlan8021p6MapUPValue, hwWlan8021pMapMode=hwWlan8021pMapMode, hwWlanBatchTrafficProfileReturnNumber=hwWlanBatchTrafficProfileReturnNumber, hwWlan8021p1MapUPValue=hwWlan8021p1MapUPValue, hwWlanTrafficProfileGroup=hwWlanTrafficProfileGroup)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, constraints_intersection, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint') (hw_wlan,) = mibBuilder.importSymbols('HUAWEI-WLAN-MIB', 'hwWlan') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (unsigned32, module_identity, object_identity, notification_type, counter32, time_ticks, ip_address, integer32, counter64, bits, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'ModuleIdentity', 'ObjectIdentity', 'NotificationType', 'Counter32', 'TimeTicks', 'IpAddress', 'Integer32', 'Counter64', 'Bits', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Gauge32') (textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString') hw_wlan_qos_management = module_identity((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5)) hwWlanQosManagement.setRevisions(('2010-10-12 10:00', '2010-06-01 10:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hwWlanQosManagement.setRevisionsDescriptions((' V1.02, for the hwWlanTrafficProfileTable, change the leaf nodes hwWlanClientLimitRate and hwWlanVAPLimitRate to hwWlanClientUpLimitRate and hwWlanVAPUpLimitRate, add leaf nodes hwWlanClientDownLimitRate and hwWlanClientDownLimitRate .', ' V1.00, The first Draft.')) if mibBuilder.loadTexts: hwWlanQosManagement.setLastUpdated('201011100000Z') if mibBuilder.loadTexts: hwWlanQosManagement.setOrganization('Huawei Technologies Co.,Ltd.') if mibBuilder.loadTexts: hwWlanQosManagement.setContactInfo("Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com ") if mibBuilder.loadTexts: hwWlanQosManagement.setDescription('Wlan QoS management.') hw_wlan_wmm_profile_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1)) if mibBuilder.loadTexts: hwWlanWmmProfileTable.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileTable.setDescription('Wmm profile management table.') hw_wlan_wmm_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1)).setIndexNames((0, 'HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmProfileName')) if mibBuilder.loadTexts: hwWlanWmmProfileEntry.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileEntry.setDescription('Wmm profile management entity.') hw_wlan_wmm_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))) if mibBuilder.loadTexts: hwWlanWmmProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileName.setDescription('Wmm profile name.') hw_wlan_wmm_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanWmmSwitch.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmSwitch.setDescription('The wmm switch.') hw_wlan_wmm_mandatory_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanWmmMandatorySwitch.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmMandatorySwitch.setDescription('The mandatory switch.') hw_wlan_wmm_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 4), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWlanWmmProfileRowStatus.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileRowStatus.setDescription('Row status. Add or delete a table item.') hw_qapedca_voice_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VO.') hw_qapedca_voice_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VO.') hw_qapedca_voice_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVoiceAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VO.') hw_qapedca_voice_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(47)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVoiceTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VO.') hw_qapedca_voice_ack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVoiceACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVoiceACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VO.') hw_qapedca_video_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVideoECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VI.') hw_qapedca_video_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVideoECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VI.') hw_qapedca_video_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVideoAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VI.') hw_qapedca_video_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(94)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVideoTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VI.') hw_qapedca_video_ack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCAVideoACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCAVideoACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VI.') hw_qapedcabeec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABEECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BE.') hw_qapedcabeec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABEECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BE.') hw_qapedcabeaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABEAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BE.') hw_qapedcabetxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABETXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BE.') hw_qapedcabeack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABEACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABEACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BE.') hw_qapedcabkec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABKECWmax.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BK.') hw_qapedcabkec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABKECWmin.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BK.') hw_qapedcabkaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABKAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BK.') hw_qapedcabktxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABKTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BK.') hw_qapedcabkack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQAPEDCABKACKPolicy.setStatus('current') if mibBuilder.loadTexts: hwQAPEDCABKACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BK.') hw_q_client_edca_voice_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VO.') hw_q_client_edca_voice_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 26), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VO.') hw_q_client_edca_voice_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 27), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVoiceAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VO.') hw_q_client_edca_voice_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(47)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVoiceTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VO.') hw_q_client_edca_video_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 29), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVideoECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VI.') hw_q_client_edca_video_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVideoECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VI.') hw_q_client_edca_video_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 31), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVideoAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VI.') hw_q_client_edca_video_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(94)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCAVideoTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VI.') hw_q_client_edcabeec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 33), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABEECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BE.') hw_q_client_edcabeec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 34), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABEECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BE.') hw_q_client_edcabeaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 35), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABEAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BE.') hw_q_client_edcabetxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 36), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABETXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BE.') hw_q_client_edcabkec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 37), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABKECWmax.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BK.') hw_q_client_edcabkec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 38), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABKECWmin.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BK.') hw_q_client_edcabkaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 39), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABKAIFSN.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BK.') hw_q_client_edcabktxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 40), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwQClientEDCABKTXOPLimit.setStatus('current') if mibBuilder.loadTexts: hwQClientEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BK.') hw_wlan_traffic_profile_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2)) if mibBuilder.loadTexts: hwWlanTrafficProfileTable.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileTable.setDescription('Traffic profile management table.') hw_wlan_traffic_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1)).setIndexNames((0, 'HUAWEI-WLAN-QOS-MIB', 'hwWlanTrafficProfileName')) if mibBuilder.loadTexts: hwWlanTrafficProfileEntry.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileEntry.setDescription('Traffic profile management entity.') hw_wlan_traffic_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))) if mibBuilder.loadTexts: hwWlanTrafficProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileName.setDescription('Traffic profile name.') hw_wlan_traffic_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 2), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWlanTrafficProfileRowStatus.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileRowStatus.setDescription('Row status. Add or delete a table item.') hw_wlan_client_up_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 3), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanClientUpLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanClientUpLimitRate.setDescription('The up limit rate of client.') hw_wlan_vap_up_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 4), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanVAPUpLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanVAPUpLimitRate.setDescription('The up limit rate of VAP.') hw_wlan8021p_map_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('designate', 1), ('mapping', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021pMapMode.setStatus('current') if mibBuilder.loadTexts: hwWlan8021pMapMode.setDescription('The mapping mode of user-priority to 802.1p, supporting mapping and designate.') hw_wlan8021p_spec_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 6), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021pSpecValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021pSpecValue.setDescription('Designate the 802.1p priority value.') hw_wlan_up0_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 7), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP0Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP0Map8021p.setDescription('The mapping 802.1p priority value from user-priority 0.') hw_wlan_up1_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 8), integer32().clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP1Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP1Map8021p.setDescription('The mapping 802.1p priority value from user-priority 1.') hw_wlan_up2_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 9), integer32().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP2Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP2Map8021p.setDescription('The mapping 802.1p priority value from user-priority 2.') hw_wlan_up3_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 10), integer32().clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP3Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP3Map8021p.setDescription('The mapping 802.1p priority value from user-priority 3.') hw_wlan_up4_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 11), integer32().clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP4Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP4Map8021p.setDescription('The mapping 802.1p priority value from user-priority 4.') hw_wlan_up5_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 12), integer32().clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP5Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP5Map8021p.setDescription('The mapping 802.1p priority value from user-priority 5.') hw_wlan_up6_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 13), integer32().clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP6Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP6Map8021p.setDescription('The mapping 802.1p priority value from user-priority 6.') hw_wlan_up7_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 14), integer32().clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUP7Map8021p.setStatus('current') if mibBuilder.loadTexts: hwWlanUP7Map8021p.setDescription('The mapping 802.1p priority value from user-priority 7.') hw_wlan8021p0_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p0MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p0MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 0.') hw_wlan8021p1_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p1MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p1MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 1.') hw_wlan8021p2_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p2MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p2MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 2.') hw_wlan8021p3_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p3MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p3MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 3.') hw_wlan8021p4_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p4MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p4MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 4.') hw_wlan8021p5_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p5MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p5MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 5.') hw_wlan8021p6_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p6MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p6MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 6.') hw_wlan8021p7_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlan8021p7MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlan8021p7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.') hw_wlan_up_tunnel_priority_map_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('specCOS', 1), ('specDSCP', 2), ('cos2cos', 3), ('cos2dscp', 4), ('dscp2cos', 5), ('dscp2dscp', 6))).clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUpTunnelPriorityMapMode.setStatus('current') if mibBuilder.loadTexts: hwWlanUpTunnelPriorityMapMode.setDescription('The mapping mode to up tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.') hw_wlan_up_tunnel_priority_spec_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 24), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanUpTunnelPrioritySpecValue.setStatus('current') if mibBuilder.loadTexts: hwWlanUpTunnelPrioritySpecValue.setDescription('Designate the up tunnel priority value.') hw_wlan_value0_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 25), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue0MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue0MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 0.') hw_wlan_value1_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 26), integer32().clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue1MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue1MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 1.') hw_wlan_value2_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 27), integer32().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue2MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue2MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 2.') hw_wlan_value3_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 28), integer32().clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue3MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue3MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 3.') hw_wlan_value4_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 29), integer32().clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue4MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue4MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 4.') hw_wlan_value5_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 30), integer32().clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue5MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue5MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 5.') hw_wlan_value6_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 31), integer32().clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue6MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue6MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 6.') hw_wlan_value7_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 32), integer32().clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue7MapUpTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue7MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 7.') hw_wlan_down_tunnel_priority_map_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('specCOS', 1), ('specDSCP', 2), ('cos2cos', 3), ('cos2dscp', 4), ('dscp2cos', 5), ('dscp2dscp', 6))).clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanDownTunnelPriorityMapMode.setStatus('current') if mibBuilder.loadTexts: hwWlanDownTunnelPriorityMapMode.setDescription('The mapping mode to down tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.') hw_wlan_down_tunnel_priority_spec_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 34), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanDownTunnelPrioritySpecValue.setStatus('current') if mibBuilder.loadTexts: hwWlanDownTunnelPrioritySpecValue.setDescription('Designate the down tunnel priority value.') hw_wlan_value0_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 35), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue0MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue0MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 0.') hw_wlan_value1_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 36), integer32().clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue1MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue1MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 1.') hw_wlan_value2_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 37), integer32().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue2MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue2MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 2.') hw_wlan_value3_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 38), integer32().clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue3MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue3MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 3.') hw_wlan_value4_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 39), integer32().clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue4MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue4MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 4.') hw_wlan_value5_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 40), integer32().clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue5MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue5MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 5.') hw_wlan_value6_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 41), integer32().clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue6MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue6MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 6.') hw_wlan_value7_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 42), integer32().clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanValue7MapDownTunnelPriority.setStatus('current') if mibBuilder.loadTexts: hwWlanValue7MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 7.') hw_wlan_client_down_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 43), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanClientDownLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanClientDownLimitRate.setDescription('The down limit rate of client.') hw_wlan_vap_down_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 44), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanVAPDownLimitRate.setStatus('current') if mibBuilder.loadTexts: hwWlanVAPDownLimitRate.setDescription('The down limit rate of VAP.') hw_wlan_tos0_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 45), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos0MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos0MapUPValue.setDescription('The mapping user-priority value from tos priority value 0.') hw_wlan_tos1_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 46), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos1MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos1MapUPValue.setDescription('The mapping user-priority value from tos priority value 1.') hw_wlan_tos2_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 47), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos2MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos2MapUPValue.setDescription('The mapping user-priority value from tos priority value 2.') hw_wlan_tos3_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 48), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos3MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos3MapUPValue.setDescription('The mapping user-priority value from tos priority value 3.') hw_wlan_tos4_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 49), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(4)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos4MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos4MapUPValue.setDescription('The mapping user-priority value from tos priority value 4.') hw_wlan_tos5_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 50), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos5MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos5MapUPValue.setDescription('The mapping user-priority value from tos priority value 5.') hw_wlan_tos6_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 51), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(6)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos6MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos6MapUPValue.setDescription('The mapping user-priority value from tos priority value 6.') hw_wlan_tos7_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 52), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(7)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwWlanTos7MapUPValue.setStatus('current') if mibBuilder.loadTexts: hwWlanTos7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.') hw_wlan_batch_wmm_profile_start_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWlanBatchWmmProfileStartNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileStartNumber.setDescription("The wmm-profile start number in batch operation. This node is used with node hwWlanBatchWmmProfileGetNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.") hw_wlan_batch_wmm_profile_get_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWlanBatchWmmProfileGetNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileGetNumber.setDescription("The wmm-profile number that want to get in batch operation.This node is used with node hwWlanBatchWmmProfileStartNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.") hw_wlan_batch_wmm_profile_return_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwWlanBatchWmmProfileReturnNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileReturnNumber.setDescription('The wmm-profile number get in batch operation.') hw_wlan_batch_wmm_profile_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 6), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwWlanBatchWmmProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchWmmProfileName.setDescription("The names of wmm-profiles which are determined by node hwWlanBatchWmmProfileStartNumber and node hwWlanBatchWmmProfileGetNumber. each wmm-profile name is divided by '?'.") hw_wlan_batch_traffic_profile_start_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileStartNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileStartNumber.setDescription("The traffic-profile start number in batch operation. This node is used with node hwWlanBatchTrafficProfileGetNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.") hw_wlan_batch_traffic_profile_get_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileGetNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileGetNumber.setDescription("The traffic-profile number that want to get in batch operation.This node is used with node hwWlanBatchTrafficProfileStartNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.") hw_wlan_batch_traffic_profile_return_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileReturnNumber.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileReturnNumber.setDescription('The traffic-profile number get in batch operation.') hw_wlan_batch_traffic_profile_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 10), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileName.setStatus('current') if mibBuilder.loadTexts: hwWlanBatchTrafficProfileName.setDescription("The names of traffic-profiles which are determined by node hwWlanBatchTrafficProfileStartNumber and node hwWlanBatchTrafficProfileGetNumber. each traffic-profile name is divided by '?'.") hw_wlan_qos_management_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 11)) hw_wlan_qos_management_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12)) hw_wlan_qos_management_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1)) hw_wlan_qos_management_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1, 1)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmProfileGroup'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTrafficProfileGroup'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanQosManagementGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_wlan_qos_management_compliance = hwWlanQosManagementCompliance.setStatus('current') if mibBuilder.loadTexts: hwWlanQosManagementCompliance.setDescription('Description.') hw_wlan_qos_management_object_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2)) hw_wlan_wmm_profile_group = object_group((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 1)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmSwitch'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmMandatorySwitch'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmProfileRowStatus'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABETXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABEECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABEECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABEAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABETXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKTXOPLimit')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_wlan_wmm_profile_group = hwWlanWmmProfileGroup.setStatus('current') if mibBuilder.loadTexts: hwWlanWmmProfileGroup.setDescription('Description.') hw_wlan_traffic_profile_group = object_group((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 2)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanTrafficProfileRowStatus'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanClientUpLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanVAPUpLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021pMapMode'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021pSpecValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP0Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP1Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP2Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP3Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP4Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP5Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP6Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP7Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p0MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p1MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p2MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p3MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p4MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p5MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p6MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p7MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUpTunnelPriorityMapMode'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUpTunnelPrioritySpecValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue0MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue1MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue2MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue3MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue4MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue5MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue6MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue7MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanDownTunnelPriorityMapMode'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanDownTunnelPrioritySpecValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue0MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue1MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue2MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue3MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue4MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue5MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue6MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue7MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanClientDownLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanVAPDownLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos0MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos1MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos2MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos3MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos4MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos5MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos6MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos7MapUPValue')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_wlan_traffic_profile_group = hwWlanTrafficProfileGroup.setStatus('current') if mibBuilder.loadTexts: hwWlanTrafficProfileGroup.setDescription('Description.') hw_wlan_qos_management_group = object_group((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 3)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileStartNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileGetNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileReturnNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileName'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileStartNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileGetNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileReturnNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileName')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_wlan_qos_management_group = hwWlanQosManagementGroup.setStatus('current') if mibBuilder.loadTexts: hwWlanQosManagementGroup.setDescription('Description.') mibBuilder.exportSymbols('HUAWEI-WLAN-QOS-MIB', hwWlanTrafficProfileEntry=hwWlanTrafficProfileEntry, hwWlan8021p3MapUPValue=hwWlan8021p3MapUPValue, hwWlanQosManagementCompliance=hwWlanQosManagementCompliance, hwWlanUP6Map8021p=hwWlanUP6Map8021p, hwWlanBatchWmmProfileGetNumber=hwWlanBatchWmmProfileGetNumber, hwWlanQosManagementObjects=hwWlanQosManagementObjects, hwWlan8021p4MapUPValue=hwWlan8021p4MapUPValue, hwWlanTrafficProfileRowStatus=hwWlanTrafficProfileRowStatus, hwWlanQosManagementGroup=hwWlanQosManagementGroup, hwWlanWmmProfileGroup=hwWlanWmmProfileGroup, hwWlanTos0MapUPValue=hwWlanTos0MapUPValue, hwWlan8021p2MapUPValue=hwWlan8021p2MapUPValue, hwWlanValue0MapDownTunnelPriority=hwWlanValue0MapDownTunnelPriority, hwWlanUP4Map8021p=hwWlanUP4Map8021p, hwWlanTos7MapUPValue=hwWlanTos7MapUPValue, hwQAPEDCABEACKPolicy=hwQAPEDCABEACKPolicy, hwWlanWmmMandatorySwitch=hwWlanWmmMandatorySwitch, hwWlan8021p5MapUPValue=hwWlan8021p5MapUPValue, hwWlanValue3MapUpTunnelPriority=hwWlanValue3MapUpTunnelPriority, hwWlanUP0Map8021p=hwWlanUP0Map8021p, hwWlan8021p0MapUPValue=hwWlan8021p0MapUPValue, hwQClientEDCABKECWmax=hwQClientEDCABKECWmax, hwWlanValue6MapDownTunnelPriority=hwWlanValue6MapDownTunnelPriority, hwQAPEDCAVideoECWmin=hwQAPEDCAVideoECWmin, hwQClientEDCAVoiceECWmin=hwQClientEDCAVoiceECWmin, hwWlanBatchTrafficProfileName=hwWlanBatchTrafficProfileName, hwWlanTos5MapUPValue=hwWlanTos5MapUPValue, hwWlanWmmProfileName=hwWlanWmmProfileName, hwWlanValue4MapUpTunnelPriority=hwWlanValue4MapUpTunnelPriority, hwWlanTos3MapUPValue=hwWlanTos3MapUPValue, hwWlan8021p7MapUPValue=hwWlan8021p7MapUPValue, hwWlanWmmSwitch=hwWlanWmmSwitch, hwWlanUP7Map8021p=hwWlanUP7Map8021p, hwWlanDownTunnelPriorityMapMode=hwWlanDownTunnelPriorityMapMode, hwWlanValue7MapUpTunnelPriority=hwWlanValue7MapUpTunnelPriority, hwWlanWmmProfileEntry=hwWlanWmmProfileEntry, hwQAPEDCABKACKPolicy=hwQAPEDCABKACKPolicy, hwWlanTrafficProfileName=hwWlanTrafficProfileName, hwQClientEDCAVoiceECWmax=hwQClientEDCAVoiceECWmax, hwWlanWmmProfileRowStatus=hwWlanWmmProfileRowStatus, hwQAPEDCAVideoECWmax=hwQAPEDCAVideoECWmax, hwQAPEDCABKECWmin=hwQAPEDCABKECWmin, hwWlanUP1Map8021p=hwWlanUP1Map8021p, hwQClientEDCABEAIFSN=hwQClientEDCABEAIFSN, hwQClientEDCAVoiceTXOPLimit=hwQClientEDCAVoiceTXOPLimit, hwWlanTos2MapUPValue=hwWlanTos2MapUPValue, hwWlanUP3Map8021p=hwWlanUP3Map8021p, hwQAPEDCABKECWmax=hwQAPEDCABKECWmax, hwWlanUP5Map8021p=hwWlanUP5Map8021p, hwWlanClientUpLimitRate=hwWlanClientUpLimitRate, hwQAPEDCAVoiceECWmin=hwQAPEDCAVoiceECWmin, hwWlanVAPDownLimitRate=hwWlanVAPDownLimitRate, hwQAPEDCABKAIFSN=hwQAPEDCABKAIFSN, hwQAPEDCAVideoTXOPLimit=hwQAPEDCAVideoTXOPLimit, hwQAPEDCABEECWmax=hwQAPEDCABEECWmax, hwWlanTrafficProfileTable=hwWlanTrafficProfileTable, hwWlanBatchTrafficProfileStartNumber=hwWlanBatchTrafficProfileStartNumber, hwQClientEDCABKECWmin=hwQClientEDCABKECWmin, hwWlanValue5MapUpTunnelPriority=hwWlanValue5MapUpTunnelPriority, hwWlanUpTunnelPriorityMapMode=hwWlanUpTunnelPriorityMapMode, hwQAPEDCAVoiceTXOPLimit=hwQAPEDCAVoiceTXOPLimit, hwQAPEDCABEECWmin=hwQAPEDCABEECWmin, hwQClientEDCABKTXOPLimit=hwQClientEDCABKTXOPLimit, hwWlanBatchWmmProfileStartNumber=hwWlanBatchWmmProfileStartNumber, hwQAPEDCAVideoACKPolicy=hwQAPEDCAVideoACKPolicy, hwQAPEDCABEAIFSN=hwQAPEDCABEAIFSN, hwQClientEDCAVideoECWmin=hwQClientEDCAVideoECWmin, hwQAPEDCAVideoAIFSN=hwQAPEDCAVideoAIFSN, hwWlanValue2MapDownTunnelPriority=hwWlanValue2MapDownTunnelPriority, hwQClientEDCAVideoAIFSN=hwQClientEDCAVideoAIFSN, hwQClientEDCABKAIFSN=hwQClientEDCABKAIFSN, hwWlanUP2Map8021p=hwWlanUP2Map8021p, hwWlanQosManagementConformance=hwWlanQosManagementConformance, PYSNMP_MODULE_ID=hwWlanQosManagement, hwQClientEDCABEECWmin=hwQClientEDCABEECWmin, hwWlanValue3MapDownTunnelPriority=hwWlanValue3MapDownTunnelPriority, hwWlanValue7MapDownTunnelPriority=hwWlanValue7MapDownTunnelPriority, hwQAPEDCAVoiceACKPolicy=hwQAPEDCAVoiceACKPolicy, hwWlanTos4MapUPValue=hwWlanTos4MapUPValue, hwQClientEDCAVideoECWmax=hwQClientEDCAVideoECWmax, hwWlan8021pSpecValue=hwWlan8021pSpecValue, hwWlanTos6MapUPValue=hwWlanTos6MapUPValue, hwQAPEDCAVoiceECWmax=hwQAPEDCAVoiceECWmax, hwWlanValue0MapUpTunnelPriority=hwWlanValue0MapUpTunnelPriority, hwWlanValue1MapDownTunnelPriority=hwWlanValue1MapDownTunnelPriority, hwWlanUpTunnelPrioritySpecValue=hwWlanUpTunnelPrioritySpecValue, hwWlanValue6MapUpTunnelPriority=hwWlanValue6MapUpTunnelPriority, hwWlanValue1MapUpTunnelPriority=hwWlanValue1MapUpTunnelPriority, hwWlanValue5MapDownTunnelPriority=hwWlanValue5MapDownTunnelPriority, hwQClientEDCABEECWmax=hwQClientEDCABEECWmax, hwQAPEDCABKTXOPLimit=hwQAPEDCABKTXOPLimit, hwWlanQosManagement=hwWlanQosManagement, hwQAPEDCABETXOPLimit=hwQAPEDCABETXOPLimit, hwWlanQosManagementCompliances=hwWlanQosManagementCompliances, hwWlanTos1MapUPValue=hwWlanTos1MapUPValue, hwWlanValue2MapUpTunnelPriority=hwWlanValue2MapUpTunnelPriority, hwWlanBatchWmmProfileReturnNumber=hwWlanBatchWmmProfileReturnNumber, hwWlanWmmProfileTable=hwWlanWmmProfileTable, hwWlanDownTunnelPrioritySpecValue=hwWlanDownTunnelPrioritySpecValue, hwWlanValue4MapDownTunnelPriority=hwWlanValue4MapDownTunnelPriority, hwWlanBatchWmmProfileName=hwWlanBatchWmmProfileName, hwQClientEDCAVideoTXOPLimit=hwQClientEDCAVideoTXOPLimit, hwWlanBatchTrafficProfileGetNumber=hwWlanBatchTrafficProfileGetNumber, hwQClientEDCABETXOPLimit=hwQClientEDCABETXOPLimit, hwWlanQosManagementObjectGroups=hwWlanQosManagementObjectGroups, hwWlanVAPUpLimitRate=hwWlanVAPUpLimitRate, hwWlanClientDownLimitRate=hwWlanClientDownLimitRate, hwQClientEDCAVoiceAIFSN=hwQClientEDCAVoiceAIFSN, hwQAPEDCAVoiceAIFSN=hwQAPEDCAVoiceAIFSN, hwWlan8021p6MapUPValue=hwWlan8021p6MapUPValue, hwWlan8021pMapMode=hwWlan8021pMapMode, hwWlanBatchTrafficProfileReturnNumber=hwWlanBatchTrafficProfileReturnNumber, hwWlan8021p1MapUPValue=hwWlan8021p1MapUPValue, hwWlanTrafficProfileGroup=hwWlanTrafficProfileGroup)
def polishNotation(tokens): def isNumber(stringRepresentation): return (len(stringRepresentation) > 1 or '0' <= stringRepresentation[0] and stringRepresentation[0] <= '9') stack = [] for i in range(len(tokens)): stack.append(tokens[i]) while (len(stack) > 2 and isNumber(stack[-1]) and isNumber(stack[-2])): leftOperand = int(stack[-2]) rightOperand = int(stack[-1]) result = 0 if stack[-3] == '-': result = leftOperand - rightOperand if stack[-3] == '+': result = leftOperand + rightOperand if stack[-3] == '*': result = leftOperand * rightOperand stack = stack[:-3] stack.append(str(result)) return int(stack[0])
def polish_notation(tokens): def is_number(stringRepresentation): return len(stringRepresentation) > 1 or ('0' <= stringRepresentation[0] and stringRepresentation[0] <= '9') stack = [] for i in range(len(tokens)): stack.append(tokens[i]) while len(stack) > 2 and is_number(stack[-1]) and is_number(stack[-2]): left_operand = int(stack[-2]) right_operand = int(stack[-1]) result = 0 if stack[-3] == '-': result = leftOperand - rightOperand if stack[-3] == '+': result = leftOperand + rightOperand if stack[-3] == '*': result = leftOperand * rightOperand stack = stack[:-3] stack.append(str(result)) return int(stack[0])
__author__ = 'godq' class BaseDagRepo: def add_dag(self, dag_name, content): raise NotImplemented def update_dag(self, dag_name, content): raise NotImplemented def delete_dag(self, dag_name): raise NotImplemented def find_dag(self, dag_name): raise NotImplemented def list_dags(self, detail=False): raise NotImplemented def find_step_def(self, dag_name, step_name): raise NotImplemented def add_dag_run(self, dag_name, dag_run_id=None): raise NotImplemented def stop_dag_run(self, dag_name, dag_run_id): raise NotImplemented def list_dag_runs(self, dag_name): raise NotImplemented def find_dag_run(self, dag_name, dag_run_id): raise NotImplemented def mark_dag_run_status(self, dag_name, dag_run_id, status): raise NotImplemented def add_dag_run_event(self, dag_name, dag_run_id, event): raise NotImplemented def find_dag_run_events(self, dag_name, run_id): raise NotImplemented
__author__ = 'godq' class Basedagrepo: def add_dag(self, dag_name, content): raise NotImplemented def update_dag(self, dag_name, content): raise NotImplemented def delete_dag(self, dag_name): raise NotImplemented def find_dag(self, dag_name): raise NotImplemented def list_dags(self, detail=False): raise NotImplemented def find_step_def(self, dag_name, step_name): raise NotImplemented def add_dag_run(self, dag_name, dag_run_id=None): raise NotImplemented def stop_dag_run(self, dag_name, dag_run_id): raise NotImplemented def list_dag_runs(self, dag_name): raise NotImplemented def find_dag_run(self, dag_name, dag_run_id): raise NotImplemented def mark_dag_run_status(self, dag_name, dag_run_id, status): raise NotImplemented def add_dag_run_event(self, dag_name, dag_run_id, event): raise NotImplemented def find_dag_run_events(self, dag_name, run_id): raise NotImplemented
load("//flatbuffers/toolchain_defs:toolchain_defs.bzl", "toolchain_target_for_repo") CC_LANG_REPO = "rules_flatbuffers_cc_toolchain" CC_LANG_TOOLCHAIN = toolchain_target_for_repo(CC_LANG_REPO) CC_LANG_SHORTNAME = "cc" CC_LANG_DEFAULT_RUNTIME = "@com_github_google_flatbuffers//:flatbuffers" CC_LANG_FLATC_ARGS = [ "--cpp", # This is necessary to preserve the directory hierarchy for generated headers to be relative to # the workspace root as bazel expects. "--keep-prefix", ] CC_LANG_DEFAULT_EXTRA_FLATC_ARGS = [ "--gen-mutable", "--gen-name-strings", "--reflect-names", ]
load('//flatbuffers/toolchain_defs:toolchain_defs.bzl', 'toolchain_target_for_repo') cc_lang_repo = 'rules_flatbuffers_cc_toolchain' cc_lang_toolchain = toolchain_target_for_repo(CC_LANG_REPO) cc_lang_shortname = 'cc' cc_lang_default_runtime = '@com_github_google_flatbuffers//:flatbuffers' cc_lang_flatc_args = ['--cpp', '--keep-prefix'] cc_lang_default_extra_flatc_args = ['--gen-mutable', '--gen-name-strings', '--reflect-names']
def is_anagram(word, another_word): word = list(tuple(word)) word.sort() another_word = list(tuple(another_word)) another_word.sort() return word == another_word def main(): words = [] new_words = [] anagrams = [] print("***** Anagram Finder *****") word = input("Enter a word: ") try: file = open("EnglishWords.txt") for line in file: if line == "START\n": words = file.readlines() break for text in words: text = text[:-1] new_words.append(text) for text in new_words: if is_anagram(word, text) and text != word: anagrams.append(text) except FileNotFoundError as err: print("Sorry, could not find file 'EnglishWords.txt'.") else: if len(anagrams) == 0: print("Sorry, anagrams of '" + word + "' could not be found.") file.close() file.close() print(str(anagrams)) if __name__ == "__main__": main()
def is_anagram(word, another_word): word = list(tuple(word)) word.sort() another_word = list(tuple(another_word)) another_word.sort() return word == another_word def main(): words = [] new_words = [] anagrams = [] print('***** Anagram Finder *****') word = input('Enter a word: ') try: file = open('EnglishWords.txt') for line in file: if line == 'START\n': words = file.readlines() break for text in words: text = text[:-1] new_words.append(text) for text in new_words: if is_anagram(word, text) and text != word: anagrams.append(text) except FileNotFoundError as err: print("Sorry, could not find file 'EnglishWords.txt'.") else: if len(anagrams) == 0: print("Sorry, anagrams of '" + word + "' could not be found.") file.close() file.close() print(str(anagrams)) if __name__ == '__main__': main()
# coding: utf8 # Author: Wing Yung Chan (~wy) # Date: 2017 def palindrome(n): j = str(n) for i in range(len(j)//2): if j[i] != j[len(j)-1-i]: return False return True def problem4(): # Try all 3 digit pairs # Got to be careful with how you iterate # Need to create a Zig Zag flow i = 999 j = 999 i_anchor = 999 j_anchor = 999 while i > 99 and j > 99: if palindrome(i*j): return i*j if i == 999 or j == 100: if i_anchor == j_anchor: j_anchor = j_anchor - 1 else: i_anchor = i_anchor - 1 i = i_anchor j = j_anchor else: #Go up right i = i + 1 j = j - 1
def palindrome(n): j = str(n) for i in range(len(j) // 2): if j[i] != j[len(j) - 1 - i]: return False return True def problem4(): i = 999 j = 999 i_anchor = 999 j_anchor = 999 while i > 99 and j > 99: if palindrome(i * j): return i * j if i == 999 or j == 100: if i_anchor == j_anchor: j_anchor = j_anchor - 1 else: i_anchor = i_anchor - 1 i = i_anchor j = j_anchor else: i = i + 1 j = j - 1
class Records: """ please enter your name, age,height in cm and weight in kg """ def __init__(self,name,gender,age,height,weight): self.gender=gender self.height=height self.weight=weight self.name=name self.age=age self.bmi_range="n" def display(self): return "Name: {} Age: {} Gender:{} Height: {}cm Wegiht: {}kg".format(self.name,self.age,self.gender,self.height,self.weight) def BMI(self): """"" https://www.cdc.gov/obesity/adult/defining.html#:~:text=If%20your%20BMI%20is%20less,falls%20within%20the%20obese%20range. BMI=body mass index m=mass (in kilograms) h=height (height (in meters)) """ bmi=self.weight/(self.height/100)**2 if bmi<18.5: self.bmi_range="underweight" elif bmi>18.5 and bmi<25: self.bmi_range="normal" elif bmi>25 and bmi<30: self.bmi_range="overweight" elif bmi>30: self.bmi_range="obese" self.bmi=bmi return "Hello,{} your BMI is {:0.2f} which is in {} range".format(self.name,bmi,self.bmi_range) def BMR(self): """ Basal metabolic rate is a measurement of the number of calories needed to perform your body's most basic (basal) functions, like breathing, circulation and cell production. BMR is most accurately measured in a lab setting under very restrictive conditions """ """ https://www.bmi-calculator.net/bmr-calculator/bmr-formula.php Harris-Benedict Equation Women: BMR = 655 + (9.6 x weight in kg) + (1.8 x height in cm) - (4.7 x age in years) Men: BMR = 66 + (13.7 x weight in kg) + (5 x height in cm) - (6.8 x age in years) """ if self.gender=="female": bmr= 655 + (9.6 * self.weight) + (1.8* self.height- (4.7* self.age)) else: bmr= 66 + (13.7*self.weight) + (5*self.height) - (6.8*self.age) self.bmr=bmr return "Hello,{} your BMR is around {} Kcal/day".format(self.name,bmr) def totalcal(self): """ time= exercise time (in mintues) intensity has three levels= 3(Light),4(Moderate),7(Vigorous) Total calories burned = Duration (in minutes)*(MET*3.5*weight in kg)/200 """ x=1 while x!=0: y=input("Did you do any exercises today (Yes/No): ") if y== "Yes": intensity=int(input("Intensity has three levels= 3(Light),4(Moderate),7(Vigorous) please enter your level: ")) time=int(input("Please Enter exercise time in minutes: ")) x=0 if y=="No": intensity=0 time=0 x=0 else: print("please check your answer, please either enter Yes or No" ) exc_cal=time*(intensity*3.5*self.weight)/200 total=round(exc_cal+self.bmr) print("Hello,the total burned calories for today is {} cal".format(total)) return total
class Records: """ please enter your name, age,height in cm and weight in kg """ def __init__(self, name, gender, age, height, weight): self.gender = gender self.height = height self.weight = weight self.name = name self.age = age self.bmi_range = 'n' def display(self): return 'Name: {} Age: {} Gender:{} Height: {}cm Wegiht: {}kg'.format(self.name, self.age, self.gender, self.height, self.weight) def bmi(self): """"" https://www.cdc.gov/obesity/adult/defining.html#:~:text=If%20your%20BMI%20is%20less,falls%20within%20the%20obese%20range. BMI=body mass index m=mass (in kilograms) h=height (height (in meters)) """ bmi = self.weight / (self.height / 100) ** 2 if bmi < 18.5: self.bmi_range = 'underweight' elif bmi > 18.5 and bmi < 25: self.bmi_range = 'normal' elif bmi > 25 and bmi < 30: self.bmi_range = 'overweight' elif bmi > 30: self.bmi_range = 'obese' self.bmi = bmi return 'Hello,{} your BMI is {:0.2f} which is in {} range'.format(self.name, bmi, self.bmi_range) def bmr(self): """ Basal metabolic rate is a measurement of the number of calories needed to perform your body's most basic (basal) functions, like breathing, circulation and cell production. BMR is most accurately measured in a lab setting under very restrictive conditions """ '\n https://www.bmi-calculator.net/bmr-calculator/bmr-formula.php\n Harris-Benedict Equation\n Women: BMR = 655 + (9.6 x weight in kg) + (1.8 x height in cm) - (4.7 x age in years)\n Men: BMR = 66 + (13.7 x weight in kg) + (5 x height in cm) - (6.8 x age in years)\n ' if self.gender == 'female': bmr = 655 + 9.6 * self.weight + (1.8 * self.height - 4.7 * self.age) else: bmr = 66 + 13.7 * self.weight + 5 * self.height - 6.8 * self.age self.bmr = bmr return 'Hello,{} your BMR is around {} Kcal/day'.format(self.name, bmr) def totalcal(self): """ time= exercise time (in mintues) intensity has three levels= 3(Light),4(Moderate),7(Vigorous) Total calories burned = Duration (in minutes)*(MET*3.5*weight in kg)/200 """ x = 1 while x != 0: y = input('Did you do any exercises today (Yes/No): ') if y == 'Yes': intensity = int(input('Intensity has three levels= 3(Light),4(Moderate),7(Vigorous) please enter your level: ')) time = int(input('Please Enter exercise time in minutes: ')) x = 0 if y == 'No': intensity = 0 time = 0 x = 0 else: print('please check your answer, please either enter Yes or No') exc_cal = time * (intensity * 3.5 * self.weight) / 200 total = round(exc_cal + self.bmr) print('Hello,the total burned calories for today is {} cal'.format(total)) return total
TEST_RECORD_1 = { "Vendor": "Forcepoint CASB", "Product": "SaaS Security Gateway", "Version": "1.0", "SignatureID": "250677275138", "Name": "login", "Severity": "9", "CEFVersion": "0", "act": "Block", "app": "Office Apps", "cat": "Block Access to personal Office365/Block Access to personal Office365", "destinationServiceName": '"Office365"', "deviceExternalId": "2fe1d47db", "deviceFacility": "true", "deviceProcessName": '""', "dpriv": "User", "dst": "40.90.23.111", "dvc": "10.1.4.11", "dvchost": "my.skyfence.com", "end": "1569171970000", "externalId": "787", "fsize": "0", "msg": "//France/United States/", "outcome": "Success", "proto": "Office Apps", "reason": "login", "request": "https://login.live.com/rst2.srf", "requestClientApplication": 'Desktop/Windows 10/"mozilla/4.0 (compatible; msie 6.0; windows nt 10.0; win64; .net4.0c; .net4.0e; idcrl 14.10.0.15063.0.0; idcrl-cfg 16.0.26889.0; app svchost.exe, 10.0.15063.0, {df60e2df-88ad})"', "rt": "1569171970000", "sourceServiceName": "Managed", "src": "192.168.122.178", "start": "1569171970000", "suser": "02v", "cs5": "false", "dproc": "Unknown", "suid": "02vt", "cn1": "null", "AD.IPOrigin": "External", "AD.samAccountName": "02vta", } FIELDS_LST = ["Name", "suid", "suser", "duser"] USER_CONFIG_SEVERITY_LIST = [8, 10] USER_CONFIG_ACTION_LIST = ["block", "monitor"] USER_CONFIG_PRODUCT_LIST = [ "saas security gateway", "casb incidents", "casb admin audit log", "cloud service monitoring", ]
test_record_1 = {'Vendor': 'Forcepoint CASB', 'Product': 'SaaS Security Gateway', 'Version': '1.0', 'SignatureID': '250677275138', 'Name': 'login', 'Severity': '9', 'CEFVersion': '0', 'act': 'Block', 'app': 'Office Apps', 'cat': 'Block Access to personal Office365/Block Access to personal Office365', 'destinationServiceName': '"Office365"', 'deviceExternalId': '2fe1d47db', 'deviceFacility': 'true', 'deviceProcessName': '""', 'dpriv': 'User', 'dst': '40.90.23.111', 'dvc': '10.1.4.11', 'dvchost': 'my.skyfence.com', 'end': '1569171970000', 'externalId': '787', 'fsize': '0', 'msg': '//France/United States/', 'outcome': 'Success', 'proto': 'Office Apps', 'reason': 'login', 'request': 'https://login.live.com/rst2.srf', 'requestClientApplication': 'Desktop/Windows 10/"mozilla/4.0 (compatible; msie 6.0; windows nt 10.0; win64; .net4.0c; .net4.0e; idcrl 14.10.0.15063.0.0; idcrl-cfg 16.0.26889.0; app svchost.exe, 10.0.15063.0, {df60e2df-88ad})"', 'rt': '1569171970000', 'sourceServiceName': 'Managed', 'src': '192.168.122.178', 'start': '1569171970000', 'suser': '02v', 'cs5': 'false', 'dproc': 'Unknown', 'suid': '02vt', 'cn1': 'null', 'AD.IPOrigin': 'External', 'AD.samAccountName': '02vta'} fields_lst = ['Name', 'suid', 'suser', 'duser'] user_config_severity_list = [8, 10] user_config_action_list = ['block', 'monitor'] user_config_product_list = ['saas security gateway', 'casb incidents', 'casb admin audit log', 'cloud service monitoring']
""" Description: Author: Jiaqi Gu (jqgu@utexas.edu) Date: 2021-06-09 00:15:14 LastEditors: Jiaqi Gu (jqgu@utexas.edu) LastEditTime: 2021-06-09 00:15:14 """
""" Description: Author: Jiaqi Gu (jqgu@utexas.edu) Date: 2021-06-09 00:15:14 LastEditors: Jiaqi Gu (jqgu@utexas.edu) LastEditTime: 2021-06-09 00:15:14 """
class Solution: def rob(self, nums) -> int: return max(self.helper(nums, 0, len(nums) - 2), self.helper(nums, 1, len(nums) - 1)) def helper(self, nums, start, end): include = 0 exclude = 0 for i in range(start, end + 1): i = exclude i = nums[i] + i exclude = max(exclude, include) include = i return max(exclude, include)
class Solution: def rob(self, nums) -> int: return max(self.helper(nums, 0, len(nums) - 2), self.helper(nums, 1, len(nums) - 1)) def helper(self, nums, start, end): include = 0 exclude = 0 for i in range(start, end + 1): i = exclude i = nums[i] + i exclude = max(exclude, include) include = i return max(exclude, include)
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) class H2database(MavenPackage): """H2 is an embeddable RDBMS written in Java.""" homepage = "https://h2database.com" url = "https://github.com/h2database/h2database/archive/version-1.4.200.tar.gz" version('1.4.200', sha256='59df19cc708442ae54a9639fc1c8c98ec6a55f66c154b39807032ba04fbe9c92') version('1.4.199', sha256='0f59d6e4ca71dda44a252897ca717a873abc1db800011fa068a7a57f921193ce') version('1.4.198', sha256='abba231e41ca31a9cc6571987ad97fe2c43232dc6d0e01c69ffbfcf3ea838967') version('1.4.197', sha256='46d883a491f56270bbd681afc8237a5d69787c1838561e8680afbac693c26344') version('1.4.196', sha256='9b0c7edac6ab7faad25743702aff1af63329fca37f6f5677908ae31ab968b219') version('1.4.195', sha256='ad7fe6cd2c2ef08eb026279468e4d2b37c979c053fd7a523982d843a03a8c560') version('1.4.194', sha256='0941a0d704be6e381644a39fa6003c0b0203905285a8330c905b950dfa2bbe31') version('1.4.193', sha256='7da24c48c2f06b59e21955f7dd8c919836f600ccf98b41531c24ec09c622149c') version('1.4.192', sha256='b5f370d7256cf816696a28acd282ed10bf8a05e09b814bf79d4527509846c977') version('1.4.191', sha256='9890adc66979647b131242e87ad1498b906c0dcc041d25fcb24ff304b86b4f98') build_directory = 'h2'
class H2Database(MavenPackage): """H2 is an embeddable RDBMS written in Java.""" homepage = 'https://h2database.com' url = 'https://github.com/h2database/h2database/archive/version-1.4.200.tar.gz' version('1.4.200', sha256='59df19cc708442ae54a9639fc1c8c98ec6a55f66c154b39807032ba04fbe9c92') version('1.4.199', sha256='0f59d6e4ca71dda44a252897ca717a873abc1db800011fa068a7a57f921193ce') version('1.4.198', sha256='abba231e41ca31a9cc6571987ad97fe2c43232dc6d0e01c69ffbfcf3ea838967') version('1.4.197', sha256='46d883a491f56270bbd681afc8237a5d69787c1838561e8680afbac693c26344') version('1.4.196', sha256='9b0c7edac6ab7faad25743702aff1af63329fca37f6f5677908ae31ab968b219') version('1.4.195', sha256='ad7fe6cd2c2ef08eb026279468e4d2b37c979c053fd7a523982d843a03a8c560') version('1.4.194', sha256='0941a0d704be6e381644a39fa6003c0b0203905285a8330c905b950dfa2bbe31') version('1.4.193', sha256='7da24c48c2f06b59e21955f7dd8c919836f600ccf98b41531c24ec09c622149c') version('1.4.192', sha256='b5f370d7256cf816696a28acd282ed10bf8a05e09b814bf79d4527509846c977') version('1.4.191', sha256='9890adc66979647b131242e87ad1498b906c0dcc041d25fcb24ff304b86b4f98') build_directory = 'h2'
BOTS = [ { "name": "bot1", "username": "username", "password": "password", "api_key": "111AA1111AAAA11A1A11AA1AA1AAA111", "secrets": { "steamid": "76511111111111111", "shared_secret": "Aa11aA1+1aa1aAa1a=", "identity_secret": "aA11aaaa/aa11a/aAAa1a1=", }, }, { "name": "bot2", "username": "username", "password": "password", "api_key": "111AA1111AAAA11A1A11AA1AA1AAA111", "secrets": { "steamid": "76511111111111111", "shared_secret": "Aa11aA1+1aa1aAa1a=", "identity_secret": "aA11aaaa/aa11a/aAAa1a1=", }, }, ] OWNERS = ["76511111111111111"] TIMEOUT = 30 DEBUG = True
bots = [{'name': 'bot1', 'username': 'username', 'password': 'password', 'api_key': '111AA1111AAAA11A1A11AA1AA1AAA111', 'secrets': {'steamid': '76511111111111111', 'shared_secret': 'Aa11aA1+1aa1aAa1a=', 'identity_secret': 'aA11aaaa/aa11a/aAAa1a1='}}, {'name': 'bot2', 'username': 'username', 'password': 'password', 'api_key': '111AA1111AAAA11A1A11AA1AA1AAA111', 'secrets': {'steamid': '76511111111111111', 'shared_secret': 'Aa11aA1+1aa1aAa1a=', 'identity_secret': 'aA11aaaa/aa11a/aAAa1a1='}}] owners = ['76511111111111111'] timeout = 30 debug = True
class strategyLogic(): def SMA(self, prices, length, period): return sum(prices[(length-period):length]) / period def SMAprev(self, prices, length, period): return sum(prices[(length-period-1):length-1]) / period
class Strategylogic: def sma(self, prices, length, period): return sum(prices[length - period:length]) / period def sm_aprev(self, prices, length, period): return sum(prices[length - period - 1:length - 1]) / period
def Draw(update=True): global WreckContainer, ShipContainer, PlanetContainer, Frames, frozen_surface if GamePaused and update: if not frozen_surface: Text = Font.render("Game paused...", True, (255, 255, 255)) Surface.blit(Text, (40, 80)) frozen_surface = Surface.copy() Surface.blit(frozen_surface, (0, 0)) else: if gameData.shootings > 0: Surface.fill((100, 0, 0)) gameData.shootings -= 1 else: Surface.fill((0, 0, 0)) # Display direction (Thanks, retroredge, for pointing it out!) tmpColor = (playerView.zoomfactor * SCR_SIZE[0] * 2 / 640,) * 3 radius = SCR_SIZE[1] / 8 * 3 aacircle(Surface, tmpColor, (midx, midy), radius, 45, 1) rads = radians(playerShip.faceAngle + 90) rads2 = rads + 2.094 # radians(120) rads3 = rads - 2.094 # this should be precise enough # 240/180 # 180/3*4=240 xy = (midx + radius * cos(rads), midy + radius * sin(rads)) pygame.draw.aaline( Surface, tmpColor, xy, (midx + radius * cos(rads2), midy + radius * sin(rads2)), 1, ) pygame.draw.aaline( Surface, tmpColor, xy, (midx + radius * cos(rads3), midy + radius * sin(rads3)), 1, ) if playerShip.shoot > 0: pygame.draw.circle( Surface, (128, 128, 128), (midx, midy), int( 200 / playerView.zoomfactor) ) playerShip.shoot -= 1 STARy = midy - playerView.Y / 200 STARx = midx - playerView.X / 200 for i in star.xlist: for j in star.ylist: tmp = ( (i + star.params[0]) * star.params[1] + (j + star.params[2]) * star.params[3] + star.params[4] ) x = STARx + i * 200 * cos(tmp) y = STARy + j * 200 * sin(tmp) pygame.draw.aaline( Surface, (255, 255, 255), (x, y), (x + 1.5, y + 1.5), 1 ) pygame.draw.aaline( Surface, (255, 255, 255), (x + 1.5, y), (x, y + 1.5), 1 ) for Thing in PlanetContainer: aacircle( Surface, (255, 255, 255), ( (Thing.X - playerView.X) / playerView.zoomfactor + midx, (-Thing.Y - playerView.Y) / playerView.zoomfactor + midy, ), Thing.size / playerView.zoomfactor, int(10 * log(Thing.size * 0.2 / playerView.zoomfactor, 2)) + 20, 1, ) tmpExVisStr = "" if Thing.baseAt is not None: print(Thing.baseAt) Surface.blit( base, ( ( midx + ( -playerView.X + Thing.X + Thing.size * cos(radians(Thing.baseAt + 90)) ) / playerView.zoomfactor, midy + ( -playerView.Y - Thing.Y - Thing.size * sin(radians(Thing.baseAt + 90)) ) / playerView.zoomfactor, ) ), ) pygame.transform.rotate(base, (Thing.baseAt)) pygame.transform.scale(base, (playerView.zoomfactor, 8)) tmpExVisStr = "Own base" if Thing.enemyAt is not None: Surface.blit( enemybase, ( ( midx + ( -playerView.X + Thing.X + Thing.size * cos(radians(Thing.enemyAt + 90)) ) / playerView.zoomfactor, midy + ( -playerView.Y - Thing.Y - Thing.size * sin(radians(Thing.enemyAt + 90)) ) / playerView.zoomfactor, ) ), ) pygame.transform.rotate(enemybase, (Thing.enemyAt)) pygame.transform.scale(enemybase, (playerView.zoomfactor, 8)) tmpExVisStr = "Enemy base" if ExtendedVision: tmpExVisx = (Thing.X - playerView.X) / \ playerView.zoomfactor + midx tmpExVisy = (-Thing.Y - playerView.Y) / \ playerView.zoomfactor + midy Surface.blit( Font.render(tmpExVisStr, True, (255, 255, 255)), (tmpExVisx, tmpExVisy), ) Surface.blit( Font.render("Oil: " + str(int(Thing.oil)), True, (255, 255, 255)), (tmpExVisx, tmpExVisy + 15), ) for Thing in ShipContainer: Surface.blit( enemyship, ( midx + (-playerView.X + Thing.X) / playerView.zoomfactor, midy + (-playerView.Y - Thing.Y) / playerView.zoomfactor, ), ) pygame.transform.rotate(enemyship, Thing.faceAngle) pygame.transform.scale(enemyship, (playerView.zoomfactor, 8)) for Thing in WreckContainer: Surface.blit( enemybase, ( midx + (-playerView.X + Thing.X) / playerView.zoomfactor, midy + (-playerView.Y - Thing.Y) / playerView.zoomfactor, ), ) pygame.transform.rotate(enemyship, Thing.faceAngle) pygame.transform.scale(enemyship, playerView.zoomfactor) pygame.transform.scale.draw( Surface, (255, 255, 255), max=int(7 - Thing.explosion) ) if PlayerImages == 0: player = player1 elif PlayerImages == 1: if (Frames // 5) % 2: player = player3 else: player = player2 elif PlayerImages == 2: if (Frames // 5) % 2: player = player2 else: player = player3 Surface.blit(player, ((midx, midy))) pygame.transform.rotate( player, (-playerShip.faceAngle - 180 + playerView.angle) ) # pygame.transform.scale(player, (playerView.zoomfactor)) pygame.draw.rect( Surface, ( 255 - playerShip.oil * 255 / playerShip.maxoil if playerShip.oil > 0 else 255, 0, playerShip.oil * 255 / playerShip.maxoil if playerShip.oil > 0 else 0, ), ( 8, 8 + (playerShip.maxoil - playerShip.oil) * (SCR_SIZE[1] - 16) / playerShip.maxoil, 20, playerShip.oil * (SCR_SIZE[1] - 16) / playerShip.maxoil, ), 0, ) if playerShip.oil < 100: c_ = CLR_WARNING n_ = 2 else: c_ = CLR_NORMAL n_ = 1 # pygame.draw.rect(Surface, c_, (8, 8, 20, 464), n_) pygame.draw.rect(Surface, c_, (8, 8, 20, SCR_SIZE[1] - 16), n_) pygame.draw.rect( Surface, (0, 255, 0), (40, 8, (SCR_SIZE[0] - 48) * playerShip.hull / playerShip.maxhull, 20), 0, ) if playerShip.hull < 50: c_ = CLR_WARNING n_ = 2 else: c_ = CLR_NORMAL n_ = 1 pygame.draw.rect(Surface, c_, (40, 8, SCR_SIZE[0] - 48, 20), n_) if playerShip.speed > 16: c_ = CLR_WARNING else: c_ = CLR_NORMAL Text = BigFont.render("Speed: %.2d" % playerShip.speed, True, c_) Surface.blit(Text, (40, 40)) Text = Font.render( "Bases built: " + str(gameData.basesBuilt), True, (255, 255, 255) ) Surface.blit(Text, (40, 95)) Text = Font.render( "You are in Sector " + sectors.pixels2sector(playerShip.X, playerShip.Y), True, (255, 255, 255), ) Surface.blit(Text, (40, 125)) top = 40 for task in gameData.tasks: Text = Font.render(task, True, (255, 255, 255)) top += 13 Surface.blit(Text, (SCR_SIZE[0] - 240, top)) if playerShip.landedOn is not None: if PlanetContainer[playerShip.landedOn].playerLanded == "base": Text = Font.render( "Oil on planet: " + str(int(PlanetContainer[playerShip.landedOn].oil)), True, (255, 255, 255), ) Surface.blit(Text, (40, 110)) elif playerShip.landedBefore is not None: if PlanetContainer[playerShip.landedBefore].playerLanded == "base": Text = Font.render( "Oil on planet: " + str(int(PlanetContainer[playerShip.landedBefore].oil)), True, (255, 255, 255), ) Surface.blit(Text, (40, 110)) if update: pygame.display.flip()
def draw(update=True): global WreckContainer, ShipContainer, PlanetContainer, Frames, frozen_surface if GamePaused and update: if not frozen_surface: text = Font.render('Game paused...', True, (255, 255, 255)) Surface.blit(Text, (40, 80)) frozen_surface = Surface.copy() Surface.blit(frozen_surface, (0, 0)) else: if gameData.shootings > 0: Surface.fill((100, 0, 0)) gameData.shootings -= 1 else: Surface.fill((0, 0, 0)) tmp_color = (playerView.zoomfactor * SCR_SIZE[0] * 2 / 640,) * 3 radius = SCR_SIZE[1] / 8 * 3 aacircle(Surface, tmpColor, (midx, midy), radius, 45, 1) rads = radians(playerShip.faceAngle + 90) rads2 = rads + 2.094 rads3 = rads - 2.094 xy = (midx + radius * cos(rads), midy + radius * sin(rads)) pygame.draw.aaline(Surface, tmpColor, xy, (midx + radius * cos(rads2), midy + radius * sin(rads2)), 1) pygame.draw.aaline(Surface, tmpColor, xy, (midx + radius * cos(rads3), midy + radius * sin(rads3)), 1) if playerShip.shoot > 0: pygame.draw.circle(Surface, (128, 128, 128), (midx, midy), int(200 / playerView.zoomfactor)) playerShip.shoot -= 1 sta_ry = midy - playerView.Y / 200 sta_rx = midx - playerView.X / 200 for i in star.xlist: for j in star.ylist: tmp = (i + star.params[0]) * star.params[1] + (j + star.params[2]) * star.params[3] + star.params[4] x = STARx + i * 200 * cos(tmp) y = STARy + j * 200 * sin(tmp) pygame.draw.aaline(Surface, (255, 255, 255), (x, y), (x + 1.5, y + 1.5), 1) pygame.draw.aaline(Surface, (255, 255, 255), (x + 1.5, y), (x, y + 1.5), 1) for thing in PlanetContainer: aacircle(Surface, (255, 255, 255), ((Thing.X - playerView.X) / playerView.zoomfactor + midx, (-Thing.Y - playerView.Y) / playerView.zoomfactor + midy), Thing.size / playerView.zoomfactor, int(10 * log(Thing.size * 0.2 / playerView.zoomfactor, 2)) + 20, 1) tmp_ex_vis_str = '' if Thing.baseAt is not None: print(Thing.baseAt) Surface.blit(base, (midx + (-playerView.X + Thing.X + Thing.size * cos(radians(Thing.baseAt + 90))) / playerView.zoomfactor, midy + (-playerView.Y - Thing.Y - Thing.size * sin(radians(Thing.baseAt + 90))) / playerView.zoomfactor)) pygame.transform.rotate(base, Thing.baseAt) pygame.transform.scale(base, (playerView.zoomfactor, 8)) tmp_ex_vis_str = 'Own base' if Thing.enemyAt is not None: Surface.blit(enemybase, (midx + (-playerView.X + Thing.X + Thing.size * cos(radians(Thing.enemyAt + 90))) / playerView.zoomfactor, midy + (-playerView.Y - Thing.Y - Thing.size * sin(radians(Thing.enemyAt + 90))) / playerView.zoomfactor)) pygame.transform.rotate(enemybase, Thing.enemyAt) pygame.transform.scale(enemybase, (playerView.zoomfactor, 8)) tmp_ex_vis_str = 'Enemy base' if ExtendedVision: tmp_ex_visx = (Thing.X - playerView.X) / playerView.zoomfactor + midx tmp_ex_visy = (-Thing.Y - playerView.Y) / playerView.zoomfactor + midy Surface.blit(Font.render(tmpExVisStr, True, (255, 255, 255)), (tmpExVisx, tmpExVisy)) Surface.blit(Font.render('Oil: ' + str(int(Thing.oil)), True, (255, 255, 255)), (tmpExVisx, tmpExVisy + 15)) for thing in ShipContainer: Surface.blit(enemyship, (midx + (-playerView.X + Thing.X) / playerView.zoomfactor, midy + (-playerView.Y - Thing.Y) / playerView.zoomfactor)) pygame.transform.rotate(enemyship, Thing.faceAngle) pygame.transform.scale(enemyship, (playerView.zoomfactor, 8)) for thing in WreckContainer: Surface.blit(enemybase, (midx + (-playerView.X + Thing.X) / playerView.zoomfactor, midy + (-playerView.Y - Thing.Y) / playerView.zoomfactor)) pygame.transform.rotate(enemyship, Thing.faceAngle) pygame.transform.scale(enemyship, playerView.zoomfactor) pygame.transform.scale.draw(Surface, (255, 255, 255), max=int(7 - Thing.explosion)) if PlayerImages == 0: player = player1 elif PlayerImages == 1: if Frames // 5 % 2: player = player3 else: player = player2 elif PlayerImages == 2: if Frames // 5 % 2: player = player2 else: player = player3 Surface.blit(player, (midx, midy)) pygame.transform.rotate(player, -playerShip.faceAngle - 180 + playerView.angle) pygame.draw.rect(Surface, (255 - playerShip.oil * 255 / playerShip.maxoil if playerShip.oil > 0 else 255, 0, playerShip.oil * 255 / playerShip.maxoil if playerShip.oil > 0 else 0), (8, 8 + (playerShip.maxoil - playerShip.oil) * (SCR_SIZE[1] - 16) / playerShip.maxoil, 20, playerShip.oil * (SCR_SIZE[1] - 16) / playerShip.maxoil), 0) if playerShip.oil < 100: c_ = CLR_WARNING n_ = 2 else: c_ = CLR_NORMAL n_ = 1 pygame.draw.rect(Surface, c_, (8, 8, 20, SCR_SIZE[1] - 16), n_) pygame.draw.rect(Surface, (0, 255, 0), (40, 8, (SCR_SIZE[0] - 48) * playerShip.hull / playerShip.maxhull, 20), 0) if playerShip.hull < 50: c_ = CLR_WARNING n_ = 2 else: c_ = CLR_NORMAL n_ = 1 pygame.draw.rect(Surface, c_, (40, 8, SCR_SIZE[0] - 48, 20), n_) if playerShip.speed > 16: c_ = CLR_WARNING else: c_ = CLR_NORMAL text = BigFont.render('Speed: %.2d' % playerShip.speed, True, c_) Surface.blit(Text, (40, 40)) text = Font.render('Bases built: ' + str(gameData.basesBuilt), True, (255, 255, 255)) Surface.blit(Text, (40, 95)) text = Font.render('You are in Sector ' + sectors.pixels2sector(playerShip.X, playerShip.Y), True, (255, 255, 255)) Surface.blit(Text, (40, 125)) top = 40 for task in gameData.tasks: text = Font.render(task, True, (255, 255, 255)) top += 13 Surface.blit(Text, (SCR_SIZE[0] - 240, top)) if playerShip.landedOn is not None: if PlanetContainer[playerShip.landedOn].playerLanded == 'base': text = Font.render('Oil on planet: ' + str(int(PlanetContainer[playerShip.landedOn].oil)), True, (255, 255, 255)) Surface.blit(Text, (40, 110)) elif playerShip.landedBefore is not None: if PlanetContainer[playerShip.landedBefore].playerLanded == 'base': text = Font.render('Oil on planet: ' + str(int(PlanetContainer[playerShip.landedBefore].oil)), True, (255, 255, 255)) Surface.blit(Text, (40, 110)) if update: pygame.display.flip()
''' For this Kata you will have to forget how to add two numbers together. The best explanation on what to do for this kata is this meme : https://i.ibb.co/Y01rMJR/caf.png In simple terms our method does not like the principle of carrying over numbers and just writes down every number it calculates. You may assume both integers arepositive integersand the result will not be bigger than Integer.MAX_VALUE (only for java) ''' def add(num1, num2): num1 = [int(i) for i in list(str(num1))] num2 = [int(i) for i in list(str(num2))] soma = [] if len(num1) != len(num2): dif = abs(len(num1) - len(num2)) if len(num1) > len(num2): for _ in range(dif): num2.insert(0, 0) elif len(num2) > len(num1): for _ in range(dif): num1.insert(0, 0) for a,b in zip(num1[::-1], num2[::-1]): soma.append(a+b) return int(''.join([str(i) for i in soma[::-1]]))
""" For this Kata you will have to forget how to add two numbers together. The best explanation on what to do for this kata is this meme : https://i.ibb.co/Y01rMJR/caf.png In simple terms our method does not like the principle of carrying over numbers and just writes down every number it calculates. You may assume both integers arepositive integersand the result will not be bigger than Integer.MAX_VALUE (only for java) """ def add(num1, num2): num1 = [int(i) for i in list(str(num1))] num2 = [int(i) for i in list(str(num2))] soma = [] if len(num1) != len(num2): dif = abs(len(num1) - len(num2)) if len(num1) > len(num2): for _ in range(dif): num2.insert(0, 0) elif len(num2) > len(num1): for _ in range(dif): num1.insert(0, 0) for (a, b) in zip(num1[::-1], num2[::-1]): soma.append(a + b) return int(''.join([str(i) for i in soma[::-1]]))
# Copyright 2018 The Bazel Authors. All rights reserved. # # 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. """Fork of @bazel_tools//tools/build_defs/repo:utils.bzl patch function with working_directory argument added. Upstream code is at https://github.com/bazelbuild/bazel/blob/f4214746fcd15f0ef8c4e747ef8e3edca9f112a5/tools/build_defs/repo/utils.bzl#L87 """ load(":repo_utils.bzl", "repo_utils") # Temporary directory for downloading remote patch files. _REMOTE_PATCH_DIR = ".tmp_remote_patches" def _use_native_patch(patch_args): """If patch_args only contains -p<NUM> options, we can use the native patch implementation.""" for arg in patch_args: if not arg.startswith("-p"): return False return True def _download_patch(ctx, patch_url, integrity, auth): name = patch_url.split("/")[-1] patch_path = ctx.path(_REMOTE_PATCH_DIR).get_child(name) ctx.download( patch_url, patch_path, canonical_id = ctx.attr.canonical_id, auth = auth, integrity = integrity, ) return patch_path def patch(ctx, patches = None, patch_cmds = None, patch_cmds_win = None, patch_tool = None, patch_args = None, auth = None, patch_directory = None): """Implementation of patching an already extracted repository. This rule is intended to be used in the implementation function of a repository rule. If the parameters `patches`, `patch_tool`, `patch_args`, `patch_cmds` and `patch_cmds_win` are not specified then they are taken from `ctx.attr`. Args: ctx: The repository context of the repository rule calling this utility function. patches: The patch files to apply. List of strings, Labels, or paths. patch_cmds: Bash commands to run for patching, passed one at a time to bash -c. List of strings patch_cmds_win: Powershell commands to run for patching, passed one at a time to powershell /c. List of strings. If the boolean value of this parameter is false, patch_cmds will be used and this parameter will be ignored. patch_tool: Path of the patch tool to execute for applying patches. String. patch_args: Arguments to pass to the patch tool. List of strings. auth: An optional dict specifying authentication information for some of the URLs. patch_directory: Directory to apply the patches in """ bash_exe = ctx.os.environ["BAZEL_SH"] if "BAZEL_SH" in ctx.os.environ else "bash" powershell_exe = ctx.os.environ["BAZEL_POWERSHELL"] if "BAZEL_POWERSHELL" in ctx.os.environ else "powershell.exe" if patches == None and hasattr(ctx.attr, "patches"): patches = ctx.attr.patches if patches == None: patches = [] remote_patches = {} remote_patch_strip = 0 if hasattr(ctx.attr, "remote_patches") and ctx.attr.remote_patches: if hasattr(ctx.attr, "remote_patch_strip"): remote_patch_strip = ctx.attr.remote_patch_strip remote_patches = ctx.attr.remote_patches if patch_cmds == None and hasattr(ctx.attr, "patch_cmds"): patch_cmds = ctx.attr.patch_cmds if patch_cmds == None: patch_cmds = [] if patch_cmds_win == None and hasattr(ctx.attr, "patch_cmds_win"): patch_cmds_win = ctx.attr.patch_cmds_win if patch_cmds_win == None: patch_cmds_win = [] if patch_tool == None and hasattr(ctx.attr, "patch_tool"): patch_tool = ctx.attr.patch_tool if not patch_tool: patch_tool = "patch" native_patch = True else: native_patch = False if patch_args == None and hasattr(ctx.attr, "patch_args"): patch_args = ctx.attr.patch_args if patch_args == None: patch_args = [] if len(remote_patches) > 0 or len(patches) > 0 or len(patch_cmds) > 0: ctx.report_progress("Patching repository") # Apply remote patches for patch_url in remote_patches: integrity = remote_patches[patch_url] patchfile = _download_patch(ctx, patch_url, integrity, auth) ctx.patch(patchfile, remote_patch_strip) ctx.delete(patchfile) ctx.delete(ctx.path(_REMOTE_PATCH_DIR)) # Apply local patches if native_patch and _use_native_patch(patch_args) and not patch_directory: if patch_args: strip = int(patch_args[-1][2:]) else: strip = 0 for patchfile in patches: ctx.patch(patchfile, strip) else: for patchfile in patches: command = "{patchtool} {patch_args} < {patchfile}".format( patchtool = patch_tool, patchfile = ctx.path(patchfile), patch_args = " ".join([ "'%s'" % arg for arg in patch_args ]), ) st = ctx.execute([bash_exe, "-c", command], working_directory = patch_directory) if st.return_code: fail("Error applying patch %s:\n%s%s" % (str(patchfile), st.stderr, st.stdout)) if repo_utils.is_windows(ctx) and patch_cmds_win: for cmd in patch_cmds_win: st = ctx.execute([powershell_exe, "/c", cmd], working_directory = patch_directory) if st.return_code: fail("Error applying patch command %s:\n%s%s" % (cmd, st.stdout, st.stderr)) else: for cmd in patch_cmds: st = ctx.execute([bash_exe, "-c", cmd], working_directory = patch_directory) if st.return_code: fail("Error applying patch command %s:\n%s%s" % (cmd, st.stdout, st.stderr))
"""Fork of @bazel_tools//tools/build_defs/repo:utils.bzl patch function with working_directory argument added. Upstream code is at https://github.com/bazelbuild/bazel/blob/f4214746fcd15f0ef8c4e747ef8e3edca9f112a5/tools/build_defs/repo/utils.bzl#L87 """ load(':repo_utils.bzl', 'repo_utils') _remote_patch_dir = '.tmp_remote_patches' def _use_native_patch(patch_args): """If patch_args only contains -p<NUM> options, we can use the native patch implementation.""" for arg in patch_args: if not arg.startswith('-p'): return False return True def _download_patch(ctx, patch_url, integrity, auth): name = patch_url.split('/')[-1] patch_path = ctx.path(_REMOTE_PATCH_DIR).get_child(name) ctx.download(patch_url, patch_path, canonical_id=ctx.attr.canonical_id, auth=auth, integrity=integrity) return patch_path def patch(ctx, patches=None, patch_cmds=None, patch_cmds_win=None, patch_tool=None, patch_args=None, auth=None, patch_directory=None): """Implementation of patching an already extracted repository. This rule is intended to be used in the implementation function of a repository rule. If the parameters `patches`, `patch_tool`, `patch_args`, `patch_cmds` and `patch_cmds_win` are not specified then they are taken from `ctx.attr`. Args: ctx: The repository context of the repository rule calling this utility function. patches: The patch files to apply. List of strings, Labels, or paths. patch_cmds: Bash commands to run for patching, passed one at a time to bash -c. List of strings patch_cmds_win: Powershell commands to run for patching, passed one at a time to powershell /c. List of strings. If the boolean value of this parameter is false, patch_cmds will be used and this parameter will be ignored. patch_tool: Path of the patch tool to execute for applying patches. String. patch_args: Arguments to pass to the patch tool. List of strings. auth: An optional dict specifying authentication information for some of the URLs. patch_directory: Directory to apply the patches in """ bash_exe = ctx.os.environ['BAZEL_SH'] if 'BAZEL_SH' in ctx.os.environ else 'bash' powershell_exe = ctx.os.environ['BAZEL_POWERSHELL'] if 'BAZEL_POWERSHELL' in ctx.os.environ else 'powershell.exe' if patches == None and hasattr(ctx.attr, 'patches'): patches = ctx.attr.patches if patches == None: patches = [] remote_patches = {} remote_patch_strip = 0 if hasattr(ctx.attr, 'remote_patches') and ctx.attr.remote_patches: if hasattr(ctx.attr, 'remote_patch_strip'): remote_patch_strip = ctx.attr.remote_patch_strip remote_patches = ctx.attr.remote_patches if patch_cmds == None and hasattr(ctx.attr, 'patch_cmds'): patch_cmds = ctx.attr.patch_cmds if patch_cmds == None: patch_cmds = [] if patch_cmds_win == None and hasattr(ctx.attr, 'patch_cmds_win'): patch_cmds_win = ctx.attr.patch_cmds_win if patch_cmds_win == None: patch_cmds_win = [] if patch_tool == None and hasattr(ctx.attr, 'patch_tool'): patch_tool = ctx.attr.patch_tool if not patch_tool: patch_tool = 'patch' native_patch = True else: native_patch = False if patch_args == None and hasattr(ctx.attr, 'patch_args'): patch_args = ctx.attr.patch_args if patch_args == None: patch_args = [] if len(remote_patches) > 0 or len(patches) > 0 or len(patch_cmds) > 0: ctx.report_progress('Patching repository') for patch_url in remote_patches: integrity = remote_patches[patch_url] patchfile = _download_patch(ctx, patch_url, integrity, auth) ctx.patch(patchfile, remote_patch_strip) ctx.delete(patchfile) ctx.delete(ctx.path(_REMOTE_PATCH_DIR)) if native_patch and _use_native_patch(patch_args) and (not patch_directory): if patch_args: strip = int(patch_args[-1][2:]) else: strip = 0 for patchfile in patches: ctx.patch(patchfile, strip) else: for patchfile in patches: command = '{patchtool} {patch_args} < {patchfile}'.format(patchtool=patch_tool, patchfile=ctx.path(patchfile), patch_args=' '.join(["'%s'" % arg for arg in patch_args])) st = ctx.execute([bash_exe, '-c', command], working_directory=patch_directory) if st.return_code: fail('Error applying patch %s:\n%s%s' % (str(patchfile), st.stderr, st.stdout)) if repo_utils.is_windows(ctx) and patch_cmds_win: for cmd in patch_cmds_win: st = ctx.execute([powershell_exe, '/c', cmd], working_directory=patch_directory) if st.return_code: fail('Error applying patch command %s:\n%s%s' % (cmd, st.stdout, st.stderr)) else: for cmd in patch_cmds: st = ctx.execute([bash_exe, '-c', cmd], working_directory=patch_directory) if st.return_code: fail('Error applying patch command %s:\n%s%s' % (cmd, st.stdout, st.stderr))
def ExportResults(aggr): results = [] for topic in aggr.topics: if len(aggr.topics[topic]) > 1: temp_links = [] temp_plaintexts = [] for idx in aggr.topics[topic]: if aggr.articles[idx].metadata["plaintext"] not in temp_plaintexts: temp_plaintexts.append(aggr.articles[idx].metadata["plaintext"]) temp_links.append(aggr.articles[idx].url) if len(temp_links) > 2: results.append(temp_links) return results
def export_results(aggr): results = [] for topic in aggr.topics: if len(aggr.topics[topic]) > 1: temp_links = [] temp_plaintexts = [] for idx in aggr.topics[topic]: if aggr.articles[idx].metadata['plaintext'] not in temp_plaintexts: temp_plaintexts.append(aggr.articles[idx].metadata['plaintext']) temp_links.append(aggr.articles[idx].url) if len(temp_links) > 2: results.append(temp_links) return results
class property(object): def __init__(self, *args): int = ___id("%int") length = ___delta("tuple-len", args, int) self.fget = None self.fset = None self.fdel = None if length > 0: self.fget = args[0] if length > 1: self.fset = args[1] if length > 2: self.fdel = args[2] def __get__(self, obj, obj_cls): if obj is None: return self if self.fget is None: raise AttributeError("Unreadable attribute") return self.fget(obj) def __set__(self, obj, value): if self.fset is None: raise AttributeError("Can't set attribute") self.fset(obj, value) def __delete__(self, obj): if self.fdel is None: raise AttributeError("Can't delete attribute") self.fdel(obj) def getter(self, g): self.fget = g return self def setter(self, s): self.fset = s return self def deleter(self, d): self.fdel = d return self
class Property(object): def __init__(self, *args): int = ___id('%int') length = ___delta('tuple-len', args, int) self.fget = None self.fset = None self.fdel = None if length > 0: self.fget = args[0] if length > 1: self.fset = args[1] if length > 2: self.fdel = args[2] def __get__(self, obj, obj_cls): if obj is None: return self if self.fget is None: raise attribute_error('Unreadable attribute') return self.fget(obj) def __set__(self, obj, value): if self.fset is None: raise attribute_error("Can't set attribute") self.fset(obj, value) def __delete__(self, obj): if self.fdel is None: raise attribute_error("Can't delete attribute") self.fdel(obj) def getter(self, g): self.fget = g return self def setter(self, s): self.fset = s return self def deleter(self, d): self.fdel = d return self
JUDGE_LANG_C = 1 # C JUDGE_LANG_CPP = 2 # C++ JUDGE_LANG_PYTHON = 3 # Python/PyPy JUDGE_LANG_RUST = 4 # Rust JUDGE_LANG_JS = 5 # Node.js JUDGE_LANG_GO = 6 # Golang JUDGE_LANG_JAVA = 7 # Java JUDGE_LANG_RUBY = 8 # Ruby JUDGE_LANG_PASCAL = 9 # Pascal JUDGE_LANG_SUBMIT_ANSWER = 10 # For submit answer problem DEFAULT_LANG_INFO = { JUDGE_LANG_C: '89,clang,O2', # standard, compiler, optimize level JUDGE_LANG_CPP: '17,clang,O2', # standard, compiler, optimize level JUDGE_LANG_PYTHON: 'cpython,36', # runner, version JUDGE_LANG_JAVA: 'java', # frontend JUDGE_LANG_PASCAL: 'O2', # optimize level JUDGE_LANG_SUBMIT_ANSWER: 'sha256', # hash algorithm JUDGE_LANG_RUST: '', JUDGE_LANG_JS: '', JUDGE_LANG_GO: '', JUDGE_LANG_RUBY: '', }
judge_lang_c = 1 judge_lang_cpp = 2 judge_lang_python = 3 judge_lang_rust = 4 judge_lang_js = 5 judge_lang_go = 6 judge_lang_java = 7 judge_lang_ruby = 8 judge_lang_pascal = 9 judge_lang_submit_answer = 10 default_lang_info = {JUDGE_LANG_C: '89,clang,O2', JUDGE_LANG_CPP: '17,clang,O2', JUDGE_LANG_PYTHON: 'cpython,36', JUDGE_LANG_JAVA: 'java', JUDGE_LANG_PASCAL: 'O2', JUDGE_LANG_SUBMIT_ANSWER: 'sha256', JUDGE_LANG_RUST: '', JUDGE_LANG_JS: '', JUDGE_LANG_GO: '', JUDGE_LANG_RUBY: ''}
class TextTrigger: STRUCT_NAME = "TileMap_TextTrigger" def __init__( self, id: int, x: int, y: int, width: int, height: int, string: str, ability_pickup: int ) -> None: self.id = id self.x = x self.y = y self.width = width self.height = height self.string = string self.id = id self.ability_pickup = int(ability_pickup) if not ability_pickup is None else -1 def make_static_init_entry(self) -> str: return f'({TextTrigger.typename()}) {{.id = {self.id}, .x={self.x}, .y={self.y}, .width={self.width}, .height={self.height}, .string = "{self.string}", .length={len(self.string)}, .ability_pickup={self.ability_pickup}}}' def typename() -> str: return f"struct {TextTrigger.STRUCT_NAME}" class StaticTextTriggerList: def __init__(self, ctx_name: str) -> None: self.triggers = [] self.ctx_name = ctx_name def add_trigger(self, x: TextTrigger): self.triggers.append(x) def make_static_init(self) -> str: list_entries = ", ".join([s.make_static_init_entry() for s in self.triggers]) return f"{TextTrigger.typename()} {self.get_static_array_name()}[] = {{{list_entries}}};" def get_static_array_name(self): return f"{self.ctx_name}_text_triggers_data" class TextTriggers: def __init__(self, ctx_name: str) -> None: self.text_triggers = StaticTextTriggerList(ctx_name) self.ctx_name = ctx_name def make_assignment(self) -> str: return ( "{\n" f".text_triggers = {self.text_triggers.get_static_array_name()}," f".length = {len(self.text_triggers.triggers)}," "},\n" )
class Texttrigger: struct_name = 'TileMap_TextTrigger' def __init__(self, id: int, x: int, y: int, width: int, height: int, string: str, ability_pickup: int) -> None: self.id = id self.x = x self.y = y self.width = width self.height = height self.string = string self.id = id self.ability_pickup = int(ability_pickup) if not ability_pickup is None else -1 def make_static_init_entry(self) -> str: return f'({TextTrigger.typename()}) {{.id = {self.id}, .x={self.x}, .y={self.y}, .width={self.width}, .height={self.height}, .string = "{self.string}", .length={len(self.string)}, .ability_pickup={self.ability_pickup}}}' def typename() -> str: return f'struct {TextTrigger.STRUCT_NAME}' class Statictexttriggerlist: def __init__(self, ctx_name: str) -> None: self.triggers = [] self.ctx_name = ctx_name def add_trigger(self, x: TextTrigger): self.triggers.append(x) def make_static_init(self) -> str: list_entries = ', '.join([s.make_static_init_entry() for s in self.triggers]) return f'{TextTrigger.typename()} {self.get_static_array_name()}[] = {{{list_entries}}};' def get_static_array_name(self): return f'{self.ctx_name}_text_triggers_data' class Texttriggers: def __init__(self, ctx_name: str) -> None: self.text_triggers = static_text_trigger_list(ctx_name) self.ctx_name = ctx_name def make_assignment(self) -> str: return f'{{\n.text_triggers = {self.text_triggers.get_static_array_name()},.length = {len(self.text_triggers.triggers)},}},\n'
# Copyright (C) 2013 Lindley Graham """ This package is a Python-based framework for running batches of parallel ADCIRC simulations with varying parameters (Manning's n and limited variable bathymetry, etc). Includes documentation for a Python interface to a slightly modified verion of GridData (Griddata_v1.32.F90). GridData is a FORTRAN program originally developed by Seizo Tanaka (ST3) and C.H.Lab., University of Notre Dame. All code documented here is written for Linux with a bash shell. It can be modified for other shells. This code requires GNU Parallel to be installed in order to run properly. This package contaings three subpackages * :mod:`~polyadcirc.pyADCIRC` a set of modules primarily for I/O with :program:`ADCIRC` through text files * :mod:`~polyadcirc.run_framework` a set of modules used to run batches of :program:`PADCIRC` in parallel * :mod:`~polyadcirc.pyGriddata` a set modules and some FORTRAN code used to create sets of nodal data for use by :program:`PADCIRC` """ __all__ = ['util', 'pyADCIRC', 'run_framework', 'pyGriddata']
""" This package is a Python-based framework for running batches of parallel ADCIRC simulations with varying parameters (Manning's n and limited variable bathymetry, etc). Includes documentation for a Python interface to a slightly modified verion of GridData (Griddata_v1.32.F90). GridData is a FORTRAN program originally developed by Seizo Tanaka (ST3) and C.H.Lab., University of Notre Dame. All code documented here is written for Linux with a bash shell. It can be modified for other shells. This code requires GNU Parallel to be installed in order to run properly. This package contaings three subpackages * :mod:`~polyadcirc.pyADCIRC` a set of modules primarily for I/O with :program:`ADCIRC` through text files * :mod:`~polyadcirc.run_framework` a set of modules used to run batches of :program:`PADCIRC` in parallel * :mod:`~polyadcirc.pyGriddata` a set modules and some FORTRAN code used to create sets of nodal data for use by :program:`PADCIRC` """ __all__ = ['util', 'pyADCIRC', 'run_framework', 'pyGriddata']
def messageFromBinaryCode(c): j = 8 i = 0 message = '' for item in range(len(c)//8): message += chr(int(c[i:j],2)) i += 8 j += 8 return message
def message_from_binary_code(c): j = 8 i = 0 message = '' for item in range(len(c) // 8): message += chr(int(c[i:j], 2)) i += 8 j += 8 return message
# IF STATEMENTS # # In this problem, write a function named "lossy_transform" that takes an # integer parameter and returns the corresponding value found in this table # | Input | Output | # |------------------------------------------------|------------------------| # | Less than 10 | 0 | # | Greater than or equal to 10 and less than 47 | The input times 2 | # | Greater than or equal to 47 and less than 1001 | The input divided by 3 | # | Greater than or equal to 1001 | None | # # That last output is the literal None, not a string. # # Your code must include at least one of each of the following keywords: # * if # * elif # * else # # All inputs are guaranteed to be greater than 0. # # There are four sample data calls for you to use. # WRITE YOUR FUNCTION HERE def lossy_transform(num): if num < 10: return 0 elif num < 47: return num * 2 elif num < 1001: return num / 3 else: return None # TEST DATA print(lossy_transform(8)) # > 0 print(lossy_transform(33)) # > 66 print(lossy_transform(99)) # > 33 print(lossy_transform(1002)) # > None
def lossy_transform(num): if num < 10: return 0 elif num < 47: return num * 2 elif num < 1001: return num / 3 else: return None print(lossy_transform(8)) print(lossy_transform(33)) print(lossy_transform(99)) print(lossy_transform(1002))
#generates hg19_splits for cross-validation #hg19 (i.e. /mnt/data/annotations/by_release/hg19.GRCh37/hg19.chrom.sizes). Any chromosome from this chrom.sizes file that is not in the test/validation split is assumed to be in the training split (only considering chroms 1 - 22, X, Y hg19_chroms=['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chr20','chr21','chr22','chrX','chrY'] hg19_splits=dict() hg19_splits[0]={'test':['chr1'], 'valid':['chr10','chr8'], 'train':['chr2','chr3','chr4','chr5','chr6','chr7','chr9','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chr20','chr21','chr22','chrX','chrY']} hg19_splits[1]={'test':['chr19','chr2'], 'valid':['chr1'], 'train':['chr3','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr20','chr21','chr22','chrX','chrY']} hg19_splits[2]={'test':['chr3','chr20'], 'valid':['chr19','chr2'], 'train':['chr1','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr21','chr22','chrX','chrY']} hg19_splits[3]={'test':['chr13','chr6','chr22'], 'valid':['chr3','chr20'], 'train':['chr1','chr2','chr4','chr5','chr7','chr8','chr9','chr10','chr11','chr12','chr14','chr15','chr16','chr17','chr18','chr19','chr21','chrX','chrY']} hg19_splits[4]={'test':['chr5','chr16','chrY'], 'valid':['chr13','chr6','chr22'], 'train':['chr1','chr2','chr3','chr4','chr7','chr8','chr9','chr10','chr11','chr12','chr14','chr15','chr17','chr18','chr19','chr20','chr21','chrX']} hg19_splits[5]={'test':['chr4','chr15','chr21'], 'valid':['chr5','chr16','chrY'], 'train':['chr1','chr2','chr3','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr17','chr18','chr19','chr20','chr22','chrX']} hg19_splits[6]={'test':['chr7','chr18','chr14'], 'valid':['chr4','chr15','chr21'], 'train':['chr1','chr2','chr3','chr5','chr6','chr8','chr9','chr10','chr11','chr12','chr13','chr16','chr17','chr19','chr20','chr22','chrX','chrY']} hg19_splits[7]={'test':['chr11','chr17','chrX'], 'valid':['chr7','chr18','chr14'], 'train':['chr1','chr2','chr3','chr4','chr5','chr6','chr8','chr9','chr10','chr12','chr13','chr15','chr16','chr19','chr20','chr21','chr22','chrY']} hg19_splits[8]={'test':['chr12','chr9'], 'valid':['chr11','chr17','chrX'], 'train':['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr8','chr10','chr13','chr14','chr15','chr16','chr18','chr19','chr20','chr21','chr22','chrY']} hg19_splits[9]={'test':['chr10','chr8'], 'valid':['chr12','chr9'], 'train':['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr11','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chr20','chr21','chr22','chrX','chrY']} #Note: the splits for hg19 and hg38 are the same, as are the chromosomes used for training models. splits=dict() splits['hg19']=hg19_splits splits['hg38']=hg19_splits chroms=dict() chroms['hg19']=hg19_chroms chroms['hg38']=hg19_chroms mm10_chroms = ['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chrX','chrY'] mm10_splits = dict() mm10_splits[0] = {'test':['chr1'], 'valid':['chr10','chr8'], 'train':['chr2','chr3','chr4','chr5','chr6','chr7','chr9','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chrX','chrY']} mm10_splits[1] = {'test':['chr19','chr2'], 'valid':['chr1'], 'train':['chr3','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chrX','chrY']} mm10_splits[2] = {'test':['chr3'], 'valid':['chr19','chr2'], 'train':['chr1','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chrX','chrY']} mm10_splits[3] = {'test':['chr13','chr6'], 'valid':['chr3'], 'train':['chr1','chr2','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr14','chr15','chr17','chr18','chr19','chrX','chrY']} mm10_splits[4] = {'test':['chr5','chr16','chrY'], 'valid':['chr13','chr6'], 'train':['chr1','chr2','chr3','chr4','chr7','chr8','chr9','chr10','chr11','chr12','chr14','chr15','chr17','chr18','chr19','chrX']} mm10_splits[5] = {'test':['chr4','chr15'], 'valid':['chr5','chr16','chrY'], 'train':['chr1','chr2','chr3','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr17','chr18','chr19','chrX']} mm10_splits[6] = {'test':['chr7','chr18','chr14'], 'valid':['chr4','chr15'], 'train':['chr1','chr2','chr3','chr5','chr6','chr8','chr9','chr10','chr11','chr12','chr13','chr16','chr17','chr19','chrX','chrY']} mm10_splits[7] = {'test':['chr11','chr17','chrX'], 'valid':['chr7','chr18','chr14'], 'train':['chr1','chr2','chr3','chr4','chr5','chr6','chr8','chr9','chr10','chr12','chr13','chr15','chr16','chr19','chrY']} mm10_splits[8] = {'test':['chr12','chr9'], 'valid':['chr11','chr17','chrX'], 'train':['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr8','chr10','chr13','chr14','chr15','chr16','chr18','chr19','chrY']} mm10_splits[9] = {'test':['chr10','chr8'], 'valid':['chr12','chr9'], 'train':['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr11','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chrX','chrY']} #mm9 & mm10 splits are the same splits['mm10']=mm10_splits splits['mm9']=mm10_splits chroms['mm10']=mm10_splits chroms['mm9']=mm10_splits def get_chroms(args,split): if split=="train": if args.train_chroms is not None: return args.train_chroms else: assert args.genome is not None assert args.fold is not None return splits[args.genome][args.fold]['train'] elif split=='valid': if args.validation_chroms is not None: return args.validation_chroms else: assert args.genome is not None assert args.fold is not None return splits[args.genome][args.fold]['valid'] elif split=="test": if args.predict_chroms is not None: return args.predict_chroms else: assert args.genome is not None assert args.fold is not None return splits[args.genome][args.fold]['test'] else: raise Exception("invalid split specified, must be one of train,valid,test; you gave:"+str(split)) def get_bed_regions_for_fold_split(bed_regions,genome,fold,split): chroms_to_keep=splits[genome][int(fold)][split] bed_regions_to_keep=bed_regions[bed_regions[0].isin(chroms_to_keep)] print("got split:"+str(split)+" for fold:"+str(fold) +" for bed regions:"+str(bed_regions_to_keep.shape)) return bed_regions_to_keep
hg19_chroms = ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr20', 'chr21', 'chr22', 'chrX', 'chrY'] hg19_splits = dict() hg19_splits[0] = {'test': ['chr1'], 'valid': ['chr10', 'chr8'], 'train': ['chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr9', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr20', 'chr21', 'chr22', 'chrX', 'chrY']} hg19_splits[1] = {'test': ['chr19', 'chr2'], 'valid': ['chr1'], 'train': ['chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr20', 'chr21', 'chr22', 'chrX', 'chrY']} hg19_splits[2] = {'test': ['chr3', 'chr20'], 'valid': ['chr19', 'chr2'], 'train': ['chr1', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr21', 'chr22', 'chrX', 'chrY']} hg19_splits[3] = {'test': ['chr13', 'chr6', 'chr22'], 'valid': ['chr3', 'chr20'], 'train': ['chr1', 'chr2', 'chr4', 'chr5', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr21', 'chrX', 'chrY']} hg19_splits[4] = {'test': ['chr5', 'chr16', 'chrY'], 'valid': ['chr13', 'chr6', 'chr22'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr14', 'chr15', 'chr17', 'chr18', 'chr19', 'chr20', 'chr21', 'chrX']} hg19_splits[5] = {'test': ['chr4', 'chr15', 'chr21'], 'valid': ['chr5', 'chr16', 'chrY'], 'train': ['chr1', 'chr2', 'chr3', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr17', 'chr18', 'chr19', 'chr20', 'chr22', 'chrX']} hg19_splits[6] = {'test': ['chr7', 'chr18', 'chr14'], 'valid': ['chr4', 'chr15', 'chr21'], 'train': ['chr1', 'chr2', 'chr3', 'chr5', 'chr6', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr16', 'chr17', 'chr19', 'chr20', 'chr22', 'chrX', 'chrY']} hg19_splits[7] = {'test': ['chr11', 'chr17', 'chrX'], 'valid': ['chr7', 'chr18', 'chr14'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr8', 'chr9', 'chr10', 'chr12', 'chr13', 'chr15', 'chr16', 'chr19', 'chr20', 'chr21', 'chr22', 'chrY']} hg19_splits[8] = {'test': ['chr12', 'chr9'], 'valid': ['chr11', 'chr17', 'chrX'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr10', 'chr13', 'chr14', 'chr15', 'chr16', 'chr18', 'chr19', 'chr20', 'chr21', 'chr22', 'chrY']} hg19_splits[9] = {'test': ['chr10', 'chr8'], 'valid': ['chr12', 'chr9'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr11', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr20', 'chr21', 'chr22', 'chrX', 'chrY']} splits = dict() splits['hg19'] = hg19_splits splits['hg38'] = hg19_splits chroms = dict() chroms['hg19'] = hg19_chroms chroms['hg38'] = hg19_chroms mm10_chroms = ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chrX', 'chrY'] mm10_splits = dict() mm10_splits[0] = {'test': ['chr1'], 'valid': ['chr10', 'chr8'], 'train': ['chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr9', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chrX', 'chrY']} mm10_splits[1] = {'test': ['chr19', 'chr2'], 'valid': ['chr1'], 'train': ['chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chrX', 'chrY']} mm10_splits[2] = {'test': ['chr3'], 'valid': ['chr19', 'chr2'], 'train': ['chr1', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chrX', 'chrY']} mm10_splits[3] = {'test': ['chr13', 'chr6'], 'valid': ['chr3'], 'train': ['chr1', 'chr2', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr14', 'chr15', 'chr17', 'chr18', 'chr19', 'chrX', 'chrY']} mm10_splits[4] = {'test': ['chr5', 'chr16', 'chrY'], 'valid': ['chr13', 'chr6'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr14', 'chr15', 'chr17', 'chr18', 'chr19', 'chrX']} mm10_splits[5] = {'test': ['chr4', 'chr15'], 'valid': ['chr5', 'chr16', 'chrY'], 'train': ['chr1', 'chr2', 'chr3', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr17', 'chr18', 'chr19', 'chrX']} mm10_splits[6] = {'test': ['chr7', 'chr18', 'chr14'], 'valid': ['chr4', 'chr15'], 'train': ['chr1', 'chr2', 'chr3', 'chr5', 'chr6', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr16', 'chr17', 'chr19', 'chrX', 'chrY']} mm10_splits[7] = {'test': ['chr11', 'chr17', 'chrX'], 'valid': ['chr7', 'chr18', 'chr14'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr8', 'chr9', 'chr10', 'chr12', 'chr13', 'chr15', 'chr16', 'chr19', 'chrY']} mm10_splits[8] = {'test': ['chr12', 'chr9'], 'valid': ['chr11', 'chr17', 'chrX'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr10', 'chr13', 'chr14', 'chr15', 'chr16', 'chr18', 'chr19', 'chrY']} mm10_splits[9] = {'test': ['chr10', 'chr8'], 'valid': ['chr12', 'chr9'], 'train': ['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr11', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chrX', 'chrY']} splits['mm10'] = mm10_splits splits['mm9'] = mm10_splits chroms['mm10'] = mm10_splits chroms['mm9'] = mm10_splits def get_chroms(args, split): if split == 'train': if args.train_chroms is not None: return args.train_chroms else: assert args.genome is not None assert args.fold is not None return splits[args.genome][args.fold]['train'] elif split == 'valid': if args.validation_chroms is not None: return args.validation_chroms else: assert args.genome is not None assert args.fold is not None return splits[args.genome][args.fold]['valid'] elif split == 'test': if args.predict_chroms is not None: return args.predict_chroms else: assert args.genome is not None assert args.fold is not None return splits[args.genome][args.fold]['test'] else: raise exception('invalid split specified, must be one of train,valid,test; you gave:' + str(split)) def get_bed_regions_for_fold_split(bed_regions, genome, fold, split): chroms_to_keep = splits[genome][int(fold)][split] bed_regions_to_keep = bed_regions[bed_regions[0].isin(chroms_to_keep)] print('got split:' + str(split) + ' for fold:' + str(fold) + ' for bed regions:' + str(bed_regions_to_keep.shape)) return bed_regions_to_keep
# # PySNMP MIB module ENTERASYS-CLASS-OF-SERVICE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ENTERASYS-CLASS-OF-SERVICE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:48:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint") dot1dBasePort, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePort") etsysModules, = mibBuilder.importSymbols("ENTERASYS-MIB-NAMES", "etsysModules") ifName, = mibBuilder.importSymbols("IF-MIB", "ifName") EnabledStatus, = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus") PortList, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "PortList") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") IpAddress, TimeTicks, NotificationType, Counter32, Bits, ModuleIdentity, Counter64, MibIdentifier, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Integer32, ObjectIdentity, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "TimeTicks", "NotificationType", "Counter32", "Bits", "ModuleIdentity", "Counter64", "MibIdentifier", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Integer32", "ObjectIdentity", "Gauge32") TruthValue, RowStatus, DisplayString, TextualConvention, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "RowStatus", "DisplayString", "TextualConvention", "TimeStamp") etsysCosMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55)) etsysCosMIB.setRevisions(('2008-02-13 15:03', '2007-05-24 02:29', '2005-04-13 21:22', '2004-11-22 16:28', '2004-11-09 15:52',)) if mibBuilder.loadTexts: etsysCosMIB.setLastUpdated('200802131503Z') if mibBuilder.loadTexts: etsysCosMIB.setOrganization('Enterasys Networks, Inc.') class TxqArbiterModes(TextualConvention, Bits): status = 'current' namedValues = NamedValues(("strict", 0), ("weightedFairQ", 1), ("lowLatencyQ", 2)) class TxqAlgorithms(TextualConvention, Bits): status = 'current' namedValues = NamedValues(("tailDrop", 0), ("headDrop", 1), ("red", 2), ("wred", 3)) class TxQueueList(TextualConvention, OctetString): status = 'current' class EtsysCosRateTypes(TextualConvention, Bits): status = 'current' namedValues = NamedValues(("percentage", 0), ("pps", 1), ("kbps", 2), ("mbps", 3), ("gbps", 4), ("tbps", 5)) class EtsysCosRlCapabilities(TextualConvention, Bits): status = 'current' namedValues = NamedValues(("drop", 0), ("reprioritize", 1), ("count", 2), ("chainingAnd", 3), ("chainingOr", 4), ("syslog", 5), ("trap", 6), ("disable", 7)) class EtsysViolationAction(TextualConvention, Bits): status = 'current' namedValues = NamedValues(("syslog", 0), ("trap", 1), ("disable", 2)) class EtsysRateLimitingType(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4)) namedValues = NamedValues(("drop", 0), ("dropOR", 1), ("rePrioritize", 2), ("rePrioritizeOR", 3), ("count", 4)) class EtsysRateLimitResetBits(TextualConvention, Bits): status = 'current' namedValues = NamedValues(("clearViolation", 0), ("clearUnitCounter", 1)) etsysCosObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1)) etsysCosNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0)) etsysCosMasterReset = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 1)) etsysCosCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 2)) etsysCos = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3)) etsysCosTxq = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4)) etsysCosIrl = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5)) etsysCosOrl = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6)) etsysCosFloodControl = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7)) etsysCosMibObjectAnullingBehavior = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosMibObjectAnullingBehavior.setStatus('current') etsysCosCapability = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 2, 1), Bits().clone(namedValues=NamedValues(("supports8021Dpriority", 0), ("supportsTosOverwrite", 1), ("supportsTosMasking", 2), ("supportsTransmitQueue", 3), ("supportsInboundRateLimiting", 4), ("supportsOutBoundRateLimiting", 5), ("supportsDropPrecedence", 6), ("supportsUnknownUnicastRateLimiting", 7), ("supportsMulticastRateLimiting", 8), ("supportsBroadcastRateLimiting", 9), ("supportsTransmitQueuePortShaping", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosCapability.setStatus('current') etsysCosMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosMaxEntries.setStatus('current') etsysCosNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosNumEntries.setStatus('current') etsysCosLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosLastChange.setStatus('current') etsysCosEnableState = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 4), EnabledStatus().clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosEnableState.setStatus('current') etsysCosTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5), ) if mibBuilder.loadTexts: etsysCosTable.setStatus('current') etsysCosEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIndex")) if mibBuilder.loadTexts: etsysCosEntry.setStatus('current') etsysCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosIndex.setStatus('current') etsysCosRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosRowStatus.setStatus('current') etsysCos8021dPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 7), )).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCos8021dPriority.setStatus('current') etsysCosTosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2)).clone(hexValue="")).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTosValue.setStatus('current') etsysCosTxqReference = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqReference.setStatus('current') etsysCosIrlReference = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 32767), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosIrlReference.setStatus('current') etsysCosOrlReference = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 32767), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosOrlReference.setStatus('current') etsysCosDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 255), )).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosDropPrecedence.setStatus('current') etsysCosFloodControlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 9), EnabledStatus().clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosFloodControlStatus.setStatus('current') etsysCosTxqNumPortTypes = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2048))).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqNumPortTypes.setStatus('current') etsysCosTxqPortTypeTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2), ) if mibBuilder.loadTexts: etsysCosTxqPortTypeTable.setStatus('current') etsysCosTxqPortTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex")) if mibBuilder.loadTexts: etsysCosTxqPortTypeEntry.setStatus('current') etsysCosTxqPortTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosTxqPortTypeIndex.setStatus('current') etsysCosTxqPortTypeDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeDescr.setStatus('current') etsysCosTxqPortTypeEligiblePorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeEligiblePorts.setStatus('current') etsysCosTxqPortTypeUnselectedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeUnselectedPorts.setStatus('current') etsysCosTxqPortTypeNumberOfQueues = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeNumberOfQueues.setStatus('current') etsysCosTxqPortTypeSupportedRateTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 6), EtsysCosRateTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeSupportedRateTypes.setStatus('current') etsysCosTxqPortTypeNumberOfSlices = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeNumberOfSlices.setStatus('current') etsysCosTxqPortTypeQueueAlgorithms = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 8), TxqAlgorithms()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeQueueAlgorithms.setStatus('current') etsysCosTxqPortTypeQueueArbiterModes = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 9), TxqArbiterModes()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeQueueArbiterModes.setStatus('current') etsysCosTxqPortTypeMaxDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeMaxDropPrecedence.setStatus('current') etsysCosTxqPortTypeLLQEligibleQueues = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 11), TxQueueList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortTypeLLQEligibleQueues.setStatus('current') etsysCosTxqUnitTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3), ) if mibBuilder.loadTexts: etsysCosTxqUnitTable.setStatus('current') etsysCosTxqUnitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqUnitTypeIndex")) if mibBuilder.loadTexts: etsysCosTxqUnitEntry.setStatus('current') etsysCosTxqUnitTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 1), EtsysCosRateTypes()) if mibBuilder.loadTexts: etsysCosTxqUnitTypeIndex.setStatus('current') etsysCosTxqUnitMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqUnitMaxRate.setStatus('current') etsysCosTxqUnitMinRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqUnitMinRate.setStatus('current') etsysCosTxqUnitGranularity = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqUnitGranularity.setStatus('current') etsysCosTxqMaxPortGroups = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqMaxPortGroups.setStatus('current') etsysCosTxqNumPortGroups = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqNumPortGroups.setStatus('current') etsysCosTxqPortGroupLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortGroupLastChange.setStatus('current') etsysCosTxqPortGroupTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7), ) if mibBuilder.loadTexts: etsysCosTxqPortGroupTable.setStatus('current') etsysCosTxqPortGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex")) if mibBuilder.loadTexts: etsysCosTxqPortGroupEntry.setStatus('current') etsysCosTxqPortGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 32767), ))) if mibBuilder.loadTexts: etsysCosTxqPortGroupIndex.setStatus('current') etsysCosTxqPortGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqPortGroupRowStatus.setStatus('current') etsysCosTxqPortGroupList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 3), PortList().clone(hexValue="")).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqPortGroupList.setStatus('current') etsysCosTxqPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 4), SnmpAdminString().clone(hexValue="")).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqPortGroupName.setStatus('current') etsysCosTxqPortCfgTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8), ) if mibBuilder.loadTexts: etsysCosTxqPortCfgTable.setStatus('current') etsysCosTxqPortCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex")) if mibBuilder.loadTexts: etsysCosTxqPortCfgEntry.setStatus('current') etsysCosTxqPortArbMode = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8, 1, 1), TxqArbiterModes()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqPortArbMode.setStatus('current') etsysCosTxqPortSliceSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqPortSliceSetting.setStatus('current') etsysCosTxqResourceTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9), ) if mibBuilder.loadTexts: etsysCosTxqResourceTable.setStatus('current') etsysCosTxqResourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqResourceQueueNum")) if mibBuilder.loadTexts: etsysCosTxqResourceEntry.setStatus('current') etsysCosTxqResourceQueueNum = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosTxqResourceQueueNum.setStatus('current') etsysCosTxqPortQUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 2), EtsysCosRateTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqPortQUnit.setStatus('current') etsysCosTxqPortQRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 2147483647), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqPortQRate.setStatus('current') etsysCosTxqPortQAlgorithm = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 4), TxqAlgorithms()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqPortQAlgorithm.setStatus('current') etsysCosTxqPortQLLQenable = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 5), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqPortQLLQenable.setStatus('current') etsysCosTxqReferenceMappingMaxReference = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqReferenceMappingMaxReference.setStatus('current') etsysCosTxqReferenceMappingTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 11), ) if mibBuilder.loadTexts: etsysCosTxqReferenceMappingTable.setStatus('current') etsysCosTxqReferenceMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 11, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqReference")) if mibBuilder.loadTexts: etsysCosTxqReferenceMappingEntry.setStatus('current') etsysCosTxqResourceQueueNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqResourceQueueNumber.setStatus('current') etsysCosTxqDropProfilesMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqDropProfilesMaxEntries.setStatus('current') etsysCosTxqDropProfilesNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqDropProfilesNumEntries.setStatus('current') etsysCosTxqDropProfilesLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 14), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosTxqDropProfilesLastChange.setStatus('current') etsysCosTxqDropProfilesTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15), ) if mibBuilder.loadTexts: etsysCosTxqDropProfilesTable.setStatus('current') etsysCosTxqDropProfilesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropSettingIndex")) if mibBuilder.loadTexts: etsysCosTxqDropProfilesEntry.setStatus('current') etsysCosTxqDropSettingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 1), Unsigned32()) if mibBuilder.loadTexts: etsysCosTxqDropSettingIndex.setStatus('current') etsysCosTxqDropProfilesRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqDropProfilesRowStatus.setStatus('current') etsysCosTxqDropProfilesMin = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqDropProfilesMin.setStatus('current') etsysCosTxqDropProfilesMax = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqDropProfilesMax.setStatus('current') etsysCosTxqDropProfilesMaxDropProb = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqDropProfilesMaxDropProb.setStatus('current') etsysCosTxqDropProfilesQueueDepthAtMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosTxqDropProfilesQueueDepthAtMaxProb.setStatus('current') etsysCosTxqDropPrecedenceTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16), ) if mibBuilder.loadTexts: etsysCosTxqDropPrecedenceTable.setStatus('current') etsysCosTxqDropPrecedenceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqResourceQueueNum"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTableDropPrecedence")) if mibBuilder.loadTexts: etsysCosTxqDropPrecedenceEntry.setStatus('current') etsysCosTableDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16, 1, 1), Unsigned32()) if mibBuilder.loadTexts: etsysCosTableDropPrecedence.setStatus('current') etsysCosTxqDropProfileQueueCfgID = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosTxqDropProfileQueueCfgID.setStatus('current') etsysCosIrlPortTypeMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeMaxEntries.setStatus('current') etsysCosIrlPortTypeTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2), ) if mibBuilder.loadTexts: etsysCosIrlPortTypeTable.setStatus('current') etsysCosIrlPortTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosIrlPortTypeEntry.setStatus('current') etsysCosIrlPortTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosIrlPortTypeIndex.setStatus('current') etsysCosIrlPortTypeDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeDescr.setStatus('current') etsysCosIrlPortTypeEligiblePorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeEligiblePorts.setStatus('current') etsysCosIrlPortTypeUnselectedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeUnselectedPorts.setStatus('current') etsysCosIrlPortTypeNumberOfIRLs = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeNumberOfIRLs.setStatus('current') etsysCosIrlPortTypeSupportedRateTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 6), EtsysCosRateTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeSupportedRateTypes.setStatus('current') etsysCosIrlPortTypeCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 7), EtsysCosRlCapabilities()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortTypeCapabilities.setStatus('current') etsysCosIrlUnitTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3), ) if mibBuilder.loadTexts: etsysCosIrlUnitTable.setStatus('current') etsysCosIrlUnitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlUnitTypeIndex")) if mibBuilder.loadTexts: etsysCosIrlUnitEntry.setStatus('current') etsysCosIrlUnitTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 1), EtsysCosRateTypes()) if mibBuilder.loadTexts: etsysCosIrlUnitTypeIndex.setStatus('current') etsysCosIrlUnitMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlUnitMaxRate.setStatus('current') etsysCosIrlUnitMinRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlUnitMinRate.setStatus('current') etsysCosIrlUnitGranularity = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlUnitGranularity.setStatus('current') etsysCosIrlPortGroupMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortGroupMaxEntries.setStatus('current') etsysCosIrlPortGroupNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortGroupNumEntries.setStatus('current') etsysCosIrlPortGroupLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlPortGroupLastChange.setStatus('current') etsysCosIrlPortGroupTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7), ) if mibBuilder.loadTexts: etsysCosIrlPortGroupTable.setStatus('current') etsysCosIrlPortGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosIrlPortGroupEntry.setStatus('current') etsysCosIrlPortGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 32767), ))) if mibBuilder.loadTexts: etsysCosIrlPortGroupIndex.setStatus('current') etsysCosIrlPortGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosIrlPortGroupRowStatus.setStatus('current') etsysCosIrlPortGroupList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 3), PortList().clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlPortGroupList.setStatus('current') etsysCosIrlPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 4), SnmpAdminString().clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlPortGroupName.setStatus('current') etsysCosIrlPortCfgTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 8), ) if mibBuilder.loadTexts: etsysCosIrlPortCfgTable.setStatus('current') etsysCosIrlPortCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 8, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosIrlPortCfgEntry.setStatus('current') etsysCosIrlPortCfgFloodLimiter = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 65535), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlPortCfgFloodLimiter.setStatus('deprecated') etsysCosIrlResourceTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9), ) if mibBuilder.loadTexts: etsysCosIrlResourceTable.setStatus('current') etsysCosIrlResourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceIrlNum")) if mibBuilder.loadTexts: etsysCosIrlResourceEntry.setStatus('current') etsysCosIrlResourceIrlNum = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 1), Unsigned32()) if mibBuilder.loadTexts: etsysCosIrlResourceIrlNum.setStatus('current') etsysCosIrlResourceUnits = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 2), EtsysCosRateTypes().clone(namedValues=NamedValues(("pps", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceUnits.setStatus('current') etsysCosIrlResourceRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 2147483647), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceRate.setStatus('current') etsysCosIrlResourceParentIrl = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 4), Integer32().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceParentIrl.setStatus('current') etsysCosIrlResourceType = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 5), EtsysRateLimitingType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceType.setStatus('current') etsysCosIrlResourceActionCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 6), Integer32().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceActionCosIndex.setStatus('current') etsysCosIrlResourceAction = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 7), EtsysViolationAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceAction.setStatus('current') etsysCosIrlResourceViolationPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 8), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceViolationPortList.setStatus('current') etsysCosIrlResourceClearCounters = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceClearCounters.setStatus('current') etsysCosIrlReferenceMappingMaxReference = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlReferenceMappingMaxReference.setStatus('current') etsysCosIrlReferenceMappingLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlReferenceMappingLastChange.setStatus('current') etsysCosIrlReferenceMappingTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 12), ) if mibBuilder.loadTexts: etsysCosIrlReferenceMappingTable.setStatus('current') etsysCosIrlReferenceMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 12, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlReference")) if mibBuilder.loadTexts: etsysCosIrlReferenceMappingEntry.setStatus('current') etsysCosIrlResourceIrlNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 32767), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResourceIrlNumber.setStatus('current') etsysCosIrlViolationClearTable = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 13), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlViolationClearTable.setStatus('current') etsysCosIrlViolationLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 14), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlViolationLastChange.setStatus('current') etsysCosIrlDisabledPortsList = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 15), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlDisabledPortsList.setStatus('current') etsysCosIrlViolationTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16), ) if mibBuilder.loadTexts: etsysCosIrlViolationTable.setStatus('current') etsysCosIrlViolationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceIrlNumber")) if mibBuilder.loadTexts: etsysCosIrlViolationEntry.setStatus('current') etsysCosIrlPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosIrlPortIndex.setStatus('current') etsysCosIrlViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlViolation.setStatus('current') etsysCosIrlCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosIrlCounter.setStatus('current') etsysCosIrlResetFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 4), EtsysRateLimitResetBits()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosIrlResetFlags.setStatus('current') etsysCosOrlPortTypeMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeMaxEntries.setStatus('current') etsysCosOrlPortTypeTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2), ) if mibBuilder.loadTexts: etsysCosOrlPortTypeTable.setStatus('current') etsysCosOrlPortTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosOrlPortTypeEntry.setStatus('current') etsysCosOrlPortTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosOrlPortTypeIndex.setStatus('current') etsysCosOrlPortTypeDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeDescr.setStatus('current') etsysCosOrlPortTypeEligiblePorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeEligiblePorts.setStatus('current') etsysCosOrlPortTypeUnselectedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeUnselectedPorts.setStatus('current') etsysCosOrlPortTypeNumberOfORLs = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeNumberOfORLs.setStatus('current') etsysCosOrlPortTypeSupportedRateTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 6), EtsysCosRateTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeSupportedRateTypes.setStatus('current') etsysCosOrlPortTypeCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 7), EtsysCosRlCapabilities()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortTypeCapabilities.setStatus('current') etsysCosOrlUnitTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3), ) if mibBuilder.loadTexts: etsysCosOrlUnitTable.setStatus('current') etsysCosOrlUnitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlUnitTypeIndex")) if mibBuilder.loadTexts: etsysCosOrlUnitEntry.setStatus('current') etsysCosOrlUnitTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 1), EtsysCosRateTypes()) if mibBuilder.loadTexts: etsysCosOrlUnitTypeIndex.setStatus('current') etsysCosOrlUnitMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlUnitMaxRate.setStatus('current') etsysCosOrlUnitMinRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlUnitMinRate.setStatus('current') etsysCosOrlUnitGranularity = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlUnitGranularity.setStatus('current') etsysCosOrlPortGroupMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortGroupMaxEntries.setStatus('current') etsysCosOrlPortGroupNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortGroupNumEntries.setStatus('current') etsysCosOrlPortGroupLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlPortGroupLastChange.setStatus('current') etsysCosOrlPortGroupTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7), ) if mibBuilder.loadTexts: etsysCosOrlPortGroupTable.setStatus('current') etsysCosOrlPortGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosOrlPortGroupEntry.setStatus('current') etsysCosOrlPortGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 32767), ))) if mibBuilder.loadTexts: etsysCosOrlPortGroupIndex.setStatus('current') etsysCosOrlPortGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosOrlPortGroupRowStatus.setStatus('current') etsysCosOrlPortGroupList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 3), PortList().clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlPortGroupList.setStatus('current') etsysCosOrlPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 4), SnmpAdminString().clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlPortGroupName.setStatus('current') etsysCosOrlPortCfgTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 8), ) if mibBuilder.loadTexts: etsysCosOrlPortCfgTable.setStatus('current') etsysCosOrlPortCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 8, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosOrlPortCfgEntry.setStatus('current') etsysCosOrlPortCfgFloodLimiter = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 65535), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlPortCfgFloodLimiter.setStatus('current') etsysCosOrlResourceTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9), ) if mibBuilder.loadTexts: etsysCosOrlResourceTable.setStatus('current') etsysCosOrlResourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceOrlNum")) if mibBuilder.loadTexts: etsysCosOrlResourceEntry.setStatus('current') etsysCosOrlResourceOrlNum = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 1), Unsigned32()) if mibBuilder.loadTexts: etsysCosOrlResourceOrlNum.setStatus('current') etsysCosOrlResourceUnits = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 2), EtsysCosRateTypes().clone(namedValues=NamedValues(("pps", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceUnits.setStatus('current') etsysCosOrlResourceRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 2147483647), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceRate.setStatus('current') etsysCosOrlResourceParentOrl = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 4), Integer32().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceParentOrl.setStatus('current') etsysCosOrlResourceType = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 5), EtsysRateLimitingType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceType.setStatus('current') etsysCosOrlResourceActionCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 6), Integer32().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceActionCosIndex.setStatus('current') etsysCosOrlResourceAction = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 7), EtsysViolationAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceAction.setStatus('current') etsysCosOrlResourceViolationPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 8), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceViolationPortList.setStatus('current') etsysCosOrlResourceClearCounters = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceClearCounters.setStatus('current') etsysCosOrlReferenceMappingMaxReference = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlReferenceMappingMaxReference.setStatus('current') etsysCosOrlReferenceMappingLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlReferenceMappingLastChange.setStatus('current') etsysCosOrlReferenceMappingTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 12), ) if mibBuilder.loadTexts: etsysCosOrlReferenceMappingTable.setStatus('current') etsysCosOrlReferenceMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 12, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlReference")) if mibBuilder.loadTexts: etsysCosOrlReferenceMappingEntry.setStatus('current') etsysCosOrlResourceOrlNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 32767), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResourceOrlNumber.setStatus('current') etsysCosOrlViolationClearTable = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 13), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlViolationClearTable.setStatus('current') etsysCosOrlViolationLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 14), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlViolationLastChange.setStatus('current') etsysCosOrlDisabledPortsList = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 15), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlDisabledPortsList.setStatus('current') etsysCosOrlViolationTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16), ) if mibBuilder.loadTexts: etsysCosOrlViolationTable.setStatus('current') etsysCosOrlViolationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceOrlNumber")) if mibBuilder.loadTexts: etsysCosOrlViolationEntry.setStatus('current') etsysCosOrlPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))) if mibBuilder.loadTexts: etsysCosOrlPortIndex.setStatus('current') etsysCosOrlViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlViolation.setStatus('current') etsysCosOrlCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosOrlCounter.setStatus('current') etsysCosOrlResetFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 4), EtsysRateLimitResetBits()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosOrlResetFlags.setStatus('current') etsysCosFloodCtrlPortTypeMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeMaxEntries.setStatus('current') etsysCosFloodCtrlPortTypeTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2), ) if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeTable.setStatus('current') etsysCosFloodCtrlPortTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeEntry.setStatus('current') etsysCosFloodCtrlPortTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeIndex.setStatus('current') etsysCosFloodCtrlPortTypeDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeDescr.setStatus('current') etsysCosFloodCtrlPortTypeEligiblePorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeEligiblePorts.setStatus('current') etsysCosFloodCtrlPortTypeUnselectedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeUnselectedPorts.setStatus('current') etsysCosFloodCtrlPortTypeSupportedRateTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 5), EtsysCosRateTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeSupportedRateTypes.setStatus('current') etsysCosFloodCtrlPortTypeCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 7), EtsysCosRlCapabilities()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeCapabilities.setStatus('current') etsysCosFloodCtrlUnitTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3), ) if mibBuilder.loadTexts: etsysCosFloodCtrlUnitTable.setStatus('current') etsysCosFloodCtrlUnitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlUnitTypeIndex")) if mibBuilder.loadTexts: etsysCosFloodCtrlUnitEntry.setStatus('current') etsysCosFloodCtrlUnitTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 1), EtsysCosRateTypes()) if mibBuilder.loadTexts: etsysCosFloodCtrlUnitTypeIndex.setStatus('current') etsysCosFloodCtrlUnitMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlUnitMaxRate.setStatus('current') etsysCosFloodCtrlUnitMinRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlUnitMinRate.setStatus('current') etsysCosFloodCtrlUnitGranularity = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlUnitGranularity.setStatus('current') etsysCosFloodCtrlPortGroupMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupMaxEntries.setStatus('current') etsysCosFloodCtrlPortGroupNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupNumEntries.setStatus('current') etsysCosFloodCtrlPortGroupLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupLastChange.setStatus('current') etsysCosFloodCtrlPortGroupTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7), ) if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupTable.setStatus('current') etsysCosFloodCtrlPortGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlPortTypeIndex")) if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupEntry.setStatus('current') etsysCosFloodCtrlPortGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 32767), ))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupIndex.setStatus('current') etsysCosFloodCtrlPortGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupRowStatus.setStatus('current') etsysCosFloodCtrlPortGroupList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 3), PortList().clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupList.setStatus('current') etsysCosFloodCtrlPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 4), SnmpAdminString().clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupName.setStatus('current') etsysCosFloodCtrlSyslogActionMsgFormat = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notification", 1), ("notificationWithPktHdr", 2))).clone('notification')).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlSyslogActionMsgFormat.setStatus('current') etsysCosFloodCtrlResourceTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9), ) if mibBuilder.loadTexts: etsysCosFloodCtrlResourceTable.setStatus('current') etsysCosFloodCtrlResourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1), ).setIndexNames((0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlPortGroupIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlPortTypeIndex"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlFloodType")) if mibBuilder.loadTexts: etsysCosFloodCtrlResourceEntry.setStatus('current') etsysCosFloodCtrlFloodType = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unicastUnknown", 1), ("multicast", 2), ("broadcast", 3)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: etsysCosFloodCtrlFloodType.setStatus('current') etsysCosFloodCtrlResourceUnits = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 2), EtsysCosRateTypes().clone(namedValues=NamedValues(("pps", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlResourceUnits.setStatus('current') etsysCosFloodCtrlResourceRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 2147483647), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlResourceRate.setStatus('current') etsysCosFloodCtrlResourceAction = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 4), Bits().clone(namedValues=NamedValues(("drop", 0), ("syslog", 1), ("trap", 2), ("disable", 3))).clone(namedValues=NamedValues(("drop", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlResourceAction.setStatus('current') etsysCosFloodCtrlResourceViolationPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 5), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlResourceViolationPortList.setStatus('current') etsysCosFloodCtrlResourceClearCounters = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlResourceClearCounters.setStatus('current') etsysCosFloodCtrlViolationClearTable = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 10), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlViolationClearTable.setStatus('current') etsysCosFloodCtrlViolationLastChange = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlViolationLastChange.setStatus('current') etsysCosFloodCtrlDisabledPortsList = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 12), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlDisabledPortsList.setStatus('current') etsysCosFloodCtrlViolationTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13), ) if mibBuilder.loadTexts: etsysCosFloodCtrlViolationTable.setStatus('current') etsysCosFloodCtrlViolationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1), ).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlFloodType")) if mibBuilder.loadTexts: etsysCosFloodCtrlViolationEntry.setStatus('current') etsysCosFloodCtrlViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlViolation.setStatus('current') etsysCosFloodCtrlCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysCosFloodCtrlCounter.setStatus('current') etsysCosFloodCtrlResetFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1, 3), EtsysRateLimitResetBits()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etsysCosFloodCtrlResetFlags.setStatus('current') etsysCosIrlExceededNotification = NotificationType((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0, 1)).setObjects(("IF-MIB", "ifName"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlViolation")) if mibBuilder.loadTexts: etsysCosIrlExceededNotification.setStatus('current') etsysCosOrlExceededNotification = NotificationType((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0, 2)).setObjects(("IF-MIB", "ifName"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlViolation")) if mibBuilder.loadTexts: etsysCosOrlExceededNotification.setStatus('current') etsysCosFloodLimitExceededNotification = NotificationType((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0, 3)).setObjects(("IF-MIB", "ifName"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosFloodCtrlViolation")) if mibBuilder.loadTexts: etsysCosFloodLimitExceededNotification.setStatus('current') etsysCosConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2)) etsysCosGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1)) etsysCosCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 2)) etsysCosMasterResetGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 1)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosMibObjectAnullingBehavior")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosMasterResetGroup = etsysCosMasterResetGroup.setStatus('current') etsysCosCapabilitiesGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 2)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosCapability")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosCapabilitiesGroup = etsysCosCapabilitiesGroup.setStatus('current') etsysCosGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 3)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosMaxEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosNumEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosEnableState"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosRowStatus"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCos8021dPriority"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTosValue"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosDropPrecedence")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosGroup = etsysCosGroup.setStatus('current') etsysCosTxqGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 4)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqNumPortTypes"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeDescr"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeEligiblePorts"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeUnselectedPorts"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeNumberOfQueues"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeSupportedRateTypes"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeNumberOfSlices"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeQueueAlgorithms"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeQueueArbiterModes"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeMaxDropPrecedence"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortTypeLLQEligibleQueues"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqUnitMaxRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqUnitMinRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqUnitGranularity"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqMaxPortGroups"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqNumPortGroups"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupRowStatus"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortGroupName"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortArbMode"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortSliceSetting"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortQUnit"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortQRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortQAlgorithm"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqPortQLLQenable"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqReferenceMappingMaxReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqResourceQueueNumber"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesMaxEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesNumEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesRowStatus"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesMin"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesMax"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesMaxDropProb"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfilesQueueDepthAtMaxProb"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqDropProfileQueueCfgID")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosTxqGroup = etsysCosTxqGroup.setStatus('current') etsysCosIrlGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 5)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeMaxEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeDescr"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeEligiblePorts"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeUnselectedPorts"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeNumberOfIRLs"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeCapabilities"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortTypeSupportedRateTypes"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlUnitMaxRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlUnitMinRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlUnitGranularity"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupMaxEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupNumEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupRowStatus"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortGroupName"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlPortCfgFloodLimiter"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceIrlNumber"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceUnits"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceParentIrl"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceActionCosIndex"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceType"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceAction"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceViolationPortList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResourceClearCounters"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlReferenceMappingMaxReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlReferenceMappingLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlViolationLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlDisabledPortsList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlViolation"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlViolationClearTable"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlCounter"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlResetFlags")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosIrlGroup = etsysCosIrlGroup.setStatus('current') etsysCosOrlGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 6)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeMaxEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeDescr"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeEligiblePorts"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeUnselectedPorts"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeNumberOfORLs"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeCapabilities"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortTypeSupportedRateTypes"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlUnitMaxRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlUnitMinRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlUnitGranularity"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupMaxEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupNumEntries"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupRowStatus"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortGroupName"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlPortCfgFloodLimiter"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceOrlNumber"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceUnits"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceRate"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceParentOrl"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceActionCosIndex"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceType"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceAction"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceViolationPortList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResourceClearCounters"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlReferenceMappingMaxReference"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlReferenceMappingLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlViolationLastChange"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlDisabledPortsList"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlViolation"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlViolationClearTable"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlCounter"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlResetFlags")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosOrlGroup = etsysCosOrlGroup.setStatus('current') etsysCosNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 7)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlExceededNotification"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlExceededNotification")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosNotificationGroup = etsysCosNotificationGroup.setStatus('current') etsysCosCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 2, 1)).setObjects(("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosMasterResetGroup"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosCapabilitiesGroup"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosGroup"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosTxqGroup"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosIrlGroup"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosOrlGroup"), ("ENTERASYS-CLASS-OF-SERVICE-MIB", "etsysCosNotificationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysCosCompliance = etsysCosCompliance.setStatus('current') mibBuilder.exportSymbols("ENTERASYS-CLASS-OF-SERVICE-MIB", TxqAlgorithms=TxqAlgorithms, etsysCosFloodCtrlViolationLastChange=etsysCosFloodCtrlViolationLastChange, etsysCosIrlViolationClearTable=etsysCosIrlViolationClearTable, etsysCosFloodCtrlResourceEntry=etsysCosFloodCtrlResourceEntry, etsysCosOrlResourceAction=etsysCosOrlResourceAction, etsysCosIrlPortIndex=etsysCosIrlPortIndex, etsysCosFloodCtrlSyslogActionMsgFormat=etsysCosFloodCtrlSyslogActionMsgFormat, etsysCosFloodLimitExceededNotification=etsysCosFloodLimitExceededNotification, etsysCosOrlPortTypeEntry=etsysCosOrlPortTypeEntry, etsysCosTosValue=etsysCosTosValue, etsysCosIrlExceededNotification=etsysCosIrlExceededNotification, etsysCosFloodCtrlUnitEntry=etsysCosFloodCtrlUnitEntry, etsysCosIrlPortTypeIndex=etsysCosIrlPortTypeIndex, etsysCosOrlResourceActionCosIndex=etsysCosOrlResourceActionCosIndex, etsysCosTxqReferenceMappingTable=etsysCosTxqReferenceMappingTable, etsysCosFloodCtrlPortGroupLastChange=etsysCosFloodCtrlPortGroupLastChange, etsysCosIrlViolationEntry=etsysCosIrlViolationEntry, etsysCosOrlPortGroupIndex=etsysCosOrlPortGroupIndex, etsysCosFloodCtrlPortTypeIndex=etsysCosFloodCtrlPortTypeIndex, etsysCosIrlPortGroupNumEntries=etsysCosIrlPortGroupNumEntries, etsysCosIrlPortTypeDescr=etsysCosIrlPortTypeDescr, etsysCosEnableState=etsysCosEnableState, etsysCosTxqPortGroupRowStatus=etsysCosTxqPortGroupRowStatus, etsysCosOrlUnitTypeIndex=etsysCosOrlUnitTypeIndex, etsysCosTxqDropProfilesMin=etsysCosTxqDropProfilesMin, etsysCosTxqPortTypeUnselectedPorts=etsysCosTxqPortTypeUnselectedPorts, etsysCosTxqPortSliceSetting=etsysCosTxqPortSliceSetting, etsysCosFloodCtrlFloodType=etsysCosFloodCtrlFloodType, etsysCosTxqDropProfileQueueCfgID=etsysCosTxqDropProfileQueueCfgID, etsysCosTxqReferenceMappingEntry=etsysCosTxqReferenceMappingEntry, etsysCosNumEntries=etsysCosNumEntries, etsysCosOrlResourceViolationPortList=etsysCosOrlResourceViolationPortList, etsysCosIrlUnitMaxRate=etsysCosIrlUnitMaxRate, etsysCosIrlResourceEntry=etsysCosIrlResourceEntry, etsysCosFloodCtrlCounter=etsysCosFloodCtrlCounter, EtsysCosRlCapabilities=EtsysCosRlCapabilities, etsysCosIrlViolation=etsysCosIrlViolation, etsysCosOrlViolation=etsysCosOrlViolation, etsysCosTxqPortTypeNumberOfQueues=etsysCosTxqPortTypeNumberOfQueues, etsysCosMasterReset=etsysCosMasterReset, etsysCosIrlUnitEntry=etsysCosIrlUnitEntry, etsysCosIrlPortGroupList=etsysCosIrlPortGroupList, etsysCosIrlCounter=etsysCosIrlCounter, etsysCosFloodCtrlPortTypeCapabilities=etsysCosFloodCtrlPortTypeCapabilities, etsysCosFloodCtrlViolationTable=etsysCosFloodCtrlViolationTable, etsysCosTxqPortTypeNumberOfSlices=etsysCosTxqPortTypeNumberOfSlices, etsysCosOrlResourceOrlNum=etsysCosOrlResourceOrlNum, etsysCosFloodCtrlPortTypeDescr=etsysCosFloodCtrlPortTypeDescr, etsysCosMibObjectAnullingBehavior=etsysCosMibObjectAnullingBehavior, etsysCosIrlPortCfgFloodLimiter=etsysCosIrlPortCfgFloodLimiter, etsysCosTxqPortTypeMaxDropPrecedence=etsysCosTxqPortTypeMaxDropPrecedence, etsysCosOrlUnitGranularity=etsysCosOrlUnitGranularity, etsysCosFloodCtrlDisabledPortsList=etsysCosFloodCtrlDisabledPortsList, etsysCosFloodCtrlViolation=etsysCosFloodCtrlViolation, TxqArbiterModes=TxqArbiterModes, etsysCosOrlPortTypeUnselectedPorts=etsysCosOrlPortTypeUnselectedPorts, etsysCosOrlPortTypeTable=etsysCosOrlPortTypeTable, etsysCosIrlPortGroupLastChange=etsysCosIrlPortGroupLastChange, etsysCosOrlViolationEntry=etsysCosOrlViolationEntry, etsysCosMaxEntries=etsysCosMaxEntries, etsysCosIndex=etsysCosIndex, etsysCosIrlReferenceMappingMaxReference=etsysCosIrlReferenceMappingMaxReference, etsysCosTxqPortQAlgorithm=etsysCosTxqPortQAlgorithm, etsysCosOrlPortGroupName=etsysCosOrlPortGroupName, etsysCosTxqPortCfgEntry=etsysCosTxqPortCfgEntry, etsysCosIrlResourceUnits=etsysCosIrlResourceUnits, etsysCosIrlPortGroupRowStatus=etsysCosIrlPortGroupRowStatus, etsysCosDropPrecedence=etsysCosDropPrecedence, etsysCosTxqDropProfilesMax=etsysCosTxqDropProfilesMax, etsysCosCompliances=etsysCosCompliances, etsysCosTxqDropProfilesNumEntries=etsysCosTxqDropProfilesNumEntries, etsysCosMIB=etsysCosMIB, etsysCosIrlResourceType=etsysCosIrlResourceType, etsysCosTxqDropProfilesMaxDropProb=etsysCosTxqDropProfilesMaxDropProb, etsysCosTableDropPrecedence=etsysCosTableDropPrecedence, etsysCosIrlPortTypeMaxEntries=etsysCosIrlPortTypeMaxEntries, etsysCosOrlPortCfgFloodLimiter=etsysCosOrlPortCfgFloodLimiter, etsysCosTxqPortQRate=etsysCosTxqPortQRate, etsysCosIrlUnitGranularity=etsysCosIrlUnitGranularity, etsysCosIrlResourceParentIrl=etsysCosIrlResourceParentIrl, etsysCosOrlUnitMinRate=etsysCosOrlUnitMinRate, etsysCosFloodCtrlResourceUnits=etsysCosFloodCtrlResourceUnits, etsysCosEntry=etsysCosEntry, etsysCosIrlPortTypeTable=etsysCosIrlPortTypeTable, etsysCosFloodCtrlPortTypeEligiblePorts=etsysCosFloodCtrlPortTypeEligiblePorts, etsysCosNotificationGroup=etsysCosNotificationGroup, etsysCos=etsysCos, etsysCosTxqResourceTable=etsysCosTxqResourceTable, etsysCosFloodCtrlPortGroupEntry=etsysCosFloodCtrlPortGroupEntry, etsysCosIrl=etsysCosIrl, etsysCosFloodControlStatus=etsysCosFloodControlStatus, EtsysViolationAction=EtsysViolationAction, etsysCosIrlResourceTable=etsysCosIrlResourceTable, EtsysRateLimitResetBits=EtsysRateLimitResetBits, etsysCosOrlResourceTable=etsysCosOrlResourceTable, etsysCosOrlResourceEntry=etsysCosOrlResourceEntry, etsysCosOrlResourceUnits=etsysCosOrlResourceUnits, etsysCosTable=etsysCosTable, etsysCosTxqNumPortGroups=etsysCosTxqNumPortGroups, etsysCosTxqPortGroupName=etsysCosTxqPortGroupName, etsysCosTxqDropProfilesEntry=etsysCosTxqDropProfilesEntry, etsysCosIrlViolationLastChange=etsysCosIrlViolationLastChange, etsysCosIrlReference=etsysCosIrlReference, etsysCosTxqPortTypeTable=etsysCosTxqPortTypeTable, etsysCosTxqDropSettingIndex=etsysCosTxqDropSettingIndex, etsysCosOrlPortIndex=etsysCosOrlPortIndex, etsysCosTxqPortTypeEntry=etsysCosTxqPortTypeEntry, etsysCosIrlGroup=etsysCosIrlGroup, etsysCosFloodCtrlResetFlags=etsysCosFloodCtrlResetFlags, etsysCosTxqPortGroupIndex=etsysCosTxqPortGroupIndex, etsysCosOrlUnitMaxRate=etsysCosOrlUnitMaxRate, etsysCosOrlDisabledPortsList=etsysCosOrlDisabledPortsList, etsysCosIrlPortTypeEligiblePorts=etsysCosIrlPortTypeEligiblePorts, etsysCosFloodCtrlPortGroupTable=etsysCosFloodCtrlPortGroupTable, etsysCosTxqResourceEntry=etsysCosTxqResourceEntry, etsysCosOrlPortTypeDescr=etsysCosOrlPortTypeDescr, etsysCosCapabilities=etsysCosCapabilities, etsysCosOrlPortGroupRowStatus=etsysCosOrlPortGroupRowStatus, etsysCosFloodCtrlPortTypeSupportedRateTypes=etsysCosFloodCtrlPortTypeSupportedRateTypes, etsysCosNotifications=etsysCosNotifications, etsysCosOrlPortGroupList=etsysCosOrlPortGroupList, etsysCosOrlPortGroupNumEntries=etsysCosOrlPortGroupNumEntries, etsysCosFloodCtrlResourceAction=etsysCosFloodCtrlResourceAction, etsysCosIrlResourceAction=etsysCosIrlResourceAction, etsysCosIrlPortCfgEntry=etsysCosIrlPortCfgEntry, etsysCosFloodCtrlViolationClearTable=etsysCosFloodCtrlViolationClearTable, etsysCosTxqResourceQueueNumber=etsysCosTxqResourceQueueNumber, etsysCosTxqPortTypeLLQEligibleQueues=etsysCosTxqPortTypeLLQEligibleQueues, etsysCosLastChange=etsysCosLastChange, etsysCosTxqUnitGranularity=etsysCosTxqUnitGranularity, etsysCosOrlPortGroupEntry=etsysCosOrlPortGroupEntry, etsysCosOrlReferenceMappingEntry=etsysCosOrlReferenceMappingEntry, etsysCosFloodCtrlUnitMaxRate=etsysCosFloodCtrlUnitMaxRate, etsysCosOrlResourceType=etsysCosOrlResourceType, etsysCosTxqPortTypeQueueArbiterModes=etsysCosTxqPortTypeQueueArbiterModes, etsysCosOrlPortTypeIndex=etsysCosOrlPortTypeIndex, etsysCosCompliance=etsysCosCompliance, etsysCosTxqNumPortTypes=etsysCosTxqNumPortTypes, etsysCosIrlPortGroupEntry=etsysCosIrlPortGroupEntry, etsysCosIrlPortGroupTable=etsysCosIrlPortGroupTable, etsysCosIrlResourceActionCosIndex=etsysCosIrlResourceActionCosIndex, etsysCosCapability=etsysCosCapability, etsysCosFloodCtrlPortGroupList=etsysCosFloodCtrlPortGroupList, etsysCosIrlPortTypeCapabilities=etsysCosIrlPortTypeCapabilities, etsysCosOrlPortCfgTable=etsysCosOrlPortCfgTable, etsysCosMasterResetGroup=etsysCosMasterResetGroup, etsysCosOrlExceededNotification=etsysCosOrlExceededNotification, etsysCosTxqDropPrecedenceTable=etsysCosTxqDropPrecedenceTable, etsysCosFloodCtrlPortTypeEntry=etsysCosFloodCtrlPortTypeEntry, etsysCosIrlPortTypeEntry=etsysCosIrlPortTypeEntry, etsysCosOrlPortTypeMaxEntries=etsysCosOrlPortTypeMaxEntries, etsysCosIrlUnitTypeIndex=etsysCosIrlUnitTypeIndex, etsysCosFloodCtrlResourceClearCounters=etsysCosFloodCtrlResourceClearCounters, etsysCosIrlResourceViolationPortList=etsysCosIrlResourceViolationPortList, etsysCosFloodCtrlPortGroupRowStatus=etsysCosFloodCtrlPortGroupRowStatus, etsysCosGroups=etsysCosGroups, etsysCosObjects=etsysCosObjects, etsysCosTxqReference=etsysCosTxqReference, etsysCosTxq=etsysCosTxq, etsysCosTxqPortCfgTable=etsysCosTxqPortCfgTable, etsysCosTxqDropPrecedenceEntry=etsysCosTxqDropPrecedenceEntry, etsysCosTxqDropProfilesTable=etsysCosTxqDropProfilesTable, etsysCosCapabilitiesGroup=etsysCosCapabilitiesGroup, etsysCosIrlReferenceMappingEntry=etsysCosIrlReferenceMappingEntry, etsysCosTxqDropProfilesLastChange=etsysCosTxqDropProfilesLastChange, etsysCosFloodCtrlPortGroupIndex=etsysCosFloodCtrlPortGroupIndex, etsysCosFloodControl=etsysCosFloodControl, etsysCosRowStatus=etsysCosRowStatus, etsysCosTxqPortTypeSupportedRateTypes=etsysCosTxqPortTypeSupportedRateTypes, etsysCosFloodCtrlPortGroupName=etsysCosFloodCtrlPortGroupName, etsysCosTxqDropProfilesQueueDepthAtMaxProb=etsysCosTxqDropProfilesQueueDepthAtMaxProb, etsysCosTxqDropProfilesRowStatus=etsysCosTxqDropProfilesRowStatus, etsysCosIrlReferenceMappingTable=etsysCosIrlReferenceMappingTable, etsysCosOrlResetFlags=etsysCosOrlResetFlags, etsysCosOrlPortTypeSupportedRateTypes=etsysCosOrlPortTypeSupportedRateTypes, etsysCosTxqUnitTypeIndex=etsysCosTxqUnitTypeIndex, etsysCosTxqPortTypeQueueAlgorithms=etsysCosTxqPortTypeQueueAlgorithms, etsysCosIrlDisabledPortsList=etsysCosIrlDisabledPortsList, etsysCosOrlReferenceMappingTable=etsysCosOrlReferenceMappingTable, etsysCosFloodCtrlUnitTable=etsysCosFloodCtrlUnitTable, etsysCosFloodCtrlResourceRate=etsysCosFloodCtrlResourceRate, etsysCosTxqPortArbMode=etsysCosTxqPortArbMode, etsysCosIrlResourceIrlNum=etsysCosIrlResourceIrlNum, etsysCosTxqPortTypeEligiblePorts=etsysCosTxqPortTypeEligiblePorts, etsysCosFloodCtrlUnitGranularity=etsysCosFloodCtrlUnitGranularity, etsysCosIrlPortTypeNumberOfIRLs=etsysCosIrlPortTypeNumberOfIRLs, etsysCosIrlResourceClearCounters=etsysCosIrlResourceClearCounters, etsysCosTxqUnitEntry=etsysCosTxqUnitEntry, etsysCosOrlResourceClearCounters=etsysCosOrlResourceClearCounters, etsysCosIrlResourceRate=etsysCosIrlResourceRate, etsysCosIrlViolationTable=etsysCosIrlViolationTable, EtsysRateLimitingType=EtsysRateLimitingType, etsysCosTxqUnitMaxRate=etsysCosTxqUnitMaxRate, etsysCosOrlResourceRate=etsysCosOrlResourceRate, TxQueueList=TxQueueList, etsysCosFloodCtrlPortGroupNumEntries=etsysCosFloodCtrlPortGroupNumEntries, etsysCosIrlPortGroupName=etsysCosIrlPortGroupName, etsysCosFloodCtrlViolationEntry=etsysCosFloodCtrlViolationEntry, etsysCosIrlPortGroupIndex=etsysCosIrlPortGroupIndex, etsysCosOrlPortTypeEligiblePorts=etsysCosOrlPortTypeEligiblePorts, etsysCosTxqReferenceMappingMaxReference=etsysCosTxqReferenceMappingMaxReference, etsysCosOrlPortGroupTable=etsysCosOrlPortGroupTable, etsysCosIrlResetFlags=etsysCosIrlResetFlags, etsysCosGroup=etsysCosGroup, etsysCosIrlPortTypeSupportedRateTypes=etsysCosIrlPortTypeSupportedRateTypes, etsysCosFloodCtrlPortGroupMaxEntries=etsysCosFloodCtrlPortGroupMaxEntries, etsysCosTxqPortTypeIndex=etsysCosTxqPortTypeIndex, etsysCosOrlPortGroupMaxEntries=etsysCosOrlPortGroupMaxEntries, etsysCosTxqPortGroupEntry=etsysCosTxqPortGroupEntry, etsysCosFloodCtrlUnitMinRate=etsysCosFloodCtrlUnitMinRate, etsysCosOrlUnitTable=etsysCosOrlUnitTable, etsysCosOrlResourceOrlNumber=etsysCosOrlResourceOrlNumber, etsysCosOrlViolationClearTable=etsysCosOrlViolationClearTable, etsysCosFloodCtrlResourceViolationPortList=etsysCosFloodCtrlResourceViolationPortList, etsysCosTxqResourceQueueNum=etsysCosTxqResourceQueueNum, etsysCosIrlPortTypeUnselectedPorts=etsysCosIrlPortTypeUnselectedPorts, etsysCosOrlPortCfgEntry=etsysCosOrlPortCfgEntry, etsysCosTxqUnitTable=etsysCosTxqUnitTable, etsysCosOrlGroup=etsysCosOrlGroup, etsysCosIrlUnitTable=etsysCosIrlUnitTable, etsysCosOrl=etsysCosOrl, etsysCosIrlResourceIrlNumber=etsysCosIrlResourceIrlNumber, etsysCosOrlReferenceMappingLastChange=etsysCosOrlReferenceMappingLastChange, etsysCos8021dPriority=etsysCos8021dPriority, etsysCosOrlViolationTable=etsysCosOrlViolationTable, etsysCosTxqPortGroupTable=etsysCosTxqPortGroupTable, etsysCosIrlUnitMinRate=etsysCosIrlUnitMinRate, etsysCosOrlResourceParentOrl=etsysCosOrlResourceParentOrl, etsysCosTxqPortGroupList=etsysCosTxqPortGroupList, etsysCosTxqPortQLLQenable=etsysCosTxqPortQLLQenable, etsysCosFloodCtrlResourceTable=etsysCosFloodCtrlResourceTable, etsysCosOrlPortTypeCapabilities=etsysCosOrlPortTypeCapabilities, PYSNMP_MODULE_ID=etsysCosMIB, etsysCosTxqDropProfilesMaxEntries=etsysCosTxqDropProfilesMaxEntries, etsysCosOrlViolationLastChange=etsysCosOrlViolationLastChange, etsysCosFloodCtrlUnitTypeIndex=etsysCosFloodCtrlUnitTypeIndex, etsysCosIrlPortCfgTable=etsysCosIrlPortCfgTable, etsysCosOrlReferenceMappingMaxReference=etsysCosOrlReferenceMappingMaxReference, etsysCosFloodCtrlPortTypeTable=etsysCosFloodCtrlPortTypeTable, etsysCosTxqPortTypeDescr=etsysCosTxqPortTypeDescr, etsysCosOrlUnitEntry=etsysCosOrlUnitEntry, EtsysCosRateTypes=EtsysCosRateTypes, etsysCosIrlPortGroupMaxEntries=etsysCosIrlPortGroupMaxEntries, etsysCosOrlPortTypeNumberOfORLs=etsysCosOrlPortTypeNumberOfORLs, etsysCosOrlCounter=etsysCosOrlCounter, etsysCosTxqPortGroupLastChange=etsysCosTxqPortGroupLastChange, etsysCosFloodCtrlPortTypeUnselectedPorts=etsysCosFloodCtrlPortTypeUnselectedPorts, etsysCosTxqMaxPortGroups=etsysCosTxqMaxPortGroups, etsysCosOrlPortGroupLastChange=etsysCosOrlPortGroupLastChange, etsysCosFloodCtrlPortTypeMaxEntries=etsysCosFloodCtrlPortTypeMaxEntries, etsysCosTxqGroup=etsysCosTxqGroup, etsysCosTxqPortQUnit=etsysCosTxqPortQUnit, etsysCosIrlReferenceMappingLastChange=etsysCosIrlReferenceMappingLastChange, etsysCosOrlReference=etsysCosOrlReference) mibBuilder.exportSymbols("ENTERASYS-CLASS-OF-SERVICE-MIB", etsysCosConformance=etsysCosConformance, etsysCosTxqUnitMinRate=etsysCosTxqUnitMinRate)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_union, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint') (dot1d_base_port,) = mibBuilder.importSymbols('BRIDGE-MIB', 'dot1dBasePort') (etsys_modules,) = mibBuilder.importSymbols('ENTERASYS-MIB-NAMES', 'etsysModules') (if_name,) = mibBuilder.importSymbols('IF-MIB', 'ifName') (enabled_status,) = mibBuilder.importSymbols('P-BRIDGE-MIB', 'EnabledStatus') (port_list,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'PortList') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (ip_address, time_ticks, notification_type, counter32, bits, module_identity, counter64, mib_identifier, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, integer32, object_identity, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'TimeTicks', 'NotificationType', 'Counter32', 'Bits', 'ModuleIdentity', 'Counter64', 'MibIdentifier', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Integer32', 'ObjectIdentity', 'Gauge32') (truth_value, row_status, display_string, textual_convention, time_stamp) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'RowStatus', 'DisplayString', 'TextualConvention', 'TimeStamp') etsys_cos_mib = module_identity((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55)) etsysCosMIB.setRevisions(('2008-02-13 15:03', '2007-05-24 02:29', '2005-04-13 21:22', '2004-11-22 16:28', '2004-11-09 15:52')) if mibBuilder.loadTexts: etsysCosMIB.setLastUpdated('200802131503Z') if mibBuilder.loadTexts: etsysCosMIB.setOrganization('Enterasys Networks, Inc.') class Txqarbitermodes(TextualConvention, Bits): status = 'current' named_values = named_values(('strict', 0), ('weightedFairQ', 1), ('lowLatencyQ', 2)) class Txqalgorithms(TextualConvention, Bits): status = 'current' named_values = named_values(('tailDrop', 0), ('headDrop', 1), ('red', 2), ('wred', 3)) class Txqueuelist(TextualConvention, OctetString): status = 'current' class Etsyscosratetypes(TextualConvention, Bits): status = 'current' named_values = named_values(('percentage', 0), ('pps', 1), ('kbps', 2), ('mbps', 3), ('gbps', 4), ('tbps', 5)) class Etsyscosrlcapabilities(TextualConvention, Bits): status = 'current' named_values = named_values(('drop', 0), ('reprioritize', 1), ('count', 2), ('chainingAnd', 3), ('chainingOr', 4), ('syslog', 5), ('trap', 6), ('disable', 7)) class Etsysviolationaction(TextualConvention, Bits): status = 'current' named_values = named_values(('syslog', 0), ('trap', 1), ('disable', 2)) class Etsysratelimitingtype(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4)) named_values = named_values(('drop', 0), ('dropOR', 1), ('rePrioritize', 2), ('rePrioritizeOR', 3), ('count', 4)) class Etsysratelimitresetbits(TextualConvention, Bits): status = 'current' named_values = named_values(('clearViolation', 0), ('clearUnitCounter', 1)) etsys_cos_objects = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1)) etsys_cos_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0)) etsys_cos_master_reset = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 1)) etsys_cos_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 2)) etsys_cos = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3)) etsys_cos_txq = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4)) etsys_cos_irl = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5)) etsys_cos_orl = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6)) etsys_cos_flood_control = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7)) etsys_cos_mib_object_anulling_behavior = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosMibObjectAnullingBehavior.setStatus('current') etsys_cos_capability = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 2, 1), bits().clone(namedValues=named_values(('supports8021Dpriority', 0), ('supportsTosOverwrite', 1), ('supportsTosMasking', 2), ('supportsTransmitQueue', 3), ('supportsInboundRateLimiting', 4), ('supportsOutBoundRateLimiting', 5), ('supportsDropPrecedence', 6), ('supportsUnknownUnicastRateLimiting', 7), ('supportsMulticastRateLimiting', 8), ('supportsBroadcastRateLimiting', 9), ('supportsTransmitQueuePortShaping', 10)))).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosCapability.setStatus('current') etsys_cos_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosMaxEntries.setStatus('current') etsys_cos_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 2), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosNumEntries.setStatus('current') etsys_cos_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 3), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosLastChange.setStatus('current') etsys_cos_enable_state = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 4), enabled_status().clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosEnableState.setStatus('current') etsys_cos_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5)) if mibBuilder.loadTexts: etsysCosTable.setStatus('current') etsys_cos_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIndex')) if mibBuilder.loadTexts: etsysCosEntry.setStatus('current') etsys_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosIndex.setStatus('current') etsys_cos_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosRowStatus.setStatus('current') etsys_cos8021d_priority = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 7))).clone(-1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCos8021dPriority.setStatus('current') etsys_cos_tos_value = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(0, 2)).clone(hexValue='')).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTosValue.setStatus('current') etsys_cos_txq_reference = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqReference.setStatus('current') etsys_cos_irl_reference = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 6), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 32767)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosIrlReference.setStatus('current') etsys_cos_orl_reference = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 32767)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosOrlReference.setStatus('current') etsys_cos_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 8), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 255))).clone(-1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosDropPrecedence.setStatus('current') etsys_cos_flood_control_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 3, 5, 1, 9), enabled_status().clone('disabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosFloodControlStatus.setStatus('current') etsys_cos_txq_num_port_types = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2048))).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqNumPortTypes.setStatus('current') etsys_cos_txq_port_type_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2)) if mibBuilder.loadTexts: etsysCosTxqPortTypeTable.setStatus('current') etsys_cos_txq_port_type_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex')) if mibBuilder.loadTexts: etsysCosTxqPortTypeEntry.setStatus('current') etsys_cos_txq_port_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosTxqPortTypeIndex.setStatus('current') etsys_cos_txq_port_type_descr = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeDescr.setStatus('current') etsys_cos_txq_port_type_eligible_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 3), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeEligiblePorts.setStatus('current') etsys_cos_txq_port_type_unselected_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 4), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeUnselectedPorts.setStatus('current') etsys_cos_txq_port_type_number_of_queues = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeNumberOfQueues.setStatus('current') etsys_cos_txq_port_type_supported_rate_types = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 6), etsys_cos_rate_types()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeSupportedRateTypes.setStatus('current') etsys_cos_txq_port_type_number_of_slices = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeNumberOfSlices.setStatus('current') etsys_cos_txq_port_type_queue_algorithms = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 8), txq_algorithms()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeQueueAlgorithms.setStatus('current') etsys_cos_txq_port_type_queue_arbiter_modes = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 9), txq_arbiter_modes()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeQueueArbiterModes.setStatus('current') etsys_cos_txq_port_type_max_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeMaxDropPrecedence.setStatus('current') etsys_cos_txq_port_type_llq_eligible_queues = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 2, 1, 11), tx_queue_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortTypeLLQEligibleQueues.setStatus('current') etsys_cos_txq_unit_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3)) if mibBuilder.loadTexts: etsysCosTxqUnitTable.setStatus('current') etsys_cos_txq_unit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqUnitTypeIndex')) if mibBuilder.loadTexts: etsysCosTxqUnitEntry.setStatus('current') etsys_cos_txq_unit_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 1), etsys_cos_rate_types()) if mibBuilder.loadTexts: etsysCosTxqUnitTypeIndex.setStatus('current') etsys_cos_txq_unit_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqUnitMaxRate.setStatus('current') etsys_cos_txq_unit_min_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqUnitMinRate.setStatus('current') etsys_cos_txq_unit_granularity = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 3, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqUnitGranularity.setStatus('current') etsys_cos_txq_max_port_groups = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqMaxPortGroups.setStatus('current') etsys_cos_txq_num_port_groups = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqNumPortGroups.setStatus('current') etsys_cos_txq_port_group_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 6), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortGroupLastChange.setStatus('current') etsys_cos_txq_port_group_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7)) if mibBuilder.loadTexts: etsysCosTxqPortGroupTable.setStatus('current') etsys_cos_txq_port_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex')) if mibBuilder.loadTexts: etsysCosTxqPortGroupEntry.setStatus('current') etsys_cos_txq_port_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 32767)))) if mibBuilder.loadTexts: etsysCosTxqPortGroupIndex.setStatus('current') etsys_cos_txq_port_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqPortGroupRowStatus.setStatus('current') etsys_cos_txq_port_group_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 3), port_list().clone(hexValue='')).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqPortGroupList.setStatus('current') etsys_cos_txq_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 7, 1, 4), snmp_admin_string().clone(hexValue='')).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqPortGroupName.setStatus('current') etsys_cos_txq_port_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8)) if mibBuilder.loadTexts: etsysCosTxqPortCfgTable.setStatus('current') etsys_cos_txq_port_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex')) if mibBuilder.loadTexts: etsysCosTxqPortCfgEntry.setStatus('current') etsys_cos_txq_port_arb_mode = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8, 1, 1), txq_arbiter_modes()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqPortArbMode.setStatus('current') etsys_cos_txq_port_slice_setting = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 8, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 256))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqPortSliceSetting.setStatus('current') etsys_cos_txq_resource_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9)) if mibBuilder.loadTexts: etsysCosTxqResourceTable.setStatus('current') etsys_cos_txq_resource_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqResourceQueueNum')) if mibBuilder.loadTexts: etsysCosTxqResourceEntry.setStatus('current') etsys_cos_txq_resource_queue_num = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosTxqResourceQueueNum.setStatus('current') etsys_cos_txq_port_q_unit = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 2), etsys_cos_rate_types()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqPortQUnit.setStatus('current') etsys_cos_txq_port_q_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 2147483647)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqPortQRate.setStatus('current') etsys_cos_txq_port_q_algorithm = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 4), txq_algorithms()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqPortQAlgorithm.setStatus('current') etsys_cos_txq_port_qll_qenable = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 9, 1, 5), enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqPortQLLQenable.setStatus('current') etsys_cos_txq_reference_mapping_max_reference = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 10), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqReferenceMappingMaxReference.setStatus('current') etsys_cos_txq_reference_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 11)) if mibBuilder.loadTexts: etsysCosTxqReferenceMappingTable.setStatus('current') etsys_cos_txq_reference_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 11, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqReference')) if mibBuilder.loadTexts: etsysCosTxqReferenceMappingEntry.setStatus('current') etsys_cos_txq_resource_queue_number = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqResourceQueueNumber.setStatus('current') etsys_cos_txq_drop_profiles_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 12), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqDropProfilesMaxEntries.setStatus('current') etsys_cos_txq_drop_profiles_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 13), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqDropProfilesNumEntries.setStatus('current') etsys_cos_txq_drop_profiles_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 14), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosTxqDropProfilesLastChange.setStatus('current') etsys_cos_txq_drop_profiles_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15)) if mibBuilder.loadTexts: etsysCosTxqDropProfilesTable.setStatus('current') etsys_cos_txq_drop_profiles_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropSettingIndex')) if mibBuilder.loadTexts: etsysCosTxqDropProfilesEntry.setStatus('current') etsys_cos_txq_drop_setting_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 1), unsigned32()) if mibBuilder.loadTexts: etsysCosTxqDropSettingIndex.setStatus('current') etsys_cos_txq_drop_profiles_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqDropProfilesRowStatus.setStatus('current') etsys_cos_txq_drop_profiles_min = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqDropProfilesMin.setStatus('current') etsys_cos_txq_drop_profiles_max = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100)).clone(100)).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqDropProfilesMax.setStatus('current') etsys_cos_txq_drop_profiles_max_drop_prob = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqDropProfilesMaxDropProb.setStatus('current') etsys_cos_txq_drop_profiles_queue_depth_at_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 15, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 100)).clone(100)).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosTxqDropProfilesQueueDepthAtMaxProb.setStatus('current') etsys_cos_txq_drop_precedence_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16)) if mibBuilder.loadTexts: etsysCosTxqDropPrecedenceTable.setStatus('current') etsys_cos_txq_drop_precedence_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqResourceQueueNum'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTableDropPrecedence')) if mibBuilder.loadTexts: etsysCosTxqDropPrecedenceEntry.setStatus('current') etsys_cos_table_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16, 1, 1), unsigned32()) if mibBuilder.loadTexts: etsysCosTableDropPrecedence.setStatus('current') etsys_cos_txq_drop_profile_queue_cfg_id = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 4, 16, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosTxqDropProfileQueueCfgID.setStatus('current') etsys_cos_irl_port_type_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeMaxEntries.setStatus('current') etsys_cos_irl_port_type_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2)) if mibBuilder.loadTexts: etsysCosIrlPortTypeTable.setStatus('current') etsys_cos_irl_port_type_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosIrlPortTypeEntry.setStatus('current') etsys_cos_irl_port_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosIrlPortTypeIndex.setStatus('current') etsys_cos_irl_port_type_descr = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeDescr.setStatus('current') etsys_cos_irl_port_type_eligible_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 3), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeEligiblePorts.setStatus('current') etsys_cos_irl_port_type_unselected_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 4), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeUnselectedPorts.setStatus('current') etsys_cos_irl_port_type_number_of_ir_ls = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeNumberOfIRLs.setStatus('current') etsys_cos_irl_port_type_supported_rate_types = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 6), etsys_cos_rate_types()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeSupportedRateTypes.setStatus('current') etsys_cos_irl_port_type_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 2, 1, 7), etsys_cos_rl_capabilities()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortTypeCapabilities.setStatus('current') etsys_cos_irl_unit_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3)) if mibBuilder.loadTexts: etsysCosIrlUnitTable.setStatus('current') etsys_cos_irl_unit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlUnitTypeIndex')) if mibBuilder.loadTexts: etsysCosIrlUnitEntry.setStatus('current') etsys_cos_irl_unit_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 1), etsys_cos_rate_types()) if mibBuilder.loadTexts: etsysCosIrlUnitTypeIndex.setStatus('current') etsys_cos_irl_unit_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlUnitMaxRate.setStatus('current') etsys_cos_irl_unit_min_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlUnitMinRate.setStatus('current') etsys_cos_irl_unit_granularity = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 3, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlUnitGranularity.setStatus('current') etsys_cos_irl_port_group_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortGroupMaxEntries.setStatus('current') etsys_cos_irl_port_group_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortGroupNumEntries.setStatus('current') etsys_cos_irl_port_group_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 6), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlPortGroupLastChange.setStatus('current') etsys_cos_irl_port_group_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7)) if mibBuilder.loadTexts: etsysCosIrlPortGroupTable.setStatus('current') etsys_cos_irl_port_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosIrlPortGroupEntry.setStatus('current') etsys_cos_irl_port_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 32767)))) if mibBuilder.loadTexts: etsysCosIrlPortGroupIndex.setStatus('current') etsys_cos_irl_port_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosIrlPortGroupRowStatus.setStatus('current') etsys_cos_irl_port_group_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 3), port_list().clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlPortGroupList.setStatus('current') etsys_cos_irl_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 7, 1, 4), snmp_admin_string().clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlPortGroupName.setStatus('current') etsys_cos_irl_port_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 8)) if mibBuilder.loadTexts: etsysCosIrlPortCfgTable.setStatus('current') etsys_cos_irl_port_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 8, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosIrlPortCfgEntry.setStatus('current') etsys_cos_irl_port_cfg_flood_limiter = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 8, 1, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 65535)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlPortCfgFloodLimiter.setStatus('deprecated') etsys_cos_irl_resource_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9)) if mibBuilder.loadTexts: etsysCosIrlResourceTable.setStatus('current') etsys_cos_irl_resource_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceIrlNum')) if mibBuilder.loadTexts: etsysCosIrlResourceEntry.setStatus('current') etsys_cos_irl_resource_irl_num = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 1), unsigned32()) if mibBuilder.loadTexts: etsysCosIrlResourceIrlNum.setStatus('current') etsys_cos_irl_resource_units = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 2), etsys_cos_rate_types().clone(namedValues=named_values(('pps', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceUnits.setStatus('current') etsys_cos_irl_resource_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 2147483647)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceRate.setStatus('current') etsys_cos_irl_resource_parent_irl = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 4), integer32().clone(-1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceParentIrl.setStatus('current') etsys_cos_irl_resource_type = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 5), etsys_rate_limiting_type()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceType.setStatus('current') etsys_cos_irl_resource_action_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 6), integer32().clone(-1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceActionCosIndex.setStatus('current') etsys_cos_irl_resource_action = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 7), etsys_violation_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceAction.setStatus('current') etsys_cos_irl_resource_violation_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 8), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceViolationPortList.setStatus('current') etsys_cos_irl_resource_clear_counters = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 9, 1, 9), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceClearCounters.setStatus('current') etsys_cos_irl_reference_mapping_max_reference = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 10), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlReferenceMappingMaxReference.setStatus('current') etsys_cos_irl_reference_mapping_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 11), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlReferenceMappingLastChange.setStatus('current') etsys_cos_irl_reference_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 12)) if mibBuilder.loadTexts: etsysCosIrlReferenceMappingTable.setStatus('current') etsys_cos_irl_reference_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 12, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlReference')) if mibBuilder.loadTexts: etsysCosIrlReferenceMappingEntry.setStatus('current') etsys_cos_irl_resource_irl_number = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 32767)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResourceIrlNumber.setStatus('current') etsys_cos_irl_violation_clear_table = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 13), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlViolationClearTable.setStatus('current') etsys_cos_irl_violation_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 14), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlViolationLastChange.setStatus('current') etsys_cos_irl_disabled_ports_list = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 15), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlDisabledPortsList.setStatus('current') etsys_cos_irl_violation_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16)) if mibBuilder.loadTexts: etsysCosIrlViolationTable.setStatus('current') etsys_cos_irl_violation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceIrlNumber')) if mibBuilder.loadTexts: etsysCosIrlViolationEntry.setStatus('current') etsys_cos_irl_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosIrlPortIndex.setStatus('current') etsys_cos_irl_violation = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlViolation.setStatus('current') etsys_cos_irl_counter = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosIrlCounter.setStatus('current') etsys_cos_irl_reset_flags = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 5, 16, 1, 4), etsys_rate_limit_reset_bits()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosIrlResetFlags.setStatus('current') etsys_cos_orl_port_type_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeMaxEntries.setStatus('current') etsys_cos_orl_port_type_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2)) if mibBuilder.loadTexts: etsysCosOrlPortTypeTable.setStatus('current') etsys_cos_orl_port_type_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosOrlPortTypeEntry.setStatus('current') etsys_cos_orl_port_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosOrlPortTypeIndex.setStatus('current') etsys_cos_orl_port_type_descr = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeDescr.setStatus('current') etsys_cos_orl_port_type_eligible_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 3), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeEligiblePorts.setStatus('current') etsys_cos_orl_port_type_unselected_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 4), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeUnselectedPorts.setStatus('current') etsys_cos_orl_port_type_number_of_or_ls = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeNumberOfORLs.setStatus('current') etsys_cos_orl_port_type_supported_rate_types = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 6), etsys_cos_rate_types()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeSupportedRateTypes.setStatus('current') etsys_cos_orl_port_type_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 2, 1, 7), etsys_cos_rl_capabilities()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortTypeCapabilities.setStatus('current') etsys_cos_orl_unit_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3)) if mibBuilder.loadTexts: etsysCosOrlUnitTable.setStatus('current') etsys_cos_orl_unit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlUnitTypeIndex')) if mibBuilder.loadTexts: etsysCosOrlUnitEntry.setStatus('current') etsys_cos_orl_unit_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 1), etsys_cos_rate_types()) if mibBuilder.loadTexts: etsysCosOrlUnitTypeIndex.setStatus('current') etsys_cos_orl_unit_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlUnitMaxRate.setStatus('current') etsys_cos_orl_unit_min_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlUnitMinRate.setStatus('current') etsys_cos_orl_unit_granularity = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 3, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlUnitGranularity.setStatus('current') etsys_cos_orl_port_group_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortGroupMaxEntries.setStatus('current') etsys_cos_orl_port_group_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortGroupNumEntries.setStatus('current') etsys_cos_orl_port_group_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 6), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlPortGroupLastChange.setStatus('current') etsys_cos_orl_port_group_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7)) if mibBuilder.loadTexts: etsysCosOrlPortGroupTable.setStatus('current') etsys_cos_orl_port_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosOrlPortGroupEntry.setStatus('current') etsys_cos_orl_port_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 32767)))) if mibBuilder.loadTexts: etsysCosOrlPortGroupIndex.setStatus('current') etsys_cos_orl_port_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosOrlPortGroupRowStatus.setStatus('current') etsys_cos_orl_port_group_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 3), port_list().clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlPortGroupList.setStatus('current') etsys_cos_orl_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 7, 1, 4), snmp_admin_string().clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlPortGroupName.setStatus('current') etsys_cos_orl_port_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 8)) if mibBuilder.loadTexts: etsysCosOrlPortCfgTable.setStatus('current') etsys_cos_orl_port_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 8, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosOrlPortCfgEntry.setStatus('current') etsys_cos_orl_port_cfg_flood_limiter = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 8, 1, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 65535)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlPortCfgFloodLimiter.setStatus('current') etsys_cos_orl_resource_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9)) if mibBuilder.loadTexts: etsysCosOrlResourceTable.setStatus('current') etsys_cos_orl_resource_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceOrlNum')) if mibBuilder.loadTexts: etsysCosOrlResourceEntry.setStatus('current') etsys_cos_orl_resource_orl_num = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 1), unsigned32()) if mibBuilder.loadTexts: etsysCosOrlResourceOrlNum.setStatus('current') etsys_cos_orl_resource_units = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 2), etsys_cos_rate_types().clone(namedValues=named_values(('pps', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceUnits.setStatus('current') etsys_cos_orl_resource_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 2147483647)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceRate.setStatus('current') etsys_cos_orl_resource_parent_orl = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 4), integer32().clone(-1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceParentOrl.setStatus('current') etsys_cos_orl_resource_type = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 5), etsys_rate_limiting_type()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceType.setStatus('current') etsys_cos_orl_resource_action_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 6), integer32().clone(-1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceActionCosIndex.setStatus('current') etsys_cos_orl_resource_action = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 7), etsys_violation_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceAction.setStatus('current') etsys_cos_orl_resource_violation_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 8), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceViolationPortList.setStatus('current') etsys_cos_orl_resource_clear_counters = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 9, 1, 9), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceClearCounters.setStatus('current') etsys_cos_orl_reference_mapping_max_reference = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 10), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlReferenceMappingMaxReference.setStatus('current') etsys_cos_orl_reference_mapping_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 11), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlReferenceMappingLastChange.setStatus('current') etsys_cos_orl_reference_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 12)) if mibBuilder.loadTexts: etsysCosOrlReferenceMappingTable.setStatus('current') etsys_cos_orl_reference_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 12, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlReference')) if mibBuilder.loadTexts: etsysCosOrlReferenceMappingEntry.setStatus('current') etsys_cos_orl_resource_orl_number = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 32767)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResourceOrlNumber.setStatus('current') etsys_cos_orl_violation_clear_table = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 13), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlViolationClearTable.setStatus('current') etsys_cos_orl_violation_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 14), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlViolationLastChange.setStatus('current') etsys_cos_orl_disabled_ports_list = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 15), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlDisabledPortsList.setStatus('current') etsys_cos_orl_violation_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16)) if mibBuilder.loadTexts: etsysCosOrlViolationTable.setStatus('current') etsys_cos_orl_violation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceOrlNumber')) if mibBuilder.loadTexts: etsysCosOrlViolationEntry.setStatus('current') etsys_cos_orl_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))) if mibBuilder.loadTexts: etsysCosOrlPortIndex.setStatus('current') etsys_cos_orl_violation = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlViolation.setStatus('current') etsys_cos_orl_counter = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosOrlCounter.setStatus('current') etsys_cos_orl_reset_flags = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 6, 16, 1, 4), etsys_rate_limit_reset_bits()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosOrlResetFlags.setStatus('current') etsys_cos_flood_ctrl_port_type_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeMaxEntries.setStatus('current') etsys_cos_flood_ctrl_port_type_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2)) if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeTable.setStatus('current') etsys_cos_flood_ctrl_port_type_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeEntry.setStatus('current') etsys_cos_flood_ctrl_port_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeIndex.setStatus('current') etsys_cos_flood_ctrl_port_type_descr = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeDescr.setStatus('current') etsys_cos_flood_ctrl_port_type_eligible_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 3), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeEligiblePorts.setStatus('current') etsys_cos_flood_ctrl_port_type_unselected_ports = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 4), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeUnselectedPorts.setStatus('current') etsys_cos_flood_ctrl_port_type_supported_rate_types = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 5), etsys_cos_rate_types()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeSupportedRateTypes.setStatus('current') etsys_cos_flood_ctrl_port_type_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 2, 1, 7), etsys_cos_rl_capabilities()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortTypeCapabilities.setStatus('current') etsys_cos_flood_ctrl_unit_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3)) if mibBuilder.loadTexts: etsysCosFloodCtrlUnitTable.setStatus('current') etsys_cos_flood_ctrl_unit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlUnitTypeIndex')) if mibBuilder.loadTexts: etsysCosFloodCtrlUnitEntry.setStatus('current') etsys_cos_flood_ctrl_unit_type_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 1), etsys_cos_rate_types()) if mibBuilder.loadTexts: etsysCosFloodCtrlUnitTypeIndex.setStatus('current') etsys_cos_flood_ctrl_unit_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlUnitMaxRate.setStatus('current') etsys_cos_flood_ctrl_unit_min_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlUnitMinRate.setStatus('current') etsys_cos_flood_ctrl_unit_granularity = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 3, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlUnitGranularity.setStatus('current') etsys_cos_flood_ctrl_port_group_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupMaxEntries.setStatus('current') etsys_cos_flood_ctrl_port_group_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupNumEntries.setStatus('current') etsys_cos_flood_ctrl_port_group_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 6), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupLastChange.setStatus('current') etsys_cos_flood_ctrl_port_group_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7)) if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupTable.setStatus('current') etsys_cos_flood_ctrl_port_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlPortTypeIndex')) if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupEntry.setStatus('current') etsys_cos_flood_ctrl_port_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 32767)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupIndex.setStatus('current') etsys_cos_flood_ctrl_port_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupRowStatus.setStatus('current') etsys_cos_flood_ctrl_port_group_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 3), port_list().clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupList.setStatus('current') etsys_cos_flood_ctrl_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 7, 1, 4), snmp_admin_string().clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlPortGroupName.setStatus('current') etsys_cos_flood_ctrl_syslog_action_msg_format = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notification', 1), ('notificationWithPktHdr', 2))).clone('notification')).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlSyslogActionMsgFormat.setStatus('current') etsys_cos_flood_ctrl_resource_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9)) if mibBuilder.loadTexts: etsysCosFloodCtrlResourceTable.setStatus('current') etsys_cos_flood_ctrl_resource_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1)).setIndexNames((0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlPortGroupIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlPortTypeIndex'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlFloodType')) if mibBuilder.loadTexts: etsysCosFloodCtrlResourceEntry.setStatus('current') etsys_cos_flood_ctrl_flood_type = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unicastUnknown', 1), ('multicast', 2), ('broadcast', 3)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: etsysCosFloodCtrlFloodType.setStatus('current') etsys_cos_flood_ctrl_resource_units = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 2), etsys_cos_rate_types().clone(namedValues=named_values(('pps', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlResourceUnits.setStatus('current') etsys_cos_flood_ctrl_resource_rate = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 2147483647)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlResourceRate.setStatus('current') etsys_cos_flood_ctrl_resource_action = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 4), bits().clone(namedValues=named_values(('drop', 0), ('syslog', 1), ('trap', 2), ('disable', 3))).clone(namedValues=named_values(('drop', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlResourceAction.setStatus('current') etsys_cos_flood_ctrl_resource_violation_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 5), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlResourceViolationPortList.setStatus('current') etsys_cos_flood_ctrl_resource_clear_counters = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 9, 1, 6), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlResourceClearCounters.setStatus('current') etsys_cos_flood_ctrl_violation_clear_table = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 10), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlViolationClearTable.setStatus('current') etsys_cos_flood_ctrl_violation_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 11), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlViolationLastChange.setStatus('current') etsys_cos_flood_ctrl_disabled_ports_list = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 12), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlDisabledPortsList.setStatus('current') etsys_cos_flood_ctrl_violation_table = mib_table((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13)) if mibBuilder.loadTexts: etsysCosFloodCtrlViolationTable.setStatus('current') etsys_cos_flood_ctrl_violation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1)).setIndexNames((0, 'BRIDGE-MIB', 'dot1dBasePort'), (0, 'ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlFloodType')) if mibBuilder.loadTexts: etsysCosFloodCtrlViolationEntry.setStatus('current') etsys_cos_flood_ctrl_violation = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlViolation.setStatus('current') etsys_cos_flood_ctrl_counter = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1, 2), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysCosFloodCtrlCounter.setStatus('current') etsys_cos_flood_ctrl_reset_flags = mib_table_column((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 7, 13, 1, 3), etsys_rate_limit_reset_bits()).setMaxAccess('readwrite') if mibBuilder.loadTexts: etsysCosFloodCtrlResetFlags.setStatus('current') etsys_cos_irl_exceeded_notification = notification_type((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0, 1)).setObjects(('IF-MIB', 'ifName'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlViolation')) if mibBuilder.loadTexts: etsysCosIrlExceededNotification.setStatus('current') etsys_cos_orl_exceeded_notification = notification_type((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0, 2)).setObjects(('IF-MIB', 'ifName'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlViolation')) if mibBuilder.loadTexts: etsysCosOrlExceededNotification.setStatus('current') etsys_cos_flood_limit_exceeded_notification = notification_type((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 1, 0, 3)).setObjects(('IF-MIB', 'ifName'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosFloodCtrlViolation')) if mibBuilder.loadTexts: etsysCosFloodLimitExceededNotification.setStatus('current') etsys_cos_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2)) etsys_cos_groups = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1)) etsys_cos_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 2)) etsys_cos_master_reset_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 1)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosMibObjectAnullingBehavior')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_master_reset_group = etsysCosMasterResetGroup.setStatus('current') etsys_cos_capabilities_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 2)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosCapability')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_capabilities_group = etsysCosCapabilitiesGroup.setStatus('current') etsys_cos_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 3)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosMaxEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosNumEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosEnableState'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosRowStatus'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCos8021dPriority'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTosValue'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosDropPrecedence')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_group = etsysCosGroup.setStatus('current') etsys_cos_txq_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 4)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqNumPortTypes'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeDescr'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeEligiblePorts'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeUnselectedPorts'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeNumberOfQueues'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeSupportedRateTypes'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeNumberOfSlices'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeQueueAlgorithms'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeQueueArbiterModes'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeMaxDropPrecedence'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortTypeLLQEligibleQueues'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqUnitMaxRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqUnitMinRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqUnitGranularity'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqMaxPortGroups'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqNumPortGroups'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupRowStatus'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortGroupName'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortArbMode'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortSliceSetting'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortQUnit'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortQRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortQAlgorithm'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqPortQLLQenable'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqReferenceMappingMaxReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqResourceQueueNumber'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesMaxEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesNumEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesRowStatus'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesMin'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesMax'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesMaxDropProb'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfilesQueueDepthAtMaxProb'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqDropProfileQueueCfgID')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_txq_group = etsysCosTxqGroup.setStatus('current') etsys_cos_irl_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 5)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeMaxEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeDescr'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeEligiblePorts'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeUnselectedPorts'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeNumberOfIRLs'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeCapabilities'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortTypeSupportedRateTypes'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlUnitMaxRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlUnitMinRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlUnitGranularity'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupMaxEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupNumEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupRowStatus'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortGroupName'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlPortCfgFloodLimiter'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceIrlNumber'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceUnits'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceParentIrl'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceActionCosIndex'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceType'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceAction'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceViolationPortList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResourceClearCounters'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlReferenceMappingMaxReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlReferenceMappingLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlViolationLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlDisabledPortsList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlViolation'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlViolationClearTable'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlCounter'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlResetFlags')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_irl_group = etsysCosIrlGroup.setStatus('current') etsys_cos_orl_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 6)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeMaxEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeDescr'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeEligiblePorts'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeUnselectedPorts'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeNumberOfORLs'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeCapabilities'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortTypeSupportedRateTypes'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlUnitMaxRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlUnitMinRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlUnitGranularity'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupMaxEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupNumEntries'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupRowStatus'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortGroupName'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlPortCfgFloodLimiter'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceOrlNumber'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceUnits'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceRate'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceParentOrl'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceActionCosIndex'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceType'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceAction'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceViolationPortList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResourceClearCounters'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlReferenceMappingMaxReference'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlReferenceMappingLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlViolationLastChange'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlDisabledPortsList'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlViolation'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlViolationClearTable'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlCounter'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlResetFlags')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_orl_group = etsysCosOrlGroup.setStatus('current') etsys_cos_notification_group = notification_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 1, 7)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlExceededNotification'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlExceededNotification')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_notification_group = etsysCosNotificationGroup.setStatus('current') etsys_cos_compliance = module_compliance((1, 3, 6, 1, 4, 1, 5624, 1, 2, 55, 2, 2, 1)).setObjects(('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosMasterResetGroup'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosCapabilitiesGroup'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosGroup'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosTxqGroup'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosIrlGroup'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosOrlGroup'), ('ENTERASYS-CLASS-OF-SERVICE-MIB', 'etsysCosNotificationGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_cos_compliance = etsysCosCompliance.setStatus('current') mibBuilder.exportSymbols('ENTERASYS-CLASS-OF-SERVICE-MIB', TxqAlgorithms=TxqAlgorithms, etsysCosFloodCtrlViolationLastChange=etsysCosFloodCtrlViolationLastChange, etsysCosIrlViolationClearTable=etsysCosIrlViolationClearTable, etsysCosFloodCtrlResourceEntry=etsysCosFloodCtrlResourceEntry, etsysCosOrlResourceAction=etsysCosOrlResourceAction, etsysCosIrlPortIndex=etsysCosIrlPortIndex, etsysCosFloodCtrlSyslogActionMsgFormat=etsysCosFloodCtrlSyslogActionMsgFormat, etsysCosFloodLimitExceededNotification=etsysCosFloodLimitExceededNotification, etsysCosOrlPortTypeEntry=etsysCosOrlPortTypeEntry, etsysCosTosValue=etsysCosTosValue, etsysCosIrlExceededNotification=etsysCosIrlExceededNotification, etsysCosFloodCtrlUnitEntry=etsysCosFloodCtrlUnitEntry, etsysCosIrlPortTypeIndex=etsysCosIrlPortTypeIndex, etsysCosOrlResourceActionCosIndex=etsysCosOrlResourceActionCosIndex, etsysCosTxqReferenceMappingTable=etsysCosTxqReferenceMappingTable, etsysCosFloodCtrlPortGroupLastChange=etsysCosFloodCtrlPortGroupLastChange, etsysCosIrlViolationEntry=etsysCosIrlViolationEntry, etsysCosOrlPortGroupIndex=etsysCosOrlPortGroupIndex, etsysCosFloodCtrlPortTypeIndex=etsysCosFloodCtrlPortTypeIndex, etsysCosIrlPortGroupNumEntries=etsysCosIrlPortGroupNumEntries, etsysCosIrlPortTypeDescr=etsysCosIrlPortTypeDescr, etsysCosEnableState=etsysCosEnableState, etsysCosTxqPortGroupRowStatus=etsysCosTxqPortGroupRowStatus, etsysCosOrlUnitTypeIndex=etsysCosOrlUnitTypeIndex, etsysCosTxqDropProfilesMin=etsysCosTxqDropProfilesMin, etsysCosTxqPortTypeUnselectedPorts=etsysCosTxqPortTypeUnselectedPorts, etsysCosTxqPortSliceSetting=etsysCosTxqPortSliceSetting, etsysCosFloodCtrlFloodType=etsysCosFloodCtrlFloodType, etsysCosTxqDropProfileQueueCfgID=etsysCosTxqDropProfileQueueCfgID, etsysCosTxqReferenceMappingEntry=etsysCosTxqReferenceMappingEntry, etsysCosNumEntries=etsysCosNumEntries, etsysCosOrlResourceViolationPortList=etsysCosOrlResourceViolationPortList, etsysCosIrlUnitMaxRate=etsysCosIrlUnitMaxRate, etsysCosIrlResourceEntry=etsysCosIrlResourceEntry, etsysCosFloodCtrlCounter=etsysCosFloodCtrlCounter, EtsysCosRlCapabilities=EtsysCosRlCapabilities, etsysCosIrlViolation=etsysCosIrlViolation, etsysCosOrlViolation=etsysCosOrlViolation, etsysCosTxqPortTypeNumberOfQueues=etsysCosTxqPortTypeNumberOfQueues, etsysCosMasterReset=etsysCosMasterReset, etsysCosIrlUnitEntry=etsysCosIrlUnitEntry, etsysCosIrlPortGroupList=etsysCosIrlPortGroupList, etsysCosIrlCounter=etsysCosIrlCounter, etsysCosFloodCtrlPortTypeCapabilities=etsysCosFloodCtrlPortTypeCapabilities, etsysCosFloodCtrlViolationTable=etsysCosFloodCtrlViolationTable, etsysCosTxqPortTypeNumberOfSlices=etsysCosTxqPortTypeNumberOfSlices, etsysCosOrlResourceOrlNum=etsysCosOrlResourceOrlNum, etsysCosFloodCtrlPortTypeDescr=etsysCosFloodCtrlPortTypeDescr, etsysCosMibObjectAnullingBehavior=etsysCosMibObjectAnullingBehavior, etsysCosIrlPortCfgFloodLimiter=etsysCosIrlPortCfgFloodLimiter, etsysCosTxqPortTypeMaxDropPrecedence=etsysCosTxqPortTypeMaxDropPrecedence, etsysCosOrlUnitGranularity=etsysCosOrlUnitGranularity, etsysCosFloodCtrlDisabledPortsList=etsysCosFloodCtrlDisabledPortsList, etsysCosFloodCtrlViolation=etsysCosFloodCtrlViolation, TxqArbiterModes=TxqArbiterModes, etsysCosOrlPortTypeUnselectedPorts=etsysCosOrlPortTypeUnselectedPorts, etsysCosOrlPortTypeTable=etsysCosOrlPortTypeTable, etsysCosIrlPortGroupLastChange=etsysCosIrlPortGroupLastChange, etsysCosOrlViolationEntry=etsysCosOrlViolationEntry, etsysCosMaxEntries=etsysCosMaxEntries, etsysCosIndex=etsysCosIndex, etsysCosIrlReferenceMappingMaxReference=etsysCosIrlReferenceMappingMaxReference, etsysCosTxqPortQAlgorithm=etsysCosTxqPortQAlgorithm, etsysCosOrlPortGroupName=etsysCosOrlPortGroupName, etsysCosTxqPortCfgEntry=etsysCosTxqPortCfgEntry, etsysCosIrlResourceUnits=etsysCosIrlResourceUnits, etsysCosIrlPortGroupRowStatus=etsysCosIrlPortGroupRowStatus, etsysCosDropPrecedence=etsysCosDropPrecedence, etsysCosTxqDropProfilesMax=etsysCosTxqDropProfilesMax, etsysCosCompliances=etsysCosCompliances, etsysCosTxqDropProfilesNumEntries=etsysCosTxqDropProfilesNumEntries, etsysCosMIB=etsysCosMIB, etsysCosIrlResourceType=etsysCosIrlResourceType, etsysCosTxqDropProfilesMaxDropProb=etsysCosTxqDropProfilesMaxDropProb, etsysCosTableDropPrecedence=etsysCosTableDropPrecedence, etsysCosIrlPortTypeMaxEntries=etsysCosIrlPortTypeMaxEntries, etsysCosOrlPortCfgFloodLimiter=etsysCosOrlPortCfgFloodLimiter, etsysCosTxqPortQRate=etsysCosTxqPortQRate, etsysCosIrlUnitGranularity=etsysCosIrlUnitGranularity, etsysCosIrlResourceParentIrl=etsysCosIrlResourceParentIrl, etsysCosOrlUnitMinRate=etsysCosOrlUnitMinRate, etsysCosFloodCtrlResourceUnits=etsysCosFloodCtrlResourceUnits, etsysCosEntry=etsysCosEntry, etsysCosIrlPortTypeTable=etsysCosIrlPortTypeTable, etsysCosFloodCtrlPortTypeEligiblePorts=etsysCosFloodCtrlPortTypeEligiblePorts, etsysCosNotificationGroup=etsysCosNotificationGroup, etsysCos=etsysCos, etsysCosTxqResourceTable=etsysCosTxqResourceTable, etsysCosFloodCtrlPortGroupEntry=etsysCosFloodCtrlPortGroupEntry, etsysCosIrl=etsysCosIrl, etsysCosFloodControlStatus=etsysCosFloodControlStatus, EtsysViolationAction=EtsysViolationAction, etsysCosIrlResourceTable=etsysCosIrlResourceTable, EtsysRateLimitResetBits=EtsysRateLimitResetBits, etsysCosOrlResourceTable=etsysCosOrlResourceTable, etsysCosOrlResourceEntry=etsysCosOrlResourceEntry, etsysCosOrlResourceUnits=etsysCosOrlResourceUnits, etsysCosTable=etsysCosTable, etsysCosTxqNumPortGroups=etsysCosTxqNumPortGroups, etsysCosTxqPortGroupName=etsysCosTxqPortGroupName, etsysCosTxqDropProfilesEntry=etsysCosTxqDropProfilesEntry, etsysCosIrlViolationLastChange=etsysCosIrlViolationLastChange, etsysCosIrlReference=etsysCosIrlReference, etsysCosTxqPortTypeTable=etsysCosTxqPortTypeTable, etsysCosTxqDropSettingIndex=etsysCosTxqDropSettingIndex, etsysCosOrlPortIndex=etsysCosOrlPortIndex, etsysCosTxqPortTypeEntry=etsysCosTxqPortTypeEntry, etsysCosIrlGroup=etsysCosIrlGroup, etsysCosFloodCtrlResetFlags=etsysCosFloodCtrlResetFlags, etsysCosTxqPortGroupIndex=etsysCosTxqPortGroupIndex, etsysCosOrlUnitMaxRate=etsysCosOrlUnitMaxRate, etsysCosOrlDisabledPortsList=etsysCosOrlDisabledPortsList, etsysCosIrlPortTypeEligiblePorts=etsysCosIrlPortTypeEligiblePorts, etsysCosFloodCtrlPortGroupTable=etsysCosFloodCtrlPortGroupTable, etsysCosTxqResourceEntry=etsysCosTxqResourceEntry, etsysCosOrlPortTypeDescr=etsysCosOrlPortTypeDescr, etsysCosCapabilities=etsysCosCapabilities, etsysCosOrlPortGroupRowStatus=etsysCosOrlPortGroupRowStatus, etsysCosFloodCtrlPortTypeSupportedRateTypes=etsysCosFloodCtrlPortTypeSupportedRateTypes, etsysCosNotifications=etsysCosNotifications, etsysCosOrlPortGroupList=etsysCosOrlPortGroupList, etsysCosOrlPortGroupNumEntries=etsysCosOrlPortGroupNumEntries, etsysCosFloodCtrlResourceAction=etsysCosFloodCtrlResourceAction, etsysCosIrlResourceAction=etsysCosIrlResourceAction, etsysCosIrlPortCfgEntry=etsysCosIrlPortCfgEntry, etsysCosFloodCtrlViolationClearTable=etsysCosFloodCtrlViolationClearTable, etsysCosTxqResourceQueueNumber=etsysCosTxqResourceQueueNumber, etsysCosTxqPortTypeLLQEligibleQueues=etsysCosTxqPortTypeLLQEligibleQueues, etsysCosLastChange=etsysCosLastChange, etsysCosTxqUnitGranularity=etsysCosTxqUnitGranularity, etsysCosOrlPortGroupEntry=etsysCosOrlPortGroupEntry, etsysCosOrlReferenceMappingEntry=etsysCosOrlReferenceMappingEntry, etsysCosFloodCtrlUnitMaxRate=etsysCosFloodCtrlUnitMaxRate, etsysCosOrlResourceType=etsysCosOrlResourceType, etsysCosTxqPortTypeQueueArbiterModes=etsysCosTxqPortTypeQueueArbiterModes, etsysCosOrlPortTypeIndex=etsysCosOrlPortTypeIndex, etsysCosCompliance=etsysCosCompliance, etsysCosTxqNumPortTypes=etsysCosTxqNumPortTypes, etsysCosIrlPortGroupEntry=etsysCosIrlPortGroupEntry, etsysCosIrlPortGroupTable=etsysCosIrlPortGroupTable, etsysCosIrlResourceActionCosIndex=etsysCosIrlResourceActionCosIndex, etsysCosCapability=etsysCosCapability, etsysCosFloodCtrlPortGroupList=etsysCosFloodCtrlPortGroupList, etsysCosIrlPortTypeCapabilities=etsysCosIrlPortTypeCapabilities, etsysCosOrlPortCfgTable=etsysCosOrlPortCfgTable, etsysCosMasterResetGroup=etsysCosMasterResetGroup, etsysCosOrlExceededNotification=etsysCosOrlExceededNotification, etsysCosTxqDropPrecedenceTable=etsysCosTxqDropPrecedenceTable, etsysCosFloodCtrlPortTypeEntry=etsysCosFloodCtrlPortTypeEntry, etsysCosIrlPortTypeEntry=etsysCosIrlPortTypeEntry, etsysCosOrlPortTypeMaxEntries=etsysCosOrlPortTypeMaxEntries, etsysCosIrlUnitTypeIndex=etsysCosIrlUnitTypeIndex, etsysCosFloodCtrlResourceClearCounters=etsysCosFloodCtrlResourceClearCounters, etsysCosIrlResourceViolationPortList=etsysCosIrlResourceViolationPortList, etsysCosFloodCtrlPortGroupRowStatus=etsysCosFloodCtrlPortGroupRowStatus, etsysCosGroups=etsysCosGroups, etsysCosObjects=etsysCosObjects, etsysCosTxqReference=etsysCosTxqReference, etsysCosTxq=etsysCosTxq, etsysCosTxqPortCfgTable=etsysCosTxqPortCfgTable, etsysCosTxqDropPrecedenceEntry=etsysCosTxqDropPrecedenceEntry, etsysCosTxqDropProfilesTable=etsysCosTxqDropProfilesTable, etsysCosCapabilitiesGroup=etsysCosCapabilitiesGroup, etsysCosIrlReferenceMappingEntry=etsysCosIrlReferenceMappingEntry, etsysCosTxqDropProfilesLastChange=etsysCosTxqDropProfilesLastChange, etsysCosFloodCtrlPortGroupIndex=etsysCosFloodCtrlPortGroupIndex, etsysCosFloodControl=etsysCosFloodControl, etsysCosRowStatus=etsysCosRowStatus, etsysCosTxqPortTypeSupportedRateTypes=etsysCosTxqPortTypeSupportedRateTypes, etsysCosFloodCtrlPortGroupName=etsysCosFloodCtrlPortGroupName, etsysCosTxqDropProfilesQueueDepthAtMaxProb=etsysCosTxqDropProfilesQueueDepthAtMaxProb, etsysCosTxqDropProfilesRowStatus=etsysCosTxqDropProfilesRowStatus, etsysCosIrlReferenceMappingTable=etsysCosIrlReferenceMappingTable, etsysCosOrlResetFlags=etsysCosOrlResetFlags, etsysCosOrlPortTypeSupportedRateTypes=etsysCosOrlPortTypeSupportedRateTypes, etsysCosTxqUnitTypeIndex=etsysCosTxqUnitTypeIndex, etsysCosTxqPortTypeQueueAlgorithms=etsysCosTxqPortTypeQueueAlgorithms, etsysCosIrlDisabledPortsList=etsysCosIrlDisabledPortsList, etsysCosOrlReferenceMappingTable=etsysCosOrlReferenceMappingTable, etsysCosFloodCtrlUnitTable=etsysCosFloodCtrlUnitTable, etsysCosFloodCtrlResourceRate=etsysCosFloodCtrlResourceRate, etsysCosTxqPortArbMode=etsysCosTxqPortArbMode, etsysCosIrlResourceIrlNum=etsysCosIrlResourceIrlNum, etsysCosTxqPortTypeEligiblePorts=etsysCosTxqPortTypeEligiblePorts, etsysCosFloodCtrlUnitGranularity=etsysCosFloodCtrlUnitGranularity, etsysCosIrlPortTypeNumberOfIRLs=etsysCosIrlPortTypeNumberOfIRLs, etsysCosIrlResourceClearCounters=etsysCosIrlResourceClearCounters, etsysCosTxqUnitEntry=etsysCosTxqUnitEntry, etsysCosOrlResourceClearCounters=etsysCosOrlResourceClearCounters, etsysCosIrlResourceRate=etsysCosIrlResourceRate, etsysCosIrlViolationTable=etsysCosIrlViolationTable, EtsysRateLimitingType=EtsysRateLimitingType, etsysCosTxqUnitMaxRate=etsysCosTxqUnitMaxRate, etsysCosOrlResourceRate=etsysCosOrlResourceRate, TxQueueList=TxQueueList, etsysCosFloodCtrlPortGroupNumEntries=etsysCosFloodCtrlPortGroupNumEntries, etsysCosIrlPortGroupName=etsysCosIrlPortGroupName, etsysCosFloodCtrlViolationEntry=etsysCosFloodCtrlViolationEntry, etsysCosIrlPortGroupIndex=etsysCosIrlPortGroupIndex, etsysCosOrlPortTypeEligiblePorts=etsysCosOrlPortTypeEligiblePorts, etsysCosTxqReferenceMappingMaxReference=etsysCosTxqReferenceMappingMaxReference, etsysCosOrlPortGroupTable=etsysCosOrlPortGroupTable, etsysCosIrlResetFlags=etsysCosIrlResetFlags, etsysCosGroup=etsysCosGroup, etsysCosIrlPortTypeSupportedRateTypes=etsysCosIrlPortTypeSupportedRateTypes, etsysCosFloodCtrlPortGroupMaxEntries=etsysCosFloodCtrlPortGroupMaxEntries, etsysCosTxqPortTypeIndex=etsysCosTxqPortTypeIndex, etsysCosOrlPortGroupMaxEntries=etsysCosOrlPortGroupMaxEntries, etsysCosTxqPortGroupEntry=etsysCosTxqPortGroupEntry, etsysCosFloodCtrlUnitMinRate=etsysCosFloodCtrlUnitMinRate, etsysCosOrlUnitTable=etsysCosOrlUnitTable, etsysCosOrlResourceOrlNumber=etsysCosOrlResourceOrlNumber, etsysCosOrlViolationClearTable=etsysCosOrlViolationClearTable, etsysCosFloodCtrlResourceViolationPortList=etsysCosFloodCtrlResourceViolationPortList, etsysCosTxqResourceQueueNum=etsysCosTxqResourceQueueNum, etsysCosIrlPortTypeUnselectedPorts=etsysCosIrlPortTypeUnselectedPorts, etsysCosOrlPortCfgEntry=etsysCosOrlPortCfgEntry, etsysCosTxqUnitTable=etsysCosTxqUnitTable, etsysCosOrlGroup=etsysCosOrlGroup, etsysCosIrlUnitTable=etsysCosIrlUnitTable, etsysCosOrl=etsysCosOrl, etsysCosIrlResourceIrlNumber=etsysCosIrlResourceIrlNumber, etsysCosOrlReferenceMappingLastChange=etsysCosOrlReferenceMappingLastChange, etsysCos8021dPriority=etsysCos8021dPriority, etsysCosOrlViolationTable=etsysCosOrlViolationTable, etsysCosTxqPortGroupTable=etsysCosTxqPortGroupTable, etsysCosIrlUnitMinRate=etsysCosIrlUnitMinRate, etsysCosOrlResourceParentOrl=etsysCosOrlResourceParentOrl, etsysCosTxqPortGroupList=etsysCosTxqPortGroupList, etsysCosTxqPortQLLQenable=etsysCosTxqPortQLLQenable, etsysCosFloodCtrlResourceTable=etsysCosFloodCtrlResourceTable, etsysCosOrlPortTypeCapabilities=etsysCosOrlPortTypeCapabilities, PYSNMP_MODULE_ID=etsysCosMIB, etsysCosTxqDropProfilesMaxEntries=etsysCosTxqDropProfilesMaxEntries, etsysCosOrlViolationLastChange=etsysCosOrlViolationLastChange, etsysCosFloodCtrlUnitTypeIndex=etsysCosFloodCtrlUnitTypeIndex, etsysCosIrlPortCfgTable=etsysCosIrlPortCfgTable, etsysCosOrlReferenceMappingMaxReference=etsysCosOrlReferenceMappingMaxReference, etsysCosFloodCtrlPortTypeTable=etsysCosFloodCtrlPortTypeTable, etsysCosTxqPortTypeDescr=etsysCosTxqPortTypeDescr, etsysCosOrlUnitEntry=etsysCosOrlUnitEntry, EtsysCosRateTypes=EtsysCosRateTypes, etsysCosIrlPortGroupMaxEntries=etsysCosIrlPortGroupMaxEntries, etsysCosOrlPortTypeNumberOfORLs=etsysCosOrlPortTypeNumberOfORLs, etsysCosOrlCounter=etsysCosOrlCounter, etsysCosTxqPortGroupLastChange=etsysCosTxqPortGroupLastChange, etsysCosFloodCtrlPortTypeUnselectedPorts=etsysCosFloodCtrlPortTypeUnselectedPorts, etsysCosTxqMaxPortGroups=etsysCosTxqMaxPortGroups, etsysCosOrlPortGroupLastChange=etsysCosOrlPortGroupLastChange, etsysCosFloodCtrlPortTypeMaxEntries=etsysCosFloodCtrlPortTypeMaxEntries, etsysCosTxqGroup=etsysCosTxqGroup, etsysCosTxqPortQUnit=etsysCosTxqPortQUnit, etsysCosIrlReferenceMappingLastChange=etsysCosIrlReferenceMappingLastChange, etsysCosOrlReference=etsysCosOrlReference) mibBuilder.exportSymbols('ENTERASYS-CLASS-OF-SERVICE-MIB', etsysCosConformance=etsysCosConformance, etsysCosTxqUnitMinRate=etsysCosTxqUnitMinRate)